]> git.lyx.org Git - lyx.git/log
lyx.git
17 years ago * Status.15x: all button and label texts are not translated
Michael Schmitt [Sun, 5 Nov 2006 17:09:14 +0000 (17:09 +0000)]
* 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

17 years agoBug Fix: Window title was not updated in new window.
Abdelrazak Younes [Sun, 5 Nov 2006 15:34:18 +0000 (15:34 +0000)]
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

17 years ago* src/frontends/qt4/panelstack.C:
Jürgen Spitzmüller [Sun, 5 Nov 2006 12:30:12 +0000 (12:30 +0000)]
* 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

17 years ago* src/client/messages.C: add missing #include <cerrno>
Jürgen Spitzmüller [Sun, 5 Nov 2006 12:26:31 +0000 (12:26 +0000)]
* 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

17 years agoFix MSVC warning.
Abdelrazak Younes [Sun, 5 Nov 2006 12:22:05 +0000 (12:22 +0000)]
Fix MSVC warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15747 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove faulty FIXMEs. I was confused.
Georg Baum [Sun, 5 Nov 2006 11:52:45 +0000 (11:52 +0000)]
remove faulty FIXMEs. I was confused.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15746 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * client/messages.C: add missing #include
Michael Schmitt [Sun, 5 Nov 2006 11:47:14 +0000 (11:47 +0000)]
    * client/messages.C: add missing #include

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15745 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * Status.15x: announce prizes; add missing bug reports;
Michael Schmitt [Sun, 5 Nov 2006 11:32:54 +0000 (11:32 +0000)]
* 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

17 years agoFix comment according to Enricos explanation
Georg Baum [Sun, 5 Nov 2006 08:53:52 +0000 (08:53 +0000)]
Fix comment according to Enricos explanation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15743 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agostore temporary PDF files outside the LyX tmpbuf to prevent file locking problems...
Joost Verburg [Sat, 4 Nov 2006 23:06:14 +0000 (23:06 +0000)]
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

17 years agoResolve link problems of tex2lyx and client by removing the extra gettext.h
Georg Baum [Sat, 4 Nov 2006 18:12:57 +0000 (18:12 +0000)]
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

17 years agoNew nomenclature inset from Ugras
Georg Baum [Sat, 4 Nov 2006 17:55:36 +0000 (17:55 +0000)]
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

17 years agomade some categories and added more bugs
Joost Verburg [Sat, 4 Nov 2006 15:47:35 +0000 (15:47 +0000)]
made some categories and added more bugs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15738 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* src/frontends/qt4/QBranches.C:
Jürgen Spitzmüller [Sat, 4 Nov 2006 15:08:53 +0000 (15:08 +0000)]
* 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

17 years agoPreparation for the nomencl inset: Add {} in InsetCommand rather than
Georg Baum [Sat, 4 Nov 2006 14:55:15 +0000 (14:55 +0000)]
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

17 years agoTiny unicode optimization: avoid ucs4->utf8->ucs4 roundtrip
Georg Baum [Sat, 4 Nov 2006 14:40:59 +0000 (14:40 +0000)]
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

17 years agoLyX 1.5 Windows installer
Joost Verburg [Sat, 4 Nov 2006 14:28:11 +0000 (14:28 +0000)]
LyX 1.5 Windows installer

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15734 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix crash in preferences dialog
Peter Kümmel [Sat, 4 Nov 2006 13:05:07 +0000 (13:05 +0000)]
fix crash in preferences dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15732 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoConvert the CREDITS file to utf8 and spell Ugras' name correctly.
Georg Baum [Sat, 4 Nov 2006 12:46:00 +0000 (12:46 +0000)]
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

