]> git.lyx.org Git - lyx.git/log
lyx.git
4 years agoDisable bookmarksopenlevel SL when bookmarksopen is false
Juergen Spitzmueller [Sat, 16 May 2020 08:31:48 +0000 (10:31 +0200)]
Disable bookmarksopenlevel SL when bookmarksopen is false

Fixes #11289

4 years agoUpdate sk.po
Kornel Benko [Sat, 16 May 2020 08:03:17 +0000 (10:03 +0200)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Sat, 16 May 2020 07:28:46 +0000 (09:28 +0200)]
de.po

4 years agoSafer 0.x version test
Juergen Spitzmueller [Fri, 15 May 2020 13:22:14 +0000 (15:22 +0200)]
Safer 0.x version test

4 years agoAdd support for inkscape 1.0
Juergen Spitzmueller [Fri, 15 May 2020 12:08:46 +0000 (14:08 +0200)]
Add support for inkscape 1.0

Command line syntax has changed. We now check for the version and use
the appropriate cl options.

Fixes #11742

4 years agoAdd rtl version of outline-in/out icons
Jean-Marc Lasgouttes [Fri, 15 May 2020 10:10:30 +0000 (12:10 +0200)]
Add rtl version of outline-in/out icons

4 years agoFix missing backslashes
Jean-Marc Lasgouttes [Fri, 15 May 2020 08:34:37 +0000 (10:34 +0200)]
Fix missing backslashes

4 years agoAssign InsetBibtex to appropriate toc level
Juergen Spitzmueller [Fri, 15 May 2020 08:14:22 +0000 (10:14 +0200)]
Assign InsetBibtex to appropriate toc level

Fixes #11863

4 years agoCheck class options for uncodable glyphs
Juergen Spitzmueller [Fri, 15 May 2020 07:50:25 +0000 (09:50 +0200)]
Check class options for uncodable glyphs

Fixes #11865

4 years agoTools: try to categorize fonts in listFontWithLang.pl
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

4 years agoGet rid of lyx::next uses for RandomAccessList
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).

4 years agoRemove include no longer needed
Richard Kimberly Heck [Wed, 13 May 2020 18:50:30 +0000 (14:50 -0400)]
Remove include no longer needed

4 years agoSimplify.
Richard Kimberly Heck [Wed, 13 May 2020 18:49:01 +0000 (14:49 -0400)]
Simplify.

4 years agoReplace functors in ExternalTemplate.cpp.
Richard Kimberly Heck [Wed, 13 May 2020 18:32:19 +0000 (14:32 -0400)]
Replace functors in ExternalTemplate.cpp.

4 years agoDon't make copies!
Richard Kimberly Heck [Wed, 13 May 2020 18:23:27 +0000 (14:23 -0400)]
Don't make copies!

4 years agoRemove a couple more functors from PrevewLoader.
Richard Kimberly Heck [Wed, 13 May 2020 17:26:54 +0000 (13:26 -0400)]
Remove a couple more functors from PrevewLoader.

4 years agoRemove functors in PreviewLoader.cpp.
Richard Kimberly Heck [Wed, 13 May 2020 17:18:32 +0000 (13:18 -0400)]
Remove functors in PreviewLoader.cpp.

Also fix some warnings.

4 years agoRevert "Get rid of lyx::next uses for RandomAccessList"
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.

4 years agoMove \PassOptionsToPackage before the first package loaded
Juergen Spitzmueller [Wed, 13 May 2020 06:48:08 +0000 (08:48 +0200)]
Move \PassOptionsToPackage before the first package loaded

Fixes #11862

4 years agoTools: recognize most sans serif fonts in listFontWithLang.pl
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)

4 years agoAvoid a warning
Jean-Marc Lasgouttes [Tue, 12 May 2020 15:42:50 +0000 (17:42 +0200)]
Avoid a warning

4 years agoGet rid of lyx::next uses for RandomAccessList
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).

4 years agoTools: recognize math font in listFontWithLang.pl
Kornel Benko [Sat, 9 May 2020 11:19:12 +0000 (13:19 +0200)]
Tools: recognize math font in listFontWithLang.pl

