]> git.lyx.org Git - features.git/log
features.git
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

22 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

22 months agode/UserGuide: another minor correction
Juergen Spitzmueller [Tue, 16 Aug 2022 10:28:13 +0000 (12:28 +0200)]
de/UserGuide: another minor correction

22 months agode/UserGuide: some minor corrections
Juergen Spitzmueller [Tue, 16 Aug 2022 10:25:55 +0000 (12:25 +0200)]
de/UserGuide: some minor corrections

22 months agode.po
Juergen Spitzmueller [Tue, 16 Aug 2022 09:55:04 +0000 (11:55 +0200)]
de.po

22 months agoImproved synctex support
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.

22 months agoconfigure.py: sanitize restrictive policies of IM on some distributions.
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

22 months agoImproved synctex support
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

22 months agoAdditional cursor position validation required to avoid an assertion in Text::selectWord
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

22 months agoFix shortcut
Pavel Sanda [Tue, 9 Aug 2022 22:03:20 +0000 (00:03 +0200)]
Fix shortcut

22 months ago* RELEASE-NOTES
Pavel Sanda [Tue, 9 Aug 2022 21:58:13 +0000 (23:58 +0200)]
* RELEASE-NOTES

22 months agoAdd document statistics to statusbar.
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

22 months agoUse localized length strings also in space label/tooltip
Juergen Spitzmueller [Tue, 9 Aug 2022 15:28:41 +0000 (17:28 +0200)]
Use localized length strings also in space label/tooltip

22 months agoMode [un]locLengthString() methods to support/qstring_helpers
Juergen Spitzmueller [Tue, 9 Aug 2022 15:27:53 +0000 (17:27 +0200)]
Mode [un]locLengthString() methods to support/qstring_helpers

22 months agoLocalize display of glue lengths in dialogs
Juergen Spitzmueller [Tue, 9 Aug 2022 07:44:12 +0000 (09:44 +0200)]
Localize display of glue lengths in dialogs

22 months agoRename function
Juergen Spitzmueller [Tue, 9 Aug 2022 07:31:46 +0000 (09:31 +0200)]
Rename function

22 months ago Update fr.po
jpc [Tue, 9 Aug 2022 06:46:54 +0000 (08:46 +0200)]
        Update fr.po

22 months agoAllow entering localized lengths with unit (#11852)
Juergen Spitzmueller [Mon, 8 Aug 2022 16:34:34 +0000 (18:34 +0200)]
Allow entering localized lengths with unit (#11852)

22 months agoAdd detection for available macOS applications and add check for Skim.app as alternat...
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.

22 months agoMake "open -a" implicit on macOS
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

22 months agoUpdate sk.po
Kornel Benko [Mon, 8 Aug 2022 08:20:48 +0000 (10:20 +0200)]
Update sk.po

22 months agoInstall icon.aliases in images/ where it is searched
Juergen Spitzmueller [Mon, 8 Aug 2022 08:13:23 +0000 (10:13 +0200)]
Install icon.aliases in images/ where it is searched

22 months agode.po
Juergen Spitzmueller [Mon, 8 Aug 2022 07:55:07 +0000 (09:55 +0200)]
de.po

22 months agoAmend 9e645a5cfc9d6c3e66d
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.

22 months ago"System Default" viewer/editor option
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.

22 months agoUpdate sk.po
Kornel Benko [Sun, 7 Aug 2022 17:27:06 +0000 (19:27 +0200)]
Update sk.po