Commit Graph

38 Commits

Author SHA1 Message Date
Bo Peng
98ebb77841 Rename .C => .cpp for files in src/frontends/controllers, step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17999 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 18:04:04 +00:00
André Pönitz
4b7da6b24e move lyxlex_pimpl.* into lyxlex.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17941 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 10:52:22 +00:00
Enrico Forestieri
fc3a2761de Log:
Move OS dependent code where it belongs.

	* src/lyx_cb.C:
	Remove unused include

	* src/support/os.h
	* src/support/os_unix.C
	* src/support/os_win32.C
	* src/support/os_cygwin.C:
	Move here the code from fontutils.[Ch]

	* src/support/os_cygwin.C
	(external_path, external_path_list): don't differentiate anymore
	on Qt/X11 or Qt/Win builds.

	* src/support/environment.C
	(setEnvPath): get rid of the #ifdef for cygwin.

	* src/lyx_main.C
	(LyX::exec): addFontResources and restoreFontResources are now
	in the os namespace.

	* src/support/Makefile.am
	* src/client/Makefile.am
	* src/tex2lyx/Makefile.am
	* development/scons/scons_manifest.py:
	Updated

	* src/support/fontutils.[Ch]:
	Removed



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16655 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-11 21:22:18 +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
Jean-Marc Lasgouttes
c46e1bdc9a Make sure to link lyx and tex2lyx against libiconv.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14814 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-22 15:43:48 +00:00
Bo Peng
a19e4ae888 Remove USE_COMPRESSION and force the use of zlib, by Bo Peng (ben.bob@gmail.com)
* src/lyxlex_pimpl.[hC], src/buffer.C, src/tex2lyx/Makefile.am: remove USE_COMPRESSION
	* configure.ac: check for zlib.h and libz.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13765 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 18:14:36 +00:00
Bo Peng
5cf8376ef7 Replace gzstream by boost::iostreams::gzip_(de)compressor: by Bo Peng (ben.bob@gmail.com)
* src/buffer.C, use filtering_ostream
	* src/lyxlex_pimpl.h, .C, use filtering_istreambuf
	* src/Makefile.am,  src/support/Makefile.am, src/tex2lyx/Makefile.am, use BOOST_IOSTREAMS
	* remove src/support/gzstream.h, .C
	* add needed boost files boost/boost/iostreams/device/file_descriptor.hpp,
     device/mapped_file.hpp, detail/system_failure.hpp, 
		 detail/config/windows_posix.hpp


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13706 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-21 06:42:17 +00:00
Jean-Marc Lasgouttes
01439a5334 fix compilation with automake 1.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10558 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-18 09:15:19 +00:00
Lars Gullik Bjønnes
2c3f9b1482 add tex2lyx.man to extra dist
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10331 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 16:23:53 +00:00
Lars Gullik Bjønnes
ef8e527612 drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10244 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:18:14 +00:00
Lars Gullik Bjønnes
a78c91bdbb make sure to dist pch.h and mark PCH_FILE as a built file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10173 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 23:42:23 +00:00
Lars Gullik Bjønnes
e5ae321dab the AM_* flags patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9963 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 16:56:28 +00:00
Angus Leeming
ac9feeaed5 Make -lz conditional on USE_COMPRESSION.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9583 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-03 15:38:04 +00:00
Georg Baum
5838351e31 fix tex2lyx linking for gcc 3.3 and older
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9582 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-03 15:19:46 +00:00
Angus Leeming
cf5c5ac9b0 It appears that tex2lyx no longer requires libz...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9578 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-02 18:39:59 +00:00
Lars Gullik Bjønnes
b6e6f87f71 ditch FileInfo -> use boost.filesystem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9547 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 10:42:26 +00:00
Angus Leeming
ba837dca09 Remove trailing slash from -Ifoo/ in the AM_CPPFLAGS rules in the various
Makefile.ams to overcome bug in the MinGW port of g++ 3.4.2.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9364 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 10:41:09 +00:00
Lars Gullik Bjønnes
7ef4c4070c rename boost libs, add some boost variables for automake, and use them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9343 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-05 17:10:58 +00:00
Lars Gullik Bjønnes
a4319c2b89 more PCH_FLAGS work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9341 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-04 14:50:25 +00:00
Lars Gullik Bjønnes
c73eea9bda use AM_CPPFLAGS instead of INCLUDES since that is deprecated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9338 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 19:11:38 +00:00
Lars Gullik Bjønnes
197c26de99 More pch work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8956 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-18 14:20:18 +00:00
Lars Gullik Bjønnes
7cda6341ca some more gettext work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8783 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-26 22:44:45 +00:00
André Pönitz
2e18bf051a Georg Baum's vspace change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8219 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 08:33:37 +00:00
Lars Gullik Bjønnes
a8966b650b fix parallel make
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7933 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 23:41:14 +00:00
Angus Leeming
50257b8690 Turn LyX into a singleton class. Kill the BufferView cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Jean-Marc Lasgouttes
e5a368b921 After all those hours of frustrating coding on tex2lyx, I decided that I would do easy things for a change. As a result, many new insets are supported, among which minipage; see the files text-*.tex for an idea of things that work now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7521 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-07 22:59:53 +00:00
Jean-Marc Lasgouttes
c544107e32 architectural changes to tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7494 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 10:26:10 +00:00
Angus Leeming
06683ddcdc Hide the fact that we re-generate those symbolic links brainlessly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7450 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 14:41:27 +00:00
Lars Gullik Bjønnes
a16c8a8759 zlib stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7405 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 23:40:08 +00:00
Angus Leeming
a1a329fd24 Remove cruft spotted by Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7388 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:32:15 +00:00
Angus Leeming
926b68c0aa Remove hard coding of command layouts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7374 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 00:39:35 +00:00
Angus Leeming
812b659d89 Enable tex2lyx to read the LyX textclass and to use this info a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 00:15:38 +00:00
André Pönitz
4d1bbfdd26 whitespace + Inset::haveParagraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6876 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 08:46:17 +00:00
André Pönitz
b580294d0b re-structure the beast
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6829 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-17 09:47:21 +00:00
Lars Gullik Bjønnes
99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
André Pönitz
84f1457439 finish reader/writer split
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6112 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-12 08:36:49 +00:00
André Pönitz
34e1b432e3 First shot at real code..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6091 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-11 12:37:27 +00:00
Angus Leeming
88a865b988 add a tex2lyx dir and empty Makefile.am to enable this thing to be happy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6086 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-10 19:22:29 +00:00