]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agodo what the FIXME suggested
André Pönitz [Wed, 5 Mar 2008 20:11:47 +0000 (20:11 +0000)]
do what the FIXME suggested

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

16 years ago* cosmetic
Stefan Schimanski [Wed, 5 Mar 2008 19:00:26 +0000 (19:00 +0000)]
* cosmetic

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

16 years ago* is.at is const, is[] is a deep non-const copy
Stefan Schimanski [Wed, 5 Mar 2008 19:00:11 +0000 (19:00 +0000)]
* is.at is const, is[] is a deep non-const copy

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

16 years ago* src/insets/InsetMathBox.{cpp,h}:
Jürgen Spitzmüller [Wed, 5 Mar 2008 18:57:08 +0000 (18:57 +0000)]
* src/insets/InsetMathBox.{cpp,h}:
- add validate method and validate \tag[*] (bug 4586)

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

16 years ago* clear filter when showing popup of layout list
Stefan Schimanski [Wed, 5 Mar 2008 16:02:18 +0000 (16:02 +0000)]
* clear filter when showing popup of layout list
* show filter hint in status bar

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

16 years ago* cosmetic
Stefan Schimanski [Wed, 5 Mar 2008 15:45:43 +0000 (15:45 +0000)]
* cosmetic

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

16 years ago* cosmetic
Stefan Schimanski [Wed, 5 Mar 2008 13:07:01 +0000 (13:07 +0000)]
* cosmetic

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

16 years ago* adjust layout list size to contents
Stefan Schimanski [Wed, 5 Mar 2008 12:26:50 +0000 (12:26 +0000)]
* adjust layout list size to contents

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

16 years ago* cosmetic
Stefan Schimanski [Wed, 5 Mar 2008 12:04:46 +0000 (12:04 +0000)]
* cosmetic

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

16 years ago* even when sorted alphabetically keep the separation of standard and module layouts
Stefan Schimanski [Wed, 5 Mar 2008 12:02:18 +0000 (12:02 +0000)]
* even when sorted alphabetically keep the separation of standard and module layouts

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

16 years ago* draw the separator as a menu separator
Stefan Schimanski [Wed, 5 Mar 2008 12:02:00 +0000 (12:02 +0000)]
* draw the separator as a menu separator

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

16 years ago* let the cleanlook style show the check mark. It normally ignores it for comboboxes.
Stefan Schimanski [Wed, 5 Mar 2008 12:01:40 +0000 (12:01 +0000)]
* let the cleanlook style show the check mark. It normally ignores it for comboboxes.

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

16 years ago* Leave page size at it is to avoid strange layout effects on Mac
Stefan Schimanski [Wed, 5 Mar 2008 12:01:27 +0000 (12:01 +0000)]
* Leave page size at it is to avoid strange layout effects on Mac

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

16 years ago* rich text item delegate to draw the layout filter as underline
Stefan Schimanski [Wed, 5 Mar 2008 12:00:56 +0000 (12:00 +0000)]
* rich text item delegate to draw the layout filter as underline

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

16 years agoRemove the rest of LFUN_THEOREM_INSERT.
Pavel Sanda [Wed, 5 Mar 2008 08:58:58 +0000 (08:58 +0000)]
Remove the rest of LFUN_THEOREM_INSERT.

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

16 years agoCosmetics.
Pavel Sanda [Wed, 5 Mar 2008 08:55:49 +0000 (08:55 +0000)]
Cosmetics.

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

16 years ago* hyperref: add check for newline chars in user input.
Pavel Sanda [Wed, 5 Mar 2008 01:14:15 +0000 (01:14 +0000)]
* hyperref: add check for newline chars in user input.

http://bugzilla.lyx.org/show_bug.cgi?id=4611

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

16 years agomake code look a bit more uniform
André Pönitz [Wed, 5 Mar 2008 00:21:05 +0000 (00:21 +0000)]
make code look a bit more uniform

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

16 years agostdinsets.inc: use foreground color also for index insets. Using the latex color...
Uwe Stöhr [Wed, 5 Mar 2008 00:06:34 +0000 (00:06 +0000)]
stdinsets.inc: use foreground color also for index insets. Using the latex color would imply that you have to enter there LaTeX code, but since Lyx 1.6this is no longer the case

ColorCode.h: correct a comment

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

