Commit Graph

2843 Commits

Author SHA1 Message Date
Georg Baum
be41e2d16f 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-12 21:24:05 +02:00
Enrico Forestieri
0e274e06d8 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-05 00:01:40 +01:00
Uwe Stöhr
907ef51e51 Installer: slovak.nsh: backport translation update for old installer 2015-02-27 01:11:36 +01:00
Uwe Stöhr
1defd58e46 win installer: info for the 2.1.3 release 2015-02-09 01:19:01 +01:00
Uwe Stöhr
2c3f673c32 Merge branch '2.1.x' of git.lyx.org:lyx into 2.1.x 2015-02-09 01:15:23 +01:00
Uwe Stöhr
13edb2e7a5 Win installer: correct a sorting 2015-02-09 01:15:07 +01:00
Richard Heck
8cd12e3984 Fix patch-preamble. 2015-02-07 10:41:17 -05:00
Richard Heck
1096405b0c Fix suffixes in build script. 2015-02-07 10:40:40 -05:00
Uwe Stöhr
dba70d6ee9 installer: configure.nsh: better babel installation
The former solution with installing all babel packages at once via a list fails if only a single package of the list is already installed. In this case none of the packages in the installation list will be installed. Therefore every package will be installed separately.

(The bug is already reported to MiKTeX and this workaround can be removed for LyX 2.1.4.))
2015-01-13 01:28:07 +01:00
Uwe Stöhr
df0b34017e Windows installer: backport recent changes from master 2015-01-09 02:55:00 +01:00
Uwe Stöhr
076e62dd5f installer/Packages.txt: remove unsupported and double entries 2015-01-08 02:07:11 +01:00
Uwe Stöhr
55339f0249 Win installer: LaTeX package list update
- Packages.txt: add all available babel packages and update to latest list of packages supported by LyX
- chkconfig.ltx: remove an entry that was added only for the Win-installer
2015-01-08 01:39:10 +01:00
Stephan Witt
e0840f28b7 backport of --with-util-dir option 2015-01-05 23:36:44 +01:00
Richard Heck
5ed6cd417a Small fix to po update script. 2015-01-04 12:47:16 -05:00
Juergen Spitzmueller
c52b99d989 Update the spec file template
Patch by user aluchko in #9349

Fixes: #9349
2014-12-08 16:47:47 +01:00
Uwe Stöhr
03d3f8b5f3 revtex4-1.layout: remove unnecessary preamble code
- \lovname was already added to REVTeX 4.1 in 2010
- REVTeX does purposely not allow to color text, see the discussion in bug #4625
2014-10-26 14:21:11 +01:00
Uwe Stöhr
53fb8f28a5 Install.cmake: add missing subfolder "\templates\springer" 2014-09-25 00:23:23 +02:00
Richard Heck
1200172d16 Something weird happened to the patch preamble. 2014-09-16 12:31:36 -04:00
Richard Heck
3410f6cee9 Minor update to build script. 2014-09-16 12:12:50 -04:00
Enrico Forestieri
64cc8a1c1e 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-08-03 18:59:54 +02:00
Kornel Benko
a96a5ca5c8 Cmake build: Added user choise of QT version to use.
To use Qt5 one has to configure with:
        cmake .... -DLYX_USE_QT=QT5
Default is QT4, so on systems without Qt4 the QT5 choice is mandatory.
2014-06-26 09:39:47 +02:00
Uwe Stöhr
34f6289ac2 es.po: translations from Ignacio 2014-06-21 01:40:07 +02:00
Richard Heck
9a99660962 Update update-po script for new gmo generation. 2014-04-19 12:03:59 -04:00
Richard Heck
65a049dfa5 Merge branch '2.1.1-staging' into 2.1.x
Conflicts:
	lib/doc/es/EmbeddedObjects.lyx
	lib/doc/es/UserGuide.lyx
	lib/doc/fr/EmbeddedObjects.lyx
	lib/doc/ja/EmbeddedObjects.lyx
	lib/doc/ja/Intro.lyx
	lib/doc/ja/Math.lyx
	lib/doc/ja/Tutorial.lyx
	lib/doc/ja/UserGuide.lyx
	po/ja.po
	src/mathed/InsetMathNest.cpp
