]>
git.lyx.org Git - features.git/log
Kornel Benko [Sat, 18 Apr 2020 07:06:56 +0000 (09:06 +0200)]
Amend(1)
689f26d2 : Add default path to server pipe (cmake build)
Added handling for cygwin and win32
MacOSX is unchanged, Stephan could you look at it?
Juergen Spitzmueller [Sat, 18 Apr 2020 06:01:39 +0000 (08:01 +0200)]
fix comment
Kornel Benko [Fri, 17 Apr 2020 16:38:51 +0000 (18:38 +0200)]
Add default path to server pipe (cmake build + unix)
Actually the change is affecting only builds if
1.) Using cmake build
2.) on unix
To use it on
cygwin: one has to patch development/cygwin/lyxrc.dist.in
MacOSX: -//- development/MacOSX/lyxrc.dist.in
We need also a Windows-version
Also the compilation with automake lacks the handling of development/unix/lyxrc.dist.in
Kornel Benko [Fri, 17 Apr 2020 10:13:08 +0000 (12:13 +0200)]
Cmake build: Prevent multiple configuration runs
Normally the sequence to compile is
1.) cmake <source> <some parameters>
2.) make
but since 'unset(var CACHE)' changed the cache, the following call to 'make'
triggered the configuration run.
Juergen Spitzmueller [Fri, 17 Apr 2020 08:19:46 +0000 (10:19 +0200)]
Reset failedtoload_ bool when include inset params are changed (#11842)
Juergen Spitzmueller [Fri, 17 Apr 2020 07:12:51 +0000 (09:12 +0200)]
Fix tablefootnote loading order (#11841)
Richard Kimberly Heck [Fri, 17 Apr 2020 01:05:38 +0000 (21:05 -0400)]
Make it nicer, thanks to JMarc
Richard Kimberly Heck [Wed, 8 Apr 2020 21:50:09 +0000 (17:50 -0400)]
Fix bug #11635
Jean-Marc Lasgouttes [Thu, 16 Apr 2020 17:21:54 +0000 (19:21 +0200)]
Simplify code for bidi icons
Most of the RtL icons that we provide are simply mirrors of the LtR ones.
Therefore let the code do that by default if no +rtl icon is found.
The only RtL icon left for now is for "layout Enumerate" (notice the
numbers in it).
Also remove useless getPixmap wrapper and several old bidi_xxx icons
that were forgotten in previous patch.
Pavel Sanda [Thu, 16 Apr 2020 16:57:31 +0000 (18:57 +0200)]
This has been asked numerous times on users list.
Jean-Marc Lasgouttes [Tue, 14 Apr 2020 20:41:00 +0000 (22:41 +0200)]
Reimplement properly bidi icons
When the cursor in RTL text, icons for "depth-increment" or
"layout-toggle Enumerate" look wrong.
Instead of relying on the clumsy "bidi" lfun of
2898c335 , this new
version relies on a new Toobar tag BidiItem that inserts an action
which can have two icons, depending on the direction of the paragraph
containing the caret (or of the direction of the UI when no file is
open).
The alternative icon has the same name as the original one, with a
"+rtl" string appended to the lfun string. The alternative icon is
only active if the file is found. The icon themes `default', `oxygen'
and `classic' have been updated accordingly.
Fixes bug #4451.
Jean-Marc Lasgouttes [Tue, 14 Apr 2020 16:30:44 +0000 (18:30 +0200)]
Revert "Add mechanism to change icons in RTL mode"
This is really too clumsy. Revert in preparation for a better
mechanism.
This reverts commit
2898c335be6114194a15cb1aafe4a3c7c170f212 .
Kornel Benko [Tue, 14 Apr 2020 17:59:41 +0000 (19:59 +0200)]
Cmake build: Fix use of LYX_ABS_INSTALLED_DATADIR
(Wrong display at configuration time. Also wrong value in created config.h)
Jean-Marc Lasgouttes [Tue, 14 Apr 2020 15:57:49 +0000 (17:57 +0200)]
Fixup
294969c6 : do not forget to update metrics
Kornel Benko [Tue, 14 Apr 2020 11:01:17 +0000 (13:01 +0200)]
Cmake build: All directory variables should contain trailing '/'
Kornel Benko [Mon, 13 Apr 2020 20:18:47 +0000 (22:18 +0200)]
Amend(2)
4b052dec : Do not use CMAKE_INSTALL_PREFIX
On Windows this leads to duplicated use of 'LYX_INSTALLED' in the installed paths.
Spotted by Eugene.
Kornel Benko [Mon, 13 Apr 2020 11:39:33 +0000 (13:39 +0200)]
Amend
ef42541d26 : Missed to commit these
Kornel Benko [Mon, 13 Apr 2020 10:51:04 +0000 (12:51 +0200)]
Prepend dir containing created dtl executables to PATH
This should work on Windows, but needs test.
The changes (namely the installation directory for the dtl executables)
for automake are not yet done. (JMarc?)
It may fix bug #11325 if cmake configured with '-DLYX_EXTERNAL_DTL=OFF'
Jean-Marc Lasgouttes [Mon, 13 Apr 2020 10:02:26 +0000 (12:02 +0200)]
Fix embarassing crash caused by debug message
After commit
6a936d63 , the helpful debug message tries to display
non-existing elements and crashes the program :(
Fix by radical simplification of the message.
Part of bug #11777.
Pavel Sanda [Fri, 10 Apr 2020 12:28:59 +0000 (14:28 +0200)]
fix distcheck
Juergen Spitzmueller [Fri, 10 Apr 2020 07:15:13 +0000 (09:15 +0200)]
Fix some compiler warnings in dt2dv.c
Juergen Spitzmueller [Fri, 10 Apr 2020 07:00:19 +0000 (09:00 +0200)]
Fix sign mismatch introduced with
8e60fcf530166
Kornel Benko [Thu, 9 Apr 2020 12:44:18 +0000 (14:44 +0200)]
Cmake build: Add manuals for created executables dv2dt and dt2dv
Juergen Spitzmueller [Thu, 9 Apr 2020 11:05:21 +0000 (13:05 +0200)]
Win compile doc update from Eugene
Jean-Marc Lasgouttes [Thu, 9 Apr 2020 10:40:00 +0000 (12:40 +0200)]
Add automake support for dtl
Jean-Marc Lasgouttes [Thu, 9 Apr 2020 10:24:44 +0000 (12:24 +0200)]
Do not put C++-only options in AM_CPPFLAGS
Kornel Benko [Thu, 9 Apr 2020 09:58:49 +0000 (11:58 +0200)]
Amend
b280fed1 : 3rdparty/dtl: Use preprocessor value on Windows
Kornel Benko [Thu, 9 Apr 2020 09:46:47 +0000 (11:46 +0200)]
Cmake build: Added 3rdparty creation of dt2dv and dv2dt
Works on linux, needs testing on Windows
Juergen Spitzmueller [Thu, 9 Apr 2020 08:08:44 +0000 (10:08 +0200)]
Address #9368
pdfview creates a temp pdf file to determine the standard pdf viewer,
code simplification, reducing dll dependencies
Patch by Eugene.
Juergen Spitzmueller [Thu, 9 Apr 2020 07:29:41 +0000 (09:29 +0200)]
Fix date
Juergen Spitzmueller [Thu, 9 Apr 2020 07:22:48 +0000 (09:22 +0200)]
Add ChangeLog do document our own changes
Juergen Spitzmueller [Thu, 9 Apr 2020 07:22:02 +0000 (09:22 +0200)]
2006-09-14 Enrico Forestieri <forenr@lyx.org>
* dt2dv.c: Handle non-ASCII characters.
See https://www.lyx.org/trac/ticket/2836
Juergen Spitzmueller [Thu, 9 Apr 2020 07:21:05 +0000 (09:21 +0200)]
2005-07-25 Angus Leeming <leeeming@lyx.org>
* dt2dv.c: Enable to handle .dvi files containing strings longer than 1024 chars.
* Makefile: enable the to work out of the box on both *nix and Windows machines
under the MinSYS environment.
* man2ps: build fixes
See https://marc.info/?l=lyx-devel&m=
115228143031699
Juergen Spitzmueller [Thu, 9 Apr 2020 06:58:09 +0000 (08:58 +0200)]
Add dtl tools to 3rdparty/
We need to compile our own (patched) version of the app on Windows.
See #11325
Richard Kimberly Heck [Wed, 8 Apr 2020 21:17:14 +0000 (17:17 -0400)]
Debug output for paragraph params.
Richard Kimberly Heck [Wed, 8 Apr 2020 20:40:39 +0000 (16:40 -0400)]
Fix bug #11817.
Preserve line spacing when breaking a paragraph at the beginning.
Kornel Benko [Wed, 8 Apr 2020 08:27:34 +0000 (10:27 +0200)]
Added revtex4-2.layout
For revtex4.1, this is only cosmetics, because the content
of the layout moved to revtex4-x.inc.
Kornel Benko [Tue, 7 Apr 2020 12:16:07 +0000 (14:16 +0200)]
Cmake tests: Amend
353295e4
Prevent also the command-line setting of LYX_ENABLE_VALGRIND_TESTS
for the cmake versions < 3.17
Kornel Benko [Tue, 7 Apr 2020 10:12:29 +0000 (12:12 +0200)]
Cmake tests: Start preparing for tests involving valgrind
Kornel Benko [Tue, 7 Apr 2020 09:54:15 +0000 (11:54 +0200)]
Update sk.po
Kornel Benko [Tue, 7 Apr 2020 09:52:58 +0000 (11:52 +0200)]
Add "inset-settings" shortcut to sk/menus.bind
Kornel Benko [Tue, 7 Apr 2020 09:48:45 +0000 (11:48 +0200)]
Cmake build: Discard (unset) some variables if not used anymore
Kornel Benko [Tue, 7 Apr 2020 09:47:08 +0000 (11:47 +0200)]
Fix indentation
Juergen Spitzmueller [Mon, 6 Apr 2020 14:29:34 +0000 (16:29 +0200)]
Fix indentation
Juergen Spitzmueller [Mon, 6 Apr 2020 06:53:29 +0000 (08:53 +0200)]
Fix quotation marks in PDF TOC
Richard Kimberly Heck [Sun, 5 Apr 2020 18:48:19 +0000 (14:48 -0400)]
Download dictionaries and thesauri from SVN.
Patch from Eugene.
Juergen Spitzmueller [Sun, 5 Apr 2020 13:23:22 +0000 (15:23 +0200)]
Strip polyglossia options from pdf string
Fixes #11813
Richard Kimberly Heck [Sat, 4 Apr 2020 23:25:11 +0000 (19:25 -0400)]
Previous DTL update is not usable. Roll it back.
Patch from Eugene.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:23:48 +0000 (19:23 -0400)]
Batch file for removing unneeded imagemagick binaries.
Also update installation description.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:22:08 +0000 (19:22 -0400)]
Changelog from Eugene.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:21:00 +0000 (19:21 -0400)]
Description for windows installer and dependencies
Patch from Eugene.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:18:23 +0000 (19:18 -0400)]
Changed main registry entry (LyX\Version now).
Added "latestVersion" value.
Patch from Eugene.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:16:29 +0000 (19:16 -0400)]
Implement 64 bit installer.
Remove registry hacking for imagemagick (using portable now).
Jean-Marc Lasgouttes [Sat, 4 Apr 2020 16:10:44 +0000 (18:10 +0200)]
Do not compute caret geometry when we are not ready to do so.
This avoid crashes with invalid cache.
Fixes bug #11763.
Juergen Spitzmueller [Sat, 4 Apr 2020 07:27:24 +0000 (09:27 +0200)]
Disable append-column with gathered
Fixes #11812
Jean-Marc Lasgouttes [Fri, 3 Apr 2020 17:16:04 +0000 (19:16 +0200)]
Change tootip for Labeling layout toolbar button
Labeled List sounds better that Labeling.
Part of bug #11770.
Pavel Sanda [Fri, 3 Apr 2020 11:49:37 +0000 (13:49 +0200)]
ia.po: Update from Giovanni
Pavel Sanda [Fri, 3 Apr 2020 11:46:55 +0000 (13:46 +0200)]
Remerge ia.po
Juergen Spitzmueller [Tue, 31 Mar 2020 06:01:17 +0000 (08:01 +0200)]
Implement buffer-write force
Stephan Witt [Sun, 29 Mar 2020 16:56:53 +0000 (18:56 +0200)]
use path to developer tools for SetFile utility as fallback
Juergen Spitzmueller [Sun, 29 Mar 2020 15:47:59 +0000 (17:47 +0200)]
Prevent wrong reference to duplicated (but deleted) label
Fixes #11803
Richard Kimberly Heck [Sun, 29 Mar 2020 03:52:55 +0000 (23:52 -0400)]
Remove code disabled since 2005.
No one knew then what it was supposed to do.
Richard Kimberly Heck [Sun, 29 Mar 2020 03:34:44 +0000 (23:34 -0400)]
Fix bug #11799.
I've made cut, etc, OptItems, as this menu is already very long.
Richard Kimberly Heck [Sun, 29 Mar 2020 03:23:47 +0000 (23:23 -0400)]
Remove obsolete (and false) comment.
Scott Kostyshak [Sat, 28 Mar 2020 23:12:25 +0000 (19:12 -0400)]
PreviewLoader: start fake pids after PID_MAX_LIMIT
Scott Kostyshak [Sat, 28 Mar 2020 16:19:11 +0000 (12:19 -0400)]
Use << for raising 2 to power instead of ^
The ^ is interpretted as bitwise XOR, so 2^(20) evaluated to 22.
Thanks to Riki for the << trick. This way, we do not have to use
pow() and include the <cmath> header for this one expression.
Richard Kimberly Heck [Sat, 28 Mar 2020 19:23:13 +0000 (15:23 -0400)]
Fix crash after
24926b2e239 .
The matched element may not have a parent. I guess the old version of
setExpanded too care of that. Now we have to do so.
Richard Kimberly Heck [Sat, 28 Mar 2020 19:15:06 +0000 (15:15 -0400)]
Remove newlines from shortcut LFUNs.
Kornel Benko [Fri, 27 Mar 2020 07:25:32 +0000 (08:25 +0100)]
Update sk.po
Scott Kostyshak [Thu, 26 Mar 2020 22:57:25 +0000 (18:57 -0400)]
Fix assertion from setCursor() in outline-down/up
The function outline() itself can change the cursor position in some
cases so we need to store the old position before calling outline().
Spotted by Kornel. For an example file that triggered the assertion,
see:
https://www.mail-archive.com/search?l=mid&q=
20200326183314 .
09ad4c7c %40admin1-desktop
This commit amends
adb7283b .
Juergen Spitzmueller [Thu, 26 Mar 2020 15:32:13 +0000 (16:32 +0100)]
Fix typo.
Kornel Benko [Thu, 26 Mar 2020 14:48:01 +0000 (15:48 +0100)]
Cmake build: Build VERSION_INFO more cmake-like
Use LIST to add entries and convert the list later to a string
Kornel Benko [Thu, 26 Mar 2020 14:47:48 +0000 (15:47 +0100)]
Update sk.po
Juergen Spitzmueller [Thu, 26 Mar 2020 14:13:49 +0000 (15:13 +0100)]
ru/Intro: update by Yuriy
Juergen Spitzmueller [Thu, 26 Mar 2020 14:12:45 +0000 (15:12 +0100)]
ru.po: update by Yuriy
Kornel Benko [Wed, 25 Mar 2020 16:50:58 +0000 (17:50 +0100)]
Cmake build: Amend
3df9525a , extend build info in Help>About
Add also the qt-version and paths of sysdir and the lyx executable
to the build info
Kornel Benko [Wed, 25 Mar 2020 12:48:16 +0000 (13:48 +0100)]
Cmake build: Extend build info in Help>About
Added list of used cmake options and info about used compiler
Pavel Sanda [Wed, 25 Mar 2020 06:40:27 +0000 (07:40 +0100)]
Let hyperlink insets to be longer if name is given.
Thanks to Oystein Senneset Haaland.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg210882.html
Jean-Marc Lasgouttes [Tue, 24 Mar 2020 11:01:43 +0000 (12:01 +0100)]
Avoid bleeding of inset background outside of inset
As a consequence of fix
e64ea357 to ticket #10797, we draw a bit too
much of the inset background outside of the inset (visible for insets
with colored background). #10797 is a ticket that triggers when the
cursor has a width larger than 1.
This patch limits the problems in two respects
* nothing is done on the left, since the cursor width only expands on
the right.
* on the right, the extra width is limited to cursor width.
Fixes bug #11786.
Juergen Spitzmueller [Mon, 23 Mar 2020 11:07:47 +0000 (12:07 +0100)]
Paste some special chars as insets
See #11790
Enrico Forestieri [Sun, 22 Mar 2020 21:03:49 +0000 (22:03 +0100)]
Amend
bd6d09fc
Was forgetting this.
Juergen Spitzmueller [Sun, 22 Mar 2020 10:07:57 +0000 (11:07 +0100)]
Don't omit ZERO WIDTH NON-JOINER on clipboard paste
Fixes #11790
Juergen Spitzmueller [Sun, 22 Mar 2020 09:10:36 +0000 (10:10 +0100)]
Fix indentation
Juergen Spitzmueller [Sat, 21 Mar 2020 14:54:37 +0000 (15:54 +0100)]
Properly resolve tracked changes when pasting multiple tabular cells
Fixes #11791
Scott Kostyshak [Sat, 21 Mar 2020 00:36:35 +0000 (20:36 -0400)]
Restore XLFD code for Qt 4
There is a chance that this code is still useful for Qt 4. We keep
it around just in case.
For the case of Qt 4, this commit restores the code changed in
f8e40f8a ,
d255339a , and
d4ff3a29 .
Richard Kimberly Heck [Fri, 20 Mar 2020 21:18:11 +0000 (17:18 -0400)]
Revert "Fix bug reported by Kornel."
This reverts commit
438f15da21a4e6aa2594bb1f6d619540fd0ef02c .
Revert "Track whether we have warned about mixing layouts across e.g. branches."
This reverts commit
861c6167ca5f1329e16dd788489a7c03772e2332 .
Revert "Track whether title has been issued via OutputParams."
This reverts commit
b536759c0769dab641993347baeb62400455be04 .
There are massive complications here, and I don't have time to fix them all
right now.
Pavel Sanda [Fri, 20 Mar 2020 19:43:39 +0000 (20:43 +0100)]
* fix missing entry in ia.po
Richard Kimberly Heck [Fri, 20 Mar 2020 19:25:47 +0000 (15:25 -0400)]
Fix bug reported by Kornel.
The old code was actually wrong. Obviously, this should be set only
if we actually do issue the title command.
Pavel Sanda [Fri, 20 Mar 2020 16:48:36 +0000 (17:48 +0100)]
layouttranslations check from Giovanni
Pavel Sanda [Fri, 20 Mar 2020 16:42:47 +0000 (17:42 +0100)]
Update from Giovanni
Pavel Sanda [Fri, 20 Mar 2020 16:41:00 +0000 (17:41 +0100)]
Remerge ia.po
Scott Kostyshak [Fri, 20 Mar 2020 13:39:51 +0000 (09:39 -0400)]
Change a couple instances of QFontMetrics::width()
Use QFontMetrics::boundingRect() instead. QFontMetrics::width() does
not actually calculate the width of the bounding box and is mostly
useful for knowing where to draw text after a string, taking into
account bearings. Indeed, it has been renamed to
QFontMetrics::horizontalAdvance().
For the code touched in this commit, we want to center a string.
Either method would likely be fine, but it is more easy to
understand exactly what QFontMetrics::boundingRect() does.
This commit does change functionality, although it should not be
noticeable.
Scott Kostyshak [Thu, 19 Mar 2020 22:22:16 +0000 (18:22 -0400)]
cat.py: fix Python deprecation warning
This commit fixes the following warning:
DeprecationWarning: 'U' mode is deprecated
Removing 'U' has no effect with Python 3 [1]:
There is an additional mode character permitted, 'U', which no
longer has any effect, and is considered deprecated. It previously
enabled universal newlines in text mode, which became the default
behaviour in Python 3.0.
[1] https://docs.python.org/3/library/functions.html?highlight=open#open
Scott Kostyshak [Fri, 20 Mar 2020 13:12:47 +0000 (09:12 -0400)]
Remove redundant font loader code
Setting the family to "family" is already attempted above. A
different case was adapted to be this duplicate case at
d4ff3a29 ,
but it should have just been removed.
Spotted by Enrico.
Scott Kostyshak [Thu, 19 Mar 2020 16:39:07 +0000 (12:39 -0400)]
Remove remnants regarding old XLFD font handling
These fonts are no longer supported by Qt 5 and our code no longer
uses the "xlfd" member of the struct modified in this commit. See
d4ff3a2959 .
Scott Kostyshak [Thu, 19 Mar 2020 16:20:16 +0000 (12:20 -0400)]
Fix Qt dep warn and remove XLFD font workaround
This commit fixes a few warnings from Qt 5.14 regarding
QFont::setRawName() and QFont::rawName() like the following one:
error: ‘void QFont::setRawName(const QString&)’ is deprecated [-Werror=deprecated-declarations]
These methods were deprecated in Qt 5.3. [1]
This commit removes code from 2002 (
539ce478 ) that worked around a
problem in Qt's handling of XLFD fonts that no longer seems relevant
since XLFD is no longer supported in Qt 5 [2]. Even if the problem
were relevant, setRawName() would not fix anything since it is now
an empty method. [3]
I tested that compilation with Qt 4.8.7 works without error.
[1] https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.3.0/?h=v5.14.0
[2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
3a8d7b0b9a4db91415b7bda2582a59a76b3754dc
[3] https://codereview.qt-project.org/c/qt/qtbase/+/100292/
Scott Kostyshak [Thu, 19 Mar 2020 14:16:19 +0000 (10:16 -0400)]
Fix Qt deprecation warns for setTextColor()
This commit fixes the following warning from Qt 5.14:
error: ‘void QTreeWidgetItem::setTextColor(int, const QColor&)’ is deprecated: Use QTreeWidgetItem::setForeground() instead [-Werror=deprecated-declarations]
setForeground was introduced in Qt 4.2 [1].
We have a couple of commented out uses of a setTextColor() method in
GuiDocument.cpp, but the QTextEdit::setTextColor() is not deprecated so no
change is needed.
[1] https://doc.qt.io/archives/qt-4.8/qtreewidgetitem.html#setForeground
Scott Kostyshak [Thu, 19 Mar 2020 13:57:08 +0000 (09:57 -0400)]
Fix commented out code
Scott Kostyshak [Thu, 19 Mar 2020 01:00:09 +0000 (21:00 -0400)]
Fix Qt deprecation warns for setAutoCompletion()
This commit fixes a few warnings from Qt 5.14 like the following
one:
error: ‘void QComboBox::setAutoCompletion(bool)’ is deprecated: Use setCompleter() instead. [-Werror=deprecated-declarations]
We only generated setAutoCompletion() from setting the property in
the .ui files. There does not seem to be a .ui file property that
generates setCompleter(). However, the default in both Qt5 [1] and
Qt4 [2] is to enable case-insensitive autocompletion, which seems to
be the same type of autocompletion as when we were relying on
setAutoCompletion(true). Thus, we can remove the properties that set
autocomplete to true. There is only one file, SearchUi.ui, where we
were turning off the autocompletion; we now do so using
setCompleter(0) in GuiSearch::GuiSearch().
[1] https://doc.qt.io/qt-5/qcombobox.html#setCompleter
[2] https://doc.qt.io/archives/qt-4.8/qcombobox.html#setCompleter
Richard Kimberly Heck [Tue, 17 Mar 2020 05:54:47 +0000 (01:54 -0400)]
Track whether we have warned about mixing layouts across e.g. branches.