16 years agoremove duplicated code (is already in constructor)
André Pönitz [Tue, 4 Mar 2008 22:48:40 +0000 (22:48 +0000)]
remove duplicated code (is already in constructor)

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

16 years agotry to pass a Buffer & to inset construction if some buffer(param)
André Pönitz [Tue, 4 Mar 2008 22:28:18 +0000 (22:28 +0000)]
try to pass a Buffer & to inset construction if some buffer(param)
access is needed

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

16 years agoComments from Andre'.
Pavel Sanda [Tue, 4 Mar 2008 21:45:54 +0000 (21:45 +0000)]
Comments from Andre'.

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

16 years agozipunzip.cpp: partly revert r23447 to be able to compile
Uwe Stöhr [Tue, 4 Mar 2008 20:55:24 +0000 (20:55 +0000)]
zipunzip.cpp: partly revert r23447 to be able to compile

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

16 years agoFrench version of Formula-numbering.lyx by Siegfried
Uwe Stöhr [Tue, 4 Mar 2008 20:48:48 +0000 (20:48 +0000)]
French version of Formula-numbering.lyx by Siegfried

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

16 years ago* make lyx look a bit more like a Mac application by removing frames around the work...
Stefan Schimanski [Tue, 4 Mar 2008 18:53:44 +0000 (18:53 +0000)]
* make lyx look a bit more like a Mac application by removing frames around the work area.

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

16 years agoAdd citations to Navigator.
Abdelrazak Younes [Tue, 4 Mar 2008 17:47:47 +0000 (17:47 +0000)]
Add citations to Navigator.

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

16 years agoInvert loadChildDocuments() and updateLabels() calls. This is necessary to avoid...
Abdelrazak Younes [Tue, 4 Mar 2008 17:45:23 +0000 (17:45 +0000)]
Invert loadChildDocuments() and updateLabels() calls. This is necessary to avoid potential recursive calls of updateLabels().

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

16 years agorevert more minizip changes
Jean-Marc Lasgouttes [Tue, 4 Mar 2008 15:16:54 +0000 (15:16 +0000)]
revert more minizip changes

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

16 years agorevert minizip changes
Jean-Marc Lasgouttes [Tue, 4 Mar 2008 15:15:40 +0000 (15:15 +0000)]
revert minizip changes

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

16 years ago* some more unused buffer parameters
Stefan Schimanski [Tue, 4 Mar 2008 15:05:16 +0000 (15:05 +0000)]
* some more unused buffer parameters

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

16 years ago* remove some garbage from the "buffer in inset" change
Stefan Schimanski [Tue, 4 Mar 2008 14:58:10 +0000 (14:58 +0000)]
* remove some garbage from the "buffer in inset" change

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

16 years ago* remove parameter here as well
Stefan Schimanski [Tue, 4 Mar 2008 14:57:57 +0000 (14:57 +0000)]
* remove parameter here as well

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

16 years ago* cosmetic
Stefan Schimanski [Tue, 4 Mar 2008 14:57:46 +0000 (14:57 +0000)]
* cosmetic

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

16 years ago* the look does not depent on "editing" anymore as the edit-layout is dynamic.
Stefan Schimanski [Tue, 4 Mar 2008 14:57:34 +0000 (14:57 +0000)]
* the look does not depent on "editing" anymore as the edit-layout is dynamic.

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

16 years ago* store the selection in the InsetMathUnknown and insert it into the
Stefan Schimanski [Tue, 4 Mar 2008 14:49:24 +0000 (14:49 +0000)]
* store the selection in the InsetMathUnknown and insert it into the
  first argument after finalizing the macro. This also works with real
  math macros.

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

16 years ago* add appetite concept to the math macro to restrict the number of parameter which...
Stefan Schimanski [Tue, 4 Mar 2008 14:49:03 +0000 (14:49 +0000)]
* add appetite concept to the math macro to restrict the number of parameter which are eaten greedily.

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

16 years agonuke compiler warnings in minizip
Jean-Marc Lasgouttes [Tue, 4 Mar 2008 14:40:17 +0000 (14:40 +0000)]
nuke compiler warnings in minizip

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

16 years agofactory::readInset(): Set again the buffer for InsetMathHull.
Abdelrazak Younes [Tue, 4 Mar 2008 14:38:30 +0000 (14:38 +0000)]
factory::readInset(): Set again the buffer for InsetMathHull.

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

