]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoSimplify
Richard Kimberly Heck [Mon, 4 Jan 2021 06:39:01 +0000 (01:39 -0500)]
Simplify

3 years agoAmend(2) 8c67cb8c: (FindAdv: Try to make regex search with format enabled somehow...
Kornel Benko [Mon, 4 Jan 2021 06:16:59 +0000 (07:16 +0100)]
Amend(2) 8c67cb8c: (FindAdv: Try to make regex search with format enabled somehow faster)

Use innermost nesting to start searches.
Some fine tuning to determine correct match.
(If the regex contains '(\S)\1' at the end, then this regex would match '}}',
but this is often the case at and of examined string. We have to disable this invalid match.
)

3 years agoPop a message if the search fails. Fixes #11441
Richard Kimberly Heck [Mon, 4 Jan 2021 06:06:33 +0000 (01:06 -0500)]
Pop a message if the search fails. Fixes #11441

3 years agoFix bug #11500
Richard Kimberly Heck [Mon, 4 Jan 2021 05:12:10 +0000 (00:12 -0500)]
Fix bug #11500

3 years agohttps
Richard Kimberly Heck [Mon, 4 Jan 2021 04:22:26 +0000 (23:22 -0500)]
https

Fixes the last of #10945.

3 years agoFix bug #11568.
Richard Kimberly Heck [Mon, 4 Jan 2021 03:56:05 +0000 (22:56 -0500)]
Fix bug #11568.

We can't rely on allow_async to tell us whether to put_in_tmpdir.

3 years agonullptr
Richard Kimberly Heck [Mon, 4 Jan 2021 03:36:04 +0000 (22:36 -0500)]
nullptr

3 years agoWe don't need to reload a dirty file. Fixes #11788.
Richard Kimberly Heck [Mon, 4 Jan 2021 00:58:19 +0000 (19:58 -0500)]
We don't need to reload a dirty file. Fixes #11788.

3 years agoFix MathML delimiters again.
Richard Kimberly Heck [Mon, 4 Jan 2021 00:29:04 +0000 (19:29 -0500)]
Fix MathML delimiters again.

Patch from lynx.

3 years agoArabic Beamer template
Richard Kimberly Heck [Mon, 4 Jan 2021 00:23:39 +0000 (19:23 -0500)]
Arabic Beamer template

3 years agoFix #11992: Disable modification of captions in subfloats.
Richard Kimberly Heck [Sun, 3 Jan 2021 19:41:38 +0000 (14:41 -0500)]
Fix #11992: Disable modification of captions in subfloats.

Patch from Daniel.

3 years agoCapitalize labels of floats, etc. Fixes #11993.
Richard Kimberly Heck [Sun, 3 Jan 2021 19:38:49 +0000 (14:38 -0500)]
Capitalize labels of floats, etc. Fixes #11993.

Patch from Daniel.

3 years agoRemove elipses after 'Open'
Richard Kimberly Heck [Sun, 3 Jan 2021 19:13:29 +0000 (14:13 -0500)]
Remove elipses after 'Open'

3 years agoFix bug 9961
Eugene Chornyi [Sun, 3 Jan 2021 19:11:49 +0000 (20:11 +0100)]
Fix bug 9961

remove the error message for not finding a pdf viewer (apparently empty string is returned by FindExecutable if the executable is a Windows Store app). If there is really no pdf viewer, let the Windows itself decide what to do (produce error or not and which one).

3 years agoRename WriteStream to TeXMathStream.
Thibaut Cuvelier [Sat, 26 Dec 2020 19:04:36 +0000 (20:04 +0100)]
Rename WriteStream to TeXMathStream.

3 years agoRename MathStream to MathMLStream.
Thibaut Cuvelier [Sat, 26 Dec 2020 19:02:46 +0000 (20:02 +0100)]
Rename MathStream to MathMLStream.

3 years agoAmend f500a287 (FindAdv: Try to make regex search with format enabled somehow faster)
Kornel Benko [Sat, 2 Jan 2021 17:37:14 +0000 (18:37 +0100)]
Amend f500a287 (FindAdv: Try to make regex search with format enabled somehow faster)

Remove 1 out of range access,
Estimate the search result of regular expression for further processing

3 years agoFix compilation with MSVC 19.
Thibaut Cuvelier [Thu, 31 Dec 2020 02:46:53 +0000 (03:46 +0100)]
Fix compilation with MSVC 19.

3 years agoFindAdv: Try to make regex search with format enabled somehow faster
Kornel Benko [Fri, 1 Jan 2021 20:50:36 +0000 (21:50 +0100)]
FindAdv: Try to make regex search with format enabled somehow faster

3 years agoFix a comparison of arrays to compare *contents*
Scott Kostyshak [Thu, 31 Dec 2020 18:15:14 +0000 (13:15 -0500)]
Fix a comparison of arrays to compare *contents*

The previous code was mistakenly comparing addresses of the arrays.
This issue was caught by a warning when compiling with Clang in
C++20 mode, since comparing array addresses in this way is
deprecated.

This commit should prevent some unnecessary dispatches of
LFUN_SCREEN_FONT_UPDATE.

3 years agoFindAdv: Added handling for \w' in regex using non-ascii chars
Kornel Benko [Thu, 31 Dec 2020 15:53:46 +0000 (16:53 +0100)]
FindAdv: Added handling for \w'  in regex using non-ascii chars

Also fix some 'out of range accesses' (causing crash in debug-glibc-mode)

3 years agoFix warnings in id.po
Scott Kostyshak [Wed, 30 Dec 2020 20:28:34 +0000 (15:28 -0500)]
Fix warnings in id.po

Fix warnings like the following:

  po/id.po:32659: warning: internationalized messages should not contain the '\a' escape sequence

3 years agoReplace deprecated std::result_of, make nod library compatible with C++20
Yuriy Skalko [Tue, 29 Dec 2020 23:35:25 +0000 (01:35 +0200)]
Replace deprecated std::result_of, make nod library compatible with C++20

3 years agoFindAdv: Let lyx use QRegularExpression if available
Kornel Benko [Wed, 30 Dec 2020 12:00:03 +0000 (13:00 +0100)]
FindAdv: Let lyx use QRegularExpression if available

This regex handling is part of QT5. For lyx which uses QT4
findafv will still work, but is not good for caseinsensitive matchings
in handling non ASCII characters

3 years agoBack from alpha
Richard Kimberly Heck [Wed, 30 Dec 2020 08:52:00 +0000 (03:52 -0500)]
Back from alpha

3 years agoFix C++20 compilation on systems where char_type is wchar_t
Yuriy Skalko [Tue, 29 Dec 2020 14:54:37 +0000 (16:54 +0200)]
Fix C++20 compilation on systems where char_type is wchar_t

3 years agoUpdate ru.po
Yuriy Skalko [Tue, 29 Dec 2020 21:32:57 +0000 (23:32 +0200)]
Update ru.po

3 years agoUpdate sk.po
Kornel Benko [Tue, 29 Dec 2020 19:52:19 +0000 (20:52 +0100)]
Update sk.po

3 years agoCmake build: Syntax of AC_INIT() in configure.ac changed, adapted macro
Kornel Benko [Tue, 29 Dec 2020 19:27:19 +0000 (20:27 +0100)]
Cmake build: Syntax of AC_INIT() in configure.ac changed, adapted macro

3 years agoUpdate po files
Richard Kimberly Heck [Tue, 29 Dec 2020 17:05:08 +0000 (12:05 -0500)]
Update po files

3 years agoUpdate bind etc files
Richard Kimberly Heck [Tue, 29 Dec 2020 17:03:46 +0000 (12:03 -0500)]
Update bind etc files

3 years agoUpdate documentation
Richard Kimberly Heck [Tue, 29 Dec 2020 17:03:05 +0000 (12:03 -0500)]
Update documentation

3 years ago2.4.0-alpha1
Richard Kimberly Heck [Tue, 29 Dec 2020 17:02:32 +0000 (12:02 -0500)]
2.4.0-alpha1

3 years agoAmend 3971b1b35e, also fix warnings for older compilers
Yuriy Skalko [Tue, 29 Dec 2020 14:29:06 +0000 (16:29 +0200)]
Amend 3971b1b35e, also fix warnings for older compilers

3 years agoAmend 18f7dce3d98 - avoid uninialized local variable atlastpos
Stephan Witt [Tue, 29 Dec 2020 10:40:53 +0000 (11:40 +0100)]
Amend 18f7dce3d98 - avoid uninialized local variable atlastpos

3 years agoFindAdv: fix converting unicode-point to utf-8
Kornel Benko [Tue, 29 Dec 2020 08:52:39 +0000 (09:52 +0100)]
FindAdv: fix converting unicode-point to utf-8

I misinterpreted the unicode creation 'u8"\uF00xx"'.
The C++-compiler saw 'u8"\uF00x" "x"', but this was not intended.

The routine which mimicked is doing the right job now.

3 years agoFix C++20 warning on implicit capture of this via [=]
Yuriy Skalko [Mon, 28 Dec 2020 18:59:48 +0000 (20:59 +0200)]
Fix C++20 warning on implicit capture of this via [=]

3 years agoUse crc32 calculation from zlib instead of boost
Yuriy Skalko [Sat, 26 Dec 2020 19:23:44 +0000 (21:23 +0200)]
Use crc32 calculation from zlib instead of boost

3 years agoUpdate Doxygen options to have more dependency graphs
Yuriy Skalko [Tue, 22 Dec 2020 10:14:00 +0000 (12:14 +0200)]
Update Doxygen options to have more dependency graphs

Now many graphs are not generated due to excessive dependencies
(default node limit for one graph is 50).

3 years agoFindAdv: Allow compilation with c++20
Kornel Benko [Mon, 28 Dec 2020 15:42:54 +0000 (16:42 +0100)]
FindAdv: Allow compilation with c++20

3 years agoSuppress unneeded git log output
Yuriy Skalko [Mon, 28 Dec 2020 13:35:07 +0000 (15:35 +0200)]
Suppress unneeded git log output

3 years agoCmake build: Expand for possible c++20 compilation
Kornel Benko [Mon, 28 Dec 2020 12:13:27 +0000 (13:13 +0100)]
Cmake build: Expand for possible c++20 compilation

3 years agoUpdate Russian localization
Yuriy Skalko [Tue, 22 Dec 2020 18:58:26 +0000 (20:58 +0200)]
Update Russian localization

3 years agoRe-enable input of non-LyX files (e.g., tex, pgf) (#12056)
Juergen Spitzmueller [Mon, 28 Dec 2020 08:58:30 +0000 (09:58 +0100)]
Re-enable input of non-LyX files (e.g., tex, pgf) (#12056)

This amends [a385b7dc2b58/lyxgit]

3 years agode: sofortige Vorschau > eingebettete Vorschau
Juergen Spitzmueller [Sun, 27 Dec 2020 16:14:02 +0000 (17:14 +0100)]
de: sofortige Vorschau > eingebettete Vorschau

3 years agode.po
Juergen Spitzmueller [Sun, 27 Dec 2020 16:11:58 +0000 (17:11 +0100)]
de.po

3 years agoinset-split: consider that freeSpacing() doesn't DEPM
Juergen Spitzmueller [Sun, 27 Dec 2020 13:28:03 +0000 (14:28 +0100)]
inset-split: consider that freeSpacing() doesn't DEPM

3 years agoAmend dc174db6c1973d1/lyxgit (#12057)
Juergen Spitzmueller [Sun, 27 Dec 2020 13:00:30 +0000 (14:00 +0100)]
Amend dc174db6c1973d1/lyxgit (#12057)

3 years agoAmend 3736bee4: Forgot to set the cassensitivity flag in regex statement
Kornel Benko [Sun, 27 Dec 2020 11:16:37 +0000 (12:16 +0100)]
Amend 3736bee4: Forgot to set the cassensitivity flag in regex statement

3 years agoFindAdv: Use stdregex to handle case-insensitivity (if regex is used)
Kornel Benko [Sun, 27 Dec 2020 11:01:23 +0000 (12:01 +0100)]
FindAdv: Use stdregex to handle case-insensitivity (if regex is used)

For search we used to lowercase for everything, but sonce the regex itself
should be left unchanged, this change was needed.
Works nice with ASCII, but fails miserably on on other UTF8 points (like Cyrillic chars)

3 years agoCorrect function name
Juergen Spitzmueller [Thu, 24 Dec 2020 09:55:10 +0000 (10:55 +0100)]
Correct function name

3 years agoImplement inset-split (only for text insets for now) (#10260)
Juergen Spitzmueller [Thu, 24 Dec 2020 09:48:52 +0000 (10:48 +0100)]
Implement inset-split (only for text insets for now) (#10260)

3 years agoUpdate layouts to version 90
Jean-Marc Lasgouttes [Mon, 21 Dec 2020 18:35:34 +0000 (19:35 +0100)]
Update layouts to version 90

3 years agoCmake build: Remove references to remowed hunspell directories
Kornel Benko [Mon, 21 Dec 2020 08:11:48 +0000 (09:11 +0100)]
Cmake build: Remove references to remowed hunspell directories

Amends d04a8cf5

3 years agoRemove parsers in included hunspell
Jean-Marc Lasgouttes [Sun, 20 Dec 2020 18:39:35 +0000 (19:39 +0100)]
Remove parsers in included hunspell

3 years agoAutoconf: use included boost when system boost is not available
Jean-Marc Lasgouttes [Sun, 20 Dec 2020 18:26:01 +0000 (19:26 +0100)]
Autoconf: use included boost when system boost is not available

3 years agosome other stuff that should have been removed from boost
Jean-Marc Lasgouttes [Sun, 20 Dec 2020 17:05:55 +0000 (18:05 +0100)]
some other stuff that should have been removed from boost

Update extract.sh to remove more thoroughly old boost files (*.h, *.pl).

3 years agoAdd Lorenzo Bertini to the credits.
Richard Kimberly Heck [Sun, 20 Dec 2020 16:14:31 +0000 (11:14 -0500)]
Add Lorenzo Bertini to the credits.

3 years agoAdd missing header include
Juergen Spitzmueller [Sun, 20 Dec 2020 11:42:04 +0000 (12:42 +0100)]
Add missing header include

3 years agoFix MathML output of InsetMathDelim
Thibaut Cuvelier [Sat, 19 Dec 2020 23:20:52 +0000 (00:20 +0100)]
Fix MathML output of InsetMathDelim

Patch by lynx (https://www.lyx.org/trac/ticket/12050).

3 years agoMove Trackable class to Server.h
Yuriy Skalko [Wed, 16 Dec 2020 10:07:42 +0000 (12:07 +0200)]
Move Trackable class to Server.h

3 years agoMerge namespace signals2 into namespace lyx
Yuriy Skalko [Mon, 14 Dec 2020 18:46:39 +0000 (20:46 +0200)]
Merge namespace signals2 into namespace lyx

3 years agoUpdate Russian localization
Yuriy Skalko [Thu, 26 Nov 2020 18:00:48 +0000 (20:00 +0200)]
Update Russian localization

3 years agoRemove useless declaration
Yuriy Skalko [Tue, 15 Dec 2020 07:25:28 +0000 (09:25 +0200)]
Remove useless declaration

3 years agoTypo
Pavel Sanda [Sat, 19 Dec 2020 17:29:10 +0000 (18:29 +0100)]
Typo

3 years agoFixup 005f69de: code cleanup.
Jean-Marc Lasgouttes [Sat, 19 Dec 2020 14:34:20 +0000 (15:34 +0100)]
Fixup 005f69de: code cleanup.

Since we are not sure of where the cursor ends up after invoking
Cursor::handleNest it is safer to reset the cursor at each cell,
rather than reuse the same one over and over.

Related to bug #12035.

3 years agoTypo
Richard Kimberly Heck [Fri, 18 Dec 2020 22:35:58 +0000 (17:35 -0500)]
Typo

3 years agoRemove unnecessary change.
Richard Kimberly Heck [Fri, 18 Dec 2020 22:11:05 +0000 (17:11 -0500)]
Remove unnecessary change.

3 years agoMinor code simplification
Richard Kimberly Heck [Fri, 18 Dec 2020 21:59:55 +0000 (16:59 -0500)]
Minor code simplification

3 years agoSimplify checking whether files are controlled by SVN and GIT.
Richard Kimberly Heck [Fri, 18 Dec 2020 21:43:52 +0000 (16:43 -0500)]
Simplify checking whether files are controlled by SVN and GIT.

3 years agoRemove unused return values and useless member assignment.
Richard Kimberly Heck [Fri, 18 Dec 2020 21:23:31 +0000 (16:23 -0500)]
Remove unused return values and useless member assignment.

The master_ variable holds a FileName that points to the meta-data
for this file, e.g., CVS/Entries. There is no such thing in SVN or GIT.
So we remove that variable from those classes.

3 years agotypo
Richard Kimberly Heck [Fri, 18 Dec 2020 21:19:28 +0000 (16:19 -0500)]
typo

3 years agoComments
Richard Kimberly Heck [Fri, 18 Dec 2020 21:19:05 +0000 (16:19 -0500)]
Comments

3 years agoAllow registration of files with svn when parents directory is not yet registered.
Richard Kimberly Heck [Fri, 18 Dec 2020 21:01:43 +0000 (16:01 -0500)]
Allow registration of files with svn when parents directory is not yet registered.

3 years agoComment
Richard Kimberly Heck [Fri, 18 Dec 2020 20:53:45 +0000 (15:53 -0500)]
Comment

3 years agoFix bug with registering files for VC when they are in repo subdirs.
Richard Kimberly Heck [Fri, 18 Dec 2020 20:48:51 +0000 (15:48 -0500)]
Fix bug with registering files for VC when they are in repo subdirs.

3 years agoStyle
Richard Kimberly Heck [Fri, 18 Dec 2020 19:56:18 +0000 (14:56 -0500)]
Style

3 years agoConst
Richard Kimberly Heck [Fri, 18 Dec 2020 19:55:58 +0000 (14:55 -0500)]
Const

3 years agoRemove unused file output
Richard Kimberly Heck [Fri, 18 Dec 2020 19:51:56 +0000 (14:51 -0500)]
Remove unused file output

3 years agoComment
Richard Kimberly Heck [Fri, 18 Dec 2020 19:50:13 +0000 (14:50 -0500)]
Comment

3 years agoStyle
Richard Kimberly Heck [Fri, 18 Dec 2020 19:37:58 +0000 (14:37 -0500)]
Style

3 years agoUse right style for private member
Richard Kimberly Heck [Thu, 17 Dec 2020 21:56:50 +0000 (16:56 -0500)]
Use right style for private member

3 years agoMove "LyX Documentation Tools" toolbar to "Others"
Scott Kostyshak [Fri, 18 Dec 2020 01:43:54 +0000 (20:43 -0500)]
Move "LyX Documentation Tools" toolbar to "Others"

This move is done because not many users likely use this toolbar.

Those who use it now need to go through the extra submenu "Other
Toolbars" and also need to move the toolbar from the bottom to the
top (if they want previous behavior). But once that is done, the
toolbar stays across sessions.

3 years ago* layouttranslations - review of id by Waluyo Adi Siswanto
Pavel Sanda [Thu, 17 Dec 2020 21:33:59 +0000 (22:33 +0100)]
* layouttranslations - review of id by Waluyo Adi Siswanto

3 years ago* id.po from Waluyo Adi Siswanto
Pavel Sanda [Thu, 17 Dec 2020 21:29:37 +0000 (22:29 +0100)]
* id.po from Waluyo Adi Siswanto

3 years agoFix crash after b0937fb9.
Jean-Marc Lasgouttes [Thu, 17 Dec 2020 19:32:06 +0000 (20:32 +0100)]
Fix crash after b0937fb9.

Now the cursor is not left inside color inset, so it is not needed to
pop_back.

Fix bug #12035.

3 years agoMv "Math Panels" toolbar item by other math items
Scott Kostyshak [Thu, 17 Dec 2020 15:17:13 +0000 (10:17 -0500)]
Mv "Math Panels" toolbar item by other math items

Now in View > Toolbars the math items are together, ordered as
follows:

5. Math
6. Math Panels
7. Math Macros

"Math Macros" is last because it seems the least important.

This commit makes no change to the toolbar contents (I just
cut/pasted to reorder).

3 years agode.po
Juergen Spitzmueller [Thu, 17 Dec 2020 10:26:17 +0000 (11:26 +0100)]
de.po

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