17 years agostatus update
Jürgen Spitzmüller [Sat, 4 Nov 2006 11:09:39 +0000 (11:09 +0000)]
status update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15730 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* lib/images/*.xpm:
Jürgen Spitzmüller [Sat, 4 Nov 2006 11:06:43 +0000 (11:06 +0000)]
* 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

17 years agoConvert to unicode.
Abdelrazak Younes [Sat, 4 Nov 2006 11:03:14 +0000 (11:03 +0000)]
Convert to unicode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15728 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix gcc warnings
Georg Baum [Sat, 4 Nov 2006 09:47:14 +0000 (09:47 +0000)]
fix gcc warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15727 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMore bugs from Edwin and Bennett.
Abdelrazak Younes [Sat, 4 Nov 2006 08:27:39 +0000 (08:27 +0000)]
More bugs from Edwin and Bennett.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15726 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoDebugging Spree.
Abdelrazak Younes [Sat, 4 Nov 2006 08:07:24 +0000 (08:07 +0000)]
Debugging Spree.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15725 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* WorkArea
Abdelrazak Younes [Sat, 4 Nov 2006 07:29:25 +0000 (07:29 +0000)]
* 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

17 years ago* QLPainter::text(): Put the debug message in Debug::PAINTING
Abdelrazak Younes [Sat, 4 Nov 2006 07:26:45 +0000 (07:26 +0000)]
* 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

17 years ago * src/MenuBackend.C: fix localization bug
Michael Schmitt [Fri, 3 Nov 2006 23:17:51 +0000 (23:17 +0000)]
* src/MenuBackend.C: fix localization bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15722 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/cs.po: update by Pavel Sanda
Michael Schmitt [Fri, 3 Nov 2006 23:04:08 +0000 (23:04 +0000)]
* po/cs.po: update by Pavel Sanda

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15721 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * lib/Makefile.am: install new change tracking icons
Michael Schmitt [Fri, 3 Nov 2006 22:06:50 +0000 (22:06 +0000)]
* 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

17 years ago * lib/images/*.xpm: add icons for the "review" toolbar
Michael Schmitt [Fri, 3 Nov 2006 22:03:11 +0000 (22:03 +0000)]
* 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

17 years ago po/*.po: remerge
Michael Schmitt [Fri, 3 Nov 2006 20:24:43 +0000 (20:24 +0000)]
    po/*.po: remerge

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15718 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * Makefile.in.in: look for Toolbar entries, not for Toolbars
Michael Schmitt [Fri, 3 Nov 2006 20:20:38 +0000 (20:20 +0000)]
    * 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

17 years agoScons: getext/unicode support for tex2lyx (ignore src/tex2lyx/gettext.* and use src...
Bo Peng [Fri, 3 Nov 2006 18:49:56 +0000 (18:49 +0000)]
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

17 years ago* update dialog when changing lyx display settings.
Edwin Leuven [Fri, 3 Nov 2006 16:34:06 +0000 (16:34 +0000)]
* update dialog when changing lyx display settings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15715 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd code for debugging inset metrics (switched off by default)
Georg Baum [Fri, 3 Nov 2006 15:39:58 +0000 (15:39 +0000)]
Add code for debugging inset metrics (switched off by default)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15714 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix problem with non-ascii branch names by converting more stuff to
Georg Baum [Fri, 3 Nov 2006 15:16:45 +0000 (15:16 +0000)]
Fix problem with non-ascii branch names by converting more stuff to
docstring.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15713 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/mathed/MathParser.C
Georg Baum [Fri, 3 Nov 2006 15:05:14 +0000 (15:05 +0000)]
* src/mathed/MathParser.C
(Parser::parse1): Fix special handling of {}-bases to not destroy
\xxx{\vec{H}}_0 where \xxx is an unknown command

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15712 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate Bo Peng's credits. :-)
Bo Peng [Fri, 3 Nov 2006 15:00:26 +0000 (15:00 +0000)]
update Bo Peng's credits. :-)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15711 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoTiny update
Lars Gullik Bjønnes [Fri, 3 Nov 2006 14:48:49 +0000 (14:48 +0000)]
Tiny update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15710 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agostart lyx namespace after header files
Joost Verburg [Fri, 3 Nov 2006 12:36:51 +0000 (12:36 +0000)]
start lyx namespace after header files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15709 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd UTF-8 as an option for encoding
José Matox [Fri, 3 Nov 2006 12:13:57 +0000 (12:13 +0000)]
Add UTF-8 as an option for encoding

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15708 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* reorganisation of graphics dialog
Edwin Leuven [Fri, 3 Nov 2006 11:24:27 +0000 (11:24 +0000)]
* reorganisation of graphics dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15707 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate Peter Kuemmel's credits
Peter Kümmel [Fri, 3 Nov 2006 11:22:50 +0000 (11:22 +0000)]
update Peter Kuemmel's credits

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15706 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoenable utf8 since lyx2lyx already reverts it
Georg Baum [Fri, 3 Nov 2006 10:38:30 +0000 (10:38 +0000)]
enable utf8 since lyx2lyx already reverts it

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15704 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix thinko in Buffer::makeLaTeXFile
Georg Baum [Fri, 3 Nov 2006 10:35:41 +0000 (10:35 +0000)]
Fix thinko in Buffer::makeLaTeXFile
* src/encoding.[Ch]
(getEncoding): rename to getFromLyXName
(getFromLaTeXName): new, it does what the name says

* src/buffer.C
(Buffer::makeLaTeXFile): Fix crash by using getFromLaTeXName instead
of getFromLyXName.
Avoid crash for unknown encodings.

* src/language.C
(Languages::read): Adjust to name change above

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15703 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix singlePar update. This should result in a nice speed improvment for Mac.
Abdelrazak Younes [Fri, 3 Nov 2006 10:32:30 +0000 (10:32 +0000)]
Fix singlePar update. This should result in a nice speed improvment for Mac.

* buffer.h: changed() signal now emit a singlePar boolean.

* WorkArea::redraw(): acknowledge singlePar changed() boolean

* LyXView.C: adapt signal connection to changed() signal change.

* lyxfunc.C: transmit the singlePar flag with the Buffer::changed() signal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15702 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoreturn something for msvc
Peter Kümmel [Fri, 3 Nov 2006 10:27:47 +0000 (10:27 +0000)]
return something for msvc

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15701 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodisable scrollbar when it is not needed, especially for the empty start up window
Peter Kümmel [Fri, 3 Nov 2006 09:23:52 +0000 (09:23 +0000)]
disable scrollbar when it is not needed, especially for the empty start up window

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15700 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago- Sort lyxlex table
Asger Ottar Alstrup [Fri, 3 Nov 2006 08:17:26 +0000 (08:17 +0000)]
- Sort lyxlex table
- Get rid of setRenderHint for anti-aliasing, because we should respect user windows setting

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15699 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoForgot this...
Abdelrazak Younes [Fri, 3 Nov 2006 00:21:48 +0000 (00:21 +0000)]
Forgot this...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15698 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix multi-window resize bug:
Abdelrazak Younes [Thu, 2 Nov 2006 23:55:49 +0000 (23:55 +0000)]
Fix multi-window resize bug:
Use case: Two window share the same buffer. The first window is resize. This modify the inner Buffer structure because Paragraph has a notion of line break and thus line width. When switching to the other window which does not have the same size, LyX crashes because the line break is not adapted the this BufferView width.

This commit fix the crash by resizing the BufferView on a focusInEvent(). That is not a good fix but it is a fix nevertheless. The bad side effect is that when the two BufferView shows the same portion of the Buffer, the second BufferView will show the same line breaks as the first one even though those line breaks are not adapted to the second BufferView width... such is life!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15697 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix remaining toolbar/session issues
Bo Peng [Thu, 2 Nov 2006 23:14:31 +0000 (23:14 +0000)]
Fix remaining toolbar/session issues

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15696 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago- restore a backing pixmap painting strategy: the pixmap is drawn at expose() time.
Abdelrazak Younes [Thu, 2 Nov 2006 22:53:10 +0000 (22:53 +0000)]
- restore a backing pixmap painting strategy: the pixmap is drawn at expose() time.
- the cursor is still a widget, the width is 2-pixel on Windows and 1-pixel on other platforms. The full screen refresh on blinking cursor bug is now gone.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15695 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoenable selection with the mouse for math and tables
Peter Kümmel [Thu, 2 Nov 2006 22:23:26 +0000 (22:23 +0000)]
enable selection with the mouse for math and tables
    Qt doc for QMouseEvent::button():
         Note that the returned value is always Qt::NoButton for mouse move events.
    so we must use buttons() instead because later on
    the code checks for the left button.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15693 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoPrettier view->toolbars menu.
Bo Peng [Thu, 2 Nov 2006 18:59:33 +0000 (18:59 +0000)]
Prettier view->toolbars menu.
* src/lyxfunc.C: better handle LFUN_TOOLBAR_TOGGLE_STATE
* src/frontends/LyXView.h/C: add getToolbarState
* src/frontends/Toolbars.h/C: add getToolbarState
* src/MenuBackend.C: change display of menu item.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15692 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoSession/Toolbars:
Bo Peng [Thu, 2 Nov 2006 16:01:36 +0000 (16:01 +0000)]
Session/Toolbars:
* src/LyXAction.C: LFUN_TOOLBAR_TOGGLE_STATE
* src/session.h/C: add ToolbarSection class
* src/lyxfunc.C: handle LFUN_TOOLBAR_TOGGLE_STATE
* src/frontends/LyXView.h/C: toggleToolbarState(name)
* src/frontends/Toolbars.h/C: initFlags, toogle and save toolbar,
    changed update logic
* src/frontends/qt4/QLToolbar.h/C: saveInfo. Surprisingly little is
    asked from frontend.
* src/frontends/qt4/GuiView.C: save toolbar when lyx exits
* src/MenuBackend.h/C: add Toolbars submenu
* src/lfuns.h: add LFUN_TOOLBAR_TOGGLE_STATE
* src/ToolbarBackend.h: add AUTO flag
* lib/ui/stdmenus.ui: add view->Toolbar menu

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15691 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoSmall update
Lars Gullik Bjønnes [Thu, 2 Nov 2006 12:09:54 +0000 (12:09 +0000)]
Small update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15690 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoput UNICODE FIXMEs where they belong
Georg Baum [Thu, 2 Nov 2006 10:16:21 +0000 (10:16 +0000)]
put UNICODE FIXMEs where they belong

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15689 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agobookmarks: allow go to bookmark at any time (new window without buffer)
Bo Peng [Wed, 1 Nov 2006 23:20:53 +0000 (23:20 +0000)]
bookmarks: allow go to bookmark at any time (new window without buffer)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15687 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoThis commit initialise correctly the tab bar in a new window.
Abdelrazak Younes [Wed, 1 Nov 2006 22:57:32 +0000 (22:57 +0000)]
This commit initialise correctly the tab bar in a new window.

* GuiView::init(): switch to the first avalaible buffer if any.

* GuiWorkArea::focusInEvent(): update the LyXView tab bar there.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15685 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * text.C: fix another change tracking FIXME
Michael Schmitt [Wed, 1 Nov 2006 21:17:56 +0000 (21:17 +0000)]
* text.C: fix another change tracking FIXME

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15680 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/de.po: fix the most annoying messages
Michael Schmitt [Wed, 1 Nov 2006 21:13:25 +0000 (21:13 +0000)]
* po/de.po: fix the most annoying messages

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15679 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * text.C: remove FIXME for change tracking; the
Michael Schmitt [Wed, 1 Nov 2006 18:53:06 +0000 (18:53 +0000)]
* text.C: remove FIXME for change tracking; the
code is fine as it is

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15678 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodisable scrollbar when it is not needed, especially for the empty start up window
Peter Kümmel [Wed, 1 Nov 2006 17:51:56 +0000 (17:51 +0000)]
disable scrollbar when it is not needed, especially for the empty start up window

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15677 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/paragraph.h:
Michael Schmitt [Wed, 1 Nov 2006 17:51:41 +0000 (17:51 +0000)]
* src/paragraph.h:
* src/paragraph_pimpl.C:
* src/paragraph_pimpl.h:
* src/paragraph.C: get rid of unused method setContentsFromPar()
and remove another change tracking FIXME at the same time

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15676 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix compile error
Georg Baum [Wed, 1 Nov 2006 17:06:17 +0000 (17:06 +0000)]
fix compile error

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15675 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd MinSizeRel as project which only uses STL and Boost pchs
Peter Kümmel [Wed, 1 Nov 2006 16:11:28 +0000 (16:11 +0000)]
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

17 years agoNew bookmarks implementation:
Bo Peng [Wed, 1 Nov 2006 15:55:17 +0000 (15:55 +0000)]
New bookmarks implementation:
* src/lyxfunc.C: handle LFUN_BOOKMARK_GOTO and LFUN_BOOKMARK_CLEAR
* src/session.h/C: store bookmarks here.
* src/lfuns.h, src/LyXAction.C: add LFUN_BOOKMARK_CLEAR
* src/BufferView.h/C: remove saved_positions, move LFUN_BOOKMARK_GOTO to lyxfunc.C
* src/MenuBackend.h/C: add Bookmarks menu type
* lib/ui/stdmenus.ui: change bookmarks menu items

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15673 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/.po: remerge again (last time for today)
Michael Schmitt [Wed, 1 Nov 2006 15:34:51 +0000 (15:34 +0000)]
* po/.po: remerge again (last time for today)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15672 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/ru.po:
Michael Schmitt [Wed, 1 Nov 2006 15:27:09 +0000 (15:27 +0000)]
* po/ru.po:
* po/sk.po:
* po/sl.po:
* po/tr.po: remerge with better 1.4 translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15671 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/nl.po:
Michael Schmitt [Wed, 1 Nov 2006 15:22:10 +0000 (15:22 +0000)]
* po/nl.po:
* po/nn.po:
* po/pl.po:
* po/ro.po: remerge with better 1.4 translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15670 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoforgot this
Georg Baum [Wed, 1 Nov 2006 15:09:32 +0000 (15:09 +0000)]
forgot this

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15668 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix more invalid documents: s/\\color default/\\color inherit/
Georg Baum [Wed, 1 Nov 2006 14:55:38 +0000 (14:55 +0000)]
Fix more invalid documents: s/\\color default/\\color inherit/

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15666 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd link to Qt bug
Peter Kümmel [Wed, 1 Nov 2006 14:40:02 +0000 (14:40 +0000)]
add link to Qt bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15665 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/fi.po:
Michael Schmitt [Wed, 1 Nov 2006 14:36:07 +0000 (14:36 +0000)]
* po/fi.po:
* po/fr.po:
* po/hu.po:
* po/it.po: remerge with the better 1.4 translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15664 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoenable precompile headers only for the Debug and Release build
Peter Kümmel [Wed, 1 Nov 2006 14:32:17 +0000 (14:32 +0000)]
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

17 years ago * po/da.po:
Michael Schmitt [Wed, 1 Nov 2006 14:28:40 +0000 (14:28 +0000)]
* po/da.po:
* po/de.po:
* po/es.po:
* po/eu.po: remerge with 1.4.X translations (which covered more messages)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15662 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix crash when reconfigure is called without Buffer nor BufferView.
Abdelrazak Younes [Wed, 1 Nov 2006 13:14:21 +0000 (13:14 +0000)]
Fix crash when reconfigure is called without Buffer nor BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15661 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/*.po: remerge files
Michael Schmitt [Wed, 1 Nov 2006 13:05:37 +0000 (13:05 +0000)]
    * po/*.po: remerge files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15660 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoDescribe beamer in LaTeX class list
Georg Baum [Wed, 1 Nov 2006 10:20:40 +0000 (10:20 +0000)]
Describe beamer in LaTeX class list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15657 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodefine missing color
Georg Baum [Wed, 1 Nov 2006 10:06:31 +0000 (10:06 +0000)]
define missing color

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15656 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix generation of invalid LyX files
Georg Baum [Wed, 1 Nov 2006 09:38:54 +0000 (09:38 +0000)]
Fix generation of invalid LyX files
* src/lyxfont.C
(LyXFont::lyxWriteChanges): Don't change color "inherit" to
"default", since that cannot be read in.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15654 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix invalid colors (generated by LyX 1.4.3)
Georg Baum [Wed, 1 Nov 2006 09:22:35 +0000 (09:22 +0000)]
Fix invalid colors (generated by LyX 1.4.3)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15653 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoConvert to new format
Georg Baum [Wed, 1 Nov 2006 08:41:31 +0000 (08:41 +0000)]
Convert to new format

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15652 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/tabular.C: remove change tracking FIXMEs; the code looks OK
Michael Schmitt [Tue, 31 Oct 2006 20:58:12 +0000 (20:58 +0000)]
* src/tabular.C: remove change tracking FIXMEs; the code looks OK

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15648 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd beamer layout file and examople, fresh from the beamer CVS.
Georg Baum [Tue, 31 Oct 2006 20:56:42 +0000 (20:56 +0000)]
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

17 years ago * messages.C: use lyxerr[Debug::DEBUG] rather than lyxerr
Michael Schmitt [Tue, 31 Oct 2006 20:26:25 +0000 (20:26 +0000)]
* messages.C: use lyxerr[Debug::DEBUG] rather than lyxerr
for debug message

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15646 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoOutput a space if pendingSpace() is true and it is actually needed
Enrico Forestieri [Tue, 31 Oct 2006 20:16:47 +0000 (20:16 +0000)]
Output a space if pendingSpace() is true and it is actually needed

* src/mathed/MathStream.C
(isAlpha): new, test whether a lyx::char_type is an ascii letter.
(operator<<): output a space if pendingSpace() is true and what follows
begins with an ascii letter. Also update the number of lines written.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15645 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * rowpainter.C: when checking whether the change
Michael Schmitt [Tue, 31 Oct 2006 20:07:26 +0000 (20:07 +0000)]
    * rowpainter.C: when checking whether the change
        bar has to be painted, also consider the imaginary
        end-of-par character

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15644 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoSupport all xymatrix arguments
Georg Baum [Tue, 31 Oct 2006 19:10:30 +0000 (19:10 +0000)]
Support all xymatrix arguments
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): Add package xy

* src/mathed/InsetMathXYMatrix.[Ch]
(spacing_): New
(spacing_code_): New
(validate): New, require xy package

* src/mathed/InsetMathXYMatrix.C
(InsetMathXYMatrix::write): write spacing_ and spacing_code_
(InsetMathXYMatrix::infoize): output spacing_ and spacing_code_

* src/mathed/MathFactory.C
(createInsetMath): handle special arguments of xymatrix

* src/mathed/MathParser.C
(Parser::parse1): ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15643 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/support/docstream.C
Georg Baum [Tue, 31 Oct 2006 18:54:30 +0000 (18:54 +0000)]
* src/support/docstream.C
(iconv_codecvt_facet::do_max_length): Update to current UTF8
specification and return 4 for UTF8.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15642 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd missing header, forgotten because of the Qt precompiled headers
Peter Kümmel [Tue, 31 Oct 2006 14:57:25 +0000 (14:57 +0000)]
add missing header, forgotten because of the Qt precompiled headers

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15641 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd missing header
Peter Kümmel [Tue, 31 Oct 2006 14:46:38 +0000 (14:46 +0000)]
add missing header

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15640 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoenable movable toolbars
Peter Kümmel [Tue, 31 Oct 2006 14:39:16 +0000 (14:39 +0000)]
enable movable toolbars

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15639 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoenable at least a context-sensitive CT toolbar
Peter Kümmel [Tue, 31 Oct 2006 14:23:15 +0000 (14:23 +0000)]
enable at least a context-sensitive CT toolbar

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15638 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd tab support
Peter Kümmel [Tue, 31 Oct 2006 14:12:46 +0000 (14:12 +0000)]
Add tab support

frontends/LyXView.h
- add tab update function

frontends/qt4/GuiView.h
- add tab update function
- add function for setting up the tabs
- add slot for the tab clicks
- add pimpl

frontends/qt4/GuiImplementation.C
- don't set the buffer as central widget
  but initilize the tabs

frontends/qt4/GuiView.C
- use QTabBar for switching
- scan the bufferlist on updates

frontends/LyXView.C
- also update the tabs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15637 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* frontends/Toolbars.C:
Peter Kümmel [Tue, 31 Oct 2006 13:59:22 +0000 (13:59 +0000)]
* frontends/Toolbars.C:
revert first patch http://www.lyx.org/trac/changeset/15597
* frontends/qt4/GuiView.C:
don't 'break' the toolbar because it doesn't work if
the toolbar will be hidden

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15636 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove references to Qt3/Gtk
Michael Schmitt [Mon, 30 Oct 2006 21:45:37 +0000 (21:45 +0000)]
remove references to Qt3/Gtk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15630 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* LyXText::singleWidth(): remove unneeded Buffer argument.
Abdelrazak Younes [Mon, 30 Oct 2006 20:10:35 +0000 (20:10 +0000)]
* LyXText::singleWidth(): remove unneeded Buffer argument.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15627 a592a061-630c-0410-9148-cb99ea01b6c8