lyx_mirror/development
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
..
cmake remove gcc warning 2006-11-30 20:03:28 +00:00
Code_rules Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
lyx3 major cleanup of this totally outdated file 2006-07-14 08:30:26 +00:00
lyxserver Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
MacOSX/LyX.app/Contents 2006-08-08 Bennett Helm <bennett.helm@fandm.edu> 2006-08-08 10:03:09 +00:00
misc some scripts I fouind usefule when working on LyX 2006-10-21 07:05:52 +00:00
scons Make libQtCore a support library like boost and implement encoding conversion 2006-12-12 20:19:46 +00:00
tools * development/tools/mkdoclinks.sh: 2006-08-13 10:21:06 +00:00
Win32 support for direct debug output 2006-11-27 22:56:15 +00:00
boostworkaround.txt a couple of useful files 2002-05-21 23:58:52 +00:00
ChangeLog Michael's installer patch 2006-03-13 10:55:56 +00:00
FORMAT missing bits of the new insets for \clearpage and \cleardoublepage 2006-11-25 15:57:27 +00:00
gettext.patch
lazy_lyxtext.txt Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
lyx.rpm.README * lyx.rpm.README: remove mentioning of qt3 2006-10-21 08:55:17 +00:00
lyx.spec.in * development/lyx.spec.in: remove not unneeded sourcing of /etc/profile 2006-05-13 13:09:46 +00:00
Makefile.am Distribute INSTALL.scons and development/scons with autotools 2006-06-08 16:36:38 +00:00
Seminar.txt Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
TodoPlan-1.3 remove references to Qt3/Gtk 2006-10-30 21:45:37 +00:00