]> git.lyx.org Git - features.git/log
features.git
6 years agoMake module and citeengine regexes a little more discerning.
Richard Heck [Fri, 2 Feb 2018 03:10:54 +0000 (22:10 -0500)]
Make module and citeengine regexes a little more discerning.

6 years agoDouble escape binary regexes in module and citeengine searches.
Richard Heck [Fri, 2 Feb 2018 03:08:55 +0000 (22:08 -0500)]
Double escape binary regexes in module and citeengine searches.

See previous commit for explanation.

6 years agoDouble escape binary regex in lyx2lyx and fix line-ending problem.
Richard Heck [Fri, 2 Feb 2018 02:58:29 +0000 (21:58 -0500)]
Double escape binary regex in lyx2lyx and fix line-ending problem.

When we switched from r'...' to b'...', this required strings used
as input to re.compile to be double-escaped. It's not an issue with
"\s", because "\s" has no special meaning in a string.

Also, printing in binary mode did not output a line ending.

6 years agoEnable CompressorProxy for all Workareas (incl. EmbeddedWorkarea)
Juergen Spitzmueller [Thu, 1 Feb 2018 13:58:49 +0000 (14:58 +0100)]
Enable CompressorProxy for all Workareas (incl. EmbeddedWorkarea)

This fixes the Advanced F&R.

6 years agoFrench docs: remove a file that was accidentally committed
Uwe Stöhr [Thu, 1 Feb 2018 04:19:08 +0000 (05:19 +0100)]
French docs: remove a file that was accidentally committed

6 years agopt_BR.po: updates from Georger
Uwe Stöhr [Thu, 1 Feb 2018 04:11:17 +0000 (05:11 +0100)]
pt_BR.po: updates from Georger

- He also reviewed layouttranslations and says it is OK

6 years agoFix Cursor::sanitize
Jean-Marc Lasgouttes [Tue, 16 Jan 2018 15:00:07 +0000 (16:00 +0100)]
Fix Cursor::sanitize

This is a follow-up to 02028c0b12ba9.

Fix two bugs introduced when moving Cursor::sanitize() to CursorData:

* the setBuffer that is supposed to set buffer from bufferview became
  a no-op.

* new_word_ is now part of CursorData, but it is sanitized only in
  Cursor::sanitize().

Additionally, make all protected CursorData data members private to enforce
encapsulation.

6 years agolyx2lyx refactoring.
Günter Milde [Wed, 31 Jan 2018 14:09:32 +0000 (15:09 +0100)]
lyx2lyx refactoring.

* use unicode.transform() instead of loop over replacements
* telling variable names
* remove trailing whitespace
* documentation update
* don't set use_ligature_dashes if both dash types are found
* remove spurious warning, normalize indentation, and use
  Python idioms in revert_baselineskip()

6 years ago Remove unappropriate French style command from preamble
jpc [Wed, 31 Jan 2018 16:48:04 +0000 (17:48 +0100)]
      Remove unappropriate French style command from preamble

6 years agoMake CursorData::checkNewWordPosition() more robust
Jean-Marc Lasgouttes [Wed, 31 Jan 2018 15:26:45 +0000 (16:26 +0100)]
Make CursorData::checkNewWordPosition() more robust

Before accessing things like new_word_.lastpos(), it is better to make
sure that new_word_ points to something that exists. Therefore, the
call to fixIfBroken() is moved in first position.

Other changes: inTexted() is replaced by a more general test that
current inset has not changed; test idx() in addition to pit().

6 years agoRemove spurious no-break space.
Günter Milde [Wed, 31 Jan 2018 09:59:21 +0000 (10:59 +0100)]
Remove spurious no-break space.

6 years agoru.po: more translations from Yuriy
Uwe Stöhr [Wed, 31 Jan 2018 04:48:21 +0000 (05:48 +0100)]
ru.po: more translations from Yuriy

6 years agoFrench Additional.lyx: sync with branch
Uwe Stöhr [Wed, 31 Jan 2018 04:47:41 +0000 (05:47 +0100)]
French Additional.lyx: sync with branch

6 years agoUse LaTeX macros instead of Latin transcription for Greek characters.
Günter Milde [Tue, 30 Jan 2018 20:58:12 +0000 (21:58 +0100)]
Use LaTeX macros instead of Latin transcription for Greek characters.