16 years agoFound a cleaner solution for the buffer reference problem in mathed.
Abdelrazak Younes [Tue, 4 Mar 2008 14:18:34 +0000 (14:18 +0000)]
Found a cleaner solution for the buffer reference problem in mathed.

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

16 years agofix some compiler warnings
Jean-Marc Lasgouttes [Tue, 4 Mar 2008 14:04:59 +0000 (14:04 +0000)]
fix some compiler warnings

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

16 years agocompile fix.
Abdelrazak Younes [Tue, 4 Mar 2008 13:16:50 +0000 (13:16 +0000)]
compile fix.

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

16 years agogcc compile fix.
Abdelrazak Younes [Tue, 4 Mar 2008 13:15:02 +0000 (13:15 +0000)]
gcc compile fix.

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

16 years agoLateX export must not depend on screen label.
Abdelrazak Younes [Tue, 4 Mar 2008 13:00:20 +0000 (13:00 +0000)]
LateX export must not depend on screen label.

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

16 years agotentatively fix gcc compilation.
Abdelrazak Younes [Tue, 4 Mar 2008 12:50:06 +0000 (12:50 +0000)]
tentatively fix gcc compilation.

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

16 years ago* even setModel can trigger focus events. So move also those into
Stefan Schimanski [Tue, 4 Mar 2008 12:44:48 +0000 (12:44 +0000)]
* even setModel can trigger focus events. So move also those into
  asynchronous handlers.

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

16 years agoInsetMathHull: LFUN_INSET_INSERT: Fix label insertion
Abdelrazak Younes [Tue, 4 Mar 2008 12:43:20 +0000 (12:43 +0000)]
InsetMathHull: LFUN_INSET_INSERT: Fix label insertion

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

16 years agoToC tree redrawing after resets.
Pavel Sanda [Tue, 4 Mar 2008 12:39:03 +0000 (12:39 +0000)]
ToC tree redrawing after resets.
http://bugzilla.lyx.org/show_bug.cgi?id=3740

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

16 years agoFix and improves labels and references in mathed.
Abdelrazak Younes [Tue, 4 Mar 2008 12:22:48 +0000 (12:22 +0000)]
Fix and improves labels and references in mathed.

* InsetMathHull:
- label_: now is a vector of InsetLabel instead of docstring
- addToToc() and updateLabels() update the existing labels.
- nonum_ : use bool instead of int

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

16 years agoheader
Abdelrazak Younes [Tue, 4 Mar 2008 12:19:09 +0000 (12:19 +0000)]
header

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

16 years agoset the buffer reference for all insets when the file is loaded.
Abdelrazak Younes [Tue, 4 Mar 2008 12:18:52 +0000 (12:18 +0000)]
set the buffer reference for all insets when the file is loaded.

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

16 years agoxdg-open stuff was reverted only in branch, time to synchronize in trunk.
Pavel Sanda [Tue, 4 Mar 2008 11:51:21 +0000 (11:51 +0000)]
xdg-open stuff was reverted only in branch, time to synchronize in trunk.
http://www.lyx.org/trac/changeset/22431

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

16 years agoGuiView: Avoid unnecessary GUI updates if it was the current view already.
Abdelrazak Younes [Tue, 4 Mar 2008 10:43:35 +0000 (10:43 +0000)]
GuiView: Avoid unnecessary GUI updates if it was the current view already.

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

16 years ago* sorting depends on translated string, i.e. column 0 of the layout model
Stefan Schimanski [Tue, 4 Mar 2008 09:54:53 +0000 (09:54 +0000)]
* sorting depends on translated string, i.e. column 0 of the layout model

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

16 years ago* fix sorting of layout names
Stefan Schimanski [Tue, 4 Mar 2008 09:47:11 +0000 (09:47 +0000)]
* fix sorting of layout names

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

16 years ago* cosmetic
Stefan Schimanski [Tue, 4 Mar 2008 09:46:49 +0000 (09:46 +0000)]
* cosmetic

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

16 years ago* custom keyboard search/filter which shows only those layouts whose
Stefan Schimanski [Tue, 4 Mar 2008 09:46:35 +0000 (09:46 +0000)]
* custom keyboard search/filter which shows only those layouts whose
  names include the entered character sequence in the same order.

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

16 years ago* cosmetic
Stefan Schimanski [Tue, 4 Mar 2008 09:43:42 +0000 (09:43 +0000)]
* cosmetic

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