2014-04-18 11:08:31 -04:00
Kornel Benko
7f10484bff Cmake build: Assign package name dynamically
This enables to install different lyx-versions simultaneously via
the package manager.
2014-04-18 10:52:48 -04:00
Uwe Stöhr
97c89c86a1 installer: fix a bug with file associations
- this fixes the bug I mentioned in my previous installer commit
2014-03-30 05:33:55 +02:00
Uwe Stöhr
5284488f37 installer: commit files with which installer for RC1 was built
- known problem: if LyX 2.0.x is installed and you install 2.1rc1, the .lyx file associations will not be updated but if LyX 2.1 is installed on a new PC the file associations work (work is in progress)
2014-03-29 01:50:18 +01:00
Vincent van Ravesteijn
ae25fa5fe0 Update MacOSX Readme to latest fileformat 2014-03-23 17:49:37 +01:00
Vincent van Ravesteijn
9abb18e503 Windows installer: Bump preferences format 2014-03-20 08:13:26 +01:00
Vincent van Ravesteijn
912d4a7c61 Windows installer: Fix file format entry for Lilypond-book
In preferences format 7, a mime format is added to the format entry in the
preferences file. If this entry does not exist, LyX cannot read the entry.
2014-03-19 23:11:52 +01:00
Vincent van Ravesteijn
fc22ba1642 MacOSX/lyxrc.dist.in: update to Format 14 2014-03-19 22:29:14 +01:00
Kornel Benko
7ecbb06888 cmake export tests.
Define new policy of what export formats to check.
Depending on default_output_format
default or unset           xhtml, dvi*, pdf*
xhtml                      xhtml
any of pfd variants        xhtml, pdf*
any of dvi variants        xhtml, dvi*
each other (like eps3)     as specified
2014-03-16 09:57:31 +01:00
Benjamin Piwowarski
26fad1b79c Fix typo in configFunctions.h (wrong define for the header) 2014-03-13 08:28:06 +01:00
Kornel Benko
59f4d0d753 ctest export: smal improvements
1.) Use of regex to ignore group of tests
2.) If default output format is pdf2(pdflatex), the try to check also
  for xelatex and lualatex
2014-03-12 17:15:07 +01:00
Uwe Stöhr
2dd55a1778 installer: fix bug in dictionary installation
- we have a new dictionary and a new thesaurus so that we must increase the search list
- update the dictionary mirror list
2014-03-10 22:08:21 +01:00
Vincent van Ravesteijn
3f771c96d3 Fix EOLs 2014-03-10 21:04:25 +01:00
Kornel Benko
aea5e80f45 Typo 2014-03-10 13:39:31 +01:00
Kornel Benko
39c79a72be ctests: pdf export for korean documents
Use Nanum-font for tests to get a readable pdf with luatatex/xelatex
2014-03-10 13:33:46 +01:00
Stephan Witt
dff79377f4 add the background image to distribution tarball 2014-03-09 19:49:31 +01:00
Uwe Stöhr
ea05826908 installer: cleaner support for splitindex and pdfcrop
- it turned out that the hack to install a stripped-down Perl directly to MiKTEX is not only error-prone, requires admin permission but that it is also not safe because MiKTeX changes the folder structure from time to time. With the new solution Perl is installed directly for LyX like we do for ImageMagick, Python etc.
- for pdfcrop support there is a bug in pdfcriop that the requirement is hardcoded to Ghostscript 32bit - I contacted the pdfcrop author to fix this
2014-03-09 18:19:58 +01:00
Uwe Stöhr
fc3d1bcbb4 installer: update package list for LyX 2.1 2014-03-09 18:16:20 +01:00
Uwe Stöhr
00f8bfcae5 installer: fix potential serious bug 2014-03-09 07:57:47 +01:00
Uwe Stöhr
f14109c98f installer: update the changelog 2014-03-08 18:27:34 +01:00
Uwe Stöhr
e80dde776b installer: add new dictionary names
- also correct 2 file sizes
2014-03-08 00:25:22 +01:00
Uwe Stöhr
e165ff18be installer: update dictionary list
- there is now a Turkmen spell checker
- there is now a Galician thesaurus available
2014-03-07 00:24:28 +01:00
Benjamin Piwowarski
908c92e831 Updates to AppleScript support, and documentaoin for it. 2014-03-05 15:46:27 -05:00
Stephan Witt
222ef85664 improved Qt frameworks packaging on Mac 2014-03-04 22:28:40 +01:00
Stephan Witt
aea9c4fc1b avoid deployment of debug version of qt plugins 2014-03-01 10:23:31 +01:00
Kornel Benko
2127cde4ee Export test for french EmbeddedObjects with dvi3 and system fonts working now 2014-02-27 08:55:38 +01:00
Scott Kostyshak
7409b5e18a Fix a broken autotest
This test was broken after wrap-around search was implemented. From
what I understand, the point of the test is that search should _not_
match in this case because "ignore format" is checked by default.
Thus, a new way of testing that there was no match is to check whether
the wrap around message shows up, because the cursor is initially at
the beginning so that would mean that the entire buffer was checked.

I confirmed that the test now works by checking that it passes and
checking that it fails if "ignore format" is unchecked. Although this
test is still fragile, it is fragile in a conservative way (i.e. it
will give false failures rather than false passes). It will fail if
the Italian translation changes, if "ignore format" is unchecked by
default, or if the wrap-around mechanism changes (e.g. does not ask if
the cursor started at the beginning of the buffer).
2014-02-24 08:10:34 -05:00