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
Richard Kimberly Heck
986a55fd7e
Comment.
2020-04-19 13:31:57 -04:00
Richard Kimberly Heck
d509d85c68
Fix warning
2020-04-19 11:10:56 -04:00
Juergen Spitzmueller
a5e08e01c7
de.po: nitpick
2020-04-19 17:02:28 +02:00
Scott Kostyshak
721d39ddc7
Fix debug message
2020-04-19 10:04:12 -04:00
Kornel Benko
d02b17622e
Update sk.po
2020-04-19 15:29:39 +02:00
Juergen Spitzmueller
3b981d428a
de.po: update
2020-04-19 15:03:51 +02:00
Juergen Spitzmueller
4a0fe9bb76
ru.po: update by Yuriy
2020-04-19 14:52:54 +02:00
Stephan Witt
4e9ecec3f6
additional check for default pipe locations used by active LyX instance
2020-04-19 13:12:35 +02:00
Kornel Benko
4e14bf7028
Amend(5) 689f26d2
: Revert changes in development/cygwin/lyxrc.dist.in
...
Thanks Enrico.
2020-04-19 11:39:10 +02:00
Juergen Spitzmueller
05c7c65d93
Improve reporting of undefined control sequences in preamble
...
Fixes #11844
2020-04-19 10:56:58 +02:00
Kornel Benko
3f89dd0b48
Cmake build: Distinguish between PROGRAM_SUFFIX and LYX_VERSION
...
For instance: program suffix may be "", but lyx version is still "2.4"
2020-04-19 09:45:32 +02:00
Kornel Benko
478a303f4a
Use c++11 to remove last char from a string
...
Thanks Scott.
2020-04-19 08:59:54 +02:00
Kornel Benko
333e023e82
Amend(4) 689f26d2
: Add default path to server pipe (cmake build)
...
Rename the placeholde $$User to $$UserDir
Make it more readable. Suggestion from Stephan Witt.
2020-04-18 22:26:56 +02:00
Richard Kimberly Heck
3aae85edf1
Fix some warnings
2020-04-18 14:52:08 -04:00
Richard Kimberly Heck
d550774772
Tell the user that LyX is already running when we do not start
...
because of 'use single instance'.
2020-04-18 14:41:26 -04:00
Kornel Benko
237378477f
Amend(3) 689f26d2
: Add default path to server pipe (cmake build)
...
Omit duplicated separators if replacing string '$$User' with actual userdir
2020-04-18 16:32:24 +02:00
Kornel Benko
88d8376189
Amend(2) 689f26d2
: Add default path to server pipe (cmake build)
...
Changing pipe-path to fit on Windows
Corrected by Eugene
2020-04-18 12:07:04 +02:00
Juergen Spitzmueller
ca28c9866a
Remap typographical apostrophe from Hunspell to plain apostrophe ( #11832 )
2020-04-18 11:25:18 +02:00
Kornel Benko
0135682fca
Amend(1) 689f26d2
: Add default path to server pipe (cmake build)
...
Added handling for cygwin and win32
MacOSX is unchanged, Stephan could you look at it?
2020-04-18 09:06:56 +02:00
Juergen Spitzmueller
9e71bdfd32
fix comment
2020-04-18 08:01:39 +02:00
Kornel Benko
689f26d247
Add default path to server pipe (cmake build + unix)
...
Actually the change is affecting only builds if
1.) Using cmake build
2.) on unix
To use it on
cygwin: one has to patch development/cygwin/lyxrc.dist.in
MacOSX: -//- development/MacOSX/lyxrc.dist.in
We need also a Windows-version
Also the compilation with automake lacks the handling of development/unix/lyxrc.dist.in
2020-04-17 18:38:51 +02:00
Kornel Benko
5ec95f703c
Cmake build: Prevent multiple configuration runs
...
Normally the sequence to compile is
1.) cmake <source> <some parameters>
2.) make
but since 'unset(var CACHE)' changed the cache, the following call to 'make'
triggered the configuration run.
2020-04-17 12:13:08 +02:00
Juergen Spitzmueller
d9b884341c
Reset failedtoload_ bool when include inset params are changed ( #11842 )
2020-04-17 10:19:46 +02:00
Juergen Spitzmueller
5bc66b5f45
Fix tablefootnote loading order ( #11841 )
2020-04-17 09:12:51 +02:00
Richard Kimberly Heck
86a4c79dc4
Make it nicer, thanks to JMarc
2020-04-16 21:05:38 -04:00
Richard Kimberly Heck
46f1f6f1cb
Fix bug #11635
2020-04-16 17:16:26 -04:00
Jean-Marc Lasgouttes
bb0117d182
Simplify code for bidi icons
...
Most of the RtL icons that we provide are simply mirrors of the LtR ones.
Therefore let the code do that by default if no +rtl icon is found.
The only RtL icon left for now is for "layout Enumerate" (notice the
numbers in it).
Also remove useless getPixmap wrapper and several old bidi_xxx icons
that were forgotten in previous patch.
2020-04-16 20:54:53 +02:00
Pavel Sanda
2b7ab02252
This has been asked numerous times on users list.
2020-04-16 18:57:31 +02:00