16 years ago* fix another crash due to the redraw opti-/minimization during
Stefan Schimanski [Tue, 4 Mar 2008 09:43:32 +0000 (09:43 +0000)]
* fix another crash due to the redraw opti-/minimization during
completion. We have to show and hide the popup asynchronously with a
singleshot timer. Otherwise it might trigger accesses to the coord
cache although the metrics have not been done yet.

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

16 years ago* work around for the bad memory of the treeview about the column width
Stefan Schimanski [Tue, 4 Mar 2008 09:43:16 +0000 (09:43 +0000)]
* work around for the bad memory of the treeview about the column width

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

16 years agoadd missing break, should fix the remaining problem in revision 23420.
Abdelrazak Younes [Tue, 4 Mar 2008 07:33:43 +0000 (07:33 +0000)]
add missing break, should fix the remaining problem in revision 23420.

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

16 years agotypos.
Abdelrazak Younes [Tue, 4 Mar 2008 06:56:13 +0000 (06:56 +0000)]
typos.

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

16 years ago* src/insets/InsetLabel.[cpp,h}:
Jürgen Spitzmüller [Tue, 4 Mar 2008 06:41:47 +0000 (06:41 +0000)]
* src/insets/InsetLabel.[cpp,h}:
* src/insets/InsetCommand{.cpp,h}:
- rename update to updateCommand

* src/CutAndPaste.cpp:
* src/insets/InsetBibitem{cpp,h}:
- add duplicate check. There's a remaining glitch: the warning message after setting a bibitem
  key in the dialog to a duplicate pops up twice.

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

16 years agoremove unused variables.
Abdelrazak Younes [Mon, 3 Mar 2008 18:16:11 +0000 (18:16 +0000)]
remove unused variables.

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

16 years agoget rid of LFUN_INSET_REFRESH
Abdelrazak Younes [Mon, 3 Mar 2008 18:06:27 +0000 (18:06 +0000)]
get rid of LFUN_INSET_REFRESH

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

16 years agoSanitize a bit the way InsetRef and InsetCommand button are drawn.
Abdelrazak Younes [Mon, 3 Mar 2008 17:58:26 +0000 (17:58 +0000)]
Sanitize a bit the way InsetRef and InsetCommand button are drawn.

* Inset::validate(): renamed to initView()

* InsetCommand:
- get rid of unneeded refresh() and updateButtonLabel_
- setParams(): call initView()

* InsetRef:
- implement initView()
- screenLabel(): transfer code to updateLabels()
- addToToc(): prefix name with BROKEN if the reference is broken.

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

16 years ago* Hide popup asynchronously because we might be here inside of
Stefan Schimanski [Mon, 3 Mar 2008 15:44:08 +0000 (15:44 +0000)]
* Hide popup asynchronously because we might be here inside of
  LFUN dispatchers. Hiding a popup can trigger a focus event on the
  workarea which then redisplays the cursor. But the metrics are not
  yet up to date such that the coord cache has not all insets yet. The
  cursorPos methods would triggers asserts in the coord cache then.

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

16 years ago* Update::SinglePar should be enough for most cases. In notifyCursorLeaves though...
Stefan Schimanski [Mon, 3 Mar 2008 15:21:13 +0000 (15:21 +0000)]
* Update::SinglePar should be enough for most cases. In notifyCursorLeaves though we might need a fullscreen redraw if we don't add more clever checks whether the cursors moved to another paragraph.

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

16 years ago* fix assert with 4.2.x when setting a null item delegate on an item view.
Stefan Schimanski [Mon, 3 Mar 2008 15:10:48 +0000 (15:10 +0000)]
* fix assert with 4.2.x when setting a null item delegate on an item view.

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

16 years ago* src/insets/InsetLabel.cpp (doDispatch):
Jürgen Spitzmüller [Mon, 3 Mar 2008 13:58:18 +0000 (13:58 +0000)]
* src/insets/InsetLabel.cpp (doDispatch):
- typo.

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

16 years agoAdd "DUPLICATE:" prefix to screen labels. 1.6 won't allow them now but importing...
Abdelrazak Younes [Mon, 3 Mar 2008 13:31:44 +0000 (13:31 +0000)]
Add "DUPLICATE:" prefix to screen labels. 1.6 won't allow them now but importing a 1.5 documents can contain duplicate labels.

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

