]>
git.lyx.org Git - lyx.git/log
Pavel Sanda [Tue, 9 May 2023 16:13:16 +0000 (18:13 +0200)]
* PrefDocHandlingUi.ui - add naming for emergency file
Jean-Marc Lasgouttes [Tue, 9 May 2023 11:49:17 +0000 (13:49 +0200)]
Fix unitialized member warning by coverity
The members open_braces and close_wildcards of MatchStringAdv are not
initialized in case of early return and coverity complains about that.
Enrico Forestieri [Tue, 9 May 2023 10:10:45 +0000 (12:10 +0200)]
Update layouts
Enrico Forestieri [Tue, 9 May 2023 09:33:13 +0000 (11:33 +0200)]
Use black as default color for an inset button label text
It turns out that LyX was using red as default color for the
inset button text since ever. However, due to the use of "inherit",
the default button text color was black in practice. This was so
until [
897ee2ed /lyxgit], which made the label font not inherited
by default anymore. Hence, all insets that didn't specify a specific
label button color started using red as default color.
This commit restores the previous behavior and introduces the
possibility of modifying this default color.
Fixes bug #12771
Daniel Ramoeller [Sun, 16 Apr 2023 07:47:35 +0000 (09:47 +0200)]
Simplify Quotation/Quote style
Fix for bug #12745
Pavel Sanda [Mon, 8 May 2023 15:39:54 +0000 (17:39 +0200)]
* cs.po
Pavel Sanda [Mon, 8 May 2023 08:29:43 +0000 (10:29 +0200)]
* ja.po - update from Koji.
Pavel Sanda [Sun, 7 May 2023 11:24:25 +0000 (13:24 +0200)]
* cs.po
Richard Kimberly Heck [Sat, 6 May 2023 19:29:16 +0000 (15:29 -0400)]
If the ending delimiter is at the end of the file, then the test
pimpl_->is
will return false no matter what. So we need a different way to
check if the delimiter was found.
Jean-Marc Lasgouttes [Fri, 5 May 2023 19:23:21 +0000 (21:23 +0200)]
Revert "Move Fullscreen preferences from Editing>Control section into Look & Feel>User Interface section"
I pushed it by mistake.
This reverts commit
4d31e20d7d790554aab655ae11c9cd0dd4a6d6f1 .
Jean-Marc Lasgouttes [Fri, 5 May 2023 18:35:23 +0000 (20:35 +0200)]
Do not return copies of string members
This fixes the g++ 12 warnings below.
../../master/src/Converter.cpp:714:55: warning: possibly dangling reference to a temporary [-Wdangling-reference]
714 | Mover const & mover = getMover(conv.to());
| ^~~~~
../../master/src/Converter.cpp:714:71: note: the temporary was destroyed at the end of the full expression ‘lyx::getMover(lyx::Converter::to() const())’
714 | Mover const & mover = getMover(conv.to());
| ~~~~~~~~^~~~~~~~~~~
../../master/src/Converter.cpp:786:39: warning: possibly dangling reference to a temporary [-Wdangling-reference]
786 | Mover const & mover = getMover(conv.from());
| ^~~~~
../../master/src/Converter.cpp:786:55: note: the temporary was destroyed at the end of the full expression ‘lyx::getMover(lyx::Converter::from() const())’
786 | Mover const & mover = getMover(conv.from());
Yuriy Skalko [Fri, 5 May 2023 17:21:37 +0000 (19:21 +0200)]
Move Fullscreen preferences from Editing>Control section into Look & Feel>User Interface section
Jean-Marc Lasgouttes [Thu, 4 May 2023 13:21:02 +0000 (15:21 +0200)]
Merge files Text{,2,3}.cpp
This is done at the end of the release cycle to avoid backporting issues.
The goal is to simplify development, since it was difficult to guess
in which file a given method could be found.
There is some effect on compilation time, but it is not too bad:
* before merge
lapinot: time make Text.o Text3.o Text2.o
CXX Text.o
CXX Text3.o
CXX Text2.o
real 0m32,504s
user 0m31,027s
sys 0m1,446s
lapinot: rm Text*.o
lapinot: time make -j8 Text.o Text3.o Text2.o
CXX Text.o
CXX Text3.o
CXX Text2.o
real 0m21,282s
user 0m32,661s
sys 0m1,424s
* after merge
lapinot: time make Text.o
CXX Text.o
real 0m26,731s
user 0m25,706s
sys 0m1,020s
Enrico Forestieri [Thu, 4 May 2023 09:43:43 +0000 (11:43 +0200)]
Update it.po
Jean-Marc Lasgouttes [Wed, 3 May 2023 10:22:52 +0000 (12:22 +0200)]
Never not show caret when window does not have focus
A non blinking cursor could appear when hovering on inset button.
Fixes bug #12762.
Jean-Marc Lasgouttes [Wed, 3 May 2023 10:15:26 +0000 (12:15 +0200)]
spacing
Jean-Marc Lasgouttes [Wed, 3 May 2023 09:52:27 +0000 (11:52 +0200)]
Code factoring: introduce BufferView::busy()
The WorkArea should not have to look at details of the undo stack.
No change intended.
Daniel Ramoeller [Fri, 17 Mar 2023 20:45:36 +0000 (21:45 +0100)]
Fixup
89394bcd : handle cursor keys from keypad
Due to a macOS peculiarity, it is necessary to handle KeypadModifier.
We do it unconditionnally, although only macOS seems to be affected.
"Note: On macOS, [...] The KeypadModifier value will also be set when
an arrow key is pressed as the arrow keys are considered part of the
keypad." (https://doc.qt.io/qt-6/qt.html#KeyboardModifier-enum)
Related to bug #12572.
Pavel Sanda [Tue, 2 May 2023 19:27:34 +0000 (21:27 +0200)]
* cs.po
Jean-Marc Lasgouttes [Tue, 2 May 2023 13:59:36 +0000 (15:59 +0200)]
Fixup
e1261817 : place cursor correctly in RtL
In an RtL paragraph, the cursor should be placed to the right of the
end-of-paragraph indicator.
Jean-Marc Lasgouttes [Tue, 2 May 2023 12:49:47 +0000 (14:49 +0200)]
Make inset info icons tight again!
This is a follow-up to
5be391b2 , which increased the space on
left/right of graphics inset. This extra space makes sense in normal
graphics editing, but is weird in the case of InsetInfo, which has its
own spacing.
Create a special tight graphics inset class, and use that for icons.
Jean-Marc Lasgouttes [Tue, 2 May 2023 12:39:33 +0000 (14:39 +0200)]
typo
jpc [Sat, 29 Apr 2023 09:42:29 +0000 (11:42 +0200)]
Update fr.po
Enrico Forestieri [Fri, 28 Apr 2023 21:34:01 +0000 (23:34 +0200)]
Re-enable QWindowsMimeMetafile with Qt6
Qt 6.5.0 has dropped support for the QWindowsMime class
in favor of a new QWindowsMimeConverter class. They say:
"If you have implementations of QWindowsMime or QMacMime in Qt 5,
then those will almost directly translate to the new APIs but
require less boiler-plate code to register the converters with Qt."
This may be true, but in practice they break binary compatibility with
previous versions. If you used the QWindowsMime class until Qt 6.4 by
using boiler-plate code to register the converters with Qt, you now
need to modify the sources and recompile. Fantastic!
Pavel Sanda [Fri, 28 Apr 2023 20:48:56 +0000 (22:48 +0200)]
* cs.po
Pavel Sanda [Fri, 28 Apr 2023 19:59:37 +0000 (21:59 +0200)]
Centralize use of "all files" wildcard in dialogs so it's consistent.
Pavel Sanda [Thu, 27 Apr 2023 21:12:11 +0000 (23:12 +0200)]
* cs.po
Pavel Sanda [Thu, 27 Apr 2023 19:24:49 +0000 (21:24 +0200)]
Increase hint verbosity, otherwise difficult to understand.
Pavel Sanda [Thu, 27 Apr 2023 18:37:32 +0000 (20:37 +0200)]
Do not let cursor overlap with inserted graphics.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg219612.html
jpc [Thu, 27 Apr 2023 13:09:12 +0000 (15:09 +0200)]
Update fr.po
jpc [Thu, 27 Apr 2023 12:52:32 +0000 (14:52 +0200)]
Update French Additional.lyx, step 1
Pavel Sanda [Wed, 26 Apr 2023 20:55:20 +0000 (22:55 +0200)]
* cs.po
Scott Kostyshak [Wed, 26 Apr 2023 18:03:57 +0000 (14:03 -0400)]
Fix compiler warning about unused string consts
These trigger a warning with Clang:
src/Session.cpp:34:14: error: unused variable 'sec_session' [-Werror,-Wunused-const-variable]
string const sec_session = "[session info]";
^
src/Session.cpp:35:14: error: unused variable 'sec_toolbars' [-Werror,-Wunused-const-variable]
string const sec_toolbars = "[toolbars]";
^
Pavel Sanda [Tue, 25 Apr 2023 18:30:17 +0000 (20:30 +0200)]
* cs.po
Juergen Spitzmueller [Sun, 23 Apr 2023 12:49:44 +0000 (14:49 +0200)]
Merge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Sun, 23 Apr 2023 12:49:21 +0000 (14:49 +0200)]
de.po
Pavel Sanda [Sun, 23 Apr 2023 12:27:52 +0000 (14:27 +0200)]
* cs.po
Pavel Sanda [Fri, 21 Apr 2023 21:14:34 +0000 (23:14 +0200)]
* cs.po
Pavel Sanda [Fri, 21 Apr 2023 20:29:14 +0000 (22:29 +0200)]
Improve error msg.
Jean-Marc Lasgouttes [Fri, 21 Apr 2023 12:42:51 +0000 (14:42 +0200)]
Fix undo with cell-plit
This function modifies several cells.
Fixes bug #12746.
Pavel Sanda [Wed, 19 Apr 2023 20:28:11 +0000 (22:28 +0200)]
* cs.po
Pavel Sanda [Wed, 19 Apr 2023 20:25:18 +0000 (22:25 +0200)]
Few changes in GUI color strings to improve grouping.
jpc [Sun, 16 Apr 2023 11:24:24 +0000 (13:24 +0200)]
Update fr.po
jpc [Sun, 16 Apr 2023 09:47:38 +0000 (11:47 +0200)]
Update fr.po
Scott Kostyshak [Sat, 15 Apr 2023 11:43:33 +0000 (07:43 -0400)]
ctests: move #12734 testfile thanks to fix
Categorize a 'lyxbugs' testfile as fixed thanks to
a15bc829 .
Juergen Spitzmueller [Sat, 15 Apr 2023 10:48:27 +0000 (12:48 +0200)]
de/Customization.lyx - some forgotten colors
Juergen Spitzmueller [Sat, 15 Apr 2023 10:47:52 +0000 (12:47 +0200)]
Tiny amendments of
442d463288c
Fix alphabetic order and spelling
Juergen Spitzmueller [Sat, 15 Apr 2023 10:35:22 +0000 (12:35 +0200)]
Do not load mathrsfs if unicode-math is required (#12734)
The latter provides \mathscr and the packages clash
Pavel Sanda [Fri, 14 Apr 2023 21:58:59 +0000 (23:58 +0200)]
comment only
Pavel Sanda [Fri, 14 Apr 2023 21:33:11 +0000 (23:33 +0200)]
* Customization.lyx - some forgotten colors
Pavel Sanda [Fri, 14 Apr 2023 21:16:54 +0000 (23:16 +0200)]
Add few color comments
Pavel Sanda [Fri, 14 Apr 2023 20:56:03 +0000 (22:56 +0200)]
* cs.po
Juergen Spitzmueller [Fri, 14 Apr 2023 17:33:48 +0000 (19:33 +0200)]
de.po
Juergen Spitzmueller [Fri, 14 Apr 2023 17:13:23 +0000 (19:13 +0200)]
tex2lyx: fix import of umlauts and ß in math (#12739)
Pavel Sanda [Fri, 14 Apr 2023 08:53:37 +0000 (10:53 +0200)]
typo
Pavel Sanda [Thu, 13 Apr 2023 20:02:08 +0000 (22:02 +0200)]
* cs.po
Pavel Sanda [Thu, 13 Apr 2023 19:55:57 +0000 (21:55 +0200)]
Typo in metadata glyphs check.
So I belive, but someone please double check.
Pavel Sanda [Thu, 13 Apr 2023 19:50:43 +0000 (21:50 +0200)]
typo
Pavel Sanda [Thu, 13 Apr 2023 19:36:17 +0000 (21:36 +0200)]
typo
Pavel Sanda [Wed, 12 Apr 2023 08:30:26 +0000 (10:30 +0200)]
* cs.po
Scott Kostyshak [Wed, 12 Apr 2023 03:44:49 +0000 (23:44 -0400)]
ctests: test file for #12734
Scott Kostyshak [Wed, 12 Apr 2023 02:52:40 +0000 (22:52 -0400)]
ctests: add a test file for #12708
The file is taken from #12727 which is a duplicate.
Kornel Benko [Tue, 11 Apr 2023 17:34:34 +0000 (19:34 +0200)]
Update sk.po
Jean-Marc Lasgouttes [Tue, 11 Apr 2023 12:19:20 +0000 (14:19 +0200)]
Revert "Automatically adjust tab stop width"
The fix is more complicated than that
This reverts commit
bb16efc07ef76246616aacea7bb40ac260b26beb .
Daniel Ramoeller [Tue, 11 Apr 2023 11:21:23 +0000 (13:21 +0200)]
Automatically adjust tab stop width
Extend tab stops to the same indentation point instead of a fixed number of spaces.
Fix for bug #12736
Pavel Sanda [Tue, 11 Apr 2023 07:45:04 +0000 (09:45 +0200)]
* cs.po
Pavel Sanda [Tue, 11 Apr 2023 06:53:51 +0000 (08:53 +0200)]
* customHeadersFooters.module - add pointer to docs.
Juergen Spitzmueller [Tue, 11 Apr 2023 05:07:49 +0000 (07:07 +0200)]
de.po
Pavel Sanda [Mon, 10 Apr 2023 20:03:09 +0000 (22:03 +0200)]
* cs.po
Scott Kostyshak [Mon, 10 Apr 2023 17:10:11 +0000 (13:10 -0400)]
Amend
1dc66608
Declare override, otherwise we get the following warning:
src/insets/InsetListings.h:42:7: error: 'isEnvironment' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
bool isEnvironment() const { return !params().isInline(); }
^
src/insets/Inset.h:606:15: note: overridden virtual function is here
virtual bool isEnvironment() const { return getLayout().latextype() == InsetLaTeXType::ENVIRONMENT; }
^
1 error generated.
Scott Kostyshak [Mon, 10 Apr 2023 17:03:19 +0000 (13:03 -0400)]
Juergen Spitzmueller [Mon, 10 Apr 2023 16:24:04 +0000 (18:24 +0200)]
Fixes to heb-article, by Udi Fogiel (#12735)
For some reason theorems titles has \beginR without a \endR, and since
this is basically inside restricted horizontal mode, TeX complains about
a missing \endR.
I could not figure out why were they there in the first place so I
removed them and the output did not change, and the warnings are gone.
Beside that the numbering of the theorems is wrong (e.g. 1.0 instead of
0.1), the \@makelr thing should happen after babel is loaded.
The theorems layouts did not have a counter (in LyX) so I added one.
Juergen Spitzmueller [Mon, 10 Apr 2023 13:31:26 +0000 (15:31 +0200)]
Do not switch dir with numbers and babel in full unicode
Patch by Udi Fogiel
Juergen Spitzmueller [Mon, 10 Apr 2023 13:25:58 +0000 (15:25 +0200)]
Add Udi Fogiel to credits
Juergen Spitzmueller [Mon, 10 Apr 2023 13:16:20 +0000 (15:16 +0200)]
luabidi's \\LR[E] needs to be embraced (possibly a LuaTeX bug)
without the grouping, trailing text disappears
Juergen Spitzmueller [Mon, 10 Apr 2023 08:20:11 +0000 (10:20 +0200)]
Inset::forceLTR() only determines whether explicit switches are needed
(as opposed to InsetLayout::forceLTR()). So properly set this for ERT
and remove downstream special casing
Juergen Spitzmueller [Mon, 10 Apr 2023 06:37:04 +0000 (08:37 +0200)]
Fix spacing in forceLTR for classic latex
Juergen Spitzmueller [Mon, 10 Apr 2023 06:24:46 +0000 (08:24 +0200)]
Do not forceLTR math with Xe/Lua (part of #12731)
Juergen Spitzmueller [Mon, 10 Apr 2023 06:10:51 +0000 (08:10 +0200)]
Put forceLTR (display) environments in LRE environment rather than command
This fixes whitespace issues.
Juergen Spitzmueller [Mon, 10 Apr 2023 06:09:32 +0000 (08:09 +0200)]
Add Inset::isEnvironment()
This usually returns InsetLayout::isEnvironment(), but listings has
specific conditions (depending on whether it is inline or not)
Juergen Spitzmueller [Mon, 10 Apr 2023 06:05:03 +0000 (08:05 +0200)]
de/Customization: document EditExternal
Juergen Spitzmueller [Mon, 10 Apr 2023 05:58:38 +0000 (07:58 +0200)]
de/Customization: move section on Arguments
Pavel Sanda [Sun, 9 Apr 2023 19:05:49 +0000 (21:05 +0200)]
* cs.po
Juergen Spitzmueller [Sun, 9 Apr 2023 13:01:17 +0000 (15:01 +0200)]
Fix indentation
Juergen Spitzmueller [Sat, 8 Apr 2023 17:25:30 +0000 (19:25 +0200)]
Properly resolve undefined citations with Xe/Lua and bibliography environment
These need an extra LaTeX run
Juergen Spitzmueller [Sat, 8 Apr 2023 15:32:31 +0000 (17:32 +0200)]
de.po
Juergen Spitzmueller [Sat, 8 Apr 2023 15:27:31 +0000 (17:27 +0200)]
Typo
Juergen Spitzmueller [Sat, 8 Apr 2023 15:27:06 +0000 (17:27 +0200)]
Fix accelerators
Juergen Spitzmueller [Sat, 8 Apr 2023 14:55:41 +0000 (16:55 +0200)]
Fix crash when copying multiple cells in table
while having done "backwards" selection (selBegin() in a later
column/row than selEnd())
Pavel Sanda [Sat, 8 Apr 2023 07:08:34 +0000 (09:08 +0200)]
* cs.po
Pavel Sanda [Fri, 7 Apr 2023 20:13:53 +0000 (22:13 +0200)]
Casing consistent with other modules.
Pavel Sanda [Fri, 7 Apr 2023 18:24:23 +0000 (20:24 +0200)]
We had two overlapping chemistry modules.
See
a610e29c9c3a9 .
Pavel Sanda [Fri, 7 Apr 2023 15:57:55 +0000 (17:57 +0200)]
* cs.po
Pavel Sanda [Thu, 6 Apr 2023 20:54:28 +0000 (22:54 +0200)]
* cs.po
Scott Kostyshak [Wed, 5 Apr 2023 03:37:55 +0000 (23:37 -0400)]
ctests: uninvert tests thanks to microtype update
microtype version 3.1 somehow fixed an issue that was affecting
these exports and the exports now succeed.
For more information, see here:
https://github.com/schlcht/microtype/issues/21#issuecomment-
1496803268
Scott Kostyshak [Tue, 4 Apr 2023 19:28:45 +0000 (15:28 -0400)]
ctests: do not mark Hebrew + Lua as unreliable
The referenced terminal message no longer appears. The upstream
polyglossia issue has been fixed:
https://github.com/reutenauer/polyglossia/issues/337
Scott Kostyshak [Tue, 4 Apr 2023 19:28:01 +0000 (15:28 -0400)]
Fix a comment
Juergen Spitzmueller [Sun, 2 Apr 2023 12:51:47 +0000 (14:51 +0200)]
Record babel use for single par preview
Juergen Spitzmueller [Sun, 2 Apr 2023 10:31:41 +0000 (12:31 +0200)]
Fix indentation
Daniel Ramoeller [Thu, 30 Mar 2023 20:12:08 +0000 (16:12 -0400)]
Fix bug #12721.