]>
git.lyx.org Git - features.git/log
Uwe Stöhr [Wed, 31 Jan 2018 04:47:41 +0000 (05:47 +0100)]
French Additional.lyx: sync with branch
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).
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.)
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.
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.
Uwe Stöhr [Mon, 29 Jan 2018 14:10:13 +0000 (15:10 +0100)]
Merge branch 'master' of git.lyx.org:lyx
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
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.
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.
Juergen Spitzmueller [Mon, 29 Jan 2018 08:09:51 +0000 (09:09 +0100)]
Add Bibliography to the Outliner.
Fixes: #11001, #7724.
Juergen Spitzmueller [Mon, 29 Jan 2018 07:37:25 +0000 (08:37 +0100)]
Whitespace
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.
Richard Heck [Mon, 29 Jan 2018 04:02:30 +0000 (23:02 -0500)]
Whitespace.
Uwe Stöhr [Mon, 29 Jan 2018 00:35:23 +0000 (01:35 +0100)]
Additional.lyx: port recent changes
Enrico Forestieri [Sun, 28 Jan 2018 12:00:33 +0000 (13:00 +0100)]
Update it.po
Uwe Stöhr [Sun, 28 Jan 2018 00:18:04 +0000 (01:18 +0100)]
ru.po: last minute changes for RC from Yuriy
Pavel Sanda [Sat, 27 Jan 2018 22:20:39 +0000 (23:20 +0100)]
* cs.po
Juergen Spitzmueller [Sat, 27 Jan 2018 13:53:18 +0000 (14:53 +0100)]
Document B_ in cite style definitions
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
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.
Juergen Spitzmueller [Sat, 27 Jan 2018 11:26:01 +0000 (12:26 +0100)]
Use proper localization chain for Box special width/height
Fixes: #11000
Juergen Spitzmueller [Sat, 27 Jan 2018 10:21:12 +0000 (11:21 +0100)]
de.po: update
Juergen Spitzmueller [Sat, 27 Jan 2018 10:20:11 +0000 (11:20 +0100)]
Make another GUI string translatable
Part of #10999.
Juergen Spitzmueller [Sat, 27 Jan 2018 09:57:33 +0000 (10:57 +0100)]
Make GUI string translatable
Part of #10999
Pavel Sanda [Fri, 26 Jan 2018 18:49:40 +0000 (19:49 +0100)]
* layouttranslations - update ar, ru, el
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?
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
Juergen Spitzmueller [Fri, 26 Jan 2018 07:37:06 +0000 (08:37 +0100)]
Account for custom encoding in DocIteratior::getEncoding
Addresses #10995
Uwe Stöhr [Thu, 25 Jan 2018 23:15:36 +0000 (00:15 +0100)]
ru.po: translations from Yuriy
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.
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
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().
Scott Kostyshak [Thu, 25 Jan 2018 04:43:34 +0000 (23:43 -0500)]
Correct \origin in the new ru examples
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.
Günter Milde [Wed, 24 Jan 2018 16:38:19 +0000 (17:38 +0100)]
Fix lyx2lyx dash conversion and make it faster.
Günter Milde [Wed, 24 Jan 2018 16:35:43 +0000 (17:35 +0100)]
Dedicated test samples for lyx2lyx ctests.
Jean-Marc Lasgouttes [Wed, 24 Jan 2018 13:05:57 +0000 (14:05 +0100)]
Better debug message
Uwe Stöhr [Wed, 24 Jan 2018 02:26:02 +0000 (03:26 +0100)]
Win installer: upgrade to Qt 5.9.4
Uwe Stöhr [Wed, 24 Jan 2018 00:18:43 +0000 (01:18 +0100)]
Merge branch 'master' of git.lyx.org:lyx
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
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().
Uwe Stöhr [Tue, 23 Jan 2018 13:26:32 +0000 (14:26 +0100)]
ru.po: more translations from Yuriy
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.
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.
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.
Uwe Stöhr [Sun, 21 Jan 2018 20:33:15 +0000 (21:33 +0100)]
pt_BR.po: updates for master from Georger
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.
Juergen Spitzmueller [Sun, 21 Jan 2018 11:24:02 +0000 (12:24 +0100)]
Fix output of quote ligatures with TeX font LuaTeX
Fixes: #10988
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.
Enrico Forestieri [Sat, 20 Jan 2018 10:34:16 +0000 (11:34 +0100)]
Update it.po
Juergen Spitzmueller [Sat, 20 Jan 2018 09:39:18 +0000 (10:39 +0100)]
remove unnecessary braces
Uwe Stöhr [Fri, 19 Jan 2018 00:02:25 +0000 (01:02 +0100)]
UserGuide.lyx: correct an equation
thanks Yuriy for spotting
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
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 .
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 .
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.
Uwe Stöhr [Wed, 17 Jan 2018 14:58:07 +0000 (15:58 +0100)]
French example files: port recent changes to master
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
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
Kornel Benko [Wed, 17 Jan 2018 11:25:22 +0000 (12:25 +0100)]
vcs_info_export moved to new directory, part 2
Kornel Benko [Wed, 17 Jan 2018 11:09:18 +0000 (12:09 +0100)]
vcs_info_export moved to new directory
Günter Milde [Fri, 12 Jan 2018 15:26:02 +0000 (16:26 +0100)]
Remove trailing whitespace in lyx2lyx.
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.
Uwe Stöhr [Tue, 16 Jan 2018 14:41:10 +0000 (15:41 +0100)]
ru.po: updates from Yuriy
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
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.
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
Uwe Stöhr [Tue, 16 Jan 2018 03:08:52 +0000 (04:08 +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.
Scott Kostyshak [Mon, 15 Jan 2018 22:08:20 +0000 (17:08 -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.
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
Scott Kostyshak [Sun, 14 Jan 2018 19:54:49 +0000 (14:54 -0500)]
Restore
3c6fa867 and
b83252b1
This restores the https URLs.
Scott Kostyshak [Sun, 14 Jan 2018 19:45:23 +0000 (14:45 -0500)]
Restore math options to "load automatically"
Scott Kostyshak [Sun, 14 Jan 2018 19:28:33 +0000 (14:28 -0500)]
Restore \origin
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.
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.
Pavel Sanda [Mon, 15 Jan 2018 20:47:06 +0000 (21:47 +0100)]
* cs.po
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.
Uwe Stöhr [Mon, 15 Jan 2018 14:37:02 +0000 (15:37 +0100)]
uk.po: updates from Yuri
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
Pavel Sanda [Sun, 14 Jan 2018 14:04:47 +0000 (15:04 +0100)]
tests: add ref
Pavel Sanda [Sun, 14 Jan 2018 13:56:11 +0000 (14:56 +0100)]
tests: add ref
Pavel Sanda [Sun, 14 Jan 2018 13:33:38 +0000 (14:33 +0100)]
* layouttranslations.review
wa never used, da forgotten, en not needed.
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
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.
Pavel Sanda [Sat, 13 Jan 2018 18:19:18 +0000 (19:19 +0100)]
* LFUN_BUFFER_RELOAD - allow dropping of the changes.
Useful in scripts.
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.
Juergen Spitzmueller [Sat, 13 Jan 2018 13:51:01 +0000 (14:51 +0100)]
Once more rework outline wrt environments.
* Fixes UNDO issues
* Takes care of some special cases
Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
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>
Jean-Marc Lasgouttes [Fri, 12 Jan 2018 15:54:32 +0000 (16:54 +0100)]
Initialize properly class member
Spotted by coverity.
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>
Jean-Marc Lasgouttes [Fri, 12 Jan 2018 11:27:03 +0000 (12:27 +0100)]
Spacing
Jean-Marc Lasgouttes [Fri, 12 Jan 2018 11:22:28 +0000 (12:22 +0100)]
Fixup
27eb415d : do not define mymkdir() when it is not used.
Pleases coverity.
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>
Juergen Spitzmueller [Fri, 12 Jan 2018 09:44:01 +0000 (10:44 +0100)]
Complement the movement handling of environments
Make sure moved environments (such as frames) are separated from their
new neighbours in all directions.
This completes
07665d1dca95b4
Juergen Spitzmueller [Fri, 12 Jan 2018 09:24:34 +0000 (10:24 +0100)]
Revert "de.po: update some translations"
This reverts commit
277816ab61cac70dd730b5cbe38b653954128380 .
Uwe Stöhr [Fri, 12 Jan 2018 03:54:25 +0000 (04:54 +0100)]
de.po: update some translations
Uwe Stöhr [Fri, 12 Jan 2018 03:54:03 +0000 (04:54 +0100)]
UserGuide.lyx: distribute recent changes
Uwe Stöhr [Fri, 12 Jan 2018 01:42:36 +0000 (02:42 +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