Commit Graph

3512 Commits

Author SHA1 Message Date
Günter Milde
827450200f Remove pattern for tests that failed due to stale config files. 2016-09-13 19:44:09 +02:00
Günter Milde
32b65a8ee5 ctests: samples for lib/unicodesymbols: only test export to 8-bit LaTeX. 2016-09-10 12:35:51 +02:00
Günter Milde
a6c6bbabe9 ctests: Move tests failing only with newest luatex to unreliableTests. 2016-09-10 12:35:51 +02:00
Günter Milde
dc378b523d ctests: More inversions
* Polyglossia + LuaTeX + \verb bug with Cyrillic and Greek
* PDF(LuaTeX) Intro.lyx (reports png without bounding box)
2016-09-07 23:27:16 +02:00
Günter Milde
ffd80caa18 ctests: one more languagenesting sample 2016-09-07 23:27:16 +02:00
Günter Milde
5fd56eb9ad fr/UserGuide: remove spurious language switch in an index inset.
This led to errors when compiling with polyglossia (and non-TeX fonts).
A minimal (currently non-compiling) test sample is kept in autotests/export/
and inverted in suspiciousTests.
2016-09-07 23:27:16 +02:00
Günter Milde
c74fbfbb68 ctests: "nonstandard" tests are now listed in unreliableTests
... under the sublabel "nonstandard".
2016-09-06 16:46:27 +02:00
Günter Milde
699cfea174 ctests: invert tests due to Polyglossia + LuaTeX + verb bug with Cyrillic 2016-09-06 16:43:41 +02:00
Uwe Stöhr
216fd2d786 installer: major third-party updates 2016-09-05 23:40:43 +02:00
Scott Kostyshak
0c2f1310cb ctests: xy package has issue with newest LuaTeX
LuaTeX export of docs with xy package are now marked as having TeX
issues. Hopefully these will be fixed in a TL package update.
2016-09-02 21:21:36 -04:00
Scott Kostyshak
7fd60406df ctests: ignore obsolete aastex.cls
aastex.cls is obsolete and replaced by aastex6.cls.

This is consistent with how we treat the obsolete latex8.sty.
2016-09-02 11:25:35 -04:00
Scott Kostyshak
c7de1a4e2b ctests: mark failing LyXHTML tests as "lyxbugs"
For more information, see #10355.
2016-09-01 23:27:11 -04:00
Scott Kostyshak
584d123bc7 ctests: uninvert three tests
These exports now succeed, and manual inspection of the output
confirms there are no obvious problem.
2016-09-01 22:56:11 -04:00
Scott Kostyshak
95ba824283 ctests: update tests to reflect lualatex fixes
europeCV and modernCV examples can now be exported to PDF using
LuaTeX. For the specific output that was fixed, look at the diff and
see the description in suspiciousTests that was removed by this
commit. The output was checked manually and appears fine. These
tests are thus "uninverted".

Exporting those examples to DVI with LuaTeX does not exit with
error, but the output drops characters with accents. Thus, these
tests are now marked with the "wrong_output" label. I reported this
issue on the LuaTeX mailing list at [1], but since DVI export is not
given high priority, I don't expect much action.

Note that these changes reflect an updated TeX Live 2016
installation.

