Commit Graph

34252 Commits

Author SHA1 Message Date
Juergen Spitzmueller
a9b8cdca9e Varwidth module provided by d.iabo
See #9417.
2015-11-01 11:00:23 +01:00
Kornel Benko
978016eb8f Cmake export tests: Remove some testcases from 'revertedTests'
Some of the tests are now compilable, probably because of some  newer
TL2015 packages.
Reverts partly commit 8a4c9b6 for export/templates/ectaart...
2015-10-31 22:17:24 +01:00
Juergen Spitzmueller
0314464392 remove debug message. 2015-10-31 12:10:49 +01:00
Scott Kostyshak
0911915b6a Typo 2015-10-31 02:12:31 -04:00
Scott Kostyshak
fe3a710bca Initial commit of a file for plans of future tests
The TestsToDo file will contain ideas for tests that we would like
to implement in the future.
2015-10-31 02:09:22 -04:00
Scott Kostyshak
13e1c13d2a Document various ways to run the tex2lyx tests
Each way might be preferred by a different developer and the more
ways that can be described of running the tests, the higher the
chance is that developers will find a way that works well for them.
2015-10-31 00:30:34 -04:00
Kornel Benko
ea70c1ff0d Cmake tests: Display process while executing for target updatetex2lyxtests
The execution took some time and the messages were delayed
until all test files were processed. Now as each testfile
is processed, the appropriate messages are printed.

There is also a new target: cleanupdatetex2lyxtests
It is the same as updatetex2lyxtests, but removes also
some extra created files from the source directory.
2015-10-30 13:28:20 +01:00
Scott Kostyshak
50e99b82c9 ctests: invert Math.lyx tests failing from mhchem
The math document now depends on the mhchem package which produces
wrong output with XeTeX/LuaTeX and both TeX fonts and non-TeX fonts

See:
https://www.mail-archive.com/search?l=mid&q=n0sne9%24iis%241%40ger.gmane.org
2015-10-30 02:43:36 -04:00
Scott Kostyshak
1a4d5b3ce9 Document why tests are enabled for all formats
Explain why the export tests are enabled for formats that are not
expected to work well with certain document classes, modules, or
packages. The reason is that if a .lyx file goes from compiling
successfully for one format (even if that format is not officially
supported for the combination of features used), if that document
suddenly fails to compile, there is a significant chance that a bug
was introduced in LyX. In other words, there is a high signal/noise
ratio. If it is determined that a test is failing because an
expected incompatibility is exposed, then the test can be inverted.
2015-10-29 22:48:28 -04:00
Scott Kostyshak
231609743f More updates for the documentation on tests
- general cleanup
- add some more useful commands
- specify how to configure the URL tests

Thanks to Kornel for the helpful suggestions.
2015-10-29 22:11:11 -04:00
Georg Baum
a07cd69905 Document how to run tests on windows 2015-10-29 22:20:37 +01:00
Georg Baum
8e9f2d648c Add "LyX Documentation Tools" toolbar
People working on the documentation do probably want to switch this on. It
gives easy access to LyX and LaTeX logos (bug 9626), and the info and menu
separator insets.
2015-10-29 20:02:52 +01:00
Kornel Benko
9b1f459f77 Cmake tests: Remove the use of file(TIMESTAMP...)
Cmake versions prior to 2.8.11 don't know this command, but
our minimal requirenment is 2.6.4

Thank to Vincent, it is replaced by using 'if(file1 IS_NEWER_THAN file2)' comparision.
2015-10-29 11:07:34 +01:00
Scott Kostyshak
0ca63f4e27 Disable "Show Output Anyway" button if empty file
Sometimes when compilation fails a PDF file is created but is empty
and the viewer gives an error when trying to view it. One such
example is compiling the current lib/examples/PDF-comment.lyx file
with TeX fonts and the following version of LuaTeX:

  beta-0.80.0 (TeX Live 2015) (rev 5238)
2015-10-29 02:27:27 -04:00
Scott Kostyshak
74059f6b56 Document the export tests and other tests
The export tests, check_load tests, and URL tests are now documented
in the Development.lyx file. The export tests are described in
detail, such as how to run them and how to interpret the results.
2015-10-29 02:26:50 -04:00
Scott Kostyshak
9bb4787d56 Update format 2015-10-28 18:10:09 -04:00
Vincent van Ravesteijn
02db183373 cmake: Properly suppress CMake warning about qtmain
CMake policy CMP0020 exists since version 2.8.11, so this prevents an
error on older versions.

This fixes up commit ec6f51b.
2015-10-28 20:24:47 +01:00
Kornel Benko
e430586ec3 Cmake tests: Get rid of use of command 'env', which is not available under Windows. 2015-10-28 17:59:28 +01:00
Scott Kostyshak
4f396c3364 ctests: comment for why the Russian docs fail
The LuaTeX non-TeX font tests fail because of LyX's preamble (the
part regarding hyperref), as explained by Günter.
2015-10-28 10:54:46 -04:00
Jean-Marc Lasgouttes
b5871decc0 Justify row correctly after double space
The wordSpacing property of a QFont object applies only once when there are multiple spaces between words. Therefore Row::Element::countSeparators shall not count spaces, but groups of spaces.

