]>
git.lyx.org Git - lyx.git/log
Jean-Marc Lasgouttes [Wed, 15 Jan 2020 14:54:47 +0000 (15:54 +0100)]
Make graĥics and external insets tighter
Now RenderGraphics adds offsets that depends on its parent inset.
These offsets are set to 0 for InsetGraphics and InsetExternal. A nice
consequence is that icons shown by Info inset stick out less on screen.
As an unrelated change, the "private:" specifier of these two insets
is moved to a more reasonable place.
Jean-Marc Lasgouttes [Wed, 15 Jan 2020 14:19:38 +0000 (15:19 +0100)]
Fixup
eeb4187a : copy-paste errors
Jean-Marc Lasgouttes [Wed, 15 Jan 2020 10:12:47 +0000 (11:12 +0100)]
Remove some spacing above InsetColapsible when possible
Jean-Marc Lasgouttes [Wed, 15 Jan 2020 10:08:38 +0000 (11:08 +0100)]
Make script inset much tighter in texted.
We use the fact that offsets can be set separately for each inset.
Jean-Marc Lasgouttes [Mon, 13 Jan 2020 21:09:06 +0000 (22:09 +0100)]
Replace the hardcoded TEXT_TO_INSET_OFFSET by tunable values
The basic value is Inset::textOffset(BufferView*), which can in theory
change with the BufferView zoom and dpi. It is hardcoded to 4 for now.
Moreover, we introduce the virtual inset methods
(top|bottom|left|right)Offset, which can be tweaked for each inset.
No change intended (for now).
Juergen Spitzmueller [Wed, 15 Jan 2020 07:40:51 +0000 (08:40 +0100)]
Improve comments
Juergen Spitzmueller [Wed, 15 Jan 2020 07:37:35 +0000 (08:37 +0100)]
Cross out ct-deleted tabular rows/columns in workarea
Pavel Sanda [Tue, 14 Jan 2020 21:12:35 +0000 (22:12 +0100)]
* lib/RELEASE-NOTES
Pavel Sanda [Tue, 14 Jan 2020 20:59:05 +0000 (21:59 +0100)]
endl needs ostream header here.
Juergen Spitzmueller [Tue, 14 Jan 2020 15:23:09 +0000 (16:23 +0100)]
Whitespace
Juergen Spitzmueller [Tue, 14 Jan 2020 15:15:49 +0000 (16:15 +0100)]
Account for bidi (swapped columns) when calculation clines
Fixes #11717
Juergen Spitzmueller [Tue, 14 Jan 2020 12:03:12 +0000 (13:03 +0100)]
Do not output deleted rows columns if show changes in output is false
Juergen Spitzmueller [Tue, 14 Jan 2020 12:02:40 +0000 (13:02 +0100)]
Fix typo in tooltip
Jean-Marc Lasgouttes [Tue, 14 Jan 2020 10:50:44 +0000 (11:50 +0100)]
Rename PainterMetrics::change_ to change
This is not a private variable.
Jean-Marc Lasgouttes [Tue, 14 Jan 2020 10:42:01 +0000 (11:42 +0100)]
Streamline RowPainter a bit
Juergen Spitzmueller [Tue, 14 Jan 2020 09:39:42 +0000 (10:39 +0100)]
Set changed status for changed column/row cells in updateIndexes()
Juergen Spitzmueller [Tue, 14 Jan 2020 08:55:16 +0000 (09:55 +0100)]
Some polishment.
Juergen Spitzmueller [Tue, 14 Jan 2020 08:28:36 +0000 (09:28 +0100)]
Record change author and time for tracked columns/rows
This now uses a real change object
Juergen Spitzmueller [Mon, 13 Jan 2020 18:02:48 +0000 (19:02 +0100)]
Color lines of added/deleted rows/columns
Jean-Marc Lasgouttes [Mon, 13 Jan 2020 16:42:31 +0000 (17:42 +0100)]
Do make changebar shorter for last row
I do not know what the intent was, but it is ugly.
Jean-Marc Lasgouttes [Mon, 13 Jan 2020 15:34:38 +0000 (16:34 +0100)]
Implement isChanged for tabular inset.
Jean-Marc Lasgouttes [Mon, 13 Jan 2020 14:23:32 +0000 (15:23 +0100)]
Only show pencil change mark when inset is collapsed
Juergen Spitzmueller [Mon, 13 Jan 2020 15:02:42 +0000 (16:02 +0100)]
Update RELEASE NOTES
Juergen Spitzmueller [Mon, 13 Jan 2020 14:20:48 +0000 (15:20 +0100)]
Add pref to keep ct markup on copy/paste
Fixes #10278, #10128
Jean-Marc Lasgouttes [Mon, 13 Jan 2020 14:08:50 +0000 (15:08 +0100)]
When iterator is in a table cell, set Changed indicator for the right inset.
Juergen Spitzmueller [Mon, 13 Jan 2020 12:03:52 +0000 (13:03 +0100)]
Prevent NULL pointer
Juergen Spitzmueller [Mon, 13 Jan 2020 08:48:56 +0000 (09:48 +0100)]
Fix backspace deletion of selected items with change tracking
Move cursor at beginning of selection after deletion. Else backspace
operation gets stuck in a loop (tries to remove the selection again
and again).
This also fixes backspace deletion of insets with confirmDeletion() == true.
Fixes #11630
Juergen Spitzmueller [Mon, 13 Jan 2020 08:21:32 +0000 (09:21 +0100)]
Whitespace
Juergen Spitzmueller [Mon, 13 Jan 2020 07:59:26 +0000 (08:59 +0100)]
Rest in peace, dvipost!
Jean-Marc Lasgouttes [Sun, 12 Jan 2020 21:18:36 +0000 (22:18 +0100)]
Fixup
bf7f4d71 : Let changeRefsIfUnique handle undo
This allows for a much lower memory consumption than a plain
recordUnfoFullBuffer.
Related to bug 6494.
Jean-Marc Lasgouttes [Sun, 12 Jan 2020 20:47:54 +0000 (21:47 +0100)]
This should not have been reverted
Jean-Marc Lasgouttes [Sun, 12 Jan 2020 19:09:41 +0000 (20:09 +0100)]
Reimplement computation of change tracking status
This is a reimplementation of
6d4e6aad that is both simpler and more
complete.
This uses the updateBuffer mechanism to implement a fully working
version of Inset::isChanged(). Now the function returns true for an
inset that contains an inset that contains a change, for example.
Moverover Buffer::areChangesPresent() is merely a proxy for
Buffer::inset().isChanged().
Jean-Marc Lasgouttes [Sun, 12 Jan 2020 17:33:01 +0000 (18:33 +0100)]
Revert "Automatically show the review toolbar if the document has tracked changes"
We will replace this with a better solution
For now, only keep
- Changes::isChanged()
- Buffer::areChangesPresent(), replaced by a dummy function
Next step will be to provide a working areChangesPresent() and to
compute Inset::isChanged in updateBuffer.
This reverts commit
6d4e6aad24edb7bcfbc49f03d2432fc9fa06954d .
Jean-Marc Lasgouttes [Sat, 11 Jan 2020 20:21:34 +0000 (21:21 +0100)]
Fixup
b321bb1a : set changebar when inset contains changes
Add Paragraph::isChanged() and InetText::isCgchanged() which indicate
the presence of a change in the relevant object.
Sets Row::needsChangebar() when adding an inset that contains changes.
Related to bug #8645.
Enrico Forestieri [Sun, 12 Jan 2020 17:35:15 +0000 (18:35 +0100)]
Fix bug #11716
Close \lyx*displayobjdeleted so that the correct macro is used for
the following deleted material.
Juergen Spitzmueller [Sat, 11 Jan 2020 17:11:26 +0000 (18:11 +0100)]
Do not track deletion of empty paragraph
Fixes #10412
Juergen Spitzmueller [Sat, 11 Jan 2020 15:51:00 +0000 (16:51 +0100)]
Output proper driver to changebar package when using dvi chain
Else the bars are not shown
Juergen Spitzmueller [Sat, 11 Jan 2020 15:17:04 +0000 (16:17 +0100)]
Implement change tracking of column/row addition/deletion
Fixes #8469
File format change
Jean-Marc Lasgouttes [Sat, 11 Jan 2020 12:39:20 +0000 (13:39 +0100)]
Avoid blinking change tracking cur for math inset.
Since there is a margin above and below the inset, there is no problem
for putting it higher.
Fixes bug #11684.
Juergen Spitzmueller [Fri, 10 Jan 2020 14:45:59 +0000 (15:45 +0100)]
de/UserGuide: minor update.
Juergen Spitzmueller [Fri, 10 Jan 2020 14:43:23 +0000 (15:43 +0100)]
de.po
Kornel Benko [Fri, 10 Jan 2020 10:15:15 +0000 (11:15 +0100)]
Update sk.po
Juergen Spitzmueller [Fri, 10 Jan 2020 09:38:21 +0000 (10:38 +0100)]
typo
Juergen Spitzmueller [Fri, 10 Jan 2020 09:21:09 +0000 (10:21 +0100)]
Add buffer param to opt-out fragile content movement
Fixes #11714
File format change
Jean-Marc Lasgouttes [Tue, 7 Jan 2020 15:23:03 +0000 (16:23 +0100)]
Update to boost 1.72
This requires to add a assertion_failed_msg handler. Take this
occasion to cleanup and uniformize the various boost.cpp files that we
have.
This adds 50k line of whatever to the source code.
Jean-Marc Lasgouttes [Mon, 6 Jan 2020 16:10:38 +0000 (17:10 +0100)]
Improve Update::FitCursor when there is a selection
It is better indeed to try to make the whole selection fit on screen.
Fixes bug #11012.
Juergen Spitzmueller [Mon, 6 Jan 2020 16:26:38 +0000 (17:26 +0100)]
Fix ordering
Juergen Spitzmueller [Mon, 6 Jan 2020 16:20:55 +0000 (17:20 +0100)]
Add Eugene (Yu Jin) to the credits
Kornel Benko [Mon, 6 Jan 2020 11:44:52 +0000 (12:44 +0100)]
Revised description for installation on Windows
Patch from Eugene Chornyi <technikmagma@gmail.com>
Juergen Spitzmueller [Sun, 5 Jan 2020 12:45:20 +0000 (13:45 +0100)]
Typo
Juergen Spitzmueller [Sun, 5 Jan 2020 12:41:02 +0000 (13:41 +0100)]
Add Patrick De Visschere to the credits
Juergen Spitzmueller [Sun, 5 Jan 2020 12:32:46 +0000 (13:32 +0100)]
generate_contributions.py: allow mail-archive message IDs
as MARC stopped tracking us
Juergen Spitzmueller [Sun, 5 Jan 2020 08:00:07 +0000 (09:00 +0100)]
Additional.lyx: Add a note on Okular inverse search.
Juergen Spitzmueller [Fri, 3 Jan 2020 14:01:23 +0000 (15:01 +0100)]
de.po
Juergen Spitzmueller [Fri, 3 Jan 2020 14:01:13 +0000 (15:01 +0100)]
ru.po: fix some escapes
Juergen Spitzmueller [Fri, 3 Jan 2020 12:39:50 +0000 (13:39 +0100)]
Fix copy-paste error (spotted by coverity)
Kornel Benko [Fri, 3 Jan 2020 12:16:19 +0000 (13:16 +0100)]
Update sk.po
Kornel Benko [Fri, 3 Jan 2020 12:08:32 +0000 (13:08 +0100)]
Adv search: fix handling of multiple params of a latex command
Fix the case of possibly nested parentheses
Juergen Spitzmueller [Thu, 2 Jan 2020 15:52:55 +0000 (16:52 +0100)]
de.po
Juergen Spitzmueller [Thu, 2 Jan 2020 13:10:22 +0000 (14:10 +0100)]
Introduce Menu item to accept/reject all changes in master/children
Fixes #11652
Juergen Spitzmueller [Thu, 2 Jan 2020 13:09:24 +0000 (14:09 +0100)]
New helper lfun ifrelatives
This executes a command only if a buffer has either a master or children
Helps to disable master-related items in the UI
Juergen Spitzmueller [Thu, 2 Jan 2020 13:09:01 +0000 (14:09 +0100)]
Further improve status check of master-buffer-forall
Günter Milde [Wed, 1 Jan 2020 15:08:28 +0000 (16:08 +0100)]
ctests: ignore irrelevant export formats for some dedicated tests.
Kornel Benko [Wed, 1 Jan 2020 13:03:21 +0000 (14:03 +0100)]
Fix handling of doRemove in advanced search
Amend
11c47ddf
Juergen Spitzmueller [Tue, 31 Dec 2019 17:46:33 +0000 (18:46 +0100)]
Slightly better status of master-buffer-forall
Juergen Spitzmueller [Tue, 31 Dec 2019 14:46:03 +0000 (15:46 +0100)]
Track changes in InsetCommands
Juergen Spitzmueller [Tue, 31 Dec 2019 12:47:06 +0000 (13:47 +0100)]
Do not copy deleted text to external clipboard
Fixes #10416
Juergen Spitzmueller [Tue, 31 Dec 2019 11:29:53 +0000 (12:29 +0100)]
Honor change tracking when automatically renaming refs to labels
Fixes rest of #11556
Juergen Spitzmueller [Tue, 31 Dec 2019 11:27:00 +0000 (12:27 +0100)]
Implement master-buffer-forall
Similar to buffer-forall with the notable exception that its scope is
limited to the files of a project (master and all children)
Juergen Spitzmueller [Tue, 31 Dec 2019 11:24:25 +0000 (12:24 +0100)]
Update RELEASE-NOTES
Kornel Benko [Tue, 31 Dec 2019 10:42:23 +0000 (11:42 +0100)]
Update sk.po
Günter Milde [Mon, 30 Dec 2019 16:48:20 +0000 (17:48 +0100)]
ctests: supported-languages Fix inputenc Error: Invalid UTF-8 byte "A0".
This happens with "inputenc: auto-legacy" if a language with default
encoding "utf8" (e.g. Turkmen or Mongolian) is used in a Quote
(or another environment).
Günter Milde [Sun, 29 Dec 2019 15:10:54 +0000 (16:10 +0100)]
ctest: work around conflict between Macedonian and some other Cyrillic-using languages.
Juergen Spitzmueller [Mon, 30 Dec 2019 15:28:15 +0000 (16:28 +0100)]
whitespace
Juergen Spitzmueller [Mon, 30 Dec 2019 12:25:49 +0000 (13:25 +0100)]
Juergen Spitzmueller [Mon, 30 Dec 2019 12:00:03 +0000 (13:00 +0100)]
Fix some regressions with ct-struckout underlined display math
Kornel Benko [Sun, 29 Dec 2019 16:40:13 +0000 (17:40 +0100)]
Do not search in deleted text in change tracking mode
Juergen Spitzmueller [Sun, 29 Dec 2019 13:09:52 +0000 (14:09 +0100)]
Implement (basic) ct for tabular-feature delete-row and delete-column
Fixes part of #8469
For a proper fix that works with change-reject as well as with hide
changes in output, we need to implement
ct information in tabular's row and column.
Juergen Spitzmueller [Sun, 29 Dec 2019 11:07:55 +0000 (12:07 +0100)]
Remove obsolete FIXMEs
Juergen Spitzmueller [Sun, 29 Dec 2019 10:01:18 +0000 (11:01 +0100)]
Track change of label name
Fixes #11556
Juergen Spitzmueller [Sun, 29 Dec 2019 09:10:14 +0000 (10:10 +0100)]
Assure deleted display objects start on new line
Juergen Spitzmueller [Sun, 29 Dec 2019 08:45:06 +0000 (09:45 +0100)]
Indicate change of content in label of collapsed collapsible
Fixes #8645
Kornel Benko [Sun, 29 Dec 2019 08:37:24 +0000 (09:37 +0100)]
Update sk.po
Juergen Spitzmueller [Sat, 28 Dec 2019 16:49:50 +0000 (17:49 +0100)]
de.po
Juergen Spitzmueller [Sat, 28 Dec 2019 12:43:17 +0000 (13:43 +0100)]
Centralize code to markup deleted complex objects (with tikz) in output
This fixes #9293
Juergen Spitzmueller [Sat, 28 Dec 2019 12:41:19 +0000 (13:41 +0100)]
Restructure ct LaTeX markup
This makes it easier to redefine the markup only.
Juergen Spitzmueller [Fri, 27 Dec 2019 13:49:51 +0000 (14:49 +0100)]
Do not track changes while accepting/rejecting all changes
Fixes #7487
Juergen Spitzmueller [Fri, 27 Dec 2019 13:32:20 +0000 (14:32 +0100)]
Correctly handle deleted text on inset-dissolve
Part of #10128
Juergen Spitzmueller [Fri, 27 Dec 2019 12:56:53 +0000 (13:56 +0100)]
Properly nest \lyxdeleted within text markup
Fixes #8807
Juergen Spitzmueller [Fri, 27 Dec 2019 12:01:35 +0000 (13:01 +0100)]
Consider deleted spaces in spell checking
Addresses part of #11470
Juergen Spitzmueller [Fri, 27 Dec 2019 11:05:56 +0000 (12:05 +0100)]
Handle change-accept and change-reject in multi-cell selection
Fixes #8426
Juergen Spitzmueller [Fri, 27 Dec 2019 10:06:34 +0000 (11:06 +0100)]
Introduce buffer-reset-export
Small helper lfun that makes LyX remove the aux file before doing the
next export. A bit more convenient than removing the files manually
or restarting LyX.
Juergen Spitzmueller [Fri, 27 Dec 2019 10:06:11 +0000 (11:06 +0100)]
Increase lyxrc format
Juergen Spitzmueller [Fri, 27 Dec 2019 09:35:52 +0000 (10:35 +0100)]
Add pref option to disable underlining of added text (in workarea)
Addresses #10102
Juergen Spitzmueller [Fri, 27 Dec 2019 08:50:11 +0000 (09:50 +0100)]
CT: Mark deleted floats in output
Fixes #11175
Juergen Spitzmueller [Fri, 27 Dec 2019 08:01:06 +0000 (09:01 +0100)]
Correctly show merged paragraphs with ct in plain text output
Fixes #3137
Juergen Spitzmueller [Fri, 27 Dec 2019 07:42:43 +0000 (08:42 +0100)]
Initialize correct font in description label with ct
Fixes #10811
Jean-Marc Lasgouttes [Mon, 16 Dec 2019 17:26:55 +0000 (18:26 +0100)]
Do not check again and again for non existing files
If the file of an InsetInclude does not exist, loadIfNeeded will try
again and again to look for it. This is very bad for files with many
include insets, especially on windows.
Fixes bug #11656.
Juergen Spitzmueller [Thu, 26 Dec 2019 15:36:25 +0000 (16:36 +0100)]
Fix crash
Juergen Spitzmueller [Thu, 26 Dec 2019 14:43:00 +0000 (15:43 +0100)]
Signify added/deleted apr break in ct output
Fixes #3159