]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoDocBook: force paragraphs in HTML cells to allow for nested tables.
Thibaut Cuvelier [Wed, 17 Feb 2021 22:32:23 +0000 (23:32 +0100)]
DocBook: force paragraphs in HTML cells to allow for nested tables.

CALS still invalid because it forbids nested tables.

3 years agoDocBook: spurious spaces in table attributes.
Thibaut Cuvelier [Wed, 17 Feb 2021 22:25:41 +0000 (23:25 +0100)]
DocBook: spurious spaces in table attributes.

3 years agoDocBook: TODO is outdated, table type is checked within docbookRow.
Thibaut Cuvelier [Wed, 17 Feb 2021 21:55:37 +0000 (22:55 +0100)]
DocBook: TODO is outdated, table type is checked within docbookRow.

3 years agoDocBook: use DocBookArgumentAfterMainTag for short titles.
Thibaut Cuvelier [Sun, 14 Feb 2021 05:35:13 +0000 (06:35 +0100)]
DocBook: use DocBookArgumentAfterMainTag for short titles.

3 years agoDocBook: add support for DocBookArgumentAfterMainTag.
Thibaut Cuvelier [Sun, 14 Feb 2021 06:07:04 +0000 (07:07 +0100)]
DocBook: add support for DocBookArgumentAfterMainTag.

3 years agoDocBook: add support for short titles.
Thibaut Cuvelier [Sun, 14 Feb 2021 05:35:13 +0000 (06:35 +0100)]
DocBook: add support for short titles.

Currently, the DocBook output is not valid. This is solved by the next two commits.

3 years agoFrench doc: two typos.
Thibaut Cuvelier [Sun, 14 Feb 2021 05:09:47 +0000 (06:09 +0100)]
French doc: two typos.

3 years agoCorrectly show deleted url with change tracking
Enrico Forestieri [Wed, 17 Feb 2021 18:51:01 +0000 (19:51 +0100)]
Correctly show deleted url with change tracking

This fixes the issue reported here:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg202545.html

I could not find an open ticket about it.

3 years agoRevert "Cmake export tests: Add epub-format to be tested"
Scott Kostyshak [Wed, 17 Feb 2021 16:51:18 +0000 (11:51 -0500)]
Revert "Cmake export tests: Add epub-format to be tested"

Revert the addition of epub tests for now since a lot of them are
failing (and are not regressions).

This reverts commit 983d327fe3bbf8cdc8dbb1e56bbb78ba7e3fbcd5.

3 years agoClean up previous selections with empty searchstr on instant
Juergen Spitzmueller [Wed, 17 Feb 2021 15:55:55 +0000 (16:55 +0100)]
Clean up previous selections with empty searchstr on instant

3 years agoConsider case (in)sensitivity when querying special char insets
Juergen Spitzmueller [Wed, 17 Feb 2021 14:50:54 +0000 (15:50 +0100)]
Consider case (in)sensitivity when querying special char insets

3 years agoGuiSearch: separate findClicked() slot from more general function
Juergen Spitzmueller [Wed, 17 Feb 2021 13:48:31 +0000 (14:48 +0100)]
GuiSearch: separate findClicked() slot from more general function

the latter one is also accessed by different paths than clicking

3 years agoFix Find button with search as you type
Juergen Spitzmueller [Wed, 17 Feb 2021 13:32:26 +0000 (14:32 +0100)]
Fix Find button with search as you type

3 years agoFancyLineEdit: reformat using our indentation style
Juergen Spitzmueller [Wed, 17 Feb 2021 11:45:30 +0000 (12:45 +0100)]
FancyLineEdit: reformat using our indentation style

No change in function

3 years agoUpdate sk.po
Kornel Benko [Wed, 17 Feb 2021 09:41:55 +0000 (10:41 +0100)]
Update sk.po

3 years agode.po
Juergen Spitzmueller [Wed, 17 Feb 2021 09:04:52 +0000 (10:04 +0100)]
de.po

