]> git.lyx.org Git - features.git/log
features.git
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

16 years ago* outline(): demote/promote all subsections for outline in/out.
Abdelrazak Younes [Sun, 2 Mar 2008 08:53:34 +0000 (08:53 +0000)]
* outline(): demote/promote all subsections for outline in/out.

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

16 years agoonly cosmetics
Uwe Stöhr [Sat, 1 Mar 2008 23:50:08 +0000 (23:50 +0000)]
only cosmetics
Color.cpp: - clarify that this is the label color (to be uniform with the other label colors)
           - greyedout label color slightly changed from red to red with a bit blue (as we already have red for other stuff)

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

16 years agoFix bug 4594.
Richard Heck [Sat, 1 Mar 2008 22:08:16 +0000 (22:08 +0000)]
Fix bug 4594.

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

16 years ago* lib/default.ui:
Jürgen Spitzmüller [Sat, 1 Mar 2008 17:47:04 +0000 (17:47 +0000)]
* lib/default.ui:
- revert accidental commit in revision 23370.

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

16 years ago* monolithic-core fix.
Pavel Sanda [Sat, 1 Mar 2008 17:22:19 +0000 (17:22 +0000)]
* monolithic-core fix.

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

16 years agoImprove handling of local layout files. There are two bugs here that still need fixin...
Richard Heck [Sat, 1 Mar 2008 16:32:16 +0000 (16:32 +0000)]
Improve handling of local layout files. There are two bugs here that still need fixing, though: 4593 and 4594.

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

16 years agoImprove documentation.
Richard Heck [Sat, 1 Mar 2008 16:27:56 +0000 (16:27 +0000)]
Improve documentation.

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

16 years agodefault.ui: let the toolbars appear when needed
Uwe Stöhr [Sat, 1 Mar 2008 15:20:43 +0000 (15:20 +0000)]
default.ui: let the toolbars appear when needed

This was often requested by users so that I already implemented this in the alternative installer.
This furthermore avoids questions on the lyx-users list (we had several times questions about "Where is the math toolbar when I'm in math?" etc.)
(This toolbar behavior is also used e.g. by OpenOffice or Word.)

As this topic now arises again with the macro toolbar
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg136267.html
and nobody objected, I implemented this now.

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

16 years ago- new Spanish translation of the math manual
Uwe Stöhr [Sat, 1 Mar 2008 14:50:42 +0000 (14:50 +0000)]
- new Spanish translation of the math manual
- Math.lyx: bug 2461 is now fixed

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

16 years agoCursor::insert(): Fix crash with math. Problem was that the inset pointer was release...
Abdelrazak Younes [Fri, 29 Feb 2008 20:55:56 +0000 (20:55 +0000)]
Cursor::insert(): Fix crash with math. Problem was that the inset pointer was released by MathAthom

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

16 years agoWe don't want a buffer_ member in InsetMathChar.
Abdelrazak Younes [Fri, 29 Feb 2008 20:52:24 +0000 (20:52 +0000)]
We don't want a buffer_ member in InsetMathChar.

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

16 years agoMore clone safety.
Richard Heck [Fri, 29 Feb 2008 20:17:28 +0000 (20:17 +0000)]
More clone safety.

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

16 years agoThese don't seem to be causing crashes at the moment, but as a matter of long-term...
Richard Heck [Fri, 29 Feb 2008 20:16:04 +0000 (20:16 +0000)]
These don't seem to be causing crashes at the moment, but as a matter of long-term stability, it seems worth cloning them the "canonical" way.

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

16 years agoFix InsetBibitem::clone.
Richard Heck [Fri, 29 Feb 2008 20:12:35 +0000 (20:12 +0000)]
Fix InsetBibitem::clone.

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

16 years agoFix InsetLabel::clone.
Richard Heck [Fri, 29 Feb 2008 20:03:58 +0000 (20:03 +0000)]
Fix InsetLabel::clone.

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

16 years agoFix InsetCitation::clone.
Richard Heck [Fri, 29 Feb 2008 20:00:39 +0000 (20:00 +0000)]
Fix InsetCitation::clone.

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

16 years agoFix numbering.
Richard Heck [Fri, 29 Feb 2008 19:32:44 +0000 (19:32 +0000)]
Fix numbering.

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

16 years ago* grey20 is not available on all platforms.
Stefan Schimanski [Fri, 29 Feb 2008 15:49:13 +0000 (15:49 +0000)]
* grey20 is not available on all platforms.

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