4 years agoFix typo (from Thibaut)
Richard Kimberly Heck [Fri, 8 May 2020 17:32:08 +0000 (13:32 -0400)]
Fix typo (from Thibaut)

4 years agoPython cleanup from Thibaut.
Richard Kimberly Heck [Fri, 8 May 2020 17:31:05 +0000 (13:31 -0400)]
Python cleanup from Thibaut.

4 years agoTools: optimize recognition of some font features in listFontWithLang.pl
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

4 years ago Linguistics manual translation in French (up to sec. 2)
jpc [Thu, 7 May 2020 09:10:19 +0000 (11:10 +0200)]
Linguistics manual translation in French (up to sec. 2)

4 years agoru.po
Juergen Spitzmueller [Thu, 7 May 2020 06:40:17 +0000 (08:40 +0200)]
ru.po

4 years agoWin32-build, bug #11635, "2 lyx in same time?"
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."

4 years agoMove DTL binaries to resource folder;.
Richard Kimberly Heck [Wed, 6 May 2020 07:04:33 +0000 (03:04 -0400)]
Move DTL binaries to resource folder;.

Patch from Eugene.

4 years agoRename some routines
Richard Kimberly Heck [Tue, 5 May 2020 01:21:42 +0000 (21:21 -0400)]
Rename some routines

4 years agoRemove functors in IndicesList.cpp.
Richard Kimberly Heck [Tue, 5 May 2020 00:00:55 +0000 (20:00 -0400)]
Remove functors in IndicesList.cpp.

4 years agoReplace functors in Format.cpp.
Richard Kimberly Heck [Mon, 4 May 2020 23:57:45 +0000 (19:57 -0400)]
Replace functors in Format.cpp.

4 years agoReplace functor in BranchList
Richard Kimberly Heck [Mon, 4 May 2020 23:08:12 +0000 (19:08 -0400)]
Replace functor in BranchList

4 years agolinguistics.module: fix counters
Juergen Spitzmueller [Tue, 5 May 2020 12:41:38 +0000 (14:41 +0200)]
linguistics.module: fix counters

4 years agoCmake build: Adapt handling of c++ standards to new Visual C++ 2019
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

4 years agoFix a number of issues that were stopping compilation with MSVC 19.
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).

4 years agoMissing include according to VC19
Richard Kimberly Heck [Mon, 4 May 2020 18:19:29 +0000 (14:19 -0400)]
Missing include according to VC19

4 years agos/requires_/required_/ for code consistency
Richard Kimberly Heck [Mon, 4 May 2020 18:05:44 +0000 (14:05 -0400)]
s/requires_/required_/ for code consistency

4 years agoFix remaining (I think) requires keyword issues.
Richard Kimberly Heck [Mon, 4 May 2020 17:45:39 +0000 (13:45 -0400)]
Fix remaining (I think) requires keyword issues.

4 years agoFix commented out code
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.

4 years agoOnly set dummy X11 selection if we do not own it
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.

4 years agoAdd new template for Hebrew.
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

4 years agoUse translated GUI name of counter in button label
Juergen Spitzmueller [Mon, 4 May 2020 07:28:07 +0000 (09:28 +0200)]
Use translated GUI name of counter in button label

4 years agoKeep sort order of counter actions
Juergen Spitzmueller [Mon, 4 May 2020 07:22:35 +0000 (09:22 +0200)]
Keep sort order of counter actions

4 years agoFix warnings by using size_t as the loop variable.
Richard Kimberly Heck [Sun, 3 May 2020 19:02:40 +0000 (15:02 -0400)]
Fix warnings by using size_t as the loop variable.

4 years agois_utf8 is always passed a char.
Richard Kimberly Heck [Sun, 3 May 2020 19:02:25 +0000 (15:02 -0400)]
is_utf8 is always passed a char.

4 years agoUpdate documentation about counters.
Richard Kimberly Heck [Sun, 3 May 2020 18:06:32 +0000 (14:06 -0400)]
Update documentation about counters.