[1]
https://www.mail-archive.com/search?l=mid&q=20160831134006.4fewxothddqfeyw4%40steph
2016-09-01 17:21:06 -04:00
Kornel Benko
a9a45344b8 Cmake build: Add format V2.2 to export tests 2016-08-29 18:14:37 +02:00
Scott Kostyshak
591e584b7d Add a wrong_output ctest for mixing inTitle #10347
As of 0b1cf133 we now warn in the GUI of this issue, but there is a
discussion about whether we should change our LaTeX output and allow
for the workflow of mixing inTitle layouts. For more information,
see #10347.
2016-08-26 11:39:33 -04:00
Stephan Witt
bbb53c5363 Correct library name of installed hunspell framework (it does not match the patch version number) 2016-08-22 09:03:14 +02:00
Stephan Witt
a351774745 Add check for existance of Qt translations directory 2016-08-21 17:50:48 +02:00
Guillaume Munch
02b747396e Commands to select the posix variant for the mingw cross-compilation script
The win32 thread model of gcc does not support the <thread> and <mutex> headers
yet.
2016-08-12 21:46:26 +01:00
Kornel Benko
5f5c966b19 Cmake build: Ignore also files with extension .patch --
These files should not be installed.
2016-08-08 21:23:20 +02:00
Kornel Benko
2d49342ce3 Cmake build: Amend 41e409f8: Use std::call_once only if it is actually available 2016-08-07 11:32:53 +02:00
Juergen Spitzmueller
4084b2d629 Whitespace 2016-08-04 12:49:33 +02:00
Juergen Spitzmueller
45f7ee7f35 Document file format change 2016-08-04 12:41:11 +02:00
Uwe Stöhr
056422dae9 win installer: port recent changes from branch 2016-07-26 23:41:23 +02:00
Kornel Benko
fa85bf9b59 Cmake build: Added check for pythons polib module
Idea stolen from http://public.kitware.com/pipermail/cmake/2011-January/041666.html
2016-07-24 11:20:08 +02:00
Stephan Witt
aac180b1ce Revert "Add qt-dir bin directory value to PATH - matching Qt tools may not found at build time anymore if not in front of PATH"
This reverts commit 535429d914.
2016-07-14 07:57:52 +02:00
Scott Kostyshak
2b6f822bad Add CMake flag for keytests and disable by default
The keytests were previously enabled by default if the necessary
dependencies were found. They require a GUI and mouse so can
sometimes be annoying. Further, they are not currently reliable.
They are thus now disabled by default.
2016-07-13 04:52:46 -04:00
Richard Heck
5df323a0dd Introduce "inverted" branch insets: These are branches whose content
is output when a branch is NOT activated. Fixes bug #7698.

At the moment, inversion is controlled through the branch settings
dialog. There is no provision for inserting inverted insets directly,
or for changing them from the context menu. Both of these could be
done, of course. The latter would need LFUN_BRANCH_TOGGLE_INVERTED.
2016-07-11 23:56:32 -04:00
Kornel Benko
59ac7ce660 Cmake build: Add needed libraries if using QT5_Extras
Commit cb0c881 does this already for automake.
2016-07-11 19:08:11 +02:00
Uwe Stöhr
1f6e2c323e build4-2010.bat: remove outdated script
building with MSVC 2010 won't be possible with LyX 2.3
2016-07-11 02:12:36 +02:00
Kornel Benko
8a15df6d65 Amend cb0c881 2016-07-10 22:14:08 +02:00
Enrico Forestieri
cb0c881b02 Fix paste of selection to (unfocused) external applications
With both Qt4 and Qt5, when using a click-to-focus policy, the first
attempt to paste a selection by middle mouse in an external application
which has no focus may fail. It is not clear why this succeeds for some
applications and fails for others, but refreshing the timestamp of the
selection request cures the issue. The cmake part is by Kornel.

