]>
git.lyx.org Git - features.git/log
Jean-Marc Lasgouttes [Fri, 15 May 2020 10:10:30 +0000 (12:10 +0200)]
Add rtl version of outline-in/out icons
Jean-Marc Lasgouttes [Fri, 15 May 2020 08:34:37 +0000 (10:34 +0200)]
Fix missing backslashes
Juergen Spitzmueller [Fri, 15 May 2020 08:14:22 +0000 (10:14 +0200)]
Assign InsetBibtex to appropriate toc level
Fixes #11863
Juergen Spitzmueller [Fri, 15 May 2020 07:50:25 +0000 (09:50 +0200)]
Check class options for uncodable glyphs
Fixes #11865
Kornel Benko [Thu, 14 May 2020 15:35:51 +0000 (17:35 +0200)]
Tools: try to categorize fonts in listFontWithLang.pl
New 'categories' besides Serif and Sans:
Script, Fraktur, Fancy, Initials, Symbol
Jean-Marc Lasgouttes [Mon, 11 May 2020 10:31:25 +0000 (12:31 +0200)]
Get rid of lyx::next uses for RandomAccessList
These uses are inefficient (a loop really) and require that pit_type
is ptrdiff_t.
Instead, RandomAccesslist::constIterator is renamed to iterator_at and
a version adding a non-const iterator is added. Additionally, the
method retirns end() when position is equal to the size of the
container (see #11861).
lyx::next and lyx::prev are removed, and std::prev is used in the few
places where the code requires it (for no good reason IMO).
Richard Kimberly Heck [Wed, 13 May 2020 18:50:30 +0000 (14:50 -0400)]
Remove include no longer needed
Richard Kimberly Heck [Wed, 13 May 2020 18:49:01 +0000 (14:49 -0400)]
Simplify.
Richard Kimberly Heck [Wed, 13 May 2020 18:32:19 +0000 (14:32 -0400)]
Replace functors in ExternalTemplate.cpp.
Richard Kimberly Heck [Wed, 13 May 2020 18:23:27 +0000 (14:23 -0400)]
Don't make copies!
Richard Kimberly Heck [Wed, 13 May 2020 17:26:54 +0000 (13:26 -0400)]
Remove a couple more functors from PrevewLoader.
Richard Kimberly Heck [Wed, 13 May 2020 17:18:32 +0000 (13:18 -0400)]
Remove functors in PreviewLoader.cpp.
Also fix some warnings.
Jean-Marc Lasgouttes [Wed, 13 May 2020 08:33:38 +0000 (10:33 +0200)]
Revert "Get rid of lyx::next uses for RandomAccessList"
This is not ready (see #11861).
This reverts commit
6d97e3993489a23aea79f899f156fd2f6e21cc4d .
Juergen Spitzmueller [Wed, 13 May 2020 06:48:08 +0000 (08:48 +0200)]
Move \PassOptionsToPackage before the first package loaded
Fixes #11862
Kornel Benko [Tue, 12 May 2020 17:53:28 +0000 (19:53 +0200)]
Tools: recognize most sans serif fonts in listFontWithLang.pl
Starts to be crazy. Many fonts have to be (visually!) inspected, because there is
no hint about this feature.
Also, for many fonts it is a senseless information.
We need a third value (besides serif and sans-serif)
Jean-Marc Lasgouttes [Tue, 12 May 2020 15:42:50 +0000 (17:42 +0200)]
Avoid a warning
Jean-Marc Lasgouttes [Mon, 11 May 2020 10:31:25 +0000 (12:31 +0200)]
Get rid of lyx::next uses for RandomAccessList
These uses are inefficient (a loop really) and require that pit_type
is ptrdiff_t.
Instead, RandomAccesslist::constIterator is renamed to iterator_at and
a version adding a non-const iterator is added.
lyx::next and lyx::prev are removed, and std::prev is used in the few
places where the code requires it (for no good reason IMO).
Kornel Benko [Sat, 9 May 2020 11:19:12 +0000 (13:19 +0200)]
Tools: recognize math font in listFontWithLang.pl
Richard Kimberly Heck [Fri, 8 May 2020 17:32:08 +0000 (13:32 -0400)]
Fix typo (from Thibaut)
Richard Kimberly Heck [Fri, 8 May 2020 17:31:05 +0000 (13:31 -0400)]
Python cleanup from Thibaut.
Kornel Benko [Fri, 8 May 2020 12:17:19 +0000 (14:17 +0200)]
Tools: optimize recognition of some font features in listFontWithLang.pl
Added (de)selecting fonts through its capability (latn, math, arab, etc)
Recognize also trebuchet in font name as sans-serif font
Recognize also fixed in font name as monospaced font
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