Commit Graph

226 Commits

Author SHA1 Message Date
Abdelrazak Younes
4113872d60 We don't use boost::filesystem anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24909 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 12:07:29 +00:00
Jürgen Spitzmüller
21bd7671ec *** fix bug 2488 (make dynamic formats in menus translatable) ***
* po/lyx_pot.py:
	- new method formats_l10n that parses configure.py for file formats and shortcuts
* po/Makefile.in.in:
* development/scons/SConstruct:
	- call formats_l10n on po update

* src/frontends/qt4/Menus.cpp:
	- handle translated formats

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24833 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 09:33:53 +00:00
Bo Peng
92c79cacde Scons: fix env_toc's dependency on lyx2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24735 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-12 16:36:12 +00:00
Bo Peng
a095d0d785 Remove remaining embedding bits and minizip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 14:33:16 +00:00
Uwe Stöhr
337341c37f SCons and Make: register the Italian clipart files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24435 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 00:32:03 +00:00
Uwe Stöhr
cff5b102ff new Japanese Intro.lyx by Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24434 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 00:29:18 +00:00
Joost Verburg
26763681bb new logo graphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 12:50:54 +00:00
Bo Peng
d74c60b860 fix scons by linking boost.cpp after boost libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:17:37 +00:00
André Pönitz
0b5fc35e1c remove unused defines QT_CLEAN_NAMESPACE and QT_GENUINE_STR
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23868 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 15:09:39 +00:00
Bo Peng
5f18e5ea81 Fix scons/InseLayout again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23196 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-24 16:28:46 +00:00
Bo Peng
3c07aff8ef fix scons for InsetLayout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23174 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-24 05:51:07 +00:00
Uwe Stöhr
82fba225a5 the missing things of r22635
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22638 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-20 21:44:49 +00:00
Uwe Stöhr
de20d9ae9a UserGuide.lyx: fix bibliographies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 16:52:08 +00:00
Enrico Forestieri
430a2c1adb Restore scons and autotools support for moc files in src/support
taken out in r22101.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22105 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:37:40 +00:00
Enrico Forestieri
d73f28eec1 Revert qprocess code. Revisions reverted: 22026, 22030, 22044, 22048,
22077, 22078, 22079, 22080, 22081.

