Commit Graph

3319 Commits

Author SHA1 Message Date
Kornel Benko
57e1320012 Cmake export tests: move spanish manuals tests for (xe|lua)latex and tex font to unreliableTests
Comment by Günter Milde:
Actually, *all* Spanish manuals either fail or have wrong output with
Unicode TeX engines and 8-bit fonts. The reason is known: a bug in Babel
that uses utf8 strings whenever Xe- or LuaTeX is detected.
2015-12-15 08:10:52 +01:00
Stephan Witt
95e600cc16 adjust dictionary deployment comment 2015-12-15 01:09:51 +01:00
Kornel Benko
6366b4a21b Cmake export tests: Disable inputencoding setting
It was used for the combination pdf4_texF, but since LyX should
nowadays set the correct encoding, this is not needed anymore.
2015-12-14 19:05:18 +01:00
Kornel Benko
2bd2ac1860 Cmake export tests: Lualatex does not like bahasa language 2015-12-14 18:56:00 +01:00
Kornel Benko
afaf28964a Cmake build: Map '\origin unavailable' to appropriate value on install
For example for lib/doc.de/xyzzy.lyx the entry is changed to
	\origin /systemlyxdir/doc/de/
2015-12-13 16:08:27 +01:00
Kornel Benko
3ed174cc03 Cmake export tests: Handle default output format 'pdf2' in manuals like 'default'
This is, because almost all manuals are now having pdf2 as default.
2015-12-13 12:31:43 +01:00
Kornel Benko
de4d43e609 Cmake export tests: Add indonesian attic to suspended too 2015-12-13 12:30:44 +01:00
Kornel Benko
3ac20d7689 Cmake export tests: Correct handling of Indonesian Userguide
It was moved to attic in 98d7d8ba61
2015-12-13 11:49:31 +01:00
Kornel Benko
5b5b1a4515 Cmake export tests: Handle attic files with now missing references to png graphics 2015-12-10 15:20:07 +01:00
Kornel Benko
a9764cf191 Cmake build: Initialize some variables before use. 2015-12-09 15:37:58 +01:00
Kornel Benko
d4da5e9391 Wrong regex 2015-12-08 18:29:12 +01:00
Günter Milde
dd5c3900ba seminar.sty works also with non-TeX fonts but requires Babel.
Always-Babel now set in the example document.

Adapted the autotest categorization:
* fails for some developers (why?)
* wrong output with pdflatex/LuaTeX and DVI (missing landscape slides).
2015-12-08 17:46:50 +01:00
Uwe Stöhr
11e12c787a build5.bat: explicitly set QT5 2015-12-08 01:40:48 +01:00
Uwe Stöhr
01e0292028 build5.bat: a script to compile with Qt5 on Windows
This script shows how i compile. If we figured out every corner cases with it it should become the standard build script for Windows
2015-12-08 01:23:54 +01:00
Kornel Benko
611c95bb79 Cmake export tests: Mark seminar dvi3 exports as creating wrong output 2015-12-07 19:32:07 +01:00
Günter Milde
f35861bd75 ctest automatic tests: small correcions to pattern files and documenation. 2015-12-06 21:21:46 +01:00
Georg Baum
691675ee0a Make languagenesting1.lyx less TeX dependent
The previous version did only fail because I did not have latin support for
polyglossia in my TeX installation, the LyX export was fine.
2015-12-06 20:48:48 +01:00
Georg Baum
a15aafa2a1 Use std::regex automatically in C++11 mode
This is consistent with autotools. The only exception is MSVC, since we do not
know yet whether it works.
2015-12-06 20:04:21 +01:00
Georg Baum
6a165ecba2 This languagenesting1.lyx fails with 2.1
Add some stuff to languagenesting1.lyx that makes it fail with LyX 2.1 (and
2.2 as well)
2015-12-06 18:53:01 +01:00
Georg Baum
9aa43290db Add option to skip null translations
he.po in branch contains a number of translations where the translation is
identical with the original text (e.g. for encoding names) which look suspicios
to me. Therefore I did not want to merge these and leave the decision to the
translator. No information is lost, since these "translations" can easily be
recreated from the original texts by copy-paste.
2015-12-06 11:27:48 +01:00
Uwe Stöhr
62fa508867 installer: use Qt 5 for LyX 2.2.x releases 2015-12-06 05:14:45 +01:00
Kornel Benko
4dd77996a1 Cmake export tests: Allow deeper label nesting.
Previously all labels got the depth '7' while processing 'suspiciousTestss'.
The depth is used to sort how our labels are used to build a test-label.

Say a test gets label a, b, and c, with depth 3, 8 and 2.
The constructed test-label will be "b🅰️c"
For new (to be implemented) 'reason-labels' it is more convenient to assign them higher values.
2015-12-05 19:37:17 +01:00
Kornel Benko
4ad2215060 Cmake export tests: Tutorial.lyx now compilable
suspiciousTests: Remove Tutorial from the regex
suspendedTests: Explicit list of languages needed
ignoredTests: Language-string is separated from other strings only by '/'. '|', '_', '(' and ')'
2015-12-04 19:33:39 +01:00
Kornel Benko
0008e36ff4 Typo 2015-12-04 19:32:09 +01:00
Georg Baum
a6b5c72820 Add option to overwrite existing translations
This is useful if you know that the translation of a particular language has
not been updated at all in master, but the stable version has been worked on.
2015-12-03 21:02:47 +01:00
Georg Baum
be7df4a13c Handle escaped characters correctly
Some characters (like ") are escaped in .po files. These are handled correctly
by polib, but the self written parser did not yet take them into account.
2015-12-03 20:56:51 +01:00
Georg Baum
2041920ce0 Parse obsolete entries correctly
We need to remove the #~ prefix of each line, since it is re-added after
wrapping, and because otherwise the comparison with entries from polib
does not work.
2015-12-03 20:52:43 +01:00
Georg Baum
99b3928e6f Use a proper command line parser
Now it is possible to specify the target directory, and the command line syntax
follows the standard rules: It uses options for optional arguments, and one
positional argument for the single required argument.
2015-12-03 20:25:06 +01:00
Kornel Benko
77dbfb0042 Cmake export tests: Some tests previously inverted pass now. 2015-12-03 14:05:20 +01:00
Kornel Benko
548a7ac364 Cmake tests: Rename label 'reverted' to 'inverted'. 2015-12-03 00:23:07 +01:00
Kornel Benko
cf3156d22d Cmake export tests: Create concatenated labels in the form 'export:reverted:examples:chemgreek' 2015-12-02 22:18:43 +01:00
Kornel Benko
e39025797e Cmake export tests: Remove label 'reverted' from suspended tests.
LyXMacros.cmake: Overseen the macro 'setmarkedtestlabel()' which added it automatically
  if the test was to invert the test result.
ExportTests.cmake: Correct label handling
2015-12-02 13:28:16 +01:00
Uwe Stöhr
fe450c850c installer: add up to date check for inkscape
also fine-tune the conversion of wmf/emf images
2015-12-02 00:47:05 +01:00
Uwe Stöhr
3fc47f2a5c build.bat: add -DLYX_ENABLE_EXPORT_TESTS=ON and add a note about Ninja 2015-12-02 00:42:40 +01:00
Georg Baum
0aa3e78f5c Explain how to use parallel compilation in MSVC 2015-12-01 20:55:05 +01:00
Kornel Benko
037e9051f7 Cmake export tests: Remove assignement doing nothing 2015-11-30 13:12:30 +01:00
Kornel Benko
8f225ebdea Cmake autotests: Corrected suspiciousTests for new testfile 2015-11-30 00:42:48 +01:00
Georg Baum
124be71cb9 Fix merging of obsolete entries
Thanks Kornel for spotting this.
2015-11-29 20:16:59 +01:00
Georg Baum
4db3169fbc Add utility to merge po files
Surprisingly I could not find a tool that merges updated translations into a
.po file in a way that

a) merges only missing translations (does not overwrite existing ones)
b) produces a minimal diff so that there is a chance to manually check the result