Use the LaTeX internal character representation (LICR) macros
provided by lgrenc.def (since version 0.8 from 2013-05-13)
in lib/unicodesymbols. This fixes the PDF bookmarks (except for the
legacy input encoding iso-8859-7) and solves the problem of a missing
"v" character in Libertine LGR fonts (see lyx-users from 2018-01-29).

The ctest unicodesymbols/008-greek-and-coptic_iso8859-7_pdf2" now fails
(due to #9681). This is not a regression, as it is already
"unreliable" (wrong output, Latin character instead of Greek).

Drop compatibility definition of \~ as perispomeni accent
(that was required with lgrenc.def < 0.8).

6 years agoDo not use "ligature dashes" with French documents.
Günter Milde [Tue, 30 Jan 2018 20:43:38 +0000 (21:43 +0100)]
Do not use "ligature dashes" with French documents.

In Spanish and French, dashes around parenthetical statements
are treated similar to brackets: line breaks are not allowed
on the inner side. Use of "breakable" dashes risks accidential
line breaks after the "opening" dash.
(Ligature dashes allow line breaks even if a no-break space follows.)

6 years agoAdd support for enchant 2.x
Jean-Marc Lasgouttes [Wed, 24 Jan 2018 15:19:34 +0000 (16:19 +0100)]
Add support for enchant 2.x

As of enchant 2.x, it is required to create a Broker instance instead
of relying on a static one provided by the library.

Add autoconf and cmake (courtesy of Kornel) tests that check whether
one can indeed instantiate a Broker object, and act on the result in a
new broker() helper function.

Fixes bug #10986.

6 years agoOnce more, the libertine font package has been renamed.
Juergen Spitzmueller [Tue, 30 Jan 2018 07:16:06 +0000 (08:16 +0100)]
Once more, the libertine font package has been renamed.

Take the newest one, if present.

Candidate for 2.3.x.

6 years agoMerge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Mon, 29 Jan 2018 14:10:13 +0000 (15:10 +0100)]
Merge branch 'master' of git.lyx.org:lyx

6 years agoFrench EmbeddedObjects.lyx: sync document settings with English version
Uwe Stöhr [Mon, 29 Jan 2018 14:10:02 +0000 (15:10 +0100)]
French EmbeddedObjects.lyx: sync document settings with English version

- English EmbeddedObjects.lyx: correct a typo

6 years agoFixup 6b6fa94c: coverity says there are more possible exceptions.
Jean-Marc Lasgouttes [Mon, 29 Jan 2018 14:05:31 +0000 (15:05 +0100)]
Fixup 6b6fa94c: coverity says there are more possible exceptions.

The bulk of the changes is indentation.

6 years agoCatch exceptions to please coverity
Jean-Marc Lasgouttes [Mon, 29 Jan 2018 12:50:09 +0000 (13:50 +0100)]
Catch exceptions to please coverity

Actually, the possible exception path is from replaceEnvironmentPath.
It would be better if coverity was able to asses that our hardcoded
regexp:s are correct.

6 years agoAdd Bibliography to the Outliner.
Juergen Spitzmueller [Mon, 29 Jan 2018 08:09:51 +0000 (09:09 +0100)]
Add Bibliography to the Outliner.

Fixes: #11001, #7724.
6 years agoWhitespace
Juergen Spitzmueller [Mon, 29 Jan 2018 07:37:25 +0000 (08:37 +0100)]
Whitespace

6 years agoFix bug #11055.
Richard Heck [Mon, 29 Jan 2018 04:33:45 +0000 (23:33 -0500)]
Fix bug #11055.

See also https://marc.info/?l=lyx-devel&m=151709211602688&w=2.

6 years agoWhitespace.
Richard Heck [Mon, 29 Jan 2018 04:02:30 +0000 (23:02 -0500)]
Whitespace.

6 years agoAdditional.lyx: port recent changes
Uwe Stöhr [Mon, 29 Jan 2018 00:35:23 +0000 (01:35 +0100)]
Additional.lyx: port recent changes

6 years agoUpdate it.po
Enrico Forestieri [Sun, 28 Jan 2018 12:00:33 +0000 (13:00 +0100)]
Update it.po

