]>
git.lyx.org Git - lyx.git/log
chillenb [Fri, 21 Oct 2022 22:11:12 +0000 (18:11 -0400)]
adjust text display width in windowed mode
Jean-Marc Lasgouttes [Thu, 27 Oct 2022 15:16:27 +0000 (17:16 +0200)]
Remove unused method
Jean-Marc Lasgouttes [Tue, 25 Oct 2022 16:18:49 +0000 (18:18 +0200)]
Revert "Always remove selection after cursor up/down"
This reverts commit
008a0825e8d67b9c0a3d31b906f04cd7b8fd18a8 .
This commit was part of bug #12310. The goal was to remove the
selection when using "up" at the start of selection (so that the
cursor cannot move). Unfortunately, it creates navigation issues for
insets inside tabulars.
Since the fix was minor, the safest decision is to revert.
The part of ticket #12310 that resets selection with
char-forwars/backward when moving is not possible still works.
Fixes bug #12593.
Juergen Spitzmueller [Wed, 26 Oct 2022 09:21:27 +0000 (11:21 +0200)]
de.po
Jean-Marc Lasgouttes [Fri, 21 Oct 2022 12:11:36 +0000 (14:11 +0200)]
Always qualify calls to std::move()
This quashes a new warning in clang++ 15, when std::move() (the
one-parameter version) is used as simply move(). There is a strong
recommendation from WG21 to avoid that.
Details here: https://reviews.llvm.org/
D119670
It might be that we should not use that many move()s. I am not
competent to decide on that.
I also used this occasion to get rid of a spacial casing for C++11
that does not seem necessary after all.
Juergen Spitzmueller [Sun, 16 Oct 2022 10:08:21 +0000 (12:08 +0200)]
GuiLog: don't miss package warnings for packages with dashes
(e.g. scrlayer-scrpage)
jpc [Fri, 14 Oct 2022 14:54:52 +0000 (16:54 +0200)]
Update fr.po
Juergen Spitzmueller [Thu, 13 Oct 2022 14:05:03 +0000 (16:05 +0200)]
Only load subscript package with LaTeX < 2005/12/01 (#12387)
Juergen Spitzmueller [Tue, 11 Oct 2022 14:01:29 +0000 (16:01 +0200)]
Need cellvarwidth also in left-aligned cells if they use newlines (#12587)
Juergen Spitzmueller [Sun, 9 Oct 2022 14:13:48 +0000 (16:13 +0200)]
GuiLyXFiles: differentiate user and system folders
Juergen Spitzmueller [Sun, 9 Oct 2022 14:01:49 +0000 (16:01 +0200)]
GuiLyXFiles: Hide empty categories on filtering (#12584)
Juergen Spitzmueller [Sat, 8 Oct 2022 14:44:38 +0000 (16:44 +0200)]
GuiLyXFiles: Visually distinguish folders from files (#12584)
Jean-Marc Lasgouttes [Sat, 8 Oct 2022 14:42:55 +0000 (16:42 +0200)]
Preview: do not overwrite fg/bg color names that beamer uses
Rename them to lyxfg/lyxbg
Fixes bug #12563.
Jean-Marc Lasgouttes [Sat, 8 Oct 2022 12:21:06 +0000 (14:21 +0200)]
Fix inline completion prefix for macro insets
As it was, the prefix was empty when completion popups were disabled.
Related to bug #12581.
Jean-Marc Lasgouttes [Sat, 8 Oct 2022 10:12:19 +0000 (12:12 +0200)]
Disable completion when document is read-only.
Being able to insert completion in a read-only document is definitely
a bad idea.
This patch acts both on indication of completion and on insertion
itself.
Fixes bug #12582.
Yuriy Skalko [Fri, 7 Oct 2022 15:56:33 +0000 (18:56 +0300)]
Show branches from master document in branch inset dialog
Jean-Marc Lasgouttes [Tue, 4 Oct 2022 13:11:36 +0000 (15:11 +0200)]
Completion: handle undo in insets' insertCompletion methods
I mathed, undo should record the underlying inset on completion,
whereas in test recording the paragraph is enough.
Therefore the recordUndo() in GuiCompleter::tab is removed, and the
relevant recordUndo/recordUndoInset are used at the right places.
As a further cleanup, the parameter `finished' of
Text::insertCompletion is removed as it is useless.
Fixes bug #12581.
Scott Kostyshak [Tue, 4 Oct 2022 00:43:31 +0000 (20:43 -0400)]
Whitespace
Enrico Forestieri [Sun, 2 Oct 2022 12:59:03 +0000 (14:59 +0200)]
Fix bug #12580
This amends [
4a7a1935 /lyxgit]. Before
4a7a1935 it was assumed
that a labeled row was also numbered. Hence, when unnumbering
a row a label was also deleted. We now have to do this explicitly.
Scott Kostyshak [Thu, 29 Sep 2022 15:49:26 +0000 (11:49 -0400)]
ctests: ignore zh_CN/Tutorial that time out
Jürgen pointed out that it might be due to this issue:
https://tex.stackexchange.com/questions/548139/
and that we might want to report it here:
https://www.nongnu.org/cjk/
ML discussion was here:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217924.html
Scott Kostyshak [Sat, 24 Sep 2022 18:24:26 +0000 (14:24 -0400)]
Fix gcc-12 warning
From Kornel:
> /usr2/src/lyx/lyx-git/src/Paragraph.cpp:1931:1: warning: control reaches end of non-void
> function [-Wreturn-type]
>
> This is with gcc-12, compiled in debug mode.
Jean-Marc Lasgouttes [Fri, 23 Sep 2022 16:31:10 +0000 (18:31 +0200)]
Fix line breaking at trailing space
With a string like "abc def [inset]", it should be possible to break
between the "def" and the inset. A case of interest is when "abc def "
is too long, but "abc def" is not.
To this end, tweak the test that look whether breaking was successful:
the right width to look at is nscp_width, the width without the final
space.
Jean-Marc Lasgouttes [Wed, 21 Sep 2022 17:29:52 +0000 (19:29 +0200)]
vocabulary
Jean-Marc Lasgouttes [Wed, 21 Sep 2022 12:42:33 +0000 (14:42 +0200)]
Fixup
572b06d6 : reduce cache size for breakString
This was necessary only due to bug #12534.
Reduce the size from 10Mb to 1Mb. Profiling shows that the cache hit rate
is the same.
Kornel Benko [Sat, 17 Sep 2022 12:14:41 +0000 (14:14 +0200)]
Disable use of QPA_XCB if using QT6
Kornel Benko [Sat, 17 Sep 2022 12:13:41 +0000 (14:13 +0200)]
Update sk.po
Enrico Forestieri [Thu, 15 Sep 2022 18:53:05 +0000 (20:53 +0200)]
Update it.po
Enrico Forestieri [Wed, 14 Sep 2022 18:10:01 +0000 (20:10 +0200)]
Amend
f426470a
The synctex option can also be specified by a single dash and
any value different from zero will do.
Jean-Marc Lasgouttes [Tue, 13 Sep 2022 10:42:28 +0000 (12:42 +0200)]
Unify wording for statistics
Use 'no blanks' uniformly.
Also remove separator in zoom menu.
Daniel Ramoeller [Thu, 8 Sep 2022 05:44:15 +0000 (07:44 +0200)]
Disentangle status bar and zoom menu
- Moves the zoom menu to the zoom value
Kornel Benko [Wed, 7 Sep 2022 19:13:06 +0000 (21:13 +0200)]
Update sk.po
Pavel Sanda [Tue, 6 Sep 2022 20:12:25 +0000 (22:12 +0200)]
* doxy
Juergen Spitzmueller [Sat, 3 Sep 2022 11:45:18 +0000 (13:45 +0200)]
de.po
Jean-Marc Lasgouttes [Fri, 2 Sep 2022 17:52:57 +0000 (19:52 +0200)]
Simplify status bar context menu
Remove "Show" prefix.
Remove "(With Blanks)".
jpc [Fri, 2 Sep 2022 09:41:03 +0000 (11:41 +0200)]
Update fr.po
Thibaut Cuvelier [Fri, 2 Sep 2022 00:00:12 +0000 (02:00 +0200)]
MathML: amend
26300c565f as discussed in bug 12513
Contributed by lynx
Thibaut Cuvelier [Thu, 1 Sep 2022 23:57:06 +0000 (01:57 +0200)]
MathML: should display "Text" MathFont using proper <mtext> tag
Fixes bug 12397
Contributed by lynx
Thibaut Cuvelier [Thu, 1 Sep 2022 23:30:25 +0000 (01:30 +0200)]
InsetTabular: fix a typo
Thibaut Cuvelier [Thu, 1 Sep 2022 23:29:19 +0000 (01:29 +0200)]
InsetTabular: move more helper methods to private
Thibaut Cuvelier [Thu, 1 Sep 2022 23:26:20 +0000 (01:26 +0200)]
InsetTabular: replace a Boolean parameter to choose between XHTML and DocBook by an enum class
The only goal is to improve code readability: this enum class is strictly equivalent to a Boolean, with the same meaning as the previous is_xhtml arguments (arbitrary choice).
Thibaut Cuvelier [Thu, 1 Sep 2022 21:35:52 +0000 (23:35 +0200)]
InsetTabular: move XML helper methods to private
They are not needed outside InsetTabular.
Thibaut Cuvelier [Thu, 1 Sep 2022 21:33:56 +0000 (23:33 +0200)]
DocBook: amend
50374e38e1
All table rows were generated in the same XML dialect, irrespectively of the caller context (XHTML or DocBook).
Jean-Marc Lasgouttes [Thu, 1 Sep 2022 15:35:55 +0000 (17:35 +0200)]
Small fixes to fr.po related to status bar menu
Jean-Marc Lasgouttes [Tue, 30 Aug 2022 15:31:37 +0000 (17:31 +0200)]
Use auto const & when possible to avoid copies
In several range-based for loops, implicit copies are made. Remove
that when possible, and try to shut converity up otherwise.
Fixes issues found by coverity.
jpc [Sun, 28 Aug 2022 16:46:31 +0000 (18:46 +0200)]
Update fr.po
Kornel Benko [Fri, 19 Aug 2022 11:33:14 +0000 (13:33 +0200)]
Update sk.po
Juergen Spitzmueller [Thu, 18 Aug 2022 17:08:03 +0000 (19:08 +0200)]
Update stats display if a stat is (un)selected
Scott Kostyshak [Thu, 18 Aug 2022 14:17:30 +0000 (10:17 -0400)]
ctests: uninvert a utf8x test
The compilation succeeds now, although the behavior might be
different: unless we load ucs explicitly it will proceed with
utf8 instead of utf8x if I understand correctly.
See here for more details:
https://github.com/latex3/latex2e/issues/833#issuecomment-
1219535732
Scott Kostyshak [Thu, 18 Aug 2022 13:09:30 +0000 (09:09 -0400)]
ctests: invert EuropeCV tests
These might not be fixed for a while:
https://github.com/gsilano/EuropeCV/pull/33
Juergen Spitzmueller [Wed, 17 Aug 2022 16:15:29 +0000 (18:15 +0200)]
de.po
Juergen Spitzmueller [Wed, 17 Aug 2022 16:04:51 +0000 (18:04 +0200)]
Another inset font switch fix
Juergen Spitzmueller [Wed, 17 Aug 2022 12:59:50 +0000 (14:59 +0200)]
Polish status bar statistics
Juergen Spitzmueller [Tue, 16 Aug 2022 15:56:07 +0000 (17:56 +0200)]
Load ucs before utf8x inputenc with recent ucs versions
Otherwise inputenc falls back to utf8 option, which breaks documents
Juergen Spitzmueller [Tue, 16 Aug 2022 15:41:40 +0000 (17:41 +0200)]
fix compiler warning
Juergen Spitzmueller [Tue, 16 Aug 2022 10:28:13 +0000 (12:28 +0200)]
de/UserGuide: another minor correction
Juergen Spitzmueller [Tue, 16 Aug 2022 10:25:55 +0000 (12:25 +0200)]
de/UserGuide: some minor corrections
Juergen Spitzmueller [Tue, 16 Aug 2022 09:55:04 +0000 (11:55 +0200)]
de.po
Stephan Witt [Sat, 13 Aug 2022 12:20:03 +0000 (14:20 +0200)]
Improved synctex support
- Add check for converter with active synctex support to check for synchronized output for activate forward search.
Pavel Sanda [Thu, 11 Aug 2022 23:03:09 +0000 (01:03 +0200)]
configure.py: sanitize restrictive policies of IM on some distributions.
Some distros banned GS for Imagemigick conversions.
In effect eps->png conversion is broken and this can't
be fixed locally by the user.
Our workaround is to allow eps->pdf->png conversion from
different tools when IM bans the conversion.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217834.html
Stephan Witt [Thu, 11 Aug 2022 20:45:51 +0000 (22:45 +0200)]
Improved synctex support
- Check the state of the synchronize TeX output option of the document to enable or disable the LFUN for forward-search.
- write synctex macro to TeX source not only for PdfLaTeX
Stephan Witt [Thu, 11 Aug 2022 20:35:58 +0000 (22:35 +0200)]
Additional cursor position validation required to avoid an assertion in Text::selectWord
Pavel Sanda [Tue, 9 Aug 2022 22:03:20 +0000 (00:03 +0200)]
Fix shortcut
Pavel Sanda [Tue, 9 Aug 2022 21:58:13 +0000 (23:58 +0200)]
* RELEASE-NOTES
Pavel Sanda [Tue, 9 Aug 2022 21:48:55 +0000 (23:48 +0200)]
Add document statistics to statusbar.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217810.html
Juergen Spitzmueller [Tue, 9 Aug 2022 15:28:41 +0000 (17:28 +0200)]
Use localized length strings also in space label/tooltip
Juergen Spitzmueller [Tue, 9 Aug 2022 15:27:53 +0000 (17:27 +0200)]
Mode [un]locLengthString() methods to support/qstring_helpers
Juergen Spitzmueller [Tue, 9 Aug 2022 07:44:12 +0000 (09:44 +0200)]
Localize display of glue lengths in dialogs
Juergen Spitzmueller [Tue, 9 Aug 2022 07:31:46 +0000 (09:31 +0200)]
Rename function
jpc [Tue, 9 Aug 2022 06:46:54 +0000 (08:46 +0200)]
Update fr.po
Juergen Spitzmueller [Mon, 8 Aug 2022 16:34:34 +0000 (18:34 +0200)]
Allow entering localized lengths with unit (#11852)
Stephan Witt [Mon, 8 Aug 2022 13:46:57 +0000 (15:46 +0200)]
Add detection for available macOS applications and add check for Skim.app as alternate PDF viewer.
Stephan Witt [Mon, 8 Aug 2022 08:36:46 +0000 (10:36 +0200)]
Make "open -a" implicit on macOS
Fix for bug #12570 - add simple check for app bundle name and prefix it with macOS open command if name matches
Kornel Benko [Mon, 8 Aug 2022 08:20:48 +0000 (10:20 +0200)]
Update sk.po
Juergen Spitzmueller [Mon, 8 Aug 2022 08:13:23 +0000 (10:13 +0200)]
Install icon.aliases in images/ where it is searched
Juergen Spitzmueller [Mon, 8 Aug 2022 07:55:07 +0000 (09:55 +0200)]
de.po
Juergen Spitzmueller [Mon, 8 Aug 2022 07:49:51 +0000 (09:49 +0200)]
Amend
9e645a5cfc9d6c3e66d
Only show "System Default" if auto-open is available for the current
format.
Daniel Ramoeller [Sun, 7 Aug 2022 15:57:39 +0000 (17:57 +0200)]
"System Default" viewer/editor option
Fix for bug #12571. More user friendly way to set the system default application aka "auto" option.
Kornel Benko [Sun, 7 Aug 2022 17:27:06 +0000 (19:27 +0200)]
Update sk.po
jpc [Sun, 7 Aug 2022 16:06:44 +0000 (18:06 +0200)]
Update fr.po
Juergen Spitzmueller [Sun, 7 Aug 2022 14:47:18 +0000 (16:47 +0200)]
de.po
Juergen Spitzmueller [Sun, 7 Aug 2022 14:40:12 +0000 (16:40 +0200)]
GuiGraphic: delimit "Scale in LyX" (1--1000%)
Larger values will eventually crash LyX (see #12353), 0 or negative
values make the image disappear in the workarea and impossible to edit.
Juergen Spitzmueller [Sun, 7 Aug 2022 12:34:42 +0000 (14:34 +0200)]
Handle LFUN_FONT_DEFAULT is InsetTabular::Dispatch (fixes #12566)
Juergen Spitzmueller [Sun, 7 Aug 2022 08:41:02 +0000 (10:41 +0200)]
Amend
4ba989000c4
If the lfun argument already has a Flex: prefix (which is equivalent),
do not append one
Juergen Spitzmueller [Sat, 6 Aug 2022 17:00:36 +0000 (19:00 +0200)]
Fixup
cd8338636395d (#12569)
Juergen Spitzmueller [Sat, 6 Aug 2022 15:29:40 +0000 (17:29 +0200)]
Fix font tracking at fontswitch_insets
(hopefully)
Stephan Witt [Sun, 31 Jul 2022 21:35:14 +0000 (23:35 +0200)]
Fix a typo in copied comment.
Pavel Sanda [Sun, 31 Jul 2022 18:08:44 +0000 (20:08 +0200)]
pyupgrade related fixes to python scripts #2.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217790.html
jpc [Sun, 31 Jul 2022 16:28:23 +0000 (18:28 +0200)]
Info in French UserGuide
Pavel Sanda [Sun, 31 Jul 2022 09:13:53 +0000 (11:13 +0200)]
pyupgrade related fixes to python scripts #2.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217777.html
Stephan Witt [Sat, 30 Jul 2022 13:04:37 +0000 (15:04 +0200)]
Enhanced build script to use c++17 with EnableCXXMode for Qt6
Pavel Sanda [Sat, 30 Jul 2022 22:36:51 +0000 (00:36 +0200)]
Various python fixes suggested by pyupgrade.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217770.html
Pavel Sanda [Sat, 30 Jul 2022 22:26:04 +0000 (00:26 +0200)]
another typo
Pavel Sanda [Sat, 30 Jul 2022 22:24:33 +0000 (00:24 +0200)]
whitespace
Pavel Sanda [Sat, 30 Jul 2022 22:23:09 +0000 (00:23 +0200)]
Doxy for zoom args in ui-toggle lfun.
Kornel Benko [Wed, 27 Jul 2022 18:27:59 +0000 (20:27 +0200)]
Amend
1dedd398 : Adapt some tests to use unspecified unbind.
Jean-Marc Lasgouttes [Wed, 27 Jul 2022 09:52:50 +0000 (11:52 +0200)]
Allow to unbind without specifying the lfun
When unbinding a shortcut, it may happen that the exact definition of
the request is not known. A typical example it Tab, which is bound to
a complex command sequence.
In this case it is convenient to use the syntax
\unbind "Tab" "*"
To make this word, the special "*" value is translated to the
FuncRequest::unknown lfun and this value is considered specially in
several places.
Scott Kostyshak [Wed, 27 Jul 2022 11:26:19 +0000 (07:26 -0400)]
Remove unneeded code
This code was triggering the following warnings:
src/mathed/InsetMathHull.cpp:234:15: error: variable 'counters_to_save' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
const char * counters_to_save[] = {"section", "chapter"};
^
src/mathed/InsetMathHull.cpp:235:21: error: unused variable 'numcnts' [-Werror,-Wunused-const-variable]
unsigned int const numcnts = sizeof(counters_to_save)/sizeof(char *);
The original code was put in at
645f9fdf (and the comment at
8a226ec4 ).
This commit amends
a65e12d6 .
Jean-Marc Lasgouttes [Wed, 27 Jul 2022 10:37:13 +0000 (12:37 +0200)]
Do not redefine \jobname for previews
This reverts the fix for #9627, with the agreement of original reporter.
Fixes preview of citation insets.
Jean-Marc Lasgouttes [Mon, 25 Jul 2022 20:13:35 +0000 (22:13 +0200)]
Regenerate equations previews when their numbering changes.
Time will tell whether this is too expensive (because most equations
after this on will change too, unless equations are numbered by
section).
Related to bug #11535.
Jean-Marc Lasgouttes [Mon, 25 Jul 2022 20:09:14 +0000 (22:09 +0200)]
Reimplement support for numbering of equation previews
This patch simplifies and fixes the generation of previews with
numbering. Instead of saving the counter values (which is complicated
and error prone), the \thequation macro is set to the numbers_ string
which has been computed by updateBuffer for screen display.
Harcoding the number in the formula means that two equations with
different numbers have different previews, which is the subject of the
bug.
The special code for saving counters in updateBuffer and outputing
them in preparePreview from
645f9fdf (ticket #6894) is removed and
replaced by this simpler approach.
This fixes ticket #11535.