Commit Graph

10 Commits

Author SHA1 Message Date
Enrico Forestieri
396cb8861a Fix bug 3410 by Georg and me
* src/support/tempname.C
	(tempName): Return FileName in utf8 encoding.

	* src/lyxsocket.[Ch]
	(LyXServerSocket::LyXServerSocket): Use FileName instead of string
	and set the env var LYXSOCKET in the filesystem encoding as this
	is what the client expects.

	* src/support/socktools.[Ch]
	(socktools::listen): Convert to FileName and use the filesystem
	encoding for the file names stored in the sockaddr_un struct.

	* src/client/client.C
	(socktools::connect): Convert to FileName and use the filesystem
	encoding for the file names stored in the sockaddr_un struct.
	(LyXDataSocket::LyXDataSocket, main): Convert to FileName.

	* src/lyx_main.C
	(LyX::exec): Use FileName instead of string in socket code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17749 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 17:38:11 +00:00
Georg Baum
8e6e970d7b Next step of true unicode filenames: Use support::FileName instead of
std::string at many places (not all yet).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16069 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 21:30:39 +00:00
Angus Leeming
9302177325 Test for things that MSVC doesn't have, rather than for things it does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9896 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-02 19:54:36 +00:00
Angus Leeming
201e5bdf70 Fully enable compilation of LyX 1.4.x on Windows with MinGW/MinSYS.
Break compilation with MSVC. See accompanying mail on the lyx-devel list.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9895 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-02 13:35:30 +00:00
Angus Leeming
f3024416ad Guard HAVE_UNISTD_H.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9512 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 15:38:14 +00:00
Angus Leeming
bb350c0cba Use HAVE_UNISTD_H.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9503 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-19 15:26:41 +00:00
Lars Gullik Bjønnes
b049f3997a Make it clearer where include files are comming from.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9197 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-07 13:22:51 +00:00
Jean-Marc Lasgouttes
dab52aa183 compile fixes for stlport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 14:30:33 +00:00
Angus Leeming
9a01e253a1 (Kayvan): compile fix for non-Linux platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7914 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 20:49:31 +00:00
Angus Leeming
45a8d5a93a Jo�o Assirati's lyxsocket patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7910 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 12:25:11 +00:00