]>
git.lyx.org Git - features.git/log
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
Juergen Spitzmueller [Sat, 6 Jan 2018 09:43:44 +0000 (10:43 +0100)]
Start inset at new line
Juergen Spitzmueller [Sat, 6 Jan 2018 08:31:24 +0000 (09:31 +0100)]
Customization: some color name fixes.
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 .
Pavel Sanda [Fri, 5 Jan 2018 22:42:03 +0000 (23:42 +0100)]
* cs.po
Uwe Stöhr [Fri, 5 Jan 2018 20:52:15 +0000 (21:52 +0100)]
ru.po: fix msgmerge warnings
Jean-Marc Lasgouttes [Fri, 5 Jan 2018 18:59:31 +0000 (19:59 +0100)]
Move the inPixels(MetricsBase) help from Length to MetricsBase.
A basic class like Length should not depend on something from
frontend.
This change allows to remove several dummy implementations of
theFontMetrics().
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.
Enrico Forestieri [Fri, 5 Jan 2018 18:27:24 +0000 (19:27 +0100)]
Account for Qt 5.10
Fix regular sed expression in order to catch a second digit in the
Qt minor version number.
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.
Juergen Spitzmueller [Fri, 5 Jan 2018 10:08:23 +0000 (11:08 +0100)]
Minor re-ordering of the Insert menu
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.
Juergen Spitzmueller [Thu, 4 Jan 2018 17:38:08 +0000 (18:38 +0100)]
Do note attempt to nest more than possible.
Kornel Benko [Wed, 3 Jan 2018 13:58:58 +0000 (14:58 +0100)]
Cmake build: Added handling for lyxrc.dist for Apple and Unix
Also added include path for magic.h, as found out by Joel Kulesza
Juergen Spitzmueller [Wed, 3 Jan 2018 12:20:05 +0000 (13:20 +0100)]
Properly handle color none.
Fixes: #5870
Juergen Spitzmueller [Wed, 3 Jan 2018 12:16:07 +0000 (13:16 +0100)]
Disable useless environment-split function at the core.
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.
Juergen Spitzmueller [Wed, 3 Jan 2018 07:55:35 +0000 (08:55 +0100)]
Amend
761a542551bc9 once more.
As it is designed now, Static label is the only case that makes sense.
Juergen Spitzmueller [Tue, 2 Jan 2018 17:05:43 +0000 (18:05 +0100)]
Limit
761a542551bc9 to the case where we have a label.
Jean-Marc Lasgouttes [Mon, 1 Jan 2018 23:23:27 +0000 (00:23 +0100)]
Do not use Application for a 'cancel export' boolean
It is not good for a support function to depend of anything outside of
it, especially Application.
Here the boolean that indicates that export should be canceled is put
in Systemcall. This allows to remove all the dummy theApp() function
that have been added here and there for linking needs.
Uwe Stöhr [Tue, 2 Jan 2018 14:24:43 +0000 (15:24 +0100)]
ar.po: updates from Hatim
Juergen Spitzmueller [Tue, 2 Jan 2018 12:55:01 +0000 (13:55 +0100)]
lyx_pot.py: consider empty encoding gui name
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 [Tue, 2 Jan 2018 08:28:04 +0000 (09:28 +0100)]
Fix a comment.
Ligating of -- to en dashes occure also in teletype fonts.
With some 8-bit fonts, em and en dashes are not copied
exported from the PDF (but this is not limited to dashes in teletype).
With LatinModern, PDF export works fine
MWE:
\documentclass[]{article}
%\usepackage{lmodern}
\usepackage[T1]{fontenc}
\begin{document}
Hallo \texttt{Welt --Welt ---Welt}
Hallo Welt --Welt ---Welt
Jean-Marc Lasgouttes [Mon, 1 Jan 2018 22:54:13 +0000 (23:54 +0100)]
Fix 'make check'
Pavel Sanda [Mon, 1 Jan 2018 22:10:56 +0000 (23:10 +0100)]
* cs.po
Pavel Sanda [Mon, 1 Jan 2018 21:54:04 +0000 (22:54 +0100)]
Remerge cs.po
Enrico Forestieri [Mon, 1 Jan 2018 18:07:14 +0000 (19:07 +0100)]
Update it.po
Uwe Stöhr [Mon, 1 Jan 2018 15:56:43 +0000 (16:56 +0100)]
ru.po: updates from Yuri
Uwe Stöhr [Mon, 1 Jan 2018 15:56:31 +0000 (16:56 +0100)]
Russian doc files: new and updated translations by Yuri
Uwe Stöhr [Mon, 1 Jan 2018 13:39:59 +0000 (14:39 +0100)]
French UserGuide.lyx: port Jean-Pierre's recent changes to master
Kornel Benko [Mon, 1 Jan 2018 13:22:10 +0000 (14:22 +0100)]
Update sk.po
Kornel Benko [Mon, 1 Jan 2018 13:03:51 +0000 (14:03 +0100)]
Added new testcase to check for correct VCS-Info
Juergen Spitzmueller [Mon, 1 Jan 2018 12:45:14 +0000 (13:45 +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.
Juergen Spitzmueller [Mon, 1 Jan 2018 11:40:16 +0000 (12:40 +0100)]
mention new option
Kornel Benko [Mon, 1 Jan 2018 11:16:09 +0000 (12:16 +0100)]
Testfile for checking vcs_info.
File created by Pavel Šanda
Juergen Spitzmueller [Sun, 31 Dec 2017 17:58:32 +0000 (18:58 +0100)]
LFUNS.lyx: update
Juergen Spitzmueller [Sun, 31 Dec 2017 17:57:27 +0000 (18:57 +0100)]
LyXAction.cpp: Whitespace and line breaking fixes.
Juergen Spitzmueller [Sun, 31 Dec 2017 13:43:45 +0000 (14:43 +0100)]
Another case where nesting needs to be preserved.
Juergen Spitzmueller [Sun, 31 Dec 2017 09:37:35 +0000 (10:37 +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.
Juergen Spitzmueller [Sun, 31 Dec 2017 09:14:59 +0000 (10:14 +0100)]
Distribute UG changes following menu move of environment-split
Juergen Spitzmueller [Sun, 31 Dec 2017 09:00:38 +0000 (10:00 +0100)]
Distribute auto-nest documentation.
Juergen Spitzmueller [Sun, 31 Dec 2017 08:41:43 +0000 (09:41 +0100)]
Use real cursor pit, not the modified one.
Kornel Benko [Sat, 30 Dec 2017 19:40:01 +0000 (20:40 +0100)]
Update sk.po
Juergen Spitzmueller [Sat, 30 Dec 2017 18:29:51 +0000 (19:29 +0100)]
Distribute beamer manual changes in the wake of the environment-split mods.
Juergen Spitzmueller [Sat, 30 Dec 2017 18:13:04 +0000 (19:13 +0100)]
de.po: update
Juergen Spitzmueller [Sat, 30 Dec 2017 17:54:39 +0000 (18:54 +0100)]
Maintain nesting when separating outer environment
Juergen Spitzmueller [Sat, 30 Dec 2017 16:54:09 +0000 (17:54 +0100)]
Move environment-split from Edit to Insert, as requested.
Juergen Spitzmueller [Sat, 30 Dec 2017 16:04:10 +0000 (17:04 +0100)]
Don't show append function where it does not make sense.
Juergen Spitzmueller [Sat, 30 Dec 2017 15:26:20 +0000 (16:26 +0100)]
Revert "Fix environment-split when at pos 0 of a frame title."
This reverts commit
1ff34a973d2748c407e4b7a6ea2284dac895b8ee .