3 years agoAdvanced F&R: Improve code on Return key
Juergen Spitzmueller [Wed, 17 Feb 2021 08:51:09 +0000 (09:51 +0100)]
Advanced F&R: Improve code on Return key

3 years agoAdv F&R: indicate search direction
Juergen Spitzmueller [Wed, 17 Feb 2021 08:50:18 +0000 (09:50 +0100)]
Adv F&R: indicate search direction

3 years agoAdv F&R: Fix accelerator conflicts
Juergen Spitzmueller [Wed, 17 Feb 2021 08:49:25 +0000 (09:49 +0100)]
Adv F&R: Fix accelerator conflicts

3 years agoAdd accelerator
Juergen Spitzmueller [Wed, 17 Feb 2021 08:08:26 +0000 (09:08 +0100)]
Add accelerator

3 years agoFixup 824d1c99: do not change the semantics of leftMargin(pit_type)
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 19:22:46 +0000 (20:22 +0100)]
Fixup 824d1c99: do not change the semantics of leftMargin(pit_type)

In the row painter, when painting a centered label, one wants to get
the left/right margin of the non-first rows (without indent). It was a
bad idea to change leftMargin(pit) to do that, because its semantics
are unclear and the the code depends on the fact that this function does
strange things when the paragraph is empty...

Fixes bug #12118.

3 years agoUpdate sk.po
Kornel Benko [Tue, 16 Feb 2021 18:54:38 +0000 (19:54 +0100)]
Update sk.po

3 years agoGuiSpellchecker: resolve accelerator conflicts
Juergen Spitzmueller [Tue, 16 Feb 2021 18:13:13 +0000 (19:13 +0100)]
GuiSpellchecker: resolve accelerator conflicts

3 years agode.po
Juergen Spitzmueller [Tue, 16 Feb 2021 18:12:00 +0000 (19:12 +0100)]
de.po

3 years agoGuiThesaurus: complement lyxfind options
Juergen Spitzmueller [Tue, 16 Feb 2021 15:33:30 +0000 (16:33 +0100)]
GuiThesaurus: complement lyxfind options

3 years agoBring search-string-set back, someone actually wants this ;)
Pavel Sanda [Tue, 16 Feb 2021 14:08:19 +0000 (15:08 +0100)]
Bring search-string-set back, someone actually wants this ;)

3 years agoRevert the mac-style binding
Pavel Sanda [Tue, 16 Feb 2021 12:50:55 +0000 (13:50 +0100)]
Revert the mac-style binding

3 years agouse dialog-show with search dialogs
Juergen Spitzmueller [Tue, 16 Feb 2021 12:35:04 +0000 (13:35 +0100)]
use dialog-show with search dialogs

Now that focus setting works, and since find dialog can be closed with
Esc, this makes sense to get back from workarea to dialog.

3 years agoGuiSearch: Properly delegate focus
Juergen Spitzmueller [Tue, 16 Feb 2021 12:30:31 +0000 (13:30 +0100)]
GuiSearch: Properly delegate focus

3 years agoMake selections vertically tighter.
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 11:21:12 +0000 (12:21 +0100)]
Make selections vertically tighter.

Introduce a new Row::contents_dim(), which height is restricted to the
row contents and does not contain any extra vertical spacing.

Rely on this for painting selections: if the selection starts on row,
for example, the ascent of the contents dim is considered. If ot was
started above, then the full dim is used.

Fixes bug #3899.

3 years agoKeep the useful parts of reverted commits
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 11:01:40 +0000 (12:01 +0100)]
Keep the useful parts of reverted commits

Keep from 907f0207 the introduction of BufferView::top/bottomMargin()
and the setting of the top/bottom margin of the document. The
difference is that the extra height is still added to the relevant
rows, and not only to the paragraph metrics.

Keep from f41ca959 the reduction of top/bottom margin for Adv F&R
workareas.