See also this thread:
http://thread.gmane.org/gmane.editors.lyx.devel/162491
2016-07-10 19:31:32 +02:00
Kornel Benko
582f225aca Testcase now OK after fixing #8022 2016-07-10 11:06:01 +02:00
Kornel Benko
396b55dd51 Cmake build: Mimic changes done in autoconf at f70dd65 2016-07-08 10:58:32 +02:00
Stephan Witt
535429d914 Add qt-dir bin directory value to PATH - matching Qt tools may not found at build time anymore if not in front of PATH 2016-07-07 01:04:09 +02:00
Pavel Sanda
5e371da306 Not in tree anymore.
Uwe, watch your step.
2016-07-03 16:41:27 -07:00
Uwe Stöhr
edbc91a6f9 remove 2 outdated build scripts
LyX 2.3 cannot be compiled with MSVC 2010
2016-07-02 19:40:18 +02:00
Georg Baum
3c56e7c0eb Fix MSVC C++11 detection
The old version with empty flag did not enter the loop at all, so we have to
use a workaround. Thanks Uwe for testing.
2016-07-02 18:26:08 +02:00
Georg Baum
987dd84461 Do not use --std=c++14 for MSVC
MSVC does not need a special flag to specify the standard. Using --std=c++14
produces a warning, but compilation succeeds, so the old code did mistakenly
choose --std=c++14 for MSVC.
2016-07-02 12:42:04 +02:00
Georg Baum
e49d59dafc Fix std::regex detection for older gcc
Older gcc versions (e.g. the first one which has usable std::regex: gcc 4.9)
require the --std=c++11 flag to be set. Otherwise std::regex is not made
available. Therefore we need to keep the flag in the loop.
2016-07-02 12:39:08 +02:00
Uwe Stöhr
f1818679ce CMAKE: update path to Qt 5.6.1 2016-07-01 01:39:38 +02:00
Georg Baum
933bc7f0dd Convert files to unix line ends in the repo
These files were aded with windows line ends before we did set the text=auto
attribute for all files in .gitattributes, and this caused phantom changes on
linux workspaces after .gitattributes was introduced.
Now these files appear with linux line ends on linux workspaces and with
windows line ends on windows workspaces, like all source files.
2016-06-26 19:03:10 +02:00
Georg Baum
d66d6f7805 Remove external date inset
The external date inset was implemented as a demonstrator for external insets
in general. It was never intended for production code. Now that we have several
external insets defined we do not need the demonstrator anymore. This fixes
bugs #4398 and #9948.
2016-06-19 21:23:25 +02:00
Georg Baum
c7c9744368 Adjust dep path in build batches
Another location where paths are stored...
2016-06-19 13:15:50 +02:00
Georg Baum
c737f1cddf Remove InsetMathXYArrow
This was dead code that did never work, and most of it was boilerplate that
you can steel in 15 minutes from any existing math inset. Apart from that it
did contain a pointer to InsetXYMatrix which would create the same problems
we saw with the macros.
2016-06-16 20:39:32 +02:00
Georg Baum
f8990ef469 This is LyX 2.3 2016-06-16 20:20:59 +02:00
Kornel Benko
2c5ffcefe9 Add xmingw and LyXDestinations.cmake to distribution files 2016-06-15 13:03:25 +02:00
Kornel Benko
0eb0a3d94d Cmake dist: Expand the list of not distributed files. 2016-06-15 10:21:18 +02:00
Kornel Benko
2da1c956e4 Cmake build: Check for make_unique and PATH_MAX symbols added. 2016-06-12 19:56:31 +02:00
Günter Milde
b170b6e40f fix #10199 Non-encodable characters with XeTeX and utf8-plain
XeTeX with TeX fonts is only safe with ASCII input encoding (see #9740)
and we therefore force "ascii" when exporting with XeTeX and 8-bit TeX-fonts.

However, "utf8-plain" is a "power-user" option, which allows to switch off LyX's 
encoding of the LaTeX file: 
keep this also for "XeTeX with TeX fonts".

The user is responsible to ensure all characters can be processed and are 
correctly shown in the output. The provided test sample shows the problems
with this encoding without special measures (like loading fontspec in the
user-preamble or a document class).
2016-06-11 13:57:24 +02:00
Kornel Benko
24a7dd45dc Cmake build: Determine availability of 'std::regex' if using clang compiler 2016-06-11 12:23:33 +02:00
Kornel Benko
f792837531 Cmake build: Finetune some destination data paths on UNIX 2016-06-10 13:40:38 +02:00
Georg Baum
2047ea5eb4 Replace Boost.Signals with Boost.Signals2
Boost.Signals is deprecated. This fixes bug #9943.
The only thing left to do is to rewrite (or get rid of) the boost -mt test
in config/lyxinclude.m4 not to use signals anymore.
2016-06-09 22:25:34 +02:00
Uwe Stöhr
3433888046 Win installer: new version with Qt 5.6.1
- the update to JabRef 3.4 which fixes installation problems if user has no admin privileges
- also update MiKTeX and ImageMagick
2016-06-09 02:14:28 +02:00
Georg Baum
7328cc0cc0 Make commented code python3 compatible 2016-06-08 18:41:57 +02:00
Georg Baum
273c67d8aa Require a C++11 compiler
As discussed on the list. If no C++11 compiler is found configuration stops
with an error. There are now unneeded parts of boost, the will be removed in
a second commit.
2016-06-07 20:34:52 +02:00
Kornel Benko
9dd695b17a Cmake build: Correct some installation paths 2016-06-07 14:38:20 +02:00
Kornel Benko
06539caccb Cmake build: Refactor determination of destination paths. 2016-06-06 08:29:07 +02:00
Kornel Benko
b5c87f2963 Cmake build: Set new installation paths
For a suffixed version (with suffix 2.3) and installation dir (/usr/local)
the new paths are:
binary -> /usr/local/bin
system-lib -> /usr/local/share/lyx2.3
fonts -> /usr/local/fonts/truetype/lyx2.3
manuals -> /usr/local/man/man1
locales -> /usr/local/share/locale
tex -> /usr/local/texmf/tex/latex/lyx2.3
2016-06-05 22:59:13 +02:00
Georg Baum
0009732fe8 Fix encoding for computer modern fonts
The essential hints came from Guillaume amd Jean-Marc at bug #8883.
Tested by comparing the output of

python generate_symbols_list.py `kpsewhich fontmath.ltx`

with lib/symbols.
2016-06-05 16:53:55 +02:00
Georg Baum
961d629301 Make generate_symbols_list.py python3 compatible 2016-06-05 16:39:19 +02:00
Kornel Benko
7c0eba4d75 Cmake build: Allow user defined suffix for program files 2016-06-05 16:26:59 +02:00
Georg Baum
2ba8705435 Fix svgz output path
In the old script the output path given on the command line was ignored,
because of teh way how dvisgm expects commandline options.
2016-06-05 13:28:06 +02:00
Georg Baum
a847fef684 Merge generate_symbols_* scripts
Most of the code was identical, but the templates are sifferent, so they are
not merged.
2016-06-05 13:21:03 +02:00
Georg Baum
888662c4ef Update image template docs to current format 2016-06-05 12:56:32 +02:00
Georg Baum
96d63d28a7 Prepare generate_symbols* for python3
This is the usual encoding and print stuff, but the scripts don't run yet
under python 3 because of the missing Image module.
2016-06-05 12:51:07 +02:00
Georg Baum
e9fa76054e Look for svgz images as well
Almost all toolbar images are now in svgz format, bu thos were not found by
the scripts.
2016-06-05 12:25:48 +02:00
Georg Baum
8e7bed57da Adjust generate_symbols* to db363ab1
The image map was renamed, so it was not found anymore.
2016-06-04 20:13:37 +02:00
Georg Baum
f965fc95f6 Make unicodesymbols.py python3 compatible 2016-06-04 19:58:42 +02:00
Georg Baum
0560e5df04 Update gen_lfuns.py to current format
And run it to update LFUNs.lyx. This overtakes the  syntax fix from b356df7fc
as well.
2016-06-04 19:46:40 +02:00
Georg Baum
d9703617bd Make gen_lfuns.py python3 compatible
Also read files with universal line endings and write files using native line
endings, so the script can also be used on windows without changing the line
endings.
2016-06-04 19:40:53 +02:00
Georg Baum
7ead59da40 Remove convert_kmap.py
This was used to convert LaTeX symbols in kmap files in 2007, we do not
need it anymore.
2016-06-04 19:09:44 +02:00
Pavel Sanda
ba2b86fa5d Introduce basic support for microtype.sty.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg192743.html
2016-06-02 22:48:58 -07:00
Uwe Stöhr
f14d7c8a6f Win installer: port last change 2016-06-03 01:30:29 +02:00
Uwe Stöhr
9151a008a7 Win installer: security issues in ImageMagick require new installer 2016-06-02 00:46:16 +02:00
Kornel Benko
246d4bdf66 Cmake export tests: Added testcases for erroneous xhtml exports 2016-05-31 09:13:35 +02:00
Uwe Stöhr
eb9a118553 Win installer: 2 bugfixes 2016-05-31 01:25:07 +02:00
Jean-Marc Lasgouttes
47c0b3cc05 Update PAINTING_ANALYSIS
Remove all the tasks that have been performed.
2016-05-30 14:55:41 +02:00
Jean-Marc Lasgouttes
0311718215 Split TextMetrics::setRowHeight in three parts
The new functions parBottomSpaging and parTopSapcing return below/above each paragraph.

This allows to remove the TopBottomSpace argument and makes the code a
bit clearer.
2016-05-30 14:55:41 +02:00
Jean-Marc Lasgouttes
e39e4cf96b Do not require an extra pit parameter when a row is available
Now that Row has a pit() member, it is possible to use it instead of passing an extra pit_type parameter to a function which already has access to a Row.
2016-05-30 14:55:41 +02:00
Jean-Marc Lasgouttes
4c19c5149d RowPainter const cleanup
Change the various paint* helpers to take a single row element as argument.

Do not update x_ in the various paint* helpers. Constify them. Update x_ in paintText and paintOnlyInsets instead.

Remove an empty call to paintForeignMark in paintInset (the call did nothing since orig_x == x_ at this point).
2016-05-30 14:55:41 +02:00
Jean-Marc Lasgouttes
095c390fe2 Update PAINTING_ANALYSIS and add a new task 2016-05-30 14:55:41 +02:00
Jean-Marc Lasgouttes
656b7f5ab7 Set vertical margins in redoParagraph, not setRowHeight
It is actually easier to set the 20 pixels margin in redoParagraph, since it is not necessary to take newlines in account when deciding what is the real last row of the paragraph.

Moreover this solves the following bug (present in 2.1.x too): when the document ends with a newling, the bottom margin disappears.

Update PAINTING_ANALYSIS with new tasks.
2016-05-30 14:55:41 +02:00
Jean-Marc Lasgouttes
598f7e4a45 Cleanup Painter text() API
* remove optional arguments to the helpers that use a FontInfo
* add a textwidth argument to the text() methods that are used by rowpainter.

Now textwidth is only computed if a null value was passed to the
text() method. This means that in the use case of rowpainter, no
textwidth needs to be computed.
2016-05-30 14:55:41 +02:00
Jean-Marc Lasgouttes
78eaf8333b Update PAINTING_ANALYSIS
Some things were wrong, and some new ideas are added (some are done in
this branch already).
2016-05-30 14:55:41 +02:00
Kornel Benko
30ef73ab66 Cmake xhtml export tests: Missing script for commit 4162424762 2016-05-30 10:22:59 +02:00
Kornel Benko
4162424762 Cmake xhtml export tests: Use command xmllint to test the export result 2016-05-30 09:50:22 +02:00
Kornel Benko
6823115d17 Cmake tests: Allow test of LongestLabelWithUnderscore_xhtml 2016-05-30 09:46:01 +02:00
Kornel Benko
7a86fe3e0b Cmake: Allow test for X11 with QT5.6
Used for key-test tests.
2016-05-30 08:22:15 +02:00
Uwe Stöhr
978eea2173 CMake: add 2 build scripts to compile LyX with Qt 5 and MSVC 2015 2016-05-30 02:03:16 +02:00
Uwe Stöhr
b917c4e40f Merge branch 'master' of git.lyx.org:lyx 2016-05-29 23:58:10 +02:00
Uwe Stöhr
e7aaaeded3 Win installer: push the changes that are already part of the 2.2.0 installer 2016-05-29 23:57:37 +02:00
Jean-Marc Lasgouttes
87d4ce0ff7 Remove boost/format support
Only ChkTex.cpp used it, whereas the rest of our code uses the simpler bformat.
2016-05-29 17:55:45 -04:00
Georg Baum
2d708bd7cf Simplify .po file generation
We can generate the file with the cirrect line endings directly instead of
calling a helper script to convert them.
2016-05-29 17:55:44 -04:00
Georg Baum
d5f2bad461 Mingw-w64 build fixes for long long
On mingw-w64, long long (64bit wide) is larger than long (32bit wide).
Therefore we need some more specializations for string, docstring,
otextstream and << overloaded ostream functions. The configuration code
is by me, the source code changes by Shankar Giri Venkita Giri (bug 10053).
2016-05-29 17:55:43 -04:00
Stephan Witt
0d16434194 Include hunspell library version 1.3.3 for builds 2016-05-29 20:38:57 +02:00
Uwe Stöhr
0f3dbc472f Win installer: update thesaurus and dictionaries
- also use a better default MiKTeX repository
2016-05-19 03:28:31 +02:00
Uwe Stöhr
d4c07e107d Win installer: return to IM 6 2016-05-11 00:32:58 +02:00
Guillaume Munch
654f213a2f separator-convert.sh
Lyx files converted from 2.1 to 2.2 contain parbeak and latexpar separators that
would not appear if the lyx file was written in 2.2 from scratch. The script
removes latexpar separators and transforms parbreak separators into plain
separators. Then it displays a diff of the resulting pdf files (requires
diffpdf) for manual control. All lyx files shipped with lyx should be updated in
this way. See #10068.

example usage:
cd lib/doc
../development/tools/separator-convert.sh Math.lyx
2016-05-08 22:14:46 +01:00
Uwe Stöhr
b6b469a4ab Win installer: remove obsolete comment 2016-05-08 03:10:09 +02:00
Uwe Stöhr
fa2805118b Win installer: update to JabRef 3.x
- also another minor correction
2016-05-08 03:05:55 +02:00
Georg Baum
05ef47f47c Update fuzzy translations without -o
This is what the polib version does already. If a translation is marked
fuzzy then it is not used, so if the other file contains a non-fuzzy
translation we do not throw away useful information if we overtake it.
2016-05-07 10:21:24 +02:00
Georg Baum
499ffc3c13 Merge fuzzy translations correctly
If the -o option is given, we may overwrite existing translations with
translations from the other .po file. In this case, we have to delete or set
the fuzzy flag accoring to the updated translation.
2016-05-07 10:21:12 +02:00
Georg Baum
6a4503ac33 Make mergepo.py python3 compatible
This follows the same recipe (by José) as 262ae8264a for po/lyx_pot.py.
2016-05-07 10:21:00 +02:00
Georg Baum
bc53fc53f8 polib has more names than UTF-8 for utf8
In case of id.po it returns utf-8.
2016-05-07 10:20:38 +02:00
Uwe Stöhr
69d000479a Win installer: update MiKTeX repository and ImageMagick version
- http://ftp.fernuni-hagen.de does no longer exist
- ImageMagick released a new major version
2016-05-07 01:12:36 +02:00
Kornel Benko
882b7b01d0 Cmake install: Exclude some files from being installed
Files like CMakeLists.txt or *.lyx~ should not be part
of an installation.
2016-04-14 11:15:08 +02:00
Uwe Stöhr
16bd45f099 installer: filelist.nsh: add necessary MSVC 2015 runtime DLLs 2016-04-14 01:52:34 +02:00
Uwe Stöhr
208b87b633 installer/ChangeLog.txt: fix a typo 2016-04-13 01:33:27 +02:00
Uwe Stöhr
239619c4f0 installer: updates for the installer for 2.2. final 2016-04-13 01:31:42 +02:00
Kornel Benko
13bf0f3275 Ammend 4aa88e9 2016-04-09 12:21:16 +02:00
Günter Milde
b4dcad83b2 New layout for aastex6.cls. Fixes #10027.
Some more work for new and improved styles optional.
2016-04-08 21:34:23 +02:00
Enrico Forestieri
b856a3ad9b Update docs to latest format. 2016-04-06 05:43:44 +02:00
Enrico Forestieri
d4ca8d7404 Introduce the latexpar separator.
This is the same as the parbreak separator and is represented on screen
as the old parbreak. Old parbreak separators are converted to latexpar
separators when they are used for introducing blank lines in the
latex output rather than for separating environments.
Instead, parbreak separators are now represented on screen by a
double line. In essence, latexpar and parbreak separators produce
the same output but are represented differently on screen.
The context menu does not account for latexpar separators and only
"true" separators can be turned each into the other one.
2016-04-06 05:25:27 +02:00
Uwe Stöhr
b9ad7d05ee installer/ChangeLog.txt: mention another update 2016-04-03 18:58:23 +02:00
Uwe Stöhr
718daae56a installer: prepare for a RC1 release 2016-04-03 18:30:54 +02:00
Peter Kümmel
a0a472c16e msvc2015: always incude strfwd.h first, to prevent crashes of our
typedefed streams.
2016-04-02 11:03:17 +02:00
Jean-Marc Lasgouttes
6196645cce Update documents and layouts after fd1ee3b4. 2016-04-01 10:08:39 +02:00
Jean-Marc Lasgouttes
fd1ee3b424 Rename Caption:LongTableNoNumber to Caption:Unnumbered
The term LongTable has been deprecated and moreover the renaming makes the interface easier to the eye.

File format updated to 507. (conversion based on jamatos patch)
Layout format updated to 60.
tex2ylx tests updated.
Document EmbeddedObjects.lyx has been updated.
2016-03-30 16:07:00 +02:00
Kornel Benko
454b83694a Cmake export tests: Allow also '_' char as part of ctest-label
Missed in previous commit
2016-03-26 13:16:46 +01:00
Kornel Benko
41447b1225 Cmake export tests: Label handling
In collaboration with Günter Milde:
1.) Allow char ':' be part of a ctest-label
2.) Eliminate redundant label naming and directory names
    (The testnames should not repeat the directory name)
