Commit Graph

38356 Commits

Author SHA1 Message Date
Scott Kostyshak
dc06714adb 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.
2018-01-17 23:18:08 -05:00
Günter Milde
9ce5d8578b Prevent rows of hyphens becoming dashes when back-porting to 2.1.
Insert ligature breaks between hyphens where
they are separate in 2.2 but ligated by TeX in 2.1.

This fixes output with LyX 2.1 and prevents -- and --- becoming
en and em dash in the LyX source after a round-trip to 2.1
and back.

Solves lyx2lyx ctest failures with a warning about
possible line-break changes.
2018-01-17 21:39:03 +01:00
Uwe Stöhr
1d81e098a3 French example files: port recent changes to master 2018-01-17 15:58:07 +01:00
Kornel Benko
d794a6d60d Add testfiles-references to automake build: vcs_info_export moved to new directory, part 4 2018-01-17 15:31:57 +01:00
Kornel Benko
825eebba74 tests: missed ref, vcs_info_export moved to new directory, part 3 2018-01-17 12:28:18 +01:00
Kornel Benko
26eeaa1af2 vcs_info_export moved to new directory, part 2 2018-01-17 12:25:22 +01:00
Kornel Benko
1e09b48bb5 vcs_info_export moved to new directory 2018-01-17 12:09:18 +01:00
Günter Milde
6fe2e45f97 Remove trailing whitespace in lyx2lyx. 2018-01-17 09:48:08 +01:00
Scott Kostyshak
39c22913a2 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.
2018-01-17 01:08:26 -05:00
Uwe Stöhr
42e6c96627 ru.po: updates from Yuriy 2018-01-16 15:41:10 +01:00
Uwe Stöhr
58121e887a example files: distribute some changes
- French:
 - fix compilation of beamer.lyx
 - update a screenshot
2018-01-16 14:50:25 +01:00
Jean-Marc Lasgouttes
76a8ca27a7 Set endlabel color correctly when there is a selection
Current code would change the color of static endlabel when the
_start_ of line is selected. This is only used with hollywood and
broadway layouts, though.

Change the box endlabel painting code to use Color_selectiontext as needed.

Follow-up to bug #10972.
2018-01-16 14:10:30 +01:00
Uwe Stöhr
5f93099b88 EmbeddedObjects.lyx: fix a typo spotted by Paul Rubin
fixes #10965
2018-01-16 04:45:44 +01:00
Uwe Stöhr
53188a5f47 doc files: correct preamble commands
thanks toe Jean-Pierre
2018-01-16 04:08:52 +01:00
Scott Kostyshak
c6d4380c89 Comment: explain interpretation of "!"
The "!" line takes precedence, since it is first.
2018-01-15 17:28:14 -05:00
Scott Kostyshak
45ee36c0f2 Whitespace 2018-01-15 17:08:20 -05:00
Scott Kostyshak
299b730318 Merge branch 'ja_knitr_sweave_updates'
This merges updates from Koji Yokota, and adapts the ctests
accordingly.
2018-01-15 17:01:28 -05:00
Scott Kostyshak
8a656d95d4 ctests: run only pdf4_systemF for ja knitr/sweave
The "bxjsarticle" class only supports export with XeLaTeX and system
fonts.

This commit uses the new exclusion functionality introduced at
10cd5dd2.

The following tests are now ignored:

  export/examples/ja/knitr_dvi
  export/examples/ja/knitr_pdf
  export/examples/ja/knitr_pdf3
  export/examples/ja/sweave_dvi
  export/examples/ja/sweave_pdf
  export/examples/ja/sweave_pdf3

The following tests are no longer ignored:

  export/examples/ja/knitr_pdf4_systemF
  export/examples/ja/sweave_pdf4_systemF
2018-01-15 16:54:05 -05:00
Scott Kostyshak
baefa82a81 Restore 3c6fa867 and b83252b1
This restores the https URLs.
2018-01-15 16:51:35 -05:00
Scott Kostyshak
a816ef9c33 Restore math options to "load automatically" 2018-01-15 16:51:35 -05:00
Scott Kostyshak
caa6602a15 Restore \origin 2018-01-15 16:51:35 -05:00
Scott Kostyshak
ef9a05dede Big changes to ja/sweave/lyx and ja/knitr.lyx
- Use bxjsarticle + XeLaTeX instead of article + pLaTeX.
- Use LyX's "chunk" inset instead of ERT.
- Translate a couple of English strings.