4 years agoru.po
Juergen Spitzmueller [Sun, 3 May 2020 16:38:50 +0000 (18:38 +0200)]
ru.po

4 years agoUpdate sk.po
Kornel Benko [Sun, 3 May 2020 12:42:14 +0000 (14:42 +0200)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Sun, 3 May 2020 11:37:05 +0000 (13:37 +0200)]
de.po

4 years agoAdd missing l7n flag
Juergen Spitzmueller [Sun, 3 May 2020 11:36:34 +0000 (13:36 +0200)]
Add missing l7n flag

4 years agoAdd missing ellipses
Juergen Spitzmueller [Sun, 3 May 2020 11:30:04 +0000 (13:30 +0200)]
Add missing ellipses

4 years agoAmend e7e70b021e5
Juergen Spitzmueller [Sun, 3 May 2020 11:16:20 +0000 (13:16 +0200)]
Amend e7e70b021e5

4 years agoTry to set executable bit on listFontWithLang.pl
Kornel Benko [Sun, 3 May 2020 10:54:14 +0000 (12:54 +0200)]
Try to set executable bit on listFontWithLang.pl

4 years agoMake counter items translatable and sort properly
Juergen Spitzmueller [Sun, 3 May 2020 07:44:55 +0000 (09:44 +0200)]
Make counter items translatable and sort properly

4 years agoUpdate link
Juergen Spitzmueller [Sun, 3 May 2020 07:13:59 +0000 (09:13 +0200)]
Update link

4 years agoFix capitalization
Juergen Spitzmueller [Sun, 3 May 2020 07:13:41 +0000 (09:13 +0200)]
Fix capitalization

We use sentence casing in combo boxes.

4 years agoRe-fix layout
Juergen Spitzmueller [Sun, 3 May 2020 07:13:13 +0000 (09:13 +0200)]
Re-fix layout

Also improve some strings, and fix capitalization

4 years agoAvoid a copy
Richard Kimberly Heck [Sun, 3 May 2020 06:52:56 +0000 (02:52 -0400)]
Avoid a copy

4 years agoFix some warnings.
Richard Kimberly Heck [Sun, 3 May 2020 06:32:39 +0000 (02:32 -0400)]
Fix some warnings.

4 years agoRemove unused files.
Richard Kimberly Heck [Sun, 3 May 2020 06:32:29 +0000 (02:32 -0400)]
Remove unused files.

4 years agoBetter name
Richard Kimberly Heck [Sun, 3 May 2020 06:20:14 +0000 (02:20 -0400)]
Better name

4 years agorequires is a keyword in C++2a
Richard Kimberly Heck [Sun, 3 May 2020 06:18:17 +0000 (02:18 -0400)]
requires is a keyword in C++2a

4 years agoRemove obsolete comment.
Richard Kimberly Heck [Sun, 3 May 2020 04:50:53 +0000 (00:50 -0400)]
Remove obsolete comment.

We assert (or worse) if pos < 0.

4 years agoGuiNames for float counters.
Richard Kimberly Heck [Sun, 3 May 2020 03:11:53 +0000 (23:11 -0400)]
GuiNames for float counters.

4 years agoAdd GuiNames to counter declarations.
Richard Kimberly Heck [Sun, 3 May 2020 02:37:18 +0000 (22:37 -0400)]
Add GuiNames to counter declarations.

4 years agoIncrement layout format.
Richard Kimberly Heck [Sun, 3 May 2020 03:14:19 +0000 (23:14 -0400)]
Increment layout format.

4 years agoUse GuiNames for counters.
Richard Kimberly Heck [Sun, 3 May 2020 03:00:17 +0000 (23:00 -0400)]
Use GuiNames for counters.

4 years agoRemove unused counter
Richard Kimberly Heck [Sun, 3 May 2020 02:09:45 +0000 (22:09 -0400)]
Remove unused counter

4 years agoSomehow this got corrupted...
Richard Kimberly Heck [Sun, 3 May 2020 02:05:02 +0000 (22:05 -0400)]
Somehow this got corrupted...

