]>
git.lyx.org Git - lyx.git/log
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
Günter Milde [Thu, 11 Jan 2018 23:31:31 +0000 (00:31 +0100)]
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.
Pavel Sanda [Thu, 11 Jan 2018 22:46:40 +0000 (23:46 +0100)]
* cs.po
Juergen Spitzmueller [Thu, 11 Jan 2018 12:43:35 +0000 (13:43 +0100)]
Fix Null-checking issue detected by Coverity.
Juergen Spitzmueller [Thu, 11 Jan 2018 12:14:16 +0000 (13:14 +0100)]
Take AgainFrame to the TOC.
Juergen Spitzmueller [Thu, 11 Jan 2018 12:09:04 +0000 (13:09 +0100)]
Amend
07665d1dca9
We need to disable auto-nesting here.
Juergen Spitzmueller [Thu, 11 Jan 2018 09:48:47 +0000 (10:48 +0100)]
Handle movement of environments better
Make sure moved environments (such as frames) are separated from their
new neighbours.
Günter Milde [Wed, 10 Jan 2018 14:31:32 +0000 (15:31 +0100)]
Do not write LICR macro if character is encodable.
No hardcoded conversion of literal dashes to
\textemdash and \textendash macros.
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).
Pavel Sanda [Wed, 10 Jan 2018 09:51:27 +0000 (10:51 +0100)]
* cs.po
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:38:31 +0000 (02:38 +0100)]
ru.po: updates from Yuriy
Uwe Stöhr [Wed, 10 Jan 2018 01:12:40 +0000 (02:12 +0100)]
Changelog-Customization-LyX_23x.txt: dummy commit as text
Uwe Stöhr [Tue, 9 Jan 2018 00:28:26 +0000 (01:28 +0100)]
Customization.lyx: distribute and accept recent changes
Uwe Stöhr [Mon, 8 Jan 2018 14:54:08 +0000 (15:54 +0100)]
EmbeddedObjects.lyx: port updates and fixes from Jean-Pierre to master
Jean-Marc Lasgouttes [Mon, 8 Jan 2018 14:15:29 +0000 (15:15 +0100)]
Simplify code using range-based for loops
Kornel Benko [Mon, 8 Jan 2018 11:58:28 +0000 (12:58 +0100)]
Cmake build: Use test/dummy_functions.cpp instead of support/tests/dummy_functions.cpp
Test-programms in src/tests are now handled the same as in autoconf.
Jean-Marc Lasgouttes [Mon, 8 Jan 2018 10:49:40 +0000 (11:49 +0100)]
Fix ghost caret
This fixes a regression in
e64ea357 , where a test has been (badly)
tightened to avoid that two consecutive rows may be redrawn to get rid
of caret ghosts. The test prohibited empty rows from being redrawn.
Moreover, improve the test of cursor boundary to avoid the case where
cursor position is already 0.
Fixes bug #10952.
Jean-Marc Lasgouttes [Mon, 8 Jan 2018 10:20:06 +0000 (11:20 +0100)]
Looks like these are not needed for tests in support/
Jean-Marc Lasgouttes [Mon, 8 Jan 2018 10:19:15 +0000 (11:19 +0100)]
Make #include directories explicit
Jean-Marc Lasgouttes [Sat, 6 Jan 2018 19:46:06 +0000 (20:46 +0100)]
Fix compilation in monolithic mode
Jean-Marc Lasgouttes [Sat, 6 Jan 2018 14:48:36 +0000 (15:48 +0100)]
Remove unused variables
Kornel Benko [Sat, 6 Jan 2018 11:05:51 +0000 (12:05 +0100)]
Cmake tests: Don't check in file before creating it