]> git.lyx.org Git - lyx.git/log
lyx.git
19 months agoAmend b8502a3ea2735c4
Juergen Spitzmueller [Thu, 3 Nov 2022 06:14:14 +0000 (07:14 +0100)]
Amend b8502a3ea2735c4

19 months agoFix glitch in index reversion routine
Juergen Spitzmueller [Thu, 3 Nov 2022 04:54:50 +0000 (05:54 +0100)]
Fix glitch in index reversion routine

19 months agoIndicate see[also] refs in label and outliner
Juergen Spitzmueller [Wed, 2 Nov 2022 14:56:59 +0000 (15:56 +0100)]
Indicate see[also] refs in label and outliner

19 months agoAdapt all German and English manuals to new index features
Juergen Spitzmueller [Wed, 2 Nov 2022 14:24:13 +0000 (15:24 +0100)]
Adapt all German and English manuals to new index features

19 months agoDo not unnecessarily reset the outliner to TOC on internal model changes
Juergen Spitzmueller [Wed, 2 Nov 2022 11:33:20 +0000 (12:33 +0100)]
Do not unnecessarily reset the outliner to TOC on internal model changes

The activated() signal is only issued on user changes, what we want here,
not internal model changes (as with currentIndexChanged())

19 months agoRemove wrong count comment
Juergen Spitzmueller [Wed, 2 Nov 2022 09:46:11 +0000 (10:46 +0100)]
Remove wrong count comment

19 months agoWorkaround for advanced search in 'uncover'-inset.
Kornel Benko [Wed, 2 Nov 2022 09:33:29 +0000 (10:33 +0100)]
Workaround for advanced search in 'uncover'-inset.

Allows for matches inside style Uncover if used
Settings->Adhere to search string formatting
This does not cover all of #12594 though.

19 months agoUpdate sk.po
Kornel Benko [Wed, 2 Nov 2022 09:33:06 +0000 (10:33 +0100)]
Update sk.po

19 months agolyx2lyx: fix index reversion
Juergen Spitzmueller [Wed, 2 Nov 2022 08:33:09 +0000 (09:33 +0100)]
lyx2lyx: fix index reversion

This was only a warning, but it made the tests fail

19 months ago Update fr.po
jpc [Tue, 1 Nov 2022 15:51:01 +0000 (16:51 +0100)]
          Update fr.po

19 months agoGerman documentation of new index features
Juergen Spitzmueller [Tue, 1 Nov 2022 13:45:37 +0000 (14:45 +0100)]
German documentation of new index features

19 months agode.po
Juergen Spitzmueller [Tue, 1 Nov 2022 11:13:45 +0000 (12:13 +0100)]
de.po

19 months agoFix output of subentry with sortkey
Juergen Spitzmueller [Tue, 1 Nov 2022 10:55:57 +0000 (11:55 +0100)]
Fix output of subentry with sortkey

19 months agoUserGuide: use new features for all index entries
Juergen Spitzmueller [Tue, 1 Nov 2022 10:06:50 +0000 (11:06 +0100)]
UserGuide: use new features for all index entries