16 years agorevert 23410 and fix InsetLabel::update() instead. It seems that the const_iterator...
Abdelrazak Younes [Mon, 3 Mar 2008 13:16:23 +0000 (13:16 +0000)]
revert 23410 and fix InsetLabel::update() instead. It seems that the const_iterator used in InsetLabel::update() did not please gcc.

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

16 years ago* src/insets/InsetLabel.cpp (doDispatch):
Jürgen Spitzmüller [Mon, 3 Mar 2008 12:22:17 +0000 (12:22 +0000)]
* src/insets/InsetLabel.cpp (doDispatch):
- restore call to changeRefsIfUnique.

The references were not updated if the label name was changed.

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

16 years ago* GuiWorkArea::focusInEvent(): avoid unnecessary full redraw if the work area was...
Abdelrazak Younes [Mon, 3 Mar 2008 11:04:17 +0000 (11:04 +0000)]
* GuiWorkArea::focusInEvent(): avoid unnecessary full redraw if the work area was already current.

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

16 years agoFix multipar selection drawing. The problem was that the row selection status was...
Abdelrazak Younes [Mon, 3 Mar 2008 11:03:47 +0000 (11:03 +0000)]
Fix multipar selection drawing. The problem was that the row selection status was only updated for full metrics update. A simple transfer of the relevant code from TextMetrics::redoParagraph() to TextMetrics::drawParagraph() solved the problem.

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

16 years agoadd label/refs validation on pasting.
Jürgen Spitzmüller [Mon, 3 Mar 2008 09:35:26 +0000 (09:35 +0000)]
add label/refs validation on pasting.

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

16 years ago* src/insets/InsetLabel.cpp:
Jürgen Spitzmüller [Mon, 3 Mar 2008 08:19:36 +0000 (08:19 +0000)]
* src/insets/InsetLabel.cpp:
- minor fixes to the label validation.

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

16 years agoNasty mistake here.
Richard Heck [Mon, 3 Mar 2008 04:19:50 +0000 (04:19 +0000)]
Nasty mistake here.

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

16 years agoAdd doxy.
Pavel Sanda [Mon, 3 Mar 2008 02:03:01 +0000 (02:03 +0000)]
Add doxy.

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

16 years agoinstaller:
Uwe Stöhr [Sun, 2 Mar 2008 21:41:03 +0000 (21:41 +0000)]
installer:
- sync with branch
- prepare for a first snapshot build

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

16 years agoFix bug http://bugzilla.lyx.org/show_bug.cgi?id=4599
Abdelrazak Younes [Sun, 2 Mar 2008 19:07:15 +0000 (19:07 +0000)]
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4599

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

16 years agorev 23399: the fix was not fully correct because labels are not editable.
Abdelrazak Younes [Sun, 2 Mar 2008 18:49:49 +0000 (18:49 +0000)]
rev 23399: the fix was not fully correct because labels are not editable.

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

16 years agoIntroduce Inset::validate() for Inset validation purpose upon interactive creation...
Abdelrazak Younes [Sun, 2 Mar 2008 18:14:12 +0000 (18:14 +0000)]
Introduce Inset::validate() for Inset validation purpose upon interactive creation. In this commit this is used to validate a newly inserted label. As an added bonus, broken cross-references will be automatically fixed if the corresponding label is created.

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

16 years ago* WrapUI.ui:
Jürgen Spitzmüller [Sun, 2 Mar 2008 17:28:41 +0000 (17:28 +0000)]
* WrapUI.ui:
- redo with Qt 4.2 designer.

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

16 years agoGerman Extended.lyx: small update by Hartmut
Uwe Stöhr [Sun, 2 Mar 2008 17:22:39 +0000 (17:22 +0000)]
German Extended.lyx: small update by Hartmut

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

16 years ago- po file remerge again
Uwe Stöhr [Sun, 2 Mar 2008 17:18:14 +0000 (17:18 +0000)]
- po file remerge again
- Some German translations also again ;-)

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

16 years agofileformat incremented to 317:
Uwe Stöhr [Sun, 2 Mar 2008 17:12:22 +0000 (17:12 +0000)]
fileformat incremented to 317:
support for floating placement settings for wrap floats

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

16 years agoAvoid duplicate labels when the user change an InsetLabel.
Abdelrazak Younes [Sun, 2 Mar 2008 17:04:10 +0000 (17:04 +0000)]
Avoid duplicate labels when the user change an InsetLabel.

