Commit Graph

3321 Commits

Author SHA1 Message Date
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