2016-03-26 13:06:14 +01:00
Scott Kostyshak
a28178ba38 ctests: uninvert 3 tests that pass due to updates
When updating to the latest TeX Live revision, these exports now
succeed.

Inspecting the differences between the "good" PDF and the "bad" PDF
(where the test failed) there are three differences, which can be
found on the printed page numbers 81 and 82 (PDF page numbers 91 and
92). The accented i in "lím" was printed incorrectly (and the
missing glyph was correctly detected). After the update the
character is printed correctly and there is no longer an error.

The package that caused the change is likely babel or babel-spanish.
You can see the log from the TeX Live update that caused the fix by
seeing the attachment to the message here:

https://www.mail-archive.com/search?l=mid&q=20160313015902.lny3g5aujh4c4aps%40scott-Za1510
2016-03-17 11:34:15 -04:00
Günter Milde
d0ef6afac0 cmake autotests: label aastex tests as unreliable
document class aastex.cls replaced by aastex6.cls
(in CTAN and TL 2015-update around march 2016)
New layout required, see #10027
2016-03-17 08:13:45 +01:00
Kornel Benko
8e267a7315 Cmake export tests: Initalize the output variable 'inverted' in macro 'matetestname()'
It could happen that the variable was set in creating a previous test-case.
Some combinations in the controlling files (suspiciousTests, unrelibleTests, ...)
did not set this variable.
2016-03-17 00:36:02 +01:00
Uwe Stöhr
869d34ddeb development/cmake/build5-2015-x64.bat: Windows build script for 64bit LyX and Qt 5.6 2016-03-08 00:31:10 +01:00
Uwe Stöhr
54451aab2d Win installer: remove 2 files that are not in Qt 5.6 2016-03-07 01:28:02 +01:00
Stephan Witt
f16b2cab75 prepare Qt 5.6 builds
* support separate Qt framework builds
 * adjust configure options to skip QtTools