3 years agoRevert "Improve handling of top and bottom margin"
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 09:34:40 +0000 (10:34 +0100)]
Revert "Improve handling of top and bottom margin"

This reverts commit 907f020724b4d73a75644642f3e097f74c75c3b5.

3 years agoRevert "Reduce top/bottom margin for Adv F&R workareas"
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 09:32:36 +0000 (10:32 +0100)]
Revert "Reduce top/bottom margin for Adv F&R workareas"

This reverts commit f41ca959fd531cd955bce778f2734f2a3ff1ee14.

3 years agoRevert "Fix correction of row in getPitAndRowNearY"
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 08:27:28 +0000 (09:27 +0100)]
Revert "Fix correction of row in getPitAndRowNearY"

This reverts commit 08a3405181aed8b4c3d60af8cc3ac785b7e189cd.

3 years agoRevert "Make sure that top/bottom margins are visible when needed"
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 08:27:11 +0000 (09:27 +0100)]
Revert "Make sure that top/bottom margins are visible when needed"

This reverts commit a78eb4471f2577cfa2fa89b27d27013c68937a17.

3 years agoDocument find and replace changes
Juergen Spitzmueller [Tue, 16 Feb 2021 09:37:37 +0000 (10:37 +0100)]
Document find and replace changes

3 years agoAdd/fix some tooltips
Juergen Spitzmueller [Tue, 16 Feb 2021 09:02:47 +0000 (10:02 +0100)]
Add/fix some tooltips

3 years agode.po
Juergen Spitzmueller [Tue, 16 Feb 2021 09:01:30 +0000 (10:01 +0100)]
de.po

3 years agoFix replace all in selection with change tracking
Juergen Spitzmueller [Tue, 16 Feb 2021 08:42:17 +0000 (09:42 +0100)]
Fix replace all in selection with change tracking

3 years agoGuiSearch did not work with num. keypad enter
Pavel Sanda [Tue, 16 Feb 2021 07:52:21 +0000 (08:52 +0100)]
GuiSearch did not work with num. keypad enter