6 years agoru.po: last minute changes for RC from Yuriy
Uwe Stöhr [Sun, 28 Jan 2018 00:18:04 +0000 (01:18 +0100)]
ru.po: last minute changes for RC from Yuriy

6 years ago* cs.po
Pavel Sanda [Sat, 27 Jan 2018 22:20:39 +0000 (23:20 +0100)]
* cs.po

6 years agoDocument B_ in cite style definitions
Juergen Spitzmueller [Sat, 27 Jan 2018 13:53:18 +0000 (14:53 +0100)]
Document B_ in cite style definitions

6 years agoDifferentiate Buffer strings and GUI strings in citeengines
Juergen Spitzmueller [Sat, 27 Jan 2018 13:26:36 +0000 (14:26 +0100)]
Differentiate Buffer strings and GUI strings in citeengines

The former need to be translated to the buffer language, the latter to
the GUI language.

Fixes: #10946
6 years agoMake sure to add at least one element in row if possible
Jean-Marc Lasgouttes [Sat, 27 Jan 2018 11:29:27 +0000 (12:29 +0100)]
Make sure to add at least one element in row if possible

breakRow should only produce an empty row when there is nothing left
in the paragraph.

Fixes bug #10996.

6 years agoUse proper localization chain for Box special width/height
Juergen Spitzmueller [Sat, 27 Jan 2018 11:26:01 +0000 (12:26 +0100)]
Use proper localization chain for Box special width/height

Fixes: #11000
6 years agode.po: update
Juergen Spitzmueller [Sat, 27 Jan 2018 10:21:12 +0000 (11:21 +0100)]
de.po: update

6 years agoMake another GUI string translatable
Juergen Spitzmueller [Sat, 27 Jan 2018 10:20:11 +0000 (11:20 +0100)]
Make another GUI string translatable

Part of #10999.

6 years agoMake GUI string translatable
Juergen Spitzmueller [Sat, 27 Jan 2018 09:57:33 +0000 (10:57 +0100)]
Make GUI string translatable

Part of #10999

6 years ago* layouttranslations - update ar, ru, el
Pavel Sanda [Fri, 26 Jan 2018 18:49:40 +0000 (19:49 +0100)]
* layouttranslations - update ar, ru, el

6 years agoFix embarrassing thinko (fixup 1a969fa4a61)
Jean-Marc Lasgouttes [Fri, 26 Jan 2018 09:06:28 +0000 (10:06 +0100)]
Fix embarrassing thinko (fixup 1a969fa4a61)

Now people know for sure that I sometimes forget to test that code
actually works before committing. It was so straightforward, what
could possibly go wrong?

6 years agoProperly communicate forced encodings
Juergen Spitzmueller [Fri, 26 Jan 2018 07:38:52 +0000 (08:38 +0100)]
Properly communicate forced encodings

This is currently only relevant fo InsetListings, which falls back to
a fixed-width encoding under specific conditions. It is now possible
to query the inset about that and report the correct encoding in
DocIterator::getEncoding.

Addresses the second part of #10995

6 years agoAccount for custom encoding in DocIteratior::getEncoding
Juergen Spitzmueller [Fri, 26 Jan 2018 07:37:06 +0000 (08:37 +0100)]
Account for custom encoding in DocIteratior::getEncoding

Addresses #10995

6 years agoru.po: translations from Yuriy
Uwe Stöhr [Thu, 25 Jan 2018 23:15:36 +0000 (00:15 +0100)]
ru.po: translations from Yuriy

6 years agoNew method zoomedPixel to compute pixel amount also in HiDpi
Jean-Marc Lasgouttes [Thu, 25 Jan 2018 21:06:03 +0000 (22:06 +0100)]
New method zoomedPixel to compute pixel amount also in HiDpi

The function does not use for now any information from the BufferView
(only lyxrc), but this should eventually change if we want to honor
multi monitor setups properly.

6 years agopo files: port some recent changes to master
Uwe Stöhr [Thu, 25 Jan 2018 16:51:04 +0000 (17:51 +0100)]
po files: port some recent changes to master

- e.g. enable el.po in LINGUAS