2016-02-28 11:34:06 +01:00
Uwe Stöhr
f96d5e75c9 Win installer: updated Portuguese translation by José 2016-02-25 00:24:01 +01:00
Uwe Stöhr
5e38454a63 Win installer: updated Swedish translations by Jim 2016-02-21 17:53:05 +01:00
Uwe Stöhr
9f8278d039 Win installer: update package installation list 2016-02-18 01:33:04 +01:00
Uwe Stöhr
a1ad717eb4 Win installer: translation updates by Georger and Claudio 2016-02-15 22:52:10 +01:00
Kornel Benko
cc884dd044 Typo. 2016-02-15 21:00:35 +01:00
Kornel Benko
64446ab834 Preparing a helper script to creat md5sum of a file. 2016-02-15 15:24:33 +01:00
Uwe Stöhr
bf4e6c7767 Win installer: several fixes
- fix broken weblinks
- remove unused includes
2016-02-12 02:52:36 +01:00
Uwe Stöhr
10cce01a24 Win installer: get rid of lyx.nsi
This file is not really helpful for daily work. Its content is now directly in the installer script.
2016-02-12 02:51:38 +01:00
Uwe Stöhr
8913488ecb Win installer: re-add encoding for slovak.nsh 2016-02-12 02:49:25 +01:00
Uwe Stöhr
de73550fd1 Win installer: French correction 2016-02-11 23:48:28 +01:00
Uwe Stöhr
0c8d3d3d94 Win installer: updated Italian 2016-02-11 23:36:01 +01:00
Uwe Stöhr
895f61c599 Win installer: update language files 2016-02-11 23:29:42 +01:00
Georg Baum
5dcc89d257 Remove date from LFUNs.lyx as discussed.
Also update format to 506.
2016-02-11 21:22:07 +01:00
Georg Baum
ff9ba203ff Add missing files to source package
The windows build for beta1 showed that some files were missing by accident.
2016-02-11 21:04:58 +01:00
Kornel Benko
a413d667ca Set C++11 option defaulting to 'AUTO' as it is on autotools too.
Nothing changes for already cached values.
With fresh build-dir and in 'AUTO'-mode we try to determine if the c++ compiler
is able to use this feature.
2016-02-11 09:03:07 +01:00
Uwe Stöhr
53d911b35d Win installer: some fixes and improvements
- fixed typos and updated translation
- support for Krita
- updated support for Gimp
- updated backup detection for TeXLive (generic detection always works independently)
- safeguard for a variable issue
2016-02-11 01:33:34 +01:00
Uwe Stöhr
77bb8b91a3 Win installer: prepare for beta 1
- also add support to detect JabRef 3.x
- also add support to detect Pandoc
- some minor improvements
2016-02-09 00:31:57 +01:00
Uwe Stöhr
abae532b57 Win installer: new Brazilian translation 2016-02-05 01:31:42 +01:00
Uwe Stöhr
af966e1ee3 Windows installer: updated translation by Koji
- also add a note
2016-02-04 00:13:21 +01:00
Uwe Stöhr
0d30333ec6 acmsiggraph.layout: revert c1e0b243 partly 2016-02-03 00:03:55 +01:00
Günter Milde
fa75f57603 ctest export tests: document requirements.
Add suggestion for policy for "reuse" of documentation files.
2016-02-01 23:56:37 +01:00
Kornel Benko
6169e26ee6 Cmake export tests: ACM-siggraph tests added to unreliableTests
They use package acmsiggraph, which is not on CTAN.
2016-01-28 13:06:59 +01:00
Uwe Stöhr
deb8e48efa build5-2010.bat: simplify script
* This is a script for MSVC2010 so assume this is used
* Fix a typo
* Load the MSVC build environment
2016-01-28 00:07:43 +01:00
Guillaume Munch
360742c515 New LFUN tabular-feature: update docs
Simply run updatedocs.py
2016-01-27 18:35:10 +01:00
Guillaume Munch
f58638c704 New LFUN tabular-feature: convert "inset-modify tabular" in LyX files
* Increase LyX format

