Commit Graph

245 Commits

Author SHA1 Message Date
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
José Matox
0e1ada7b72 Move version back to svn to prepare for a new alpha
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24072 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-31 12:39:48 +00:00
José Matox
37c3024b5a Update NEWS preparing for alpha1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23863 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 11:27:21 +00:00
Stefan Schimanski
dd714bfce8 * LinkBack support files, now in pure Objective-C (without any Objective-C++ which is not supported by automake)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22761 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 10:41:23 +00:00
André Pönitz
c6f8a4ade9 LYX_CXX_GLOBAL_CSTD is not really useful anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22113 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 21:49:13 +00:00
André Pönitz
72344cfbe6 delete controllers dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 21:38:06 +00:00
André Pönitz
e456b5e919 revert accidental commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 15:09:36 +00:00
André Pönitz
581b67b26e move ChangeLogs to the attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:12:55 +00:00
Enrico Forestieri
630c3cf83f Make sure that an empty po/POTFILES.in file exists at configure time,
otherwise no Makefile is generated in the po dir and compilation fails.
Once the empty file served the purpose, remove it in order to
immediately trigger its regeneration, which would only happen after
updating one of the Makefile.am files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20527 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 22:50:00 +00:00
Jean-Marc Lasgouttes
14e833e990 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20414 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 13:45:46 +00:00
Enrico Forestieri
92065820e5 Register math fonts with Qt 4.2 or higher. Using Qt 4.1, the old
xft-fonts package is still required. However, on *nix there seem
to be no way to tell fontconfig to prefer our fonts instead of
others matching the requirements, so, in case of conflict, the
fontconfig files should be manually adjusted, or some existing
font package used (note that the quality of the bakoma fonts is
better than that of the xft ones). There is no such problem on
Windows where our private fonts are always preferred over the
installed ones (and I hope the same holds true for Mac).

	* src/LyX.cpp
	(LyX::exec): don't call addFontResources() and restoreFontResources()
	anymore, as the frontend code will do the job.

	* src/frontends/qt4/GuiFontLoader.{cpp,h}
	(GuiFontLoader::GuiFontLoader): register math fonts with Qt.
	(GuiFontLoader::~GuiFontLoader): unregister math fonts.

	* src/support/os.h
	* src/support/os_unix.cpp
	* src/support/os_win32.cpp
	* src/support/os_cygwin.cpp:
	remove code dealing with fonts.

	* configure.ac: don't check for fontconfig headers anymore.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 16:22:05 +00:00
Enrico Forestieri
960af8f370 Register math fonts with fontconfig
* src/support/os_unix.cpp
	  (addFontResources): add the system fonts dir to the paths
	  scanned by fontconfig.
	  (restoreFontResources): remove the system fonts dir from the
	  fontconfig configuration.

	* configure.ac:
	  add check for the fontconfig devel headers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20034 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 13:33:21 +00:00
