]>
git.lyx.org Git - lyx.git/log
Richard Kimberly Heck [Sun, 3 May 2020 03:00:17 +0000 (23:00 -0400)]
Use GuiNames for counters.
Richard Kimberly Heck [Sun, 3 May 2020 02:09:45 +0000 (22:09 -0400)]
Remove unused counter
Richard Kimberly Heck [Sun, 3 May 2020 02:05:02 +0000 (22:05 -0400)]
Somehow this got corrupted...
Richard Kimberly Heck [Sun, 3 May 2020 00:33:03 +0000 (20:33 -0400)]
More polishing of counter dialog. Thanks to Jürgen for help.
Also, remove the 'display value' option. We will move this to InsetInfo
at some point.
Kornel Benko [Sat, 2 May 2020 11:40:26 +0000 (13:40 +0200)]
Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools
Kornel Benko [Sat, 2 May 2020 11:20:53 +0000 (13:20 +0200)]
Perl script (for developpers) to select desired system font names.
Needed font-config (so that this script is probably OK on unix systems only)
Probably needed module for Getopt::Mixed.
On debian systems it is contained in package libgetopt-mixed-perl
Juergen Spitzmueller [Sat, 2 May 2020 06:55:58 +0000 (08:55 +0200)]
Fix broken mark with multiple citations
Patch by Patrick De Visschere (modified by me)
Richard Kimberly Heck [Fri, 1 May 2020 23:25:27 +0000 (19:25 -0400)]
Fix typo.
Richard Kimberly Heck [Fri, 1 May 2020 23:03:54 +0000 (19:03 -0400)]
Polish the counter UI a bit and add some to the documentation.
Juergen Spitzmueller [Fri, 1 May 2020 08:17:04 +0000 (10:17 +0200)]
Fix build with qt4
Juergen Spitzmueller [Fri, 1 May 2020 08:10:27 +0000 (10:10 +0200)]
Fix Ui layouts.
Richard Kimberly Heck [Fri, 1 May 2020 03:46:26 +0000 (23:46 -0400)]
Documentation for counter inset.
Richard Kimberly Heck [Fri, 1 May 2020 03:28:18 +0000 (23:28 -0400)]
Fix thinkos for counter value type
Richard Kimberly Heck [Fri, 1 May 2020 03:21:34 +0000 (23:21 -0400)]
Update tex2lyx references.
Richard Kimberly Heck [Fri, 1 May 2020 01:58:14 +0000 (21:58 -0400)]
GUI for new counter inset.
Richard Kimberly Heck [Fri, 1 May 2020 01:57:50 +0000 (21:57 -0400)]
Format and reversion code for new counter inset.
Richard Kimberly Heck [Fri, 1 May 2020 01:56:58 +0000 (21:56 -0400)]
New counter manipulation inset.
This inset allows counters to be set, reset, saved, restored, etc,
both in the LyX GUI and in the output; optionally, the effect can be
limited to the GUI. Of course, LaTeX provides means for doing all of
these things, so they could previously be done with ERT, as far as
the output is concerned. But there was no mechanism for manipulating
counters in the GUI and none for other output formats.
Jean-Marc Lasgouttes [Thu, 30 Apr 2020 10:09:17 +0000 (12:09 +0200)]
Avoid warnings about deprecated copy in gcc 10 too
Jean-Marc Lasgouttes [Tue, 28 Apr 2020 13:28:21 +0000 (15:28 +0200)]
Avoid some more copies in range-based for loops
This triggers warnings with clang++ 10.
Jean-Marc Lasgouttes [Tue, 28 Apr 2020 11:27:50 +0000 (13:27 +0200)]
Do not for copies in range-based for loops.
Spotted by clang++ 10.
Jean-Marc Lasgouttes [Tue, 28 Apr 2020 11:16:45 +0000 (13:16 +0200)]
Disable deprecated-copy warning with clang10
This was already done for gcc9 and saves tons of warnings.
Note that the warning in Qt are gone with Qt5.13, so eventually we
will have to get rid of our own copy issues.
Juergen Spitzmueller [Mon, 27 Apr 2020 06:06:39 +0000 (08:06 +0200)]
ru.po: update by Yuriy
Richard Kimberly Heck [Sun, 26 Apr 2020 20:10:50 +0000 (16:10 -0400)]
Fix problem with
c67b6be77 noted by JMarc.
Richard Kimberly Heck [Sun, 26 Apr 2020 07:37:03 +0000 (03:37 -0400)]
Fix declaration
Richard Kimberly Heck [Sun, 26 Apr 2020 07:16:44 +0000 (03:16 -0400)]
Remove unnecessary friendship. Thanks Scott!
Richard Kimberly Heck [Sun, 26 Apr 2020 07:08:35 +0000 (03:08 -0400)]
Revert last three commits.
There are other issues here. The big one is in TextMetrics::getPitNearY,
where -1 is used as a 'special' return value for pit.
Richard Kimberly Heck [Sun, 26 Apr 2020 07:04:06 +0000 (03:04 -0400)]
Fix compilation problem
Richard Kimberly Heck [Sun, 26 Apr 2020 02:57:09 +0000 (22:57 -0400)]
Whitespace
Richard Kimberly Heck [Sun, 26 Apr 2020 02:50:03 +0000 (22:50 -0400)]
Make pit_type unsigned (in particular, size_t).
This involves not just changing the type but checking that downward
loops and similar tricks don't break.
Richard Kimberly Heck [Sun, 26 Apr 2020 02:27:09 +0000 (22:27 -0400)]
Remove method that is now unneeded.
Richard Kimberly Heck [Sun, 26 Apr 2020 02:17:51 +0000 (22:17 -0400)]
Try to fix bug #6505.
Keep track of nested includes and just refuse to re-enter a file
we're already in the process of handling.
There's a question whether we should do this in updateBuffer and
validate, or whether we should do it separately. For now, this seems
to work.
Richard Kimberly Heck [Sat, 25 Apr 2020 21:34:27 +0000 (17:34 -0400)]
Buffer methods for dealing with recursive includes.
Richard Kimberly Heck [Sat, 25 Apr 2020 21:33:49 +0000 (17:33 -0400)]
Return early from the short path.
Richard Kimberly Heck [Sat, 25 Apr 2020 05:26:37 +0000 (01:26 -0400)]
Fix warnings.
Richard Kimberly Heck [Sat, 25 Apr 2020 05:11:30 +0000 (01:11 -0400)]
Refactor code to avoid the problem fixed at the last commit.
Richard Kimberly Heck [Sat, 25 Apr 2020 05:05:15 +0000 (01:05 -0400)]
Fix bug #11850.
When we copy the paragraphs, the Buffer members for the insets are
not set. As a result, we crash when attempting to access them.
Enrico Forestieri [Thu, 23 Apr 2020 21:08:36 +0000 (23:08 +0200)]
Update it.po
Jean-Marc Lasgouttes [Thu, 23 Apr 2020 17:17:15 +0000 (19:17 +0200)]
Ignore some more files when building in source tree
Juergen Spitzmueller [Thu, 23 Apr 2020 12:24:32 +0000 (14:24 +0200)]
Hint at (new) filter function in tooltip.
Juergen Spitzmueller [Thu, 23 Apr 2020 10:43:38 +0000 (12:43 +0200)]
Use CategorizedCombo for font selection
We do not have categories, but this gives as a nice filter functionality
for long (non-TeX) font lists for free.
See #11849
Juergen Spitzmueller [Thu, 23 Apr 2020 06:31:50 +0000 (08:31 +0200)]
Categorized Combo: Do not draw category line if the combo has zero categories
Juergen Spitzmueller [Thu, 23 Apr 2020 05:35:44 +0000 (07:35 +0200)]
ru.po: update by Yuriy
Juergen Spitzmueller [Thu, 23 Apr 2020 05:33:51 +0000 (07:33 +0200)]
Minor doc update by Yuriy
Enrico Forestieri [Tue, 21 Apr 2020 19:55:20 +0000 (21:55 +0200)]
Raise the window in single-instance mode
Other than issuing a warning on the console, now the LyX window is
raised when in single-instance mode and no files to load are specified.
In this way, the user is aware that something happened after double
clicking the program icon. To support this functionality the new lfun
window-raise has been introduced.
Richard Kimberly Heck [Sun, 19 Apr 2020 17:31:57 +0000 (13:31 -0400)]
Comment.
Richard Kimberly Heck [Sun, 19 Apr 2020 15:10:52 +0000 (11:10 -0400)]
Fix warning
Juergen Spitzmueller [Sun, 19 Apr 2020 15:02:28 +0000 (17:02 +0200)]
de.po: nitpick
Scott Kostyshak [Sun, 19 Apr 2020 13:02:04 +0000 (09:02 -0400)]
Fix debug message
Kornel Benko [Sun, 19 Apr 2020 13:29:39 +0000 (15:29 +0200)]
Update sk.po
Juergen Spitzmueller [Sun, 19 Apr 2020 13:03:51 +0000 (15:03 +0200)]
de.po: update
Juergen Spitzmueller [Sun, 19 Apr 2020 12:52:54 +0000 (14:52 +0200)]
ru.po: update by Yuriy
Stephan Witt [Sun, 19 Apr 2020 11:12:26 +0000 (13:12 +0200)]
additional check for default pipe locations used by active LyX instance
Kornel Benko [Sun, 19 Apr 2020 09:39:10 +0000 (11:39 +0200)]
Amend(5)
689f26d2 : Revert changes in development/cygwin/lyxrc.dist.in
Thanks Enrico.
Juergen Spitzmueller [Sun, 19 Apr 2020 08:55:32 +0000 (10:55 +0200)]
Improve reporting of undefined control sequences in preamble
Fixes #11844
Kornel Benko [Sun, 19 Apr 2020 07:45:32 +0000 (09:45 +0200)]
Cmake build: Distinguish between PROGRAM_SUFFIX and LYX_VERSION
For instance: program suffix may be "", but lyx version is still "2.4"
Kornel Benko [Sun, 19 Apr 2020 06:59:54 +0000 (08:59 +0200)]
Use c++11 to remove last char from a string
Thanks Scott.
Kornel Benko [Sat, 18 Apr 2020 20:25:55 +0000 (22:25 +0200)]
Amend(4)
689f26d2 : Add default path to server pipe (cmake build)
Rename the placeholde $$User to $$UserDir
Make it more readable. Suggestion from Stephan Witt.
Richard Kimberly Heck [Sat, 18 Apr 2020 18:52:08 +0000 (14:52 -0400)]
Fix some warnings
Richard Kimberly Heck [Sat, 18 Apr 2020 18:41:26 +0000 (14:41 -0400)]
Tell the user that LyX is already running when we do not start
because of 'use single instance'.
Kornel Benko [Sat, 18 Apr 2020 14:32:24 +0000 (16:32 +0200)]
Amend(3)
689f26d2 : Add default path to server pipe (cmake build)
Omit duplicated separators if replacing string '$$User' with actual userdir
Kornel Benko [Sat, 18 Apr 2020 10:07:04 +0000 (12:07 +0200)]
Amend(2)
689f26d2 : Add default path to server pipe (cmake build)
Changing pipe-path to fit on Windows
Corrected by Eugene
Juergen Spitzmueller [Sat, 18 Apr 2020 09:21:48 +0000 (11:21 +0200)]
Remap typographical apostrophe from Hunspell to plain apostrophe (#11832)
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