4 years agoMore polishing of counter dialog. Thanks to Jürgen for help.
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.

4 years agoMoving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools
Kornel Benko [Sat, 2 May 2020 11:40:26 +0000 (13:40 +0200)]
Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools

4 years agoPerl script (for developpers) to select desired system font names.
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

4 years agoFix broken mark with multiple citations
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)

4 years agoFix typo.
Richard Kimberly Heck [Fri, 1 May 2020 23:25:27 +0000 (19:25 -0400)]
Fix typo.

4 years agoPolish the counter UI a bit and add some to the documentation.
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.

4 years agoFix build with qt4
Juergen Spitzmueller [Fri, 1 May 2020 08:17:04 +0000 (10:17 +0200)]
Fix build with qt4

4 years agoFix Ui layouts.
Juergen Spitzmueller [Fri, 1 May 2020 08:10:27 +0000 (10:10 +0200)]
Fix Ui layouts.

4 years agoDocumentation for counter inset.
Richard Kimberly Heck [Fri, 1 May 2020 03:46:26 +0000 (23:46 -0400)]
Documentation for counter inset.

4 years agoFix thinkos for counter value type
Richard Kimberly Heck [Fri, 1 May 2020 03:28:18 +0000 (23:28 -0400)]
Fix thinkos for counter value type

4 years agoUpdate tex2lyx references.
Richard Kimberly Heck [Fri, 1 May 2020 03:21:34 +0000 (23:21 -0400)]
Update tex2lyx references.

4 years agoGUI for new counter inset.
Richard Kimberly Heck [Fri, 1 May 2020 01:58:14 +0000 (21:58 -0400)]
GUI for new counter inset.

4 years agoFormat and reversion code 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.

4 years agoNew counter manipulation 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.

4 years agoAvoid warnings about deprecated copy in gcc 10 too
Jean-Marc Lasgouttes [Thu, 30 Apr 2020 10:09:17 +0000 (12:09 +0200)]
Avoid warnings about deprecated copy in gcc 10 too

4 years agoAvoid some more copies in range-based for loops
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.

4 years agoDo not for copies in range-based for loops.
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.

4 years agoDisable deprecated-copy warning with clang10
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.

4 years agoru.po: update by Yuriy
Juergen Spitzmueller [Mon, 27 Apr 2020 06:06:39 +0000 (08:06 +0200)]
ru.po: update by Yuriy

4 years agoFix problem with c67b6be77 noted by JMarc.
Richard Kimberly Heck [Sun, 26 Apr 2020 20:10:50 +0000 (16:10 -0400)]
Fix problem with c67b6be77 noted by JMarc.

4 years agoFix declaration
Richard Kimberly Heck [Sun, 26 Apr 2020 07:37:03 +0000 (03:37 -0400)]
Fix declaration

4 years agoRemove unnecessary friendship. Thanks Scott!
Richard Kimberly Heck [Sun, 26 Apr 2020 07:16:44 +0000 (03:16 -0400)]
Remove unnecessary friendship. Thanks Scott!

4 years agoRevert last three commits.
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.

4 years agoFix compilation problem
Richard Kimberly Heck [Sun, 26 Apr 2020 07:04:06 +0000 (03:04 -0400)]
Fix compilation problem

4 years agoWhitespace
Richard Kimberly Heck [Sun, 26 Apr 2020 02:57:09 +0000 (22:57 -0400)]
Whitespace

4 years agoMake pit_type unsigned (in particular, size_t).
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.

4 years agoRemove method that is now unneeded.
Richard Kimberly Heck [Sun, 26 Apr 2020 02:27:09 +0000 (22:27 -0400)]
Remove method that is now unneeded.

4 years agoTry to fix bug #6505.
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.

4 years agoBuffer methods for dealing with recursive includes.
Richard Kimberly Heck [Sat, 25 Apr 2020 21:34:27 +0000 (17:34 -0400)]
Buffer methods for dealing with recursive includes.