Therefore I wrote my own. You can use it for a single language

python development/tools/mergepo.py ../lyx-2.1/po fr

or for all languages:

python development/tools/mergepo.py ../lyx-2.1/po

The python code is not the most elegant one, but it works. What is missing is
a command line switch to merge changed translations as well. This is useful
for languages that have not yet received any translation update in the
development branch, only in the stable branch: In this case we know that
translations that are not identical in both branches should be overtaken from
the stabkle one.
2015-11-29 18:14:06 +01:00
Kornel Benko
af18890ed6 Cmake export tests: Use build dir as source for _all_ latex output formats 2015-11-29 16:11:10 +01:00
Kornel Benko
2b9a9d97a6 Cmake lyx2lyx tests: Ignore warning about "no conversion needed" 2015-11-29 15:26:56 +01:00
Georg Baum
63bb24d385 Convert to 2.2 format and use TeX fonts
This works around a limitation of the test machinery, which never switches
TeX fonts on for format that need that, it only switches TeX fonts off for
formats needing it.
2015-11-29 13:16:46 +01:00
Georg Baum
2f3f82e75b Add test for language nesting regression
The new test shows a language nesting regression: With LyX 2.1 it exports fine
in all formats, with 2.2 it fails for dvi, pdf2 and pdf3.
2015-11-29 11:52:34 +01:00
Kornel Benko
5d51ec20b5 Cmake export tests: More refactoring. 2015-11-29 02:18:07 +01:00
Uwe Stöhr
24b37e96de installer: fix a typo 2015-11-28 20:19:49 +01:00
Georg Baum
1ded0d77ad Fix broken merge
git should have refused to push my commit which changed a file that was
deleted a minute ago, but instead it decided to re-add the file.
2015-11-28 19:25:32 +01:00
Kornel Benko
85c4cd2714 Cmake export tests: adapt 'suspiciousTests to changed file 'revertedTests' 2015-11-28 19:10:47 +01:00
Kornel Benko
a07f9b7119 Cmake export tests: Ignore spaces after expressions in .*Tests files 2015-11-28 19:08:19 +01:00
Georg Baum
ad0643f4b5 Fix off by one error
Looks like I forgot to test this case without quotes, but fortunately the new
export test found it.
2015-11-28 18:25:33 +01:00
Kornel Benko
56ecd464f3 Cmake export tests: Renamed file revertedTests to suspendedTests
Also some refactoring to handle the labes.
2015-11-28 18:23:29 +01:00
Georg Baum
fe5f88ddf9 Add the first dedicated export test
Thanks to Kornel we do now have the infrastructure for running dedicated
export tests. This is the first one, showing a language nesting bug which is
already in 2.1. It is inverted for now, but this will hopefully change soon.
2015-11-28 17:00:59 +01:00
Kornel Benko
df22dfdf6b Cmake export tests: Correct some mistakes in commit 4138ab7 2015-11-28 09:30:49 +01:00
Uwe Stöhr
764cc2be1f installer: remove residues of metafile2eps 2015-11-28 02:04:57 +01:00
Kornel Benko
4138ab7916 Cmake export tests: Implemented multiple sublabels for each test. 2015-11-27 15:12:47 +01:00
Scott Kostyshak
2f4233721d Update docs to latest format for 2.2.0alpha2 2015-11-27 03:23:22 -05:00
Scott Kostyshak
09bdea3c02 updatedocs.py: remove an extra parenthesis 2015-11-27 02:37:27 -05:00
Uwe Stöhr
2bd2aa2781 installer: install Qt plugin DLLs correctly
- also remove support metafile2eps because:
  - it is outdated
  - unnecessary third-party program since ImageMagick can do this too
  - needs unnecessarily installation time
2015-11-27 00:39:38 +01:00
Kornel Benko
857748c9e2 Cmake export tests: move some beamer-conference-ornate-20min tests to nonstandard set 2015-11-26 16:07:10 +01:00
Kornel Benko
f3989f1e3a Cmake url tests: Handle some special chars in urls. 2015-11-26 14:31:15 +01:00
Kornel Benko
21c265addb Cmake: ENCODING parameter in file(STRINGS ...) only valid for cmake version >= 3.1 2015-11-26 12:08:13 +01:00
Uwe Stöhr
14538a3186 installer: include DLLs for SVG
It seems that the QT file qsvgicon4.dll is needed for svg icons in lyX. QtXml might be necessary as well
2015-11-26 01:11:26 +01:00
Kornel Benko
72812a2054 Cmake export tests: Removed unneded parameter 2015-11-25 10:19:49 +01:00
Uwe Stöhr
bfc749eb23 stdlayouts.inc: support for verbatim*
fileformat change
2015-11-24 23:56:26 +01:00
Kornel Benko
c178c8ab32 Cmake export tests: Check for reused labels included
Labels defined in .*Tests should be unique. Now at least a warning is
produced.
2015-11-24 21:23:38 +01:00
Kornel Benko
12faf2b161 Cmake export tests: Added sublabel handling also to revertedTests
As an example the inserted label 'chemgreek' shows also
how to reset the sublabels.
2015-11-24 20:18:08 +01:00
Kornel Benko
05b517e614 Cmake export tests: Renamed nonstandardTests to unreliableTests
and introduce sublabels

