lyx_mirror/config
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
..
ChangeLog remove unused QtXml library 2006-03-10 21:10:07 +00:00
common.am * Add the iostreams and range libs to our copy of boost 2006-04-20 20:44:05 +00:00
config.guess update to newer versions 2005-12-18 14:22:07 +00:00
config.rpath add config.rpath 2004-05-25 17:17:14 +00:00
config.sub update to newer versions 2005-12-18 14:22:07 +00:00
depcomp update to newer versions 2005-12-18 14:22:07 +00:00
install-sh update to newer versions 2005-12-18 14:22:07 +00:00
libtool.m4 update m4 files and remove warnings 2004-05-25 14:42:10 +00:00
ltmain.sh autogen.sh: remove --force-missing on automake 2006-01-26 00:01:00 +00:00
lyxinclude25x.m4 update m4 files and remove warnings 2004-05-25 14:42:10 +00:00
lyxinclude.m4 --with-frontend=qt4 is not required anymore 2006-12-07 16:17:40 +00:00
Makefile.am add missing file 2006-12-08 18:43:59 +00:00
missing update to newer versions 2005-12-18 14:22:07 +00:00
mkinstalldirs update to newer versions 2005-12-18 14:22:07 +00:00
pkg.m4 Add pkg.m4 to config/ and autogen.sh. 2006-08-06 20:45:31 +00:00
py-compile add python support to configure 2005-07-15 16:38:59 +00:00
qt4.m4 Make libQtCore a support library like boost and implement encoding conversion 2006-12-12 20:19:46 +00:00
qt.m4 remove qt3 frontend 2006-10-21 08:35:47 +00:00
spell.m4 Ensure that the grammar used to invoke the spellchecker is consistent. 2005-09-08 09:20:16 +00:00