6 years agoCorrectly output a single char_type
Enrico Forestieri [Thu, 25 Jan 2018 08:40:36 +0000 (09:40 +0100)]
Correctly output a single char_type

On platforms where char_type is typedef'd to an integral type
rather than to wchar_t, when using the insertion operator <<
a single char_type is output as the number corresponding to the
code point of the character rather than as the character itself.
In this case, one has to use put().

6 years agoCorrect \origin in the new ru examples
Scott Kostyshak [Thu, 25 Jan 2018 04:43:34 +0000 (23:43 -0500)]
Correct \origin in the new ru examples

6 years agoCmake tests: New lyx2lyx tests
Kornel Benko [Wed, 24 Jan 2018 19:56:21 +0000 (20:56 +0100)]
Cmake tests: New lyx2lyx tests

Created by Günter Milde, after having corrected plenty of lyx2lyx errors
showing with repeated lyx2lyx calls.

6 years agoFix lyx2lyx dash conversion and make it faster.
Günter Milde [Wed, 24 Jan 2018 16:38:19 +0000 (17:38 +0100)]
Fix lyx2lyx dash conversion and make it faster.

6 years agoDedicated test samples for lyx2lyx ctests.
Günter Milde [Wed, 24 Jan 2018 16:35:43 +0000 (17:35 +0100)]
Dedicated test samples for lyx2lyx ctests.

6 years agoBetter debug message
Jean-Marc Lasgouttes [Wed, 24 Jan 2018 13:05:57 +0000 (14:05 +0100)]
Better debug message

6 years agoWin installer: upgrade to Qt 5.9.4
Uwe Stöhr [Wed, 24 Jan 2018 02:26:02 +0000 (03:26 +0100)]
Win installer: upgrade to Qt 5.9.4

6 years agoMerge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Wed, 24 Jan 2018 00:18:43 +0000 (01:18 +0100)]
Merge branch 'master' of git.lyx.org:lyx

6 years agobuild5*.bat: update to Qt 5.9.4
Uwe Stöhr [Wed, 24 Jan 2018 00:18:32 +0000 (01:18 +0100)]
build5*.bat: update to Qt 5.9.4

- also adjust build5-2015-x64.bat

6 years agoFix some more lyx2lyx round-trips.
Günter Milde [Wed, 24 Jan 2018 00:02:24 +0000 (01:02 +0100)]
Fix some more lyx2lyx round-trips.

Also restore corrupted seminar example.
Add default return value to parser_tools.is_in_inset().

6 years agoru.po: more translations from Yuriy
Uwe Stöhr [Tue, 23 Jan 2018 13:26:32 +0000 (14:26 +0100)]
ru.po: more translations from Yuriy

6 years agoFix some lyx2lyx round-trip tests.
Günter Milde [Tue, 23 Jan 2018 13:01:30 +0000 (14:01 +0100)]
Fix some lyx2lyx round-trip tests.

Fix cases where lyx2lyx adds changes with every round cycle
uncovered by recent ctest change.

Add optional `delete` argument to parser_tools.get*value():
If True, delete the matching line.

More efficient "allowbreak" con/reversion.

6 years agoNew lyx2lyx tools.
Günter Milde [Tue, 23 Jan 2018 07:45:19 +0000 (08:45 +0100)]
New lyx2lyx tools.

New lyx2lyx parser tools find_complete_lines() (replaces find_slice),
del_complete_lines(), and find_across_lines(). Default value 0
for start argument in utility functions.

Rework the implementation of dash-conversion.

6 years agolyx2lyx tests: Check for possible endless expansion
Kornel Benko [Mon, 22 Jan 2018 13:43:50 +0000 (14:43 +0100)]
lyx2lyx tests: Check for possible endless expansion

If, after the 10th iteration, the exported lyx16x file still
differs from the one in the previous iteration, the test
is marked as failing, even if still loadable.

6 years agopt_BR.po: updates for master from Georger
Uwe Stöhr [Sun, 21 Jan 2018 20:33:15 +0000 (21:33 +0100)]
pt_BR.po: updates for master from Georger

6 years agoFix preamble-code removal in lyx2lyx. Do some optimizations.
Günter Milde [Sun, 21 Jan 2018 18:55:27 +0000 (19:55 +0100)]
Fix preamble-code removal in lyx2lyx. Do some optimizations.

