]>
git.lyx.org Git - lyx.git/log
jpc [Thu, 7 May 2020 09:10:19 +0000 (11:10 +0200)]
Linguistics manual translation in French (up to sec. 2)
Juergen Spitzmueller [Thu, 7 May 2020 06:40:17 +0000 (08:40 +0200)]
ru.po
Kornel Benko [Wed, 6 May 2020 09:50:41 +0000 (11:50 +0200)]
Win32-build, bug #11635, "2 lyx in same time?"
Patch from Eugene
"Win installer part again, this time just append to existing lyxrc.dist instead of deleting it."
Richard Kimberly Heck [Wed, 6 May 2020 07:04:33 +0000 (03:04 -0400)]
Move DTL binaries to resource folder;.
Patch from Eugene.
Richard Kimberly Heck [Tue, 5 May 2020 01:21:42 +0000 (21:21 -0400)]
Rename some routines
Richard Kimberly Heck [Tue, 5 May 2020 00:00:55 +0000 (20:00 -0400)]
Remove functors in IndicesList.cpp.
Richard Kimberly Heck [Mon, 4 May 2020 23:57:45 +0000 (19:57 -0400)]
Replace functors in Format.cpp.
Richard Kimberly Heck [Mon, 4 May 2020 23:08:12 +0000 (19:08 -0400)]
Replace functor in BranchList
Juergen Spitzmueller [Tue, 5 May 2020 12:41:38 +0000 (14:41 +0200)]
linguistics.module: fix counters
Kornel Benko [Tue, 5 May 2020 11:49:50 +0000 (13:49 +0200)]
Cmake build: Adapt handling of c++ standards to new Visual C++ 2019
More or less suggested by Thibaut Cuvelier's switch to Visual C++ 2019
Richard Kimberly Heck [Mon, 4 May 2020 23:41:18 +0000 (19:41 -0400)]
Fix a number of issues that were stopping compilation with MSVC 19.
Patch from Thibaut Cuvelier, modified slightly by me (mostly for style).
Richard Kimberly Heck [Mon, 4 May 2020 18:19:29 +0000 (14:19 -0400)]
Missing include according to VC19
Richard Kimberly Heck [Mon, 4 May 2020 18:05:44 +0000 (14:05 -0400)]
s/requires_/required_/ for code consistency
Richard Kimberly Heck [Mon, 4 May 2020 17:45:39 +0000 (13:45 -0400)]
Fix remaining (I think) requires keyword issues.
Scott Kostyshak [Mon, 4 May 2020 13:25:15 +0000 (09:25 -0400)]
Fix commented out code
Since the if condition changed at
af4ee1a4 , the "else" in the
comment needed correction.
Scott Kostyshak [Sat, 28 Mar 2020 01:23:08 +0000 (21:23 -0400)]
Only set dummy X11 selection if we do not own it
Before, we would continually set the selection to the empty string,
to maintain ownership. This causes problems with clipboard managers
GPaste and CopyQ. Further, in theory this should have better
performance since checking ownership should be faster than setting.
A disadvantage of this change is that the timestamp of the selection
will be old at this point in the code. However, when the selection
is requested, we put the selection contents at that point so the
selection timestamp should be accurate then. Further, the selection
contents are not accurate at this point in the code (they are just
the empty string), so it is not clear whether having an accurate
timestamp is beneficial.
Fixes #11715.
Pavel Sanda [Mon, 4 May 2020 11:03:52 +0000 (13:03 +0200)]
Add new template for Hebrew.
Provided by Guy Rutenberg, available also here:
https://github.com/guyru/lyx-hebrew-templates
Juergen Spitzmueller [Mon, 4 May 2020 07:28:07 +0000 (09:28 +0200)]
Use translated GUI name of counter in button label
Juergen Spitzmueller [Mon, 4 May 2020 07:22:35 +0000 (09:22 +0200)]
Keep sort order of counter actions
Richard Kimberly Heck [Sun, 3 May 2020 19:02:40 +0000 (15:02 -0400)]
Fix warnings by using size_t as the loop variable.
Richard Kimberly Heck [Sun, 3 May 2020 19:02:25 +0000 (15:02 -0400)]
is_utf8 is always passed a char.
Richard Kimberly Heck [Sun, 3 May 2020 18:06:32 +0000 (14:06 -0400)]
Update documentation about counters.
Juergen Spitzmueller [Sun, 3 May 2020 16:38:50 +0000 (18:38 +0200)]
ru.po
Kornel Benko [Sun, 3 May 2020 12:42:14 +0000 (14:42 +0200)]
Update sk.po
Juergen Spitzmueller [Sun, 3 May 2020 11:37:05 +0000 (13:37 +0200)]
de.po
Juergen Spitzmueller [Sun, 3 May 2020 11:36:34 +0000 (13:36 +0200)]
Add missing l7n flag
Juergen Spitzmueller [Sun, 3 May 2020 11:30:04 +0000 (13:30 +0200)]
Add missing ellipses
Juergen Spitzmueller [Sun, 3 May 2020 11:16:20 +0000 (13:16 +0200)]
Kornel Benko [Sun, 3 May 2020 10:54:14 +0000 (12:54 +0200)]
Try to set executable bit on listFontWithLang.pl
Juergen Spitzmueller [Sun, 3 May 2020 07:44:55 +0000 (09:44 +0200)]
Make counter items translatable and sort properly
Juergen Spitzmueller [Sun, 3 May 2020 07:13:59 +0000 (09:13 +0200)]
Update link
Juergen Spitzmueller [Sun, 3 May 2020 07:13:41 +0000 (09:13 +0200)]
Fix capitalization
We use sentence casing in combo boxes.
Juergen Spitzmueller [Sun, 3 May 2020 07:13:13 +0000 (09:13 +0200)]
Re-fix layout
Also improve some strings, and fix capitalization
Richard Kimberly Heck [Sun, 3 May 2020 06:52:56 +0000 (02:52 -0400)]
Avoid a copy
Richard Kimberly Heck [Sun, 3 May 2020 06:32:39 +0000 (02:32 -0400)]
Fix some warnings.
Richard Kimberly Heck [Sun, 3 May 2020 06:32:29 +0000 (02:32 -0400)]
Remove unused files.
Richard Kimberly Heck [Sun, 3 May 2020 06:20:14 +0000 (02:20 -0400)]
Better name
Richard Kimberly Heck [Sun, 3 May 2020 06:18:17 +0000 (02:18 -0400)]
requires is a keyword in C++2a
Richard Kimberly Heck [Sun, 3 May 2020 04:50:53 +0000 (00:50 -0400)]
Remove obsolete comment.
We assert (or worse) if pos < 0.
Richard Kimberly Heck [Sun, 3 May 2020 03:11:53 +0000 (23:11 -0400)]
GuiNames for float counters.
Richard Kimberly Heck [Sun, 3 May 2020 02:37:18 +0000 (22:37 -0400)]
Add GuiNames to counter declarations.
Richard Kimberly Heck [Sun, 3 May 2020 03:14:19 +0000 (23:14 -0400)]
Increment layout format.
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