Commit Graph

163 Commits

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