Commit Graph

422 Commits

Author SHA1 Message Date
Enrico Forestieri
dd2a8b616e Adjust autotools default configure options for Qt5.
* Disable concept-checks unless explicitly required (errors out with Qt5).
* Add -fPIC to CPPFLAGS for elf targets (required with Qt5).
2015-01-04 18:07:11 +01:00
Georg Baum
394e1bf99c Use std::regex if possible
It works with gcc >= 4.9.0 and clang (with libc++ or gcc libstdc++ from gcc
>= 4.9.0). The MSVC parg is missing, because I cannot test it, and the
autotools build still link against boost::regex even if it is not needed, but
I don't know how to fix that.
2014-12-28 18:08:18 +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
90b1f084bf Improve C++11 support
If we compile in C++11 mode, do not use the boost replacements for bind,
functional and shared_ptr. regex is excluded, since it misses match_partial, and
gcc does not provide a usable one in versions less than 4.9.0.
I also removed the #define for match_partial, since this is dangerous. Now you
get a compile error instead of subtle runtime differences.
2014-12-21 20:22:16 +01:00
Georg Baum
0842aa06e4 Do not use tr1 with libc++
clang defines __GNUC__ but libc++ does not have tr1, so we either need to use
boost, or std and compile in c++11 mode.
2014-12-21 18:22:33 +01:00
Jean-Marc Lasgouttes
0b09424017 Autotools: read git commit hash at compile time
Also do as cmake to avoid full recompilation when the hash changes.
2014-11-24 22:00:21 +01:00
Jean-Marc Lasgouttes
dc7ef3c81f Implement "callstack printing" checking for autotools
Contrary to cmake, we do not rely on platform/compiler check, but on the
availability of the reauired API.
2014-11-04 23:48:03 +01:00
Jean-Marc Lasgouttes
8ecb96c09a Add the git commit (if applicable) to LyX version
This only works for autotools right now, but adding that to cmake is trivial
2014-10-10 12:12:17 +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
Enrico Forestieri
bc00159530 Fix compilation on Solaris after last boost upgrade. 2014-05-29 22:31:56 +02:00
Vincent van Ravesteijn
a25c946b31 boost: Turn off warning that signals are deprecated 2014-04-29 17:25:38 +02:00
Jean-Marc Lasgouttes
6c8a775c73 Use subdir-objects for automake 1.14 or newer
This option is going to be mandatory starting with automake 2.0.
LyX is able to use this since version 2.1, but it turns out that it is
badly implemented in versions of automake older than 1.14.

We rely on some (undocumented) symbol to detect automake 1.14 and
use the subdirs-objects option in this case.

For more details, see:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181023.html

Making everything work with autotools required making a copy of two
files from support/tests. It seems that we should not point to source files
that are handled by another Makefile.am.
2014-04-21 11:52:00 -04:00
Vincent van Ravesteijn
f0f8157099 Start the 2.2 development cycle 2014-04-18 12:03:13 +02:00
Vincent van Ravesteijn
fde16219ca This is LyX 2.1.0. 2014-04-13 19:26:04 +02:00
Vincent van Ravesteijn
5d66e91de8 configure.ac: back to development version 2014-04-01 21:41:13 +02:00
Vincent van Ravesteijn
fd7c0c2993 This is LyX 2.1.0rc1 2014-03-24 18:54:57 +01:00
Vincent van Ravesteijn
e83606c98a Not yet rc1: Revert "This is LyX 2.1.0rc1"
This reverts commit c571866e7f.
2014-03-20 22:15:33 +01:00
Vincent van Ravesteijn
c571866e7f This is LyX 2.1.0rc1 2014-03-20 22:11:14 +01:00
Kornel Benko
805e51eff8 Implement file locking and apply to configure
Functions for file locking are added. They are used for ensuring that
for specified userdir only one LyX process runs configure.
2013-11-20 19:40:32 +01:00
Vincent van Ravesteijn
86205f4ba2 Back to development version 2013-11-13 21:54:37 +01:00
Vincent van Ravesteijn
86efb5938d This is lyx2.1.0beta2 2013-11-10 21:08:39 +01:00
Raphael Kubo da Costa
ca7214b410 Remove FreeBSD checks when defining USE_WCHAR_T.
The problems the comments in the build systems refer to seem to have been
fixed for years. [1] says the checks in libstdc++ have been improved, and
all supported FreeBSD versions enable wchar_t support unconditionally in
libstdc++. Additionally, this needlessly impacts FreeBSD when libc++ is used
instead of libstdc++.

