]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoImplement sane UI for switching tristate toolbars (#6364)
Juergen Spitzmueller [Thu, 17 Dec 2020 09:15:18 +0000 (10:15 +0100)]
Implement sane UI for switching tristate toolbars (#6364)

Also fix toolbar toggling with AllowAuto which was broken since
a long time.

3 years agoWhitespace
Juergen Spitzmueller [Thu, 17 Dec 2020 09:10:56 +0000 (10:10 +0100)]
Whitespace

3 years agoAdv-Find: Try to use some more unicode chars (instead of latex macros)
Kornel Benko [Tue, 15 Dec 2020 17:08:02 +0000 (18:08 +0100)]
Adv-Find: Try to use some more unicode chars (instead of latex macros)

3 years agoTake label width into account for SubLabel insets
Jean-Marc Lasgouttes [Tue, 15 Dec 2020 14:25:07 +0000 (15:25 +0100)]
Take label width into account for SubLabel insets

The drawing of the label should not go further than inset width.

Fixes bug #12046.

3 years agoSmall improvement to 2ac48f2c.
Kornel Benko [Tue, 15 Dec 2020 11:54:04 +0000 (12:54 +0100)]
Small improvement to 2ac48f2c.

Making the regex little more robust.

3 years agoDialog.h and DialogFactory.h are not moc-able
Jean-Marc Lasgouttes [Tue, 15 Dec 2020 10:53:06 +0000 (11:53 +0100)]
Dialog.h and DialogFactory.h are not moc-able

3 years agoAdd some documentation
Juergen Spitzmueller [Tue, 15 Dec 2020 08:52:52 +0000 (09:52 +0100)]
Add some documentation

3 years agoDo not close spellchecker after "Replace All" (#11310)
Juergen Spitzmueller [Tue, 15 Dec 2020 08:46:32 +0000 (09:46 +0100)]
Do not close spellchecker after "Replace All" (#11310)

Wrong use of wrapAround here

3 years agoFix prefs2prefs for \\set_color
Juergen Spitzmueller [Tue, 15 Dec 2020 08:15:23 +0000 (09:15 +0100)]
Fix prefs2prefs for \\set_color

3 years agoOne more nullptr
Juergen Spitzmueller [Tue, 15 Dec 2020 07:53:41 +0000 (08:53 +0100)]
One more nullptr

3 years agoMore readable latex color (on button and workarea) in dark mode
Juergen Spitzmueller [Tue, 15 Dec 2020 07:53:06 +0000 (08:53 +0100)]
More readable latex color (on button and workarea) in dark mode

3 years agoFix nullptr warning
Juergen Spitzmueller [Tue, 15 Dec 2020 07:36:17 +0000 (08:36 +0100)]
Fix nullptr warning

3 years agoFix thinko
Richard Kimberly Heck [Tue, 15 Dec 2020 04:33:51 +0000 (23:33 -0500)]
Fix thinko

3 years agoUpdate sk.po
Kornel Benko [Mon, 14 Dec 2020 19:49:16 +0000 (20:49 +0100)]
Update sk.po

3 years agoFind-Adv: A try to handle cyrillic chars also in regexp-mode
Kornel Benko [Mon, 14 Dec 2020 19:43:39 +0000 (20:43 +0100)]
Find-Adv: A try to handle cyrillic chars also in regexp-mode

3 years agoTweak nod Makefile
Jean-Marc Lasgouttes [Mon, 14 Dec 2020 17:58:40 +0000 (18:58 +0100)]
Tweak nod Makefile

There is no inner nod/ directory. We could, but it is probably not worth it.

3 years agoRemove signal2 from included boost
Jean-Marc Lasgouttes [Mon, 14 Dec 2020 17:40:58 +0000 (18:40 +0100)]
Remove signal2 from included boost

This is not necessary now that we use the nod library.

3 years agoAmend 24b71d30d56752 (#12048)
Juergen Spitzmueller [Mon, 14 Dec 2020 13:19:08 +0000 (14:19 +0100)]
Amend 24b71d30d56752 (#12048)

3 years agode.po
Juergen Spitzmueller [Mon, 14 Dec 2020 11:17:42 +0000 (12:17 +0100)]
de.po

3 years agoRegenerate for id
Pavel Sanda [Sun, 13 Dec 2020 23:28:21 +0000 (00:28 +0100)]
Regenerate for id

3 years agotypo
Pavel Sanda [Sun, 13 Dec 2020 23:24:45 +0000 (00:24 +0100)]
typo

3 years agoFresh remerge of id.po
Pavel Sanda [Sun, 13 Dec 2020 23:22:45 +0000 (00:22 +0100)]
Fresh remerge of id.po

3 years agoUpdate from Waluyo Adi Siswanto.
Pavel Sanda [Sun, 13 Dec 2020 23:19:57 +0000 (00:19 +0100)]
Update from Waluyo Adi Siswanto.

3 years agoCompile on older gcc.
Pavel Sanda [Sun, 13 Dec 2020 23:01:05 +0000 (00:01 +0100)]
Compile on older gcc.

3 years agoAmend bda4570, remove BOM
Yuriy Skalko [Sun, 13 Dec 2020 22:51:26 +0000 (00:51 +0200)]
Amend bda4570, remove BOM

3 years agoUse new signal library `nod` instead of `boost::signals2`
Yuriy Skalko [Sun, 13 Dec 2020 21:06:05 +0000 (23:06 +0200)]
Use new signal library `nod` instead of `boost::signals2`

Thanks Enrico for updating autotools files.

3 years agolayouts: s/theorem-counters/theorems-counters/
Scott Kostyshak [Sun, 13 Dec 2020 18:25:41 +0000 (13:25 -0500)]
layouts: s/theorem-counters/theorems-counters/

Amends ccc7c641.

3 years agoMake InsetInfo math/IPA icons visible in dark mode
Juergen Spitzmueller [Sun, 13 Dec 2020 08:51:32 +0000 (09:51 +0100)]
Make InsetInfo math/IPA icons visible in dark mode

This does not show the real colors, but the icons are at least readable.

3 years agoDo not forceLTR in InsetHyperlink (#12044)
Juergen Spitzmueller [Sun, 13 Dec 2020 04:54:48 +0000 (05:54 +0100)]
Do not forceLTR in InsetHyperlink (#12044)

This can also be RTL text

3 years agoWhitespace
Juergen Spitzmueller [Sun, 13 Dec 2020 04:08:11 +0000 (05:08 +0100)]
Whitespace

3 years agoDitch deprecation warning
Juergen Spitzmueller [Sat, 12 Dec 2020 13:16:34 +0000 (14:16 +0100)]
Ditch deprecation warning

3 years agoUse semantic latex and math colors for dark theme icon overlay
Juergen Spitzmueller [Sat, 12 Dec 2020 09:56:51 +0000 (10:56 +0100)]
Use semantic latex and math colors for dark theme icon overlay

3 years agoAdd dark theme colors to semantic colors (#8325)
Juergen Spitzmueller [Sat, 12 Dec 2020 09:56:05 +0000 (10:56 +0100)]
Add dark theme colors to semantic colors (#8325)

3 years agoWininstaller2: improved check if over installing
Eugene Chornyi [Sat, 12 Dec 2020 09:04:17 +0000 (10:04 +0100)]
Wininstaller2: improved check if over installing

3 years agoWininstaller2: minor bugfix
Eugene Chornyi [Sat, 12 Dec 2020 08:37:28 +0000 (09:37 +0100)]
Wininstaller2: minor bugfix

3 years agoWininstaller2: silently uninstall old LyX if not the same minor version
Eugene Chornyi [Fri, 11 Dec 2020 21:15:02 +0000 (22:15 +0100)]
Wininstaller2: silently uninstall old LyX if not the same minor version

3 years agoamend 99b1488f0e591539b5597d36dbadda26844b2078 - on Mac the include is needed
Stephan Witt [Fri, 11 Dec 2020 17:42:04 +0000 (18:42 +0100)]
amend 99b1488f0e591539b5597d36dbadda26844b2078 - on Mac the include is needed

3 years agoDocument new label colors and warn against using static colors in layouts
Juergen Spitzmueller [Fri, 11 Dec 2020 10:47:01 +0000 (11:47 +0100)]
Document new label colors and warn against using static colors in layouts

3 years agoUse only semantic colors in layout definitions
Juergen Spitzmueller [Fri, 11 Dec 2020 10:46:31 +0000 (11:46 +0100)]
Use only semantic colors in layout definitions

Part of #8325

3 years agoIntroduce semantic label colors
Juergen Spitzmueller [Fri, 11 Dec 2020 10:44:45 +0000 (11:44 +0100)]
Introduce semantic label colors

This allows customization e.g. in dark mode and is a prerequisite
for color theming

Part of #8325

3 years agoBoost.lexical_cast is not needed anymore.
Jean-Marc Lasgouttes [Fri, 11 Dec 2020 09:11:08 +0000 (10:11 +0100)]
Boost.lexical_cast is not needed anymore.

As of 9348c5c6, we use std::to_string() instead.

This reduces the size of our boost copy by a couple of MB.

3 years agoAdapt math and IPA panels to dark theme (#5636)
Juergen Spitzmueller [Fri, 11 Dec 2020 08:08:41 +0000 (09:08 +0100)]
Adapt math and IPA panels to dark theme (#5636)

3 years agoRemove unused function
Juergen Spitzmueller [Fri, 11 Dec 2020 08:08:10 +0000 (09:08 +0100)]
Remove unused function

3 years agoUse `to_string` instead of `boost::lexical_cast`
Yuriy Skalko [Thu, 10 Dec 2020 12:33:47 +0000 (14:33 +0200)]
Use `to_string` instead of `boost::lexical_cast`

3 years agoRemove unnecessary `c_str`
Yuriy Skalko [Thu, 10 Dec 2020 12:32:55 +0000 (14:32 +0200)]
Remove unnecessary `c_str`

3 years agoPreserve paragraph depth when dissolving.
Jean-Marc Lasgouttes [Thu, 10 Dec 2020 17:34:07 +0000 (18:34 +0100)]
Preserve paragraph depth when dissolving.

It turns out that makeSameLayout() does more than we want.

Fixes bug #11981.

3 years agoAdd contents of soul flex insets to toc
Juergen Spitzmueller [Thu, 10 Dec 2020 13:02:30 +0000 (14:02 +0100)]
Add contents of soul flex insets to toc

3 years agoCleanup extract.sh
Jean-Marc Lasgouttes [Thu, 10 Dec 2020 11:13:02 +0000 (12:13 +0100)]
Cleanup extract.sh

Add new option --report to create an HTML report (shows dependencies
at the end).

3 years agoAutotools: use C++17 mode when available
Jean-Marc Lasgouttes [Thu, 10 Dec 2020 09:55:09 +0000 (10:55 +0100)]
Autotools: use C++17 mode when available

3 years agoAdv-Search: Use some free unicodes as replacement for searched spaces
Kornel Benko [Thu, 10 Dec 2020 10:32:59 +0000 (11:32 +0100)]
Adv-Search: Use some free unicodes as replacement for searched spaces

Without this, it is difficult to find backslashed macros if in regexp-mode.

3 years agoUpdate sk.po
Kornel Benko [Thu, 10 Dec 2020 10:32:38 +0000 (11:32 +0100)]
Update sk.po

3 years agoHarmonize some math icon colors
Juergen Spitzmueller [Thu, 10 Dec 2020 08:23:12 +0000 (09:23 +0100)]
Harmonize some math icon colors

Use the same blue and red all over the place

3 years agoSearch ipa image dir befor top dir
Juergen Spitzmueller [Thu, 10 Dec 2020 06:08:04 +0000 (07:08 +0100)]
Search ipa image dir befor top dir

Else the unknown icon is found before the proper icon.

This unbreaks IPA panel top icons

3 years agoReduce the amount of needed boost headers
Jean-Marc Lasgouttes [Wed, 9 Dec 2020 13:50:18 +0000 (14:50 +0100)]
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).

3 years agoOverhaul (no)limits support
Jean-Marc Lasgouttes [Wed, 9 Dec 2020 08:39:49 +0000 (09:39 +0100)]
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.

3 years agoCmake batch tests: Export changed (Added empty line)
Kornel Benko [Wed, 9 Dec 2020 09:54:56 +0000 (10:54 +0100)]
Cmake batch tests: Export changed (Added empty line)

3 years agoUpdate credits
Richard Kimberly Heck [Tue, 8 Dec 2020 23:13:40 +0000 (18:13 -0500)]
Update credits

3 years agoHint message when .lyx dir can not be created.
Pavel Sanda [Tue, 8 Dec 2020 08:53:38 +0000 (09:53 +0100)]
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

3 years agoTypo
Enrico Forestieri [Mon, 7 Dec 2020 21:32:36 +0000 (22:32 +0100)]
Typo

3 years agoMake spellchecker work in read-only document
Jean-Marc Lasgouttes [Mon, 7 Dec 2020 16:53:40 +0000 (17:53 +0100)]
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.

3 years agoMove implementation details to constructors. Amend 78f457796c
Yuriy Skalko [Sun, 6 Dec 2020 16:01:09 +0000 (18:01 +0200)]
Move implementation details to constructors. Amend 78f457796c

3 years agoFix compilation
Pavel Sanda [Sun, 6 Dec 2020 17:37:38 +0000 (18:37 +0100)]
Fix compilation

3 years agoUse range-based for loops
Yuriy Skalko [Thu, 3 Dec 2020 19:51:25 +0000 (21:51 +0200)]
Use range-based for loops

3 years agoMore enums & includes refactoring
Yuriy Skalko [Wed, 2 Dec 2020 20:34:28 +0000 (22:34 +0200)]
More enums & includes refactoring

3 years agode.po
Juergen Spitzmueller [Sun, 6 Dec 2020 16:07:28 +0000 (17:07 +0100)]
de.po

3 years agoClarify documentation if "Keep change markup on paste" pref
Juergen Spitzmueller [Sun, 6 Dec 2020 16:04:17 +0000 (17:04 +0100)]
Clarify documentation if "Keep change markup on paste" pref

3 years agoUse LOCK in all cases
Richard Kimberly Heck [Sun, 6 Dec 2020 15:57:14 +0000 (10:57 -0500)]
Use LOCK in all cases

3 years agoImplement proper Dialog factory instead of implicit link-time dependencies
Yuriy Skalko [Thu, 3 Dec 2020 17:41:52 +0000 (19:41 +0200)]
Implement proper Dialog factory instead of implicit link-time dependencies

3 years agoAlways mark pasted stuff as changed with ct on
Juergen Spitzmueller [Sun, 6 Dec 2020 09:00:47 +0000 (10:00 +0100)]
Always mark pasted stuff as changed with ct on

independent of "Keep change tracking markup on copy and paste" pref.

Probably addresses #11973

3 years agoDisable Edit Externally for read-only Buffers.
Richard Kimberly Heck [Sun, 6 Dec 2020 05:14:23 +0000 (00:14 -0500)]
Disable Edit Externally for read-only Buffers.

3 years agoUse LOCK symbol with Minimalistic decoration, too.
Richard Kimberly Heck [Sun, 6 Dec 2020 02:25:05 +0000 (21:25 -0500)]
Use LOCK symbol with Minimalistic decoration, too.

In that case, we force a button with just the lock.

3 years agoAllow listings insets to be edited externally.
Richard Kimberly Heck [Sun, 6 Dec 2020 02:17:02 +0000 (21:17 -0500)]
Allow listings insets to be edited externally.

3 years agoUse a lock symbol to indicate when an inset is being edited externally.
Richard Kimberly Heck [Sun, 6 Dec 2020 02:16:17 +0000 (21:16 -0500)]
Use a lock symbol to indicate when an inset is being edited externally.

Good idea from Scott.

3 years agoRenaming
Richard Kimberly Heck [Sun, 6 Dec 2020 01:30:29 +0000 (20:30 -0500)]
Renaming

3 years agoFix bug #12033.
Richard Kimberly Heck [Sun, 6 Dec 2020 01:27:29 +0000 (20:27 -0500)]
Fix bug #12033.

Silly mistake: Only considered the parent, not grandparents, etc.

3 years agoAmend ccc7c641
Scott Kostyshak [Sun, 6 Dec 2020 00:51:24 +0000 (19:51 -0500)]
Amend ccc7c641

3 years agoModularize counter declarations.
Richard Kimberly Heck [Sat, 5 Dec 2020 23:41:41 +0000 (18:41 -0500)]
Modularize counter declarations.

3 years agoChange name and email in some other files
Richard Kimberly Heck [Sat, 5 Dec 2020 22:37:21 +0000 (17:37 -0500)]
Change name and email in some other files

3 years agoChange name in source files
Richard Kimberly Heck [Sat, 5 Dec 2020 22:17:02 +0000 (17:17 -0500)]
Change name in source files

3 years agoChange name and email in layout files
Richard Kimberly Heck [Sat, 5 Dec 2020 22:09:17 +0000 (17:09 -0500)]
Change name and email in layout files

3 years agoAdd LaTeXName to counters that need it.
Richard Kimberly Heck [Sat, 5 Dec 2020 22:05:30 +0000 (17:05 -0500)]
Add LaTeXName to counters that need it.

I'm sure I've missed some here. I tried to check the CLS files for
some of these, but since I don't use a lot of these layouts, it is
hard to catch them all.

3 years agoThis should fix a few type-conversion warnings.
Thibaut Cuvelier [Sat, 5 Dec 2020 21:51:56 +0000 (22:51 +0100)]
This should fix a few type-conversion warnings.

3 years agoUpdate layouts
Richard Kimberly Heck [Sat, 5 Dec 2020 21:46:19 +0000 (16:46 -0500)]
Update layouts

3 years agoUse LaTeXName of counter in LaTeX output.
Richard Kimberly Heck [Sat, 5 Dec 2020 21:23:27 +0000 (16:23 -0500)]
Use LaTeXName of counter in LaTeX output.

Fixes an oversight noticed by Scott.

3 years agoLaTeXName tag for counters. Layout format change.
Richard Kimberly Heck [Sat, 5 Dec 2020 21:14:30 +0000 (16:14 -0500)]
LaTeXName tag for counters. Layout format change.

3 years agoUpdate handling of read-only for Thesaurus
Jean-Marc Lasgouttes [Sat, 5 Dec 2020 19:27:46 +0000 (20:27 +0100)]
Update handling of read-only for Thesaurus

Remove dummy calls to ButtonController::addReadOnly().

Properly disable stuff for read-only documents.

Streamline code.

3 years agoMake Merge Changes dialog work in read only.
Jean-Marc Lasgouttes [Sat, 5 Dec 2020 18:51:07 +0000 (19:51 +0100)]
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.

3 years agoMove stuff
Jean-Marc Lasgouttes [Sat, 5 Dec 2020 18:44:54 +0000 (19:44 +0100)]
Move stuff

3 years agode.po
Juergen Spitzmueller [Sat, 5 Dec 2020 12:46:12 +0000 (13:46 +0100)]
de.po

3 years agoWininstaller2: copy user preferences from previous minor release
Eugene Chornyi [Sat, 5 Dec 2020 10:38:58 +0000 (11:38 +0100)]
Wininstaller2: copy user preferences from previous minor release

3 years agoImprove VCS error message when RCS is not installed.
Pavel Sanda [Fri, 4 Dec 2020 17:16:44 +0000 (18:16 +0100)]
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.

3 years agoDisable some Adv F&R widgets for read-only documents
Jean-Marc Lasgouttes [Thu, 3 Dec 2020 17:02:40 +0000 (18:02 +0100)]
Disable some Adv F&R widgets for read-only documents

3 years agode.po: resolve some shortcut conflicts
Juergen Spitzmueller [Thu, 3 Dec 2020 14:58:10 +0000 (15:58 +0100)]
de.po: resolve some shortcut conflicts

3 years agoFix disabling of widgets for (simple) Search dialog
Jean-Marc Lasgouttes [Thu, 3 Dec 2020 14:31:35 +0000 (15:31 +0100)]
Fix disabling of widgets for (simple) Search dialog

This allows to remove the calls to ButtonController::addReadonly,
which are placebo since 78ade7e6.

3 years agode/UserGuide: document No Page Break
Juergen Spitzmueller [Thu, 3 Dec 2020 14:37:20 +0000 (15:37 +0100)]
de/UserGuide: document No Page Break

3 years agode/UserGuide: spelling fixes
Juergen Spitzmueller [Thu, 3 Dec 2020 14:37:04 +0000 (15:37 +0100)]
de/UserGuide: spelling fixes

3 years agoUserGuide: Document No Page Break in Menus section
Juergen Spitzmueller [Thu, 3 Dec 2020 14:36:15 +0000 (15:36 +0100)]
UserGuide: Document No Page Break in Menus section

3 years agoUserGuide: Casing fixes
Juergen Spitzmueller [Thu, 3 Dec 2020 14:35:56 +0000 (15:35 +0100)]
UserGuide: Casing fixes

3 years agoamend a204dbe934
Juergen Spitzmueller [Thu, 3 Dec 2020 13:51:05 +0000 (14:51 +0100)]
amend a204dbe934

3 years agotex2lyx: prevent \; \: and \! to be converted in tipa and algorithm
Juergen Spitzmueller [Thu, 3 Dec 2020 13:49:01 +0000 (14:49 +0100)]
tex2lyx: prevent \; \: and \! to be converted in tipa and algorithm

These commands have special meanings there.