]>
git.lyx.org Git - lyx.git/log
Richard Kimberly Heck [Wed, 6 Jan 2021 06:58:30 +0000 (01:58 -0500)]
Update tex2lyx tests
Kornel Benko [Wed, 6 Jan 2021 01:12:58 +0000 (02:12 +0100)]
FindAdv: A try to handle backslashes in text
Otherwise we are unable to distinguish text from latex commands.
For instance '\color{blue}' in text-part is normal text, while othervise
it defines following characters as being blue colored)
Enrico Forestieri [Wed, 6 Jan 2021 01:07:25 +0000 (02:07 +0100)]
Make paste in ensuremath work as in simple math hulls
The ensuremath math inset derives from InsetMathNest, so that only the
first cell of a grid gets pasted. This patch makes it a fixed 1x1 grid
inset so that pasting works as in normal simple math hulls, i.e., all
cells are pasted, one after the other.
Fixes #11617.
Scott Kostyshak [Tue, 5 Jan 2021 23:51:51 +0000 (18:51 -0500)]
ctests: uninvert two docbook exports
These exports now succeed. Perhaps the broken references that were
causing them to fail were fixed.
Richard Kimberly Heck [Tue, 5 Jan 2021 23:22:09 +0000 (18:22 -0500)]
Move assignment where needed
Richard Kimberly Heck [Tue, 5 Jan 2021 22:25:27 +0000 (17:25 -0500)]
Fix bug #11104. Activate refstyle support for InsetMathRef.
At the moment, there is no support for plurals and capitalization.
A long comment explains why. Support could be added for that without
a format change.
Richard Kimberly Heck [Tue, 5 Jan 2021 18:31:45 +0000 (13:31 -0500)]
Micro optimization and constness
Richard Kimberly Heck [Tue, 5 Jan 2021 17:27:20 +0000 (12:27 -0500)]
Fix comment
Jean-Marc Lasgouttes [Tue, 5 Jan 2021 13:53:15 +0000 (14:53 +0100)]
Re-implement display of MARGIN_RIGHT_ADDRESS_BOX
The correct way of implementing this is at paragraph level. Once this
is clear, the implementation is straightforward.
Note that RtL is not handled correctly by the \lyxrightaddress macro.
Fixes bug #11918 and #8152.
Jean-Marc Lasgouttes [Tue, 5 Jan 2021 13:53:15 +0000 (14:53 +0100)]
Fixup
294e4884 : center correctly Abstract label when paragraph is empty
When a paragraph is empty, it was not possible to query what the left
margin would be for an hypothetical second row.
Modify TextMetrics::leftMargin so that it does not test
whether position is after the last position of the paragraph.
Cosmetics: set the size of label to "small" for Abstract layout in
standard classes and reduce the spacing between label and text.
Fixes remainder of #11939.
Jean-Marc Lasgouttes [Tue, 5 Jan 2021 14:14:41 +0000 (15:14 +0100)]
Revert "Center correctly centered top labels (e.g. abstract)"
This reverts commit
6c1855313cef2fac19022ddc4c8eccaee66088e6 .
Jean-Marc Lasgouttes [Tue, 5 Jan 2021 13:53:15 +0000 (14:53 +0100)]
Center correctly centered top labels (e.g. abstract)
Since the first row may be indented, it is necessary to find out what
the left margin would be on the next row (even if this next row does
not exst.
To this end, modify TextMetrics::leftMargin so that it does not test
whether position is after the last position of the paragraph.
Cosmetics: set the size of label to "small" for Abstract layout in
standard classes and reduce the spacing between label and text.
Fixes remainder of #11939.
Kornel Benko [Tue, 5 Jan 2021 09:41:06 +0000 (10:41 +0100)]
Fix file-path
Enrico Forestieri [Mon, 4 Jan 2021 22:00:42 +0000 (23:00 +0100)]
Do not replace nonexistent environment variables
References to environment variables embedded in a filename are expanded
and replaced by their value. However, if a variable does not exist, its
reference is simply erased from the filename, causing havoc (see #7801).
This has been like that since ever and cannot be changed, both for
backward compatibility and because this feature is currently used in
the Windows installer.
A possible backward compatible strategy is leaving as is the reference
to the environment variable (introduced by a $ sign) in the filename
if it does not exist. This is done in this patch, which also assumes
that an escape character is never used in a filename (inserting a $ in
the filename is easy, but I don't think one is able to easily insert
an escape character).
Richard Kimberly Heck [Mon, 4 Jan 2021 19:53:41 +0000 (14:53 -0500)]
Remove elipses from "Open" buttons in About LyX dialog. Fixes #12019.
Richard Kimberly Heck [Mon, 4 Jan 2021 19:52:20 +0000 (14:52 -0500)]
Revert "Remove elipses after 'Open'"
I totally misread this bug report! (#12019)
This reverts commit
8871229f5f0cab072e587282d5e6a32a14da481f .
Richard Kimberly Heck [Mon, 4 Jan 2021 18:47:11 +0000 (13:47 -0500)]
Makefile for Arabi beamer
Richard Kimberly Heck [Mon, 4 Jan 2021 07:58:20 +0000 (02:58 -0500)]
nullptr
Jean-Marc Lasgouttes [Mon, 4 Jan 2021 16:58:11 +0000 (17:58 +0100)]
Fixup
22f599250e9 : missing wildcard
Now all the old gcc 4.x versions (x < 9) are correctly tagged as
obsolete.
Kornel Benko [Mon, 4 Jan 2021 15:57:56 +0000 (16:57 +0100)]
FindAdv: Small refactoring
Yuriy Skalko [Mon, 4 Jan 2021 13:41:53 +0000 (15:41 +0200)]
Show caught exception message in findAdv
Yuriy Skalko [Fri, 9 Oct 2020 14:51:51 +0000 (17:51 +0300)]
Add bindings for Russian keyboard layout (same keys as English)
Yuriy Skalko [Tue, 15 Sep 2020 17:21:54 +0000 (20:21 +0300)]
Define keyboard codes for Cyrillic letters, enable shortcuts using them
Kornel Benko [Mon, 4 Jan 2021 07:28:21 +0000 (08:28 +0100)]
Update sk.po
Richard Kimberly Heck [Mon, 4 Jan 2021 06:39:01 +0000 (01:39 -0500)]
Simplify
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.
)
Richard Kimberly Heck [Mon, 4 Jan 2021 06:06:33 +0000 (01:06 -0500)]
Pop a message if the search fails. Fixes #11441
Richard Kimberly Heck [Mon, 4 Jan 2021 05:12:10 +0000 (00:12 -0500)]
Fix bug #11500
Richard Kimberly Heck [Mon, 4 Jan 2021 04:22:26 +0000 (23:22 -0500)]
https
Fixes the last of #10945.
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.
Richard Kimberly Heck [Mon, 4 Jan 2021 03:36:04 +0000 (22:36 -0500)]
nullptr
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.
Richard Kimberly Heck [Mon, 4 Jan 2021 00:29:04 +0000 (19:29 -0500)]
Fix MathML delimiters again.
Patch from lynx.
Richard Kimberly Heck [Mon, 4 Jan 2021 00:23:39 +0000 (19:23 -0500)]
Arabic Beamer template
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.
Richard Kimberly Heck [Sun, 3 Jan 2021 19:38:49 +0000 (14:38 -0500)]
Capitalize labels of floats, etc. Fixes #11993.
Patch from Daniel.
Richard Kimberly Heck [Sun, 3 Jan 2021 19:13:29 +0000 (14:13 -0500)]
Remove elipses after 'Open'
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).
Thibaut Cuvelier [Sat, 26 Dec 2020 19:04:36 +0000 (20:04 +0100)]
Rename WriteStream to TeXMathStream.
Thibaut Cuvelier [Sat, 26 Dec 2020 19:02:46 +0000 (20:02 +0100)]
Rename MathStream to MathMLStream.
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
Thibaut Cuvelier [Thu, 31 Dec 2020 02:46:53 +0000 (03:46 +0100)]
Fix compilation with MSVC 19.
Kornel Benko [Fri, 1 Jan 2021 20:50:36 +0000 (21:50 +0100)]
FindAdv: Try to make regex search with format enabled somehow faster
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.
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)
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
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
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
Richard Kimberly Heck [Wed, 30 Dec 2020 08:52:00 +0000 (03:52 -0500)]
Back from alpha
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
Yuriy Skalko [Tue, 29 Dec 2020 21:32:57 +0000 (23:32 +0200)]
Update ru.po
Kornel Benko [Tue, 29 Dec 2020 19:52:19 +0000 (20:52 +0100)]
Update sk.po
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
Richard Kimberly Heck [Tue, 29 Dec 2020 17:05:08 +0000 (12:05 -0500)]
Update po files
Richard Kimberly Heck [Tue, 29 Dec 2020 17:03:46 +0000 (12:03 -0500)]
Update bind etc files
Richard Kimberly Heck [Tue, 29 Dec 2020 17:03:05 +0000 (12:03 -0500)]
Update documentation
Richard Kimberly Heck [Tue, 29 Dec 2020 17:02:32 +0000 (12:02 -0500)]
2.4.0-alpha1
Yuriy Skalko [Tue, 29 Dec 2020 14:29:06 +0000 (16:29 +0200)]
Amend
3971b1b35e , also fix warnings for older compilers
Stephan Witt [Tue, 29 Dec 2020 10:40:53 +0000 (11:40 +0100)]
Amend
18f7dce3d98 - avoid uninialized local variable atlastpos
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.
Yuriy Skalko [Mon, 28 Dec 2020 18:59:48 +0000 (20:59 +0200)]
Fix C++20 warning on implicit capture of this via [=]
Yuriy Skalko [Sat, 26 Dec 2020 19:23:44 +0000 (21:23 +0200)]
Use crc32 calculation from zlib instead of boost
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).
Kornel Benko [Mon, 28 Dec 2020 15:42:54 +0000 (16:42 +0100)]
FindAdv: Allow compilation with c++20
Yuriy Skalko [Mon, 28 Dec 2020 13:35:07 +0000 (15:35 +0200)]
Suppress unneeded git log output
Kornel Benko [Mon, 28 Dec 2020 12:13:27 +0000 (13:13 +0100)]
Cmake build: Expand for possible c++20 compilation
Yuriy Skalko [Tue, 22 Dec 2020 18:58:26 +0000 (20:58 +0200)]
Update Russian localization
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]
Juergen Spitzmueller [Sun, 27 Dec 2020 16:14:02 +0000 (17:14 +0100)]
de: sofortige Vorschau > eingebettete Vorschau
Juergen Spitzmueller [Sun, 27 Dec 2020 16:11:58 +0000 (17:11 +0100)]
de.po
Juergen Spitzmueller [Sun, 27 Dec 2020 13:28:03 +0000 (14:28 +0100)]
inset-split: consider that freeSpacing() doesn't DEPM
Juergen Spitzmueller [Sun, 27 Dec 2020 13:00:30 +0000 (14:00 +0100)]
Amend
dc174db6c1973d1 /lyxgit (#12057)
Kornel Benko [Sun, 27 Dec 2020 11:16:37 +0000 (12:16 +0100)]
Amend
3736bee4 : Forgot to set the cassensitivity flag in regex statement
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)
Juergen Spitzmueller [Thu, 24 Dec 2020 09:55:10 +0000 (10:55 +0100)]
Correct function name
Juergen Spitzmueller [Thu, 24 Dec 2020 09:48:52 +0000 (10:48 +0100)]
Implement inset-split (only for text insets for now) (#10260)
Jean-Marc Lasgouttes [Mon, 21 Dec 2020 18:35:34 +0000 (19:35 +0100)]
Update layouts to version 90
Kornel Benko [Mon, 21 Dec 2020 08:11:48 +0000 (09:11 +0100)]
Cmake build: Remove references to remowed hunspell directories
Amends
d04a8cf5
Jean-Marc Lasgouttes [Sun, 20 Dec 2020 18:39:35 +0000 (19:39 +0100)]
Remove parsers in included hunspell
Jean-Marc Lasgouttes [Sun, 20 Dec 2020 18:26:01 +0000 (19:26 +0100)]
Autoconf: use included boost when system boost is not available
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).
Richard Kimberly Heck [Sun, 20 Dec 2020 16:14:31 +0000 (11:14 -0500)]
Add Lorenzo Bertini to the credits.
Juergen Spitzmueller [Sun, 20 Dec 2020 11:42:04 +0000 (12:42 +0100)]
Add missing header include
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).
Yuriy Skalko [Wed, 16 Dec 2020 10:07:42 +0000 (12:07 +0200)]
Move Trackable class to Server.h
Yuriy Skalko [Mon, 14 Dec 2020 18:46:39 +0000 (20:46 +0200)]
Merge namespace signals2 into namespace lyx
Yuriy Skalko [Thu, 26 Nov 2020 18:00:48 +0000 (20:00 +0200)]
Update Russian localization
Yuriy Skalko [Tue, 15 Dec 2020 07:25:28 +0000 (09:25 +0200)]
Remove useless declaration
Pavel Sanda [Sat, 19 Dec 2020 17:29:10 +0000 (18:29 +0100)]
Typo
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.
Richard Kimberly Heck [Fri, 18 Dec 2020 22:35:58 +0000 (17:35 -0500)]
Typo
Richard Kimberly Heck [Fri, 18 Dec 2020 22:11:05 +0000 (17:11 -0500)]
Remove unnecessary change.
Richard Kimberly Heck [Fri, 18 Dec 2020 21:59:55 +0000 (16:59 -0500)]
Minor code simplification
Richard Kimberly Heck [Fri, 18 Dec 2020 21:43:52 +0000 (16:43 -0500)]
Simplify checking whether files are controlled by SVN and GIT.
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.
Richard Kimberly Heck [Fri, 18 Dec 2020 21:19:28 +0000 (16:19 -0500)]
typo
Richard Kimberly Heck [Fri, 18 Dec 2020 21:19:05 +0000 (16:19 -0500)]
Comments
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.
Richard Kimberly Heck [Fri, 18 Dec 2020 20:53:45 +0000 (15:53 -0500)]
Comment
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.