Juergen Spitzmueller
0328ecd019
Properly close and reopen lyxdeleted macro at font change
...
Fixes #11867 , amends [28da0f4360a/lyxgit]
2020-05-17 14:54:59 +02:00
Juergen Spitzmueller
602ac1401e
return from switch
...
we don't break in this switch
2020-05-17 13:57:31 +02:00
Kornel Benko
36deaaac26
Tools(listFontWithLang.pl): Group related parameters in the command syntax
...
Display sequence of command parameters according to their appearance in the definition table
2020-05-16 21:40:26 +02:00
Juergen Spitzmueller
f2243a3bc7
Disable bookmarksopenlevel SL when bookmarksopen is false
...
Fixes #11289
2020-05-16 10:31:48 +02:00
Kornel Benko
91c2d66983
Update sk.po
2020-05-16 10:03:17 +02:00
Juergen Spitzmueller
2629388dd9
de.po
2020-05-16 09:28:46 +02:00
Juergen Spitzmueller
d5079c2e73
Safer 0.x version test
2020-05-15 15:22:14 +02:00
Juergen Spitzmueller
74f831e06d
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
2020-05-15 14:08:46 +02:00
Jean-Marc Lasgouttes
125f5d5d20
Add rtl version of outline-in/out icons
2020-05-15 12:10:30 +02:00
Jean-Marc Lasgouttes
5cbc87f6a6
Fix missing backslashes
2020-05-15 10:35:17 +02:00
Juergen Spitzmueller
92ba05c53b
Assign InsetBibtex to appropriate toc level
...
Fixes #11863
2020-05-15 10:14:22 +02:00
Juergen Spitzmueller
11dc817e9d
Check class options for uncodable glyphs
...
Fixes #11865
2020-05-15 09:50:25 +02:00
Kornel Benko
d4b64d81fe
Tools: try to categorize fonts in listFontWithLang.pl
...
New 'categories' besides Serif and Sans:
Script, Fraktur, Fancy, Initials, Symbol
2020-05-14 17:35:51 +02:00
Jean-Marc Lasgouttes
fc5b22a2f1
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).
2020-05-14 10:35:49 +02:00
Richard Kimberly Heck
97bbcf2b9b
Remove include no longer needed
2020-05-13 14:54:16 -04:00
Richard Kimberly Heck
b0def618f8
Simplify.
2020-05-13 14:49:01 -04:00
Richard Kimberly Heck
5353cf90c0
Replace functors in ExternalTemplate.cpp.
2020-05-13 14:42:52 -04:00
Richard Kimberly Heck
ce33715d2b
Don't make copies!
2020-05-13 14:23:27 -04:00
Richard Kimberly Heck
47973dc2b4
Remove a couple more functors from PrevewLoader.
2020-05-13 13:33:27 -04:00
Richard Kimberly Heck
1e904625b2
Remove functors in PreviewLoader.cpp.
...
Also fix some warnings.
2020-05-13 13:33:27 -04:00
Jean-Marc Lasgouttes
c756749991
Revert "Get rid of lyx::next uses for RandomAccessList"
...
This is not ready (see #11861 ).
This reverts commit 6d97e39934
.
2020-05-13 10:45:25 +02:00
Juergen Spitzmueller
2663e3845e
Move \PassOptionsToPackage before the first package loaded
...
Fixes #11862
2020-05-13 08:48:08 +02:00
Kornel Benko
1bda6da7f9
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)
2020-05-12 19:53:28 +02:00
Jean-Marc Lasgouttes
e52af39864
Avoid a warning
2020-05-12 17:42:50 +02:00
Jean-Marc Lasgouttes
6d97e39934
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).
2020-05-12 17:29:21 +02:00
Kornel Benko
3eb56006b5
Tools: recognize math font in listFontWithLang.pl
2020-05-09 13:19:12 +02:00
Richard Kimberly Heck
b1a0f7ac54
Fix typo (from Thibaut)
2020-05-08 13:32:08 -04:00
Richard Kimberly Heck
5588c22e77
Python cleanup from Thibaut.
2020-05-08 13:31:05 -04:00
Kornel Benko
8918d5287b
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
2020-05-08 14:17:19 +02:00
jpc
ce85562c7b
Linguistics manual translation in French (up to sec. 2)
2020-05-07 11:13:39 +02:00
Juergen Spitzmueller
a7ab8221e1
ru.po
2020-05-07 08:40:17 +02:00
Kornel Benko
14316c7890
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."
2020-05-06 11:50:41 +02:00
Richard Kimberly Heck
238f510702
Move DTL binaries to resource folder;.
...
Patch from Eugene.
2020-05-06 03:04:33 -04:00
Richard Kimberly Heck
195c0bfbad
Rename some routines
2020-05-05 11:19:21 -04:00
Richard Kimberly Heck
5989160154
Remove functors in IndicesList.cpp.
2020-05-05 11:19:21 -04:00
Richard Kimberly Heck
958958453f
Replace functors in Format.cpp.
2020-05-05 11:16:28 -04:00
Richard Kimberly Heck
7f875d7dac
Replace functor in BranchList
2020-05-05 11:16:24 -04:00
Juergen Spitzmueller
ce7cd4b983
linguistics.module: fix counters
2020-05-05 14:42:44 +02:00
Kornel Benko
9c863039b6
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
2020-05-05 13:49:50 +02:00
Richard Kimberly Heck
c506f304bc
Fix a number of issues that were stopping compilation with MSVC 19.
...
Patch from Thibaut Cuvelier, modified slightly by me (mostly for style).
2020-05-04 19:45:58 -04:00
Richard Kimberly Heck
91265c1f46
Missing include according to VC19
2020-05-04 14:19:29 -04:00
Richard Kimberly Heck
d6a7ec506e
s/requires_/required_/ for code consistency
2020-05-04 14:05:44 -04:00
Richard Kimberly Heck
3b09ef61a6
Fix remaining (I think) requires keyword issues.
2020-05-04 13:46:01 -04:00
Scott Kostyshak
23abb5aaa3
Fix commented out code
...
Since the if condition changed at af4ee1a4
, the "else" in the
comment needed correction.
2020-05-04 09:27:35 -04:00
Scott Kostyshak
af4ee1a487
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 .
2020-05-04 08:58:56 -04:00
Pavel Sanda
cf628911d0
Add new template for Hebrew.
...
Provided by Guy Rutenberg, available also here:
https://github.com/guyru/lyx-hebrew-templates
2020-05-04 13:05:36 +02:00
Juergen Spitzmueller
210c4aa9a2
Use translated GUI name of counter in button label
2020-05-04 09:28:07 +02:00
Juergen Spitzmueller
5171b7ea6c
Keep sort order of counter actions
2020-05-04 09:22:35 +02:00
Richard Kimberly Heck
5f5cb7eea7
Fix warnings by using size_t as the loop variable.
2020-05-03 15:02:40 -04:00
Richard Kimberly Heck
e8800373e6
is_utf8 is always passed a char.
2020-05-03 15:02:25 -04:00