Commit Graph

34763 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
61b54f87df Simplify the logic 2015-12-28 16:11:26 +01:00
Juergen Spitzmueller
2e6f54b37f Eclude possible unwandted case 2015-12-28 16:10:26 +01:00
Juergen Spitzmueller
952a963c15 Escape correctly 2015-12-28 16:09:47 +01:00
Juergen Spitzmueller
28a22f40fb Whitespace 2015-12-28 13:42:36 +01:00
Juergen Spitzmueller
b930f2a18e Remove unneeded warning. 2015-12-28 12:34:11 +01:00
Juergen Spitzmueller
ee1a99b340 cosmetics 2015-12-28 12:26:29 +01:00
Kornel Benko
b68bd9219a Cmake export tests: Activate a branch in autotests/export/TableErrorIfSlovakTextInserte.lyx to produce error if compiled to pdf/dvi. 2015-12-28 11:02:26 +01:00
Stephan Witt
f1a21f8250 #9889 slightly improved layout management to avoid too small popup window for advanced F&R 2015-12-28 10:36:25 +01:00
Juergen Spitzmueller
3762e3604a Assure backslash is on its own line in verbatim mode in get_ert
Also document the method
2015-12-28 09:15:21 +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
Juergen Spitzmueller
77f5baec8f Fix thinko in revert_newgloss: only dissolve ERTs in glosses! 2015-12-27 18:20:49 +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
Juergen Spitzmueller
106d89f7e6 revert_tabularvalign: fix removal of tabularvalign feature tag 2015-12-27 17:34:01 +01:00
Juergen Spitzmueller
6b5d5666ac Fix thinko in revert_tabularvalign 2015-12-27 17:23:16 +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
Juergen Spitzmueller
a80da13cc1 Rewrite and split the moderncv conversion routine.
This fixes several conversion problems, amongst others the redundant
\end_layout reported by Kornel.
2015-12-27 12:48:11 +01:00
Scott Kostyshak
5b2fb80491 Add description of lyx21 tests
These tests were added at e3cd6db4.
2015-12-26 23:51:13 -05:00
Jean-Marc Lasgouttes
30cf941cb3 Avoid swapping a cell with itself
Gcc STL debugging feature asserts when swapping an object with itself. This happens in some cases with math grids that have only one column.

A quick review of other uses of swap() in the code base did not reveal any other dubious case.

Fixes bug #9902.
2015-12-26 13:59:25 +01:00
Juergen Spitzmueller
4d7453ac86 Remove redundant \\end_layout in jss-article Code Chunk reversion. 2015-12-26 12:08:10 +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
Juergen Spitzmueller
c76d91bb47 Fix gloss, glossgroup and forest reversion routines.
These were using lyx2latex, assuming the result can be used in verbatim
insets as is, which is not the case (mostly due to \\backslash).

A new lyx2verbatim function is now used instead. Also, ERT insets are
dissolved in the gloss reversion process.
2015-12-25 12:03:38 +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
Günter Milde
74baa048b6 Further simplify TableErrorif... autotest sample (fails also with Czech).
Also add some more info.
2015-12-23 15:42:48 +01:00
Kornel Benko
63d9ae50ce Replace Ångström with \AA in suspiciousTests
This allows to load the file also for older cmake versions.
2015-12-23 08:05:21 +01:00
Günter Milde
1fe334f1d3 Inverted autests, sorting: some more TeX-Limitations.
Math manual with systemfonts fails because of missing characters.
PDF-forms and PDF-comments require pdflatex or lualatex.
2015-12-21 22:48:37 +01:00
Kornel Benko
7d2f4d965f Cmake export tests: Ignore some child documents 2015-12-21 11:52:00 +01:00
Kornel Benko
7ac770880d Cmake export tests: Simplify the testcase TableErr rIfSlovakTextInserted.lyx' 2015-12-21 11:42:32 +01:00
Kornel Benko
2c856f0612 Extracted and renamed files from testcases_master_child.zip
Preparing to add them to the tests.
2015-12-21 11:39:48 +01:00
Peter Kümmel
2a112d8a65 add script to cross-compile for Windows 2015-12-20 14:42:24 +01:00
Peter Kümmel
bd74a15ebd update boost to 1.60 2015-12-20 14:04:54 +01:00
Peter Kümmel
e1c893127f boost dir is used for out-of-source build detection 2015-12-20 14:00:04 +01:00
Peter Kümmel
3c3141dc23 3rdparty/boost: build with cmake 2015-12-20 13:41:00 +01:00
Peter Kümmel
5287f1c8b6 default tar-v7 format supports only 99 character pathes 2015-12-20 13:32:33 +01:00
Peter Kümmel
a8d78905b6 3rdparty/boost: build with autotools 2015-12-20 13:06:59 +01:00
Peter Kümmel
b7a3831289 move boost to 3rdparty directory 2015-12-20 12:49:10 +01:00
Kornel Benko
fd2995d36a Cmake export tests: Adapt the new TableErrorIfSlovakTextInserted.lyx to tests 2015-12-20 12:13:37 +01:00
Kornel Benko
435db257e6 Remove 3rdparty-build for iconv and zlib on unix. 2015-12-20 11:49:38 +01:00
Kornel Benko
1b8067a94b Language problem: inserted Slovak text makes this doc uncompilable. 2015-12-20 10:53:50 +01:00
Guillaume Munch
fd4d23b448 Amend f441590c
Remove runtime warning "QMetaObject::connectSlotsByName: No matching signal for
on_copyPB_clicked()".
2015-12-19 23:54:42 +00:00
Günter Milde
32bc592b07 Merge branch 'master' of git://git.lyx.org/lyx 2015-12-19 16:50:28 +01:00