André Pönitz
d65a564adf remove special handling of Package.cpp[.in]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 21:29:56 +00:00
Enrico Forestieri
8518086ebe Fix quoting of tested strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19764 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 22:18:40 +00:00
André Pönitz
212f6d10df "proper" fix for utime use in filetools.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19711 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 23:16:49 +00:00
André Pönitz
6d5a52b8e3 implement --enable-monolithic-{client,frontend-qt4,controllers}. Careful with frontend-qt4, it takes ~490 MB to build (but 3 instead of 8 minutes...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19641 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-19 09:44:34 +00:00
André Pönitz
f21501446b make static default againt. use --disable-static --enable-dynamic to get the shiny new dynamic behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19635 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 15:38:43 +00:00
André Pönitz
8e988ba702 remove automake generated Makefiles when using qmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19614 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 19:07:05 +00:00
Enrico Forestieri
eb658ebabc Cosmetics (alignment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19599 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 05:15:06 +00:00
André Pönitz
d53be50ec1 add --with-qmake options to ./configure. using it overwrites the automake generated Makefiles with qmake generated ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19546 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 08:03:23 +00:00
Enrico Forestieri
60c73c05a3 Add version information to the lyx executable on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19537 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 01:34:26 +00:00
Jean-Marc Lasgouttes
131edb2214 more cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19535 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 00:46:11 +00:00
Jean-Marc Lasgouttes
682a70e89c more boost fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19532 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 23:48:39 +00:00
André Pönitz
1029d950a0 try to be nice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19529 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 22:43:50 +00:00
André Pönitz
77cfe019f2 remove special handling of version.cpp[.in]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19497 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 12:04:57 +00:00
André Pönitz
2caa98bee0 disable some tests for standard C++ features; add a line counting stream for lates output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19446 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 08:57:17 +00:00
André Pönitz
5d80a87ceb merge {mathed,insets,graphics}/Makefile.am into src/Makefile.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19424 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 10:32:36 +00:00
André Pönitz
12b09d5251 merge controllers/Makefile.am and controllers/tests/Makefile.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19423 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 09:36:14 +00:00
André Pönitz
15b104953a merge support/Makefile.am and support/tests/Makefile.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19422 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 09:15:35 +00:00
André Pönitz
d4069f6519 fix configure.ac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19420 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 08:30:24 +00:00
André Pönitz
67e61a3956 enable building of shared libraries. reduces final linktime. also combine boost stuff into a single library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19410 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 22:33:54 +00:00
Jean-Marc Lasgouttes
691a1be431 Remove cruft from config.h
* src/support/tempname.cpp: move code about HAVE_MKSTEMP here (only user)

	* src/pch.h:
	* src/Buffer.cpp:
	* configure.ac: remove all traces of utime.h and HAVE_UTIME

	* config/lyxinclude.m4: remove WITH_WARNING define (which be rendered useless in 
	a future commit from christian)

	* development/scons/SConstruct: try to update.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 09:04:41 +00:00
Jean-Marc Lasgouttes
483dba4588 Generate auto matically lyxrc.dist and Info.plist for LyX/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 20:54:16 +00:00
Uwe Stöhr
afa11e7b05 configure.ac: fix whitespace character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19311 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 00:00:19 +00:00
José Matox
f46f686d0d Move back to svn (the development for the next major release)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19209 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-25 13:16:00 +00:00
José Matox
a79ebaf570 LyX 1.5.0 is released
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-25 13:07:59 +00:00
Jürgen Spitzmüller
c3d9485c5a * configure.ac:
* development/cmake/config.h.cmake:
* development/scons/SConstruct:
	- fix casing of __FreeBSD__ macro, also check for __FreeBSD_kernel__
	  (fixes bug 3537)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-13 14:21:50 +00:00
Jean-Marc Lasgouttes
a7039727c3 * configure.ac: check earlier for -liconv and -lz, since Qt4 needs them;
put LIBICONV in LIBS.

	* src/Makefile.am: 
	* src/client/Makefile.am: update accordingly.

	* config/qt4.m4: do not try to run pkg-config tests when pkg-config 
	is not installed.

	* INSTALL.MacOSX: advise to use pkg-config; remove -lz from LDFLAGS;
	remove --with-frontend=qt4 from configure line; in the svn case, remove
	also --disable-stdlib-debug and --disable-concept-checks (and explain 
	why --disable-stdlib-debug may be needed).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19056 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 12:57:59 +00:00
Jean-Marc Lasgouttes
fb89ef3f5d do not test for libc; fixes compilation with freebsd
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18984 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 21:46:54 +00:00
José Matox
431669379e Back to svn (1.5.0 is near, hurray!).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18917 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 18:34:08 +00:00
José Matox
a54adad9bb 1.5.0 (Release Candidate 2)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18915 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 18:29:16 +00:00
José Matox
5cbe5cf5ad FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t support compiled in (Jean-Marc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18913 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 18:02:54 +00:00
José Matox
3cf2879745 Back to svn and preparing for rc2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18614 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 00:02:49 +00:00
José Matox
816b31ceff First release candidate for 1.5.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18612 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 00:00:28 +00:00
Jean-Marc Lasgouttes
4ef33baee9 reorder list of makefiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18475 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 13:03:09 +00:00
José Matox
c383ddec18 Back to svn, preparing for release candidate 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18394 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 23:30:16 +00:00
José Matox
100b77638c LyX-1.5.0 (beta 3)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18392 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 23:27:06 +00:00
Enrico Forestieri
1f3bec86bd Last(?) missing rename: version.C -> version.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 00:47:24 +00:00
Bo Peng
153c9b0461 Rename version.C.in to version.cpp.in, and Package.C.in to package.cpp.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 15:05:08 +00:00
Jean-Marc Lasgouttes
48b0e2561a allow automake >= 1.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18039 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 14:49:31 +00:00
Bo Peng
00e305c9d9 Rename .C ==> .cpp for files in src, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
Jean-Marc Lasgouttes
a5dcff8dd1 we do not need to use ustar anymore, now that the path nesting is reduced in development/MacOSX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17984 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 13:53:28 +00:00
Jean-Marc Lasgouttes
6977164d68 Use the automake framework to install the LyX/Mac stuff. Probably more
work to do.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17982 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 13:24:22 +00:00
José Matox
e7ab340c6e Back to svn version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17884 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 12:19:32 +00:00
José Matox
f96fa0134b Beta 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17882 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 12:17:30 +00:00
José Matox
5e9a71cc2b Update version back to 1.5.0svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17266 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-19 23:19:57 +00:00
José Matox
f7c4ddb574 Bump version to 1.5.0beta1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17264 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-19 23:04:21 +00:00
Enrico Forestieri
95f9c18fac Fix compatibility to autoconf 2.60
* configure.ac:
	Fix up expansion of ${prefix} in ${pkgdatadir}.

	* autogen.sh:
	Allow using autoconf 2.60 and 2.60a.

	* intl/Makefile.in:
	* po/Makefile.in.in:
	Add datarootdir definition.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16021 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 01:14:26 +00:00
Georg Baum
f966f2d1b7 define HAVE_MODE_T if the compiler supports the mode_t type.
This repairs lyx::support::chmod().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15995 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-20 09:12:09 +00:00
José Matox
51c0f33fd3 Back to business
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15942 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:34:04 +00:00
José Matox
afdfe21db4 LyX-1.5.0alpha1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15940 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:15:19 +00:00
Georg Baum
5ed606f9c5 Add a cache for converted image files. This needs to be enabled in the
preferences file with \use_converter_cache true. It is disabled by default,
and no GUI support for changing the preferences is yet implemented.

	* src/insets/insetgraphics.C
	(InsetGraphics::prepareFile): Use image file cache

	* src/insets/ExternalSupport.C
	(updateExternal): Use image file cache

	* src/exporter.C
	(Exporter::Export): Do not use image file cache

	* src/graphics/GraphicsCacheItem.C

	(CacheItem::Impl::imageConverted): Add the converted file to the
	image file cache
	(CacheItem::Impl::convertToDisplayFo): Use image file cache

	* src/converter.C
	(Converters::convert): Use image file cache if the caller allowed that

	* src/converter.h
	(Converters::convert): Adjust arguments

	* src/Makefile.am: Add new files

	* src/support/lyxlib.h
	(chmod): new function
	(copy): add mode argument

	* src/support/copy.C
	(chmod): new function
	(copy): implement mode argument

	* src/support/mkdir.C
	(lyx::support::mkdir): Add warning if permissions are ignored

	* src/lyxrc.[Ch]: Add new settings \converter_cache_maxage and
	\use_converter_cache

	* src/ConverterCache.[Ch]: New image file cache

	* src/importer.C
	(Importer::Import): Do nut use the image file cache

	* src/lyx_main.C
	(LyX::init): Initialize the image file cache

	* src/mover.[Ch]
	(Mover::do_copy): Add mode argument
	(SpecialisedMover::do_copy): ditto

	* configure.ac: Check for chmod

	* development/cmake/ConfigureChecks.cmake: ditto

	* development/cmake/config.h.cmake: ditto

	* development/scons/SConstruct: ditto

	* development/scons/scons_manifest.py: Add new files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15897 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:27:57 +00:00
Georg Baum
a116e04b8b Use wctype character classification functions if possible
* src/buffer.C
	(Buffer::insertStringAsLines): Uncomment isPrintable test

	* src/support/lstrings.C
	(compare_no_case): Use char_type and not int for the docstring version
	(ascii_tolower): Convert to a template
	(compare_ascii_no_case): Do not use a template anymore, because we
	need int for the string version and char_type for the docstring
	version as intermediate type
	(lowercase): Use towlower if possible
	(uppercase): Use towupper if possible

	* src/support/textutils.h
	(isLetterChar): Use iswalpha if possible
	(isPrintable): Use iswprint if possible
	(isPrintableNonspace): Use iswprint and iswspace if possible
	(isDigit): Use iswdigit if possible

	* src/paragraph.C
	(Paragraph::asString): remove obsolete FIXME
	(Paragraph::transformChar): add FIXME

	* configure.ac: Add definition of LIBC_WCTYPE_USES_UCS4 to config.h

	* development/cmake/config.h.cmake: ditto

	* development/scons/SConstruct: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15893 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 09:53:25 +00:00
Lars Gullik Bjønnes
8f261b1529 The Gtk removal from trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15488 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 18:05:16 +00:00
André Pönitz
a63cddf51c remove qt3 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:35:47 +00:00
Enrico Forestieri
d14d514840 No need to not use boost format on cygwin after the wchar_t fix
* configure.ac: avoid the cygwin test for setting USE_BOOST_FORMAT


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15228 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 21:33:45 +00:00
Enrico Forestieri
12a6d46370 Small fixes for STLPort compliance
* src/cursor.C: add using std::for_each;

	* src/graphics/GraphicsTypes.h: add #include <string>

	* src/graph.C: add using std::fill;

	* src/frontends/controllers/helper_funcs.h: add #include <algorithm>

	* src/bufferview_funcs.C: add using std::find;

	* src/lyx_main.C: add using std::for_each;

	* configure.ac: don't use boost format on cygwin


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15176 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-28 00:42:47 +00:00
Georg Baum
9080c44458 Use wchar_t as lyx::char_type if it is 32 bit wide.
No scons and cmake support! scons and cmake need to find out the size of
wchar_t and define this macro in config.h (example for 32bit wchar_t):

* The size of a `wchar_t', as computed by sizeof. */
#define SIZEOF_WCHAR_T 4

	* configure.ac: Test size of wchar_t

	* src/support/types.h: don't include docstring.h anymore.
	Use wchar_t as lyx::char_type if it is 32 bit wide.

	* src/support/docstring.h: Use lyx::char_type for defining docstring

	* src/metricsinfo.h: include support/docstring.h instead of
	support/types.h
	* src/lyxlex.h: ditto
	* src/frontends/font_metrics.h: ditto
	* src/frontends/qt4/qt_helpers.h: ditto
	* src/frontends/Painter.h: ditto
	* src/errorlist.h: ditto
	* src/support/lstrings.h: ditto
	* src/lyxfunc.h: ditto
	* src/LaTeX.h: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14991 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-13 21:13:49 +00:00
Enrico Forestieri
1435670790 Add defines needed on cygwin
* configure.ac: define BOOST_POSIX_API and BOOST_POSIX_PATH
	on cygwin (needed by boost 1.34).

	* development/scons/SConstruct: ditto.

	* development/cmake/config.h.cmake: ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14980 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-12 00:54:07 +00:00
Georg Baum
15be4fb8ef Fix byte order problems
* src/support/unicode.C
	(bytes_to_ucs4): make it work on big endian machines
	(bytes_to_ucs2): make it work on little endian machines
	(ucs2_to_ucs4): ditto
	(utf8_to_ucs4): Invoke iconv with explicit BE suffix
	(ucs2_to_ucs4): ditto
	(ucs4_to_ucs2): ditto
	(ucs4_to_utf8): ditto

	* configure.ac: Check for byte order

	* development/scons/SConstruct: Ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14890 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-04 14:43:25 +00:00
Jean-Marc Lasgouttes
e307029cde quote LYX_DATE properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14775 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 09:34:46 +00:00
Georg Baum
9e87592940 autotools support for including moc files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14715 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 23:10:31 +00:00
Jean-Marc Lasgouttes
f8a5da9048 * configure.ac: add LYX_DATE variable for release date.
* config/lyxinclude.m4: reset release date for development versions.

	* src/version.C.in: make lyx_release_date a placeholder.

	* src/lyx_main.C (parse_version): 
	* src/frontends/controllers/ControlAboutlyx.C (getVersion): change a 
	bit the display of LyX release date.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14712 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 21:54:55 +00:00
Jean-Marc Lasgouttes
6a84d8dc6a - avoid testing for fortran when setting up libtool
- test for iconv library



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14681 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 20:20:36 +00:00
Michael Schmitt
b27f6ab561 * configure.ac
* src/Makefile.am: rename lyx[-_]qt => lyx[-_]qt3


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14405 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 17:48:34 +00:00
Georg Baum
ca55190481 qt -> qt3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14380 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 15:45:15 +00:00
Michael Schmitt
131f9b0b62 * configure.ac: qt becomes qt3
* INSTALL: remove xforms description; update
        --with-frontend args
        * config/lyxinclude.m4: update possible values
        of --with-frontend


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14373 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 11:16:17 +00:00
Lars Gullik Bjønnes
22861453fe Remove the XForms frontend, update the autotools files, and fixup po.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14320 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 19:20:25 +00:00