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
Richard Kimberly Heck
c37500050d
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.
2020-05-02 20:33:03 -04:00
Kornel Benko
b55f735afe
Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools
2020-05-02 13:40:26 +02:00
Kornel Benko
4d7c7f1e74
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
2020-05-02 13:20:53 +02:00
Juergen Spitzmueller
3d630f49c4
Fix broken mark with multiple citations
...
Patch by Patrick De Visschere (modified by me)
2020-05-02 08:55:58 +02:00
Richard Kimberly Heck
8a4bb40c7e
Fix typo.
2020-05-01 19:47:50 -04:00
Richard Kimberly Heck
bc4ca12ab5
Polish the counter UI a bit and add some to the documentation.
2020-05-01 19:03:54 -04:00
Juergen Spitzmueller
4d3a08bf86
Fix build with qt4
2020-05-01 10:17:04 +02:00
Juergen Spitzmueller
a05b3228bc
Fix Ui layouts.
2020-05-01 10:10:27 +02:00
Richard Kimberly Heck
a08621ebce
Documentation for counter inset.
2020-04-30 23:46:26 -04:00
Richard Kimberly Heck
de40b09474
Fix thinkos for counter value type
2020-04-30 23:46:18 -04:00
Richard Kimberly Heck
cb9102f986
Update tex2lyx references.
2020-04-30 23:21:34 -04:00
Richard Kimberly Heck
9a147255df
GUI for new counter inset.
2020-04-30 23:11:59 -04:00
Richard Kimberly Heck
9a1b26a156
Format and reversion code for new counter inset.
2020-04-30 23:11:59 -04:00
Richard Kimberly Heck
684d27c0fb
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.
2020-04-30 23:09:36 -04:00
Jean-Marc Lasgouttes
db5021c42e
Avoid warnings about deprecated copy in gcc 10 too
2020-04-30 12:09:17 +02:00
Jean-Marc Lasgouttes
7035e230ca
Avoid some more copies in range-based for loops
...
This triggers warnings with clang++ 10.
2020-04-28 15:28:51 +02:00
Jean-Marc Lasgouttes
a85c48de5a
Do not for copies in range-based for loops.
...
Spotted by clang++ 10.
2020-04-28 13:27:50 +02:00
Jean-Marc Lasgouttes
e9e8069b17
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.
2020-04-28 13:16:45 +02:00
Juergen Spitzmueller
62c77c2786
ru.po: update by Yuriy
2020-04-27 08:06:39 +02:00
Richard Kimberly Heck
1344caa67a
Fix problem with c67b6be77
noted by JMarc.
2020-04-26 16:10:50 -04:00
Richard Kimberly Heck
c94a97e36c
Fix declaration
2020-04-26 03:37:20 -04:00
Richard Kimberly Heck
491c966436
Remove unnecessary friendship. Thanks Scott!
2020-04-26 03:16:44 -04:00
Richard Kimberly Heck
7b9dc7bc9e
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.
2020-04-26 03:09:27 -04:00
Richard Kimberly Heck
c92b4f27ec
Fix compilation problem
2020-04-26 03:04:06 -04:00
Richard Kimberly Heck
57065afb45
Whitespace
2020-04-25 22:57:09 -04:00
Richard Kimberly Heck
b9e2941847
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.
2020-04-25 22:50:48 -04:00
Richard Kimberly Heck
7d36b9e4fa
Remove method that is now unneeded.
2020-04-25 22:27:09 -04:00
Richard Kimberly Heck
e4da314522
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.
2020-04-25 22:22:58 -04:00
Richard Kimberly Heck
9319144703
Buffer methods for dealing with recursive includes.
2020-04-25 22:17:46 -04:00
Richard Kimberly Heck
aa794a8806
Return early from the short path.
2020-04-25 17:33:49 -04:00
Richard Kimberly Heck
f1d5926a5d
Fix warnings.
2020-04-25 01:26:37 -04:00
Richard Kimberly Heck
c67b6be77e
Refactor code to avoid the problem fixed at the last commit.
2020-04-25 01:11:30 -04:00
Richard Kimberly Heck
b5a5a529a3
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.
2020-04-25 01:05:15 -04:00
Enrico Forestieri
c4a8a07a09
Update it.po
2020-04-23 23:08:56 +02:00
Jean-Marc Lasgouttes
b9538b10d4
Ignore some more files when building in source tree
2020-04-23 19:17:15 +02:00
Juergen Spitzmueller
3e1702b1bd
Hint at (new) filter function in tooltip.
2020-04-23 14:24:32 +02:00
Juergen Spitzmueller
532e3b8952
Use CategorizedCombo for font selection
...
We do not have categories, but this gives as a nice filter functionality
for long (non-TeX) font lists for free.
See #11849
2020-04-23 12:43:38 +02:00
Juergen Spitzmueller
631d6b9b2e
Categorized Combo: Do not draw category line if the combo has zero categories
2020-04-23 08:31:50 +02:00
Juergen Spitzmueller
a9668f1cae
ru.po: update by Yuriy
2020-04-23 07:35:44 +02:00
Juergen Spitzmueller
733c9b04d8
Minor doc update by Yuriy
2020-04-23 07:33:51 +02:00
Enrico Forestieri
a73c2c2b93
Raise the window in single-instance mode
...
Other than issuing a warning on the console, now the LyX window is
raised when in single-instance mode and no files to load are specified.
In this way, the user is aware that something happened after double
clicking the program icon. To support this functionality the new lfun
window-raise has been introduced.
2020-04-21 21:55:20 +02:00