Commit Graph

316 Commits

Author SHA1 Message Date
Abdelrazak Younes
b486b53f8f Patch from Enrico:
Avoids the crash when quitting LyX on Cygwin/qt4


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14860 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-01 13:49:03 +00:00
Jean-Marc Lasgouttes
fa2a87de9b Qt4 autoconf cleanup.
* config/qt4.m4 
	(QT4_FIND_PATH, QT_FIND_UIC4, QT_FIND_MOC4): remove,
	AC_PATH_PROGS does this very well. 
	(QT4_DO_PKG_CONFIG): add $QT4DIR/lib to pkg-config search path;
	do not run QT4_DO_MANUAL_CONFIG on failure. 
	(QT4_DO_MANUAL_CONFIG): remove some code.
	(QT4_DO_IT_ALL): move code to handle --with-foo here; move
	code to search for moc/uic here; call QT4_DO_PKG_CONFIG first,
	and QT4_DO_MANUAL_CONFIG on failure.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14829 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-24 09:33:14 +00:00
Abdelrazak Younes
3942d5eac1 get rid of QT3_SUPPORT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14774 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 09:11:14 +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
8d3ef3a4ca LYX_CHECK_ERRORS: exit with status 1 if there is an error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14680 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 20:14:41 +00:00
Lars Gullik Bjønnes
c30c9a9e47 Add pkg.m4 to config/ and autogen.sh.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14543 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-06 20:45:31 +00:00
Lars Gullik Bjønnes
96313cdcb5 Make QT4 config use pgk-config if available
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14520 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-30 21:33:59 +00:00
Georg Baum
104a09f014 Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for
setting CPPFLAGS)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14516 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-30 14:56:01 +00:00
Lars Gullik Bjønnes
d291109ec3 Let gcc 4.x be handled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14515 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-30 13:58:10 +00:00
Lars Gullik Bjønnes
38cca58f71 Remove old outdated pkg.m4, newer one is automatically picked up by autogen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14509 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-29 10:41:00 +00:00
Lars Gullik Bjønnes
fdb9b989f7 Remove some old files belonging to the old (now removed) gnome frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14508 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-29 10:34:49 +00:00
Lars Gullik Bjønnes
110a4f1117 split the qt.m4 in two, separate file for qt4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14491 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-22 11:23:41 +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
Michael Schmitt
0be696bff0 * remove various xforms relicts, in particular:
* src/frontends/controllers/ControlPreamble.[Ch]:
        remove files, since this controller was only used
        by the xforms frontend


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14352 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-06 19:28:59 +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
Lars Gullik Bjønnes
d2b2aa8124 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14277 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 14:37:33 +00:00
Lars Gullik Bjønnes
96a7b5d0af Do not use the qt "keyword" emit. Make qt not emit it at all. (pun intended)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14269 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 11:57:17 +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
bee53b6c8d Scons-build system moves to development/scons, from Bo Peng (ben.bob@gmail.com)
* remove SConstruct config/scons_utils.py config/qt4.py
	* add development/scons/qt4.py SConscript SConstruct scons_utils.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13829 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-10 21:53:31 +00:00
Bo Peng
26666044d8 Scons: various fixes from Enrico (aspell, aikasurus etc), and correct handling of version.C.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13822 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-10 05:34:20 +00:00
Bo Peng
97e53edb81 Make scons work on mingw/windows, from Bo Peng (ben.bob@gmail.com)
* SConstruct: force the use of g++ under windows, and use the right libraries 
	* config/qt4.py: check QtGui4 etc as well.
	* src/SConscript: link to the right libraries
	* src/tex2lyx/SConscript: use the right libraries
	* src/frontends/qt3/SConscript: manually moc .h files under windows


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13814 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-09 13:01:45 +00:00
Bo Peng
4b5fae61d3 Some fixes to the scons-based building sytem, from Bo Peng (ben.bob@gmail.com)
* SConstruct: add extra_inc_path1, fix mingw logged spawn, try to handle QtCore4 etc
	* src/SConscript: remove lyx_base library
	* src/frontends/qt4/SConscript: remove some extra files 
	* Move scons_utils.py and qt4.py to config directory


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13813 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-08 21:03:01 +00:00
Edwin Leuven
f92abd5576 replaced last convenience class in iconpallete
browsebox is not build anymore and commented out in bulletsmodule

