]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Sun, 21 Jan 2018 11:24:02 +0000 (12:24 +0100)]
Fix output of quote ligatures with TeX font LuaTeX
Fixes: #10988
(cherry picked from commit
5fce313ffccea424487c83037b16f72f4f48eeb9 )
Uwe Stöhr [Sun, 21 Jan 2018 20:36:13 +0000 (21:36 +0100)]
pt_BR.po: updates for 2.3.0 from Georger
jpc [Sat, 20 Jan 2018 13:23:33 +0000 (14:23 +0100)]
Update fr.po
Enrico Forestieri [Sat, 20 Jan 2018 10:32:54 +0000 (11:32 +0100)]
Update it.po
Kornel Benko [Sat, 20 Jan 2018 09:16:53 +0000 (10:16 +0100)]
Update sk.po
Juergen Spitzmueller [Sat, 20 Jan 2018 08:47:08 +0000 (09:47 +0100)]
de.po: update
Juergen Spitzmueller [Sat, 20 Jan 2018 08:44:53 +0000 (09:44 +0100)]
update po files after
34097ce8f071c
Juergen Spitzmueller [Tue, 2 Jan 2018 12:55:01 +0000 (13:55 +0100)]
lyx_pot.py: consider empty encoding gui name
(cherry picked from commit
43c05fe16b35d302352d540a30012b353342687a )
Juergen Spitzmueller [Sun, 24 Dec 2017 16:14:05 +0000 (17:14 +0100)]
Prevent to paste uncodable characters into verbatim
Since we now have proper encoding here, we can set this restriction.
(cherry picked from commit
54846d2d93e74dcdd827f28bb7c258269863fa65 )
Juergen Spitzmueller [Sun, 24 Dec 2017 16:10:42 +0000 (17:10 +0100)]
Introduce "inherit" encoding for latex_language
This gets rid of the hardcoded latin1 encoding for verbatim. Instead,
verbatim now inherits the encoding from the context, which is what is
actually wanted here.
Fixes: #9012, #9258
Jean-Marc Lasgouttes [Fri, 12 Jan 2018 15:54:32 +0000 (16:54 +0100)]
Initialize properly class member
Spotted by coverity.
(cherry picked from commit
2ba00ecb7bf00b5f6a22f2f6ae23c4c9127e8a93 )
Juergen Spitzmueller [Fri, 12 Jan 2018 14:41:27 +0000 (15:41 +0100)]
Use qt4-compatible connect() syntax.
Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
(cherry picked from commit
aab58fed6b140e1629d7c4c4f7becbf5b3e74160 )
Guillaume MM [Fri, 12 Jan 2018 09:58:31 +0000 (10:58 +0100)]
Install a new compressor
A brand new event compressor based on Kuba Ober's cleverly simple
solution: <https://stackoverflow.com/a/
21006207 >.
Fix #9362, #9461, #9933: Lyx suddenly gets keyboard keys wrong, and
deadlocks
Fix #9790: LyX should perform key event compression (for improving the
remote X connections one would also need to implement
Qt::WA_KeyCompression)
Fix #10516: slowness on repeated arrow keys with IBus and Qt5
Patch pulled from
https://github.com/gadmm/lyx-unstable/commit/
bf5a1efb0db5bfc2b
Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
(cherry picked from commit
43e4b8073445d147be353013e3a7e081e11653ba )
Uwe Stöhr [Fri, 19 Jan 2018 00:02:46 +0000 (01:02 +0100)]
UserGuide.lyx: correct an equation
thanks Yuriy for spotting
Uwe Stöhr [Thu, 18 Jan 2018 23:31:30 +0000 (00:31 +0100)]
ru.po: updates from Yuriy
- also some updates for Tutorial.lyx
Scott Kostyshak [Thu, 18 Jan 2018 04:15:21 +0000 (23:15 -0500)]
ctests: invert for new ru example_lyxified.lyx
Consistent with the ru splash.lyx, we invert the texF tests for the
ru example_lyxified.lyx, which was recently added at
69ef4bc1 .
(cherry picked from commit
dc06714adb8ba0678b1d92e017360526eb36a1b2 )
Uwe Stöhr [Wed, 17 Jan 2018 14:57:09 +0000 (15:57 +0100)]
xyfigure.lyx: add missing Makefile entry
- also update the xyfigure.png
- update image setting in LyX file
jpc [Wed, 17 Jan 2018 09:32:34 +0000 (10:32 +0100)]
Create French translation of xyfigure.lyx
Scott Kostyshak [Wed, 17 Jan 2018 06:05:02 +0000 (01:05 -0500)]
ctest comment: be more clear about what "!" means
The "!" line only affects tests in that file.
This amends
c6d4380c .
Thanks to Kornel for spotting this.
(cherry picked from commit
39c22913a2b754a5f8e9a2bdf4e1e27aa61e354f )
jpc [Tue, 16 Jan 2018 17:05:55 +0000 (18:05 +0100)]
File checked with pocheck.pl
Uwe Stöhr [Tue, 16 Jan 2018 14:40:59 +0000 (15:40 +0100)]
ru.po: updates from Yuriy
Uwe Stöhr [Tue, 16 Jan 2018 13:49:24 +0000 (14:49 +0100)]
example files: distribute some changes
- French:
- fix compilation of beamer.lyx
- update a screenshot
Jean-Marc Lasgouttes [Mon, 15 Jan 2018 16:23:48 +0000 (17:23 +0100)]
Fix repaint of unselected branch
This works around a TextMetrics issue where Row::beg/end_margin_sel
are sometimes not reset correctly when there is no selection on the
row.
In master a fix for this problem has been done at
654cded1 . Here we
prefer a much simpler work around that fixes the symptom.
Fixes bug #10972.
Enrico Forestieri [Tue, 16 Jan 2018 08:23:46 +0000 (09:23 +0100)]
Update it.po
Uwe Stöhr [Tue, 16 Jan 2018 03:45:20 +0000 (04:45 +0100)]
EmbeddedObjects.lyx: fix a typo spotted by Paul Rubin
fixes #10965
Uwe Stöhr [Tue, 16 Jan 2018 03:04:51 +0000 (04:04 +0100)]
doc files: correct preamble commands
thanks toe Jean-Pierre
Scott Kostyshak [Mon, 15 Jan 2018 22:28:14 +0000 (17:28 -0500)]
Comment: explain interpretation of "!"
The "!" line takes precedence, since it is first.
(cherry picked from commit
c6d4380c891e3c1f9381cc4065409e30d330f622 )
Scott Kostyshak [Mon, 15 Jan 2018 22:07:55 +0000 (17:07 -0500)]
Whitespace
Scott Kostyshak [Mon, 15 Jan 2018 22:01:28 +0000 (17:01 -0500)]
Merge branch 'ja_knitr_sweave_updates'
This merges updates from Koji Yokota, and adapts the ctests
accordingly.
(cherry picked from commit
299b730318137e01e74ed95353cfc6ef00839612 )
Scott Kostyshak [Mon, 15 Jan 2018 21:25:44 +0000 (16:25 -0500)]
ctests: allow excluding patterns
This allows us to exclude matches of certain patterns in
invertedTests, ignoredTests, unreliableTests, and suspendedTests.
To use this new functionality, prefix "!" to the pattern.
This functionality serves as a workaround in some cases to not being
able to use advanced regular expression techniques, such as
"negative lookahead", with CMake's regular expression engine.
Output of "ctest -N" is unchanged by this commit.
This functionality will be used soon (see next commits).
Patch from Kornel Benko.
(cherry picked from commit
10cd5dd223402e96c2d58a1f4b32d45abccd36ee )
Kornel Benko [Mon, 15 Jan 2018 18:48:55 +0000 (19:48 +0100)]
Update sk.po
Scott Kostyshak [Mon, 15 Jan 2018 18:02:43 +0000 (13:02 -0500)]
Remerge strings for translators
Uwe Stöhr [Mon, 15 Jan 2018 14:33:11 +0000 (15:33 +0100)]
uk.po: updates from Yuri
Jean-Marc Lasgouttes [Wed, 3 Jan 2018 17:28:55 +0000 (18:28 +0100)]
Remove 'premature optimization' that proved buggy
At some time it seemed like a good idea in breakRow() to return early
when the row was bound to be empty. It turns out that this creates two
symptoms:
* empty paragraphs will not have an end of paragraph marker
* since row width is not correctly computed in this case, caret ghosts
can appear in master.
This commit removes the oprimization and replace the do {} while()
construct to a straightforward while() {}.
Related to bug #10952.
(cherry picked from commit
76f0a3dd4ee5c7958c6dea79628ef8c2ac2c59bd )
Uwe Stöhr [Sun, 14 Jan 2018 21:16:23 +0000 (22:16 +0100)]
Win installer: start an an RC2 installer
- also fix a typo and update a file size
Juergen Spitzmueller [Sat, 13 Jan 2018 08:59:09 +0000 (09:59 +0100)]
Fix loop while separating
getMaxDepthAfter() gives wrong result here.
Fixes: #10979
Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
(cherry picked from commit
bceaa7f92971f62014da43557815479d40adf551 )
Günter Milde [Wed, 10 Jan 2018 11:05:26 +0000 (12:05 +0100)]
Do not convert dashes/hyphens in LyX-Code.
See previous commit and #10961
Günter Milde [Mon, 8 Jan 2018 21:47:09 +0000 (22:47 +0100)]
Do not convert dashes/hyphens in Code insets (logical markup).
Code is by default rendered as typewriter and should be treated
similar:
In text marked up as code, -- or --- is typically part of a
command (e.g. "lyx --help" or "x--") and not a transliteration
for en dash, see #10961.
This is already handled so for text in typewriter font
(see Text.cpp:500).
Juergen Spitzmueller [Thu, 11 Jan 2018 12:14:16 +0000 (13:14 +0100)]
Take AgainFrame to the TOC.
(cherry picked from commit
3daa447c3cfac30493021daf5e83d9d1f83c6f71 )
Juergen Spitzmueller [Thu, 11 Jan 2018 12:43:35 +0000 (13:43 +0100)]
Fix Null-checking issue detected by Coverity.
(cherry picked from commit
974553d8583954aa7741c4dc0ce83f9ca812b03b )
Juergen Spitzmueller [Fri, 12 Jan 2018 09:23:44 +0000 (10:23 +0100)]
Revert "de.po: update some translations"
This reverts commit
9089dec01dbb4da3d6fa85937997dd13387b8303 .
Uwe Stöhr [Fri, 12 Jan 2018 03:52:53 +0000 (04:52 +0100)]
UserGuide.lyx: distribute recent changes
Uwe Stöhr [Fri, 12 Jan 2018 03:51:54 +0000 (04:51 +0100)]
de.po: update some translations
Uwe Stöhr [Fri, 12 Jan 2018 01:41:52 +0000 (02:41 +0100)]
Additional.lyx: re-sync with master
please use use LyX 2.3.x and keep the docs in sync unless you describe a new feature of LyX 2.4
Pavel Sanda [Wed, 10 Jan 2018 09:47:48 +0000 (10:47 +0100)]
RCS: commit undo allowed only in unlocked state.
Uwe Stöhr [Wed, 10 Jan 2018 01:37:58 +0000 (02:37 +0100)]
ru.po: updates from Yuriy
Uwe Stöhr [Wed, 10 Jan 2018 01:24:29 +0000 (02:24 +0100)]
another dummy test commit
Uwe Stöhr [Tue, 9 Jan 2018 00:27:51 +0000 (01:27 +0100)]
Customization.lyx: distribute and accept recent changes
jpc [Mon, 8 Jan 2018 10:12:45 +0000 (11:12 +0100)]
Update log
jpc [Sun, 7 Jan 2018 10:00:40 +0000 (11:00 +0100)]
Hopefully final update of French EmbeddedObjects manual for 2.3.0
jpc [Sun, 7 Jan 2018 09:58:56 +0000 (10:58 +0100)]
Typo
Juergen Spitzmueller [Sun, 7 Jan 2018 09:38:30 +0000 (10:38 +0100)]
Mark follow-up paragraphs in a paragraph group as nested.
This gives a more consistent indication of what belongs to an environment
(and semantically, such paragraphs are synonymous to nested standard
paragraphs)
Addresses part of #9261.
jpc [Sun, 7 Jan 2018 09:32:03 +0000 (10:32 +0100)]
Typo
Jean-Marc Lasgouttes [Fri, 5 Jan 2018 18:29:45 +0000 (19:29 +0100)]
Update buffer when an inset or an INFO inset has bee inserted
This is important for info inset, since if updateBuffer needs to be
run in redoParagraph (for the macro code), crashes can happen.
Fixes bug #10944.
(cherry picked from commit
806f40dbd4e861e3def104f26a8b70ed8c3ba386 )
Juergen Spitzmueller [Sat, 6 Jan 2018 09:43:44 +0000 (10:43 +0100)]
Start inset at new line
(cherry picked from commit
7da8473c4f7283e55528aad56df0761ef4e50d67 )
Juergen Spitzmueller [Sat, 6 Jan 2018 08:31:24 +0000 (09:31 +0100)]
Customization: some color name fixes.
(cherry picked from commit
44670d477831f56feef0de37f205f4b9c0e7ce09 )
Guillaume MM [Wed, 3 Jan 2018 18:58:50 +0000 (19:58 +0100)]
Fix preview with a nested preview not being shown (#10795)
Regression at
db581113 .
(cherry picked from commit
94c65074e029937b549f5ed5af1001fadbe408be )
Uwe Stöhr [Fri, 5 Jan 2018 20:52:37 +0000 (21:52 +0100)]
ru.po: fix msgmerge warnings
Juergen Spitzmueller [Fri, 5 Jan 2018 10:08:23 +0000 (11:08 +0100)]
Minor re-ordering of the Insert menu
(cherry picked from commit
016393a0dd0a259655e0b3a44e8950f931d01486 )
Richard Heck [Tue, 2 Jan 2018 03:18:52 +0000 (22:18 -0500)]
Fix bug #10951.
The Buffer member for the remembered definition_ was not being set.
(cherry picked from commit
f130f7713fae326daa05795a5bf4761d33aee649 )
Juergen Spitzmueller [Thu, 4 Jan 2018 17:38:08 +0000 (18:38 +0100)]
Do note attempt to nest more than possible.
(cherry picked from commit
32efb914384392426a4d909d1650edff727d8f15 )
Juergen Spitzmueller [Wed, 3 Jan 2018 12:20:05 +0000 (13:20 +0100)]
Properly handle color none.
Fixes: #5870
(cherry picked from commit
9a1eeb8cbbf078aca6e95a554a76dc622a8d39f1 )
jpc [Wed, 3 Jan 2018 17:37:12 +0000 (18:37 +0100)]
Insert correct shortcut for environment split
jpc [Wed, 3 Jan 2018 17:21:13 +0000 (18:21 +0100)]
New beamer environments strings and documentation
Juergen Spitzmueller [Wed, 3 Jan 2018 12:16:07 +0000 (13:16 +0100)]
Disable useless environment-split function at the core.
(cherry picked from commit
f965d23633916387cd48d228380f4a3172e61c2f )
Juergen Spitzmueller [Wed, 3 Jan 2018 09:58:30 +0000 (10:58 +0100)]
Use the command-alternatives sequence as defined in menus.bind
Otherwise, the shortcut is not displayed in the menu.
(cherry picked from commit
7d2764fb9ed708c36c636c88ce40149988f3b941 )
Uwe Stöhr [Tue, 2 Jan 2018 14:25:00 +0000 (15:25 +0100)]
ar.po: updates from Hatim
Günter Milde [Tue, 2 Jan 2018 11:50:48 +0000 (12:50 +0100)]
Update UserGuide and de/UserGuide.
Remove warnings for issues fixed in lyx2lyx.
Update the GUI name of the ligature-dash Option.
Fix example for preventing unwanted line break in French.
Juergen Spitzmueller [Tue, 2 Jan 2018 10:53:01 +0000 (11:53 +0100)]
Update layout format
Günter Milde [Mon, 1 Jan 2018 21:52:08 +0000 (22:52 +0100)]
Documentation fixes: revert conversion of -- to en dash in code.
lyx2lyx erroneousely merged -- to en dash in text with logical
markup "code".
Revealed by recent (but now silenced) ctest fails.
Also add space around en dash in examples.
Günter Milde [Sat, 30 Sep 2017 21:26:02 +0000 (23:26 +0200)]
Fix lyx2lyx conversion of dashes.
Update for UserGuide and de/UserGuide will follow.
Enrico Forestieri [Mon, 1 Jan 2018 18:14:48 +0000 (19:14 +0100)]
Update it.po
Uwe Stöhr [Mon, 1 Jan 2018 15:48:24 +0000 (16:48 +0100)]
ru.po: updates from Yuri
Uwe Stöhr [Mon, 1 Jan 2018 15:47:58 +0000 (16:47 +0100)]
Russian doc files: new and updated translations by Yuri
Kornel Benko [Mon, 1 Jan 2018 13:23:12 +0000 (14:23 +0100)]
Update sk.po
Juergen Spitzmueller [Mon, 1 Jan 2018 12:46:34 +0000 (13:46 +0100)]
de.po: update
Juergen Spitzmueller [Mon, 1 Jan 2018 12:40:49 +0000 (13:40 +0100)]
Prepend "Insert " in the context menu for environment separators.
(cherry picked from commit
8f86feb26087305625cef3e66afabcdcb91a4057 )
Juergen Spitzmueller [Mon, 1 Jan 2018 11:53:39 +0000 (12:53 +0100)]
de.po: update
Juergen Spitzmueller [Mon, 1 Jan 2018 11:38:55 +0000 (12:38 +0100)]
LFUNs.lyx: update.
Juergen Spitzmueller [Mon, 1 Jan 2018 11:37:03 +0000 (12:37 +0100)]
User Guide: document the environment-split changes (forgot this one)
Juergen Spitzmueller [Mon, 1 Jan 2018 11:36:44 +0000 (12:36 +0100)]
beamer.lyx: document the environment-split changes.
Juergen Spitzmueller [Mon, 1 Jan 2018 11:36:18 +0000 (12:36 +0100)]
UserGuide: document the environment-split changes.
Juergen Spitzmueller [Mon, 1 Jan 2018 11:34:39 +0000 (12:34 +0100)]
Implement environment-split before and previous
Possibility to add an environment before the current one and to append
and environment from outside the nesting scope.
This commit includes all fixes that went in during testing these
functions in master. It also moves the menu items from Edit to Insert.
Juergen Spitzmueller [Mon, 1 Jan 2018 11:31:31 +0000 (12:31 +0100)]
Add ignoresep option to layout lfun
This does not force the cursor in a separator paragraph to endpos.
This is needed for environment-split.
Juergen Spitzmueller [Mon, 1 Jan 2018 11:27:08 +0000 (12:27 +0100)]
Implement auto-nesting.
Now layouts can specify other layouts that should be nested in and
after the current one (if the layout is switched from the current one
and if it follows a paragraph in the current one).
This is particularly useful for things such as the beamer frames, where
particular layouts are practically always nested.
This is a backport from master, including all fixes.
Juergen Spitzmueller [Fri, 29 Dec 2017 10:51:24 +0000 (11:51 +0100)]
Properly implement IsTocCaption for Arguments in standard TOC
Fixes: #10631
Candidate for 2.3.x.
(cherry picked from commit
3a4b233dbd9810608ad1d79a1d866c8ab3ce2f29 )
jpc [Fri, 29 Dec 2017 17:30:09 +0000 (18:30 +0100)]
Unify translation of 'Nomenclature' in French
Second iteration following Jürgen's remarks
jpc [Thu, 28 Dec 2017 17:11:30 +0000 (18:11 +0100)]
Unify the translation of 'Nomenclature' in French
Juergen Spitzmueller [Wed, 27 Dec 2017 14:43:40 +0000 (15:43 +0100)]
Fix footnotes in table with RevTeX4
These classes come with their own working implementation of table
footnotes, so we are not supposed to use the tablefootnote or
footnote package.
Also add missing outliner name.
(cherry picked from commit
dfaa4e9466fd0e5bf22bf55965a26e86a767cfa7 )
Juergen Spitzmueller [Tue, 26 Dec 2017 11:35:55 +0000 (12:35 +0100)]
Tufte title is fragile
Candidate for 2.3.x.
(cherry picked from commit
994176e55ba2f7aea4f09a82c46d88d3eead7078 )
Kornel Benko [Mon, 25 Dec 2017 13:50:47 +0000 (14:50 +0100)]
Update sk.po
Scott Kostyshak [Sun, 24 Dec 2017 01:41:16 +0000 (20:41 -0500)]
ctests: run URL tests at beginning
The URL tests can take a long time to complete. By running them at
the beginning, time can be saved when running the ctests in
parallel.
This saves around 10 minutes for me.
(cherry picked from commit
c9817a4fb5a85fea175659b2fe1f0ab394f81c1e )
Pavel Sanda [Sun, 24 Dec 2017 04:04:00 +0000 (05:04 +0100)]
sync layouttranslations with master
Pavel Sanda [Sun, 24 Dec 2017 04:02:17 +0000 (05:02 +0100)]
Backport cs.po from master
Pavel Sanda [Sun, 24 Dec 2017 04:01:25 +0000 (05:01 +0100)]
remerge cs.po
Jean-Marc Lasgouttes [Tue, 19 Dec 2017 21:32:32 +0000 (22:32 +0100)]
Do not draw inactive math corners when they have mathbg color
By default, inactive math corners are invisible. In practice they are
annoying because they are visible when selecting text, and they can
also overwrite some parts of the equation.
The code in Inset::drawMarkers2, which is only used for maths, is
moved to InsetMathHull. Moreover, the inactive corners are not drawn
when they have the same color as the math background. A better way to
achieve this would be to set the color to transparent, but we do not
support this yet.
(cherry picked from commit
68614e9783382b6267fc9ce32ed45bc2477007dd )
Jean-Marc Lasgouttes [Wed, 20 Dec 2017 10:22:21 +0000 (11:22 +0100)]
Reintroduce the spacing around delimiters
This spacing was wrongly removed at
361bd53b as part of the
introduction of proper spacing between elements, but it only introduces
some breathing space around the delimiters. This will not be necessary
anymore when/if we use proper delimiters from the cmex10 font.
(cherry picked from commit
4cb5cc0c7de7cb5dbaaf14328e5a82e1cfe5a6ca )
Jean-Marc Lasgouttes [Wed, 13 Dec 2017 09:38:47 +0000 (10:38 +0100)]
Handle properly undo groups in embedded work areas
When a buffer is in an embedded work area (adv. find&replace), it is
not found by BufferList:::exists(), and therefore the undo group
created in GuiApplication::dispatch and in the handling of
LFUN_COMMAND_SEQUENCE will not be closed.. Crashes can ensue, as
described in Ubuntu bug:
https://bugs.launchpad.net/bugs/
1737429
The solution is to introduce BufferList::isInternal and act on it.
Fixes bug #10847.
(cherry picked from commit
8b107f0490e61b4390e925f08d21661ef50d6f49 )
Juergen Spitzmueller [Sat, 23 Dec 2017 12:26:35 +0000 (13:26 +0100)]
Title commands are fragile in memoir
(cherry picked from commit
7b4d2279298b5ececf643610b80d8f7c9bd3c63c )
jpc [Fri, 22 Dec 2017 10:28:18 +0000 (11:28 +0100)]
Update fr.po