Yuriy Skalko
bda4570400
Use new signal library nod
instead of boost::signals2
...
Thanks Enrico for updating autotools files.
2020-12-13 23:11:19 +02:00
Juergen Spitzmueller
148748b0c2
Make InsetInfo math/IPA icons visible in dark mode
...
This does not show the real colors, but the icons are at least readable.
2020-12-13 09:51:32 +01:00
Juergen Spitzmueller
e6e30caca5
Do not forceLTR in InsetHyperlink ( #12044 )
...
This can also be RTL text
2020-12-13 05:54:48 +01:00
Juergen Spitzmueller
39a28b4b27
Whitespace
2020-12-13 05:08:11 +01:00
Juergen Spitzmueller
33fb7ed258
Ditch deprecation warning
2020-12-12 14:16:34 +01:00
Juergen Spitzmueller
882f06121b
Use semantic latex and math colors for dark theme icon overlay
2020-12-12 10:56:51 +01:00
Juergen Spitzmueller
704331fdcd
Add dark theme colors to semantic colors ( #8325 )
2020-12-12 10:56:05 +01:00
Stephan Witt
7b41faabae
amend 99b1488f0e
- on Mac the include is needed
2020-12-11 18:42:04 +01:00
Juergen Spitzmueller
91026711ae
Introduce semantic label colors
...
This allows customization e.g. in dark mode and is a prerequisite
for color theming
Part of #8325
2020-12-11 11:44:45 +01:00
Juergen Spitzmueller
a06cdfa073
Adapt math and IPA panels to dark theme ( #5636 )
2020-12-11 09:08:41 +01:00
Juergen Spitzmueller
b2ab394832
Remove unused function
2020-12-11 09:08:10 +01:00
Yuriy Skalko
9348c5c635
Use to_string
instead of boost::lexical_cast
2020-12-10 20:14:40 +02:00
Yuriy Skalko
5999dd96e6
Remove unnecessary c_str
2020-12-10 20:14:31 +02:00
Jean-Marc Lasgouttes
69c46c56fe
Preserve paragraph depth when dissolving.
...
It turns out that makeSameLayout() does more than we want.
Fixes bug #11981 .
2020-12-10 18:34:07 +01:00
Kornel Benko
2d2e2f1c6d
Adv-Search: Use some free unicodes as replacement for searched spaces
...
Without this, it is difficult to find backslashed macros if in regexp-mode.
2020-12-10 11:36:09 +01:00
Juergen Spitzmueller
f9b817676a
Search ipa image dir befor top dir
...
Else the unknown icon is found before the proper icon.
This unbreaks IPA panel top icons
2020-12-10 07:08:04 +01:00
Jean-Marc Lasgouttes
d9c39232ac
Reduce the amount of needed boost headers
...
boost/signals2.hpp is a convenience header, it seems that
boost/signals2/signal.hpp is enough for our needs.
This allows to get rid of 6MiB of header files in 3rdparty/boost (and
probably to speed-up compilation).
2020-12-09 14:50:18 +01:00
Jean-Marc Lasgouttes
99fb1c7003
Overhaul (no)limits support
...
- Add limits support to InsetMathScript
- Add limits support to InsetMathClass
- Fix bug where limits changing is disabled in inline math
Now the MathData objects remember whether they are in diaply mode.
Fixes bug #12045 .
2020-12-09 14:10:17 +01:00
Pavel Sanda
a222a2eab6
Hint message when .lyx dir can not be created.
...
Useful for scripts running without standard homedir environments,
cf https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816173
2020-12-08 09:53:38 +01:00
Jean-Marc Lasgouttes
1dcb08104c
Make spellchecker work in read-only document
...
Mistakes are visible but word replacement is disabled. Disable relevant
widgets depending on the situation.
Move updateView code to SpellcheckerWidget::Private.
2020-12-07 18:33:45 +01:00
Yuriy Skalko
ccbfd22f56
Move implementation details to constructors. Amend 78f457796c
2020-12-06 20:51:11 +02:00
Pavel Sanda
2f3d0653b3
Fix compilation
2020-12-06 18:37:38 +01:00
Yuriy Skalko
3e7ccc367a
Use range-based for loops
2020-12-06 18:26:56 +02:00
Yuriy Skalko
e292dd70bf
More enums & includes refactoring
2020-12-06 18:26:41 +02:00
Juergen Spitzmueller
b57b4a3e12
Clarify documentation if "Keep change markup on paste" pref
2020-12-06 17:04:17 +01:00
Richard Kimberly Heck
842fd8a74d
Use LOCK in all cases
2020-12-06 10:57:20 -05:00
Yuriy Skalko
78f457796c
Implement proper Dialog factory instead of implicit link-time dependencies
2020-12-06 17:37:39 +02:00
Juergen Spitzmueller
22193601bf
Always mark pasted stuff as changed with ct on
...
independent of "Keep change tracking markup on copy and paste" pref.
Probably addresses #11973
2020-12-06 10:00:47 +01:00
Richard Kimberly Heck
c978137f99
Disable Edit Externally for read-only Buffers.
2020-12-06 00:14:23 -05:00
Richard Kimberly Heck
16834a32ad
Use LOCK symbol with Minimalistic decoration, too.
...
In that case, we force a button with just the lock.
2020-12-05 21:25:05 -05:00
Richard Kimberly Heck
877a46f7b0
Use a lock symbol to indicate when an inset is being edited externally.
...
Good idea from Scott.
2020-12-05 21:16:17 -05:00
Richard Kimberly Heck
ad887798c9
Renaming
2020-12-05 20:30:45 -05:00
Richard Kimberly Heck
742348262e
Fix bug #12033 .
...
Silly mistake: Only considered the parent, not grandparents, etc.
2020-12-05 20:30:45 -05:00
Richard Kimberly Heck
41216228c0
Change name in source files
2020-12-05 17:17:02 -05:00
Thibaut Cuvelier
0c5e10f36b
This should fix a few type-conversion warnings.
2020-12-05 22:52:41 +01:00
Richard Kimberly Heck
d31891c6bf
Use LaTeXName of counter in LaTeX output.
...
Fixes an oversight noticed by Scott.
2020-12-05 16:46:33 -05:00
Richard Kimberly Heck
ae2ce7a86a
LaTeXName tag for counters. Layout format change.
2020-12-05 16:46:33 -05:00
Jean-Marc Lasgouttes
4f8cfca117
Update handling of read-only for Thesaurus
...
Remove dummy calls to ButtonController::addReadOnly().
Properly disable stuff for read-only documents.
Streamline code.
2020-12-05 20:27:46 +01:00
Jean-Marc Lasgouttes
f02311241a
Make Merge Changes dialog work in read only.
...
Make LFUN_CHANGES_MERGE active in read-only documents.
Remove dummy call to ButtonController::addReadonly and replace with
proper code.
2020-12-05 19:53:30 +01:00
Jean-Marc Lasgouttes
e561358be9
Move stuff
2020-12-05 19:45:09 +01:00
Pavel Sanda
b670990bc1
Improve VCS error message when RCS is not installed.
...
User's report that it takes time to realize what package
is 'ci' part of, so we can give a hint for the initial
file registration.
2020-12-04 18:16:44 +01:00
Jean-Marc Lasgouttes
c30b0aac4b
Disable some Adv F&R widgets for read-only documents
2020-12-03 18:04:23 +01:00
Jean-Marc Lasgouttes
24b71d30d5
Fix disabling of widgets for (simple) Search dialog
...
This allows to remove the calls to ButtonController::addReadonly,
which are placebo since 78ade7e6
.
2020-12-03 15:44:55 +01:00
Juergen Spitzmueller
e3f7f18440
amend a204dbe934
2020-12-03 14:51:05 +01:00
Juergen Spitzmueller
a04d30a650
tex2lyx: prevent \; \: and \! to be converted in tipa and algorithm
...
These commands have special meanings there.
2020-12-03 14:49:01 +01:00
Juergen Spitzmueller
a204dbe934
Escape backslash in comments
2020-12-03 14:47:34 +01:00
Juergen Spitzmueller
c93d5d76fa
tex2lyx: support all space type in texted
2020-12-03 11:12:55 +01:00
Juergen Spitzmueller
de2be5bdaa
Recent LaTeX includes all math and text spaces
...
amsmath no longer required here.
2020-12-03 10:49:18 +01:00
Juergen Spitzmueller
7b6bb23b87
Move dummy bool a bit closer to context
2020-12-03 08:50:43 +01:00
Juergen Spitzmueller
4a13a29042
Add empty line after last \bibitem in bibliography ( #12041 )
2020-12-03 07:46:39 +01:00