* New function convert_info_insets in lyx2lyx_tools.py
  Use this function in the future for future updates of info insets

* Convert "inset-modify tabular" to "tabular-feature" in info insets

* Remove icon naming hack regarding "inset-modify tabular"
2016-01-27 18:33:09 +01:00
Uwe Stöhr
c1e0b24304 acmsiggraph.layout: update layout for ACM siggraph 0.92
fileformat change: update fileformat for all files
2016-01-27 01:58:13 +01:00
Uwe Stöhr
c5236c42b9 build5-2010.bat: use the same CMake parameters as in build5-2010-installer.bat 2016-01-26 01:57:15 +01:00
Günter Milde
26ed48a542 Invert and document test for "longest labeling label" problem.
Fails for known reason.
2016-01-24 21:06:45 +01:00
Peter Kümmel
44fd57e4b4 python now will be found, rmdir could fail 2016-01-22 12:47:23 +01:00
Peter Kümmel
0477e01d3e use Qt default path, don't touch source tree 2016-01-19 17:39:52 +01:00
Uwe Stöhr
41d5acdca3 Win build scripts: add a one-click script for installer builds
- also restore a build script for daily development work
- remove 2 outdated/unnecessary scripts
2016-01-19 02:21:06 +01:00
Günter Milde
26a3f46388 Use \inputencoding auto for examples/aas_sample.lyx
Also sort and commen related ctest pattern.
2016-01-18 09:01:28 +01:00
Günter Milde
d23227782d ctests: label tests with not-on-CTAN requirements as "nonstandard". 2016-01-18 09:01:28 +01:00
Peter Kümmel
e30b1d67fc rename build directory 2016-01-17 18:52:20 +01:00
Peter Kümmel
2f290a46d2 clean build with MSVC2010 2016-01-17 18:34:15 +01:00
Georg Baum
51d4036d16 Generate LFUNs.lyx in updatedocs
As suggested by Guillaume.
2016-01-16 11:08:22 +01:00
Georg Baum
4c3b8bf7c7 Update LFUNs.lyx to current format 2016-01-15 21:31:57 +01:00
Uwe Stöhr
e1ee036c3c Win installer: update Readme.txt 2016-01-15 00:16:15 +01:00
Uwe Stöhr
063b7ff849 Win installer: we need to ship the Qt platform dlls
- also remove now unnecessary file lists
2016-01-14 22:56:49 +01:00
Uwe Stöhr
2287734139 installer: remove filelists that are not used 2016-01-14 02:10:11 +01:00
Uwe Stöhr
ced2619759 installer/Readme.txt: update how to build 2016-01-14 01:54:41 +01:00
Uwe Stöhr
1822d44c58 add 2 Windows build scripts for LyX 2.2
- build4-2010.bat: MSVC 2010 and Qt 4.8.7 (as backup)
- build5-2010.bat: MSVC 2010 and Qt 5.5.1

I tested both scripts thoroughly and the resulting LyX build is stable. Please feel free to modify them if something can be improved.
2016-01-14 00:39:32 +01:00
Peter Kümmel
6e3a4ecfe7 mingw.bat: circumvent critical python detection
LyX could be build with a double click on mingw.bat.
2016-01-13 15:46:44 +01:00
Peter Kümmel
275d5a66a5 use Qt 5.5.1 2016-01-13 13:12:25 +01:00
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