Commit Graph

105 Commits

Author SHA1 Message Date
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
Lars Gullik Bjønnes
58beb9d22d back to cvs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10798 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-29 16:47:23 +00:00
Lars Gullik Bjønnes
1dbc25d421 pre4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10796 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-29 16:06:42 +00:00
Jean-Marc Lasgouttes
ecb7956a77 the gtk frontend does not rely on xforms anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10774 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-24 16:21:53 +00:00
Georg Baum
544ef3b0dc fix version suffix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10690 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-30 13:46:09 +00:00
Georg Baum
1a0a8cdea2 require automake 1.9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10685 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-28 10:47:00 +00:00
Lars Gullik Bjønnes
2f5de1ff97 back to cvs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10684 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-27 18:31:27 +00:00
Lars Gullik Bjønnes
d7bf15921d pre3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10682 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-23 19:00:36 +00:00
Lars Gullik Bjønnes
a5b1022b9f Changes to make distcheck work, slight cleanup of autoconf/make initialization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10680 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-23 18:16:18 +00:00
Jean-Marc Lasgouttes
7b890a1ecc fixing linking on solaris
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10650 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-09 13:42:23 +00:00
Georg Baum
a62fc51c2f check for xft if using the gtk frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10646 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-07 14:08:46 +00:00
Jean-Marc Lasgouttes
f53511993b fix again packaging on osx and windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10557 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-18 09:11:19 +00:00
Jean-Marc Lasgouttes
a7714398d9 fix PACKAGE handling for MacOS and Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10550 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 14:45:12 +00:00
Lars Gullik Bjønnes
f6d476d183 back to cvs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10534 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-10 13:33:03 +00:00
Lars Gullik Bjønnes
9117f717c7 pre2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10532 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-10 13:22:34 +00:00
Angus Leeming
19e1292d73 Check for NewAPIs.h. Use it to enable runtime support for Windows95 in Boost.Filesystem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10499 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-30 09:44:37 +00:00
Angus Leeming
6ce7fa27f1 Portable hard-coded paths on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10496 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-29 13:26:41 +00:00
Georg Baum
fdd388d4b7 error out in configure if the qt library was not found and the qt frontend was selected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10441 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-14 07:53:05 +00:00
Jean-Marc Lasgouttes
5c4d937af8 do not require gawk (bug 1980)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10440 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-13 13:53:42 +00:00
Lars Gullik Bjønnes
03f3596d12 back to 1.4.0cvs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10330 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 15:49:57 +00:00
Lars Gullik Bjønnes
7a23f39975 small lyxerr fix, version to 1.4.0pre1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10328 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 15:12:15 +00:00
Lars Gullik Bjønnes
ef8e527612 drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10244 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:18:14 +00:00