Fix failure of revert_dashes() found by lyx2lyx ctests
using an efficient function to find a given sequence of lines
in a list of lines.

Some optimizations using Python idioms instead of C-like code.

6 years agoFix output of quote ligatures with TeX font LuaTeX
Juergen Spitzmueller [Sun, 21 Jan 2018 11:24:02 +0000 (12:24 +0100)]
Fix output of quote ligatures with TeX font LuaTeX

Fixes: #10988
6 years agoIntroduce Inset::asInsetGraphics.
Richard Heck [Sun, 21 Jan 2018 03:59:12 +0000 (22:59 -0500)]
Introduce Inset::asInsetGraphics.

Then use it to avoid explicit LyXCode checks in the graphic group
code.

6 years agoUpdate it.po
Enrico Forestieri [Sat, 20 Jan 2018 10:34:16 +0000 (11:34 +0100)]
Update it.po

6 years agoremove unnecessary braces
Juergen Spitzmueller [Sat, 20 Jan 2018 09:39:18 +0000 (10:39 +0100)]
remove unnecessary braces

6 years agoUserGuide.lyx: correct an equation
Uwe Stöhr [Fri, 19 Jan 2018 00:02:25 +0000 (01:02 +0100)]
UserGuide.lyx: correct an equation

thanks Yuriy for spotting

6 years agoru.po: updates from Yuriy
Uwe Stöhr [Thu, 18 Jan 2018 23:31:47 +0000 (00:31 +0100)]
ru.po: updates from Yuriy

- also some updates for Tutorial.lyx

6 years agoRevert "ctests: Ignore lyx2lyx warnings regarding ligature dashes"
Kornel Benko [Thu, 18 Jan 2018 07:11:53 +0000 (08:11 +0100)]
Revert "ctests: Ignore lyx2lyx warnings regarding ligature dashes"
Amends 9ce5d85: Prevent rows of hyphens becoming dashes when back-porting to 2.1.

This reverts commit a5a272ece345e7fa33ef0bc98a50d1b61f616ac6.

6 years agoctests: invert for new ru example_lyxified.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.

6 years agoPrevent rows of hyphens becoming dashes when back-porting to 2.1.
Günter Milde [Wed, 17 Jan 2018 20:39:03 +0000 (21:39 +0100)]
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.

6 years agoFrench example files: port recent changes to master
Uwe Stöhr [Wed, 17 Jan 2018 14:58:07 +0000 (15:58 +0100)]
French example files: port recent changes to master

6 years agoAdd testfiles-references to automake build: vcs_info_export moved to new directory...
Kornel Benko [Wed, 17 Jan 2018 14:31:57 +0000 (15:31 +0100)]
Add testfiles-references to automake build: vcs_info_export moved to new directory, part 4

6 years agotests: missed ref, vcs_info_export moved to new directory, part 3
Kornel Benko [Wed, 17 Jan 2018 11:28:18 +0000 (12:28 +0100)]
tests: missed ref, vcs_info_export moved to new directory, part 3

6 years agovcs_info_export moved to new directory, part 2
Kornel Benko [Wed, 17 Jan 2018 11:25:22 +0000 (12:25 +0100)]
vcs_info_export moved to new directory, part 2

6 years agovcs_info_export moved to new directory
Kornel Benko [Wed, 17 Jan 2018 11:09:18 +0000 (12:09 +0100)]
vcs_info_export moved to new directory

6 years agoRemove trailing whitespace in lyx2lyx.
Günter Milde [Fri, 12 Jan 2018 15:26:02 +0000 (16:26 +0100)]
Remove trailing whitespace in lyx2lyx.

6 years agoctest comment: be more clear about what "!" means
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.

6 years agoru.po: updates from Yuriy
Uwe Stöhr [Tue, 16 Jan 2018 14:41:10 +0000 (15:41 +0100)]
ru.po: updates from Yuriy

6 years agoexample files: distribute some changes
Uwe Stöhr [Tue, 16 Jan 2018 13:50:25 +0000 (14:50 +0100)]
example files: distribute some changes

- French:
 - fix compilation of beamer.lyx
 - update a screenshot