Fixes bug #9808.
2015-10-28 14:03:01 +01:00
Günter Milde
1814739853 Fix #9770 (unicodesymbols for wasysym) 2015-10-28 11:35:25 +01:00
Jean-Marc Lasgouttes
febbcf7f6c Fix painting of selection with change tracking
When partially selecting an element, the selected text color was not
the same as when selecting it completely.

Fixes bug #9809.
2015-10-28 10:40:10 +01:00
Günter Milde
c061e339f9 Clarify the FIXME for PDF-info encoding. 2015-10-28 10:31:08 +01:00
Günter Milde
3d521cfcac Update the FIXME for PDF-info encoding. 2015-10-28 10:16:41 +01:00
Günter Milde
f1fa051422 update documentation in lib/languages 2015-10-28 10:16:41 +01:00
Uwe Stöhr
f2a5dd0a1e stdmenus.inc: resolve a shortcut conflict 2015-10-28 02:42:16 +01:00
Uwe Stöhr
2c1851e2ec moderncv.layout: update some styles and add new ones
- support for at least modernCV 1.5 (layout will still work with moderncv 1.3 as before)
- fileformat change
2015-10-28 02:27:32 +01:00
Georg Baum
1eaa2366bf Make language nesting code more readable
This is a tiny simplification that makes understanding the code more easy and
will help in fixing the remaining regressions. The logic remains the same, no
export test result is changed.
2015-10-27 22:36:52 +01:00
Uwe Stöhr
b4e6019834 FORMAT: fix a typo and add an info 2015-10-27 00:30:26 +01:00
Uwe Stöhr
fb8f63fbe9 modernCV.lyx: remove more preamble code
- add description how things can be adjusted the LyX way
2015-10-26 15:30:15 +01:00
Uwe Stöhr
b523504708 modernCV.lyx: remove unnecessary preamble code
- also add 2 hints
2015-10-26 14:36:50 +01:00
Jean-Marc Lasgouttes
f7e639c818 Fix commit 32edb659
A bad test meant an embarassing red line on the left.

This is still bug #9807.
2015-10-26 11:39:58 +01:00
Uwe Stöhr
19224e9085 moderncv.layout: updates
- suffix.sty is no longer used, hyperref and color are included and basic LaTeX
- fix 2 Argument definitions
2015-10-26 03:42:33 +01:00
Uwe Stöhr
425a64beed colored-boxes.lyx: more small fixes and improvements 2015-10-26 03:15:47 +01:00
Uwe Stöhr
dffd38e82d modernCV: updates
- modernCV requires 2 new packages (since version 1.5 from 2013)
- update the example file to reflect the new features
2015-10-26 02:53:29 +01:00
Uwe Stöhr
9bbb07e844 colored-boxes.lyx: some fixes 2015-10-26 01:20:29 +01:00
Günter Milde
2aa65fdc8d Fix the partial patch for #9740 (XeTeX with TeX fonts), part 2. 2015-10-26 00:51:38 +01:00
Jean-Marc Lasgouttes
32edb65985 Avoid showing vertical scroll mark when not necessary
Now the mark if only shown when editable text is outside of the row.

Fixes bug #9807.
2015-10-26 00:01:28 +01:00
Uwe Stöhr
9cae1ffdc9 Math.lyx: replace tables by formal ones - part 5 2015-10-25 23:36:46 +01:00
Uwe Stöhr
295a19dd73 EmbeddedObjects.lyx: remove an outdated info
the mentioned varioref bug was fixed 5 years ago
2015-10-25 23:02:03 +01:00
Uwe Stöhr
4e221e283d Math.lyx: replace tables by formal ones - part 4
- also add changelog file for the translators
2015-10-25 18:34:47 +01:00
Kornel Benko
3b41ec6a3f Cmake export tests: Unintended removal of 'main' corrected 2015-10-25 18:31:45 +01:00
Kornel Benko
8fab6470fb Cmake export tests: Use 'Dejavu' as non-tex font for Russian and Ukrainian docs
Thanks to Guenter Milde
2015-10-25 18:23:31 +01:00
Kornel Benko
49f5002231 Merge branch 'master' of git.lyx.org:lyx 2015-10-25 16:29:11 +01:00
Uwe Stöhr
a0b3eaf67e Math.lyx: replace tables by formal ones - part 3 2015-10-25 16:26:02 +01:00
Kornel Benko
5439f4e554 Cmake tests: Combine "text" field to extract translators name
While extracting names of a translator from the html page it can happen
that the perl's HTML::Parser module splits the "text".
2015-10-25 16:23:59 +01:00
Uwe Stöhr
b275b30391 Math.lyx: replace tables by formal ones - part 2 2015-10-25 15:48:45 +01:00
Uwe Stöhr
fb51b2cb57 Math.lyx: correct images paths now correctly 2015-10-25 14:32:27 +01:00
Günter Milde
36b9645b5d Fix the partial patch for #9740 (XeTeX with TeX fonts). 2015-10-25 12:12:10 +01:00
Kornel Benko
b07c8292f6 Cmake test: Cmake tests: Check for consistency between po-files and lyx-trunk translations page.
This time with the correct CMakeLists.txt.
2015-10-25 11:18:30 +01:00