Sorry Peter, but this was breaking too many things, see discussions
on lyx-devel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:25:53 +00:00
Uwe Stöhr
b3b243a6ca French docs translation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-11 21:49:58 +00:00
Bo Peng
0e2ec55add Fix scons (moc src/support/*.h)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22048 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-09 19:59:39 +00:00
Uwe Stöhr
b618c03d90 scons/SConstruct: disable assertions for stable releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21955 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-04 21:05:41 +00:00
André Pönitz
f5dffff3d6 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21790 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 23:49:48 +00:00
Uwe Stöhr
1ffa302666 scons/SConstruct: remove non-existent path to make "update_po" work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21156 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 21:33:10 +00:00
Bernhard Roider
1a77c867a2 CmdDef.cpp/h: A class that manages command definitions. The definitions are
by default read from lib/commands/default.def 
              A .def file allows to define a command with
              \define "Name" "lfun"
              where Name is the name of the new command and lfun is the code
              to be executed.
              \def_file "FileName"
              allows to include another .def file.
              The implementation of CmdDef is similar to KeyMap, i.e. there is 
              one instance created in the LyX.cpp that reads the .def file, holds 
              a list containing all definitions, and supplies access methods.


LFUN_CALL:    The new lfun is used to execute a command definition, e.g.
              call Name

If a toolbar item has the associated action "call Name" then the image 
lib/images/commands/Name.png is used for the button.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 23:27:03 +00:00
Bo Peng
a5031475be Scons: fix the handling of layout module files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21042 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 18:42:07 +00:00
Bo Peng
c67b21683d Fix scons for Andre's Resource.cpp change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21041 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 18:32:09 +00:00
André Pönitz
dd6ae83a73 revert 21014
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 19:40:20 +00:00
André Pönitz
88dd04083f adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21015 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 19:17:23 +00:00
Uwe Stöhr
ded6db3e0b update SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 23:17:32 +00:00
Uwe Stöhr
42f0d49b95 Thanks to Ignacio, we have a new Spanish UserGuide!
(Will commit this to branch too the next days.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 13:51:30 +00:00
Bo Peng
c20795773e Fix previous commit. I really do not understand why windows FileName() can not have backslash (assertion at line 49 of support/FileName.cpp)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20094 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 05:05:28 +00:00
Bo Peng
74175c764b Forgot this: windows backslash needs special treatment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 04:18:12 +00:00
Bo Peng
0abd895de0 Cleanup msvs_project, make sure lyx can start in place in debug mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 04:04:04 +00:00
Bo Peng
1c7ed8b641 fix scons again for GUI cleanup, remove unused variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20084 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 22:10:10 +00:00
Bo Peng
5a1116133a Scons update for r19893, tex2lyx is still broken
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 21:18:02 +00:00
Bo Peng
a398211e03 fix scons for the removal of Package.cpp.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 02:46:09 +00:00
André Pönitz
d65a564adf remove special handling of Package.cpp[.in]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 21:29:56 +00:00
Bo Peng
cb25c9980e scons: fix a bug in installer target, introduced by the cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19837 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 16:29:04 +00:00
Bo Peng
b1e84ddec3 Scons: fix tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 15:13:45 +00:00
Bo Peng
db3439ce77 Scons cleanup 7: remove saved C compiler, remove blank lines and obsolete comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19823 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 04:00:14 +00:00
Bo Peng
b9cbb02639 Scons cleanup 6: build minizip/iowin32.c on all sytems becuase it is surrounded by #ifdef WIN32, some other small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 03:40:42 +00:00
Bo Peng
8786658cca Scons cleanup 5: config.h typo, do not have to make builddir by myself
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19821 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 03:30:58 +00:00
Bo Peng
d44f8f84ad Scons cleanup 4: stop forcing the use of c++ compiler because of the .C ==> .cpp conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19820 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 03:28:08 +00:00
Bo Peng
640125e0ed Scons cleanup 3: stop judging build_xxx for scons, let scons do the job.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19819 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 03:11:34 +00:00
Bo Peng
6f70bfb453 Scons cleanup 2: remove rebuild option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19818 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 02:53:04 +00:00
Bo Peng
9a9019956f Scons cleanup 1: use BUIlDDIR/src instead of BUILDDIR/common
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19817 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 02:49:14 +00:00
Bo Peng
04e741ac94 allow the use of snapshot version os scons, improve efficiency
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19745 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 03:03:54 +00:00
Bo Peng
b38d22d2e7 SCons: msvc does not need this /TP option any more after we rename .C => .cpp. Also fix a CXX_GLOBAL_CSTD bug (not quite sure)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19693 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 16:46:05 +00:00
Bo Peng
52fa9e584e Embedding feature patch 1: add zipFiles and unzipToDir to support
* src/support/lyxlib.h: add makedir(), used by unzipToDir
	* src/support/filetools.[h|cpp]: add zipFiles() and unzipToDir()
	* src/support/mkdir.cpp: add makedir() and mymkdir(char*).
	* src/support/minizip: add zlib-1.2.3/contrib/minizip files to lyx svn
	* src/support/minizip/iowin32.h
	* src/support/minizip/ioapi.c
	* src/support/minizip/zip.c
	* src/support/minizip/unzip.c
	* src/support/minizip/crypt.h
	* src/support/minizip/ioapi.h
	* src/support/minizip/zip.h
	* src/support/minizip/unzip.h
	* src/support/minizip/iowin32.c
	* development/scons/scons_manifest.py: adjust scons
	* development/scons/SConstruct


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19692 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 14:48:47 +00:00
Bo Peng
9f77f2a39a fix scons, telling scons how to moc files is still needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19541 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 05:02:50 +00:00
Bo Peng
60d63985b7 fix scons for Andre's LYX_DATE changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19508 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 15:46:33 +00:00
André Pönitz
77cfe019f2 remove special handling of version.cpp[.in]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19497 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 12:04:57 +00:00
André Pönitz
ccf0557869 std::count is now assumed to exist, remove the check for it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19496 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 07:25:40 +00:00