6 years agoSet endlabel color correctly when there is a selection
Jean-Marc Lasgouttes [Tue, 16 Jan 2018 13:04:05 +0000 (14:04 +0100)]
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.

6 years agoEmbeddedObjects.lyx: fix a typo spotted by Paul Rubin
Uwe Stöhr [Tue, 16 Jan 2018 03:45:44 +0000 (04:45 +0100)]
EmbeddedObjects.lyx: fix a typo spotted by Paul Rubin

fixes #10965

6 years agodoc files: correct preamble commands
Uwe Stöhr [Tue, 16 Jan 2018 03:08:52 +0000 (04:08 +0100)]
doc files: correct preamble commands

thanks toe Jean-Pierre

6 years agoComment: explain interpretation of "!"
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.

6 years agoWhitespace
Scott Kostyshak [Mon, 15 Jan 2018 22:08:20 +0000 (17:08 -0500)]
Whitespace

6 years agoMerge branch 'ja_knitr_sweave_updates'
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.

6 years agoctests: run only pdf4_systemF for ja knitr/sweave
Scott Kostyshak [Sun, 14 Jan 2018 20:51:31 +0000 (15:51 -0500)]
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

6 years agoRestore 3c6fa867 and b83252b1
Scott Kostyshak [Sun, 14 Jan 2018 19:54:49 +0000 (14:54 -0500)]
Restore 3c6fa867 and b83252b1

This restores the https URLs.

6 years agoRestore math options to "load automatically"
Scott Kostyshak [Sun, 14 Jan 2018 19:45:23 +0000 (14:45 -0500)]
Restore math options to "load automatically"

6 years agoRestore \origin
Scott Kostyshak [Sun, 14 Jan 2018 19:28:33 +0000 (14:28 -0500)]
Restore \origin

6 years agoBig changes to ja/sweave/lyx and ja/knitr.lyx
Scott Kostyshak [Sun, 14 Jan 2018 19:24:28 +0000 (14:24 -0500)]
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.

6 years agoctests: allow excluding patterns
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.

6 years ago* cs.po
Pavel Sanda [Mon, 15 Jan 2018 20:47:06 +0000 (21:47 +0100)]
* cs.po

6 years agoPartial cleanup of the row selection code
Jean-Marc Lasgouttes [Mon, 15 Jan 2018 15:14:21 +0000 (16:14 +0100)]
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.

6 years agouk.po: updates from Yuri
Uwe Stöhr [Mon, 15 Jan 2018 14:37:02 +0000 (15:37 +0100)]
uk.po: updates from Yuri

6 years agoWin installer: start an an RC2 installer
Uwe Stöhr [Sun, 14 Jan 2018 21:18:20 +0000 (22:18 +0100)]
Win installer: start an an RC2 installer

- also fix a typo and update a file size

6 years agotests: add ref
Pavel Sanda [Sun, 14 Jan 2018 14:04:47 +0000 (15:04 +0100)]
tests: add ref

6 years agotests: add ref
Pavel Sanda [Sun, 14 Jan 2018 13:56:11 +0000 (14:56 +0100)]
tests: add ref

6 years ago* layouttranslations.review
Pavel Sanda [Sun, 14 Jan 2018 13:33:38 +0000 (14:33 +0100)]
* layouttranslations.review

wa never used, da forgotten, en not needed.

6 years ago* layouttranslation.review: pt reviewed by Jose.
Pavel Sanda [Sun, 14 Jan 2018 13:01:18 +0000 (14:01 +0100)]
* layouttranslation.review: pt reviewed by Jose.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203376.html

6 years agoCmake tests: New test for the outliner with beamer
Kornel Benko [Sun, 14 Jan 2018 12:47:27 +0000 (13:47 +0100)]
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.

6 years ago* LFUN_BUFFER_RELOAD - allow dropping of the changes.
Pavel Sanda [Sat, 13 Jan 2018 18:19:18 +0000 (19:19 +0100)]
* LFUN_BUFFER_RELOAD - allow dropping of the changes.

Useful in scripts.

6 years agoWork around auto-bibitem insertion when separating bibliography environment
Juergen Spitzmueller [Sat, 13 Jan 2018 14:12:10 +0000 (15:12 +0100)]
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.