Sublabels section in *.Tests starts with 'Sublabel: name'
and is valid until start of a new sublabel.
'name' contains only ascii characters [a-z]+
2015-11-24 18:42:36 +01:00
Kornel Benko
270df24246 Typo 2015-11-23 13:41:29 +01:00
Kornel Benko
2c3e49cb21 Cmake export tests: Added directory "autotests/export" 2015-11-23 13:12:53 +01:00
Kornel Benko
c0290039ad Cmake url tests: Added summary files.
The files will be locatet in the build-directory "Testing/Temporary" as
  LastFailedAccessibleURLS.log
  LastFailedInaccessibleURLS.log
  LastFailedKnownInvalidURLS.log
2015-11-23 13:07:53 +01:00
Stephan Witt
576f535f0b update short installation guide for Mac OS X 2015-11-22 17:01:25 +01:00
Kornel Benko
76e0568697 Cmake export tests: Added development/mathmacros to the list 2015-11-22 15:10:46 +01:00
Kornel Benko
5a9ddb31fd Cmake export tests: Created sub-labels manuals, examples, templates, mathmacros, autotests.
To test all export use 'ctest -L export'. This is unchanged.
The following lists directories and assigned sub-label
 lib/doc: manuals
 lib/templates: templates
 lib/examples: examples
 development/mathmacro: mathmacros
 autotests: autotests
2015-11-22 13:44:27 +01:00
Kornel Benko
98746f3bda Cmake export tests: Move some tests around.
Some tests behave different on different systems.
Probably missing font, or tex class ...
2015-11-21 19:37:41 +01:00
Kornel Benko
6cb396e79d Cmake export tests: Ignoring some japanese tests.
Compiling Japanese tex files with anything other than platex is
ATM not successful.
2015-11-21 14:20:54 +01:00
Stephan Witt
72954f532b adjust qt configure options for 5.5.1, avoid -arch deprecated warning for qt5 2015-11-20 20:51:47 +01:00
Kornel Benko
c818fea3af Cmake export tests: Finished categorizing tests.
Now
'ctest -L export' should be without errors
If there _are_ errors, the appropriate test should go to nonstandardTests

'ctest -L reverted' should be without errors
If there _are_ errors, the appropriate test should go to nonstandardTests

'ctest -L nonstandard'
Tests here may, or may not fail. Depends of installed tex extensions
2015-11-20 10:20:10 +01:00
Kornel Benko
ee72677fde Cmake export tests: List of inverted tests is expanding
Comments, why a test is moved into the set of inverted are, as usual, from Günter Milde.
2015-11-19 02:54:25 +01:00
Uwe Stöhr
029cd69df7 document fileformat change 2015-11-18 01:16:39 +01:00
Kornel Benko
3d766ad241 Cmake export tests: More tests to be inverted, suspended or made non-standard
All comments in revertedTests comes from Günter Milde
Non standard test is new. It should collect all tests
which may not work because of some missing non-standard
tex package or some exotic system font.
2015-11-17 18:22:45 +01:00
Uwe Stöhr
a577944b80 installer: changelog for latest release 2015-11-17 00:23:23 +01:00
Kornel Benko
b835c454ec Cmake export tests: More tests to be reverted.
Again, thanks to Günter Milde.
ATM, the latex comments in user preamble are removed before export test.
2015-11-16 18:47:34 +01:00
Kornel Benko
b98dd4ecc1 Cmake export tests: Some more corrected exports.
Thanks to Günter Milde.
2015-11-16 11:51:54 +01:00
Uwe Stöhr
1f0488bf36 installer: support texindy
texindy requires some more Perl and unfortunately the path tho the perl.exe in Windows' PATh environment variable.
The new EnvVarUpdate.nsh contains a function to modify Windows environment variables easily.
2015-11-16 04:04:11 +01:00
Georg Baum
3ab58d155c Add experimental mode to save files with LyX
Thanks Scott for the idea to modify the document. This seems to work, but I am
not surer whether it is safe in all cases, so better warn if this is used.
2015-11-15 17:23:42 +01:00
Georg Baum
1da21bec71 Reduce whitespace differences to LyX
LyX writes an empty line between \end_layout and \begin_layout, so we should
do so as well.
2015-11-15 17:23:42 +01:00
Scott Kostyshak
1602415b98 Update examples/templates to 2.2.0alpha1 format
Also MacOSX ReadMe files. Note that a few lib/doc files are
also "updated" because trailing spaces are removed, but their file
formats are the same because they were recently updated at 83672113.

I did "git checkout LFUNs.lyx" because this file is generated
automatically and has a special header.
2015-11-13 13:19:23 -05:00
Scott Kostyshak
08d3456a71 updatedocs.py now updates templates and examples
development/MacOSX/ReadMe files are also updated.
2015-11-13 13:19:23 -05:00
Kornel Benko
32b35fe121 Cmake export tests: Don't select inputencoding, this is due to 0eb9477 not needed.
This sort of reverts 6dd98a8.
2015-11-12 21:42:43 +01:00
Kornel Benko
30714a9708 Cmake export tests: ctest_export/doc/el/Intro_pdf5_systemF now compiles 2015-11-12 21:30:16 +01:00
Georg Baum
392f63fa0f Update LFUNs.lyx to current format
gen_lfuns.py does now produce the current file format, and and LFUNs.lyx was
re-created with the updated script.
There is one difference if you compare this version of LFUNs.lyx with the old
version updated by lyx2lyx: All occurences of LyX, TeX etc. in the lfun
descriptions are no longer output as logos. I do consider this as a feature,
since the old version did also output the TeX part of BibTeX as a logo, as well
as places where the names were part of some syntax, e.g. lyx::LyXRC::LyXRCTags.
2015-11-11 21:48:20 +01:00
Georg Baum
1fc3d051b1 Set \origin correctly when upgrading docs
lyx2lyx did not yet know about /systemlyxdir/ and set \origin to the path
where my git tree lives instead. This path is not usable except on my machine,
so better write something more usable instead.
This is a special command line switch of lyx2lyx, so it does not interfere
with normal usage. I did not try to deduce the systemlyxdir from lyx2lyx to
be on the safe side.
2015-11-11 21:35:12 +01:00
Georg Baum
0b222f1b11 Exclude old files in attic 2015-11-11 20:50:40 +01:00
Georg Baum
051ebbcf40 Add utility to update documentation files
updatedocs.py is a small script that updates all documentation files to the
current format.
2015-11-11 20:41:28 +01:00
Kornel Benko
6dd98a8245 Cmake export tests: Try to use language dependent inputencoding.
This enables some more pdf5_texF und dvi3_texF tests to succeed.
2015-11-10 19:42:43 +01:00
Kornel Benko
c4ae71ceb2 Cmake export tests: Set inputencoding to ascii if test with xetex and tex fonts. 2015-11-10 13:01:49 +01:00
Kornel Benko
b71991f0cc Cmake export tests: Adapt the test machinery to the commit 2fc430d.
Handle this this new sets of font selections properly.
2015-11-09 12:20:57 +01:00
Georg Baum
2fc430d5ae Store both sets of font selections
This is one part of bug 9744: If you toggle between TeX fonts and non-TeX
fonts, the settings of the other choice are no longer thrown away, but stored
and re-activated if you switch back. Most parts of the patch are purely
mechanical (duplicating some BufferParams members), the only non-mechanical
change is in the GUI logic.
2015-11-09 07:36:42 +01:00
Scott Kostyshak
3978fabaad Update the formats of lyxrc.dist.in to 19
In the end, no changes were needed. This was decided by prefs2prefs
for MacOSX and cygwin and by manual inspection for Win32.
2015-11-07 22:45:40 -05:00
Scott Kostyshak
c2064bb955 Add the format line for Mac's lyxrc.dist.in
The file was updated to format 14 in fc22ba16 but the format line
was missing. A missing format line is interpreted as format 0, I
believe, which could lead to incorrect conversion to later formats.
2015-11-07 22:44:47 -05:00
Kornel Benko
ca0985baa6 Cmake export tests: Enable test hu/Tutorial_pdf5_systemF 2015-11-05 11:27:32 +01:00
Günter Milde
88d1c790b6 Correct reason for the failure of the math manual export with luatex. 2015-11-05 09:45:04 +01:00
Kornel Benko
9495551bfd Cmake tests: Expand for some more suspended testcases
All dvi_texF and pdf5_texF testcases are nov candidates for being suspended.
After commit 279d084, now export/.*/Math_(dvi3|pdf5)_texF fails,
therefore the tests are also inverted.
2015-11-04 20:53:53 +01:00
Kornel Benko
9594f6fc2d Cmake tests: Removed tests from revertedTests.
Due to commit f739c98, some pdf4_texF are now OK
2015-11-04 12:11:29 +01:00
Kornel Benko
538228dd0b Cmake tests: Add 'suspendedTests'
This file holds regular expression to select which of the inverted
export test cases will be suspended.
These tests will not be executed with the call 'ctest -L export'.
2015-11-04 11:44:07 +01:00
Uwe Stöhr
62a69584e6 achemso.layout: add a flex inset
- this one is in achemso since version 3.8

