Commit Graph

41532 Commits

Author SHA1 Message Date
Richard Kimberly Heck
b5b015ba3a Update layout format 2020-05-23 11:45:01 -04:00
Jean-Marc Lasgouttes
8d51b3e7bb Simplify code by using initializer lists for vectors.
{ REFERENCE_NEXT, NOTE_NEXT } can be used as a value for a
vector<FuncCode> since C++11.
2020-05-23 17:10:17 +02:00
Jean-Marc Lasgouttes
7761e1317e Fix first draw of auto-open inset
note-next and reference-next should trigger an update so that metrics
are updated when the cursor ends up in an auto-open inset.

Fixes bug #11870.
2020-05-23 16:50:04 +02:00
Richard Kimberly Heck
44dc38e120 Revert part of 47973dc2b, which was causing bug #11873. 2020-05-22 23:43:44 -04:00
Kornel Benko
e3ffbc53cb Tools(listFontWithLang.pl): Prohibit inserting multiple entries of same command line option 2020-05-21 16:09:21 +02:00
Stephan Witt
544e5859d3 Add command line option for code sign identity to help message 2020-05-21 13:30:22 +02:00
Kornel Benko
580057bef7 Tools(listFontWithLang.pl): Polishing 2020-05-21 11:50:42 +02:00
Kornel Benko
f7ad823cb8 Tools(listFontWithLang.pl): Amend 58dfb1d8, Select fonts containig specified glyphs
Allow to specify also intervalls of charaters
	e.g. -c a-z,u+70-u+200
2020-05-20 12:38:30 +02:00
Richard Kimberly Heck
a2b21e3cd4 Fix more warnings and simplify a tiny bit. 2020-05-19 18:06:20 -04:00
Richard Kimberly Heck
6942dc9fb4 Fix warnings 2020-05-19 17:08:38 -04:00
Kornel Benko
58dfb1d825 Tools(listFontWithLang.pl): Amend ac039733, Select fonts containig specified glyphs
Allow also values like
	-c Azß
or
	-c u+65zu+xdf
(Comma as a separator not needed, if the input is unambiguous)
2020-05-19 09:02:56 +02:00
Stephan Witt
dfb33eb569 #11742 use Inkscape 0.92.x converter from Resources of application bundle if detected - corrected shell syntax 2020-05-19 08:54:57 +02:00
Stephan Witt
813cd1765c #11742 use Inkscape 0.92.x converter from Resources of application bundle if detected 2020-05-19 08:49:20 +02:00
Richard Kimberly Heck
c90a8e6885 Add revtex 4.2 files to distribution 2020-05-18 13:20:39 -04:00
Kornel Benko
ac03973309 Tools(listFontWithLang.pl): Select fonts containig specified glyphs
Comma separated glyphs can be specifies as characters or as unicode-values
example:
	-c A,z,ß
or
	-c u+65,z,u+xdf
2020-05-18 18:21:25 +02:00
Juergen Spitzmueller
53ada26596 Fixup inkscape detection on Windows 2020-05-18 12:40:32 +02:00
Juergen Spitzmueller
bd89a273bc Amend 74f831e06d
Forgot this part.
2020-05-18 08:32:26 +02:00
Richard Kimberly Heck
ca417d2c87 Fix warnings 2020-05-18 01:15:50 -04:00
Richard Kimberly Heck
d7dde0c723 Fix warnings. 2020-05-18 00:46:58 -04:00
Richard Kimberly Heck
2de99c5dd9 Fix bug #11456.
Add cancel button and take no action if we're canceled.
2020-05-18 00:28:36 -04:00
Richard Kimberly Heck
b2517d60b8 Fix bug #11405.
We don't actually prevent hidden buffers from being dirty, so we need
to save them if they are.
2020-05-18 00:07:56 -04:00
Richard Kimberly Heck
a96ec2db45 Remove debugging code. Thanks Scott! 2020-05-17 20:59:34 -04:00
Richard Kimberly Heck
e1615f4107 Const-ness, and a missing Class declaration. I do not understand
why this ever worked.
2020-05-17 20:52:58 -04:00
Richard Kimberly Heck
5d9e175256 Fix copy-paste error.
See bug #11869.
2020-05-17 20:52:18 -04:00
Richard Kimberly Heck
c6b3f35c8c Properly check return values so TIMEOUT is recognized. 2020-05-17 14:58:15 -04:00
Enrico Forestieri
49098aa318 Fix bug #11854
The code was checking only for particular vertical alignment requests
in order to decide to nest a standard array into a 1x1 ams matrix.
However, also vertical lines are not possible in ams matrices.
2020-05-17 18:15:00 +02:00
Stephan Witt
aec981bf41 #11742 correct pre 1.0 inkscape wrapper script path 2020-05-17 15:24:15 +02:00
Stephan Witt
4552d1c75f #11742 adapt inkscape start utility to Inkscape 1.0 2020-05-17 15:20:25 +02:00
Juergen Spitzmueller
6057fba90a Fix indentation 2020-05-17 15:18:38 +02:00
Kornel Benko
5f3541454c Tools(listFontWithLang.pl): update fonts-categorization 2020-05-17 15:12:05 +02:00
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