Commit Graph

12684 Commits

Author SHA1 Message Date
José Matox
1f859c2c41 Add placeholders from RELEASE-NOTES content.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17916 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 12:42:18 +00:00
Jean-Marc Lasgouttes
c33d6344fd remove outdated "status" file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17915 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 09:35:28 +00:00
Abdelrazak Younes
bc92746781 * In the process of fixing the math background color bug, this commit transfer backgroundColor() management from InsetOld to InsetBase; because this will be needed for InsetMath based insets.
* Also transfer InsetBase ctors from .h to .C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17913 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 21:40:10 +00:00
Bo Peng
ee9782c624 po/lyx_pot.py: handles PopupMenu in lib/ui/* ("Math Spacing" etc are translated now)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17912 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 21:27:28 +00:00
Michael Schmitt
1d992d1661 * po/de.po: more donkey work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17910 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 16:51:41 +00:00
Michael Schmitt
4b24ab6437 * po/de.po: more updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17909 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 11:22:09 +00:00
Michael Schmitt
3ac4f80ef4 * src/mathed/BUGS: remove old stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17908 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 10:11:16 +00:00
Michael Schmitt
5756cddc64 * 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
2007-04-22 10:05:17 +00:00
Michael Schmitt
b10bc095ea * po/*.po: remerge again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17906 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 09:32:54 +00:00
Michael Schmitt
516b4d9887 * 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
2007-04-22 09:26:14 +00:00
Michael Schmitt
a0b235fff6 * po/*.po: remerge again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 09:14:45 +00:00
Michael Schmitt
1ac4ac0663 * 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
2007-04-22 08:53:26 +00:00
Michael Schmitt
06a13f6fbf * 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
2007-04-22 08:47:49 +00:00
Abdelrazak Younes
058aecf539 fix std declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17901 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 08:41:50 +00:00
Jürgen Spitzmüller
c98876b48e Satisfy André's Sprachgefühl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 08:37:48 +00:00
Abdelrazak Younes
24c8ca10d2 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
2007-04-22 08:26:06 +00:00
Abdelrazak Younes
48744f0fbd 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
2007-04-22 07:54:36 +00:00
Abdelrazak Younes
1757d1b1cd * 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
2007-04-21 22:39:04 +00:00
Abdelrazak Younes
e841d41a92 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
2007-04-21 22:33:07 +00:00
Abdelrazak Younes
c9dffa27a2 * InsetMathNest::cell(): inlined because of profile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17895 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 22:28:21 +00:00
Michael Schmitt
db36eae4c0 * 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
2007-04-21 17:38:43 +00:00
Michael Schmitt
4eb04fdbc1 * po/de.po: some updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 15:48:36 +00:00
Michael Schmitt
33f2f32beb * 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
2007-04-21 15:29:55 +00:00
Michael Schmitt
6db9fbef1e * po/*.po: remerge again (3 new messages)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17891 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 14:48:59 +00:00
Michael Schmitt
0544a0e390 * 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
2007-04-21 14:44:52 +00:00
Michael Schmitt
ec393ad65c * 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
2007-04-21 13:30:27 +00:00
Jürgen Spitzmüller
44b504c45f * 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
2007-04-21 13:22:28 +00:00
Michael Schmitt
4bdc726229 * lib/bind/cua.bind: whitespace change only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:20:45 +00:00
Michael Schmitt
39564af2a6 * Status.15x: remove obsolete file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 12:59:33 +00:00
José Matox
e7ab340c6e Back to svn version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17884 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 12:19:32 +00:00
José Matox
f96fa0134b Beta 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17882 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 12:17:30 +00:00
José Matox
4cf8763eaf 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
2007-04-21 10:05:12 +00:00
José Matox
b8c360cf8e Prepare release notes for beta 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17880 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 09:56:15 +00:00
Jürgen Spitzmüller
bba7ac2a66 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
2007-04-21 08:43:46 +00:00
Edwin Leuven
2c0c3491d9 * 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
2007-04-21 08:30:41 +00:00
José Matox
353006d5ea 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
2007-04-21 07:25:05 +00:00
Edwin Leuven
254a850597 * 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
2007-04-20 12:32:42 +00:00
Jürgen Spitzmüller
d661baca0a 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
2007-04-20 07:29:02 +00:00
Uwe Stöhr
9b1943330d installer: better explanation as suggested by Christian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17874 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-20 01:15:47 +00:00
Edwin Leuven
2632fa5d95 * 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
2007-04-19 22:01:28 +00:00
Edwin Leuven
22fb43fd8f * 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
2007-04-19 21:42:42 +00:00
Edwin Leuven
06cd0adcf6 * include missing header (msvc complains)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17871 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:26:38 +00:00
Bo Peng
a01f198769 Scons: build installer only in release mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17870 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:17:45 +00:00
Edwin Leuven
ae9a7bef28 * 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
2007-04-19 20:37:44 +00:00
Edwin Leuven
996de70e56 * 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
2007-04-19 20:29:27 +00:00
Edwin Leuven
f73cedc1d0 * 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
2007-04-19 19:43:15 +00:00
José Matox
46c0346274 Prepare for beta 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 19:04:14 +00:00
Richard Heck
be410f19e7 Fix encoding problem with previous checkin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 17:32:59 +00:00
Richard Heck
4ef5d3fb59 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
2007-04-19 17:29:59 +00:00
Abdelrazak Younes
2da59470a9 * 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
2007-04-19 16:43:09 +00:00