- fileformat change
2015-11-04 01:18:13 +01:00
Kornel Benko
552ca45843 Cmake tests: macro setmarkedtestlabel() worked only by chance
We have to check the content of the variable.
2015-11-02 21:44:38 +01:00
Scott Kostyshak
8f1f823351 Add Georg's idea for lyx2lyx tests to TestsToDo
These tests would be like the tex2lyx tests we have and would have
the clear advantage of not depending on LyX.
2015-11-01 20:06:04 -05: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
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
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
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
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
Uwe Stöhr
b4e6019834 FORMAT: fix a typo and add an info 2015-10-27 00:30:26 +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
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
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
Kornel Benko
0f7ebe9ae4 Revert "Cmake tests: Check for consistency between po-files and lyx-trunk translations page."
This reverts commit 0a4fbe4836.
2015-10-25 11:17:02 +01:00
Kornel Benko
0a4fbe4836 Cmake tests: Check for consistency between po-files and lyx-trunk translations page. 2015-10-25 11:10:14 +01:00
Scott Kostyshak
b0c27e2bbc Invert some ctests that correctly fail
These exports correctly fail now that we've switched to polyglossia.
Although they compiled without error with babel, the resulting PDFs
had gibberish.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
aeac6deca1 ctests: uninvert tests that were fixed by updates
I believe these tests were fixed by TeX Live updates.

Comparing the log files for a system where the tests fail with a
system where the tests pass, below are some of the differences
between the "good" and "bad" logs:

bad:
LaTeX2e <2015/01/01>
Babel <3.9l>
Package: fontspec 2015/03/14 v2.4c
Package: expl3 2015/03/01 v5547 L3 programming layer

good:
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m>
Package: fontspec 2015/07/22 v2.4d
Package: expl3 2015/07/30 v5724 L3 programming layer
2015-10-25 00:12:26 -04:00
Scott Kostyshak
2b1b233bc0 Fix polyglossia exports for docs with babel cmds
Many of our documents have babel-specific preamble code. By putting
this code in a \@ifpackageloaded{babel}{}{} conditional, XeTeX and
LuaTeX compilation with polyglossia now works. This fixes some
LuaTeX tests that were broken by edd37de8 and also allows us to
uninvert some XeTeX tests.

Note that in some of the files although the preambles were fixed to
allow for polyglossia, they still do not compile without errors:
es/Math.lyx
es/Customization.lyx
de/Customization.lyx