19 months agoHandle empty index subentries (#7820)
Juergen Spitzmueller [Tue, 1 Nov 2022 09:20:50 +0000 (10:20 +0100)]
Handle empty index subentries (#7820)

19 months agoInsetIndex: hide printTree behind a LYX_INSET_INDEX_DEBUG flag
Thibaut Cuvelier [Mon, 31 Oct 2022 22:57:41 +0000 (23:57 +0100)]
InsetIndex: hide printTree behind a LYX_INSET_INDEX_DEBUG flag

The change ensures that the function is not seen by the compiler when
the debug mode is not enabled. The flag is not set by default, because
it might have a significant performance impact for large indices.

The reason for the flag is that the default configuration under Linux
forbids the definition of unused functions.

19 months agoUpdate sk.po
Kornel Benko [Mon, 31 Oct 2022 21:57:02 +0000 (22:57 +0100)]
Update sk.po

19 months agoUpdate tex2lyx tests
Juergen Spitzmueller [Mon, 31 Oct 2022 20:11:07 +0000 (21:11 +0100)]
Update tex2lyx tests

19 months agoMerge branch 'features/indexmacros'
Juergen Spitzmueller [Mon, 31 Oct 2022 18:32:52 +0000 (19:32 +0100)]
Merge branch 'features/indexmacros'

19 months agoDocument new inset features
Juergen Spitzmueller [Mon, 31 Oct 2022 18:26:39 +0000 (19:26 +0100)]
Document new inset features

19 months agoTypo
Juergen Spitzmueller [Mon, 31 Oct 2022 06:52:11 +0000 (07:52 +0100)]
Typo

19 months agoRename subindex to subentry
Juergen Spitzmueller [Mon, 31 Oct 2022 05:51:38 +0000 (06:51 +0100)]
Rename subindex to subentry

Makes more sense, and distinguishes it better from printsubindex

19 months agoDisplay subinsets in inset button and outliner
Juergen Spitzmueller [Mon, 31 Oct 2022 05:04:13 +0000 (06:04 +0100)]
Display subinsets in inset button and outliner

19 months agoEnter subindex on Enter in index
Juergen Spitzmueller [Mon, 31 Oct 2022 04:25:04 +0000 (05:25 +0100)]
Enter subindex on Enter in index

19 months agoAdd Christopher Hillenbrand to the credits
Juergen Spitzmueller [Mon, 31 Oct 2022 03:33:07 +0000 (04:33 +0100)]
Add Christopher Hillenbrand to the credits

20 months agoAdd some comments
Juergen Spitzmueller [Sat, 29 Oct 2022 13:40:06 +0000 (15:40 +0200)]
Add some comments

20 months ago Update fr.po
jpc [Sat, 29 Oct 2022 13:17:32 +0000 (15:17 +0200)]
          Update fr.po

20 months agoAdd last missing bit to insetindexmacros: file format change and lyx2lyx
Juergen Spitzmueller [Sat, 29 Oct 2022 13:11:11 +0000 (15:11 +0200)]
Add last missing bit to insetindexmacros: file format change and lyx2lyx

The feature is now ready for primetime!

20 months agoformat change stub (to be updated before merge)
Juergen Spitzmueller [Sat, 29 Oct 2022 10:51:17 +0000 (12:51 +0200)]
format change stub (to be updated before merge)

20 months agoEnable pagination property with inset sortkey
Juergen Spitzmueller [Sat, 29 Oct 2022 10:48:45 +0000 (12:48 +0200)]
Enable pagination property with inset sortkey

20 months agoUpdate sk.po
Kornel Benko [Sat, 29 Oct 2022 09:52:02 +0000 (11:52 +0200)]
Update sk.po

20 months agoMerge branch 'master' into features/indexmacros
Juergen Spitzmueller [Sat, 29 Oct 2022 09:42:14 +0000 (11:42 +0200)]
Merge branch 'master' into features/indexmacros

20 months agode.po
Juergen Spitzmueller [Sat, 29 Oct 2022 09:20:50 +0000 (11:20 +0200)]
de.po

20 months agoMinor improvements to the screen width UI
Juergen Spitzmueller [Sat, 29 Oct 2022 09:17:22 +0000 (11:17 +0200)]
Minor improvements to the screen width UI

* fix order of input and unit widgets
* remove redundant "Screen used" label
* Add tooltip

20 months agoWhitespace
Scott Kostyshak [Fri, 28 Oct 2022 22:28:31 +0000 (18:28 -0400)]
Whitespace

20 months ago Update fr.po
jpc [Fri, 28 Oct 2022 16:43:00 +0000 (18:43 +0200)]
        Update fr.po

20 months agoRevert "WIP: refactor Systemcall"
Jean-Marc Lasgouttes [Fri, 28 Oct 2022 16:04:45 +0000 (18:04 +0200)]
Revert "WIP: refactor Systemcall"

This reverts commit c8015878e1375f83574a8497faadd7e8c6aa8859.

Committed by mistake obviously!

20 months agoconstify
Jean-Marc Lasgouttes [Fri, 28 Oct 2022 16:03:50 +0000 (18:03 +0200)]
constify

20 months agoWIP: refactor Systemcall
Jean-Marc Lasgouttes [Fri, 28 Oct 2022 15:21:33 +0000 (17:21 +0200)]
WIP: refactor Systemcall

**WARNING; only compilation has been ested; even that does not work**

The goal of this commit is to use the list-based API to
QProcess::start, to avoid annoying syntax issues (see issues with
pasting from LaTeX).

* Create a new latexEnvironment() in filetools.h that returns a
  map<string, string> containing the variables and their values.

* Rewrite parsecmd() so that it returns a QStringList of tokenized parameters.

* Use this in startProcess. This is the part is is not finished yet.

Obviously, this will not be possible to get right for 2.4.0.

20 months agoadjust text display width in windowed mode
chillenb [Fri, 21 Oct 2022 22:11:12 +0000 (18:11 -0400)]
adjust text display width in windowed mode

20 months agoRemove unused method
Jean-Marc Lasgouttes [Thu, 27 Oct 2022 15:16:27 +0000 (17:16 +0200)]
Remove unused method

20 months agoRevert "Always remove selection after cursor up/down"
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.

20 months agode.po
Juergen Spitzmueller [Wed, 26 Oct 2022 09:21:27 +0000 (11:21 +0200)]
de.po

20 months agoSync with master
Juergen Spitzmueller [Wed, 26 Oct 2022 08:52:21 +0000 (10:52 +0200)]
Sync with master

20 months agoAlways qualify calls to std::move()
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.

20 months agoGuiLog: don't miss package warnings for packages with dashes
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)

20 months ago Update fr.po
jpc [Fri, 14 Oct 2022 14:54:52 +0000 (16:54 +0200)]
       Update fr.po

20 months agoOnly load subscript package with LaTeX < 2005/12/01 (#12387)
Juergen Spitzmueller [Thu, 13 Oct 2022 14:05:03 +0000 (16:05 +0200)]
Only load subscript package with LaTeX < 2005/12/01 (#12387)

20 months agoNeed cellvarwidth also in left-aligned cells if they use newlines (#12587)
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)

20 months agoGuiLyXFiles: differentiate user and system folders
Juergen Spitzmueller [Sun, 9 Oct 2022 14:13:48 +0000 (16:13 +0200)]
GuiLyXFiles: differentiate user and system folders

20 months agoGuiLyXFiles: Hide empty categories on filtering (#12584)
Juergen Spitzmueller [Sun, 9 Oct 2022 14:01:49 +0000 (16:01 +0200)]
GuiLyXFiles: Hide empty categories on filtering (#12584)

20 months agoGuiLyXFiles: Visually distinguish folders from files (#12584)
Juergen Spitzmueller [Sat, 8 Oct 2022 14:44:38 +0000 (16:44 +0200)]
GuiLyXFiles: Visually distinguish folders from files (#12584)

20 months agoPreview: do not overwrite fg/bg color names that beamer uses
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.

20 months agoFix inline completion prefix for macro insets
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.

20 months agoDisable completion when document is read-only.
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.

20 months agoShow branches from master document in branch inset dialog
Yuriy Skalko [Fri, 7 Oct 2022 15:56:33 +0000 (18:56 +0300)]
Show branches from master document in branch inset dialog

20 months agoCompletion: handle undo in insets' insertCompletion methods
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.

20 months agoWhitespace
Scott Kostyshak [Tue, 4 Oct 2022 00:43:31 +0000 (20:43 -0400)]
Whitespace

20 months agoFix bug #12580
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.

21 months agoctests: ignore zh_CN/Tutorial that time out
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

21 months agoFix gcc-12 warning
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.

21 months agoFix line breaking at trailing space
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.

21 months agovocabulary
Jean-Marc Lasgouttes [Wed, 21 Sep 2022 17:29:52 +0000 (19:29 +0200)]
vocabulary

21 months agoFixup 572b06d6: reduce cache size for breakString
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.

21 months agoDisable use of QPA_XCB if using QT6
Kornel Benko [Sat, 17 Sep 2022 12:14:41 +0000 (14:14 +0200)]
Disable use of QPA_XCB if using QT6

21 months agoUpdate sk.po
Kornel Benko [Sat, 17 Sep 2022 12:13:41 +0000 (14:13 +0200)]
Update sk.po

21 months agoUpdate it.po
Enrico Forestieri [Thu, 15 Sep 2022 18:53:05 +0000 (20:53 +0200)]
Update it.po

21 months agoAmend f426470a
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.

21 months agoUnify wording for statistics
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.

21 months agoDisentangle status bar and 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

21 months agoUpdate sk.po
Kornel Benko [Wed, 7 Sep 2022 19:13:06 +0000 (21:13 +0200)]
Update sk.po

21 months ago* doxy
Pavel Sanda [Tue, 6 Sep 2022 20:12:25 +0000 (22:12 +0200)]
* doxy

21 months agode.po
Juergen Spitzmueller [Sat, 3 Sep 2022 11:45:18 +0000 (13:45 +0200)]
de.po

21 months agoSimplify status bar context menu
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)".

21 months ago Update fr.po
jpc [Fri, 2 Sep 2022 09:41:03 +0000 (11:41 +0200)]
        Update fr.po

21 months agoMathML: amend 26300c565f as discussed in bug 12513
Thibaut Cuvelier [Fri, 2 Sep 2022 00:00:12 +0000 (02:00 +0200)]
MathML: amend 26300c565f as discussed in bug 12513

Contributed by lynx

21 months agoMathML: should display "Text" MathFont using proper <mtext> tag
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

21 months agoInsetTabular: fix a typo
Thibaut Cuvelier [Thu, 1 Sep 2022 23:30:25 +0000 (01:30 +0200)]
InsetTabular: fix a typo

21 months agoInsetTabular: move more helper methods to private
Thibaut Cuvelier [Thu, 1 Sep 2022 23:29:19 +0000 (01:29 +0200)]
InsetTabular: move more helper methods to private

21 months agoInsetTabular: replace a Boolean parameter to choose between XHTML and DocBook by...
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).

21 months agoInsetTabular: move XML helper methods to private
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.

21 months agoDocBook: amend 50374e38e1
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).

21 months agoSmall fixes to fr.po related to status bar menu
Jean-Marc Lasgouttes [Thu, 1 Sep 2022 15:35:55 +0000 (17:35 +0200)]
Small fixes to fr.po related to status bar menu

21 months agoFix a warning related to comparing different signedness
Thibaut Cuvelier [Thu, 1 Sep 2022 08:57:04 +0000 (10:57 +0200)]
Fix a warning related to comparing different signedness

21 months agoLyXHTML: implement index ranges
Thibaut Cuvelier [Thu, 1 Sep 2022 00:22:50 +0000 (02:22 +0200)]
LyXHTML: implement index ranges

21 months agoLyXHTML: implement multiple indices
Thibaut Cuvelier [Thu, 1 Sep 2022 00:04:05 +0000 (02:04 +0200)]
LyXHTML: implement multiple indices

21 months agoDocBook: amend 34ea4080
Thibaut Cuvelier [Wed, 31 Aug 2022 23:13:47 +0000 (01:13 +0200)]
DocBook: amend 34ea4080

@ for sorting is implemented at 34ea4080, but the user was still shown a warning (now removed).

21 months agoDocBook: add test case for multiple indices
Thibaut Cuvelier [Wed, 31 Aug 2022 23:11:40 +0000 (01:11 +0200)]
DocBook: add test case for multiple indices

21 months agoDocBook: add missing test case for index
Thibaut Cuvelier [Wed, 31 Aug 2022 22:14:41 +0000 (00:14 +0200)]
DocBook: add missing test case for index

21 months agoUse auto const & when possible to avoid copies
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.

22 months ago Update fr.po
jpc [Sun, 28 Aug 2022 16:46:31 +0000 (18:46 +0200)]
       Update fr.po

22 months agoUpdate sk.po
Kornel Benko [Fri, 19 Aug 2022 11:33:14 +0000 (13:33 +0200)]
Update sk.po

22 months agoUpdate stats display if a stat is (un)selected
Juergen Spitzmueller [Thu, 18 Aug 2022 17:08:03 +0000 (19:08 +0200)]
Update stats display if a stat is (un)selected

22 months agoctests: uninvert a utf8x test
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

22 months agoctests: invert EuropeCV tests
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

22 months agode.po
Juergen Spitzmueller [Wed, 17 Aug 2022 16:15:29 +0000 (18:15 +0200)]
de.po

22 months agoAnother inset font switch fix
Juergen Spitzmueller [Wed, 17 Aug 2022 16:04:51 +0000 (18:04 +0200)]
Another inset font switch fix

22 months agoPolish status bar statistics
Juergen Spitzmueller [Wed, 17 Aug 2022 12:59:50 +0000 (14:59 +0200)]
Polish status bar statistics

22 months agoLoad ucs before utf8x inputenc with recent ucs versions
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

22 months agofix compiler warning
Juergen Spitzmueller [Tue, 16 Aug 2022 15:41:40 +0000 (17:41 +0200)]
fix compiler warning