* InsetLabel:
- update(): new method for changing the label. Uses the Buffer reference cache instead of a lookup.
- LFUN_INSET_MODIFY: use update() instead of Buffer::changeRefIfUnique().

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

16 years ago* src/insets/InsetWrap.{cpp,h}:
Jürgen Spitzmüller [Sun, 2 Mar 2008 16:56:57 +0000 (16:56 +0000)]
* src/insets/InsetWrap.{cpp,h}:
- fix the fix of rev. 23390. Thanks, Abdel.

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

16 years agolyx_1_6.py: fix fileformat number
Uwe Stöhr [Sun, 2 Mar 2008 16:51:53 +0000 (16:51 +0000)]
lyx_1_6.py: fix fileformat number

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

16 years ago* src/insets/InsetWrap.{cpp,h}:
Jürgen Spitzmüller [Sun, 2 Mar 2008 16:34:17 +0000 (16:34 +0000)]
* src/insets/InsetWrap.{cpp,h}:
- button label has to be set before drawing (bug 4602).

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

16 years agoIntroduce a labels&references cache at buffer level. This cache uses the already...
Abdelrazak Younes [Sun, 2 Mar 2008 15:27:35 +0000 (15:27 +0000)]
Introduce a labels&references cache at buffer level. This cache uses the already existing updateLabels() mechanism and thus speedups labels&references toc generation. As a bonus, duplicates labels and broken references are detected and tagged with "DUPLICATE:" and "BROKEN:" in the outliner (or the navigator).

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

16 years agoBug fix bis: disconnect and clearParams for GuiDialog based dialog.
Abdelrazak Younes [Sun, 2 Mar 2008 15:19:03 +0000 (15:19 +0000)]
Bug fix bis: disconnect and clearParams for GuiDialog based dialog.

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

16 years agoBug fix: disconnect and clearParams for GuiDialog based dialog.
Abdelrazak Younes [Sun, 2 Mar 2008 15:06:55 +0000 (15:06 +0000)]
Bug fix: disconnect and clearParams for GuiDialog based dialog.

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

16 years agode.po some more translations
Uwe Stöhr [Sun, 2 Mar 2008 12:47:43 +0000 (12:47 +0000)]
de.po some more translations

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

16 years agoGuiDocument.cpp: add linebreaks to error messages
Uwe Stöhr [Sun, 2 Mar 2008 12:36:30 +0000 (12:36 +0000)]
GuiDocument.cpp: add linebreaks to error messages

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

16 years ago- po file remerge
Uwe Stöhr [Sun, 2 Mar 2008 12:33:13 +0000 (12:33 +0000)]
- po file remerge
- Some German translations

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

16 years agoAdd doxy.
Pavel Sanda [Sun, 2 Mar 2008 12:07:47 +0000 (12:07 +0000)]
Add doxy.

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

16 years ago** subfig support **
Jürgen Spitzmüller [Sun, 2 Mar 2008 11:30:50 +0000 (11:30 +0000)]
** subfig support **

* src/Buffer.cpp:
* development/FORMAT:
- bump format to 316.

* src/insets/InsetFloat.{cpp, h}:
- let nested floats be subfloats
  NOTE: docbook support is missing.
* src/insets/InsetCaption.{cpp, h}:
- handle subfigure captions
* src/insets/InsetGraphics.cpp:
* src/insets/InsetGraphicsParams.{cpp, h}:
- remove old subfigure support

* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
- check for subfig instead of subfigure.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines for subfig -> subfloats
  NOTE: the reversion routine still has bugs.

* src/Counters.{cpp, h}:
- add identifiers for subfloats

* src/LaTeXFeatures.{cpp, h}:
- support for subfig

* src/TextClass.cpp:
- set up subfloat counter for all custom floats.

* src/frontends/qt4/GuiGraphics.cpp:
* src/frontends/qt4/ui/GrahicsUi.ui:
- remove subfigure UI.

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

16 years agoHopefully fix monolithic build.
Abdelrazak Younes [Sun, 2 Mar 2008 10:20:13 +0000 (10:20 +0000)]
Hopefully fix monolithic build.

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

16 years ago* Outline(): fix undo/redo for promote/demote
Abdelrazak Younes [Sun, 2 Mar 2008 09:17:10 +0000 (09:17 +0000)]
* Outline(): fix undo/redo for promote/demote

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