Commit Graph

226 Commits

Author SHA1 Message Date
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
Georg Baum
8caaf338c3 * INSTALL: Change required python version from 1.5.2 to 2.3
* INSTALL.scons: ditto
	* README: ditto
	* configure.ac: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14117 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-15 08:44:28 +00:00
Jean-Marc Lasgouttes
794247eddd cleanup zlib checking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14100 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-14 14:07:36 +00:00
Abdelrazak Younes
995da7bafc Qt4 compilation speedup patch by Bo Peng and me.
* configure.ac: removed frontends/qt4/moc compilation.
* frontends/qt4/: moc files (*_moc.cpp) are now included at the end of relevant source file (*.C)
* SConscript: adapted to "moc included in .C file" change.
* frontends/qt4/Makefile.am:  adapted to "moc included in .C file" change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13860 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 08:51:12 +00:00
Jean-Marc Lasgouttes
b6e30400f5 New auto-open feature from Bo Peng (with help from Jean-Marc and Enrico)
* src/lyx_main.C (init): call Formats::setAutoOpen.
	
	* src/lyxrc.C (read): do not reset editor/viewer values of "none".

	* src/format.C (fixCommand): helper function: tweak command depending
	of the availability of OS viewer/editor.
	(setAutoOpen): run fixCommand over all the formats.

	* src/support/Makefile.am: under win32, link against shlwapi.dll.
	
	* src/support/os_*.C (canAutoOpenFile, autoOpenFile): new
	functions, used	to let the OS handle viewers and editors it knows about.

	* configure.ac: improve check for shlwapi.

	* lib/configure.py: remove check for native windows viewers.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13855 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-17 22:13:33 +00:00
Georg Baum
479abc6efd Remove remaining OS/2 bits:
* src/lyx_cb.C
	(newFile): Remove OS/2 code

	* src/lyxserver.C
	(LyXComm::startPipe): ditto
	(LyXComm::endPipe): ditto
	(LyXComm::send): ditto

	* src/support/rename.C
	(lyx::support::rename): ditto

	* src/support/filetools.C
	(fileOpenSearch): ditto
	(createTmpDir): ditto
	(createLyXTmpDir): ditto
	(makeAbsPath): ditto

	* src/support/getcwd.C
	(l_getcwd): ditto

	* src/support/forkedcall.C
	(Forkedcall::generateChild): ditto

	* src/support/chdir.C
	(lyx::support::chdir): ditto

	* src/support/os.C: ditto
	* configure.ac: ditto
	* development/scons/scons_utils.py: ditto
	* development/Win32/config.h: ditto

	* lyx.man: Remove OS/2 related stuff
	* lib/doc/Customization.lyx: ditto
	* lib/doc/fr_Customization.lyx: ditto
	* lib/doc/it_Customization.lyx: ditto

	* src/support/os2_defines.h: Remove
	* src/support/os2_errortable.h: ditto
	* src/support/os_os2.C: ditto
	* INSTALL.OS2: ditto
	* README.OS2: ditto
	* development/OS2/quick_fix.patch: ditto
	* development/OS2/gnugettext.diff: ditto
	* development/OS2: ditto

	* src/support/Makefile.am: Remove deleted files
	* development/Makefile.am: Remove deleted OS2 directory


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13848 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-14 17:00:53 +00:00
Jean-Marc Lasgouttes
64b8bcd2ff * config/qt.m4 (QT_DO_IT_ALL): add test for Qt-without-X11-under-cygwin.
* config/Makefile.am:
	* config/cygwin.m4: remove special cygwin tests

	* configure.ac: check for shlwapi and gdi32 libraries (needed in
	windows); do not check special cygwin features.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13841 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-12 15:26:05 +00:00
Bo Peng
a19e4ae888 Remove USE_COMPRESSION and force the use of zlib, by Bo Peng (ben.bob@gmail.com)
* src/lyxlex_pimpl.[hC], src/buffer.C, src/tex2lyx/Makefile.am: remove USE_COMPRESSION
	* configure.ac: check for zlib.h and libz.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13765 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 18:14:36 +00:00
Jean-Marc Lasgouttes
18d72887a6 * src/support/package.C.in (get_build_dirs): Look at Makefile
instead of lyxrc.defaults. Simplify the check for
          chkconfig.ltx.

	* configure.ac: do not run lib/configure.py

	* lib/doc/Makefile.am: LaTeXConfig.lyx is not generated anymore.

	* lib/configure.py (removeExtraFiles): remove.

	* lib/Makefile.am: no files are generated in there.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 16:44:43 +00:00
Lars Gullik Bjønnes
eefc9ad640 * Rename src/frontends/qt2 to src/frontends/qt3,
update users of the dir accordingly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13731 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 13:48:24 +00:00
Lars Gullik Bjønnes
0b6deecd95 * Add the iostreams and range libs to our copy of boost
* Make sure that no source files in boost are executable
	* Make sure that all boost files are marked with eol-style native
	* configure.ac: setup for new iostreams boost binary lib
	* config/common.am: add boost iostreams variable


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13705 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 20:44:05 +00:00
José Matox
69664082da * configure.ac
* lib/lyx2lyx/lyx2lyx_version.py.in
        * lib/lyx2lyx/Makefile.am

	Add lyx2lyx_version.py to distribution.

        * lib/lyx2lyx/LyX.py
	Use lyx version as the same version of lyx2lyx.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13626 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 16:18:31 +00:00
Lars Gullik Bjønnes
c56802982d make sure that BOOST_ENABLE_ASSERT_HANDLER is always set
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13560 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 22:50:44 +00:00
Georg Baum
73462989ab fix lib/configure.py invocation for builddir != srcdir
(create the lib directorty if it does not exist before running the script)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13417 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-18 16:14:31 +00:00
Georg Baum
d15a35a909 Get rid of lib/configure.m4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13347 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-12 10:51:11 +00:00
Lars Gullik Bjønnes
21ea1e0547 setup Makefile for test in controllers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13307 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-06 22:33:56 +00:00
Lars Gullik Bjønnes
0c21c114d4 setup the buildsystem for building qt4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13295 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:29:08 +00:00
Lars Gullik Bjønnes
58a9a54b23 move to 1.5.0cvs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13282 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-02 00:02:01 +00:00
Jean-Marc Lasgouttes
0328dd98ca fix behaviour of --with-version-suffix (bug 2237)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13219 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 20:29:52 +00:00
Lars Gullik Bjønnes
27b4472dfd Change to 'svn' as the development tag
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13210 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-11 19:49:00 +00:00