Commit Graph

10830 Commits

Author SHA1 Message Date
Michael Schmitt
52650ef229 * INSTALL: be a bit more specific on Qt versions:
"LyX has been tested with Qt 4.1.5.". Other 4.1.X versions
	have a security flaw; if LyX proves to work with 4.2.1,
	we should add a note later


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15771 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 21:15:26 +00:00
Jürgen Spitzmüller
c5499a3da5 Revert from revision 15769:
* src/frontends/qt4/panelstack.C: 
	- fix the preferences and document dialog resizing problem (well, at least 
	  for me -- please verify).

This didn't fix the problem. I'm pretty sure now that this is a bug in Qt 4.2(.1?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15770 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 18:04:51 +00:00
Jürgen Spitzmüller
54cc44fd9a * src/frontends/qt4/panelstack.C:
- fix the preferences and document dialog resizing problem (well, at least 
	  for me -- please verify).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15769 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 16:27:31 +00:00
Georg Baum
97f939a328 Another compile fix. I don't understand why it worked for me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15767 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 15:31:27 +00:00
Georg Baum
48a718d558 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15766 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 13:27:05 +00:00
Georg Baum
07f8f8d756 Clarify window size bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15765 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 09:28:49 +00:00
Jürgen Spitzmüller
8abcf63913 Two new bugs (wrt minibuffer).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15764 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 09:17:34 +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
Georg Baum
b60ef50a54 Remove unused symbol encoding
* src/encoding.[Ch]
	(symbol_encoding, symbol_encoding_): remove (unused)

	* src/frontends/qt4/QLPainter.C
	(QLPainter::text): Remove commented code. It was used in pre
	unicode times to get unicode values of the symbol fonts if
	USE_UNICODE_FOR_SYMBOLS was defined, but this was never defined
	anyway, since the code points of the symbol fonts (as written in
	lib/symbols) are directly used.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15758 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 20:13:22 +00:00
Michael Schmitt
30748f1b03 change tracking:
* src/paragraph_funcs.C: fix end-of-par handling;
	fix various CT-related comments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15757 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 19:00:53 +00:00
Michael Schmitt
c15a94ccf0 change tracking:
* paragraph_funcs.C: moveItem(): rename and
	reorder parameters to make the function better understandable;
	do not pass a Change parameter, because the function is able to
	retrieve the right change by itself; adjust all function calls;
	simplify the CT code and remove 3 FIXMEs at the same time


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15756 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 18:39:03 +00:00
Georg Baum
99d066de95 * src/frontends/qt4/GuiFontMetrics.C
(GuiFontMetrics::signedWidth): Micropotimization: Avoid a temporary
	docstring


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15755 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 18:27:50 +00:00
Michael Schmitt
ac2057254f * Status.15x: Selection highlighting is broken!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15754 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 18:20:39 +00:00
Michael Schmitt
dd44deca01 * src/frontends/qt4/QDelimiterDialog.C: don't use term 'size' in
math delimiter size values
	* Status.15x: kill one bug & add a new one


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15753 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 17:38:58 +00:00
Michael Schmitt
4e9bb0990f * src/frontends/qt4/ui/QCitationUi.ui: cosmetics: capitalize label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15752 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 17:23:20 +00:00
Michael Schmitt
2985fffec3 * Status.15x: all button and label texts are not translated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15751 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 17:09:14 +00:00
Abdelrazak Younes
18ec722cf2 Bug Fix: Window title was not updated in new window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15750 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 15:34:18 +00:00
Jürgen Spitzmüller
691ca4c0a4 * src/frontends/qt4/panelstack.C:
- fix resizing of treeview
	- hide pointless header

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15749 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 12:30:12 +00:00
Jürgen Spitzmüller
c98a3faaff * src/client/messages.C: add missing #include <cerrno>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15748 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 12:26:31 +00:00
Abdelrazak Younes
95b150fee5 Fix MSVC warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15747 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 12:22:05 +00:00
Georg Baum
7a0f75710d remove faulty FIXMEs. I was confused.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15746 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 11:52:45 +00:00
Michael Schmitt
2f8c76d691 * client/messages.C: add missing #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15745 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 11:47:14 +00:00
Michael Schmitt
c4ceb9e0fc * Status.15x: announce prizes; add missing bug reports;
reformat file


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15744 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 11:32:54 +00:00
Georg Baum
f498157e18 Fix comment according to Enricos explanation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15743 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-05 08:53:52 +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
a4b0f284bb made some categories and added more bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15738 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 15:47:35 +00:00
Jürgen Spitzmüller
fd5b78d42b * src/frontends/qt4/QBranches.C:
- fix item selection after update
	- improve gui
* src/frontends/qt4/QBranches.[Ch]: add alterColor method (alter color on double click)
* src/frontends/qt4/QocumentDialog.C: add comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15737 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 15:08:53 +00:00
Georg Baum
dfee517417 Preparation for the nomencl inset: Add {} in InsetCommand rather than
InsetHFill. This is possible because InsetHFill is the only inset so
far without parameters.

	* src/insets/insetcommandparams.C
	(InsetCommandParams::getCommand): Add {} to commands without
	parameters.

	* src/insets/insethfill.[Ch]
	(InsetHFill::latex): Remove


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15736 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 14:55:15 +00:00
Georg Baum
d06475855c Tiny unicode optimization: avoid ucs4->utf8->ucs4 roundtrip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15735 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 14:40:59 +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
Peter Kümmel
60059d0c08 fix crash in preferences dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15732 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 13:05:07 +00:00
Georg Baum
f2025c20e9 Convert the CREDITS file to utf8 and spell Ugras' name correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15731 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 12:46:00 +00:00
Jürgen Spitzmüller
8e5a1c0075 status update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15730 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 11:09:39 +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
Abdelrazak Younes
8b7cc1b498 Convert to unicode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15728 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 11:03:14 +00:00
Georg Baum
8d9df8bce5 fix gcc warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15727 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 09:47:14 +00:00
Abdelrazak Younes
1ea98747b5 More bugs from Edwin and Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15726 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 08:27:39 +00:00
Abdelrazak Younes
9b2f3933bd Debugging Spree.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15725 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 08:07:24 +00:00
Abdelrazak Younes
5c57bee5b9 * WorkArea
- hasFocus(): new pure virtual method
  - redraw(): update singlePar only if the Widget has the focusInEvent

* GuiWorkArea.h: implement hasFocus().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15724 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 07:29:25 +00:00
Abdelrazak Younes
f8b75dc40f * QLPainter::text(): Put the debug message in Debug::PAINTING
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15723 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 07:26:45 +00:00
Michael Schmitt
05c0c1c24e * src/MenuBackend.C: fix localization bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15722 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 23:17:51 +00:00
Michael Schmitt
717b9e80d5 * po/cs.po: update by Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15721 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 23:04:08 +00:00
Michael Schmitt
4d52567187 * lib/Makefile.am: install new change tracking icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15720 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 22:06:50 +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
Michael Schmitt
c03d25bed1 po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15718 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 20:24:43 +00:00
Michael Schmitt
4a0b04d4c2 * Makefile.in.in: look for Toolbar entries, not for Toolbars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15717 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 20:20:38 +00:00