]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoAdd \save_transient_properties parameter (#9841)
Guillaume Munch [Sun, 20 Dec 2015 16:37:29 +0000 (16:37 +0000)]
Add \save_transient_properties parameter (#9841)

Increment LyX format to 504.

With this new parameter, the user can indicate that some other parameters that
are frequently switched must not be recorded in the file (as if they were a
setting specific to the user or transient, rather than a document setting). This
will play nicer with version control systems.

See the discussion, e.g.:
http://thread.gmane.org/gmane.editors.lyx.devel/157824/focus=157993 (third
solution mentioned)

TODO:
* The interface remains to be set up. We cannot change this setting from LyX
  for now.
* If save_transient_properties is false, we should read the user setting as a
  per-user-per-document (session) setting (e.g. like the cursor position).
* Once the above is done, we can treat \justification the same way (but it would
  be even better if \justification was moved to lyxrc).

8 years agoRevert "Work around bug #9841"
Guillaume Munch [Sun, 20 Dec 2015 13:08:49 +0000 (13:08 +0000)]
Revert "Work around bug #9841"

This reverts commit dc016de34eab3fe24d9673a48cabf754bebbadaa.

See discussion at http://mid.gmane.org/n53ar8$1tj$1@ger.gmane.org

8 years agoAmend fd4d23b4
Guillaume Munch [Sun, 20 Dec 2015 13:16:00 +0000 (13:16 +0000)]
Amend fd4d23b4

http://mid.gmane.org/3790287.D9aVANvQPJ@linux-22mz

8 years agozlib: enable prefix, fix mingw build
Peter Kümmel [Tue, 12 Jan 2016 19:11:31 +0000 (20:11 +0100)]
zlib: enable prefix, fix mingw build

8 years agoadd batch file for MinGW build on Windows
Peter Kümmel [Tue, 12 Jan 2016 19:10:51 +0000 (20:10 +0100)]
add batch file for MinGW build on Windows

8 years agoRemaining broken links corrected
Kornel Benko [Tue, 12 Jan 2016 18:16:41 +0000 (19:16 +0100)]
Remaining broken links corrected

8 years agoReplace broken links.
Kornel Benko [Mon, 11 Jan 2016 22:42:11 +0000 (23:42 +0100)]
Replace broken links.

8 years agoMath.lyx: update to the new \aa handling
Uwe Stöhr [Mon, 11 Jan 2016 22:19:54 +0000 (23:19 +0100)]
Math.lyx: update to the new \aa handling

8 years ago- doc files: re-add some \origin
Uwe Stöhr [Mon, 11 Jan 2016 22:16:43 +0000 (23:16 +0100)]
- doc files: re-add some \origin

- For the Indonesian file in attic there must be no \origin to avoid an error in the ReplaceValues.py script

8 years agoFrench Customization.lyx: translations from Jean-Pierre
Uwe Stöhr [Mon, 11 Jan 2016 21:54:43 +0000 (22:54 +0100)]
French Customization.lyx: translations from Jean-Pierre

8 years agoUpdate layouts
Guillaume Munch [Fri, 8 Jan 2016 00:24:09 +0000 (00:24 +0000)]
Update layouts

3c9b62a69 only added new keywords, so nothing changes, as it should be.

8 years agoCheck that we have bash before running updatelfuns.sh
Guillaume Munch [Thu, 7 Jan 2016 23:42:21 +0000 (23:42 +0000)]
Check that we have bash before running updatelfuns.sh

Also set executable bits on the devel scripts.

8 years agoFix compilation error with clang's libc++
Jean-Marc Lasgouttes [Fri, 8 Jan 2016 08:51:32 +0000 (09:51 +0100)]
Fix compilation error with clang's libc++

The bug is probably fixed for clang 3.7.1 or 3.8.0

8 years agoFix the logic of selection of std::regex
Jean-Marc Lasgouttes [Wed, 6 Jan 2016 09:33:54 +0000 (10:33 +0100)]
Fix the logic of selection of std::regex

This amends commit e1938aa2, which introduced some logic
errors: regex would be enabled for gcc versions which have unusable
<regex> header.

The new code separates better special gcc handling from special C++11
handling and should be more readable.

* set -std=c++11 in AM_CPPFLAGS instead of AM_CXXFLAGS, since the
  preprocessor uses this setting too.

* Before checking for header <regex>, set language to C++ and update
  value of AM_CPPFLAGS too.

* Separate code that checks for regex in its own macro.

* now unknown compiler which have the <regex> header, will use std::regex in C++11 mode.

8 years agoDoc files: re-add some origin paths
Uwe Stöhr [Mon, 11 Jan 2016 01:19:35 +0000 (02:19 +0100)]
Doc files: re-add some origin paths

(while checking compilability of changed files)
thanks Georg for fixing this issue in LyX

8 years agoJapanese Math.lyx: fix 3 icons
Uwe Stöhr [Mon, 11 Jan 2016 00:11:06 +0000 (01:11 +0100)]
Japanese Math.lyx: fix 3 icons

(these were accidentally destroyed in changeset/6b0632ee)

8 years agoes.po: translation from Ignacio
Uwe Stöhr [Mon, 11 Jan 2016 00:04:42 +0000 (01:04 +0100)]
es.po: translation from Ignacio

8 years agoSpanish UserGuide.lyx: translations from Ignacio
Uwe Stöhr [Mon, 11 Jan 2016 00:03:57 +0000 (01:03 +0100)]
Spanish UserGuide.lyx: translations from Ignacio

8 years agoMake sure the origin tag is properly terminated.
Enrico Forestieri [Sun, 10 Jan 2016 22:17:59 +0000 (23:17 +0100)]
Make sure the origin tag is properly terminated.

8 years agoDo not apply \origin at existing files
Georg Baum [Sun, 10 Jan 2016 18:46:01 +0000 (19:46 +0100)]
Do not apply \origin at existing files

The current behaviour of the \origin parameter replaces relative file names
with the absolute original names if a document has been moved even if the
files have been moved as well. This behaviour is annoying e.g. for editing the
LyX docs in a git checkout.

Now file names are only replaced if the referenced file sdo not exist.

8 years agoCall lyx::next and lyx::prev explicitely. In case libc++ provides
Stephan Witt [Sun, 10 Jan 2016 16:59:42 +0000 (17:59 +0100)]
Call lyx::next and lyx::prev explicitely. In case libc++ provides
std::next even when not in C++11 mode this is necessary. E.g. with
clang from Xcode7 on Mac OS X.

8 years agoremove unused minizip include; avoid putting zlib include dir before others, this...
Stephan Witt [Sat, 9 Jan 2016 13:31:36 +0000 (14:31 +0100)]
remove unused minizip include; avoid putting zlib include dir before others, this causes use of external boost headers if they are at the same location

8 years agotypo
Juergen Spitzmueller [Sun, 10 Jan 2016 10:17:32 +0000 (11:17 +0100)]
typo

8 years agoAlways place the cursor before a separator inset when moving up or down.
Enrico Forestieri [Sat, 9 Jan 2016 23:08:10 +0000 (00:08 +0100)]
Always place the cursor before a separator inset when moving up or down.

8 years agoAvoid inserting multiple consecutive parbreak separators.
Enrico Forestieri [Sat, 9 Jan 2016 23:04:41 +0000 (00:04 +0100)]
Avoid inserting multiple consecutive parbreak separators.

8 years agoCmake export tests: Improve font selection
Kornel Benko [Sat, 9 Jan 2016 21:07:32 +0000 (22:07 +0100)]
Cmake export tests: Improve font selection

8 years agoCmake export tests: Really supply own system fonts only if not specified in document.
Kornel Benko [Sat, 9 Jan 2016 18:49:23 +0000 (19:49 +0100)]
Cmake export tests: Really supply own system fonts only if not specified in document.

8 years agoctest: Fix an inversion filter-pattern.
Günter Milde [Sat, 9 Jan 2016 17:30:22 +0000 (18:30 +0100)]
ctest: Fix an inversion filter-pattern.

8 years agoSwap preference of PDF->Postscript converters.
Günter Milde [Sat, 9 Jan 2016 14:51:25 +0000 (15:51 +0100)]
Swap preference of PDF->Postscript converters.

According to http://stefaanlippens.net/pdf2ps_vs_pdftops
pdftops is better than pdf2ps (which transforms fonts into bitmaps which
results in larger files, non scalability and longer conversion times).
(tip by Georg Baum,  http://permalink.gmane.org/gmane.editors.lyx.general/85973)

8 years agoctests: Hebrew does not currently work with LuaTeX.
Günter Milde [Sat, 9 Jan 2016 10:10:23 +0000 (11:10 +0100)]
ctests: Hebrew does not currently work with LuaTeX.

8 years agoctests: sort "suspiciousTests" patterns, Math working again.
Günter Milde [Fri, 8 Jan 2016 21:49:52 +0000 (22:49 +0100)]
ctests: sort "suspiciousTests" patterns, Math working again.

* sort and comment remaining unsorted filter patterns in suspiciousTests
  (mostly just move to TODO and state what needs to be done).

* comment the patterns for achemso and Math,
  (LuTeX incompatibility fixed in TeXLive 2016-01-07).

8 years agoUse polyglossia also with DVI (LuaTeX).
Günter Milde [Fri, 8 Jan 2016 21:51:58 +0000 (22:51 +0100)]
Use polyglossia also with DVI (LuaTeX).

Simplify the logic for language package selection and make it more consistent:

Use polyglossia with non-TeX fonts (system fonts/Unicode fonts) for all
export flavours (XeTeX, LuaTeX, DVI-LuaTeX), if the language package setting
is "auto" and there is no language not supported by Babel and no package
providing Babel.

This solves some Babel-related autotest cases and leads to some new failures
due to the polyglossia language nesting problem.

8 years agoImprove \AA and \aa tex2lyx import
Georg Baum [Fri, 8 Jan 2016 20:06:24 +0000 (21:06 +0100)]
Improve \AA and \aa tex2lyx import

The lib/unicodesymbols part is based on work by Günter Milde:

Both, \r{A} and \AA (rsp. \r{a} and \aa) are equivalent standard LICR macros
for Aring/aring  as well as the deprecated "angstrom sign" character (212B).

However, with \AA for 212B and \r{A} for 00C5, tex2lyx converts \AA to the
deprecated "angstrom sign" which is missing in many fonts including the
Unicode version of Latin Modern.

I added the normalize_c() calls so that tex2lyx prefers the precomposed forms
(these are better editable in LyX) and the deprecated flag.

8 years agoctests: address some test failures.
Günter Milde [Thu, 7 Jan 2016 17:10:22 +0000 (18:10 +0100)]
ctests: address some test failures.

* missing characters in linguistics example with system fonts
* language nesting problem in fr/linguistics example
110f505b63ea36bba solved one failure (Basque example file)

8 years agoAdd symbol tests for A WITH RING ABOVE
Georg Baum [Wed, 6 Jan 2016 21:34:12 +0000 (22:34 +0100)]
Add symbol tests for A WITH RING ABOVE

The conversion is not completely correct yet, but adding the test before the
fix has the advantage that the fix can easily be documented by changing the
test reference.

8 years agoctests: solve one todo item.
Günter Milde [Wed, 6 Jan 2016 13:58:38 +0000 (14:58 +0100)]
ctests: solve one todo item.

8 years agoctests: next round of sorting.
Günter Milde [Wed, 6 Jan 2016 13:51:02 +0000 (14:51 +0100)]
ctests: next round of sorting.

8 years agoalso install cross compiled lyx
Peter Kümmel [Wed, 6 Jan 2016 13:24:22 +0000 (14:24 +0100)]
also install cross compiled lyx

8 years agofix broken xmingw script
Peter Kümmel [Wed, 6 Jan 2016 12:07:26 +0000 (13:07 +0100)]
fix broken  xmingw script

8 years agofix merged build
Peter Kümmel [Wed, 6 Jan 2016 11:55:12 +0000 (12:55 +0100)]
fix merged build

8 years agomore flexible Xcode management, reduce hard coded version numbers
Stephan Witt [Wed, 6 Jan 2016 09:14:39 +0000 (10:14 +0100)]
more flexible Xcode management, reduce hard coded version numbers

8 years agoCmake url tests: Add special handling for some ftp-urls
Kornel Benko [Tue, 5 Jan 2016 16:27:49 +0000 (17:27 +0100)]
Cmake url tests: Add special handling for some ftp-urls

8 years agoctests: hebrew PDF (LuaTeX) works.
Günter Milde [Tue, 5 Jan 2016 16:02:44 +0000 (17:02 +0100)]
ctests: hebrew PDF (LuaTeX) works.

Works with system-fonts due to font substitution in the test-script.
TODO: set system fonts that work in the lyx source(s) to allow compilation
"by hand".

8 years agoMinor ctest documentation edits.
Günter Milde [Sat, 2 Jan 2016 21:31:14 +0000 (22:31 +0100)]
Minor ctest documentation edits.

Make sure not to confuse failing test and failing export for inverted tests.

8 years agoSet correct document language for Basque example.
Günter Milde [Sat, 2 Jan 2016 21:28:58 +0000 (22:28 +0100)]
Set correct document language for Basque example.

8 years agoctests: ignore docbook_article latex export.
Günter Milde [Sat, 2 Jan 2016 20:50:45 +0000 (21:50 +0100)]
ctests: ignore docbook_article latex export.

8 years agoFix bug #9907: We get a crash if we first close a master buffer one of
Richard Heck [Tue, 5 Jan 2016 14:53:42 +0000 (09:53 -0500)]
Fix bug #9907: We get a crash if we first close a master buffer one of
whose children is also a child of another buffer, then try to close that
one.

The problem is that we do not check properly to make sure that the child
is not a child of some other buffer. Now we do.

8 years agoRewrite the BufferList::releaseChild method so that it only checks
Richard Heck [Tue, 5 Jan 2016 14:52:18 +0000 (09:52 -0500)]
Rewrite the BufferList::releaseChild method so that it only checks
whether a given child Buffer is also a child of some other parent.
Then do the releasing or resetting where this method is called.

There should be no change of behavior with this patch.

8 years agoWhen moving cursor, always reset anchor
Jean-Marc Lasgouttes [Tue, 5 Jan 2016 10:12:00 +0000 (11:12 +0100)]
When moving cursor, always reset anchor

This applies to BufferView::moveToPosition, which is used for bookmarks and initial cursor position (on loading).

Fixes bug #9912.

8 years agoFix entering inset in visual cursor mode
Jean-Marc Lasgouttes [Tue, 5 Jan 2016 09:10:26 +0000 (10:10 +0100)]
Fix entering inset in visual cursor mode

Improve the test whether cursor has moved in Cursor::posVisLeft. The code for posVisRight had already been fixed for #5764 at 0730c923, but this replaces both tests by the proper == operator.

Fixes bug #9913.

8 years agoBroken URLs: replace with values found by Jean-Pierre.
Kornel Benko [Tue, 5 Jan 2016 11:13:21 +0000 (12:13 +0100)]
Broken URLs: replace with values found by Jean-Pierre.

8 years agoImprove visually text classes paper and foils
Jean-Marc Lasgouttes [Mon, 4 Jan 2016 10:51:08 +0000 (11:51 +0100)]
Improve visually text classes paper and foils

This does not change output, only GUI.

paper: make sure that the starred sections use proper sans serif on screen.

foils: add relevant categories to layouts

8 years agoTypo
Kornel Benko [Mon, 4 Jan 2016 12:45:11 +0000 (13:45 +0100)]
Typo

8 years agoCmake url tests: Some more http pages needs login.
Kornel Benko [Mon, 4 Jan 2016 12:25:57 +0000 (13:25 +0100)]
Cmake url tests: Some more http pages needs login.

8 years agoCorrect some more broken URLs
Kornel Benko [Mon, 4 Jan 2016 11:45:41 +0000 (12:45 +0100)]
Correct some more broken URLs

8 years agoCorrect some broken URLs
Kornel Benko [Mon, 4 Jan 2016 10:54:40 +0000 (11:54 +0100)]
Correct some broken URLs

8 years agoCmake url tests: Expand knownToRegisterURLS with an ftp entry
Kornel Benko [Mon, 4 Jan 2016 09:20:44 +0000 (10:20 +0100)]
Cmake url tests: Expand knownToRegisterURLS with an ftp entry

This entry 'ftp://ftp.edpsciences.org/pub/aa/readme.html' is special.
Although there are no problems with firefox, using ftp client is
problematic.

8 years agoAmend bb344452
Guillaume Munch [Mon, 4 Jan 2016 03:43:08 +0000 (03:43 +0000)]
Amend bb344452

8 years agoDo not initialize a var to a val that's never used
Scott Kostyshak [Sat, 19 Dec 2015 02:58:22 +0000 (21:58 -0500)]
Do not initialize a var to a val that's never used

By initializing 'to' to a value, the code made it seem like that
value mattered. But the value is overwritten in getWord().

Further, now if 'to' is used before it is initialized, there might
be a useful compiler warning that could point to a bug.

8 years agoAdd a TODO for Math.lyx to correct a broken link
Scott Kostyshak [Sun, 3 Jan 2016 16:25:30 +0000 (11:25 -0500)]
Add a TODO for Math.lyx to correct a broken link

The fix is clear but the docs are out for translation.

8 years agoUpdated manuals and po file for French, from Jean-Pierre.
Richard Heck [Sun, 3 Jan 2016 15:52:36 +0000 (10:52 -0500)]
Updated manuals and po file for French, from Jean-Pierre.

8 years agoCmake url tests: Use more sophiticated check for urls.
Kornel Benko [Sun, 3 Jan 2016 14:25:09 +0000 (15:25 +0100)]
Cmake url tests: Use more sophiticated check for urls.

8 years agoCmake tests for translators: Added check for required program phantomjs
Kornel Benko [Sun, 3 Jan 2016 12:02:08 +0000 (13:02 +0100)]
Cmake tests for translators: Added check for required program phantomjs

8 years agoUpdate to current format
Georg Baum [Sun, 3 Jan 2016 09:31:30 +0000 (10:31 +0100)]
Update to current format

8 years agoCmake URL tests: Better search for error 404, in received html snippet.
Kornel Benko [Sat, 2 Jan 2016 21:18:13 +0000 (22:18 +0100)]
Cmake URL tests: Better search for error 404, in received html snippet.

8 years agoCmake URL tests: Interpret 'Error 404' in received data as error.
Kornel Benko [Sat, 2 Jan 2016 10:29:11 +0000 (11:29 +0100)]
Cmake URL tests: Interpret 'Error 404' in received data as error.

8 years agoDo not setup building of 3rdparty/libiconv
Jean-Marc Lasgouttes [Wed, 30 Dec 2015 20:44:59 +0000 (21:44 +0100)]
Do not setup building of 3rdparty/libiconv

This causes build problems with automake < 1.14 because two files have the same name. This only works well when using subdir-objects, which we only do after 1.14.

We do not want to build libiconv on target which support autotools anyway, but rely on a built-in one.

This fixes building on oldish ubuntu 12.04.

8 years agoMerge branch 'master' of git.lyx.org:lyx
Kornel Benko [Thu, 31 Dec 2015 14:24:33 +0000 (15:24 +0100)]
Merge branch 'master' of git.lyx.org:lyx

8 years agoCmake export tests: these cases will probably not be corrected in near future
Kornel Benko [Thu, 31 Dec 2015 14:05:33 +0000 (15:05 +0100)]
Cmake export tests: these cases will probably not be corrected in near future

testcases_speed_lyx21 added to suspiciousTests
Handling unknown body token: `\begin_manifest'at line ...
Literate_lyx16 and noweb2lyx_lyx16 added to ignoredTests
Plenty of warnings (~ 390)

8 years agoFix line endings
Georg Baum [Thu, 31 Dec 2015 12:26:46 +0000 (13:26 +0100)]
Fix line endings

The default behaviour of git for text files is to store unix line endings in
the repository, and to convert to native line endings in the local workspace.
This plays well with the LyX behaviour of storing files in native line endings.
Unfortunately it may break if files are sent around by email and submitted on
a different OS than the one they were last saved, and this did probably happen
in 6b0632eea.

8 years agoMoving a testcase that does not fail but has wrong output to unreliableTests.
Günter Milde [Wed, 30 Dec 2015 20:59:32 +0000 (21:59 +0100)]
Moving a testcase that does not fail but has wrong output to unreliableTests.

8 years agoReview and sort inverted autotests. Still more.
Günter Milde [Wed, 30 Dec 2015 18:15:16 +0000 (19:15 +0100)]
Review and sort inverted autotests. Still more.

8 years agoReview and sort inverted autotests. Still more to do.
Günter Milde [Wed, 30 Dec 2015 13:49:52 +0000 (14:49 +0100)]
Review and sort inverted autotests. Still more to do.

8 years agoReview and sort inverted autotests. Next lot.
Günter Milde [Wed, 30 Dec 2015 07:41:40 +0000 (08:41 +0100)]
Review and sort inverted autotests. Next lot.

New sublabels LyXBug, ERT.
Renamed sublabel TeXLimit to TeXissue.

More sorting and unification of regular expressions.
Removing double entries.
Fixes for some expressions (eu_UserGuide_pdf,  examples/ja/(knitr|lilypond|sweave))

8 years agoCmake export tests: doc/ja/EmbeddedObjects.lyx compilable again
Kornel Benko [Tue, 29 Dec 2015 18:36:36 +0000 (19:36 +0100)]
Cmake export tests: doc/ja/EmbeddedObjects.lyx compilable again

8 years agoCmake tests: Handle windows line endings
Kornel Benko [Tue, 29 Dec 2015 18:12:08 +0000 (19:12 +0100)]
Cmake tests: Handle windows line endings

8 years agoUpdate to French po file, from Jean-Pierre.
Richard Heck [Tue, 29 Dec 2015 14:59:02 +0000 (09:59 -0500)]
Update to French po file, from Jean-Pierre.

8 years agoUpdates to Japanese docs and po file, from Koji.
Richard Heck [Tue, 29 Dec 2015 14:58:48 +0000 (09:58 -0500)]
Updates to Japanese docs and po file, from Koji.

8 years agoCmake export tests: Invert also test mathmacros/testcases_speed_lyx16
Kornel Benko [Tue, 29 Dec 2015 12:55:32 +0000 (13:55 +0100)]
Cmake export tests: Invert also test mathmacros/testcases_speed_lyx16

8 years agoCmake tests: Simplify test logic for exporting to formats lyx[0-9][0-9]x
Kornel Benko [Tue, 29 Dec 2015 12:23:08 +0000 (13:23 +0100)]
Cmake tests: Simplify test logic for exporting to formats lyx[0-9][0-9]x

Since the stop condition is that the last two consecutive created
files are identical, we do not need to check the last file.
Also checking for load of the created files is not needed, because
exporting the previous file implicitly loads too.

8 years agoReview and sort some more inverted autotests.
Günter Milde [Mon, 28 Dec 2015 20:24:51 +0000 (21:24 +0100)]
Review and sort some more inverted autotests.

8 years agoSimplify the logic
Juergen Spitzmueller [Mon, 28 Dec 2015 15:11:26 +0000 (16:11 +0100)]
Simplify the logic

8 years agoEclude possible unwandted case
Juergen Spitzmueller [Mon, 28 Dec 2015 15:10:26 +0000 (16:10 +0100)]
Eclude possible unwandted case

8 years agoEscape correctly
Juergen Spitzmueller [Mon, 28 Dec 2015 15:09:47 +0000 (16:09 +0100)]
Escape correctly

8 years agoWhitespace
Juergen Spitzmueller [Mon, 28 Dec 2015 12:42:36 +0000 (13:42 +0100)]
Whitespace

8 years agoRemove unneeded warning.
Juergen Spitzmueller [Mon, 28 Dec 2015 11:34:11 +0000 (12:34 +0100)]
Remove unneeded warning.

8 years agocosmetics
Juergen Spitzmueller [Mon, 28 Dec 2015 11:26:29 +0000 (12:26 +0100)]
cosmetics

8 years agoCmake export tests: Activate a branch in autotests/export/TableErrorIfSlovakTextInser...
Kornel Benko [Mon, 28 Dec 2015 10:02:26 +0000 (11:02 +0100)]
Cmake export tests: Activate a branch in autotests/export/TableErrorIfSlovakTextInserte.lyx to produce error if compiled to pdf/dvi.

8 years ago#9889 slightly improved layout management to avoid too small popup window for advance...
Stephan Witt [Mon, 28 Dec 2015 09:36:25 +0000 (10:36 +0100)]
#9889 slightly improved layout management to avoid too small popup window for advanced F&R

8 years agoAssure backslash is on its own line in verbatim mode in get_ert
Juergen Spitzmueller [Mon, 28 Dec 2015 08:15:21 +0000 (09:15 +0100)]
Assure backslash is on its own line in verbatim mode in get_ert

Also document the method

8 years agoThinko in commit a10b6713178552371f72795ae60e54ceb6a0914b
Kornel Benko [Mon, 28 Dec 2015 07:37:58 +0000 (08:37 +0100)]
Thinko in commit a10b6713178552371f72795ae60e54ceb6a0914b

8 years agoCmake lyx2lyx tests: expanded ignoreTests
Kornel Benko [Mon, 28 Dec 2015 07:16:49 +0000 (08:16 +0100)]
Cmake lyx2lyx tests: expanded ignoreTests

the entry export/templates/IEEEtran-Journal_lyx16
is added, because of (after the third roundtrip) endless loop inside "python -tt lyx2lyx ..."

8 years agoCmake lyx2lyx tests: Use a loop to execute roundtrips
Kornel Benko [Mon, 28 Dec 2015 05:00:10 +0000 (06:00 +0100)]
Cmake lyx2lyx tests: Use a loop to execute roundtrips

Exporting to some previous lyx format:
Inside the loop
  Stop at export with errors/warnings
  Stop if exported file not loadable
  Stop if exported file identical to previous exported file (OK case)
    This is done through creating MD5SUM

8 years agoCmake lyx2lyx tests: Add roundtrip to exported lyx-files
Kornel Benko [Sun, 27 Dec 2015 19:05:37 +0000 (20:05 +0100)]
Cmake lyx2lyx tests: Add roundtrip to exported lyx-files

Until now we exported e.g. to lyx16x ans tested if the result is loadable.
Now we also test if export of the exported is loadable.

8 years agoCmake check load tests: Allow tests to use the filter .*Tests
Kornel Benko [Sun, 27 Dec 2015 17:56:36 +0000 (18:56 +0100)]
Cmake check load tests: Allow tests to use the filter .*Tests

Now we can also select which lyx-file may or may not be loaded
in the same way as was for export tests.

8 years agoFix thinko in revert_newgloss: only dissolve ERTs in glosses!
Juergen Spitzmueller [Sun, 27 Dec 2015 17:19:49 +0000 (18:19 +0100)]
Fix thinko in revert_newgloss: only dissolve ERTs in glosses!

8 years agoCmake export tests: Add labels 'lyx2lyx' and 'load' to tests exporting to a lyx format.
Kornel Benko [Sun, 27 Dec 2015 17:03:54 +0000 (18:03 +0100)]
Cmake export tests: Add labels 'lyx2lyx' and 'load' to tests exporting to a lyx format.

The test uses lyx2lyx and loads the exported file.

8 years agorevert_tabularvalign: fix removal of tabularvalign feature tag
Juergen Spitzmueller [Sun, 27 Dec 2015 16:34:01 +0000 (17:34 +0100)]
revert_tabularvalign: fix removal of tabularvalign feature tag

8 years agoFix thinko in revert_tabularvalign
Juergen Spitzmueller [Sun, 27 Dec 2015 16:22:21 +0000 (17:22 +0100)]
Fix thinko in revert_tabularvalign

8 years agoCmake export tests: Add structue test for exported lyx files
Kornel Benko [Sun, 27 Dec 2015 13:33:11 +0000 (14:33 +0100)]
Cmake export tests: Add structue test for exported lyx files

We test here, if any \end_{somethig} matches \begin_{something}.
Exeptions are \end_index and \end_branch ATM, they should
match \index and \branch respectively.

Also added new testfile.