]> git.lyx.org Git - lyx.git/log
lyx.git
17 years ago * po/de.po: more updates
Michael Schmitt [Sun, 22 Apr 2007 11:22:09 +0000 (11:22 +0000)]
* po/de.po: more updates

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

17 years ago * src/mathed/BUGS: remove old stuff
Michael Schmitt [Sun, 22 Apr 2007 10:11:16 +0000 (10:11 +0000)]
* src/mathed/BUGS: remove old stuff

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

17 years ago * src/frontend/qt4/QLToolbar.C: fix translation of toolbar
Michael Schmitt [Sun, 22 Apr 2007 10:05:17 +0000 (10:05 +0000)]
* src/frontend/qt4/QLToolbar.C: fix translation of toolbar

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

17 years ago * po/*.po: remerge again
Michael Schmitt [Sun, 22 Apr 2007 09:32:54 +0000 (09:32 +0000)]
* po/*.po: remerge again

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

17 years ago * po/lyx_pot.py: do not replace \\ by \\\\
Michael Schmitt [Sun, 22 Apr 2007 09:26:14 +0000 (09:26 +0000)]
* po/lyx_pot.py: do not replace \\ by \\\\
this fixes the math panel toolbar problems

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

17 years ago * po/*.po: remerge again
Michael Schmitt [Sun, 22 Apr 2007 09:14:45 +0000 (09:14 +0000)]
* po/*.po: remerge again

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

17 years ago * specials/stdtoolbars.inc: remove outdated file;
Michael Schmitt [Sun, 22 Apr 2007 08:53:26 +0000 (08:53 +0000)]
* specials/stdtoolbars.inc: remove outdated file;
since there is consensus that this file should be indentical on
all platforms and since this file is AFCAIS presently unused,
I kicked it out of the repository

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

17 years ago * images/attic: new directories for (presently) unused icons
Michael Schmitt [Sun, 22 Apr 2007 08:47:49 +0000 (08:47 +0000)]
* images/attic: new directories for (presently) unused icons
* images/dialog-show_mathpanel.xpm: move unused icons to the attic

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

17 years agofix std declaration.
Abdelrazak Younes [Sun, 22 Apr 2007 08:41:50 +0000 (08:41 +0000)]
fix std declaration.

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

17 years agoSatisfy André's Sprachgefühl.
Jürgen Spitzmüller [Sun, 22 Apr 2007 08:37:48 +0000 (08:37 +0000)]
Satisfy André's Sprachgefühl.

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

17 years agoTrying to solve bug-2452, I optimized some of the most significant problems outlined...
Abdelrazak Younes [Sun, 22 Apr 2007 08:26:06 +0000 (08:26 +0000)]
Trying to solve bug-2452, I optimized some of the most significant problems outlined in the profile report attached in there.

This commit avoids unnecessary metrics recalculations by caching the last LyXFont used. I had to cleanup the width(), ascent() and descend() redundancies by transferring that to InsetBase.

InsetMathDim should go now as it is not really needed.

* InsetBase: properly handle inset Dimension.

* InsetOld: get rid of redundant width(), ascent() and descent()

* InsetMathDim: ditto

* InsetMathChar::metrics(): avoid metrics recalculation if font is unchanged.

* InsetMathSymbol::metrics(): ditto

* InsetMathKern: use InsetBase::dim_ instead of local ones.

* InsetMathSpace:
  - use InsetBase::dim_ instead of local ones.
  - space to width transformation transferred to anonymous namespace.

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

17 years agoPass the main window (GuiView) to the delimiter dialog so that it is properly handled...
Abdelrazak Younes [Sun, 22 Apr 2007 07:54:36 +0000 (07:54 +0000)]
Pass the main window (GuiView) to the delimiter dialog so that it is properly handled by the window manager.

* Dialog.h
  - Dialog::Controller::view(): new method.

* QDelimiterDialog::QDelimiterDialog(): pass the Main Window parent.

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

17 years ago* operator==(docstring const & l, char const * r): optimized a bit because it showed...
Abdelrazak Younes [Sat, 21 Apr 2007 22:39:04 +0000 (22:39 +0000)]
* operator==(docstring const & l, char const * r): optimized a bit because it showed a lot in profile.

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

17 years agoOptimisation: remove the inset mailer used in the dtor because it was far from negli...
Abdelrazak Younes [Sat, 21 Apr 2007 22:33:07 +0000 (22:33 +0000)]
Optimisation: remove the inset mailer used in the dtor  because it was far from negligible in profile results with Macro (which is a heavy user of thi MathGrid class). This matrix dialog showing/hiding was not working anyway.

* InsetMathGrid::~InsetMathGrid(): deleted.

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

17 years ago* InsetMathNest::cell(): inlined because of profile.
Abdelrazak Younes [Sat, 21 Apr 2007 22:28:21 +0000 (22:28 +0000)]
* InsetMathNest::cell(): inlined because of profile.

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

17 years ago * frontends/LyXView.h:
Michael Schmitt [Sat, 21 Apr 2007 17:38:43 +0000 (17:38 +0000)]
* frontends/LyXView.h:
* frontends/qt4/GuiView.C:
* frontends/qt4/GuiView.h:
* frontends/qt4/QLToolbar.C:
* frontends/Toolbars.C:
* frontends/Toolbars.h:
* ToolbarBackend.C: use better names for ToolbarInfo variables

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

17 years ago * po/de.po: some updates
Michael Schmitt [Sat, 21 Apr 2007 15:48:36 +0000 (15:48 +0000)]
* po/de.po: some updates

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

17 years ago * src/frontend/qt4/ui/QDelimiter.ui: add space to unused label such
Michael Schmitt [Sat, 21 Apr 2007 15:29:55 +0000 (15:29 +0000)]
* src/frontend/qt4/ui/QDelimiter.ui: add space to unused label such
that no extra entry is created in the po files

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

17 years ago * po/*.po: remerge again (3 new messages)
Michael Schmitt [Sat, 21 Apr 2007 14:48:59 +0000 (14:48 +0000)]
* po/*.po: remerge again (3 new messages)

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

17 years ago * po/gl.po: set eol-style to native
Michael Schmitt [Sat, 21 Apr 2007 14:44:52 +0000 (14:44 +0000)]
* po/gl.po: set eol-style to native

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

17 years ago * src/frontends/controllers/ControlMath.h: remove reference to
Michael Schmitt [Sat, 21 Apr 2007 13:30:27 +0000 (13:30 +0000)]
* src/frontends/controllers/ControlMath.h: remove reference to
math panel dialog
* lib/Makefile.am: do not install images/dialog-show_mathpanel.xpm
* lib/bind/aqua.bind: remove math-panel binding
* development/scons/scons_manifest.py: remove QMathDialog.C and
dialog-show_mathpanel.xpm

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

17 years ago* src/frontends/qt4/ui/QTocUI.ui: add tooltips.
Jürgen Spitzmüller [Sat, 21 Apr 2007 13:22:28 +0000 (13:22 +0000)]
* src/frontends/qt4/ui/QTocUI.ui: add tooltips.

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

17 years ago * lib/bind/cua.bind: whitespace change only
Michael Schmitt [Sat, 21 Apr 2007 13:20:45 +0000 (13:20 +0000)]
* lib/bind/cua.bind: whitespace change only

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

17 years ago * Status.15x: remove obsolete file
Michael Schmitt [Sat, 21 Apr 2007 12:59:33 +0000 (12:59 +0000)]
* Status.15x: remove obsolete file

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

17 years agoBack to svn version
José Matox [Sat, 21 Apr 2007 12:19:32 +0000 (12:19 +0000)]
Back to svn version

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

17 years agoBeta 2 1.5.0beta2
José Matox [Sat, 21 Apr 2007 12:17:30 +0000 (12:17 +0000)]
Beta 2

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

17 years agoNew po remerge for beta 2 release (now for real).
José Matox [Sat, 21 Apr 2007 10:05:12 +0000 (10:05 +0000)]
New po remerge for beta 2 release (now for real).

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

17 years agoPrepare release notes for beta 2.
José Matox [Sat, 21 Apr 2007 09:56:15 +0000 (09:56 +0000)]
Prepare release notes for beta 2.

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

17 years agoFix bug 2884 and 3437:
Jürgen Spitzmüller [Sat, 21 Apr 2007 08:43:46 +0000 (08:43 +0000)]
Fix bug 2884 and 3437:

* src/insets/insetbase.h:
* src/insets/insetcollapsable.h:
- make isFixedWidth (former insetcollapsable member) a member of insetbase.
src/insets/insettext.h:
- make border_ public (needed by insetcollapsable).
src/insets/insettext.C (draw, drawSelection):
- adjust drawing for fixed width insets
* src/insets/insetcollapsable.C (metrics):
- adjust dimension for fixed width insets
src/insets/insetbox.C (metrics):
- properly calculate metrics for fixed width insets.

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

17 years ago* remove math panel menu entry and allow auto toggling of panel toolbar
Edwin Leuven [Sat, 21 Apr 2007 08:30:41 +0000 (08:30 +0000)]
* remove math panel menu entry and allow auto toggling of panel toolbar

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

17 years agoUpdate translation for Czech from Pavel Sanda and update POTFILES.in due to changes...
José Matox [Sat, 21 Apr 2007 07:25:05 +0000 (07:25 +0000)]
Update translation for Czech from Pavel Sanda and update POTFILES.in due to changes in math toolbar

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

17 years ago* remove spellcheck button from extra toolbar (since it is main one)
Edwin Leuven [Fri, 20 Apr 2007 12:32:42 +0000 (12:32 +0000)]
* remove spellcheck button from extra toolbar (since it is main one)

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

17 years agoCompilation fixes:
Jürgen Spitzmüller [Fri, 20 Apr 2007 07:29:02 +0000 (07:29 +0000)]
Compilation fixes:

* src/frontends/qt4/iconpallete.h: add missing header
* src/frontends/qt4/Makefile.dialogs: remove removed math panel dialog.

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

17 years agoinstaller: better explanation as suggested by Christian
Uwe Stöhr [Fri, 20 Apr 2007 01:15:47 +0000 (01:15 +0000)]
installer: better explanation as suggested by Christian

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

17 years ago* remove old iconpalette (and rename iconpanel to iconpalette)
Edwin Leuven [Thu, 19 Apr 2007 22:01:28 +0000 (22:01 +0000)]
* remove old iconpalette (and rename iconpanel to iconpalette)

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

17 years ago* removal of math panel
Edwin Leuven [Thu, 19 Apr 2007 21:42:42 +0000 (21:42 +0000)]
* removal of math panel
  some code is moved from QMath
  to QDelimiterDialog and QMathMatrixDialog
  for the rest pretty mechanical

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

17 years ago* include missing header (msvc complains)
Edwin Leuven [Thu, 19 Apr 2007 21:26:38 +0000 (21:26 +0000)]
* include missing header (msvc complains)

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

17 years agoScons: build installer only in release mode
Bo Peng [Thu, 19 Apr 2007 21:17:45 +0000 (21:17 +0000)]
Scons: build installer only in release mode

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

17 years ago* change dimensions of a couple of icons so that scaling in Qt doesn't not screw...
Edwin Leuven [Thu, 19 Apr 2007 20:37:44 +0000 (20:37 +0000)]
* change dimensions of a couple of icons so that scaling in Qt doesn't not screw up...

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

17 years ago* Action.[Ch]
Edwin Leuven [Thu, 19 Apr 2007 20:29:27 +0000 (20:29 +0000)]
* Action.[Ch]
add signal that provides action when triggered

* ToolbarBackend.[Ch]
add popupmenu and iconpallete item types

* QLToolbar.[Ch]
take care of popupmenu and iconpallete

* stdtoolbars.inc
add panels and menus (and move spellchecker to main ;-)

* functions.xpm
icon for function list

* iconpalette.[Ch]
new iconpanel that will replace old iconpalette,
als subclass of qmenu that updates parent toolbutton

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

17 years ago* Refactoring of ToolbarBackend.[Ch] into
Edwin Leuven [Thu, 19 Apr 2007 19:43:15 +0000 (19:43 +0000)]
* Refactoring of ToolbarBackend.[Ch] into
  toolbaritems, toolbar(info) and backend

  stdtoolbars.inc now defines the toolbars inbetween
  a ToolbarSet/End tag just as the menus

* the other files contain straightforward changes
  because of the toolbarbackend refactoring

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

17 years agoPrepare for beta 2.
José Matox [Thu, 19 Apr 2007 19:04:14 +0000 (19:04 +0000)]
Prepare for beta 2.

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

17 years agoFix encoding problem with previous checkin.
Richard Heck [Thu, 19 Apr 2007 17:32:59 +0000 (17:32 +0000)]
Fix encoding problem with previous checkin.

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

17 years agoFix some shortcut issues with the converters subdialog. Problem was that some shortcu...
Richard Heck [Thu, 19 Apr 2007 17:29:59 +0000 (17:29 +0000)]
Fix some shortcut issues with the converters subdialog. Problem was that some shortcuts defined here are also defined in the main preferences dialog, and some were doubly defined here, too. Also set focus proxy for definitions group box.

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

17 years ago* QCommandBuffer::complete(): Add connection to QListWidget::itemActivated() in order...
Abdelrazak Younes [Thu, 19 Apr 2007 16:43:09 +0000 (16:43 +0000)]
* QCommandBuffer::complete(): Add connection to QListWidget::itemActivated() in order to select in the help list with "Enter".

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

17 years ago* src/frontends/qt4/ui/QPrefConvertersUI.ui: lay out in a grid (fixes bug 3476)
Jürgen Spitzmüller [Thu, 19 Apr 2007 16:37:39 +0000 (16:37 +0000)]
* src/frontends/qt4/ui/QPrefConvertersUI.ui: lay out in a grid (fixes bug 3476)

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

17 years ago[3432] Adds Ctrl-Tab and Ctrl-Shift-Tab as bindings for buffer-next and buffer-previous.
Richard Heck [Thu, 19 Apr 2007 16:22:21 +0000 (16:22 +0000)]
[3432] Adds Ctrl-Tab and Ctrl-Shift-Tab as bindings for buffer-next and buffer-previous.

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

17 years agoFix bug 2466 by Stefan Schimanski:
Abdelrazak Younes [Thu, 19 Apr 2007 13:37:17 +0000 (13:37 +0000)]
Fix bug 2466 by Stefan Schimanski:

If the cursor is currently in macro mode (e.g. the user is typing \fra, but
hasn't finished the command \frac) macros shouldn't be updated.
Another forced screen update is needed if the user leaves macro mode just with
the cursor right key (which doesn't trigger full screen updates itself).

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

17 years agoSwitch to an Icon View mode in the symbol lists.
Abdelrazak Younes [Thu, 19 Apr 2007 12:25:58 +0000 (12:25 +0000)]
Switch to an Icon View mode in the symbol lists.

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

17 years agoFix bug 3460:
Abdelrazak Younes [Thu, 19 Apr 2007 08:22:41 +0000 (08:22 +0000)]
Fix bug 3460:
http://bugzilla.lyx.org/show_bug.cgi?id=3460

The problem was that the list_items map is ordered by key.

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

17 years agoInstaller: uninstaller fixes and infrastructure changes:
Uwe Stöhr [Thu, 19 Apr 2007 00:55:52 +0000 (00:55 +0000)]
Installer: uninstaller fixes and infrastructure changes:
- the uninstaller is now ready for uninstalling without admin permissions
- uninstalling does now correctly work after using the Update installer

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

17 years agoTutorial.lyx: fix menu name
Uwe Stöhr [Wed, 18 Apr 2007 20:59:43 +0000 (20:59 +0000)]
Tutorial.lyx: fix menu name

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

17 years ago * QDelimiterDialog.C: make "TeX Code:" translatable
Michael Schmitt [Wed, 18 Apr 2007 19:52:32 +0000 (19:52 +0000)]
* QDelimiterDialog.C: make "TeX Code:" translatable
* ui/QDelimiterUi.ui: fix (unused) message - single \'s caused gettext problems

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

17 years ago * src/frontends/qt4/ui/QPrefConvertersUi.ui: add missing ':' in label
Michael Schmitt [Wed, 18 Apr 2007 19:36:12 +0000 (19:36 +0000)]
* src/frontends/qt4/ui/QPrefConvertersUi.ui: add missing ':' in label
* po/de.po: adjust

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

17 years ago po/de.po: update
Michael Schmitt [Wed, 18 Apr 2007 19:24:14 +0000 (19:24 +0000)]
po/de.po: update

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

17 years ago * layouts/g-brief2.layout: return to static margins
Michael Schmitt [Wed, 18 Apr 2007 16:06:49 +0000 (16:06 +0000)]
* layouts/g-brief2.layout: return to static margins

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

17 years agoFix bug 3454 and 3463: Don't allow ill-formed commands. With this commit an error...
Abdelrazak Younes [Wed, 18 Apr 2007 12:59:07 +0000 (12:59 +0000)]
Fix bug 3454 and 3463: Don't allow ill-formed commands. With this commit an error dialog will be shown to the user if the inset parameters were wrong upon creation. This patch uses exceptions.

* factory.C::createInset(): catch eventual exception.
* InsetCommandParams::read(): throw warning exception in case of errors.

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

17 years agocommit again the drawing fix of revision 17826. This was accidentally reverted in...
Abdelrazak Younes [Wed, 18 Apr 2007 09:59:02 +0000 (09:59 +0000)]
commit again the drawing fix of revision 17826. This was accidentally reverted in revision 17841.

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

17 years agoStyle cleanup and tex code display bug correction.
Abdelrazak Younes [Wed, 18 Apr 2007 09:44:24 +0000 (09:44 +0000)]
Style cleanup and tex code display bug correction.

* bigleft, bigright: move empty item from last to first to synchronize it with GUI representation
* fix_name(): add FIXME for Enrico
* updateTeXCode():
  - move C-style string declaration.
  - simplify empty string  logic.

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

17 years agoEmbeddedObjects: small updates
Uwe Stöhr [Tue, 17 Apr 2007 21:10:00 +0000 (21:10 +0000)]
EmbeddedObjects: small updates

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

17 years agoes_Extended.lyx: fix guillemets for hyperref
Uwe Stöhr [Tue, 17 Apr 2007 20:54:03 +0000 (20:54 +0000)]
es_Extended.lyx: fix guillemets for hyperref

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

17 years agofix bug 3456 and 3457
Uwe Stöhr [Tue, 17 Apr 2007 20:04:15 +0000 (20:04 +0000)]
fix bug 3456 and 3457
http://bugzilla.lyx.org/show_bug.cgi?id=3456
http://bugzilla.lyx.org/show_bug.cgi?id=3457

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

17 years agoFix for bug 3321. Changed error message.
Richard Heck [Tue, 17 Apr 2007 17:57:57 +0000 (17:57 +0000)]
Fix for bug 3321. Changed error message.

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

17 years agoFix for bug 3423: Add check for gimp-remote before check for gimp.
Richard Heck [Tue, 17 Apr 2007 17:52:02 +0000 (17:52 +0000)]
Fix for bug 3423: Add check for gimp-remote before check for gimp.

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

17 years agoFix Andre's name.
Abdelrazak Younes [Tue, 17 Apr 2007 16:58:59 +0000 (16:58 +0000)]
Fix Andre's name.

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

17 years agoReal fix for bug 1395 by Stefan Schimanski, this commit replace the one done at revis...
Abdelrazak Younes [Tue, 17 Apr 2007 16:52:43 +0000 (16:52 +0000)]
Real fix for bug 1395 by Stefan Schimanski, this commit replace the one done at revision 17836 which was reverted!

Locking counter added to MacroData: it is increased before drawing/
metric calculations and decreased afterwards in InsetMathMacro. If a
macro is already locked at that point, "Self reference: \foo" is
drawn instead of the macro definition to avoid endless loops.
Moreover inside of the arguments of the macro the counter is
temporarily decreased as those cases do not cause loops. (fixes bug
#1395)

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

17 years agoRevert to revision 17835: I applied the wrong tree!
Abdelrazak Younes [Tue, 17 Apr 2007 16:49:17 +0000 (16:49 +0000)]
Revert to revision 17835: I applied the wrong tree!

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

17 years agostyle correction.
Abdelrazak Younes [Tue, 17 Apr 2007 16:35:13 +0000 (16:35 +0000)]
style correction.

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

17 years agoFix compilation. Use BOOST_ASSERT instead of assert()
Abdelrazak Younes [Tue, 17 Apr 2007 15:59:47 +0000 (15:59 +0000)]
Fix compilation. Use BOOST_ASSERT instead of assert()

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

17 years agoFix bug 2993: mark buffer dirty when the status of a collapsable inset is changed
Bo Peng [Tue, 17 Apr 2007 14:35:27 +0000 (14:35 +0000)]
Fix bug 2993: mark buffer dirty when the status of a collapsable inset is changed

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

17 years agoFix bug 1395 by Stefan Schimanski:
Abdelrazak Younes [Tue, 17 Apr 2007 13:15:00 +0000 (13:15 +0000)]
Fix bug 1395 by Stefan Schimanski:

Locking counter added to MacroData: it is increased before drawing/
metric calculations and decreased afterwards in InsetMathMacro. If a
macro is already locked at that point, "Self reference: \foo" is
drawn instead of the macro definition to avoid endless loops.
Moreover inside of the arguments of the macro the counter is
temporarily decreased as those cases do not cause loops. (fixes bug
#1395)

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

17 years agoFix loop when opening TOC widget in an empty document, basically by Richard Heck.
Jürgen Spitzmüller [Tue, 17 Apr 2007 10:27:53 +0000 (10:27 +0000)]
Fix loop when opening TOC widget in an empty document, basically by Richard Heck.

* src/frontends/qt4/TocWidget.[Ch]:
- rename enableButtons to enableControls and include slider enabling/disabling
- only set slider if there is some content

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

17 years agoCaptions do not accept alignment, spacing, etc.
Richard Heck [Tue, 17 Apr 2007 03:46:55 +0000 (03:46 +0000)]
Captions do not accept alignment, spacing, etc.

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

17 years agoIntro.lyx: fix wrong image path
Uwe Stöhr [Mon, 16 Apr 2007 23:50:43 +0000 (23:50 +0000)]
Intro.lyx: fix wrong image path

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

17 years agoinstaller infrastructure changes according to Christian's comments
Uwe Stöhr [Mon, 16 Apr 2007 22:33:53 +0000 (22:33 +0000)]
installer infrastructure changes according to Christian's comments

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

17 years agoValidate DocIterator before setting cursor with it, in moveToPosition
Bo Peng [Mon, 16 Apr 2007 20:47:40 +0000 (20:47 +0000)]
Validate DocIterator before setting cursor with it, in moveToPosition

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

17 years ago * po/de.po: some updates (more to come)
Michael Schmitt [Mon, 16 Apr 2007 20:28:03 +0000 (20:28 +0000)]
* po/de.po: some updates (more to come)

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

17 years agoBookmarks: use bottom level pit and pos
Bo Peng [Mon, 16 Apr 2007 19:01:32 +0000 (19:01 +0000)]
Bookmarks: use bottom level pit and pos

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

17 years agoremove unused parameter
Georg Baum [Mon, 16 Apr 2007 18:20:49 +0000 (18:20 +0000)]
remove unused parameter

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

17 years agoPrevent invalid latex for multilingual sections and inputenc == auto.
Georg Baum [Mon, 16 Apr 2007 18:06:01 +0000 (18:06 +0000)]
Prevent invalid latex for multilingual sections and inputenc == auto.
We output the \inputencoding command before the section if possible, and we
ignore all encoding changes in the section. Commands from the unicodesymbols
file will be used for characters that can't be encoded in the current
encoding instead of switching the encoding.

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

17 years agoFixed bug 3449 by Stefan Schimanski:
Abdelrazak Younes [Mon, 16 Apr 2007 14:42:53 +0000 (14:42 +0000)]
Fixed bug 3449 by Stefan Schimanski:
http://bugzilla.lyx.org/show_bug.cgi?id=3449

One problem was no metric calculation was done for insets on cursor movement. Of course scrolling or entering character caused the missing metric calls, hence the described behavior in the bug report. This is fixed by re-implementing idxLast(), idxFirst() and notifyCursorLeaves().

Another problem was that 'a' and '1' were drawn at the same position because of a mis-calculation of the x-position in InsetMathMacro::draw().

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

17 years agonew Update installer: small tweaks
Uwe Stöhr [Sun, 15 Apr 2007 22:48:41 +0000 (22:48 +0000)]
new Update installer: small tweaks

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

17 years agoInstaller: forgot to remove this code
Uwe Stöhr [Sun, 15 Apr 2007 22:08:48 +0000 (22:08 +0000)]
Installer: forgot to remove this code

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

17 years agonew Update installer: now hopefully close to be released
Uwe Stöhr [Sun, 15 Apr 2007 22:03:42 +0000 (22:03 +0000)]
new Update installer: now hopefully close to be released

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

17 years agoFix compilation problem on some systems.
Richard Heck [Sun, 15 Apr 2007 19:17:53 +0000 (19:17 +0000)]
Fix compilation problem on some systems.

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

17 years ago * po/*.po: remerge after Uwe's g-brief2.layout fixes
Michael Schmitt [Sun, 15 Apr 2007 16:11:15 +0000 (16:11 +0000)]
* po/*.po: remerge after Uwe's g-brief2.layout fixes

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

17 years ago po/lyx_pot.py: relativePath(): replace all \ by / such that we get the
Michael Schmitt [Sun, 15 Apr 2007 16:05:23 +0000 (16:05 +0000)]
po/lyx_pot.py: relativePath(): replace all \ by / such that we get the
same comments on Windows and *nix

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

17 years agocmake : remember command line options merge and WALL
Peter Kümmel [Sun, 15 Apr 2007 13:09:34 +0000 (13:09 +0000)]
cmake : remember command line options merge and WALL

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

17 years agoLyXWinInstaller: fix bug in uninstalling Arabic Aspell dict
Uwe Stöhr [Sun, 15 Apr 2007 12:36:14 +0000 (12:36 +0000)]
LyXWinInstaller: fix bug in uninstalling Arabic Aspell dict

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

17 years agofix wrong entry from my last commit
Uwe Stöhr [Sun, 15 Apr 2007 11:49:48 +0000 (11:49 +0000)]
fix wrong entry from my last commit

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

17 years agoAdd math fonts to SVN
Uwe Stöhr [Sun, 15 Apr 2007 11:46:26 +0000 (11:46 +0000)]
Add math fonts to SVN
(please check if the Makefile entry is complete, I couldn't test this here)

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

17 years agonew "Update" installer: should now be close to ready
Uwe Stöhr [Sun, 15 Apr 2007 10:22:49 +0000 (10:22 +0000)]
new "Update" installer: should now be close to ready

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

17 years agolastFilePos: save bottom level pit and pos
Bo Peng [Sun, 15 Apr 2007 04:50:42 +0000 (04:50 +0000)]
lastFilePos: save bottom level pit and pos

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

17 years agorevert bug I accidentally introduced in the previous commit
Uwe Stöhr [Sat, 14 Apr 2007 17:33:40 +0000 (17:33 +0000)]
revert bug I accidentally introduced in the previous commit

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

17 years agofix typo in g-brief2 support
Uwe Stöhr [Sat, 14 Apr 2007 17:28:23 +0000 (17:28 +0000)]
fix typo in g-brief2 support

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

17 years agoAdd Updownarrow and updownarrow to the delimiter dialog
Uwe Stöhr [Sat, 14 Apr 2007 16:41:55 +0000 (16:41 +0000)]
Add Updownarrow and updownarrow to the delimiter dialog

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

17 years ago * lib/ui/stdtoolbars.inc: group all delimiter buttons; strip obsolete "math" prefix
Michael Schmitt [Sat, 14 Apr 2007 16:29:01 +0000 (16:29 +0000)]
* lib/ui/stdtoolbars.inc: group all delimiter buttons; strip obsolete "math" prefix
* lib/ui/stdmenues.inc: move math panel to the end of the submenu; strip obsolete
"math" prefix (everything is math-related in this submenu)

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

17 years agoFix bugs 3458:
Uwe Stöhr [Sat, 14 Apr 2007 16:19:05 +0000 (16:19 +0000)]
Fix bugs 3458:
http://bugzilla.lyx.org/show_bug.cgi?id=3458

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

17 years ago * po/de.po: better menu shortcut
Michael Schmitt [Sat, 14 Apr 2007 11:54:08 +0000 (11:54 +0000)]
* po/de.po: better menu shortcut
* lib/bind/aqua.bind: whitespace changes

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

17 years ago * layouts/*.layout: put all LabelStrings in quotes; in the past, we
Michael Schmitt [Sat, 14 Apr 2007 11:19:24 +0000 (11:19 +0000)]
* layouts/*.layout: put all LabelStrings in quotes; in the past, we
faced some problems with trailing spaces. The quotes turned out to be
a good means to avoid these problems

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