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
Richard Kimberly Heck
086d65bd7c
Update documentation about counters.
2020-05-03 14:06:48 -04:00
Juergen Spitzmueller
85318d6239
ru.po
2020-05-03 18:38:50 +02:00
Kornel Benko
544770a582
Update sk.po
2020-05-03 14:42:14 +02:00
Juergen Spitzmueller
a5cdf7ca49
de.po
2020-05-03 13:37:05 +02:00
Juergen Spitzmueller
eebc0d8cf5
Add missing l7n flag
2020-05-03 13:36:34 +02:00
Juergen Spitzmueller
3be8726695
Add missing ellipses
2020-05-03 13:30:04 +02:00
Juergen Spitzmueller
98c24f3413
Amend e7e70b021e
2020-05-03 13:16:20 +02:00
Kornel Benko
63ce605b83
Try to set executable bit on listFontWithLang.pl
2020-05-03 12:54:14 +02:00
Juergen Spitzmueller
fba67710d8
Make counter items translatable and sort properly
2020-05-03 09:44:55 +02:00
Juergen Spitzmueller
e40fe3a15d
Update link
2020-05-03 09:13:59 +02:00
Juergen Spitzmueller
6e5f90f72f
Fix capitalization
...
We use sentence casing in combo boxes.
2020-05-03 09:13:41 +02:00
Juergen Spitzmueller
cd2c0dcc81
Re-fix layout
...
Also improve some strings, and fix capitalization
2020-05-03 09:13:13 +02:00
Richard Kimberly Heck
9e4709e4de
Avoid a copy
2020-05-03 02:52:56 -04:00
Richard Kimberly Heck
3b2bcef455
Fix some warnings.
2020-05-03 02:46:11 -04:00
Richard Kimberly Heck
99948beff8
Remove unused files.
2020-05-03 02:32:29 -04:00
Richard Kimberly Heck
e7e70b021e
Better name
2020-05-03 02:20:14 -04:00
Richard Kimberly Heck
16e7f26cec
requires is a keyword in C++2a
2020-05-03 02:18:17 -04:00
Richard Kimberly Heck
a38408419c
Remove obsolete comment.
...
We assert (or worse) if pos < 0.
2020-05-03 00:51:01 -04:00
Richard Kimberly Heck
0f4b60c642
GuiNames for float counters.
2020-05-02 23:17:17 -04:00
Richard Kimberly Heck
a7e26710cb
Add GuiNames to counter declarations.
2020-05-02 23:17:16 -04:00
Richard Kimberly Heck
9bcb243ec6
Increment layout format.
2020-05-02 23:17:16 -04:00
Richard Kimberly Heck
666f90cdbb
Use GuiNames for counters.
2020-05-02 23:17:16 -04:00
Richard Kimberly Heck
6580c5753d
Remove unused counter
2020-05-02 22:09:45 -04:00
Richard Kimberly Heck
32a5436108
Somehow this got corrupted...
2020-05-02 22:05:02 -04:00