Commit Graph

454 Commits

Author SHA1 Message Date
Bo Peng
d213175b85 Scons: add support for QtCore in support (and tex2lyx and client)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16261 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 04:55:41 +00:00
Georg Baum
fe5c73915e Make libQtCore a support library like boost and implement encoding conversion
from/to the local 8bit encoding with it.
Only the autotools build system is updated, scons and cmake users need to
add qt4 cpp flags when compiling libsupport, and link libsupport against
libQtCore.

	* src/frontends/qt4/qt_helpers.[Ch]
	(toqstr, qchar_to_ucs4, ucs4_to_qchar, ucs4_to_qstring,
	 qstring_to_ucs4, fromqstr): Move these qstring conversion functions
	from here ...

	* src/support/qstring_helpers.[Ch] ... to these new files

	* src/support/docstring.[Ch]
	(from_local8bit): new conversion function from local 8bit encoding
	to ucs4
	(to_local8bit): new conversion function from ucs4 to local 8bit
	encoding to ucs4
	(to_local8bit_failure): exception that is thrown by to_local8bit if
	the argument cannot be converted to the local encoding

	* src/support/filename.C
	(FileName::toFilesystemEncoding): implement with the help of QFile

	* src/support/Makefile.am: Add new files, qt4 cpp flags and link
	against libQtCore

	* src/client/client.C: Convert commandline input from local encoding
	to ucs4. Convert stuff that is sent to to the server to utf8,
	because LyX interprets it as utf8 on the other end of the pipe.

	* src/lyx_main.C
	(LyX::exec): convert commandline input from local encoding to utf8
	(LyX::init): ditto
	(LyX::easyParse): ditto

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

	* config/qt4.m4: Define new variables QT4_CORE_INCLUDES,
	QT4_CORE_LDFLAGS and QT4_CORE_LIB


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16257 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 20:19:46 +00:00
Peter Kümmel
7cf79bc298 remove gcc warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16123 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-30 20:03:28 +00:00
Peter Kümmel
30611541cb restore old /W3 warning level
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16118 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 23:51:22 +00:00
Peter Kümmel
a73732e0ec switch to default /W4 for msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16116 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 22:36:43 +00:00
Joost Verburg
0cf508e2d3 support for direct debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16083 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 22:56:15 +00:00
Joost Verburg
64ec49d001 GPL Ghostscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16077 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 16:23:44 +00:00
Joost Verburg
fcaaf7757b document flag for PDF
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16076 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 16:02:50 +00:00
Georg Baum
82b0e98d54 missing bits of the new insets for \clearpage and \cleardoublepage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16038 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:57:27 +00:00
Peter Kümmel
5524f5f857 update to cmake 2.4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16028 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 15:10:16 +00:00
Georg Baum
2b6f6ed84f Add UpdateFlags.h to the build systems.
Add licence info to UpdateFlags.h.
Note to the author of UpdateFlags.h: Please fix the author information,
I don't know who wrote this file because not everybody used his own account.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16012 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-22 20:13:02 +00:00
Bo Peng
59f15f2d94 Scons: set uic parameter -tr lyx::qt_ properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16000 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-20 17:26:26 +00:00
Peter Kümmel
3edb7ce86a define HAVE_MODE_T always with HAVE_CHMOD, don't test until it is necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15993 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 19:58:48 +00:00
Bo Peng
c8429d4bbc Detect mode_t for safe use of chmod, and for scons/msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15985 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 13:58:39 +00:00
Bo Peng
eb939a9b76 Scons: adopt Georg's solution for tex2lyx/gettext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15963 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-18 03:04:42 +00:00
Georg Baum
bb8c9253e4 Add button for default layout to the toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15946 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 08:17:48 +00:00
Peter Kümmel
7860112e71 disable chmod usage with msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15917 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 16:11:59 +00:00
Peter Kümmel
b0b3338abd add option to disable the console on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15916 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 10:06:07 +00:00
Peter Kümmel
b912982bdc chmod fixes for msvc
* development/cmake/config.h.cmake:
      there is no mode_t 
  * src/support/copy.C
      chmod is declared in io.h
      


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15913 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 23:22:31 +00:00
Georg Baum
2db7521b70 Add support for the esint package
* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): handle esint and wasysym

	* src/mathed/MathMacroTable.[Ch]
	(requires_): New member: tell the feature this macro requires
	(MacroTable::insert): take new requires arg

	* src/mathed/MathMacroTemplate.C
	(MathMacroTemplate::asMacroData): adjust to change above

	* src/mathed/MathSupport.C
	(fontinfos): add esint10 font

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): AMS_ON -> package_on

	* src/mathed/MathMacroTable.h

	* src/mathed/MathFactory.C
	(initSymbols): read and store requires field for symbols

	* src/mathed/InsetMathSymbol.C
	(InsetMathSymbol::metrics): handle esint
	(InsetMathSymbol::takesLimits): ditto

	* src/buffer.C
	(LYX_FORMAT): update format
	(Buffer::validate): handle esint, AMS_ON -> package_on

	* src/bufferparams.C:
	(AMSTranslator): Rename to PackageTranslator
	(BufferParams::readToken): Read \use_esint
	(BufferParams::writeFile): Write \use_esint

	* src/frontends/qt4/QDocumentDialog.C: handle esint

	* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes

	* src/frontends/qt4/GuiFontLoader.C
	(symbol_fonts: Add esint10 font
	(symbolFamily): handle esint10 font
	(isChosenFont): Add comment

	* src/frontends/controllers/ControlMath.C
	(latex_varsz): Add new integral symbols

	* src/support/fontutils.C
	(win_fonts_truetype): Add esint10 font

	* src/bufferparams.h
	(enum AMS): rename to enum Package
	(use_esint): new parameter

	* src/lyxfont.[Ch]: Add esint font

	* lib/symbols: Add new integral symbols

	* lib/lyx2lyx/LyX.py
	(format_relation): Update format

	* lib/lyx2lyx/lyx_1_5.py: handle new format

	* lib/chkconfig.ltx: Test esint package

	* lib/images/math/oiintop.xpm
	* lib/images/math/sqintop.xpm
	* lib/images/math/sqint.xpm
	* lib/images/math/ointctrclockwiseop.xpm
	* lib/images/math/ointctrclockwise.xpm
	* lib/images/math/iiintop.xpm
	* lib/images/math/iintop.xpm
	* lib/images/math/sqiint.xpm
	* lib/images/math/iiint.xpm
	* lib/images/math/ointclockwiseop.xpm
	* lib/images/math/oiint.xpm
	* lib/images/math/dotsintop.xpm
	* lib/images/math/sqiintop.xpm
	* lib/images/math/ointclockwise.xpm
	* lib/images/math/iiiintop.xpm
	* lib/images/math/dotsint.xpm
	* lib/images/math/iiiint.xpm
	* lib/images/math/iint.xpm: new icons

	* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package

	* lib/doc/UserGuide.lyx: Add short documentation of integral symbols

	* lib/Makefile.am: Add new files

	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +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
Georg Baum
6008c8176e remove obsolete file lyxrc.example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15832 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 17:40:44 +00:00
Peter Kümmel
d3b31c4ae0 don't use dummy QT_QTMAIN_INCLUDE_DIR
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15806 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-08 12:26:52 +00:00
Peter Kümmel
a582b4f954 update to cmake's cvs version, fixes missing qtmain error on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15805 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-08 12:25:00 +00:00
Michael Schmitt
c56671cec7 * src/frontends/qt4/qt_helpers.C:
* src/frontends/qt4/qt_helpers.h:
	* src/frontends/qt4/ui/Makefile.am:
	* Status.15x:
	* development/scons/qt4.py: fix localization for qt4 strings


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15786 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 18:09:55 +00:00
Joost Verburg
dbb980e1dd move compressor setting to lyx.nsi because it should not apply to scripts that include the settings file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15776 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 22:15:04 +00:00
Joost Verburg
129a520bd9 * Custom NSIS plug-ins will be included in the dependency packages
* New Console plug-in with support for restricted users
* Warning message if no PDF viewer is installed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15773 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 21:51:43 +00:00
Jürgen Spitzmüller
b0d4524252 * lib/images/nomencl-insert.xpm:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
	- a (provisional) nomencl-insert icon

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 09:08:28 +00:00
Joost Verburg
e096a22e28 fix for installation by restricted users
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15762 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 22:37:44 +00:00
Joost Verburg
1cddf71701 i18n improvements:
* More space on installer dialogs
* Shortened a few texts
* Set default LyX language to English if the OS language is not supported
* Corrected text on viewer download dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15760 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 20:52:02 +00:00
Joost Verburg
a3b98687fa store temporary PDF files outside the LyX tmpbuf to prevent file locking problems when LyX is closed while Adobe Reader is still open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15742 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 23:06:14 +00:00
Georg Baum
8cc9180ba8 Resolve link problems of tex2lyx and client by removing the extra gettext.h
headers and converting the gettext stuff in tex2lyx and client to use
docstring.
The interface must be defined by src/gettext.h anyway, so better use that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15740 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 18:12:57 +00:00
Georg Baum
e35725d5c0 New nomenclature inset from Ugras
* src/LyXAction.C
	(LyXAction::init): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT

	* src/insets/insetbase.C
	(build_translator): ditto

	* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): Add nomencl

	* src/insets/insetnomencl.[Ch]: new insets InsetNomencl and
	InsetPrintNomencl

	* src/insets/insetbase.h: Add NOMENCL_CODE and NOMENCL_PRINT_CODE

	* src/insets/insetcommandparams.C
	(InsetCommandParams::findInfo): Add nomenclature and printnomenclature
	(InsetCommandParams::getCommand): Extend end of command protection to
	cover commands with only optional arguments like printnomenclature

	* src/insets/insetert.C
	(InsetERT::getStatus): disable LFUN_NOMENCL_INSERT and
	LFUN_NOMENCL_PRINT

	* src/insets/Makefile.am: Add new files
	* src/frontends/qt4/Makefile.dialogs: ditto
	* src/frontends/qt4/Makefile.am: ditto

	* src/factory.C
	(createInset): Handle InsetNomencl and InsetPrintNomencl
	(readInset): ditto

	* src/buffer.C
	(LYX_FORMAT): increase

	* src/lyxfunc.C
	(LyXFunc::dispatch): Handle nomenclature

	* src/LaTeX.C
	(LaTeX::deleteFilesOnError): Delete .nls file
	(LaTeX::run): Run makeindex for nomenclature
	(LaTeX::runMakeIndex): handle nomenclature options
	(LaTeX::deplog): Recognize nomenclature file

	* src/frontends/qt4/QNomenclDialog.[Ch]: new
	* src/frontends/qt4/QNomencl.[Ch]: ditto
	* src/frontends/qt4/ui/QNomenclUi.ui: ditto

	* src/frontends/qt4/Dialogs.C
	(Dialogs::build): handle nomenclature dialog

	* src/text3.C
	(LyXText::dispatch): Handle LFUN_NOMENCL_INSERT and
	LFUN_NOMENCL_PRINT
	(LyXText::getStatus): Ditto

	* src/lfuns.h
	(kb_action): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT

	* lib/lyx2lyx/LyX.py
	(format_relation): Update 1.5 format range

	* lib/lyx2lyx/lyx_1_5.py
	(revert_nomenclature): New
	(revert_printnomenclature): ditto

	* lib/chkconfig.ltx: Test for nomencl package

	* lib/doc/LaTeXConfig.lyx.in: Add nomencl package

	* lib/doc/Extended.lyx: Add documentation for nomencl

	* lib/ui/stdtoolbars.ui
	(Toolbar "extra" "Extra"): Add nomencl-insert

	* lib/ui/classic.ui: Add nomencl-insert and nomencl-print
	* lib/ui/stdmenus.ui: ditto

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

	* development/FORMAT: Describe new format


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 17:55:36 +00:00
Joost Verburg
b61b9cc6a4 LyX 1.5 Windows installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15734 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 14:28:11 +00:00
Jürgen Spitzmüller
4015732fb1 * lib/images/*.xpm:
- improved icons for change tracking
- new icon for note-next

* development/scons/scons_manifest.py: 
* lib/Makefile.am:
- install new icons

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15729 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 11:06:43 +00:00
Michael Schmitt
0c7610b467 * lib/images/*.xpm: add icons for the "review" toolbar
* development/scons/scons_manifest.py: install new icons


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15719 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 22:03:11 +00:00
Bo Peng
ac1dcef5d0 Scons: getext/unicode support for tex2lyx (ignore src/tex2lyx/gettext.* and use src/gettext.* and src/messages.*)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15716 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 18:49:56 +00:00
Peter Kümmel
94792c0821 add MinSizeRel as project which only uses STL and Boost pchs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15674 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 16:11:28 +00:00
Peter Kümmel
734ea8819e enable precompile headers only for the Debug and Release build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15663 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 14:32:17 +00:00
Georg Baum
6af710094e Add beamer layout file and examople, fresh from the beamer CVS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15647 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 20:56:42 +00:00
Michael Schmitt
4292f4e9e9 remove references to Qt3/Gtk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15630 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 21:45:37 +00:00
Abdelrazak Younes
73ed0b5203 * Painter.h:
* Painter: new ctor that sets drawing_enabled_ to true.
  * setDrawingEnabled(), isDrawingEnabled(): new methods.

* QLPainter.C: only draw if drawing is enabled.

* nullpainter.h: deleted.

* rawpainter.C::paintPar(): only draw if we are inside the Paragraph.

* InsetTabular::draw(): use new Painter method instead of a NullPainter.

* InsetMathNest::drawSelection(): ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15613 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 10:09:59 +00:00
Abdelrazak Younes
ee319c6e83 * guiapi.[Ch]: deleted.
Angus L. explanation: Lars introduced it years ago when he got exited by the idea 
of dll-importing the frontend library, but the idea never came to anything 
concrete. The file can always be resurrected later on; it's meant to be a C-
language wrapper to our C++ frontend library calls.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15611 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 08:13:02 +00:00
Abdelrazak Younes
54bdecdb48 remove paperHeight() and paperWidth() in Painter and inherited classes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15589 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-28 09:36:22 +00:00
Peter Kümmel
213c04d0a5 disable checked iterators for msvc release builds to get maximum speed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15568 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 18:38:46 +00:00
Peter Kümmel
a932a994f0 switch ENABLE_ASSERTIONS macro with _DEBUG macro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15567 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 17:11:34 +00:00
Peter Kümmel
4f8939dd3d cmake: precompiled headers
- enable by default, could be disabled with -Ddisable-pch
    - use different pch files for Debug/Release/...
    - use only one config_pch.C 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15549 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 17:57:04 +00:00
Bo Peng
706f828230 Scons: mocing GuiApplication.C and GuiImplementation.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15518 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 19:47:40 +00:00
Peter Kümmel
cd0b5b6ca9 cmake precompile:
- only precompile boost and stl headers
- for qt4 also precompile QtGui and QtGui
- don't use one global precomiled header file
  to get out of the dependency hell 





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15517 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 19:04:29 +00:00