16 years ago* when going backwards and entering a cell/paragraph, there is no
Stefan Schimanski [Fri, 29 Feb 2008 15:29:58 +0000 (15:29 +0000)]
* when going backwards and entering a cell/paragraph, there is no
  inset yet. The lastpos() position is only virtual to place the cursor
  at a cell/paragraph end
* cleanups, documentation

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

16 years ago* lib/configure.py:
Jürgen Spitzmüller [Fri, 29 Feb 2008 10:34:43 +0000 (10:34 +0000)]
* lib/configure.py:
- add checks for pdf2ps and pdftops (bug 3968).

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

16 years ago* insertParam assumes that the cursor has the macro template in the top slice.
Stefan Schimanski [Fri, 29 Feb 2008 10:02:40 +0000 (10:02 +0000)]
* insertParam assumes that the cursor has the macro template in the top slice.

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

16 years ago* the automatic arity changing proposed by Uwe: you go into a macro and type \#9...
Stefan Schimanski [Fri, 29 Feb 2008 10:02:25 +0000 (10:02 +0000)]
* the automatic arity changing proposed by Uwe: you go into a macro and type \#9. The arity is visually adapted right away. The real change though takes place when you leave the macro with the cursor.

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

16 years ago* bug fix to only do paragraph redraws, not fullscreen
Stefan Schimanski [Fri, 29 Feb 2008 09:18:46 +0000 (09:18 +0000)]
* bug fix to only do paragraph redraws, not fullscreen
* avoid an extra redraw due to completion when typing

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

16 years ago* enable auto again. See r22655. The three flags math, table, mathmacrotemplate only...
Stefan Schimanski [Fri, 29 Feb 2008 09:18:21 +0000 (09:18 +0000)]
* enable auto again. See r22655. The three flags math, table, mathmacrotemplate only specify when the toolbar is shown in auto mode. But you still have to enable "auto" explicitly.

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

16 years ago* boundary is false implicitely for all slices below the top slice
Stefan Schimanski [Fri, 29 Feb 2008 08:27:22 +0000 (08:27 +0000)]
* boundary is false implicitely for all slices below the top slice

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

16 years agoIntroduce BufferException so that we don't crash if a problem affects only current...
Abdelrazak Younes [Fri, 29 Feb 2008 08:10:51 +0000 (08:10 +0000)]
Introduce BufferException so that we don't crash if a problem affects only current Buffer. Instead we now just do an emergency save and we close it.

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

16 years agoCleanup.
Richard Heck [Fri, 29 Feb 2008 02:50:12 +0000 (02:50 +0000)]
Cleanup.

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

16 years agoClean up comments.
Richard Heck [Fri, 29 Feb 2008 02:49:34 +0000 (02:49 +0000)]
Clean up comments.

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

16 years agoThis is the last of the commits that hopes to enforce the distinction between "layout...
Richard Heck [Fri, 29 Feb 2008 02:45:33 +0000 (02:45 +0000)]
This is the last of the commits that hopes to enforce the distinction between "layout files" and "document classes" that was introduced by the modules code. For the most part, these changes just refactor code from TextClass between: (a) a TextClass base class; (b) a LayoutFile subclass, which represents the information in a .layout file; and (c) a DocumentClass subclass, which represents the layout information associated with a Buffer---a LayoutFile plus Modules. Methods from TextClass have been apportioned between the three classes depending upon what is needed where, and signatures have been changed where necessary so that the right kind of class is required.

At this point, there are no simple TextClass objects in the main LyX code, and it is impossible to create them, since the TextClass constructor is protected. Only LayoutFile and DocumentClass objects can be constructed, and for the most part these are constructed only by their respective containers: BaseClassList and DocumentClassBundle. There is an exception: LayoutFile does have a public default constructor, but if anyone knows how to make it go away, please do.

There will be one or two more commits along these lines, but these will be simple renamings. For example, BaseClassList should be LayoutFileList.

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

16 years ago* INSTALL.MacOSX (from Anders Ekberg)
Pavel Sanda [Fri, 29 Feb 2008 01:20:59 +0000 (01:20 +0000)]
* INSTALL.MacOSX (from Anders Ekberg)

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

16 years agodefault.ui: delete a spurious parameter
Uwe Stöhr [Thu, 28 Feb 2008 22:23:15 +0000 (22:23 +0000)]
default.ui: delete a spurious parameter

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