Similar fixes might be desired in other manuals but these at least
fix regressions in the tests.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
efa78b22fc ctests: uninvert some tests
These tests were accidentally removed from the inverted list at
b2e49892.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
44cdffa39e ctests: uninvert some XeTeX tests that are fixed
These tests were probably fixed with the recent fixes regarding
polyglossia by Jürgen and Georg.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
4f2536afcf Correct PolyglossiaOpts for Serbian
PolyglossiaOpts are case-sensitive so "latin" must be changed to
"Latin". Without this change, compiling examples/sr/Braille.lyx
with LuaTeX and system fonts gives the following error:

  Package Polyglossia Error: Unknown script `latin' for Serbian
  language
2015-10-25 00:12:26 -04:00
Scott Kostyshak
adb8e9ea99 ctests: invert a test for a file recently added
The H-P-statements example was recently introduced (a610e29c) and
the LuaTeX test with system fonts has never passed.
2015-10-25 00:12:25 -04:00
Scott Kostyshak
d6a3dcbd58 Fix export with polyglossia and uninvert a manual 2015-10-25 00:12:25 -04:00
Scott Kostyshak
78c60de9bb Use "babel only" for some Spanish manuals
Many of our Spanish documents use babel-specific features in the
documents, e.g. to write "sin" in Spanish ("sen"). Because babel
seems to have good support for Spanish, I am setting the "Always
babel" for the manuals.

This fixes several LuaTeX tests with non-TeX fonts. A XeTeX test is
also reverted accordingly.
2015-10-25 00:12:25 -04:00
Scott Kostyshak
8e22c77e79 ctests: uninvert a XeTeX test that now passes
This test was probably fixed with the recent fixes regarding
polyglossia by Jürgen and Georg.
2015-10-25 00:11:24 -04:00
Uwe Stöhr
bd4822801a Win installer: 2 fixes for the uninstaller 2015-10-25 02:51:02 +02:00
Stephan Witt
39cd8302cb New configure options for Qt 5.6 2015-10-24 20:48:08 +02:00
Peter Kümmel
c39869cc61 Also cross compile with Qt5
Assume Ubuntu pathes for mingw.
2015-10-23 16:34:55 +02:00
Jean-Marc Lasgouttes
26eb5092fb Get rid of ParagraphMetrics::insetDimension
We already have a CoordCache of insets dimensions. It is not necessary
to store the same information in two places.

Give a name to CoordCache tables types to improve code readability.

Remove ParagraphMetrics::singleWidth, which is not used anymore.
2015-10-19 13:17:16 +02:00
Scott Kostyshak
e181a881db ctests: invert sys font tests of colored-boxes.lyx
This example file was just committed and the system font tests do
not pass because of the user preamble code.
2015-10-19 01:58:46 -04:00
Scott Kostyshak
e202894536 ctests: invert a test that never passed
The H-P-statements example was recently introduced (a610e29c) and
the XeTeX test with system fonts has never passed.
2015-10-19 01:28:42 -04:00
Scott Kostyshak
66e4e94bdb ctests: invert a test that never passed
The ICUr template was recently introduced (5189d7be) and the XeTeX
test with system fonts has never passed.
2015-10-19 01:28:42 -04:00
Uwe Stöhr
ce933b1e14 colored-boxes.lyx: new example file for the tcolorbox.module
- also improve the tcolorbox.module

This is a fileformat change - only to be able to revert the new styles defined in the module.
2015-10-19 07:10:09 +02:00
Georg Baum
84518a41a3 Remove unneeded whitespace 2015-10-18 15:26:12 +02:00
Uwe Stöhr
c246ca2d43 chkconfig.ltx: add packages supported by LyX
- also update Win installer package list (trimspaces is required by tcolorbox but not listed as required in the tcolorbox manual)
2015-10-18 15:21:50 +02:00
Uwe Stöhr
9c114d16e6 installer: update the packages list
- there are some new packages required by LyX's supported document classes and example files
(this list is only used when LyX is installed the first time on a PC together with MiKTeX to shorten the installation time)
2015-10-12 02:50:07 +02:00
Uwe Stöhr
129dda72f8 installer: new release because of bug #9733 2015-10-12 01:01:30 +02:00
Jean-Marc Lasgouttes
d377e765a2 More updates to painting analysis 2015-10-04 22:28:36 +02:00
Jean-Marc Lasgouttes
c4da9b9e37 Update file from Abdel's comments and some of my own thinking 2015-10-04 00:03:46 +02:00
Jean-Marc Lasgouttes
7ef19902ea Small typos in PAINTING_ANALYSIS 2015-10-03 23:49:05 +02:00
Jean-Marc Lasgouttes
86d42bc5eb Add a file that describe the current state of painting
This is a work in progress intended to start collective work towards improving the performance of our painting process.

The intent is to make it a living document that is updated as code evolves.
2015-10-02 15:30:16 +02:00
Guillaume Munch
24ae209358 Example Emacs configuration 2015-10-01 22:06:01 +01:00
Jean-Marc Lasgouttes
cc241bdaaf Repeat after me: into account, into account, into account 2015-09-27 21:38:20 +02:00
Jean-Marc Lasgouttes
b7909e7e6c Remove support for precompiled headers for autotools
This was turned off by default for a long time, and it does not seem
to have any use these days.
2015-09-25 12:05:40 +02:00
Uwe Stöhr
44e86aa4e9 installer: update to latest ImageMagick
finally the IM people fixed the PDF image conversion problems so that I can update IM
2015-09-23 01:59:28 +02:00
Uwe Stöhr
6819035660 Win installer: preparations for a new build
- the long awaited MiKTeX installer is available, this fixes many installation errors in LyX is installed for the first time (I will provide a new installer build as soon as I find more time)
2015-09-21 01:53:15 +02:00
Kornel Benko
8c3dbe19b6 Cmake build: Adapt use of c++11 for cygwin too.
Change done according to commit 864a4db26b
2015-09-09 14:45:55 +02:00
Kornel Benko
46d2344902 Cmake build: Adapt detection of C++11 mode to automake 2015-09-03 11:15:10 +02:00
Uwe Stöhr
f3917dceea installer: fix 2 Python related bugs
see the changelog for the fixed bugs
2015-08-05 02:29:43 +02:00
Stephan Witt
5a3c9247d8 correct symlink creation - make them relative instead of absolute
follow up of f45202acde
2015-07-24 18:41:26 +02:00
Stephan Witt
f45202acde Avoid duplicates of dictionaries and thesauri in distributed package 2015-07-23 12:55:02 +02:00
Georg Baum
d76392af63 Forgot that in 81e592603 2015-07-18 08:49:42 +02:00
Stephan Witt
c11c4fd767 Update default path prefix for Mac OS to include the texbin folder inside the TeX Library path and remove old powerpc path entries.
The upcoming Mac OS version 10.11 (El Capitan) will not allow TeX the installation of links inside the /usr directory anymore.
2015-07-16 21:59:15 +02:00
Georg Baum
0cbcc8a166 Remove InsetGraphics noUnzip parameter
Being able to compile document with zipped .eps files was a useful feature of
the graphicxs package 20 years ago, but the LyX support is no longer relevant:
- The flag is ignored if preview is on
- If pdflatex is used then uncompressing happens during the compilation anyway
- If set, the flag prevents LyX from issuing proper error messages if
something with the image is wrong
- For hard disk capacities from 20 years ago not uncompressing is a useful
feature, but for current hard disk capacities it does not matter
- The external inset does not have it, and if we want to merge both insets
one day we would need to implement it there, which is even more difficult
than in InsetGraphics
2015-07-16 20:44:47 +02:00
Uwe Stöhr
44527cceed installer/include/filelist.nsh: add the QtSvg library 2015-07-13 21:29:48 +02:00
Stephan Witt
301e003db0 Don't touch @rpath based frameworks with install_name_tool 2015-07-08 18:02:21 +02:00
Stephan Witt
0f802fde90 Qt5.5 cannot be build in parallel anymore
Automatic symlink creation for Qt frameworks
2015-07-08 18:01:05 +02:00
Stephan Witt
789ab61442 Qt 5.5.x introduced a new framework dependency: QtDBus 2015-07-08 17:58:07 +02:00
Scott Kostyshak
36b9b9737e Use font 'Scheherazade' in tests of Arabic docs
We do not currently have any Arabic documents, but when we do, these
fonts will be used for the tests that use system fonts.

They can be installed on Debian-type systems from the
'fonts-sil-scheherazade' package.
2015-07-07 06:54:12 -04:00
Kornel Benko
b2e4989212 Cmake export tests: Luatex tests pass now on some more files. 2015-06-19 10:54:40 +02:00
Uwe Stöhr
cb20102701 Win installer: add support for the program rsvg
also remove the now superfluous eLyXer addition
2015-06-02 00:25:59 +02:00
Uwe Stöhr
cc418de1e0 chkconfig.ltx: mhchem uses now the chemgreek package
We use mhchem for chemical typesetting support via mathed. With the latest mhchem version chemgreek is used by default for Greek characters.
2015-05-28 01:24:48 +02:00
Uwe Stöhr
2493f6ea8d Win installer: some updates 2015-05-26 03:44:19 +02:00
Juergen Spitzmueller
dbe0096c12 Rename ref prefix "sub:" to "subsec:"
This solves a macro conflict between subfloat's \subref and our own
\subref definition (bug #7550)

File format change.
2015-05-24 13:50:21 +02:00
Uwe Stöhr
e6c225d582 jss.layout: support for more layouts
Since lyX 2.0 we support to use the in_preamble tag. This allows to support more commands. For an unknown reason I forgot the jss.layout when I updated the other layouts once.

Fileformat change
2015-05-24 03:34:36 +02:00
Uwe Stöhr
26144ae4dd pdfview.nsi: new version that fixes bug #9512 and some more
The general problem is that Acrobat opens PDF files with write access so that PDF files cannot be modified externally by LyX/LaTeX.

The old pdfview used the programs pdfopen and pdfclose to open and close PDF files in Acrobat and it additionally closed and opened the PDF whenever it was changed (to simulate LyX's update button).

Since Acrobat DC (aka Acrobat 15) it is no longer possible to close PDF files in Acrobat. Due to changes in the Acrobat API also the pdfopen program can no longer be used.
Besides this the approach of updating the PDF whenever it changed was always a hack that often killed Acrobat. The reason is that one cannot immediately update the PDF view if the PDF is changed because depending on the size LaTeX needs up to several seconds to generate the PDF. If the PDF is opened while TeX is still creating is one get error messages from Acrobat Acrobat must be restarted - very annoying. During the years I experimented with a wait time to minimize these problems but of course it can never be solved.

The new pdfview version uses a completely different approach:
- it checks if the PDF is opened by Acrobat by reading the window name. If it is found this program windows will be closed. So Acrobat is not ended and other opened PDF files stay opened.
- to update the PDF view from within LyX one has to press the view button, not the update button. Only this way we know that TeX is ready and the PDF can be opened by Acrobat with write permissions.
2015-05-21 02:19:13 +02:00
Uwe Stöhr
2a0b886a5c pdfview: rename the file to distinguish it from the new version 2015-05-21 02:04:41 +02:00
Kornel Benko
a911b1cc65 Cmake build: Define LYX_USE_CXX11 iff using c++11 extensions after commit 329eae5605. 2015-05-20 12:07:41 +02:00
Georg Baum
39329935f3 Parse \multicolumn in math (bug 396)
The math parser could not handle multicolumn grids. This is a problem because
there is no true ERT in math (everything is parsed).
Now multicolumn cells are parsed correctly. The display is also somewhat OK,
but apart from that any multicolumn related UI is missing. Since the file
format change is now done the UI can be added at any later point. The most
important part of bug 396 is now fixed: tex2lyx does not create invalid .lyx
files anymore for formulas containing \multicolumn.

I updated the tex2lyx test cases that produce correct output. tex2lyx does
still produce invalid output for the test cases which are not updated because
of the previous format change.
2015-05-17 13:43:37 +02:00
Uwe Stöhr
88593e0ec6 support for colored boxes
adds support to set colors for some box types (support for the LaTeX commands \fcolorbox and \colorbox)

fileformat change
2015-05-16 03:22:37 +02:00
Uwe Stöhr
e35bb3126a support for all default colors of the package xcolor
fileformat change
2015-05-14 22:23:44 +02:00
Kornel Benko
7fb1dfe61e Add debug output while handling debian package dependences
This is cmake build only
2015-05-14 21:19:59 +02:00
Enrico Forestieri
306b136cc0 Fix bug #4812 (Layout in local directory lost on Save As, Copying)
The "save-as" part of the bug is fixed by extending the \textclass tag
such that, if a local layout file is used, its path relative to the
document directory is now stored together with the name. If a relative
path cannot be used, an absolute one is used but, in this case, the
document is not usable on a different platform.

The "copy" part is fixed by introducing a new \origin tag, which is
written when the file is saved. This tag stores the absolute path of
the document directory. If the document is manually copied to a
different location, the local layout file is retrivied by using
\origin (which is only updated on save).
This new tag may prove useful also for locating other files when the
document is manually moved to a different directory.

As in the original implementation the files needed for the layout
(for example, a latex class) had to be in the same directory as the
layout file, this directory has also to be added to TEXINPUTS.
2015-05-13 22:02:13 +02:00
Uwe Stöhr
335ccee3b5 GuiBox.cpp: re-add lost braces
- FORMAT: add date
2015-05-11 22:16:36 +02:00
Uwe Stöhr
8010b90cb4 add ability to change box line thickness and separation
fileformat change
2015-05-11 21:30:32 +02:00
Georg Baum
51cc8aa9f6 Fix build with GNU libstdc++ C++11 ABI
The GNU libstdc++ that ships witch gcc 5 can be used with the same ABI as
older versions, or with a new ABI which is conformant to the C++11 standard.
LyX did not build if the latter was used:
https://kojipkgs.fedoraproject.org//work/tasks/1267/9651267/build.log

This is now fixed by detecting the ABI version and disabling the wrong forward
declarations. At the same time, STD_STRING_USES_COW is switched off for the
C++11 ABI version, because the std::basic_string implementation is now C++11
conformant. Since the GNU libstdc++ can also used by other compilers such as
clang, we must not test for the compiler version.
2015-05-08 21:12:42 +02:00
Scott Kostyshak
5f7395d648 ctex.lyx: use free fonts by default
Now with TeX Live 2014 (and also with 2015), we can export ctex.lyx
with free fonts. I have confirmed that the output is correct.
2015-05-05 02:15:44 -04:00
Scott Kostyshak
e3546485ce ctests: PDF-form only works with (pdf|lua)latex
This is even stated in the file.
2015-05-05 01:19:29 -04:00
Uwe Stöhr
758e27c611 installer: preparation and updates for upcoming LyX 2.1.4 release 2015-04-24 23:53:15 +02:00
Juergen Spitzmueller
c886679160 Rewrite the linguistic Glosse insets.
This gets rid of the PassThru hack and makes the inset actually usable
for linguistists.

Fixes: #7773

File format change.
2015-04-21 20:33:35 +02:00
Juergen Spitzmueller
7158f7b58d Add support for linguistic trees (via forest) 2015-04-20 18:14:42 +02:00
Juergen Spitzmueller
225a37be39 Support item argument in linguistic examples
File format change.
2015-04-20 12:15:20 +02:00
Scott Kostyshak
ffa6e74c74 ctests: remove some tests from ignored file
The bug that caused these tests to enter into infinite loops
(and have a memory leak) has been fixed. These tests now
pass on an updated TeX Live 2014 as well as the current TeX
Live 2015 pretest.
2015-04-16 22:54:33 -04:00
Juergen Spitzmueller
319ee3296a File format change caused by 34eadf5d4. 2015-04-09 11:01:44 +02:00
Scott Kostyshak
42400823a7 ctest: do not disable the English version test 2015-04-08 15:04:43 -04:00
Scott Kostyshak
2292822f3c ctests: disable two fr/Math.lyx tests
One of the tests is also disabled for es/Math.lyx. However,
the other test passes for es/Math.lyx. To reproduce,
open fr/Math.lyx, click "Use non-TeX fonts", and choose
e.g. "FreeSans" for the three fonts. Then view as PDF (LuaTeX).

I put a note to look into why this one fails.
2015-04-08 14:26:07 -04:00
Uwe Stöhr
c6b17b685a support for Georgian
add support to set Georgian as document language, fileformat change
2015-04-06 06:00:11 +02:00
Kornel Benko
953e56492a Cmake tests: Test export xhtml always, independent of default output format 2015-04-02 09:51:53 +02:00
Kornel Benko
6cd29398f6 Added test for export of icon graphics in lyx info inset.
Tests the polluting of the system directory with pdf form of the
original svgz graphic.
2015-04-02 09:39:42 +02:00
Kornel Benko
36d1829991 Enable editing 'slovak.nsh' with emacs. 2015-04-01 18:16:35 +02:00
Kornel Benko
390b59011d Cmake build: Do not install .pdf icons created by export
Such files are polluting the lib/images directory if
exporting lyx-files containing lyx-info of type icon.
2015-04-01 17:26:13 +02:00
Kornel Benko
db7b1acd54 Cmake tests: Test pdf exports honoring the default output format
The variable 'out_formats' was not set correctly in this case.
2015-04-01 11:50:31 +02:00
Kornel Benko
69bec00e38 Cmake tests: Make check_load tests run in sequence.
Running parallel commands 'lyx -batch ...' with files from
the same directory has lead to conflicts.
2015-03-28 22:54:08 +01:00
Kornel Benko
cc3dd7753e Cmake tests: make parallel export tests safer.
Use different temporary directory for each test.
2015-03-28 21:21:16 +01:00
Georg Baum
49ac79100b Make InsetSpecialChar names more consistent
This is the rersult of a discussion on the list. Now all special characters
have meaningful names, and it is clear that the LyX file syntax is not LaTeX.
2015-03-23 21:28:04 +01:00
Kornel Benko
3fe0f7bac0 Test for undo crash in math env.
According to fix #9432, Scott found a new crash
	1. start a new LyX document, english GUI
	2. alt+m f to create a fraction
	3. alt+m r to insert a root
	4. undo
2015-03-22 19:04:16 +01:00
Kornel Benko
6787ec05f7 Cmake build: Add .svgz files to Resources.
It does not seam to make a difference.
Added because other icons are also included.
2015-03-17 20:46:02 +01:00
Kornel Benko
e0c3379645 New test for seach and replace of a logo 2015-03-17 17:52:37 +01:00
Kornel Benko
034d5632a2 Make tests for QT5 and QT4 work.
Changing *-in.txt due to erroneous shortcuts in it.po
keytest.py, single-test.cmake and CMakeLists.txt now
provide a frontend hint for xvkbd.
2015-03-17 17:36:47 +01:00
Kornel Benko
2008e0876f Cmake build: Remove deleted svg subdir from installation.
Also added missing images/math/oxygem icons to installation.
2015-03-14 16:15:35 +01:00
Kornel Benko
da46f6566a Preparation to support translations with python3
Thanks to José.
2015-03-11 20:54:28 +01:00
Scott Kostyshak
50b570e05a ctests: revert a MultilingualCaptions XeTeX test
This file and format exports correctly since 5753760b.
2015-03-10 23:35:49 -04:00
Kornel Benko
4ac32ef351 Forgotten in previous commit
This is not needed bacause the command 'grep' is not
so language sensitive as pcregrep. It's only for the sake of consistence
2015-03-09 10:38:07 +01:00
Kornel Benko
0ed7f301ea Remove the need of specific language packs for keytests
The command pcregrep failed trying to set locales to
not installed language pack.
2015-03-09 09:41:34 +01:00
Enrico Forestieri
afeae62f3f Update cygwin script.
Recent versions of the cygwin X11 server come with a startup script
that explicitly uses '-nolisten tcp' for improved security. This means
that mentioning a host part in the DISPLAY variable precludes correct
operation. So, leave blank the host part such that only local connections
are attempted. Even if a user can override this setting in the own
~/.lyxprofile, novice users (and even experienced ones, at first) would be
probably confused by the "Error: Can't open display: localhost:0" message
and thus it is better to make this work out of the box.
2015-03-03 18:17:37 +01:00
Georg Baum
3e9e6e344a Replace automatic logofication with insets
Previously, LyX did replace some words with typeset logos, and there was no
way to prvent this except putting them, in ERT (bug #4752). Now we have
special insets for these words, and standard text is left alone.
2015-03-01 11:16:57 +01:00
Uwe Stöhr
d4b92d8a6d Installer: slovak.nsh: translation update by Kornel 2015-02-27 01:11:00 +01:00
Georg Baum
8aa37c43a1 Fix plaintext output of dashes (bug #3647)
Previously, consecutive dashes in .lyx files were combined to endash and emdash
in some cases, and in other cases they were output as is. This made the code
complicated, and resulted in inconsitencies ((bug #3647).
Now, a dash in a .lyx file is always a dash in the output, for all flavours.
The special handling is moved to the input side, so that you still get an
endash if you type two hyphens. If needed, this can be changed or made
customizable without the need to update the file format again. Many thanks
for the fruitful mailing list dicsussion, which contributed significantly to
the final version.
2015-02-24 22:06:12 +01:00
Scott Kostyshak
29e96634df ctests: invert some of the PDF-comment tests
Only pdflatex is expected to work reliably.
lualatex also appears to compile.
2015-02-21 14:08:54 -05:00
Scott Kostyshak
68c6d7943d ctests: revert Russian XeLaTeX and LuaLaTeX tests
These exports (with TeX fonts) have been successful since support
for proper font encoding for Russian was added at d7cf6ca7.
2015-02-18 03:29:59 -05:00
Scott Kostyshak
a6f7c598cd ctests: invert many of the ja template tests
We only expect pdf and pdf3 to pass. This is consistent with
other LyX Japanese documents.
2015-02-18 02:35:05 -05:00
Scott Kostyshak
36c3495a3a Correct the spelling of "occured" to "occurred" 2015-02-09 18:44:02 -05:00
Uwe Stöhr
5fa7d3f90a Win installer: correct a sorting 2015-02-09 01:16:47 +01:00
Stephan Witt
90f723e282 Disable mouse middle button paste on Mac OS X per default
Add UI translation for german
2015-02-08 20:08:29 +01:00
Juergen Spitzmueller
706960eba4 Add Question and Question* theorem types (bug #9015)
File format change.
2015-01-09 11:24:45 +01:00
Uwe Stöhr
4e1e01361f Windows installer: fix problem with installation of babel Packages
- the installer now re-synchronize MiKTeX's package database before installing or updating LaTeX-packages. This assures that new packages and renamed packages can automatically be installed when they are missing (fixes bug #9370)
- update the list of LaTeX packages that have to be installed when LyX is installed via the bundle installer for the first time on a PC
- add support for Turkish spell-checking
2015-01-09 02:49:41 +01:00
Enrico Forestieri
9126a99e97 Fix bug #9217: [Qt5] QWindowsMime class not available
The support for QWindowsMime has been reintroduced in Qt 5.4.0.
The class name has been changed to QWinMime but the interface
is exactly the same.
2014-12-26 16:53:31 +01:00
Georg Baum
6f34a8a640 Get rid of tr1 support
As discussed on the list. We don't need it anymore, either we have a modern
compiler that supports C++11, or we fall back to boost. I kept and adjusted
the regex #define, since we cannot use std regex completely yet.
2014-12-23 22:18:08 +01:00
Georg Baum
7796ad3a36 Improve llvm libc++ detection
The old detection did only work if CFLAGS contained -std=c++11, since ciso646
was only included for __cplusplus > 199711.
Thanks to Koernel for the cmake part.
2014-12-21 17:26:21 +01:00
Stephan Witt
57941c83ea add Mavericks and Yosemite SDKs 2014-12-21 15:58:34 +01:00
Kornel Benko
98d063e9be Cmake build: Check for string COW by checking for library, not compiler
Changed according to automake behaviour, see 385f3e8abd
2014-12-19 12:32:14 +01:00
Kornel Benko
edf22ba723 Cmake build: Detect clang and adapt definition of STD_STRING_USES_COW. 2014-12-08 17:43:05 +01:00
Juergen Spitzmueller
1df5d28df5 Update the spec file template
Patch by user aluchko in #9349

Fixes: #9349
2014-12-08 13:15:06 +01:00
Stephan Witt
b69fed3610 add short git hash to name of devel disk images to get different names for devel versions without manual intervention 2014-11-17 19:43:54 +01:00
Georg Baum
f110ef2f41 Convert updatelayouts.sh to python
This makes the script usable on windows and speeds it up by an order of
magnitude, since no new process needs to be forked for each layout file.
It also does not conevrt .old files again.
2014-11-16 12:43:52 +01:00
Kornel Benko
07683c1f0d Cmake build: 'callstack printing' detection.
Instead of depending on compiler we try to check for working
API as is done now for automake build too.
2014-11-09 12:59:14 +01:00
Stephan Witt
0e4de64d5e improved mount state check 2014-10-24 18:14:42 +02:00
Stephan Witt
ef51c22ddf Add lyx_commit_hash.h.cmake to distribution tar ball 2014-10-24 18:13:27 +02:00
Kornel Benko
81afd10fc7 Cmake build: Moved creation of variable LYX_GIT_COMMIT_HASH to development/cmake/scripts/LyXGetVersion.cmake.
1.) The only file which needs this define is src/version.cpp. Our use in config.h
resulted in recompiling most of our sources.
With this change, only version.cpp needs to be recompiled.

2.) Without reconfiguring, the old commit hash was still valid. Now the
detection of commit hash is done at compile time.
2014-10-24 16:58:54 +02:00
Kornel Benko
110f39482e Cmake buid: Install the new svgz icons 2014-10-18 16:53:41 +02:00
Juergen Spitzmueller
6708c011d7 Add a script to automatically generate SVG math images from a LyX template.
This is an adaptation of Georg's generate_symbols_images script, but it uses dvisvgm instead of dvipng.
2014-10-15 16:14:05 +02:00
Kornel Benko
a24e076046 Add the git commit (if applicable) to LyX version
Addition to cmake.
Patch mostly from Stephan Witt.
2014-10-11 11:18:48 +02:00
Stephan Witt
35722e58ec LYX_GIT_COMMIT_HASH is in config.h now 2014-10-10 12:27:31 +02:00
Uwe Stöhr
056ae6a9fe Install.cmake: add missing subfolder "\templates\springer" and remove an unnecessary folder
we don't need to install the attic template files. These are for years now in attic and LyX 2.2. should make a cut somehow for very old attic material
2014-09-25 00:25:02 +02:00
Kornel Benko
efb8584ba1 Cmake export tests: Use unique file names for exported files
This should prevent possible errors for tests running in parallel.
We now also check for created export file.
  complainer/feature requester: Scott Kostyshak
2014-09-09 19:02:20 +02:00
Kornel Benko
2df6340c1c Cmake tests: Set also correct sequence of tests again. 2014-09-03 12:35:40 +02:00
Kornel Benko
d97c34f4fe Cmake tests: Disable keytests if missing needed input files
The files first-time-in.txt and hello-world-in.txt are used
as first tests to initialize the test environment for the other
keytests.
2014-09-03 12:25:28 +02:00
Kornel Benko
b62c6a1c5e Added more missing files to autoconf's dist 2014-09-02 15:02:55 +02:00
Kornel Benko
6c7b5b12c7 Add cmake files to autoconf's dist 2014-08-31 15:21:20 +02:00
Juergen Spitzmueller
9a702f195d Add support for beamer lemma environment.
File fomat change.
2014-08-31 12:30:14 +02:00
Stephan Witt
f2aeca65b4 pass git commit hash within CPPFLAGS to add it to version info 2014-08-28 08:30:45 +02:00
Stephan Witt
4a04328be2 Correct LyXUtilitiesDir default assignment location (thanks Patrick) 2014-08-26 07:37:59 +02:00
Kornel Benko
6767052bba keytest.py: Allow for LyX window to appear without timeout
Timeout for lyx-process to appear may be significantly smaler.
5 sec. looks sufficient, while lyx-window may take some time
due to configure.py.
2014-08-25 14:28:18 +02:00
Kornel Benko
e4772c103e keytests: add a timeout for LyX process to start
If the LyX window does not appear after a certain (conservative)
time, the keytest now fails. One reason that caused the LyX window
to never show up was when DISPLAY was not set. This particular case
has been fixed in <commit1hash>. This commit is meant for the more general
scenario.
(Collaboration with Scott Kostyshak)
2014-08-25 13:49:12 +02:00
Kornel Benko
f2937e676a Fix stalling of keytests when invalid DISPLAY
Before, the keytests would run infinitely if the
tests were run, e.g. through SSH without X forwarding.
To reproduce that problem, run

  DISPLAY='' ctest -R hello

This commit causes the test to correctly fail in such situations.
(Collaboration with Scott Kostyshak)
2014-08-25 13:45:32 +02:00
Uwe Stöhr
742ba333bf FORMAT: document latest file format change 2014-08-25 01:28:12 +02:00