Commit Graph

3191 Commits

Author SHA1 Message Date
Guillaume Munch
4a1e158c95 Update docs 2016-01-12 21:30:37 +00:00
Guillaume Munch
5c2d049996 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).
2016-01-12 21:25:34 +00:00
Peter Kümmel
407bb15bde add batch file for MinGW build on Windows 2016-01-12 20:10:51 +01:00
Guillaume Munch
a8ad43d4fd Check that we have bash before running updatelfuns.sh
Also set executable bits on the devel scripts.
2016-01-11 16:26:13 +00:00
Kornel Benko
cdc985d037 Cmake export tests: Improve font selection 2016-01-09 22:07:32 +01:00
Kornel Benko
92f46d7aaa Cmake export tests: Really supply own system fonts only if not specified in document. 2016-01-09 19:49:23 +01:00
Günter Milde
710f284f12 ctest: Fix an inversion filter-pattern. 2016-01-09 18:30:22 +01:00
Günter Milde
7318c167b8 ctests: Hebrew does not currently work with LuaTeX. 2016-01-09 11:10:23 +01:00
Günter Milde
24578ff6f0 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).
2016-01-08 22:52:28 +01:00
Günter Milde
3a70340a95 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.
2016-01-08 22:52:28 +01:00
Günter Milde
d7ff8c6e18 ctests: address some test failures.
* missing characters in linguistics example with system fonts
* language nesting problem in fr/linguistics example
* 110f505b63 solved one failure (Basque example file)
2016-01-07 18:10:22 +01:00
Günter Milde
15ffc2b01c ctests: solve one todo item. 2016-01-06 14:59:20 +01:00
Günter Milde
1fdab5e038 ctests: next round of sorting. 2016-01-06 14:59:20 +01:00
Peter Kümmel
ff8719497a also install cross compiled lyx 2016-01-06 14:24:22 +01:00
Peter Kümmel
f09202c69c fix broken xmingw script 2016-01-06 13:07:59 +01:00
Stephan Witt
c098ee0c72 more flexible Xcode management, reduce hard coded version numbers 2016-01-06 10:15:07 +01:00
Kornel Benko
7b4064bbcb Cmake url tests: Add special handling for some ftp-urls 2016-01-05 17:27:49 +01:00
Günter Milde
fb11ac511f 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".
2016-01-05 17:07:15 +01:00
Günter Milde
8cc9028b84 ctests: ignore docbook_article latex export. 2016-01-05 17:07:14 +01:00
Kornel Benko
7c26af67be Typo 2016-01-04 13:45:11 +01:00
Kornel Benko
8b45fa9159 Cmake url tests: Some more http pages needs login. 2016-01-04 13:25:57 +01:00
Kornel Benko
7ac12294dc Correct some more broken URLs 2016-01-04 12:45:41 +01:00
Kornel Benko
f81abaefa8 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.
2016-01-04 10:20:44 +01:00
Kornel Benko
689a144824 Cmake url tests: Use more sophiticated check for urls. 2016-01-03 15:25:09 +01:00
Kornel Benko
d2ec79beac Cmake tests for translators: Added check for required program phantomjs 2016-01-03 13:02:08 +01:00
Georg Baum
1d18d94998 Update to current format 2016-01-03 10:31:30 +01:00
Kornel Benko
99a2647fd2 Cmake URL tests: Better search for error 404, in received html snippet. 2016-01-02 22:18:13 +01:00
Kornel Benko
4b49a59e71 Cmake URL tests: Interpret 'Error 404' in received data as error. 2016-01-02 11:29:11 +01:00
Kornel Benko
1fbcd26d8f 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)
2015-12-31 15:05:33 +01:00
Günter Milde
0e8121ca31 Moving a testcase that does not fail but has wrong output to unreliableTests. 2015-12-30 21:59:32 +01:00
Günter Milde
c9e01ec087 Review and sort inverted autotests. Still more. 2015-12-30 19:15:16 +01:00
Günter Milde
3ae1eafff3 Review and sort inverted autotests. Still more to do. 2015-12-30 14:49:52 +01:00
Günter Milde
dcab6c8749 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))
2015-12-30 08:47:38 +01:00
Kornel Benko
c944215d53 Cmake export tests: doc/ja/EmbeddedObjects.lyx compilable again 2015-12-29 19:36:36 +01:00
Kornel Benko
9560941f9a Cmake tests: Handle windows line endings 2015-12-29 19:12:08 +01:00
Kornel Benko
ccace057b4 Cmake export tests: Invert also test mathmacros/testcases_speed_lyx16 2015-12-29 13:55:32 +01:00
Kornel Benko
315b9fcb2a 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.
2015-12-29 13:23:08 +01:00
Günter Milde
b0970a3540 Review and sort some more inverted autotests. 2015-12-28 21:29:58 +01:00
Kornel Benko
e17fdd1506 Thinko in commit a10b671317 2015-12-28 08:37:58 +01:00
Kornel Benko
b06b4095ca 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 ..."
2015-12-28 08:16:49 +01:00
Kornel Benko
a10b671317 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
2015-12-28 06:00:10 +01:00
Kornel Benko
8d1d46743b 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.
2015-12-27 20:05:37 +01:00
Kornel Benko
ddfd228dc3 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.
2015-12-27 18:56:36 +01:00
Kornel Benko
91a8ae9050 Cmake export tests: Add labels 'lyx2lyx' and 'load' to tests exporting to a lyx format.
The test uses lyx2lyx and loads the exported file.
2015-12-27 18:03:54 +01:00
Kornel Benko
d0d45d4043 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.
2015-12-27 14:33:11 +01:00
Kornel Benko
968f05d015 Cmake export tests: Handle some more warnings 2015-12-25 20:03:35 +01:00
Kornel Benko
ec32831cb0 Cmake export tests: Handle some lyx2lyx warnings 2015-12-25 19:02:06 +01:00
Kornel Benko
e3cd6db4a7 Cmake export tests: Check if exported lyx files are loadable
Also added tests for export to lyx21 format.
2015-12-25 10:28:40 +01:00
Kornel Benko
041bc943d7 Cmake export tests: Macro to interpret error/warning messages at loading lyx files 2015-12-25 10:26:38 +01:00
Günter Milde
f4699276b7 Specify missing character. Angström sign, not LATIN CAPITAL LETTER A WITH RING ABOVE. 2015-12-23 15:45:18 +01:00