16 years ago- move po files from branch to trunk to start the translations begin
Uwe Stöhr [Thu, 28 Feb 2008 21:36:45 +0000 (21:36 +0000)]
- move po files from branch to trunk to start the translations begin
- remerge
- some more German translations

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

16 years agoFix oddity in bibtotoc handling.
Richard Heck [Thu, 28 Feb 2008 21:25:57 +0000 (21:25 +0000)]
Fix oddity in bibtotoc handling.

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

16 years agoRichard, I have to revert r23332 to be able to compile trunk
Uwe Stöhr [Thu, 28 Feb 2008 21:09:18 +0000 (21:09 +0000)]
Richard, I have to revert r23332 to be able to compile trunk

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

16 years agofix bug 4583: crash when processing colored box
Bernhard Roider [Thu, 28 Feb 2008 21:06:00 +0000 (21:06 +0000)]
fix bug 4583: crash when processing colored box
LaTeXFeatures::getPackages() assumes that lcolor.getX11Name(Color_shadedbg) returns a hex color.

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

16 years agoMath.lyx: two more bugfixes spotted by Ignacio
Uwe Stöhr [Thu, 28 Feb 2008 21:05:50 +0000 (21:05 +0000)]
Math.lyx: two more bugfixes spotted by Ignacio

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

16 years agoMore work towards type safety regarding TextClass's. A couple bugs have been fixed...
Richard Heck [Thu, 28 Feb 2008 21:04:55 +0000 (21:04 +0000)]
More work towards type safety regarding TextClass's. A couple bugs have been fixed here, too, discovered along the way.

Note that we no longer rely upon BaseClassList to be sorted. This would allow layout descriptions---such as "article (AMS)"---to be translated, and the ordering of the list in Document>Settings will then follow the translations.

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

16 years agoGuiApplication::notify(): fine tune ErrorException handling; close all windows before...
Abdelrazak Younes [Thu, 28 Feb 2008 20:40:55 +0000 (20:40 +0000)]
GuiApplication::notify(): fine tune ErrorException handling; close all windows before showing the alert. This should get rid of the recursive alert box when an the exception is caught.

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

16 years agoType safety sure will be nice.
Richard Heck [Thu, 28 Feb 2008 19:21:20 +0000 (19:21 +0000)]
Type safety sure will be nice.

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

16 years agouses canonical foprm of clone()
André Pönitz [Thu, 28 Feb 2008 19:04:13 +0000 (19:04 +0000)]
uses canonical foprm of clone()

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

16 years agoMissed this when fixing the TextClass::read() API.
Richard Heck [Thu, 28 Feb 2008 18:17:59 +0000 (18:17 +0000)]
Missed this when fixing the TextClass::read() API.

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

16 years agoComment.
Richard Heck [Thu, 28 Feb 2008 18:16:36 +0000 (18:16 +0000)]
Comment.

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

16 years ago* some warnings less
Stefan Schimanski [Thu, 28 Feb 2008 17:52:15 +0000 (17:52 +0000)]
* some warnings less

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

16 years agoset parent
Edwin Leuven [Thu, 28 Feb 2008 16:14:26 +0000 (16:14 +0000)]
set parent

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

16 years agoCursor::insert(): no reason to exclude mathed. Non willing math insets (MathChar...
Abdelrazak Younes [Thu, 28 Feb 2008 15:40:50 +0000 (15:40 +0000)]
Cursor::insert(): no reason to exclude mathed. Non willing math insets (MathChar) should provide a stub method for setBuffer().

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

16 years agorevert revision 23324 and implement a better more general fix in Cursor::insert().
Abdelrazak Younes [Thu, 28 Feb 2008 15:36:48 +0000 (15:36 +0000)]
revert revision 23324 and implement a better more general fix in Cursor::insert().

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

16 years agoFix InsetQuotes creation. Not very clean but it does the job. Andre, I think we shoul...
Abdelrazak Younes [Thu, 28 Feb 2008 15:24:37 +0000 (15:24 +0000)]
Fix InsetQuotes creation. Not very clean but it does the job. Andre, I think we should require the Buffer at construction for all insets that needs it. A base InsetBuffer class comes to mind.

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

16 years agoHmm.
Richard Heck [Thu, 28 Feb 2008 14:58:22 +0000 (14:58 +0000)]
Hmm.

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