Commit Graph

2901 Commits

Author SHA1 Message Date
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
Stephan Witt
7590dda669 Add check for the link for libmagic.dylib. 2014-08-22 10:05:40 +02:00
Stephan Witt
07c5124496 Remove unused code. 2014-08-22 10:04:53 +02:00
Stephan Witt
e389c935d2 Improved QtConfigureOptions (for Qt5.3). 2014-08-22 09:58:32 +02:00
Stephan Witt
1a6ee29de9 Remove gettext framework support. Add libmagic framework support. 2014-08-22 09:52:39 +02:00
Stephan Witt
8900a927a1 Add command line option to define the location of the self made utilities 2014-08-22 08:39:14 +02:00
Uwe Stöhr
ad1a553454 installer: update changelog 2014-08-04 23:59:29 +02:00
Kornel Benko
63976066ad avoid qt4 variable names in cmake build 2014-07-21 08:49:05 +02:00
Stephan Witt
b06abbbdbc avoid qt4 variable names 2014-07-20 18:16:36 +02:00
Enrico Forestieri
4bdeae2733 Update autotools for building with Qt5.
The option --enable-qt5 allows configuring for Qt5. The default is Qt4.
Nothing special is done with respect to Qt4, apart from pulling in the
correct libraries. Indeed, other than the core and gui libraries, now
also the concurrent and widgets libraries are needed.
2014-07-19 03:34:28 +02:00
Stephan Witt
0eb2df6ab6 do not strip binary for packaging by default; improved name of disk image 2014-07-16 22:25:25 +02:00
Enrico Forestieri
ff506c8e42 Use getent instead of grepping /etc/passwd.
Forthcoming versions of cygwin will use a different mechanism for
obtaining passwd/group information based on /etc/nsswitch.conf.
Thus, it will not be guaranteed that the files /etc/passwd and
/etc/group even exist. The recommended way for obtaining those
info is by using the getent command, which already works in
current versions.
2014-07-13 14:39:05 +02:00
Georg Baum
1a073ea416 Missing file format bis from 0c3b88e3 2014-07-10 21:59:17 +02:00
Scott Kostyshak
0ce8bee57f ctests: un-invert some tests after updates
David Carlisle fixed some EuropeCV issues and other updates
on TeX Live 2014 fixed a few more exports.
2014-07-01 21:18:14 -04:00
Scott Kostyshak
78b7045ed8 CMake: full path of an include needed for ver <3.0 2014-06-21 20:43:06 -04:00
Kornel Benko
7bc0a6f388 Cmake tests: Optimizing the cmake configuration time
The configuration time suffers mostly on checking, which of the export tests
is to be reverted.
1.) There is a new configuration flag now, "LYX_ENABLE_EXOPRT_TESTS.
   If not set (default) no export tests are created.
2.) If set, then the optimization halves the time needed for creation of tests.

The effect on my side:
        a.) Until now the time was:        ~ 26 seconds
        b.) The optimized time is now:     ~ 16 seconds
        c.) With not enabled export tests: ~  5 seconds
2014-06-21 21:15:54 +02:00
Kornel Benko
c9a6939ebb ctests: Use regular expressions 2014-06-19 21:04:18 +02:00
Scott Kostyshak
e11ae599ea Update ctests to reflect inputenc changes
There were changes to inputenc and luainputenc that are now
released in Tex Live 2014 that affect several exports. Some
exports that produced good PDFs now fail. Others that produced
incorrect PDFs (with gibberish) now correctly fail. Several
IEEEtran-* exports failed before and now export correct PDFs.

For more information, see

  http://tug.org/pipermail/tex-live/2014-May/035338.html
  https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184435.html
2014-06-19 10:26:15 -04:00
Scott Kostyshak
7ae0700c7e Fix a comment 2014-06-19 10:26:01 -04:00