Commit Graph

180 Commits

Author SHA1 Message Date
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
Bo Peng
cd4ef66755 fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19491 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 03:19:57 +00:00
André Pönitz
d9af2acb53 make scons cope with renamed ui_*.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19426 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 11:24:17 +00:00
Uwe Stöhr
5564407c2c UserGuide.lyx updates: - Finish the descriptions of the bibliography and the document settings dialog
- add a BibTeX bibliography

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19415 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 01:20:33 +00:00
André Pönitz
67e61a3956 enable building of shared libraries. reduces final linktime. also combine boost stuff into a single library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19410 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 22:33:54 +00:00
Jean-Marc Lasgouttes
691a1be431 Remove cruft from config.h
* src/support/tempname.cpp: move code about HAVE_MKSTEMP here (only user)

	* src/pch.h:
	* src/Buffer.cpp:
	* configure.ac: remove all traces of utime.h and HAVE_UTIME

	* config/lyxinclude.m4: remove WITH_WARNING define (which be rendered useless in 
	a future commit from christian)

	* development/scons/SConstruct: try to update.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 09:04:41 +00:00
Bo Peng
491a2dbfc4 Remind scons users to check config.log when configure fails
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19340 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 16:03:17 +00:00
Bo Peng
b05462ce3b SCons: allow linking SConstruct to lyx top source directory because I am tired of typing development/scons/SConstrct again and again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-30 15:46:19 +00:00
Jürgen Spitzmüller
c3d9485c5a * configure.ac:
* development/cmake/config.h.cmake:
* development/scons/SConstruct:
	- fix casing of __FreeBSD__ macro, also check for __FreeBSD_kernel__
	  (fixes bug 3537)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-13 14:21:50 +00:00
Bo Peng
08f31f3e64 Scons: check for windows.h under msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18981 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 05:06:44 +00:00
Bo Peng
2f415fd505 scons: fix last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18978 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 20:20:20 +00:00
Bo Peng
6df40c7ebe scons: embed lyx.exe.manifest to lyx.exe, no longer use qt manifest.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18977 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 20:16:11 +00:00
José Matox
2e5099b230 Update scons to the latest FreeBSD patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18914 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 18:17:29 +00:00
Bo Peng
6c5ff3bf46 scons part of bug 3527
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18895 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:28:27 +00:00
Jürgen Spitzmüller
91c6d03678 Fix bug 2520: Make InsetExternal translateable
* po/lyx_pot.py:
	- new function external_l10n: parse external_templates and extract the relevant parts for translation.
* development/scons/SConstruct:
* po/Makefile.in.in:
	- use external_l10n

* src/insets/InsetExternal.cpp:
* src/frontends/qt4/QExternal.cpp: 
	- make eveything translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 07:50:13 +00:00
