Commit Graph

801 Commits

Author SHA1 Message Date
Peter Kümmel
b0cb0eaa25 cmake: overwrite allinone files on each cmake run
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17579 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 20:03:31 +00:00
Peter Kümmel
ff0633599b cmake: force new build type
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17577 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 18:50:41 +00:00
Peter Kümmel
6ca10b4750 also speed up compiling touched files under Linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17576 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 18:03:56 +00:00
Peter Kümmel
e11abd6c2e disable requirement for 2.4.4 version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17562 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 06:55:16 +00:00
Bo Peng
07cc619a4c Present to Abdel: Syntax highlighting for LaTeX Log. (I know I should have been reading windows installers :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17561 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 04:25:49 +00:00
Peter Kümmel
745c9e91fd cmake:
- add flags for debug/release/profile
 - also build qt4 as one file with gcc
 
 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17558 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-25 22:03:59 +00:00
Peter Kümmel
3a74b10d91 also improve build times when working on some files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17530 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-24 11:33:03 +00:00
Peter Kümmel
65870c3168 final compilation: wheel was already invented :(
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17529 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-23 23:56:27 +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
5653a3d744 Add comments to installer code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17517 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-23 02:03:42 +00:00
Peter Kümmel
e0b6c1865e msvc: don't #define max and min
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17516 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 23:42:21 +00:00
Peter Kümmel
e5a34fb503 fix c&p error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17515 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 23:22:10 +00:00
Peter Kümmel
13f6fb1712 also merge qt files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17513 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 22:58:52 +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
Bo Peng
8ab80df229 Scons: update_po target part two: qt4_l10n and layouts_l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17501 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 02:37:26 +00:00
Peter Kümmel
a016215367 some more small changes to speed up the compilation time by merged files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17498 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-21 21:22:10 +00:00
Bo Peng
2593c4b206 Scons: update_po target, part one: language_l10n.pot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17496 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-21 03:23:54 +00:00
Peter Kümmel
531e4b726d cmake build system:
Add "merge" option which minimizes the number of files to build.
   only the qt4 and boost files will not merged into one file.
   This really speeds up the compilation.
   Usage:
     cmake ../trunk/development/cmake -Dmerge=1



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17495 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-20 22:13:21 +00:00
Bo Peng
c3fbd9e0d1 Read and add comments to installer files...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17488 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-20 04:10:23 +00:00
Uwe Stöhr
459d99ca17 EmbeddedObjects: Spanish update prepared for Ignacio to translate
(The new files will be translated too and then renamed.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17473 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 15:42:30 +00:00
Bo Peng
673da6c01c SCons: build TOC.lyx during installation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17468 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 06:03:28 +00:00
Uwe Stöhr
21b9d3a466 EmbeddedObjects.lyx:
- new section about external material
- two hints concerning caption layout
The manual is now feature complete!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 03:27:19 +00:00
Uwe Stöhr
3fbb036262 2 new images for the upcoming new EmbeddedObjects version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17443 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-14 02:51:56 +00:00
Peter Kümmel
69ec762d33 fix linker error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17425 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 22:17:55 +00:00
Abdelrazak Younes
cb81965b1e * ControlToc:
- initialiseParams(): overload ControlCommand::initialiseParams() so that we can update the model at this point (QToc is the controller _and_ the model).
  - update(): new 
  - updateBackend(): new protected method to update the TocBackend (called for the "Update" button).

* QToc:
  - is now a QObject
  - modelReset: new Qt signal to indicate a model reset to associated dialog(s).
  - QToc(): avoid the duplicate update() call that will be done in the show command anyway.

* Dialogs.C
  - use new TocWidget in a DockView.

* TocWidget.[Ch]: renamed from QTocDialog. This striped down widget is only a widget that connects to the 'QToc' model/controller.

* DockView.h: new template class that encapsulates a given Widget inside a DockWidget and presents a Dialog::View interface.

* QTocUi.ui:
  - now is a simple Widget.
  - rearrange the buttons a bit
  - get rid of the unneeded close button.
  - modify the shortcut to "Promote" to 'r' because of a clash with "Alt-p" number (we really need real, always valid, shortcuts for all outline action!)




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17416 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 14:23:44 +00:00
Bo Peng
145c4d9afe fix cygwin postinstall script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17411 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-05 15:37:36 +00:00
Michael Schmitt
f9a423c9a6 * scons/SConstruct: fix clipart directory; remove duplicate 'doc' entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17402 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 10:52:31 +00:00
Michael Schmitt
edcac9ea02 fix building: replace lib_clipart_files by lib_doc_clipart_files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17400 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 09:35:41 +00:00
Uwe Stöhr
d95a26e115 add missing clipart directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17399 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 04:03:54 +00:00
Christian Ridderström
f36359c7f1 Changing ; to # (and testing to commit)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17382 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 20:48:30 +00:00
Bo Peng
adc618f6e7 Change windows installer comments from ; to #
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 16:03:30 +00:00
Georg Baum
0418d14704 Fix character classification functions by using qt (bugs like 3270 and 1247)
* src/support/lstrings.C
	(uppercase): Use qt instead of non working libc/home grown solution
	(lowercase): ditto
	(local_lowercase): Use qt instead of libc tolower for ucs4 chars

	* src/support/qstring_helpers.C
	(qstring_to_ucs4): Use qchar_to_ucs4 because of the assertion

	* src/support/lstrings.h: Add some documentation

	* src/support/qstring_helpers.h
	(is_utf16): New function: Tests whether an ucs4 character is also a
	valid utf16 character
	(qchar_to_ucs4): Assert on is_utf16()
	(ucs4_to_qchar): Replace old assertion with better is_utf16()

	* src/support/textutils.h
	(isLetterChar): Delete non-working implementation
	(isPrintable): Ditto
	(isPrintableNonspace): Ditto
	(isDigit):

	* src/support/textutils.C: New file, contains new implementations
	using qt of the functions in textutils.h

	* src/support/Makefile.am: Add textutils.C

	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:03:21 +00:00
Bo Peng
070138899e Scons: fix installation of language directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17353 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 05:52:36 +00:00
Jean-Marc Lasgouttes
7dd29bb818 Move translated files to their own directory
What I did:

* move xx_foo.ext to xx/foo.ext

* update Makefile.am to make install work

* minimally update scons_manifest.py (I'd be surprised to see it
  work).

* update i18nLibFileSearch to use the new naming scheme, and keep
  temporarily some code that checks the old method.

* update image paths in .lyx files

* update name of files (examples in tutorial, for ex.) in lyx files

What is definitely broken:

* cmake (did not touch it)

* TOC files (I am not sure how the code works)

I would be surprised if nothing else was wrong. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17343 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 18:12:03 +00:00
Michael Schmitt
f6aad90641 when running msgfmt (from the gettext package), perform all checks and output statistics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17339 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 09:44:32 +00:00
José Matox
13c6c959c9 Correct the name of Portuguese and Brazilian variants of Portuguese language, fix bug 1627
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17334 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 23:43:18 +00:00
Joost Verburg
5ea7978b9d missing Python file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17310 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-23 15:40:48 +00:00
Abdelrazak Younes
986786c1c1 * mathed/CMakeLists.txt: do not exclude InsetMathMBox.C
* InsetMathMBox.C: Make it compile.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17307 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-22 21:17:34 +00:00
Uwe Stöhr
80e188281e LyXWinInstaller: reflect LyX's beta state
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17288 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-20 22:59:47 +00:00
Uwe Stöhr
b91c39d890 LyXWinInstaller: correct Danish translation update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17261 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-19 21:41:00 +00:00
Uwe Stöhr
d0f1cafe43 LyXWinInstaller: danish translation update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-19 21:18:08 +00:00
José Matox
86098c52f0 quote files for mac script (Bennett)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17257 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-19 20:15:43 +00:00
Joost Verburg
79fc201680 updated C++ runtime
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17250 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-18 22:42:39 +00:00
José Matox
0efd48242c Update from Bennett to mac installer files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-18 22:35:22 +00:00
Uwe Stöhr
f6c16592d1 fix tipo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17227 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 19:48:33 +00:00
Georg Baum
6bf6c8453d add pure ASCII encoding for LaTeX export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 18:29:48 +00:00
Uwe Stöhr
62c88d8ee8 LyXWinInstaller: fix a path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17212 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 02:35:09 +00:00
Uwe Stöhr
0c133ed918 LyXWinInstaller: fix recognition of Acrobat 8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17211 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 02:03:35 +00:00
Uwe Stöhr
9590a3cffe LyXWinInstaller: minor updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17193 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 01:09:10 +00:00
Uwe Stöhr
ee654766c3 PDFViewWin:
- start Acrobat with focus and maximized
- updated code documentation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17192 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 00:19:55 +00:00
Joost Verburg
483b78d016 fixed personal word list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17191 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 22:39:33 +00:00
Georg Baum
a69aaf5685 file format change due to new change tracking behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17187 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 16:10:50 +00:00
Enrico Forestieri
8cf4fc2dd7 Was forgetting this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17176 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 22:41:39 +00:00
Georg Baum
e24eeddb96 comment debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17169 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 19:55:56 +00:00
Georg Baum
9fd8a86961 Allow utf8x \inputencoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 17:36:55 +00:00
Bo Peng
b5777b0909 Fix lyxrc.dist of the official installer (add vector flag). LyXWinInstaller correctly handles this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17161 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 16:56:44 +00:00
Georg Baum
bdeeedb425 describe latest format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17152 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 08:12:31 +00:00
José Matox
76c3d964df Convert lyxaccents to unicode (most of the work comes from Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 23:52:07 +00:00
Uwe Stöhr
fc56c8f4c4 only typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17119 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 21:24:51 +00:00
Uwe Stöhr
c8639179da - reupload LyXWinInstaller for code verification as discussed with Bo
- set missing EOL flags for official installer files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17116 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 21:09:30 +00:00
Bo Peng
8ad0944fcc Remove command.py from windows installer, which is no longer needed after r17095
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 02:27:19 +00:00
Bo Peng
b61c79f1d9 Windows installer: add unicodedata.pyd properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17094 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 18:59:10 +00:00
Bo Peng
f1d47e4416 Windows installer: add missing modules
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 18:42:01 +00:00
Bo Peng
c5c999f18e Windows installer: update miktex and imagemagick download link
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17091 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 18:26:32 +00:00
Bo Peng
5402048cea Scons windows installer integration:
* INSTALL.Win32: add instructin of building windows bundle installer
	* development/scons/SConstruct: add bundle and bundle_dir option
	* development/scons/scons_utils.py: handle bundle building
	* development/Win32/packaging/installer/lyx.nsi: 
		allow specify bundle .exe name from command line
	* development/Win32/packaging/installer/settings.user.nsh: 
		allow specify bundle directory from command line
	* development/Win32/packaging/installer/components/external.nsh:
		get files from bundle directory
	* development/Win32/packaging/installer/settings.nsh
		update miktex version (link needs to be updated as well?)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17081 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 07:55:38 +00:00
Bo Peng
67e8d59d68 Forgot to use absolute paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 03:54:29 +00:00
Bo Peng
d57708a28a Scons: add deps_dir option for windows installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17023 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 03:44:14 +00:00
Georg Baum
340358ab90 describe format 256
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17015 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 19:25:39 +00:00
Uwe Stöhr
133bd09e53 documentation for latest file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16994 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 21:15:40 +00:00
Georg Baum
a980f1bd61 Missing bits of Uwe's file format change from yesterday.
Uwe, please add an exact decsription of the lyxline changes to
development/FORMAT: How did the old version work, and what are the changes
of the new one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 20:39:46 +00:00
Uwe Stöhr
74c4cede85 rename ExtendedInsets to Embedded Objects as discussed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 00:05:50 +00:00
Georg Baum
951e4e0a78 French translation of beamer template and minor corrections by
Jean-Pierre Chretien


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16946 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 11:03:58 +00:00
Peter Kümmel
fdecefdb7f add apple fixes from Andreas Vox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16943 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 23:20:36 +00:00
Georg Baum
f1dedb3351 Rename files to conform to LyX conventions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16935 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 19:59:48 +00:00
Georg Baum
feb7895965 Add machinery to output arbitrary unicode characters with LaTeX commands
read from a text file.

	* src/encoding.[Ch]

	(Encoding::latexChar): New, output a character to LaTeX
	(Encoding::validate): New, add needed preamble stuff for a character
	(Encodings::read): Read new unicodesymbols file
	(Encodings::isCombiningChar): New, is a character a combining char?

	* src/paragraph_pimpl.C
	(isEncoding): Delete, no longer needed
	(getEncoding): New, get the real encoding of a font
	(Paragraph::Pimpl::latexSurrogatePair): New, output a surrogate pair
	to LaTeX
	(Paragraph::Pimpl::simpleTeXBlanks): Use latexSurrogatePair if needed
	(Paragraph::Pimpl::simpleTeXSpecialChars): Ditto, and replace several
	hardcoded characters with a call of encoding.latexChar()
	(Paragraph::Pimpl::validate): replace several hardcoded characters
	with a call of encoding.validate()

	* src/support/debugstream.h
	(basic_debugstream::disable): New, disable the stream completely
	(basic_debugstream::enable): New, reenable the stream

	* src/lyx_main.[Ch]: Adjust to changes above

	* src/paragraph.C: Ditto

	* lib/unicodesymbols: New file with UCS4 -> LaTeX command mapping.
	It is far from complete yet, but contains most accents on latin
	characters.

	* lib/Makefile.am: add lib/unicodesymbols

	* development/scons/scons_manifest.py: ditto

	* development/tools/unicodesymbols.py: Helper script to update
	lib/unicodesymbols with new symbols


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 21:27:45 +00:00
Uwe Stöhr
60a0914d88 update image change for SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16916 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 20:42:39 +00:00
Georg Baum
87bb14103d Add two templates from the beamer package that I forgot when I put the
beamer stuff in LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16908 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 18:39:36 +00:00
Georg Baum
ba7c5463cb Remove delete files from lib/Makefile.am.
Add the xpm version of the deleted lib/clipart/buffer-export_pdf2.png as
lib/images/buffer-export_pdf2.xpm since I discovered that we did not yet
have this icon.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16902 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 09:23:38 +00:00
Bo Peng
16d5b72ea1 Scons: also consider prefix option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16901 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 07:07:57 +00:00
Bo Peng
168d3ef631 Scons: continue refining scons installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 06:58:03 +00:00
Bo Peng
bae86e4098 Scons: refine scons installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16899 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 06:47:11 +00:00
Bo Peng
4be2a69492 remove removed files from scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16898 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 06:26:09 +00:00
Peter Kümmel
dfcc879239 fix linker error (dummy functions for tex2lyx)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16894 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 20:48:37 +00:00
Uwe Stöhr
3b322a7ce5 fix bug 3154
http://bugzilla.lyx.org/show_bug.cgi?id=3154

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 17:45:57 +00:00
Uwe Stöhr
4a2570bc0c remove LyXWinInstaller and all related stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 15:47:13 +00:00
Peter Kümmel
08ad5d19d5 cmake files for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16879 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 12:29:15 +00:00
Bo Peng
c9fb2a107e Scons: NSIS support (installer target)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 19:13:22 +00:00
Bo Peng
db4499f4b1 Scons: initial windows nsis installer support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16846 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 06:19:49 +00:00
Abdelrazak Younes
801f807063 Display error/warning dialogs if possible.
* ExceptionMessage: new exception based message for errors and warnings.

* package.C.in:
  - replace lyxerr based errors and warning with ExceptionMessage throwing.
  - bail_out(): erased!

* os_win32.C:
  - replace lyxerr based errors and warning with ExceptionMessage throwing.
  - bail_out(): erased!

* tex2lyx.C: catch any exception from Package class.

* lyx_main.C:  catch any exception from Package class and act accordingly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 15:49:20 +00:00
Uwe Stöhr
66562be370 Installer: Aiksaurus again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 01:41:45 +00:00
Uwe Stöhr
d0f5f9f4a7 Installer: use better version to register Aiksaurus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16815 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 01:19:58 +00:00
Uwe Stöhr
c3d6f9621f Installer: Language update Hungarian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16813 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 00:43:29 +00:00
Uwe Stöhr
5f5591b0e6 Installer: Language and information updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16812 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 00:33:33 +00:00
Uwe Stöhr
5e948b9bf2 Intro.lyx updated for LyX 1.5add source code of LyXWinInstaller
(I know that not everybody likes this, but -- you know.)

The folder PDFViewWin contains the programs I wrote to fix bug 3045.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16802 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-22 00:14:36 +00:00
Peter Kümmel
1b56c1fbeb update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16768 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-19 20:32:55 +00:00
Jürgen Spitzmüller
891a046862 * lib/images/buffer-update_pdf2.xpm:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
	- add missing "update pdf" icon. Not beautiful, but matches 
	   the other view/update icons.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16722 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 08:18:20 +00:00
Uwe Stöhr
68e4965abb updated icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 01:05:22 +00:00
Michael Schmitt
e6aa1c9b38 * lib/CREDITS:
* lib/generate_contributions.py:
	* development/MacOSX/LyX.app/Contents/Resources/lyxrc.dist: rename "ascii" to "plain text"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16715 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-16 22:33:44 +00:00
Michael Schmitt
bdadc8d496 * development/scons/scons_manifest.py:
* src/frontends/qt4/Makefile.dialogs:
* src/frontends/qt4/QPrefsDialog.C:
* src/frontends/qt4/QPrefsDialog.h:
* src/frontends/qt4/ui/compile_uic.sh:
* src/frontends/qt4/ui/QPrefAsciiUi.ui:
* src/frontends/qt4/ui/QPrefPlaintextUi.ui: rename QPrefAsciiUi.ui to QPrefPlaintextUi.ui; 
rename PrefAscii to PrefPlaintext

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16714 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-16 22:29:33 +00:00
Uwe Stöhr
3177b8e16f - remove duplicate PDFs
- correct entries in makefile.am

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-15 23:22:06 +00:00
Uwe Stöhr
0bfff71348 forgot this in r16687
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 21:05:26 +00:00
Michael Schmitt
9c09f34da0 * lib/*: rename Extended-Insets to ExtendedInset
* development/scons/scons_manifest.py: add es_ExtendedInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16683 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 18:17:56 +00:00
Uwe Stöhr
f41eedd7ee - new documentation
- images used in the new documentation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16676 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 16:41:42 +00:00
Georg Baum
c61296caa3 Add two files that are included by the beamer example file and that I forgot.
Found out by Jean-Pierre Chretien.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16671 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 21:08:13 +00:00
Georg Baum
0ddb4d5f30 Change lyx2lyx conversion and LaTeX export of documents with
\inputencoding default

	* src/paragraph_pimpl.C
	(isEncoding): Explain why bparams.inputenc == "default" is ignored

	* src/bufferparams.C
	(BufferParams::encoding): Determine the encoding from the language
	for inputenc == "default"

	* src/buffer.h
	(writeLaTeXSource): Mention inputenc == "default" in documentation

	* src/bufferparams.h
	(inputenc): Update documentation of "default"

	* src/output_latex.C
	(switchEncoding): Switch the encoding also for inputenc == "default",
	but don't output \inputencoding commands in that case

	* lib/lyx2lyx/LyX.py
	(get_encoding): Determine the encoding from the language for
	inputencoding == "default"

	* lib/lyx2lyx/lyx_1_5.py
	(convert_multiencoding): ditto

	* development/FORMAT: Update documentation of \inputencoding default


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16667 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 14:36:54 +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
Michael Schmitt
8233cb87bd * development/Win32/packaging/build_msvs_debug.bat: add new build script for debug mode & msvs project creation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16564 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 09:53:04 +00:00
Michael Schmitt
86453dbb46 * development/Win32/packaging/build_msvc.bat: return to start directory after compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16562 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 09:43:43 +00:00
Michael Schmitt
8c85719080 * lib/ui/stdmenus.inc:
* lib/ui/stdmenus.ui: rename file in order not to confuse users
* lib/ui/stdtoolbars.inc:
* lib/ui/stdtoolbars.ui: rename file in order not to confuse users

* development/scons/scons_manifest.py: 
* lib/doc/de_Customization.lyx:
* lib/Makefile.am:
* lib/ui/classic.ui:
* lib/ui/default.ui: adjust
 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16549 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 13:42:15 +00:00
Bo Peng
3b8d367e6e Scons: fix a mingw/scons bug (it is a scons bug)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16539 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 18:30:46 +00:00
Bo Peng
b1c7fc3e4f Scons: fix two mingw bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16522 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 06:29:18 +00:00
Bo Peng
17a36a12f9 Scons: create libs directory for res file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16472 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-03 04:57:55 +00:00
Bo Peng
71794188c7 Scons: allow use of different icons for lyx and tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16464 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 06:13:53 +00:00
Bo Peng
5059ac7648 Scons: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 05:22:20 +00:00
Bo Peng
c35c782b30 Scons: create an .rc file and link lyx.exe etc with .res to set icon
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 05:21:08 +00:00
Peter Kümmel
45e7e717d4 remove some msvc warnings
* src/mathed/InsetMathNest.C : 
	unreachable code
* src/aspell_local.h : 
	aspell is a Clibrary, no class keyword available
* src/texrow.h : 
	could not generate standard constructor
* development/cmake/CMakeLists.txt : 
	- disable same warnings
    - all size_t/int related warnings are disabled



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16446 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-30 21:05:44 +00:00
Peter Kümmel
4fe3d7d426 also warnings as errors with /W3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16440 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-30 13:53:34 +00:00
Abdelrazak Younes
b2126408cf This commit do the Model/View separation of the LyXText and Paragraph classes. The separation is mostly complete for the Paragraph class but some more transfer should occur for the LyXText class.
* ParagraphMetrics.[Ch]: new files

* TextMetrics.[Ch]: new files.

* lyxtext.h/text2.C/text3.C: some code transferred to the TextMetrics class.

* paragraph.[Ch]: all screen oriented code transfered to ParagraphMetrics class.

* BufferView:
 - text_metrics_: new TextMetrics cache private member.
 - textMetrics(): new access method.
 - parMetrics(): ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16433 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 23:54:48 +00:00
Jean-Marc Lasgouttes
ec4ff5e1a8 New textclass
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16428 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 13:40:50 +00:00
Georg Baum
67dd949130 Fix LaTeX generation of files with inputenc == default.
See the patch itself for further comments.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16421 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 09:24:18 +00:00
Georg Baum
244b2c1fab Add some more LaTeX encodings, fix thailatex and display all available
encodings in the preferences dialog

	* src/LaTeXFeatures.C: special treatment for tis620-0 encoding
	* src/bufferparams.C: ditto
	* src/output_latex.C: ditto

	* src/encoding.[Ch]: Add the possibility to iterate over all encodings

	* src/paragraph_pimpl.C: Add latin10 and cp858 to Euro treatment

	* src/buffer.C: Update format number

	* src/frontends/qt4/QDocumentDialog.C: Don't hardcode available
	encodings

	* lib/lyx2lyx/LyX.py,
	  lib/lyx2lyx/lyx_1_5.py: implement conversion from 256 to 255

	* lib/encodings: Add some encodings, fix all "unknown" entries

	* development/FORMAT: Document file format change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16418 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 18:15:25 +00:00
Peter Kümmel
64aadeaf5f also work with Joost's windows file bundle (qmake gives the non-portabale path of Joost's Qt installation)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16388 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 21:47:06 +00:00
Peter Kümmel
2debe65559 don't show all warnings by default, use TOP_SRC_DIR value from LyXPaths.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16387 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 21:30:17 +00:00
Michael Schmitt
515616a914 * scons/SConstruct: fix manifest on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16382 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 09:09:10 +00:00
Abdelrazak Younes
6c648c13a8 TOP_SRCDIR is needed, but LOCALEDIR and LYX_DIR refer to
installation directories.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16380 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 12:41:25 +00:00
Bo Peng
0dadb5c0ff Scons: do not subst %var%, as I am told that they are changed to @var@
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16367 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 15:21:30 +00:00
Abdelrazak Younes
9f42a6349f PROGRAM_SUFFIX represents a possible version suffix, better let it empty for now. Georg explication of how autotools handle that:
configure --with-version-suffix=-1.5

results in a PROGRAM_SUFFIX of "-1.5". This is important for the name of 
the personal LyX dir, and the name of the executables if you want to 
install several LyX versions in parallel without interference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16364 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 14:07:33 +00:00
Abdelrazak Younes
8eade97e3c Fix hard-coded path for locales dir.
I am not sure about what the PROGRAM_SUFFIX should contain...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16356 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 09:52:58 +00:00
Peter Kümmel
5df778c2f8 set package vars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16351 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-20 18:37:46 +00:00
Bo Peng
d99334d73b Scons: fix a newly introduced qt4 CCFLAGS bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16343 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-20 01:32:43 +00:00
Bo Peng
356fb608ed Scons: allow shared boost libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16342 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 20:39:00 +00:00
Bo Peng
e75d65a829 Scons: clear separation of env and frontend_env (a major reshuffling)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16341 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 18:32:55 +00:00
Bo Peng
71ed7ab328 Scons: do not print warnings when checking boost libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16339 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 15:48:40 +00:00
Bo Peng
d78a76a6ee Scons: handle the case when qt4 is in system directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16338 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 15:44:39 +00:00
Bo Peng
c1a5770979 Scons: remove boost 1.33.1 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 23:27:33 +00:00
Bo Peng
cd43719f96 Scons: load qt4 module with debug=False when the debug library is not available; modify boost/check warning message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16323 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 15:30:50 +00:00
Edwin Leuven
e3241cca0a * add Rrightarrow.xpm to scons & automake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16317 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 17:46:47 +00:00
Bo Peng
39186319da Scons: support boost 1.34
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16305 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 23:31:15 +00:00
Bo Peng
016d529945 Scons: test for the availability of debug version of qt libraries before linking to them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16304 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 20:16:34 +00:00
Bo Peng
3023f93593 Scons: can now be executed from any directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16303 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 16:31:28 +00:00
Bo Peng
f5599ea253 Scons: print error message when scons is not called from top source directory or development/scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16292 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 21:38:55 +00:00
Bo Peng
48a83e978d Scons: use /path/to/qt/QtCore explicitly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16267 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 16:28:40 +00:00
Bo Peng
d213175b85 Scons: add support for QtCore in support (and tex2lyx and client)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16261 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 04:55:41 +00:00
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
Peter Kümmel
7cf79bc298 remove gcc warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16123 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-30 20:03:28 +00:00
Peter Kümmel
30611541cb restore old /W3 warning level
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16118 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 23:51:22 +00:00
Peter Kümmel
a73732e0ec switch to default /W4 for msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16116 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 22:36:43 +00:00
Joost Verburg
0cf508e2d3 support for direct debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16083 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 22:56:15 +00:00
Joost Verburg
64ec49d001 GPL Ghostscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16077 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 16:23:44 +00:00
Joost Verburg
fcaaf7757b document flag for PDF
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16076 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 16:02:50 +00:00
Georg Baum
82b0e98d54 missing bits of the new insets for \clearpage and \cleardoublepage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16038 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:57:27 +00:00
Peter Kümmel
5524f5f857 update to cmake 2.4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16028 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 15:10:16 +00:00
Georg Baum
2b6f6ed84f Add UpdateFlags.h to the build systems.
Add licence info to UpdateFlags.h.
Note to the author of UpdateFlags.h: Please fix the author information,
I don't know who wrote this file because not everybody used his own account.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16012 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-22 20:13:02 +00:00
Bo Peng
59f15f2d94 Scons: set uic parameter -tr lyx::qt_ properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16000 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-20 17:26:26 +00:00
Peter Kümmel
3edb7ce86a define HAVE_MODE_T always with HAVE_CHMOD, don't test until it is necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15993 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 19:58:48 +00:00
Bo Peng
c8429d4bbc Detect mode_t for safe use of chmod, and for scons/msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15985 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 13:58:39 +00:00
Bo Peng
eb939a9b76 Scons: adopt Georg's solution for tex2lyx/gettext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15963 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-18 03:04:42 +00:00
Georg Baum
bb8c9253e4 Add button for default layout to the toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15946 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 08:17:48 +00:00
Peter Kümmel
7860112e71 disable chmod usage with msvc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15917 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 16:11:59 +00:00
Peter Kümmel
b0b3338abd add option to disable the console on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15916 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 10:06:07 +00:00
Peter Kümmel
b912982bdc chmod fixes for msvc
* development/cmake/config.h.cmake:
      there is no mode_t 
  * src/support/copy.C
      chmod is declared in io.h
      


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15913 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 23:22:31 +00:00
Georg Baum
2db7521b70 Add support for the esint package
* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): handle esint and wasysym

	* src/mathed/MathMacroTable.[Ch]
	(requires_): New member: tell the feature this macro requires
	(MacroTable::insert): take new requires arg

	* src/mathed/MathMacroTemplate.C
	(MathMacroTemplate::asMacroData): adjust to change above

	* src/mathed/MathSupport.C
	(fontinfos): add esint10 font

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): AMS_ON -> package_on

	* src/mathed/MathMacroTable.h

	* src/mathed/MathFactory.C
	(initSymbols): read and store requires field for symbols

	* src/mathed/InsetMathSymbol.C
	(InsetMathSymbol::metrics): handle esint
	(InsetMathSymbol::takesLimits): ditto

	* src/buffer.C
	(LYX_FORMAT): update format
	(Buffer::validate): handle esint, AMS_ON -> package_on

	* src/bufferparams.C:
	(AMSTranslator): Rename to PackageTranslator
	(BufferParams::readToken): Read \use_esint
	(BufferParams::writeFile): Write \use_esint

	* src/frontends/qt4/QDocumentDialog.C: handle esint

	* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes

	* src/frontends/qt4/GuiFontLoader.C
	(symbol_fonts: Add esint10 font
	(symbolFamily): handle esint10 font
	(isChosenFont): Add comment

	* src/frontends/controllers/ControlMath.C
	(latex_varsz): Add new integral symbols

	* src/support/fontutils.C
	(win_fonts_truetype): Add esint10 font

	* src/bufferparams.h
	(enum AMS): rename to enum Package
	(use_esint): new parameter

	* src/lyxfont.[Ch]: Add esint font

	* lib/symbols: Add new integral symbols

	* lib/lyx2lyx/LyX.py
	(format_relation): Update format

	* lib/lyx2lyx/lyx_1_5.py: handle new format

	* lib/chkconfig.ltx: Test esint package

	* lib/images/math/oiintop.xpm
	* lib/images/math/sqintop.xpm
	* lib/images/math/sqint.xpm
	* lib/images/math/ointctrclockwiseop.xpm
	* lib/images/math/ointctrclockwise.xpm
	* lib/images/math/iiintop.xpm
	* lib/images/math/iintop.xpm
	* lib/images/math/sqiint.xpm
	* lib/images/math/iiint.xpm
	* lib/images/math/ointclockwiseop.xpm
	* lib/images/math/oiint.xpm
	* lib/images/math/dotsintop.xpm
	* lib/images/math/sqiintop.xpm
	* lib/images/math/ointclockwise.xpm
	* lib/images/math/iiiintop.xpm
	* lib/images/math/dotsint.xpm
	* lib/images/math/iiiint.xpm
	* lib/images/math/iint.xpm: new icons

	* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package

	* lib/doc/UserGuide.lyx: Add short documentation of integral symbols

	* lib/Makefile.am: Add new files

	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +00:00
Georg Baum
5ed606f9c5 Add a cache for converted image files. This needs to be enabled in the
preferences file with \use_converter_cache true. It is disabled by default,
and no GUI support for changing the preferences is yet implemented.

	* src/insets/insetgraphics.C
	(InsetGraphics::prepareFile): Use image file cache

	* src/insets/ExternalSupport.C
	(updateExternal): Use image file cache

	* src/exporter.C
	(Exporter::Export): Do not use image file cache

	* src/graphics/GraphicsCacheItem.C

	(CacheItem::Impl::imageConverted): Add the converted file to the
	image file cache
	(CacheItem::Impl::convertToDisplayFo): Use image file cache

	* src/converter.C
	(Converters::convert): Use image file cache if the caller allowed that

	* src/converter.h
	(Converters::convert): Adjust arguments

	* src/Makefile.am: Add new files

	* src/support/lyxlib.h
	(chmod): new function
	(copy): add mode argument

	* src/support/copy.C
	(chmod): new function
	(copy): implement mode argument

	* src/support/mkdir.C
	(lyx::support::mkdir): Add warning if permissions are ignored

	* src/lyxrc.[Ch]: Add new settings \converter_cache_maxage and
	\use_converter_cache

	* src/ConverterCache.[Ch]: New image file cache

	* src/importer.C
	(Importer::Import): Do nut use the image file cache

	* src/lyx_main.C
	(LyX::init): Initialize the image file cache

	* src/mover.[Ch]
	(Mover::do_copy): Add mode argument
	(SpecialisedMover::do_copy): ditto

	* configure.ac: Check for chmod

	* development/cmake/ConfigureChecks.cmake: ditto

	* development/cmake/config.h.cmake: ditto

	* development/scons/SConstruct: ditto

	* development/scons/scons_manifest.py: Add new files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15897 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:27:57 +00:00
Georg Baum
a116e04b8b Use wctype character classification functions if possible
* src/buffer.C
	(Buffer::insertStringAsLines): Uncomment isPrintable test

	* src/support/lstrings.C
	(compare_no_case): Use char_type and not int for the docstring version
	(ascii_tolower): Convert to a template
	(compare_ascii_no_case): Do not use a template anymore, because we
	need int for the string version and char_type for the docstring
	version as intermediate type
	(lowercase): Use towlower if possible
	(uppercase): Use towupper if possible

	* src/support/textutils.h
	(isLetterChar): Use iswalpha if possible
	(isPrintable): Use iswprint if possible
	(isPrintableNonspace): Use iswprint and iswspace if possible
	(isDigit): Use iswdigit if possible

	* src/paragraph.C
	(Paragraph::asString): remove obsolete FIXME
	(Paragraph::transformChar): add FIXME

	* configure.ac: Add definition of LIBC_WCTYPE_USES_UCS4 to config.h

	* development/cmake/config.h.cmake: ditto

	* development/scons/SConstruct: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15893 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 09:53:25 +00:00
Georg Baum
6008c8176e remove obsolete file lyxrc.example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15832 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 17:40:44 +00:00
Peter Kümmel
d3b31c4ae0 don't use dummy QT_QTMAIN_INCLUDE_DIR
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15806 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-08 12:26:52 +00:00
Peter Kümmel
a582b4f954 update to cmake's cvs version, fixes missing qtmain error on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15805 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-08 12:25:00 +00:00
Michael Schmitt
c56671cec7 * src/frontends/qt4/qt_helpers.C:
* src/frontends/qt4/qt_helpers.h:
	* src/frontends/qt4/ui/Makefile.am:
	* Status.15x:
	* development/scons/qt4.py: fix localization for qt4 strings


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15786 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 18:09:55 +00:00
Joost Verburg
dbb980e1dd move compressor setting to lyx.nsi because it should not apply to scripts that include the settings file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15776 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 22:15:04 +00:00
Joost Verburg
129a520bd9 * Custom NSIS plug-ins will be included in the dependency packages
* New Console plug-in with support for restricted users
* Warning message if no PDF viewer is installed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15773 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 21:51:43 +00:00
Jürgen Spitzmüller
b0d4524252 * lib/images/nomencl-insert.xpm:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
	- a (provisional) nomencl-insert icon

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 09:08:28 +00:00
Joost Verburg
e096a22e28 fix for installation by restricted users
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15762 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 22:37:44 +00:00
Joost Verburg
1cddf71701 i18n improvements:
* More space on installer dialogs
* Shortened a few texts
* Set default LyX language to English if the OS language is not supported
* Corrected text on viewer download dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15760 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 20:52:02 +00:00
Joost Verburg
a3b98687fa store temporary PDF files outside the LyX tmpbuf to prevent file locking problems when LyX is closed while Adobe Reader is still open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15742 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 23:06:14 +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
Georg Baum
e35725d5c0 New nomenclature inset from Ugras
* src/LyXAction.C
	(LyXAction::init): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT

	* src/insets/insetbase.C
	(build_translator): ditto

	* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): Add nomencl

	* src/insets/insetnomencl.[Ch]: new insets InsetNomencl and
	InsetPrintNomencl

	* src/insets/insetbase.h: Add NOMENCL_CODE and NOMENCL_PRINT_CODE

	* src/insets/insetcommandparams.C
	(InsetCommandParams::findInfo): Add nomenclature and printnomenclature
	(InsetCommandParams::getCommand): Extend end of command protection to
	cover commands with only optional arguments like printnomenclature

	* src/insets/insetert.C
	(InsetERT::getStatus): disable LFUN_NOMENCL_INSERT and
	LFUN_NOMENCL_PRINT

	* src/insets/Makefile.am: Add new files
	* src/frontends/qt4/Makefile.dialogs: ditto
	* src/frontends/qt4/Makefile.am: ditto

	* src/factory.C
	(createInset): Handle InsetNomencl and InsetPrintNomencl
	(readInset): ditto

	* src/buffer.C
	(LYX_FORMAT): increase

	* src/lyxfunc.C
	(LyXFunc::dispatch): Handle nomenclature

	* src/LaTeX.C
	(LaTeX::deleteFilesOnError): Delete .nls file
	(LaTeX::run): Run makeindex for nomenclature
	(LaTeX::runMakeIndex): handle nomenclature options
	(LaTeX::deplog): Recognize nomenclature file

	* src/frontends/qt4/QNomenclDialog.[Ch]: new
	* src/frontends/qt4/QNomencl.[Ch]: ditto
	* src/frontends/qt4/ui/QNomenclUi.ui: ditto

	* src/frontends/qt4/Dialogs.C
	(Dialogs::build): handle nomenclature dialog

	* src/text3.C
	(LyXText::dispatch): Handle LFUN_NOMENCL_INSERT and
	LFUN_NOMENCL_PRINT
	(LyXText::getStatus): Ditto

	* src/lfuns.h
	(kb_action): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT

	* lib/lyx2lyx/LyX.py
	(format_relation): Update 1.5 format range

	* lib/lyx2lyx/lyx_1_5.py
	(revert_nomenclature): New
	(revert_printnomenclature): ditto

	* lib/chkconfig.ltx: Test for nomencl package

	* lib/doc/LaTeXConfig.lyx.in: Add nomencl package

	* lib/doc/Extended.lyx: Add documentation for nomencl

	* lib/ui/stdtoolbars.ui
	(Toolbar "extra" "Extra"): Add nomencl-insert

	* lib/ui/classic.ui: Add nomencl-insert and nomencl-print
	* lib/ui/stdmenus.ui: ditto

	* development/scons/scons_manifest.py: Add new files

	* development/FORMAT: Describe new format


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 17:55:36 +00:00
Joost Verburg
b61b9cc6a4 LyX 1.5 Windows installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15734 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 14:28:11 +00:00
Jürgen Spitzmüller
4015732fb1 * lib/images/*.xpm:
- improved icons for change tracking
- new icon for note-next

* development/scons/scons_manifest.py: 
* lib/Makefile.am:
- install new icons

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15729 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 11:06:43 +00:00
Michael Schmitt
0c7610b467 * lib/images/*.xpm: add icons for the "review" toolbar
* development/scons/scons_manifest.py: install new icons


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15719 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 22:03:11 +00:00
Bo Peng
ac1dcef5d0 Scons: getext/unicode support for tex2lyx (ignore src/tex2lyx/gettext.* and use src/gettext.* and src/messages.*)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15716 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 18:49:56 +00:00
Peter Kümmel
94792c0821 add MinSizeRel as project which only uses STL and Boost pchs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15674 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 16:11:28 +00:00
Peter Kümmel
734ea8819e enable precompile headers only for the Debug and Release build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15663 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 14:32:17 +00:00
Georg Baum
6af710094e Add beamer layout file and examople, fresh from the beamer CVS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15647 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 20:56:42 +00:00
Michael Schmitt
4292f4e9e9 remove references to Qt3/Gtk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15630 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 21:45:37 +00:00
Abdelrazak Younes
73ed0b5203 * Painter.h:
* Painter: new ctor that sets drawing_enabled_ to true.
  * setDrawingEnabled(), isDrawingEnabled(): new methods.

* QLPainter.C: only draw if drawing is enabled.

* nullpainter.h: deleted.

* rawpainter.C::paintPar(): only draw if we are inside the Paragraph.

* InsetTabular::draw(): use new Painter method instead of a NullPainter.

* InsetMathNest::drawSelection(): ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15613 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 10:09:59 +00:00
Abdelrazak Younes
ee319c6e83 * guiapi.[Ch]: deleted.
Angus L. explanation: Lars introduced it years ago when he got exited by the idea 
of dll-importing the frontend library, but the idea never came to anything 
concrete. The file can always be resurrected later on; it's meant to be a C-
language wrapper to our C++ frontend library calls.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15611 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 08:13:02 +00:00
Abdelrazak Younes
54bdecdb48 remove paperHeight() and paperWidth() in Painter and inherited classes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15589 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-28 09:36:22 +00:00
Peter Kümmel
213c04d0a5 disable checked iterators for msvc release builds to get maximum speed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15568 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 18:38:46 +00:00
Peter Kümmel
a932a994f0 switch ENABLE_ASSERTIONS macro with _DEBUG macro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15567 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 17:11:34 +00:00
Peter Kümmel
4f8939dd3d cmake: precompiled headers
- enable by default, could be disabled with -Ddisable-pch
    - use different pch files for Debug/Release/...
    - use only one config_pch.C 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15549 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 17:57:04 +00:00
Bo Peng
706f828230 Scons: mocing GuiApplication.C and GuiImplementation.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15518 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 19:47:40 +00:00
Peter Kümmel
cd0b5b6ca9 cmake precompile:
- only precompile boost and stl headers
- for qt4 also precompile QtGui and QtGui
- don't use one global precomiled header file
  to get out of the dependency hell 





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15517 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 19:04:29 +00:00
Abdelrazak Younes
f4857dab04 new LFUN_WINDOW_CLOSE
* LyXFunc:
  - dispatch(): transfer assertion on lyx_view_ to each LFUN on a case by case basis.
  - dispatch(): new LFUN_WINDOW_CLOSE
  - getStatus(): special treatment for LFUN_LYX_QUIT

* LyX:
  - views_, addLyXView(): deleted
  - quit(): call saveGeometry() on each LyXView before exiting.

* GuiApplication:
  - is now a QObject.
  - quitLyX(): new Qt slot for lastWindowClosed signal.

* Gui.h:
  - destroyView(), destroyWorkArea(): deleted
  - viewIds(): new method

* GuiImplementation:
  - implement above changes.
  - GuiImplementation is now a QObject
  - cleanupViews(): new private slot.
  - buildViewIds(): new helper method
  - views_ and work_areas_ are now maps of raw pointers instead of schared_ptr.

* LyXView
  - now stores its id.
  - dispatch(): special treatment for LFUN_WINDOW_CLOSE.
  - workAreaIds(): new method.
  - close(): new pure virtual method.
  - saveGeometry(): new pure virtual method.

* GuiView:
  - implements above changes.
  - GuiView(): set WA_DeleteOnClose and Qt::WA_QuitOnClose to let Qt manage the destruction on close().
  - closeEvent(): session stuff transfered to saveGeometry()

* WorkArea
  - now store its id.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15514 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 16:29:24 +00:00
Peter Kümmel
5c26b24d17 fix wrong usage of precompiled headers, now it's really faster, more to come
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15509 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 14:32:12 +00:00
Peter Kümmel
9105f374a1 update to HEAD
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15507 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 13:49:18 +00:00
Peter Kümmel
dc5c8be0f0 add support of precompiled headers for msvc, enable with -Dpch=1, disable headers by defining LYX_DONT_PRECOMPILE_* macros in config.C.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15506 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 13:34:22 +00:00
Peter Kümmel
2ceb5e2769 add support of precompiled headers for msvc, enable with -Dpch=1, disable headers by defining LYX_DONT_PRECOMPILE_* macros in config.C.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15505 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 13:32:46 +00:00
Bo Peng
8b5e79fc47 Scons: remove some other qt3 debris
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15494 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 20:34:37 +00:00
Lars Gullik Bjønnes
8f261b1529 The Gtk removal from trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15488 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 18:05:16 +00:00
Michael Schmitt
aae5bada25 * scons/scons_manifest.py: remove MathMLStream.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15476 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 14:16:04 +00:00
André Pönitz
35a1a95cfe compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15467 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 11:22:14 +00:00
André Pönitz
de6418f377 use more unicode in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 10:15:23 +00:00
Michael Schmitt
7cf8328885 * scons/SConstruct: fix scons error (remainder of qt3 frontend removal)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15436 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 09:17:58 +00:00
Michael Schmitt
2c943fea7f * lyx.rpm.README: remove mentioning of qt3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15433 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:55:17 +00:00
André Pönitz
a63cddf51c remove qt3 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:35:47 +00:00
André Pönitz
c75c468e44 some scripts I fouind usefule when working on LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15423 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 07:05:52 +00:00
Peter Kümmel
4cc5d0825d cmake: don't forget command line options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15403 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 12:46:30 +00:00
Peter Kümmel
4656a5e16a fix wrong line endings of generated Qt4 ui files on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15398 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 11:28:45 +00:00
Peter Kümmel
3459b8d89d cmake files:
- mathed: remove InsetMathMox.C fro the build process
- config: enable assertions by default



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15396 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 10:38:33 +00:00
Peter Kümmel
6d6a9ddad6 cmake: use src/support/package.C.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15389 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-19 21:42:28 +00:00
Peter Kümmel
97efe6289f - use version.C.in file instead of a simple copy
- generate lyx2lyx_version.py



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15388 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-19 21:35:44 +00:00
Georg Baum
b02242bfaf Rework InsetCommandParams interface and file storage
* src/insets/insetcommandparams.[Ch]:
	(operator[]): New, access a parameter
	(clear): New, clear all parameters
	(info_): New, stire info about this command
	(cmdname): Rename to name_
	(contents, options, sec_options): Replace with params_. Parameters
	are now stored as docstring.
	(findInfo): New factor for command info for all commands
	(read, write): Use new syntax
	(parameter set and get methods): reimplemenmt for new parameter storage

	* src/insets/insetcommand.h
	(getParam): New, get a parameter
	(setParam): New, set a parameter
	(parameter set and get methods): Adjust to InsetCommandParams changes

	* src/insets/insetbibitem.[Ch]
	(write): Remove, not needed anymore
	(directWrite): ditto

	* src/insets/insetbibitem.C
	(InsetBibitem::read): Use InsetCommand::read

	* src/insets/insetref.C
	(InsetRef::latex): Use new InsetCommandParams interface

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): ditto

	* src/text3.C
	(LyXText::dispatch): ditto

	* src/factory.C
	(createInset): Create InsetCommandParams with command name
	(readInset): ditto
	(readInset): Remove error message for bibitem, since bibitem is
	now a normal command inset

	* src/buffer.C: Bump file format number

	* src/frontends/controllers/ControlCommand.[Ch]
	(ControlCommand): take an additional command name parameter

	* src/text.C
	(readParToken): Remove code for \bibitem

	* lib/lyx2lyx/LyX.py: Bump latest file format number

	* lib/lyx2lyx/lyx_1_5.py
	(convert_bibitem, convert_commandparams): new, convert to new format
	(revert_commandparams): new, convert to old format

	* development/FORMAT: document new format

	* many other files: Adjust to the changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15357 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-17 21:07:16 +00:00
Jürgen Spitzmüller
77e145a406 Remember the char style label state and make it globally switchable.
* src/buffer: 
	file format incrementation to 251
* src/insets/insetcharstyle.[Ch]:
	- make show_label a param and save its state
	- let all-insets-toggle togle the label in charstyles
* development/FORMAT: 
	document file format change
* lib/lyx2lyx/LyX.py:
	add new file format
* lib/lyx2lyx/lyx_1_5.py:
	remove char style label param on reversion to 250.
	

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15345 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 07:06:41 +00:00
Bo Peng
90cbd48fd3 Scons: remove fast_start feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15343 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 03:26:14 +00:00
Bo Peng
f3016d70d9 Scons: fix a config.h generation bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15341 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 02:55:04 +00:00
Abdelrazak Younes
c7e365365e This commit saves the need to check for lyx::use_gui in a number of places.
* lyx_main.h: define "extern bool lyx::use_gui" here.

* NoGuiFontMetrics.h: new class for command-line LyX

* NoGuiFontLoader.h: new class for command-line LyX

* Application.C:
  - theFontMetrics(): returns the above dummy FontMetrics when use_gui is false.
  - theFontLoader(): returns the above dummy FontLoader when use_gui is false.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15339 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-15 21:47:29 +00:00
Martin Vermeer
21316375fe Support for optional arguments for environments. No material format change.
* src/buffer.C
	(BufferList bufferlist;): bump version

	* src/output_latex.C
	TexEnvironment: add optarg for environments

	* lib/lyx2lyx/lyx_1_5.py: add converters

	* development/FORMAT: document



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15315 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 20:21:14 +00:00
Abdelrazak Younes
83ffa28e77 This commit is purely mechanical and get rid of lyx_gui.[Ch].
Only qt4 is guaranted to compile and work. I did not remove gtk and qt3 lyx_gui.C because they might be needed for reference to complete the header declarations in "GuiApplication.C".

 - lyx_gui::use_gui transfered to lyx::use_gui in lyx_main.C
 - all remaining lyx_gui functions transfered to Application and corresponding GuiApplication implementations. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15306 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 14:10:13 +00:00
Georg Baum
34b7650cbb Introduce wide streams. This fixes the remaining problems of plain text
export (e.g. the ToC) and the navigate menu.

	* src/insets/insetbase.h
	(InsetBase::plaintext): output to a docstream
	(InsetBase::textString): ditto

	* src/mathed/TextPainter.h
	(TextPainter::show): ditto

	* src/support/docstream.[Ch] New file and string streams for
	docstring. The file streams convert to UTF8 on the fly.

	* many more files: Adjust to the changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15301 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-11 19:40:50 +00:00
Georg Baum
94c10102c0 Compile fix. This was easy, since the code is alsmost identical to qt4,
but I am not going to do gtk.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15271 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-08 07:39:02 +00:00
Abdelrazak Younes
00edcc582f This commit is a big rework of the FontLoader/FontMetrics interaction. Only Qt4 for now, I would be grateful is somebody steps up for qt3 and gtk.
Basically, I replaced all methods in the font_metrics namespace by a proper virtual interface FontMetrics. The FontLoader is _the_ container for FontMetrics.

This patch should also bring some optimizations in a number of place in the code. This is because we do not need any more to search for the LyXFont at each font_metrics call. In effect, the speed advantage is not as sensible and this is a bit deceiving considering that this was my primary motivation behind the patch. But I like the patch anyway as it cleans up the relation and interfacing between fonts, metrics and frontends.

* frontends/FontMetrics.h: new virtual interface. Renamed from font_metrics.h

* qt4/GuiFontMetrics: corresponding qt4 implememtation. Renamed from qfont_metrics.C. The smallCaps particular case treatment has been transfered here as well as the width cache for MacOSX and Windows.

* qt4/QLPainter.C: the smallCapsText has been reworked to return the width of the drawn text.C

all other files: replace font_metric helper function call with corresponding FontMetrics method calls.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15265 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-07 16:15:06 +00:00
Bo Peng
aa8913e939 Scons: fix windows DESTDIR installation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15253 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 03:08:08 +00:00
Bo Peng
222d0562f7 Scons: fix cygwin postinstall/lyx.sh installation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15250 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 02:58:13 +00:00
Bo Peng
b3b65e6f70 Scons: set default_build_mode cleverly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15244 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 17:37:02 +00:00
Bo Peng
c53e7a603c Scons: libintl also needs /MD option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15240 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 16:45:46 +00:00
Bo Peng
ba81af5fb2 Scons: command line arguments may be overwritten when building tools are loaded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15237 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 15:12:15 +00:00
Bo Peng
48988ff296 Scons: fix ICONV_LIB caching problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15236 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 15:05:34 +00:00
Abdelrazak Younes
205096733a This commit introduces the FontLoader interface class. In the future, I intend to extend it with a proper encapsulation of font metrics.
* frontends/FontLoader.h: new interface class.
* frontends/Application.h: new FontLoader() pure virtual method
* frontends/lyx_gui: update_fonts() and font_available() methods deleted

* [qt3/qt4/gtk]/GuiApplication: implement the new interface

* qt4/GuiFontLoader:
  - renamed from FontLoader
  - now derives from FontLoader
  - now in the lyx::frontend namespace

* qt3/qfont_loader
  - now derives from FontLoader

* gtk/xftFontLoader
  - now derives from FontLoader



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15220 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 16:17:32 +00:00
Bo Peng
8cc733b6a4 Scons: fix substFile dependence problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15215 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 14:31:25 +00:00
Abdelrazak Younes
63ad5449fb This commit creates a new "frontends/lyx_gui.C" that contains all functions that are not frontend dependent any more. It also creates 3 new pure virtual methods in Application:
virtual std::string const romanFontName() = 0;
virtual std::string const sansFontName() = 0;
virtual std::string const typewriterFontName() = 0;

My goal is to transfer all of "frontends/*/lyx_gui.C" to "frontends/lyx_gui.C". When this is done, "frontends/lyx_gui.C" can go altogether as its functions will then be replaced with direct calls to theApp->XXX().

* frontends/lyx_gui.C: new file with code transfered from [qt3,qt4,gtk]/lyx_gui.C

* frontends/Application: 3 new font related pure virtual methods

* [qt3,qt4,gtk]/GuiApplication: implement the above method with code transfered from lyx_gui.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 10:34:10 +00:00
Abdelrazak Younes
d1e7c7e0ab Integrate Application_pimpl into Application.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15206 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 08:43:32 +00:00
Abdelrazak Younes
6a947f349b This commit moves system font initialization and restoration to new support/fontutils.[Ch].
These font related functions were identical for qt3 and qt4. They are not Qt dependent at all and could also apply to an eventual Win32 or MacOSX gtk port.

Jen-Marc says: It would be nice to convince fontconfig to do the same for linux.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15196 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-02 10:48:03 +00:00
Enrico Forestieri
84171dea11 Update scons_manifest.py for changed names in src/mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15192 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-01 10:38:43 +00:00
Abdelrazak Younes
ca5411f913 This commit introduces Application_pimpl and cleanup the header includes of the affected .C files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15182 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-29 22:06:28 +00:00
Bo Peng
255345d4c6 Scons: cygwin packaging fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15178 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-28 04:45:21 +00:00
Bo Peng
6f29180afc Scons: correct installation of cygwin fonts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15175 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 19:30:08 +00:00
Bo Peng
a8354d3db7 Scons: get version info from configure.ac, add fonts and postinstall script for cygwin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15158 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-26 19:37:09 +00:00
Peter Kümmel
19739b63aa add instruction to change search path for gnuwin32 + small corrections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15144 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-25 15:34:04 +00:00
Georg Baum
ebaaff58fa make it compile again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15131 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 20:48:42 +00:00
Georg Baum
c2ffa71fa7 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15129 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 18:45:22 +00:00
Peter Kümmel
de161c40b1 move definition of variables to the main cmake file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15104 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:51:50 +00:00
Peter Kümmel
4e4ee8433a create binary in <build_dir>/bin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15103 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:50:27 +00:00
Edwin Leuven
513b57cfaa correct filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15060 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 09:15:47 +00:00
Peter Kümmel
134bc3ea2c propdel svn:executable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15055 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 20:46:16 +00:00
Peter Kümmel
4907b3c90a propdel svn:executable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15054 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 20:43:50 +00:00