Patch from Koji Yokota.
2018-01-15 16:51:35 -05:00
Scott Kostyshak
10cd5dd223 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.
2018-01-15 16:32:05 -05:00
Pavel Sanda
3c868386af * cs.po 2018-01-15 21:47:06 +01:00
Jean-Marc Lasgouttes
654cded167 Partial cleanup of the row selection code
This is preliminary work, this code still feels too complicated for
its own good.

Let Row::isMarginSelected return false when Row::selection() is false
(the other changes are indentation).

This allows to remove the test for selection() in
setSelectionAndMargins, so that begin/end_margin_sel are always set
correctly.

Add clearSelectionAndMargins() instead of calling directly setSelection
(which is now private) with arguments (-1, -1).

Fixes bug #10972.
2018-01-15 17:20:34 +01:00
Uwe Stöhr
0bc542ab7e uk.po: updates from Yuri 2018-01-15 15:37:02 +01:00
Uwe Stöhr
6ae0ff38be Win installer: start an an RC2 installer
- also fix a typo and update a file size
2018-01-14 22:18:20 +01:00
Pavel Sanda
d3163a0bee tests: add ref 2018-01-14 15:04:47 +01:00
Pavel Sanda
3cb9e0485b tests: add ref 2018-01-14 14:56:11 +01:00
Pavel Sanda
3a57f9766c * layouttranslations.review
wa never used, da forgotten, en not needed.
2018-01-14 14:33:38 +01:00
Pavel Sanda
f50e980a40 * layouttranslation.review: pt reviewed by Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203376.html
2018-01-14 14:03:55 +01:00
Kornel Benko
aed458f007 Cmake tests: New test for the outliner with beamer
Test idea from Pavel Šanda
Move insets down and up, then compare with expected latex output.
2018-01-14 13:47:27 +01:00
Pavel Sanda
46826155a8 * LFUN_BUFFER_RELOAD - allow dropping of the changes.
Useful in scripts.
2018-01-13 19:19:18 +01:00
Juergen Spitzmueller
e57b245d0b Work around auto-bibitem insertion when separating bibliography environment
Manually delete bibitem insets in the separator line.

In the long term, such things should not happen at all.

Candidate for 2.3.x.
2018-01-13 15:12:10 +01:00
Juergen Spitzmueller
a09ceda2c4 Once more rework outline wrt environments.
* Fixes UNDO issues
* Takes care of some special cases

Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
2018-01-13 14:51:01 +01:00
Juergen Spitzmueller
bceaa7f929 Fix loop while separating
getMaxDepthAfter() gives wrong result here.

Fixes: #10979

Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
2018-01-13 09:59:09 +01:00
Jean-Marc Lasgouttes
2ba00ecb7b Initialize properly class member
Spotted by coverity.
2018-01-12 16:54:32 +01:00
Juergen Spitzmueller
aab58fed6b Use qt4-compatible connect() syntax.
Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
2018-01-12 15:42:04 +01:00
Jean-Marc Lasgouttes
57d6835a90 Spacing 2018-01-12 12:27:03 +01:00
Jean-Marc Lasgouttes
706c9f2aa5 Fixup 27eb415d: do not define mymkdir() when it is not used.
Pleases coverity.
2018-01-12 12:24:58 +01:00
Guillaume MM
43e4b80734 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>
2018-01-12 11:03:07 +01:00
Juergen Spitzmueller
2ae51a9bb9 Complement the movement handling of environments
Make sure moved environments (such as frames) are separated from their
new neighbours in all directions.

This completes 07665d1dca
2018-01-12 10:44:01 +01:00
Juergen Spitzmueller
b97fcb5eeb Revert "de.po: update some translations"
This reverts commit 277816ab61.
2018-01-12 10:24:34 +01:00
Uwe Stöhr
277816ab61 de.po: update some translations 2018-01-12 04:54:25 +01:00
Uwe Stöhr
058ee9ab00 UserGuide.lyx: distribute recent changes 2018-01-12 04:54:03 +01:00
Uwe Stöhr
92955116b0 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
2018-01-12 02:42:36 +01:00
Günter Milde
0fb2edacdc Use Flex Code inset instead of typewriter custom font style.
Change markup to use semantic markup instead of hard-coded
typewriter for code examples containing --.
Works around false positive warning on changed dashes
leading to lyx2lyx export ctest failures.
2018-01-12 00:35:00 +01:00
Pavel Sanda
d97a3b154b * cs.po 2018-01-11 23:46:40 +01:00
Juergen Spitzmueller
974553d858 Fix Null-checking issue detected by Coverity. 2018-01-11 13:43:35 +01:00
Juergen Spitzmueller
3daa447c3c Take AgainFrame to the TOC. 2018-01-11 13:14:16 +01:00