]>
git.lyx.org Git - features.git/log
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:35:38 +0000 (18:35 +0100)]
FindAndReplaceOptions: initialize properly matchAtStart
Spotted by coverity.
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:29:55 +0000 (18:29 +0100)]
No need to set background color of a newly created branch.
Fixes a null pointer dereference spotted by coverity.
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:17:16 +0000 (18:17 +0100)]
LengthValidator: initialize properly positive_
Spotted by coverity.
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:01:08 +0000 (18:01 +0100)]
Initialise correctly branch_list_id_
Reported by coverity.
Kornel Benko [Fri, 29 Jan 2021 15:16:18 +0000 (16:16 +0100)]
Update sk.po
Kornel Benko [Fri, 29 Jan 2021 15:11:16 +0000 (16:11 +0100)]
Cmake key-tests: These are very touchy in respect to timings
Cmake key-tests: These are very touchy in respect to timings
1.) Try to use shortcuts instead of direct command
2.) use bigger pause where needed
Kornel Benko [Fri, 29 Jan 2021 15:05:07 +0000 (16:05 +0100)]
SK-Bindings: remove a binding prohibiting the use as a prefix
Juergen Spitzmueller [Fri, 29 Jan 2021 14:46:46 +0000 (15:46 +0100)]
Cosmetics
Juergen Spitzmueller [Fri, 29 Jan 2021 14:45:54 +0000 (15:45 +0100)]
Do not output \maketitle in table cells if the table is in the title
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 13:30:21 +0000 (14:30 +0100)]
Fixup
f3a0e8ff : Reset needUpdate after buffer update
Enrico Forestieri [Fri, 29 Jan 2021 12:12:29 +0000 (13:12 +0100)]
Avoid deprecation warnings
In Qt 5.15 many deprecation warnings are issued, presumably for
helping the port to Qt 6. They are really a load but can be
shuten up by using -DQT_NO_DEPRECATED_WARNINGS, except for the ones
about MidButton, AdjustToMinimumContentsLength, and DefaultLocaleLongDate.
This change should not affect compilation with Qt 4, as all changes are
backward compatible (only Qt versions prior 4.5 could be affected).
Enrico Forestieri [Fri, 29 Jan 2021 11:29:36 +0000 (12:29 +0100)]
Update it.po
Juergen Spitzmueller [Fri, 29 Jan 2021 09:15:36 +0000 (10:15 +0100)]
Set proper multirow size in X table columns
Scott Kostyshak [Thu, 28 Jan 2021 18:35:57 +0000 (13:35 -0500)]
ctests: unignore tests thanks to lyx2lyx feature
The lyx2lyx roundtrip feature added at
364532a7 fixed the
convergence of some tests so we remove them from the ignored list.
Scott Kostyshak [Thu, 28 Jan 2021 16:59:41 +0000 (11:59 -0500)]
ctests: log found regression and fix
Jean-Marc Lasgouttes [Thu, 28 Jan 2021 09:10:18 +0000 (10:10 +0100)]
Run updateBuffer when adding/merging changes
Following
4a4ded22 , the enabling of some change-related functions is
handled in updateBuffer. However, this method is not ran at every
document change for performance reasons.
This patch adds code to every place that modifies
Paragraph::Private::changes_ that checks whether the `changedness' of
the paragraph, err... changes.
To this end, a new helper struct is introduced that remembers
paragraph state at contruction time, and compares it to new state in
the destructor.
New forceUpdate/needUpdate methods are added to Buffer class, since
the cursor is in general not available in the places where these
changes are made.
Fixes bug #12074.
Juergen Spitzmueller [Thu, 28 Jan 2021 09:34:06 +0000 (10:34 +0100)]
de.po
Juergen Spitzmueller [Thu, 28 Jan 2021 09:28:57 +0000 (10:28 +0100)]
Update tex2lyx tests
Juergen Spitzmueller [Thu, 28 Jan 2021 09:24:28 +0000 (10:24 +0100)]
Add frontispiece layout to KOMA classes
Juergen Spitzmueller [Thu, 28 Jan 2021 08:25:20 +0000 (09:25 +0100)]
Consider cell language
Juergen Spitzmueller [Thu, 28 Jan 2021 07:44:21 +0000 (08:44 +0100)]
Improve lyx2lyx roundtrip with cellvarwidth
Scott Kostyshak [Thu, 28 Jan 2021 05:25:30 +0000 (00:25 -0500)]
ctests: add found regression and fix
Scott Kostyshak [Thu, 28 Jan 2021 05:14:37 +0000 (00:14 -0500)]
ctests-costs-benefits: define false positive
A false positive could either be "not a bug" or a bug that is not
worth the time or complexity to fix. For the purpose of evaluating
the tests, the distinction is not important.
Scott Kostyshak [Thu, 28 Jan 2021 01:28:38 +0000 (20:28 -0500)]
ctests: ignore lyx2lyx fails due to no convergence
These exports knowingly do not pass the convergence tests because
of ERT export.
Thibaut Cuvelier [Wed, 27 Jan 2021 19:13:42 +0000 (20:13 +0100)]
Fix dependencies downloading on Windows.
Yuriy Skalko [Mon, 25 Jan 2021 13:12:53 +0000 (15:12 +0200)]
Update Russian localization
Kornel Benko [Wed, 27 Jan 2021 09:49:20 +0000 (10:49 +0100)]
Update sk.po
Jean-Marc Lasgouttes [Wed, 27 Jan 2021 09:31:20 +0000 (10:31 +0100)]
Provide translation of caption label for fr and he.
Part of bug #10531.
Jean-Marc Lasgouttes [Tue, 26 Jan 2021 18:29:37 +0000 (19:29 +0100)]
Remerge strings
Jean-Marc Lasgouttes [Tue, 26 Jan 2021 18:26:36 +0000 (19:26 +0100)]
Make InsetCaption label localizable
Part of bug #10531.
Juergen Spitzmueller [Wed, 27 Jan 2021 07:24:17 +0000 (08:24 +0100)]
count_pars_in_inset: check nested insets
Scott Kostyshak [Tue, 26 Jan 2021 18:28:41 +0000 (13:28 -0500)]
ctests: log cost of recent false positive
Scott Kostyshak [Tue, 26 Jan 2021 18:19:34 +0000 (13:19 -0500)]
Start a log file to track benefit/costs of ctests
The ctests are not convenient tests. In this file we can attempt to
log the benefits and costs to using them so we can periodically
evaluate which tests we should keep and which we should get rid of.
Jean-Marc Lasgouttes [Tue, 26 Jan 2021 16:55:09 +0000 (17:55 +0100)]
Fix InsetCaption in RTL environment.
This requires to add a new mutable member, rtl_, to remember this context.
Part of bug #10531.
Juergen Spitzmueller [Tue, 26 Jan 2021 15:44:49 +0000 (16:44 +0100)]
de.po
Juergen Spitzmueller [Tue, 26 Jan 2021 13:50:14 +0000 (14:50 +0100)]
Some minor polishment
Juergen Spitzmueller [Tue, 26 Jan 2021 13:48:12 +0000 (14:48 +0100)]
Fix copy-paste error (#12092)
Enrico Forestieri [Tue, 26 Jan 2021 10:11:51 +0000 (11:11 +0100)]
Update it.po
Jean-Marc Lasgouttes [Tue, 26 Jan 2021 09:17:25 +0000 (10:17 +0100)]
InsetCaption: move intialization to declaration
Juergen Spitzmueller [Tue, 26 Jan 2021 07:42:39 +0000 (08:42 +0100)]
Introduce InputGlobal (#12087)
This is a variant of Input for layout files that only searches build
and system directories and thus allows "InputGlobal name.inc" in a user
file name.inc that attempts to modify its global counterpart.
Richard Kimberly Heck [Mon, 25 Jan 2021 19:35:37 +0000 (14:35 -0500)]
Const
Juergen Spitzmueller [Mon, 25 Jan 2021 18:00:50 +0000 (19:00 +0100)]
Allow to move multiple (selected) columns/rows (#9045)
Jean-Marc Lasgouttes [Mon, 25 Jan 2021 17:35:41 +0000 (18:35 +0100)]
Disable respectOSkbd checkbox
This is not ready yet. See discussion in #6450.
Jean-Marc Lasgouttes [Thu, 21 Jan 2021 14:18:43 +0000 (15:18 +0100)]
Do not disable DEPM paragraph deleting when FreeSpacing is true.
This is an old issue that never got fixed.
Fixes bug #10413.
Kornel Benko [Mon, 25 Jan 2021 11:17:16 +0000 (12:17 +0100)]
Update sk.po
Juergen Spitzmueller [Mon, 25 Jan 2021 11:04:45 +0000 (12:04 +0100)]
Fixup revert_vcolumns2 routine
Juergen Spitzmueller [Mon, 25 Jan 2021 10:00:06 +0000 (11:00 +0100)]
GuiTabular: only apply changed features (#10450)
Kornel Benko [Mon, 25 Jan 2021 09:59:28 +0000 (10:59 +0100)]
Aupdate sk.po
Kornel Benko [Mon, 25 Jan 2021 09:52:14 +0000 (10:52 +0100)]
FindAdv: Select search for language-format depending on document language.
In case of search with format:
If the pattern contains language spec different to the document language
then do not ignore language setting.
Also renamed 'matchstart' in FindAndReplaceOptions to 'matchAtStart'
Juergen Spitzmueller [Mon, 25 Jan 2021 08:09:07 +0000 (09:09 +0100)]
Fix alignment missetting with multirows (#10826)
Juergen Spitzmueller [Sun, 24 Jan 2021 14:28:37 +0000 (15:28 +0100)]
Fix on-screen vertical alignment in some table cells (#7757)
Juergen Spitzmueller [Sun, 24 Jan 2021 13:48:55 +0000 (14:48 +0100)]
LFUN_FILE_OPEN: Strip quotes from argument (#12091)
Juergen Spitzmueller [Sat, 23 Jan 2021 14:54:24 +0000 (15:54 +0100)]
de.po
Juergen Spitzmueller [Sat, 23 Jan 2021 14:50:39 +0000 (15:50 +0100)]
Fixup tex2lyx parse_cell_content method
Juergen Spitzmueller [Sat, 23 Jan 2021 14:22:09 +0000 (15:22 +0100)]
Fix metrics of varwidth cells (#12089)
Juergen Spitzmueller [Sat, 23 Jan 2021 13:53:51 +0000 (14:53 +0100)]
Support non-default styles in multirow
Juergen Spitzmueller [Sat, 23 Jan 2021 13:24:54 +0000 (14:24 +0100)]
Allow paragraph and line breaks in multirow (#12083)
Juergen Spitzmueller [Sat, 23 Jan 2021 08:33:52 +0000 (09:33 +0100)]
tex2lyx: support extended varwidth table cells
Juergen Spitzmueller [Sat, 23 Jan 2021 07:19:21 +0000 (08:19 +0100)]
update tex2lyx tests
Juergen Spitzmueller [Sat, 23 Jan 2021 07:10:55 +0000 (08:10 +0100)]
Fix status of tabular function
Scott Kostyshak [Sat, 23 Jan 2021 03:26:02 +0000 (22:26 -0500)]
Fix compilation of ru/UserGuide.lyx
Consistent with
0629b9b7 .
Kornel Benko [Fri, 22 Jan 2021 20:11:28 +0000 (21:11 +0100)]
FindAdv: Make search for text in deleted regions configurable.
The function call 'search-ignore deleted false'
makes findadv to search also deleted parts,
while 'search-ignore deleted true' will omit these parts.
Juergen Spitzmueller [Fri, 22 Jan 2021 18:16:43 +0000 (19:16 +0100)]
Format incremented to 605: Extended variable table cell support
- Multicolumn now supports multiple paragraphs in non-fixed-width context.
- Multicolumn now supports valign in non-fixed-width context.
- varwidth columns now properly align horizontally and vertically.
Kornel Benko [Fri, 22 Jan 2021 16:03:54 +0000 (17:03 +0100)]
FindAdv: Do not search in deleted text.
Yuriy Skalko [Sun, 10 Jan 2021 11:27:40 +0000 (13:27 +0200)]
Update Development.lyx
Juergen Spitzmueller [Fri, 22 Jan 2021 09:34:41 +0000 (10:34 +0100)]
Prevent more local colors from leaking (#6626)
Richard Kimberly Heck [Thu, 21 Jan 2021 21:51:11 +0000 (16:51 -0500)]
Shortcut for custom insets
Kornel Benko [Thu, 21 Jan 2021 12:39:25 +0000 (13:39 +0100)]
FindAdv: Fix backward search and search for special char '{' and '}'
Change effects mostly searches with ignored format search.
Backwards search is much slower, but at least more or less working.
Juergen Spitzmueller [Thu, 21 Jan 2021 08:04:29 +0000 (09:04 +0100)]
Do not paint change mark for individual table cell insets (#12077)
Yuriy Skalko [Sat, 9 Jan 2021 12:13:57 +0000 (14:13 +0200)]
Update Russian localization
Juergen Spitzmueller [Thu, 21 Jan 2021 07:09:41 +0000 (08:09 +0100)]
Prevent branch background color from leaking out of the document
This is assured by a unique branchlist ID that is now part of the branch
color name
Kornel Benko [Wed, 20 Jan 2021 16:09:08 +0000 (17:09 +0100)]
Amend
c041bb66 : Unintended debug output slipped in
Juergen Spitzmueller [Wed, 20 Jan 2021 16:05:10 +0000 (17:05 +0100)]
Account for spaces in paths to templates (#12082)
Juergen Spitzmueller [Wed, 20 Jan 2021 13:15:48 +0000 (14:15 +0100)]
Do not rely on hardcoded color when determining boxbgcolor
Juergen Spitzmueller [Wed, 20 Jan 2021 12:58:24 +0000 (13:58 +0100)]
Do not rely on hardcoded color when determining notefontcolor
Juergen Spitzmueller [Wed, 20 Jan 2021 12:57:44 +0000 (13:57 +0100)]
Set LaTeX color for notefontcolor (#9283)
Juergen Spitzmueller [Wed, 20 Jan 2021 12:55:48 +0000 (13:55 +0100)]
Ass method to add a latexname to a local color (needed for #9283)
Kornel Benko [Wed, 20 Jan 2021 11:24:33 +0000 (12:24 +0100)]
FindAdv: Fix interpretation of match-results
Since commit
c600906d92d all matches are match-results of examined strings starting
with a character of the same cursor depth, we can be sure to match the same string again if:
1.) the number of characters to the end of the examined strings match.
2.) the match-lengths are identical
Juergen Spitzmueller [Wed, 20 Jan 2021 11:06:22 +0000 (12:06 +0100)]
Correct disabled graphics scale string (#9443)
Juergen Spitzmueller [Wed, 20 Jan 2021 10:14:24 +0000 (11:14 +0100)]
Final touch on lyxgreyedout
Juergen Spitzmueller [Wed, 20 Jan 2021 10:04:16 +0000 (11:04 +0100)]
Further simplification of lyxgreyedout definition
Also fix an issue in RTL/LuaTeX
Juergen Spitzmueller [Wed, 20 Jan 2021 09:28:33 +0000 (10:28 +0100)]
Centralize lyxgreyedout definition with RTL and polish LaTeX output
Kornel Benko [Wed, 20 Jan 2021 08:39:03 +0000 (09:39 +0100)]
CMake: in Hunspell ABI check only link if external
(Thanks Scott for the patch and comment)
For the HAVE_HUNSPELL_CXXABI check, only test a (real) link command
if an external libhunspell is used or if macOS is used (see
350a9daf ). If the bundled libhunspell is used, it has not been built
yet at the point of the initial cmake command.
This commit fixes an issue when the bundled Hunspell is desired.
Before, the test command would still attempt to link to the system
hunspell library. Even if the system library is available, there
could be problems if there is a mismatch of the CXX ABI. And
finally, even if the system library is available and there is no
mismatch, compiling the test file with Clang and -stdlib=libc++
seems to cause a failure when linking with the system Hunspell
library.
Juergen Spitzmueller [Wed, 20 Jan 2021 07:59:52 +0000 (08:59 +0100)]
Use different color for change-tracked greyedout text (#12025)
We use a blended version of the normal lyxadded and lyxdeleted colors
Juergen Spitzmueller [Wed, 20 Jan 2021 07:05:17 +0000 (08:05 +0100)]
Comment
Juergen Spitzmueller [Wed, 20 Jan 2021 06:38:33 +0000 (07:38 +0100)]
Do not output tracked deleted paragraph break in listings (#10418)
Jean-Marc Lasgouttes [Tue, 19 Jan 2021 18:21:43 +0000 (19:21 +0100)]
Fix off-by-one condition when right clicking over selection
Fixes bug #10429.
Jean-Marc Lasgouttes [Tue, 19 Jan 2021 12:23:03 +0000 (13:23 +0100)]
Cleanup button handling in InsetInclude
The include inset has its own button_ object, that hides the button_
object of the InsetCommand parent. Remove that.
Remove the hand-made caching that uses the set_label_ boolean.
Let metrics() and draw() use the inherited methods. This requires to
use setBroken as needed and to implement inheritFont.
The use of InsetCommand::draw is what restores the hover effect.
Fixes bug #10415.
Juergen Spitzmueller [Tue, 19 Jan 2021 17:33:22 +0000 (18:33 +0100)]
update tex2lyx tests
Juergen Spitzmueller [Tue, 19 Jan 2021 17:29:36 +0000 (18:29 +0100)]
de.po
Kornel Benko [Tue, 19 Jan 2021 16:52:36 +0000 (17:52 +0100)]
FindAdv: Reduce the count of debug messages
Juergen Spitzmueller [Tue, 19 Jan 2021 16:04:04 +0000 (17:04 +0100)]
Branch: Implement separate static colors in dark mode
Set colors now apply to the active mode only. Matching reversed colors
are produced for the other mode if no color is assigned yet.
File format change.
Juergen Spitzmueller [Tue, 19 Jan 2021 12:27:45 +0000 (13:27 +0100)]
Consider darkmode when inserting new branch
Jean-Marc Lasgouttes [Tue, 19 Jan 2021 10:27:54 +0000 (11:27 +0100)]
Remove RenderButton::button_box_, which is unused.
Juergen Spitzmueller [Tue, 19 Jan 2021 08:22:07 +0000 (09:22 +0100)]
Update color table in branch list
Juergen Spitzmueller [Tue, 19 Jan 2021 08:21:36 +0000 (09:21 +0100)]
Add method to check whether LyX runs in dark mode
Juergen Spitzmueller [Tue, 19 Jan 2021 07:37:05 +0000 (08:37 +0100)]
Use isDarkMode() method
Kornel Benko [Mon, 18 Jan 2021 16:06:05 +0000 (17:06 +0100)]
FindAdv: Remove dead code
+ correct detection of backspaced '{' and '}' in regex with format search enabled
Kornel Benko [Mon, 18 Jan 2021 15:06:40 +0000 (16:06 +0100)]
FindAdv: Amend2
dacd2c45 : Handle search for '{' and '}'
Allow for using 'a{2,7}' to find 2 to 7 consecutive chars 'a'
Kornel Benko [Mon, 18 Jan 2021 11:26:29 +0000 (12:26 +0100)]
Update sk.po