3 years agoAdd support for search/replace within selection (#2548)
Juergen Spitzmueller [Tue, 16 Feb 2021 07:11:09 +0000 (08:11 +0100)]
Add support for search/replace within selection (#2548)

3 years agoGuiCitation: Add missing connection
Juergen Spitzmueller [Tue, 16 Feb 2021 06:32:01 +0000 (07:32 +0100)]
GuiCitation: Add missing connection

3 years agoAccount for true dpi
Enrico Forestieri [Mon, 15 Feb 2021 21:43:36 +0000 (22:43 +0100)]
Account for true dpi

We have to account for the physical rather than logical dpi.

See #12132.

3 years agoUse tabs in prefs2prefs.py, as in the other such files
Richard Kimberly Heck [Mon, 15 Feb 2021 16:06:55 +0000 (11:06 -0500)]
Use tabs in prefs2prefs.py, as in the other such files

3 years agoRelease notes
Richard Kimberly Heck [Mon, 15 Feb 2021 16:04:57 +0000 (11:04 -0500)]
Release notes

3 years agoMake continuous spellcheck the default.
Richard Kimberly Heck [Mon, 15 Feb 2021 16:02:58 +0000 (11:02 -0500)]
Make continuous spellcheck the default.

Convert old preferences to preserve previous setting, as well.

3 years agoDo not write \default_view_format if it is empty.
Richard Kimberly Heck [Mon, 15 Feb 2021 15:55:20 +0000 (10:55 -0500)]
Do not write \default_view_format if it is empty.

3 years agoRevert "#8055 use standard shortcut for font-emph on Mac"
Stephan Witt [Mon, 15 Feb 2021 15:37:14 +0000 (16:37 +0100)]
Revert "#8055 use standard shortcut for font-emph on Mac"

This reverts commit a9342ae098024e363891653d1bcf7a8d485a271c.

3 years agoInitialize F&R dialog with selected text (#8448)
Juergen Spitzmueller [Mon, 15 Feb 2021 15:04:17 +0000 (16:04 +0100)]
Initialize F&R dialog with selected text (#8448)

3 years agoUpdate coding rules
Richard Kimberly Heck [Mon, 15 Feb 2021 14:55:33 +0000 (09:55 -0500)]
Update coding rules

3 years agoFix warning
Richard Kimberly Heck [Sun, 14 Feb 2021 17:30:24 +0000 (12:30 -0500)]
Fix warning

3 years agoGuiSearch: catch Esc
Juergen Spitzmueller [Mon, 15 Feb 2021 14:37:13 +0000 (15:37 +0100)]
GuiSearch: catch Esc

3 years agoUpdate sk.po
Kornel Benko [Mon, 15 Feb 2021 13:46:50 +0000 (14:46 +0100)]
Update sk.po

3 years agode.po
Juergen Spitzmueller [Mon, 15 Feb 2021 13:34:26 +0000 (14:34 +0100)]
de.po

3 years agoImprove instant search
Juergen Spitzmueller [Mon, 15 Feb 2021 13:12:07 +0000 (14:12 +0100)]
Improve instant search

3 years agoCorrect tooltip
Juergen Spitzmueller [Mon, 15 Feb 2021 10:32:42 +0000 (11:32 +0100)]
Correct tooltip

3 years agoGuiSearch: Add auto-wrap option
Juergen Spitzmueller [Mon, 15 Feb 2021 10:30:03 +0000 (11:30 +0100)]
GuiSearch: Add auto-wrap option

3 years agoUse same find-dialogs as other bind-files also for x?emacs
Kornel Benko [Mon, 15 Feb 2021 10:00:02 +0000 (11:00 +0100)]
Use same find-dialogs as other bind-files also for x?emacs

3 years agoAttempt at "search as you type"
Juergen Spitzmueller [Mon, 15 Feb 2021 09:53:23 +0000 (10:53 +0100)]
Attempt at "search as you type"

3 years agoUse explicit initialization for plain pointer to buffer view.
Stephan Witt [Mon, 15 Feb 2021 09:03:39 +0000 (10:03 +0100)]
Use explicit initialization for plain pointer to buffer view.

3 years agoSett forward to true by default in search string parsing
Juergen Spitzmueller [Mon, 15 Feb 2021 08:41:16 +0000 (09:41 +0100)]
Sett forward to true by default in search string parsing

3 years agoUpdate and correct LyX manuals
Yuriy Skalko [Fri, 5 Feb 2021 20:55:19 +0000 (22:55 +0200)]
Update and correct LyX manuals

3 years agoUpdate ru manuals
Yuriy Skalko [Sun, 7 Feb 2021 15:55:52 +0000 (17:55 +0200)]
Update ru manuals

3 years ago#8055 use standard shortcut for font-emph on Mac
Stephan Witt [Mon, 15 Feb 2021 08:35:31 +0000 (09:35 +0100)]
#8055 use standard shortcut for font-emph on Mac

3 years agoBind search-string-set to Ctrl-F3 in cua
Juergen Spitzmueller [Mon, 15 Feb 2021 08:07:59 +0000 (09:07 +0100)]
Bind search-string-set to Ctrl-F3 in cua

3 years agoGuiSearch: Replace icons on buttons by characters
Juergen Spitzmueller [Mon, 15 Feb 2021 07:57:13 +0000 (08:57 +0100)]
GuiSearch: Replace icons on buttons by characters

3 years agoForgot l7n flag
Juergen Spitzmueller [Mon, 15 Feb 2021 07:42:15 +0000 (08:42 +0100)]
Forgot l7n flag

3 years agoGuisearch Qt4 compatibility
Pavel Sanda [Sun, 14 Feb 2021 21:44:33 +0000 (22:44 +0100)]
Guisearch Qt4 compatibility

3 years agoAdditional check for clipboards find buffer support - otherwise Qt complains with...
Stephan Witt [Sun, 14 Feb 2021 21:18:07 +0000 (22:18 +0100)]
Additional check for clipboards find buffer support - otherwise Qt complains with unsupported clipboard mode

3 years agoFix caret height when inserting new inset
Jean-Marc Lasgouttes [Sun, 14 Feb 2021 20:34:43 +0000 (21:34 +0100)]
Fix caret height when inserting new inset

For now, the simplest thing to do it to compute metrics in all cases
before calling setCurrentFont().

In 2.5, a better approach will be to add a new virtual function
InsetText::setFont that will set correctly TextMetrics::font_ (a cache
of the reference font).

Fixes bug #12126.

3 years agoBack to development
Richard Kimberly Heck [Sun, 14 Feb 2021 19:45:33 +0000 (14:45 -0500)]
Back to development

3 years agoUpdate release notes again 2.4.0-alpha3
Richard Kimberly Heck [Sun, 14 Feb 2021 19:44:32 +0000 (14:44 -0500)]
Update release notes again

3 years agoAlpha 3
Richard Kimberly Heck [Sun, 14 Feb 2021 19:19:16 +0000 (14:19 -0500)]
Alpha 3

3 years agoFixup 051b6ce6: fix drawing of EndLabelString
Jean-Marc Lasgouttes [Sun, 14 Feb 2021 19:07:19 +0000 (20:07 +0100)]
Fixup 051b6ce6: fix drawing of EndLabelString

Fixes bug #12122.

3 years ago#11925 Remove the gap between button frame and button background (by Daniel Ramoeller)
Stephan Witt [Sun, 14 Feb 2021 18:04:33 +0000 (19:04 +0100)]
#11925 Remove the gap between button frame and button background (by Daniel Ramoeller)

3 years agoRemove duplicate header
Juergen Spitzmueller [Sun, 14 Feb 2021 18:03:31 +0000 (19:03 +0100)]
Remove duplicate header

3 years ago#8055 add support for system-wide find buffer on Mac
Stephan Witt [Sun, 14 Feb 2021 17:56:25 +0000 (18:56 +0100)]
#8055 add support for system-wide find buffer on Mac

Command-E is standard for paste to find buffer on Mac. That's why the key binding is changed appropriately.

3 years agoProper initialization of private member bv_ of GuiSearchWidget
Stephan Witt [Sun, 14 Feb 2021 17:48:27 +0000 (18:48 +0100)]
Proper initialization of private member bv_ of GuiSearchWidget

3 years agoLet replace combo enabled if replace buttons are disabled.
Juergen Spitzmueller [Sun, 14 Feb 2021 17:23:54 +0000 (18:23 +0100)]
Let replace combo enabled if replace buttons are disabled.

3 years agoRemove empty layout
Juergen Spitzmueller [Sun, 14 Feb 2021 17:20:27 +0000 (18:20 +0100)]
Remove empty layout

3 years agoRemove resolved FIXME
Juergen Spitzmueller [Sun, 14 Feb 2021 17:15:33 +0000 (18:15 +0100)]
Remove resolved FIXME

3 years agoFrame takes less space than GroupBox
Juergen Spitzmueller [Sun, 14 Feb 2021 17:12:38 +0000 (18:12 +0100)]
Frame takes less space than GroupBox

3 years agonullptr
Richard Kimberly Heck [Sun, 14 Feb 2021 17:05:40 +0000 (12:05 -0500)]
nullptr

3 years agoNo reason not to use M as shortcut for Messages Pane.
Richard Kimberly Heck [Sun, 14 Feb 2021 16:58:41 +0000 (11:58 -0500)]
No reason not to use M as shortcut for Messages Pane.

3 years agode.po
Juergen Spitzmueller [Sun, 14 Feb 2021 16:46:52 +0000 (17:46 +0100)]
de.po

3 years agoUpdate release notes for bookmark shortcuts
Richard Kimberly Heck [Sun, 14 Feb 2021 16:46:27 +0000 (11:46 -0500)]
Update release notes for bookmark shortcuts

3 years agoAmend 2baa3a46a6ad.
Richard Kimberly Heck [Sun, 14 Feb 2021 16:34:49 +0000 (11:34 -0500)]
Amend 2baa3a46a6ad.

3 years agoChange bookmark-save bindings. Use S-F3 for word-find-backwards.
Richard Kimberly Heck [Sat, 13 Feb 2021 16:54:54 +0000 (11:54 -0500)]
Change bookmark-save bindings. Use S-F3 for word-find-backwards.

3 years agoTransform simple search dialog to dock widget (#2625)
Juergen Spitzmueller [Sun, 14 Feb 2021 16:18:00 +0000 (17:18 +0100)]
Transform simple search dialog to dock widget (#2625)

Also solves #8054

3 years agoFindAdv: Use global declaration for findOne() to be usefull for unit tests
Kornel Benko [Sun, 14 Feb 2021 08:08:23 +0000 (09:08 +0100)]
FindAdv: Use global declaration for findOne() to be usefull for unit tests

cherry-pick from unit-test-adoption/dff4779b06b, author: Yuriy Skalko <yuriy.skalko@gmail.com>

3 years agoDocBook: mark dates to disallow fonts inside.
Thibaut Cuvelier [Sun, 14 Feb 2021 05:08:36 +0000 (06:08 +0100)]
DocBook: mark dates to disallow fonts inside.

One more test passes.

3 years agoDocBook: some tests start passing with double inlines fixed.
Thibaut Cuvelier [Sun, 14 Feb 2021 04:39:24 +0000 (05:39 +0100)]
DocBook: some tests start passing with double inlines fixed.

3 years agoAmend ac98f21f
Thibaut Cuvelier [Sun, 14 Feb 2021 04:36:37 +0000 (05:36 +0100)]
Amend ac98f21f

3 years agoDocBook: for books only, create a preface around the first few elements so that the...
Thibaut Cuvelier [Sun, 14 Feb 2021 04:20:26 +0000 (05:20 +0100)]
DocBook: for books only, create a preface around the first few elements so that the result is valid.

Books can only contain parts and chapters, not single sections or text after the abstract.

3 years agoFix arrows at ends of math decorations
Enrico Forestieri [Sun, 14 Feb 2021 00:25:07 +0000 (01:25 +0100)]
Fix arrows at ends of math decorations

For math decorations with arrows at both ends the code was simply
stretching a prototype symbol, thus distorting the arrows.

Another drawing mode is introduced allowing to draw an element by
maintaining its aspect ratio also when it has to be drawn at the
other end of a decoration. An element drawn using this mode is simply
shifted to the other side by adding either the width or the height,
and a finer adjustment can be obtained by specifying an additional
horizontal or vertical shift.

3 years agoStop using a GCC extension for an unprintable character in regex.
Thibaut Cuvelier [Sat, 13 Feb 2021 17:23:01 +0000 (18:23 +0100)]
Stop using a GCC extension for an unprintable character in regex.

3 years agoShow python info in About LyX
Richard Kimberly Heck [Sat, 13 Feb 2021 16:53:03 +0000 (11:53 -0500)]
Show python info in About LyX

3 years agoFindAdv: Tweak language settings
Kornel Benko [Sat, 13 Feb 2021 15:19:45 +0000 (16:19 +0100)]
FindAdv: Tweak language settings

Language settings will be ignored if

a.) User selects if with setIgnoreFormat("language", true, true)
or
b.) The pattern does not contain lang-specs other than the default language of document
or
c.) The pattern contains math parts

3 years agoAddress some deprecation warnings
Juergen Spitzmueller [Sat, 13 Feb 2021 14:22:26 +0000 (15:22 +0100)]
Address some deprecation warnings

3 years agoUpdate layouts
Enrico Forestieri [Sat, 13 Feb 2021 14:16:58 +0000 (15:16 +0100)]
Update layouts