[1] http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.freebsd_wchar
2013-10-18 03:07:30 +02:00
Vincent van Ravesteijn
e117361638 Revert "This is lyx2.1.0beta2"
This was committed by accident.

This reverts commit c85ff678c3.
2013-10-12 02:41:44 +02:00
Vincent van Ravesteijn
c85ff678c3 This is lyx2.1.0beta2 2013-10-12 02:38:15 +02:00
Vincent van Ravesteijn
26df0977d1 Revert "Enable automake subdir-objects"
The reason for adding this option is to kill a warning with automake 1.14. However, the "make distclean" target does not work with the subdir-objects options for older versions of automake. To still allow older versions of automake, we remove this option and live with the warning when using automake 1.14.

This reverts commit 03343bd4e6.
2013-10-05 16:40:18 +02:00
Vincent van Ravesteijn
03343bd4e6 Enable automake subdir-objects 2013-09-29 15:26:25 +02:00
Jean-Marc Lasgouttes
56e2448546 Fix compilation on Solaris 11.1 (bug #8783)
Make sure that the configure script only checks features using the C++ compiler.

Also get rid of our last C files, since they are not compiled nor distributed anyway.
2013-09-09 11:02:14 +02:00
Juergen Spitzmueller
3698fde0d8 Revert part of 16cdf70d0c
Our source is not yet ready for subdir-objects (causes bad lyx/tex2lyx interferences). See http://marc.info/?l=lyx-devel&m=137673178123427&w=2 for details
2013-08-19 10:47:42 +02:00
Enrico Forestieri
b885b80bc0 Fix compiling on platforms lacking setenv
Using autotools, the availability of putenv is not checked, so
the macro HAVE_PUTENV is not defined and compiling stops with
the error "No environment-setting function has been defined."
Thus, also check for putenv.
2013-07-26 20:48:34 +02:00
Stephan Witt
16cdf70d0c enable automake version 1.14 2013-07-26 13:04:32 +02:00
Vincent van Ravesteijn
6386ed4812 Back to development 2013-07-13 23:54:07 +02:00
Vincent van Ravesteijn
290f3af862 This is LyX 2.1.0beta1 2013-07-13 23:13:12 +02:00
Richard Heck
34e3aa4ca2 Fix comment in configure.ac. This was causing a warning during
configuration.
2013-06-11 11:05:31 -04:00
Jean-Marc Lasgouttes
6b8d47a203 Add some more m4 macro files for gettext 2013-06-03 15:37:13 +02:00
Jean-Marc Lasgouttes
d7e2705228 Get rid of all traces of libintl.
This requires to re-add some tests in configure.ac.

Note that the code to generate a Makefile in po/ has been kept.
2013-05-30 22:10:01 +02:00
Jean-Marc Lasgouttes
3ef4db2ce4 Continue pre-spring cleaning of configure script
* build-type=profiling implies -fno-omit-frame-pointer in gcc. This allows sysprof to yield proper call trees
 * remove --enable-grpof option (the build type is enough)
 * remove --with-frontend option since we have only one frontend. Move stuff around and generally simplify the Qt detection code
 * do not check for bc anymore.
 * Update README.
2013-03-19 16:41:14 +01:00
Jean-Marc Lasgouttes
d9cbac2fd3 Small updates to the configure script
Remove some tests that are not needed. Put --enable and --with options together in help output.
2013-03-19 15:38:47 +01:00
Jean-Marc Lasgouttes
04a8db4af8 Get rid of LYX_ERROR in our configure file.
We use the standard AC_MSG_ERROR instead, which just stops the configure process where the problem happens.
2013-03-19 15:15:56 +01:00
Jean-Marc Lasgouttes
1d08d5232d Add a test to configure for minimal Qt version
* use AS_COMPARE_VERSION to check whether the Qt version is correct.
* upgrade minimal requirement for autoconf to version 2.60 (released in 2006!).
2013-03-19 12:59:38 +01:00
Jean-Marc Lasgouttes
81d863fd41 Fix bug #8537: LyX creates the environment variable LC_ALL
The current code is not able to unset an environment variable, only to set it to an empty value. This patch refactors a bit the Message class and uses a new EnvChanger helper class that allows to change temporarily an environment variable and that is able to unset variables if needed.

The patch also adds new functions hasEnv and unsetEnv in environment.cpp.

Open issues:
 * there may be systems where unsetenv is not available and putenv("name=") does not do the right thing;
 * unsetenv may lead to leaks on some platforms.
 * when using unsetenv, we may need to remove strings from the internal map that setEnv uses.
2013-02-12 12:14:06 +01:00
Scott Kostyshak
122d21184f Remove C Compiler information from -version output 2012-10-31 06:07:20 -04:00
Pavel Sanda
b589c86168 Change version identifier from svn to dev (already in branch). 2012-09-24 22:57:02 +02:00
Jean-Marc Lasgouttes
a86de5d3c0 Revert "Read list of translated languages from a file"
This reverts commit ed1515ef69.
2012-09-08 16:59:18 +02:00
Jean-Marc Lasgouttes
ed1515ef69 Read list of translated languages from a file
The previous scheme of loading all possible translations and checking whether the work
is a bit too much "brute force" and causes problems on Mac OS X (documents loaded
with the wrong language).

In the new scheme, autotools install a file lib/installed_translations that contains a list of installed languages (the .gmo files that got installed). This file is read
in Languages::readInstalledTranslations and allows to set the translated() property
of each language.
2012-07-19 00:21:28 +02:00
Georg Baum
26e5f1a8ec Use libmagic for file format detection if available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40789 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-21 20:29:44 +00:00
Jean-Marc Lasgouttes
2bf021ee73 Improve support for distributing desktop files and icons
* add proper INSTALL_POSIX conditional for makefiles
* move all the code to Makefile.am
* rename lyx.desktop to lyx.desptop.in and add proper tags to allow handling of program_suffix.
* add code to install desktop entry and icons under the proper name.

I did not touch scons and cmake, I hope it was not necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40531 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 13:11:03 +00:00
Enrico Forestieri
6781444835 Warn user that build will fail if bc is not installed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39945 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-23 15:35:36 +00:00
Julien Rioux
7ddf5f3ba1 We nowadays require python >=2.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39889 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-19 20:50:41 +00:00
Pavel Sanda
e265317839 Back to svn.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38565 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-01 23:05:21 +00:00
Pavel Sanda
107e105ecd Final release of LyX 2.0.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38559 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-29 00:31:54 +00:00
Pavel Sanda
4358b490c2 Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38331 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-10 22:01:06 +00:00
Pavel Sanda
fa5b453803 Prepare RC3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38329 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-10 21:59:37 +00:00
Pavel Sanda
c8844cad05 Go back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38107 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 22:12:27 +00:00
Pavel Sanda
61b246a8f7 Prepare rc2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38105 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 22:10:31 +00:00
Pavel Sanda
b4ee593da0 Forgot to go back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37889 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 16:09:55 +00:00
Pavel Sanda
6a86815e03 Go for rc1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37864 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-06 23:40:04 +00:00
Pavel Sanda
b3df6a8c3c Finish the flash beta 5 window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37769 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 14:14:11 +00:00
Pavel Sanda
6c5930d602 Make tarballs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37767 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 14:12:39 +00:00
Georg Baum
f792fe8037 fix bug #7288: add configure option for external mythes library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37585 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-10 20:31:07 +00:00
Pavel Sanda
0103a7757e Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37531 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 00:51:53 +00:00
Pavel Sanda
350425e66b Go for beta4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37528 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 00:45:50 +00:00
Jean-Marc Lasgouttes
98b48a4969 Add and document build types profinling and gprof. Some clean up of build_type code in configure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37323 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 13:49:49 +00:00
Pavel Sanda
28c7e370f5 Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37159 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 00:06:36 +00:00
Pavel Sanda
592e75456d Prepare beta3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37157 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-09 23:45:51 +00:00
Pavel Sanda
602d1cae7a Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36753 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:08:16 +00:00
Pavel Sanda
6312719fc8 Move to beta2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36751 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:06:20 +00:00
Pavel Sanda
89810fec6d Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36227 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 00:44:31 +00:00
Pavel Sanda
01d45dcc8a Moving towards beta1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36225 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 00:39:00 +00:00
Enrico Forestieri
4a2243135c Instead of specifically addressing glibc, use NULL as second argument
of realpath() when PATH_MAX is not defined in limits.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35466 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 17:53:40 +00:00
Pavel Sanda
014134cb99 Back to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35410 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 08:53:19 +00:00
Pavel Sanda
d441aeba3c Alpha6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35405 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 21:17:53 +00:00
Pavel Sanda
a56d9307cd Back to svn.
Cautious commit to see how git committing works

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34987 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-19 22:17:46 +00:00
Pavel Sanda
b12e7e2e1a Go for alpha5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34983 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-19 00:28:15 +00:00
Jean-Marc Lasgouttes
49b3a5d5f6 use tr1 for all gcc 4 versions (tested against gcc 4.0.1 on macos 10.5)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34741 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-01 20:58:26 +00:00
Peter Kümmel
effec36e9a TR1: no autotools on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34739 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-01 09:44:15 +00:00
Peter Kümmel
c09fcc890f TR1: also use tr1-regex when using msvc10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34732 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 13:50:40 +00:00
Jean-Marc Lasgouttes
af928c503d rework regexp processor magic ; make tr1 work with autotools
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34730 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 11:04:30 +00:00
Pavel Sanda
cc0e5b1fc1 Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34665 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-14 23:11:04 +00:00
Pavel Sanda
f27641e0cb Fix date
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34664 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-14 23:11:02 +00:00
Pavel Sanda
747f4ee2f7 Switch to alpha4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34662 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-14 23:03:43 +00:00
Pavel Sanda
e7b36ac0dd back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34398 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-11 10:02:48 +00:00
Pavel Sanda
abae9cd579 alpha 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34396 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-11 10:02:41 +00:00
Pavel Sanda
6967758fea Back to svn.
Trunk is free for commits again.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34137 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 22:29:35 +00:00
Pavel Sanda
4ce9ec8166 Toward alpha2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34135 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 22:03:04 +00:00
Jean-Marc Lasgouttes
14a96ce182 revert r34090 for now; I will come back later to this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 14:25:11 +00:00
Jean-Marc Lasgouttes
9b4576b50b Use the subdir-object option of automake so that the .o files are put in the
same directory as their source. The other visible gain is that the size of
src/Makefile is divided by 3 with automake >= 1.9.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34090 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 10:25:50 +00:00
Pavel Sanda
20d528aa98 Bring the old automake deps back and wait some more time.
For future reference, in this patch dep for autoconf 2.60 was missing.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159235.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 10:59:57 +00:00
Pavel Sanda
6b0683d8e9 Bump automake deps.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34068 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-06 15:25:12 +00:00
Pavel Sanda
cc951ca5b4 Lets make tarballs via lzma instead of bzip2 from now on.
Ratios for alpha1:
tgz   16M
bzip2 12M
lzma 8.7M

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34002 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 11:21:24 +00:00
Pavel Sanda
9325c53922 Come back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 14:31:32 +00:00
Pavel Sanda
96dc68983d Switch to alpha
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33747 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 12:59:54 +00:00
Enrico Forestieri
d472d8ddc0 Win95 is not supported by a long time now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-21 18:38:17 +00:00
Jean-Marc Lasgouttes
e4a483da32 Enable "silent rules" with automake 1.11. This leads to much nicer compilation
output. The build should still work with older automake versions.

The po/ directory does not have the nice rules, because I do not want to 
modify Makefile.in.in therein.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32241 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 14:18:25 +00:00
Jean-Marc Lasgouttes
d23a75a3dc Remove dead includes in FileName, since we do not use mkstemp anymore
Do not check for headers strings.h, io.h, process.h

Do not check for functions mkstemp, mktemp

Do not check for declarations of istreambug_iterator, iterator, mktemp

NOTE to cmake/scons maintainers: you should also get rid of the handling of those symbols.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31646 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-16 09:32:50 +00:00
Jean-Marc Lasgouttes
2fd6cc3cb0 I just noticed that trunk did not define HAVE_FORK anymore, because this was part of checking for ispell support... This commit reinstates it, and probably makes autosave faster.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31640 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 14:45:22 +00:00
Jean-Marc Lasgouttes
06a229faf8 remove traces of libtool and of obsolete autoconf macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31544 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 15:13:20 +00:00
Jean-Marc Lasgouttes
c9f1c6cf5f small cleanup, now that we require automake 1.8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31431 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 12:16:42 +00:00
Jean-Marc Lasgouttes
8fc9a3ee8f did not mean to commit this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30594 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 21:58:05 +00:00
Jean-Marc Lasgouttes
0e8b1dc29a define InsetText::insetAllowed properly and rely on it for inset insertion in Text::dispatchsvndiff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30593 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 21:56:22 +00:00
Jean-Marc Lasgouttes
c355edfb6d revert r30515: too many files there
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30516 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:30:56 +00:00
Jean-Marc Lasgouttes
834bfe5e21 fix a couple warnings after the number localization patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30515 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:28:46 +00:00
Enrico Forestieri
68d936250e Add some cygwin stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30327 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 23:28:48 +00:00
Abdelrazak Younes
e9be0fae66 Integrate mythes-1.1 into our source and remove support for aiksaurus. I have tested only the Cmake build system. Please test autotools and scons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29577 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 21:38:50 +00:00
Enrico Forestieri
b0936fac4c When performing a reverse DVI search and the tmpdir is a symlink, the
DVI viewer passes back the resolved path, such that the search fails,
as internally LyX uses the unresolved path.
This patch fixes this bug by using the new method FileName::realPath
which resolves a path by getting rid of any '.', '..', or symlink
path components.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29476 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 15:18:11 +00:00
Jean-Marc Lasgouttes
f227016f3d updates to --enable-monolithic-build code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 16:25:26 +00:00
Jean-Marc Lasgouttes
ac62d4ef94 get rid of old --enable-monolithic-foo options; document new option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29055 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 14:32:40 +00:00
Jean-Marc Lasgouttes
c0ad52551d introduce new --enable-monolithic-build configure option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28991 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 14:53:29 +00:00
Lars Gullik Bjønnes
6ac551c508 Capitalize first char in word.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28887 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 02:50:42 +00:00
Lars Gullik Bjønnes
c10c6dd742 Update date
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28886 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 02:38:34 +00:00
Jean-Marc Lasgouttes
a6d6c632fd Overhaul of the tex2lyx manpage
- make it autogenerated
- clean up the markup
- remove obsolete information
- try to update in general

Hopefully I did not break the markup...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28871 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 22:31:22 +00:00
Enrico Forestieri
12d1cb2076 Fixes for gcc4 on cygwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28842 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 22:35:55 +00:00
Jean-Marc Lasgouttes
76d0ead2b6 make the lyxclient man page autogenerated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28740 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 14:49:40 +00:00
Jürgen Spitzmüller
6bb9cf4918 * configure.ac:
- use ISO format for LYX_DATE
* GuiAbout.cpp:
	- make release date translatable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28172 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 13:31:05 +00:00
Jean-Marc Lasgouttes
f481bf03d4 we already have too many defines in config.h...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27577 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:22:48 +00:00
Jürgen Spitzmüller
df4814e026 Add support for MyThes (i.e., OpenOffice thesauri).
RegExp experts please have a look at the FIXMEs in GuiThesaurus.cpp.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27572 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 18:48:25 +00:00
André Pönitz
366a2e5d2e remove some libtool traces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27469 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:51:00 +00:00
André Pönitz
bb12808b20 remove libtool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:45:55 +00:00
José Matox
7f53badf44 move the release number to 2.0.0svn - codename Paris
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27462 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:00:15 +00:00
Jean-Marc Lasgouttes
7b9aa8b8ea change version number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27423 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:19:46 +00:00
José Matox
3c33a07768 Back to svn (1.6.1svn for now!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27336 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 20:11:10 +00:00
José Matox
06eb8303cc LyX 1.6.0 (at lest)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27334 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 19:52:19 +00:00
José Matox
a25b9babe0 Back to svn and in route to 1.6.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27176 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 20:32:16 +00:00
José Matox
8bbbb9e544 Prepare to release candidate 5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27174 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 20:07:51 +00:00
José Matox
1ad265406e Back to svn state
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27071 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 22:59:43 +00:00
José Matox
ef1211864e LyX 1.6.0 release candidate 4 (rc4)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27069 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 22:57:11 +00:00
Jean-Marc Lasgouttes
ca67cfffe0 do not check for X libraries if pkg-config succeeded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26829 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 14:10:09 +00:00
José Matox
06b1a3615c Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 13:03:03 +00:00
José Matox
fa782312a1 Preparing for rc3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26576 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 12:51:44 +00:00
José Matox
6e3f215e0f Back to svn in route to rc3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26251 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-29 09:16:55 +00:00
José Matox
0250ec6011 Preparing the path to rc2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26248 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-28 15:08:32 +00:00
Jean-Marc Lasgouttes
8d110547bb remove last traces of the --with-qmake option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26186 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 21:48:32 +00:00
Jean-Marc Lasgouttes
ac620455d1 let autoconf generate lyx.1; add information on LIBDIR there (not sure it is actully useful)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26123 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 21:18:49 +00:00
Jean-Marc Lasgouttes
5a5ec02829 Better compatibility with autoconf 2.62.
* config/*: update files to libtool 1.5.26 (latest 1.x version)
	* configure.ac: use AC_USE_SYSTEM_EXTENSIONS instead of AC_AIX and
	friends (available since 2.59c, which is now required); work around
	a bug with gettext.m4 and autoconf 2.62.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26117 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-11 23:27:08 +00:00
José Matox
4130b0b97d Back to svn in route to rc2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26058 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 11:01:16 +00:00
José Matox
daf32f1214 Move to pre-rc1 release mode.
The flag will be reset after rc1 release.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26021 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 18:14:48 +00:00
Enrico Forestieri
bc72d3fc58 Automate setting of LYX_DIR_XXx and LYX_USERDIR_XXx environment variable names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-26 10:45:38 +00:00
José Matox
f451ec999b Back to svn and in route to rc1 :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25572 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 10:03:14 +00:00
José Matox
e88bc302c2 Update ANNOUNCE and NEWS for beta 4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25565 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 12:25:12 +00:00
Jean-Marc Lasgouttes
96d9324f4d create the initial po/POTFILE.in at autogen.sh time; I hope this does
not require gnu make, otherwise we'll fix it later. 

With this patch, we are (again) using pristine gettext sources, and we do not 
hook into the m4 code. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25290 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 15:14:20 +00:00
Jean-Marc Lasgouttes
33258e1197 put the 0.16.1 code from gettext back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25208 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 13:50:05 +00:00
Jean-Marc Lasgouttes
60b34bddb8 set gettext version to 0.14.5 for now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25171 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 17:14:47 +00:00
Jean-Marc Lasgouttes
3b99db73e4 Remove our in tree gettext version and replace with a mechanism to import it.
* autogen.sh: use autopoint to poulate the gettext code; simplify.

	* po/Rules-lyx: move the LyX-specific code of the Makefile here.

	* configure.ac: add magic incantation telling autopoint to import 
	gettext 0.16.1. Generate config.h in toplevel directory to please 
	gettext.

	* src/tex2lyx/Makefile.am:
	* src/client/Messages.cpp: compile fix

	* remove all files that came from a gettext distribution.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:25:55 +00:00
José Matox
0e44a8816c Back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25107 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 20:32:58 +00:00
José Matox
5733c3a92f Preparing for beta 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25105 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 20:27:38 +00:00
José Matox
b0042da31b Back to 1.6.0svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25076 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 15:42:34 +00:00
José Matox
8536a2ae7f Going for 1.6.0 (beta 2)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25073 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 15:31:26 +00:00
José Matox
a87eb7776f Back to 1.6.0svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25019 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 16:01:46 +00:00
José Matox
ac28bcc93f Going for 1.6.0 (beta 1)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25017 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 15:56:49 +00:00
José Matox
5b6699bfe9 Back to svn and set course for beta1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24447 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 15:34:58 +00:00
José Matox
b407bba1e9 Clear the stage for lyx-1.6.0 (Alpha 2)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24445 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 15:31:59 +00:00