bullets are disabled in documentdialog: wasn't working before either

remove qt3support!



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13809 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-08 11:44:37 +00:00
Jean-Marc Lasgouttes
5352cfa1b5 * config/lyxinclude.m4 (LYX_USE_PACKAGING): do not set program_suffix for
windows packaging.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13758 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 12:55:04 +00:00
Georg Baum
d732249e2b Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
--with-version-suffix):

	* src/lyx_cb.C
	(reconfigure): get the configure command from package()

	* src/lyx_main.C
	(showFileError): ditto

	* src/support/package.[Ch]
	(configure_command): new, return the configure command

	* src/support/package.C.in
	(with_version_suffix): new, return the version suffix argument
	of the configure command

	* src/support/Makefile.am
	(package.C.in): substitute %PROGRAM_SUFFIX% in package.C.in

	* config/lyxinclude.m4: substitute program_suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13710 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-22 11:58:02 +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
Abdelrazak Younes
d6aad3f95c add -D_CYGWIN_WIN whenever cygwin without x is selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13686 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-15 16:19:15 +00:00
Abdelrazak Younes
948ecfe7e3 * get rid of the --export-all-symbol in order to speed-up linking time
* put two TODO in comments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13679 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-14 15:10:16 +00:00
Georg Baum
be102d1c13 Remove -mms-bitfields compiler option on windows, since all qt
releases that we support with the gcc toolchain on windows are
	compiled without it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13419 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-18 17:36:41 +00:00
Georg Baum
3626d1ce04 Remove qt2 support in the following files:
* src/frontends/qt2/qt_helpers.C
	(makeFontName):

	* src/frontends/qt2/QWorkArea.C
	(QWorkArea::haveSelection):
	(QWorkArea::haveSelection):
	(QWorkArea::getClipboard):

	* src/frontends/qt2/panelstack.C
	(PanelStack::PanelStack):

	* src/frontends/qt4/qt_helpers.C
	(makeFontName):

	* README: remove notice about qt2

	* config/qt.m4: make 3.0 the minimum required qt version


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13414 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 19:02:43 +00:00
Georg Baum
128987a737 remove unused QtXml library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13338 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 21:10:07 +00:00
Georg Baum
0605e01f44 search also for libQtCore4 etc, not only libQtCore etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13304 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-06 17:41:49 +00:00
Georg Baum
9a1d905662 add missing include directory for qt 4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13303 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-06 14:37:03 +00:00
Lars Gullik Bjønnes
6d3939b030 compile with exceptions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13302 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-06 06:44:16 +00:00
Lars Gullik Bjønnes
3f103ffaa7 remove support for older gccs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13296 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:42:41 +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
Jean-Marc Lasgouttes
33381332fc move and update preference file in LyX.app bundle; do not append version suffix to binaries for osx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13231 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 21:54:04 +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
4a7ab830bc Delete all .cvsignore files from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Lars Gullik Bjønnes
1e62f8f399 autogen.sh: remove --force-missing on automake
config/ltmain.sh: add patch for darwin


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10777 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-26 00:01:00 +00:00
Lars Gullik Bjønnes
ceaf87107a update to newer version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10691 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-30 13:55:46 +00:00
Jean-Marc Lasgouttes
f1b11ec96f avoid uic core dump
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10686 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-28 15:59:22 +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
Lars Gullik Bjønnes
03f945448f update to newer versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10665 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-18 14:22:07 +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
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
Jean-Marc Lasgouttes
90ff250486 do not enable stdlib-debug for prereleases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10481 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 09:08:41 +00:00
Angus Leeming
251f834995 Ensure that the grammar used to invoke the spellchecker is consistent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10425 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-08 09:20:16 +00:00
Lars Gullik Bjønnes
d4548a95d6 add dist-bzip2 to common.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10332 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 17:10:34 +00:00