Commit Graph

572 Commits

Author SHA1 Message Date
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