]>
git.lyx.org Git - features.git/log
Scott Kostyshak [Wed, 2 Jan 2019 19:04:39 +0000 (14:04 -0500)]
ctests: restore thesis.lyx lyx2lyx tests
These tests failed because of (multiple instances of) the following
warning:
Warning: a buffer should not have two parents!
This warning is expected, because, for example, chapter-1 includes
Bibliography.lyx and chapter-2 includes Bibliography.lyx. thesis.lyx
includes both chapter-1 and chapter-2, so both are loaded (but
hidden), and Bibliography.lyx is loaded (but hidden), and LyX then
sees that more than one buffer includes Bibliography.lyx
The consequence of ignoring this warning is that we will not catch
any future regression that triggers this warning when it should not.
Scott Kostyshak [Wed, 2 Jan 2019 19:02:03 +0000 (14:02 -0500)]
Fix compilation of chessgame.lyx with only TL 2018
chess-workshop-symbols.sty is no longer (on an updated TL 2018)
included in the TL package "skak". This commit replaces the loading
of chess-workshop-symbols in the custom preamble with the loading of
the package chessfss.
chessfss is in TL 2016 and TL 2018, and the example file now
compiles with both TL installations.
Before this commit, compilation of chessgame.lyx was possible if
chess-workshop-symbols.sty were installed manually (i.e., outside of
TL), but it is preferred to keep dependencies to only TL if
possible.
Jean-Marc Lasgouttes [Wed, 2 Jan 2019 17:49:23 +0000 (18:49 +0100)]
Add override statements to please clang
Eventually, all overridden virtual methods should be marked properly.
Currently, clang only warns about those in classes that already use
override in at least one place (which was the case dor GuiApplication).
Jean-Marc Lasgouttes [Wed, 2 Jan 2019 17:36:02 +0000 (18:36 +0100)]
Remove premature (and bad) optimization
When blinking the caret, it looks like a cool idea to only update the
small rectangle containing the caret. Actually it is an awful idea, since
the paint event will paint some rows, and these rows will not be
properly painted outside of the small rectangle. Unfortunately, the
painter will skip those "painted" rows on next paint events.
This leads to painting errors that depend on the ordering of "real"
and "caret" paint events. This is the reason why they only appeared
with split screens.
Quote of the day: ``The real problem is that programmers have spent far
too much time worrying about efficiency in the wrong places and at the
wrong times; premature optimization is the root of all evil (or at
least most of it) in programming.''
-- Donald Knuth, The Art of Computer Programming.
Fixes bug #11354.
Kornel Benko [Wed, 2 Jan 2019 15:32:24 +0000 (16:32 +0100)]
Amend
12aaeb25 , add Bibliography.lyx to the set of not tested subdocuments
Juergen Spitzmueller [Wed, 2 Jan 2019 14:37:11 +0000 (15:37 +0100)]
fix tcolorbox reversion routines
Enrico Forestieri [Wed, 2 Jan 2019 08:49:59 +0000 (09:49 +0100)]
Fix conversion of math braces to html
Juergen Spitzmueller [Wed, 2 Jan 2019 08:19:45 +0000 (09:19 +0100)]
Fix Include dialog UI
#11443
Enrico Forestieri [Wed, 2 Jan 2019 08:08:39 +0000 (09:08 +0100)]
Amend [
2dcb7300 /lyxgit]
Avoid a crash by checking that a cell is not empty before
accessing its content.
Juergen Spitzmueller [Tue, 1 Jan 2019 15:34:15 +0000 (16:34 +0100)]
Fis some old box reversion routines.
Juergen Spitzmueller [Mon, 31 Dec 2018 17:32:38 +0000 (18:32 +0100)]
Mark labels in non-outputting insets as inactive.
Fixes: #11437
Juergen Spitzmueller [Mon, 31 Dec 2018 17:30:20 +0000 (18:30 +0100)]
Add inactive labels to the toc
It makes sense to navigate to them.
They are marked as inactive with the cross.
Juergen Spitzmueller [Mon, 31 Dec 2018 17:28:44 +0000 (18:28 +0100)]
Fix gotoLabel with inactive labels
This now frist looks for the active label. Only if none is found, it
jumps to the (first) inactive label.
Juergen Spitzmueller [Mon, 31 Dec 2018 17:27:34 +0000 (18:27 +0100)]
Separate LabelCache from RefCache
We only assign references to label _string_. Which inset this corresponds
to will be decided in context.
Juergen Spitzmueller [Mon, 31 Dec 2018 13:19:06 +0000 (14:19 +0100)]
typo
Juergen Spitzmueller [Sun, 30 Dec 2018 17:27:28 +0000 (18:27 +0100)]
When checking inset activity status, also check containing insets
which could be deteled
Juergen Spitzmueller [Sun, 30 Dec 2018 12:24:51 +0000 (13:24 +0100)]
Expand comment
José Matos [Sat, 29 Dec 2018 19:24:59 +0000 (19:24 +0000)]
Merge branch 'master' of git.lyx.org:lyx
José Matos [Sat, 29 Dec 2018 19:14:41 +0000 (19:14 +0000)]
Move all python shebangs from /usr/bin/env to python3.
The change is only relevant to development as all the call to python scripts is done
calling C++ os::python that invoques the appropriate python version.
The change is two fold, on one hand remove all the uses of /usr/bin/env for python.
On the other hand rename all the calls to python from python to python3 making it explicit
and being compliant with PEP 394 -- The "python" Command on Unix-Like Systems:
https://www.python.org/dev/peps/pep-0394/
Remove the sheebang from src/graphics/GraphicsConverter.cpp because it is not necessary.
Some small whitespace changes.
Enrico Forestieri [Sat, 29 Dec 2018 19:11:56 +0000 (20:11 +0100)]
Fix bug #4269
Call gunzip with quoted filenames as they may contain spaces or
other special characters.
Juergen Spitzmueller [Sat, 29 Dec 2018 17:18:48 +0000 (18:18 +0100)]
de.po
Juergen Spitzmueller [Sat, 29 Dec 2018 16:52:25 +0000 (17:52 +0100)]
micro amendments
Richard Kimberly Heck [Sat, 29 Dec 2018 16:47:25 +0000 (11:47 -0500)]
New layout file for American Mathematical Monthly.
From John Perry. See bug #10803.
Juergen Spitzmueller [Sat, 29 Dec 2018 15:26:29 +0000 (16:26 +0100)]
de.po
Juergen Spitzmueller [Sat, 29 Dec 2018 14:05:08 +0000 (15:05 +0100)]
Handle bibliography irritations in thesis template
Outsource the bibliography to an own child, which is then also included
in the children's "Standalone" branch
Add some clarifying notes.
Fixes: #10748
Pavel Sanda [Sat, 29 Dec 2018 13:36:38 +0000 (14:36 +0100)]
Completion popup menu did not respond to Esc.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg207346.html
Juergen Spitzmueller [Sat, 29 Dec 2018 12:36:39 +0000 (13:36 +0100)]
Fix some parsing glitches in Autonest and IsAutonestedBy
Layouts can have spaces, underlines (that must be read as spaces, and
be enquoted)
Candidate for stable
Juergen Spitzmueller [Sat, 29 Dec 2018 12:36:13 +0000 (13:36 +0100)]
Beamer: autonest column in columns
Candidate for stable
Juergen Spitzmueller [Sat, 29 Dec 2018 12:35:39 +0000 (13:35 +0100)]
Do not auto-insert separator for keepempty layouts
Candidate for stable
Juergen Spitzmueller [Sat, 29 Dec 2018 10:47:37 +0000 (11:47 +0100)]
Fixup LocalLayout ui after [
3847e0ef /lyxgit]
Juergen Spitzmueller [Sat, 29 Dec 2018 09:26:28 +0000 (10:26 +0100)]
Some minor amendments to [
3ae6bff538 /lyxgit]
Juergen Spitzmueller [Sat, 29 Dec 2018 09:08:02 +0000 (10:08 +0100)]
Do not consider deleted labels in ambiguity check
This adds a new (boolean) parameter "active" to the label cache, where
we track whether a label is deleted in ct mode (the same could be done,
if wanted, for labels in notes and inactive branches).
Deleted (inactive) labels are neither considered in the uniqueness check
nor added to the outliner. This also means that undeleted references to
deleted labels are now (correctly) marked as BROKEN.
Fixes: #6563
Richard Kimberly Heck [Sat, 29 Dec 2018 05:23:26 +0000 (00:23 -0500)]
Fix bug #11422.
We need to load the master document before applying the params, since
otherwise the TOC reset (and other things) happen before the master
has been loaded (and set as parent).
Richard Kimberly Heck [Sat, 29 Dec 2018 04:34:51 +0000 (23:34 -0500)]
Typo
Richard Kimberly Heck [Sat, 29 Dec 2018 04:02:47 +0000 (23:02 -0500)]
Fix bug #11378.
Juergen Spitzmueller [Fri, 28 Dec 2018 16:41:27 +0000 (17:41 +0100)]
de.po
Juergen Spitzmueller [Fri, 28 Dec 2018 16:25:53 +0000 (17:25 +0100)]
Fix regression introduced in
a65f1e54dc
Scott Kostyshak [Fri, 28 Dec 2018 15:40:38 +0000 (10:40 -0500)]
Fix assertion when checking if change in selection
The check for the iterator being in the same paragraph as the end of
selection was incorrect, because paragraphs in different cells could
have the same pit. We now additionally condition on having the same
idx.
This commit amends
d1279875 (and thus
23de5e5e ).
For discussion, see:
https://www.mail-archive.com/search?l=mid&q=
a5afd0c01a0eb9a84fd4d050d15eb23016d6f38a .camel%40lyx.org
Thanks to Jürgen.
Kornel Benko [Fri, 28 Dec 2018 15:15:57 +0000 (16:15 +0100)]
Update sk.po
Kornel Benko [Fri, 28 Dec 2018 15:11:29 +0000 (16:11 +0100)]
Arrgh Amend
32b59a42 , one string was changed but should not be
Kornel Benko [Fri, 28 Dec 2018 15:04:16 +0000 (16:04 +0100)]
Change strings to better reflect the called function
Juergen Spitzmueller [Fri, 28 Dec 2018 14:10:46 +0000 (15:10 +0100)]
de.po
Juergen Spitzmueller [Fri, 28 Dec 2018 14:08:29 +0000 (15:08 +0100)]
de.po
Juergen Spitzmueller [Fri, 28 Dec 2018 13:34:14 +0000 (14:34 +0100)]
Properly set up paste and textstyle-apply MenuButtons when no buffer is open.
Juergen Spitzmueller [Fri, 28 Dec 2018 11:44:55 +0000 (12:44 +0100)]
style
Juergen Spitzmueller [Fri, 28 Dec 2018 11:41:19 +0000 (12:41 +0100)]
Always set main Icon Button to the QMenuButton
Juergen Spitzmueller [Fri, 28 Dec 2018 09:11:42 +0000 (10:11 +0100)]
Add tabular-features set-inner-lines and fix set-all-lines behavior
Patch by Daniel Ramöller (racoon)
Fixes: #11382
Juergen Spitzmueller [Fri, 28 Dec 2018 06:30:34 +0000 (07:30 +0100)]
lyx2lyx: fix float reversion routines
This jumped too wide with two subsequent floats.
Juergen Spitzmueller [Thu, 27 Dec 2018 16:17:33 +0000 (17:17 +0100)]
Slightly lighter icons
All that's changed here is just the file size due to some file optimization.
Fixes: #10626
Juergen Spitzmueller [Thu, 27 Dec 2018 14:29:23 +0000 (15:29 +0100)]
LFUN_TEXTSTYLE_UPDATE: Do not force any unspecified settings.
Fixes: #11111 (yay!)
Kornel Benko [Thu, 27 Dec 2018 14:23:21 +0000 (15:23 +0100)]
Update sk.po
Juergen Spitzmueller [Thu, 27 Dec 2018 13:46:22 +0000 (14:46 +0100)]
Some more documentation
Juergen Spitzmueller [Thu, 27 Dec 2018 13:44:51 +0000 (14:44 +0100)]
de.po
Juergen Spitzmueller [Thu, 27 Dec 2018 13:16:38 +0000 (14:16 +0100)]
Add "Reset to Default" item to textstyle-apply button menu
Fixes: #5922.
Juergen Spitzmueller [Thu, 27 Dec 2018 13:16:00 +0000 (14:16 +0100)]
Disable LFUN_FONT_DEFAULT if there's noting to reset.
Juergen Spitzmueller [Thu, 27 Dec 2018 10:23:40 +0000 (11:23 +0100)]
whitespace
Juergen Spitzmueller [Thu, 27 Dec 2018 10:18:13 +0000 (11:18 +0100)]
No need for an extra icon
Juergen Spitzmueller [Thu, 27 Dec 2018 10:10:20 +0000 (11:10 +0100)]
Another doc update
Juergen Spitzmueller [Thu, 27 Dec 2018 10:09:52 +0000 (11:09 +0100)]
Use more convenient MenuButtonPopup
Juergen Spitzmueller [Thu, 27 Dec 2018 09:41:10 +0000 (10:41 +0100)]
Update documentation
Juergen Spitzmueller [Thu, 27 Dec 2018 07:59:57 +0000 (08:59 +0100)]
de.po
Juergen Spitzmueller [Thu, 27 Dec 2018 07:51:17 +0000 (08:51 +0100)]
Remove unused variable
Enrico Forestieri [Wed, 26 Dec 2018 17:42:46 +0000 (18:42 +0100)]
Update it.po
Kornel Benko [Wed, 26 Dec 2018 16:49:12 +0000 (17:49 +0100)]
Update sk.po
Kornel Benko [Wed, 26 Dec 2018 16:45:34 +0000 (17:45 +0100)]
Juergen Spitzmueller [Wed, 26 Dec 2018 16:11:24 +0000 (17:11 +0100)]
Make "paste recent" accessible from toolbar
via button menu
Juergen Spitzmueller [Wed, 26 Dec 2018 14:46:14 +0000 (15:46 +0100)]
Give textstyle-apply a history
The last 20 applications are saved now and accessible both via the lfun
(textstyle-apply n) and the toolbar (via button menu)
Fixes: #7133
This also changes the default icon and toolbar position of the action,
as requested in #11427
Juergen Spitzmueller [Wed, 26 Dec 2018 13:38:02 +0000 (14:38 +0100)]
Handle null pointer
Juergen Spitzmueller [Wed, 26 Dec 2018 08:10:04 +0000 (09:10 +0100)]
de.po
Kornel Benko [Tue, 25 Dec 2018 18:06:11 +0000 (19:06 +0100)]
Update sk.po
Juergen Spitzmueller [Tue, 25 Dec 2018 17:35:52 +0000 (18:35 +0100)]
Fix qt4 build
Juergen Spitzmueller [Tue, 25 Dec 2018 17:20:02 +0000 (18:20 +0100)]
More alignment fixes
Juergen Spitzmueller [Tue, 25 Dec 2018 16:02:18 +0000 (17:02 +0100)]
Unify group box style across dialogs.
Kornel Benko [Mon, 24 Dec 2018 20:44:09 +0000 (21:44 +0100)]
Contribution for advanced search
Kornel Benko [Mon, 24 Dec 2018 18:50:53 +0000 (19:50 +0100)]
Update sk.po
Juergen Spitzmueller [Mon, 24 Dec 2018 17:59:02 +0000 (18:59 +0100)]
de.po
Juergen Spitzmueller [Mon, 24 Dec 2018 17:38:23 +0000 (18:38 +0100)]
Prefs dialog: some layout fixes.
Juergen Spitzmueller [Mon, 24 Dec 2018 16:02:11 +0000 (17:02 +0100)]
Advanced F&R layout fixed
Patch by Daniel Ramöller (racoon)
Juergen Spitzmueller [Mon, 24 Dec 2018 15:48:22 +0000 (16:48 +0100)]
Fix height of paragraph dialog
Patch by Daniel Ramöller (racoon)
Juergen Spitzmueller [Mon, 24 Dec 2018 15:18:54 +0000 (16:18 +0100)]
Fix Text Properties dialog height
Patch by Daniel Ramöller (racoon)
Juergen Spitzmueller [Mon, 24 Dec 2018 15:13:29 +0000 (16:13 +0100)]
Tabular Create layout fixes
Patch by Daniel Ramöller (racoon)
Juergen Spitzmueller [Mon, 24 Dec 2018 15:08:39 +0000 (16:08 +0100)]
Messages panes layout fixes
Patch by Daniel Ramöller (racoon)
Juergen Spitzmueller [Mon, 24 Dec 2018 15:00:43 +0000 (16:00 +0100)]
Layout fixes for compare dialog
Based on a patch by racoon.
Juergen Spitzmueller [Mon, 24 Dec 2018 14:24:03 +0000 (15:24 +0100)]
Theasurus dialog layout fixes
Patch by Daniel Ramöller (racoon)
Juergen Spitzmueller [Mon, 24 Dec 2018 14:16:28 +0000 (15:16 +0100)]
Spellchecker dialog alignment fixes
Patch by Daniel Ramöller (racoon)
Juergen Spitzmueller [Mon, 24 Dec 2018 13:47:48 +0000 (14:47 +0100)]
Polishment of the simple Search dialog
Based on a patch by racoon.
Juergen Spitzmueller [Mon, 24 Dec 2018 12:02:41 +0000 (13:02 +0100)]
When cancelling saving of a children, cancel the whole process.
Fixes remainder of #11405
Kornel Benko [Sun, 23 Dec 2018 12:26:59 +0000 (13:26 +0100)]
Update sk.po
Juergen Spitzmueller [Sun, 23 Dec 2018 11:08:54 +0000 (12:08 +0100)]
Fix prefs color layout
the list widget is too narrow with some localizations.
Juergen Spitzmueller [Sun, 23 Dec 2018 09:57:20 +0000 (10:57 +0100)]
de.po
Juergen Spitzmueller [Sat, 22 Dec 2018 17:44:58 +0000 (18:44 +0100)]
Allow to restore default UI colors in prefs
Patch by Daniel Ramöller (racoon), with slight modifications of mine.
Fixes: #10062
Kornel Benko [Fri, 21 Dec 2018 17:32:06 +0000 (18:32 +0100)]
Update sk.po
Jean-Marc Lasgouttes [Fri, 21 Dec 2018 14:36:55 +0000 (15:36 +0100)]
Make DEPM respect current cursor position.
Spaces are now conserved when they surround current cursor. Examples:
abc | def
becomes
abc | def
after DEPM and
abc |
is kept as it is.
Fixes ticket #11412.
Juergen Spitzmueller [Fri, 21 Dec 2018 13:09:20 +0000 (14:09 +0100)]
de.po
Juergen Spitzmueller [Fri, 21 Dec 2018 12:37:07 +0000 (13:37 +0100)]
Compile fix for Qt < 5.7
Only after that version, the QAction argument is optional.
Juergen Spitzmueller [Fri, 21 Dec 2018 11:56:02 +0000 (12:56 +0100)]
GuiThesaurus: maintain default state of Replace button
Rest of #11417
Juergen Spitzmueller [Fri, 21 Dec 2018 11:31:25 +0000 (12:31 +0100)]
GuiCharacter: Add menu to Restore button
and allow for resetting all widgets to "No Change" besides "Default"
Juergen Spitzmueller [Fri, 21 Dec 2018 11:14:11 +0000 (12:14 +0100)]
Rename ambiguous enum
Juergen Spitzmueller [Thu, 20 Dec 2018 14:12:53 +0000 (15:12 +0100)]
Handle GuiParagraph for OK default button issue as well
Juergen Spitzmueller [Thu, 20 Dec 2018 12:46:41 +0000 (13:46 +0100)]
Add forgotten initialization