Bo Peng
9907aaf295 fix installer manifest
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18832 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 19:26:53 +00:00
Bo Peng
cdc5ab6a83 add installer files to scons_manifest so that installers can depends on installer files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18831 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 18:44:42 +00:00
Uwe Stöhr
bd380926a0 - add Farsi splash.lyx
- reordering SCons entries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18685 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 21:31:39 +00:00
Bo Peng
3dc11ec08e Scons: check HAVE_DECL_MKSTEMP to fix a configuration error with gcc4 on Linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 01:34:33 +00:00
Uwe Stöhr
64e0eee0dd fix SCons (I forgot to add the new folder two days ago)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18551 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 23:24:18 +00:00
Enrico Forestieri
1f3bec86bd Last(?) missing rename: version.C -> version.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 00:47:24 +00:00
Bo Peng
ab5186f2cc Update scons_manifest.py (separate .inc from layout directory) to make generated po files in the same order as what autotools generates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 22:04:21 +00:00
Bo Peng
23d20f6935 Scons: fine-tune of scons_manifest.py, scons update_manifest yields less wrong Extra Missing information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18127 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 19:10:08 +00:00
Bo Peng
ce4effb200 Scons: remove depend.pyc from scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18125 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 17:15:11 +00:00
Michael Schmitt
6c1388bb48 * development/scons/SConstruct:
* po/Makevar: handle messages that are to be translated into
	the buffer's language


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18124 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 17:00:45 +00:00
Bo Peng
0d80d0fdcc Scons: scons updated scons_manifest.py file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18122 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 16:45:22 +00:00
Bo Peng
aa3b2eccf5 Scons: new update_manifest target.
When you run 'scons update_manifest', it tells you which files are missing
and which files are not in the source tree. It also generates a 
scons_manifest.py.new file with all the missing files added to 
XXX_extra_files. It will *not* change other sections of existing
manifest.py



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18121 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 16:19:49 +00:00
Michael Schmitt
2aec22b662 * development/scons/SConstruct: fix POTFILES.in generation
* development/scons/scons_manifest.py: add src_support_extra_files
	needed for POTFILES.in generation; add a few empty lines


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18112 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 11:33:53 +00:00
Bo Peng
d42a8d3736 Scons: check mkfifo and define HAVE_MKFIFO. This will fix lyxserver
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18078 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:58:29 +00:00
Bo Peng
a6e1dc19a3 Scons: update_po target now updates po/POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18075 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:33:15 +00:00
Bo Peng
153c9b0461 Rename version.C.in to version.cpp.in, and Package.C.in to package.cpp.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 15:05:08 +00:00
Bo Peng
2af333100c fix scons for Andre's recent renames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18041 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 16:01:03 +00:00
Bo Peng
138b23fac8 Rename files in src/support, step one.
src/support/package.h                              src/support/Package.h    Package
src/support/package.C.in                           src/support/Package.C.in  Package
src/support/path.h                                 src/support/Path.h    Path
src/support/fs_extras.h                            src/support/fs_extras.h NOCLASSES
src/support/RandomAccessList.h                     src/support/RandomAccessList.h    RandomAccessList
src/support/lyxmanip.h                             src/support/lyxmanip.h NOCLASSES
src/support/rename.C                               src/support/rename.cpp  NOCLASSES
src/support/abort.C                                src/support/abort.cpp  NOCLASSES
src/support/lyxlib.h                               src/support/lyxlib.h NOCLASSES
src/support/ExceptionMessage.h                     src/support/ExceptionMessage.h    ExceptionMessage
src/support/copy.C                                 src/support/copy.cpp  NOCLASSES
src/support/limited_stack.h                        src/support/limited_stack.h    limited_stack
src/support/filefilterlist.C                       src/support/FileFilterList.cpp    ['FileFilterList', 'Filter']
src/support/cow_ptr.h                              src/support/cow_ptr.h    cow_ptr
src/support/os_unix.C                              src/support/os_unix.cpp  NOCLASSES
src/support/socktools.h                            src/support/socktools.h NOCLASSES
src/support/forkedcontr.h                          src/support/ForkedcallsController.h    ForkedcallsController
src/support/os.h                                   src/support/os.h NOCLASSES
src/support/FileMonitor.h                          src/support/FileMonitor.h    FileMonitor
src/support/copied_ptr.h                           src/support/copied_ptr.h    copied_ptr
src/support/translator.h                           src/support/Translator.h    Translator
src/support/filetools.C                            src/support/filetools.cpp  NOCLASSES
src/support/unlink.C                               src/support/unlink.cpp  NOCLASSES
src/support/os_win32.C                             src/support/os_win32.cpp    GetFolderPath
src/support/lstrings.C                             src/support/lstrings.cpp  NOCLASSES
src/support/qstring_helpers.C                      src/support/qstring_helpers.cpp  NOCLASSES
src/support/getcwd.C                               src/support/getcwd.cpp  NOCLASSES
src/support/systemcall.C                           src/support/Systemcall.cpp    Systemcall
src/support/lyxalgo.h                              src/support/lyxalgo.h NOCLASSES
src/support/filefilterlist.h                       src/support/FileFilterList.h    ['FileFilterList', 'Filter']
src/support/unicode.C                              src/support/unicode.cpp    IconvProcessor
src/support/userinfo.C                             src/support/userinfo.cpp  NOCLASSES
src/support/lyxtime.C                              src/support/lyxtime.cpp  NOCLASSES
src/support/kill.C                                 src/support/kill.cpp  NOCLASSES
src/support/docstring.C                            src/support/docstring.cpp    to_local8bit_failure
src/support/os_cygwin.C                            src/support/os_cygwin.cpp  NOCLASSES
src/support/lyxsum.C                               src/support/lyxsum.cpp  NOCLASSES
src/support/environment.C                          src/support/environment.cpp  NOCLASSES
src/support/filetools.h                            src/support/filetools.h NOCLASSES
src/support/textutils.C                            src/support/textutils.cpp  NOCLASSES
src/support/mkdir.C                                src/support/mkdir.cpp  NOCLASSES
src/support/forkedcall.C                           src/support/Forkedcall.cpp    ['ForkedProcess', 'Forkedcall']
src/support/tempname.C                             src/support/tempname.cpp  NOCLASSES
src/support/os_win32.h                             src/support/os_win32.h    GetFolderPath
src/support/types.h                                src/support/types.h NOCLASSES
src/support/lstrings.h                             src/support/lstrings.h NOCLASSES
src/support/forkedcallqueue.C                      src/support/ForkedCallQueue.cpp    ForkedCallQueue
src/support/qstring_helpers.h                      src/support/qstring_helpers.h NOCLASSES
src/support/convert.C                              src/support/convert.cpp  NOCLASSES
src/support/filename.C                             src/support/FileName.cpp    ['FileName', 'DocFileName']
src/support/tests/convert.C                        src/support/tests/convert.cpp  NOCLASSES
src/support/tests/filetools.C                      src/support/tests/filetools.cpp  NOCLASSES
src/support/tests/lstrings.C                       src/support/tests/lstrings.cpp  NOCLASSES
src/support/tests/boost.C                          src/support/tests/boost.cpp  NOCLASSES
src/support/docstream.C                            src/support/docstream.cpp    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/std_istream.h                          src/support/std_istream.h NOCLASSES
src/support/systemcall.h                           src/support/Systemcall.h    Systemcall
src/support/chdir.C                                src/support/chdir.cpp  NOCLASSES
src/support/std_ostream.h                          src/support/std_ostream.h NOCLASSES
src/support/unicode.h                              src/support/unicode.h    IconvProcessor
src/support/path.C                                 src/support/Path.cpp    Path
src/support/fs_extras.C                            src/support/fs_extras.cpp  NOCLASSES
src/support/userinfo.h                             src/support/userinfo.h NOCLASSES
src/support/lyxtime.h                              src/support/lyxtime.h NOCLASSES
src/support/docstring.h                            src/support/docstring.h    to_local8bit_failure
src/support/debugstream.h                          src/support/debugstream.h    basic_debugstream
src/support/environment.h                          src/support/environment.h NOCLASSES
src/support/textutils.h                            src/support/textutils.h NOCLASSES
src/support/forkedcall.h                           src/support/Forkedcall.h    ['ForkedProcess', 'Forkedcall']
src/support/socktools.C                            src/support/socktools.cpp  NOCLASSES
src/support/forkedcallqueue.h                      src/support/ForkedCallQueue.h    ForkedCallQueue
src/support/forkedcontr.C                          src/support/ForkedcallsController.cpp    ForkedcallsController
src/support/os.C                                   src/support/os.cpp  NOCLASSES
src/support/convert.h                              src/support/convert.h NOCLASSES
src/support/filename.h                             src/support/FileName.h    ['FileName', 'DocFileName']
src/support/docstream.h                            src/support/docstream.h    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/FileMonitor.C                          src/support/FileMonitor.cpp    FileMonitor



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:12:52 +00:00
Bo Peng
00e305c9d9 Rename .C ==> .cpp for files in src, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
Bo Peng
6fdb8bf85a Rename .C ==> .cpp for files in src/frontends/qt4, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18014 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 03:53:02 +00:00
Bo Peng
ee89110c24 make scons temporarily usable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17955 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 18:44:21 +00:00
Bo Peng
bd0998b138 Scons: prepare for .C ==> .cpp conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17934 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 04:58:16 +00:00
Bo Peng
a01f198769 Scons: build installer only in release mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17870 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:17:45 +00:00
Uwe Stöhr
13fa44d3e2 Add math fonts to SVN
(please check if the Makefile entry is complete, I couldn't test this here)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 11:46:26 +00:00
Michael Schmitt
7ac394d9a6 fix obvious typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17661 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 13:57:04 +00:00
Bo Peng
f6b9509ea5 Scons update_po target: Windows/cmd.exe is unhappy about single quotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17521 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-23 14:27:27 +00:00
Bo Peng
90f39c2dca Scons: finalize update_po target.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17511 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 20:04:12 +00:00
Bo Peng
b990c21294 Scons: update_po should now work (missing dependency though)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17510 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 18:26:58 +00:00
Bo Peng
5e94f81cbf Scons: update_po target, move processing functions to po/lyx_pot.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17509 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 15:39:44 +00:00
Bo Peng
f7ca768468 Scons: update_po target part five: update po files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17504 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 04:42:34 +00:00
Bo Peng
b92cef16ee Scons: update_po target part four: lyx.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17503 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 03:15:58 +00:00
Bo Peng
1385059003 Scons: update_po target part three: ui_l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17502 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 02:51:51 +00:00