]>
git.lyx.org Git - lyx.git/log
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 .
Juergen Spitzmueller [Sat, 30 Dec 2017 11:50:48 +0000 (12:50 +0100)]
Fix environment-split when at pos 0 of a frame title.
This introduces a force argument to argument-insert that inserts
arguments even if they are already there. We need this here in order
to prevent DEPM.
Juergen Spitzmueller [Sat, 30 Dec 2017 10:54:37 +0000 (11:54 +0100)]
Fix environment-split previous problem spotted by Joel
Special case: append from the separator paragraph.
Richard Heck [Thu, 28 Dec 2017 19:41:47 +0000 (14:41 -0500)]
Fix bug #10835.
VCS InsetInfos were broken by the switch at
2e934fc5f8 to using
updateBuffer to handle them. But we do not really want to go through
that routine in a clone, not for those insets, whose contents we
want to be the same as in the original Buffer.
Also fixes some issues noted in discussion of this bug: Failure to
update after context menu switch; failure to re-calculate shortcuts,
which can change.
Richard Heck [Fri, 29 Dec 2017 20:53:43 +0000 (15:53 -0500)]
Minor code simplification.
Richard Heck [Thu, 28 Dec 2017 19:19:11 +0000 (14:19 -0500)]
Fix problem with BibTeX error reporting.
We only want to abort this process if the process was killed.
Also fix some style issues.
Juergen Spitzmueller [Fri, 29 Dec 2017 10:51:24 +0000 (11:51 +0100)]
Properly implement IsTocCaption for Arguments in standard TOC
Fixes: #10631
Candidate for 2.3.x.
Juergen Spitzmueller [Fri, 29 Dec 2017 09:36:03 +0000 (10:36 +0100)]
Add IsAutoNestedBy
This is complementary to AutoNests: Styles can determine which other
style should auto-nest them. This is particularly useful for modules
that add new styles which should be auto-nested in a given context.
Juergen Spitzmueller [Fri, 29 Dec 2017 09:03:00 +0000 (10:03 +0100)]
Some AutoNest polishment.
* Rename Nests to AutoNests
* Do it when changing from any style
Kornel Benko [Fri, 29 Dec 2017 08:28:12 +0000 (09:28 +0100)]
ctests: Ignore lyx2lyx warnings regarding ligature dashes
This may amend
586d16a "Fix lyx2lyx conversion of dashes."
Juergen Spitzmueller [Thu, 28 Dec 2017 16:56:48 +0000 (17:56 +0100)]
EndNests in Layout::write()
Juergen Spitzmueller [Thu, 28 Dec 2017 16:44:54 +0000 (17:44 +0100)]
Implement auto-nesting.
Now layouts can specify other layouts that should be nested in and
after the current one (if the layout is switched from the current one
and if it follows a paragraph in the current one).
This is particularly useful for things such as the beamer frames, where
particular layouts are practically always nested.
Juergen Spitzmueller [Thu, 28 Dec 2017 13:17:40 +0000 (14:17 +0100)]
Introduce environment-split before
This one prepends the new environment rather than appending it.
Easy way to add a new beamer frame before the current one.
Juergen Spitzmueller [Thu, 28 Dec 2017 11:28:01 +0000 (12:28 +0100)]
Introduce environment-split previous
This one checks for an environment in the previous paragraph (outside
the nesting scope).
Juergen Spitzmueller [Wed, 27 Dec 2017 14:43:40 +0000 (15:43 +0100)]
Fix footnotes in table with RevTeX4
These classes come with their own working implementation of table
footnotes, so we are not supposed to use the tablefootnote or
footnote package.
Also add missing outliner name.
Juergen Spitzmueller [Wed, 27 Dec 2017 10:49:54 +0000 (11:49 +0100)]
Open intitle command explicitly also for passthru.
Kornel Benko [Wed, 27 Dec 2017 09:11:03 +0000 (10:11 +0100)]
Update sk.po
Do we really need to commit also .gmo-files in master branch?
Juergen Spitzmueller [Tue, 26 Dec 2017 12:11:00 +0000 (13:11 +0100)]
Use TeXOnePar for the inpreamble layouts
This considers paragraph language and spacing (and simplifies the code)
Juergen Spitzmueller [Tue, 26 Dec 2017 11:35:55 +0000 (12:35 +0100)]
Tufte title is fragile
Candidate for 2.3.x.
Juergen Spitzmueller [Tue, 26 Dec 2017 10:40:58 +0000 (11:40 +0100)]
Fix inpreamble styles.
Kornel Benko [Tue, 26 Dec 2017 09:45:44 +0000 (10:45 +0100)]
pocheck.pl: In checking for period at end, treat '...' be equivalent to '…'
Scott Kostyshak [Tue, 26 Dec 2017 07:03:06 +0000 (02:03 -0500)]
Fix Python escaping of unicode string
When removing "r" from "ur", it is needed to add extra backslashes.
See:
https://www.mail-archive.com/search?l=mid&q=
2024193 .iXIh6cq6L3%40myth
Thanks to José.
This commit amends
b7983478 (and thus
586d16a4 ).
Richard Heck [Sun, 24 Dec 2017 16:17:50 +0000 (11:17 -0500)]
Fix crash after cancellation code.
I thought we didn't use clones when exporting from the command line.
We probably shouldn't.
Kornel Benko [Mon, 25 Dec 2017 13:42:34 +0000 (14:42 +0100)]
Update sk.po
Juergen Spitzmueller [Mon, 25 Dec 2017 11:35:43 +0000 (12:35 +0100)]
de.po: update
Juergen Spitzmueller [Mon, 25 Dec 2017 11:22:45 +0000 (12:22 +0100)]
Improve error msg