]> git.lyx.org Git - lyx.git/log
lyx.git
15 years agoWas forgetting this.
Enrico Forestieri [Mon, 15 Sep 2008 16:54:29 +0000 (16:54 +0000)]
Was forgetting this.

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

15 years agoIntroduce LFUN_FONT_BOLDSYMBOL, performing the same as LFUN_FONT_BOLD
Enrico Forestieri [Mon, 15 Sep 2008 16:49:11 +0000 (16:49 +0000)]
Introduce LFUN_FONT_BOLDSYMBOL, performing the same as LFUN_FONT_BOLD
except when in math mode, where \boldsymbol is used instead of \mathbf.
Restore the previous binding of Ctrl-B and make sure that LFUN_FONT_BOLDSYMBOL,
now bound to Ctrl-Alt-B, can be toggled.

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

15 years agofix warning
Abdelrazak Younes [Mon, 15 Sep 2008 16:20:12 +0000 (16:20 +0000)]
fix warning

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

15 years agoHeader cleanup.
Abdelrazak Younes [Mon, 15 Sep 2008 16:09:08 +0000 (16:09 +0000)]
Header cleanup.

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

15 years agoGraceful assertion in release mode.
Abdelrazak Younes [Mon, 15 Sep 2008 16:07:53 +0000 (16:07 +0000)]
Graceful assertion in release mode.

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

15 years ago * LyXFunc.cpp (dispatch): make sure that a group os created before calling LyXView...
Jean-Marc Lasgouttes [Mon, 15 Sep 2008 15:44:49 +0000 (15:44 +0000)]
  * LyXFunc.cpp (dispatch): make sure that a group os created before calling LyXView::dispatch

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

15 years ago* src/InsetIndex.cpp:
Jürgen Spitzmüller [Mon, 15 Sep 2008 14:19:00 +0000 (14:19 +0000)]
* src/InsetIndex.cpp:
- fix LaTeX output with unrepresentable characters in current encoding (bug 5022).

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

15 years agoFix GuiInfo dialog.
Abdelrazak Younes [Mon, 15 Sep 2008 14:11:57 +0000 (14:11 +0000)]
Fix GuiInfo dialog.

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

15 years agoUpdate layout specification.
Richard Heck [Mon, 15 Sep 2008 13:25:42 +0000 (13:25 +0000)]
Update layout specification.

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

15 years ago* unicodesymbols: fixe some entries.
Jürgen Spitzmüller [Mon, 15 Sep 2008 09:45:20 +0000 (09:45 +0000)]
* unicodesymbols: fixe some entries.

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

15 years ago* InsetTabular.cpp:
Jürgen Spitzmüller [Mon, 15 Sep 2008 08:43:42 +0000 (08:43 +0000)]
* InsetTabular.cpp:
- comment out non-working code that can trigger an assertion (probably bug 5225).
  (this code also does not work as expected in branch, but it doesn't act as badly there)

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

15 years ago* src/insets/InsetTabular.{cpp,h}:
Jürgen Spitzmüller [Mon, 15 Sep 2008 08:09:52 +0000 (08:09 +0000)]
* src/insets/InsetTabular.{cpp,h}:
- improve updating of on-screen alignment

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

15 years agoAdd note about ui-toggle
Pavel Sanda [Mon, 15 Sep 2008 00:58:00 +0000 (00:58 +0000)]
Add note about ui-toggle

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

15 years agoCosmetics (Vincent)
Pavel Sanda [Sun, 14 Sep 2008 22:09:10 +0000 (22:09 +0000)]
Cosmetics (Vincent)

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

15 years agoFix bug 5246
Enrico Forestieri [Sun, 14 Sep 2008 17:51:46 +0000 (17:51 +0000)]
Fix bug 5246
http://bugzilla.lyx.org/show_bug.cgi?id=5246

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

15 years agocomments don't hurt
Edwin Leuven [Sun, 14 Sep 2008 17:43:04 +0000 (17:43 +0000)]
comments don't hurt

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

15 years ago* TabularUi.ui
Jürgen Spitzmüller [Sun, 14 Sep 2008 15:30:37 +0000 (15:30 +0000)]
* TabularUi.ui
- descibe valign even more accurately.

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

15 years ago* linguistics.lyx: document OT floats.
Jürgen Spitzmüller [Sun, 14 Sep 2008 15:26:36 +0000 (15:26 +0000)]
* linguistics.lyx: document OT floats.

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

15 years agoPatch by Vincent that solves a number of problems related to the painting of a selection:
Abdelrazak Younes [Sun, 14 Sep 2008 14:32:40 +0000 (14:32 +0000)]
Patch by Vincent that solves a number of problems related to the painting of a selection:

1. When a listing is inserted in a bit of text, the line above the listing is not drawn over the full width like it is done for lines above other insets. This is because InsetListing has a AlignLeft alignment. Now, if you start selecting downwards with the mouse in this empty area, strange selection drawings appear (see attachment).
This is caused by the fact that starting your selection at such a place, causes beg.boundary() to be true in TextMetrics::drawRowSelection(..). This is correct, but this value is true for _all_ selected lines. Now, the selection acts as if it is RTL text. Therefore, just like for end.boundary, this value needs to be reset for every line.
2. Starting your selection in an end margin often causes the selection in this end margin to be painted later. This is because when starting your selection in an end margin, you may have set a (possible empty) selection before really selecting the end margin. The problem is that the checksum (computed later) is the same for this empty selection and for the end margin selection. Therfore, we need a call to cur.setSelection() before evaluating cur.selection().

3. In the following two lines, it is assumed that there is only an end margin to be painted if the selection extends to the next paragraph. This is not true for the above described case of an AlignLeft Inset. Then, the margin has also be drawn within a paragraph

4. The end and begin margins are only painted when the selection extends into the following or previous paragraph. This difference is not resembled in the checksum if you first select a row completely and then procede to the next or previous paragraph as the selection remains at the end of a row. This also holds for the AlignLeft case. Therefore I added a term to the checksum to monitor whether the end and begin margins need to be drawn.

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

15 years agoFew glitches.
Pavel Sanda [Sun, 14 Sep 2008 13:17:43 +0000 (13:17 +0000)]
Few glitches.

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

15 years agoAdd note.
Pavel Sanda [Sun, 14 Sep 2008 13:17:00 +0000 (13:17 +0000)]
Add note.

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

15 years ago* cs.po
Pavel Sanda [Sun, 14 Sep 2008 13:08:11 +0000 (13:08 +0000)]
* cs.po

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

15 years agoclean up horizontal tabular line latex-output
Edwin Leuven [Sun, 14 Sep 2008 12:31:58 +0000 (12:31 +0000)]
clean up horizontal tabular line latex-output

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

15 years agofix bug 5250.
Jürgen Spitzmüller [Sun, 14 Sep 2008 07:42:15 +0000 (07:42 +0000)]
fix bug 5250.

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

15 years agoWhen only selecting the end_margin between 'after i-1' and 'before i', the
Pavel Sanda [Sat, 13 Sep 2008 23:03:33 +0000 (23:03 +0000)]
When only selecting the end_margin between 'after i-1' and 'before i', the
anchor is incorrectly set to be equal to the cur. This is because comparing two
CursorSlices does not take into account the boundary property (because the
CursorSlice does not know this).

Patch by Vincent.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143572.html

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

15 years agoIf we call cur.setSelection() in line Text3.cpp:1256 we should require some
Pavel Sanda [Sat, 13 Sep 2008 22:59:09 +0000 (22:59 +0000)]
If we call cur.setSelection() in line Text3.cpp:1256 we should require some
sort of repaint, because if the selection is adjusted, we may have to draw the
selection again.

Patch by Vincent.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143572.html

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

15 years agoUserGuide.lyx: fix layout
Uwe Stöhr [Sat, 13 Sep 2008 22:53:10 +0000 (22:53 +0000)]
UserGuide.lyx: fix layout

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

15 years agoUserGuide.lyx: update Appendix A for LyX 1.6
Uwe Stöhr [Sat, 13 Sep 2008 22:46:16 +0000 (22:46 +0000)]
UserGuide.lyx: update Appendix A for LyX 1.6

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

15 years agokeep lines below 80 chars
André Pönitz [Sat, 13 Sep 2008 20:59:22 +0000 (20:59 +0000)]
keep lines below 80 chars

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

15 years agorev26385: don't know why but some file were not committed...
Abdelrazak Younes [Sat, 13 Sep 2008 20:19:32 +0000 (20:19 +0000)]
rev26385: don't know why but some file were not committed...

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

15 years agoexit(10) was a bit extreme... replace with a Buffer exception.
Abdelrazak Younes [Sat, 13 Sep 2008 17:12:01 +0000 (17:12 +0000)]
exit(10) was a bit extreme... replace with a Buffer exception.

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

15 years agoParagraph::inInset() shall not be used if the owner inset was not initialized. Make...
Abdelrazak Younes [Sat, 13 Sep 2008 17:01:54 +0000 (17:01 +0000)]
Paragraph::inInset() shall not be used if the owner inset was not initialized. Make this rule clear and unavoidable.

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

15 years agoErase unimplemented methods.
Abdelrazak Younes [Sat, 13 Sep 2008 15:41:33 +0000 (15:41 +0000)]
Erase unimplemented methods.

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

15 years agoFix silly bug spotted by Vincent in r26372
Abdelrazak Younes [Sat, 13 Sep 2008 15:32:26 +0000 (15:32 +0000)]
Fix silly bug spotted by Vincent in r26372

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

15 years ago* TabularUi.ui
Jürgen Spitzmüller [Sat, 13 Sep 2008 14:10:03 +0000 (14:10 +0000)]
* TabularUi.ui
- a hopefully somewhat clearer description of what valign is supposed to do.:

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

15 years agoFix silly bug spotted by Vincent in r26372
Abdelrazak Younes [Sat, 13 Sep 2008 12:16:50 +0000 (12:16 +0000)]
Fix silly bug spotted by Vincent in r26372

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

15 years ago* Fix display of horizontal alignment in fixed width tabular cells (bug 3484)
Jürgen Spitzmüller [Sat, 13 Sep 2008 10:10:01 +0000 (10:10 +0000)]
* Fix display of horizontal alignment in fixed width tabular cells (bug 3484)

* src/Inset.h:
- new member content Alignment that indicates whether the content
  of text insets should be displayed with a specific alignment
* src/TextMetrics.cpp:
- handle inset's contentAlignment
* src/insets/InsetTabular.{cpp,h}:
- set contentAlignment for tabular cells.

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

15 years agoGerman UserGuide.lyx: fixes by Hartmut
Uwe Stöhr [Sat, 13 Sep 2008 00:03:55 +0000 (00:03 +0000)]
German UserGuide.lyx: fixes by Hartmut

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

15 years agofix SCons after r26365
Uwe Stöhr [Fri, 12 Sep 2008 23:26:06 +0000 (23:26 +0000)]
fix SCons after r26365

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

15 years agofix Japanese UserGuide.lyx dependencies and fix some paths to make it compilable
Uwe Stöhr [Fri, 12 Sep 2008 22:51:18 +0000 (22:51 +0000)]
fix Japanese UserGuide.lyx dependencies and fix some paths to make it compilable

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

15 years agoI\89/1ÀH\8b\$\bH\8bl$\10L\8bd$\18L\8bl$ L\8bt$(L\8b|$0H\83Ä8ÃM\85ö¸\f
Jürgen Spitzmüller [Fri, 12 Sep 2008 17:25:11 +0000 (17:25 +0000)]
I\89/1ÀH\8b\$\bH\8bl$\10L\8bd$\18L\8bl$ L\8bt$(L\8b|$0H\83Ä8ÃM\85ö¸\f

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

15 years agoDon't forget to ditribute other files
Pavel Sanda [Fri, 12 Sep 2008 16:26:35 +0000 (16:26 +0000)]
Don't forget to ditribute other files

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

15 years agobreakParagraphConservative(): don't forget to set the inset owner. This is the real...
Abdelrazak Younes [Fri, 12 Sep 2008 14:49:50 +0000 (14:49 +0000)]
breakParagraphConservative(): don't forget to set the inset owner. This is the real fix for bug  http://bugzilla.lyx.org/show_bug.cgi?id=5099

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

15 years agoLength::inBP returns big postscript points, not pixel width
Jean-Marc Lasgouttes [Fri, 12 Sep 2008 14:38:03 +0000 (14:38 +0000)]
Length::inBP returns big postscript points, not pixel width

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

15 years agoGet rid of Paragraph::insetAllowed()
Abdelrazak Younes [Fri, 12 Sep 2008 13:57:15 +0000 (13:57 +0000)]
Get rid of Paragraph::insetAllowed()

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

15 years agoI forgot this in previous rev.
Abdelrazak Younes [Fri, 12 Sep 2008 13:43:48 +0000 (13:43 +0000)]
I forgot this in previous rev.

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

15 years agoGet rid of indirections and add a check.
Abdelrazak Younes [Fri, 12 Sep 2008 13:36:40 +0000 (13:36 +0000)]
Get rid of indirections and add a check.

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

15 years agoTest Paragraph::inInset() before using it. Fixes bug http://bugzilla.lyx.org/show_bug...
Abdelrazak Younes [Fri, 12 Sep 2008 12:55:35 +0000 (12:55 +0000)]
Test Paragraph::inInset() before using it. Fixes bug http://bugzilla.lyx.org/show_bug.cgi?id=5099

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

15 years agoLet doxygen document this.
Pavel Sanda [Fri, 12 Sep 2008 10:42:23 +0000 (10:42 +0000)]
Let doxygen document this.

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

15 years agoForgot this
Pavel Sanda [Fri, 12 Sep 2008 10:36:03 +0000 (10:36 +0000)]
Forgot this

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

15 years agoAdded UserGuide.lyx from Koji.
Pavel Sanda [Fri, 12 Sep 2008 10:34:35 +0000 (10:34 +0000)]
Added UserGuide.lyx from Koji.

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

15 years agoRemove Makefile.depend from repository, like we did for POTFILES.in. It is
Jean-Marc Lasgouttes [Fri, 12 Sep 2008 10:23:43 +0000 (10:23 +0000)]
Remove Makefile.depend from repository, like we did for POTFILES.in. It is
now generated by autogen.sh.

AUTOTOOLS USERS, PLEASE RUN AUTOGEN.SH (did I say that loud enough?)

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

15 years agodocument Cursor::selHandle
Jean-Marc Lasgouttes [Fri, 12 Sep 2008 10:21:00 +0000 (10:21 +0000)]
document Cursor::selHandle

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

15 years agoCosmetics
Pavel Sanda [Fri, 12 Sep 2008 02:21:14 +0000 (02:21 +0000)]
Cosmetics

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

15 years agoRevert unwanted part
Pavel Sanda [Fri, 12 Sep 2008 02:11:07 +0000 (02:11 +0000)]
Revert unwanted part

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

15 years agoDepth slider in Outliner is not automatically set at init and after closing last...
Pavel Sanda [Fri, 12 Sep 2008 02:04:42 +0000 (02:04 +0000)]
Depth slider in Outliner is not automatically set at init and after closing last file.

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

15 years agoTry to fix the rest of bug http://bugzilla.lyx.org/show_bug.cgi?id=5082 .
Pavel Sanda [Fri, 12 Sep 2008 02:02:56 +0000 (02:02 +0000)]
Try to fix the rest of bug http://bugzilla.lyx.org/show_bug.cgi?id=5082 .
(Initialize dialogs after lyx launch).

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

15 years agoI need some sleep.
Richard Heck [Thu, 11 Sep 2008 21:35:26 +0000 (21:35 +0000)]
I need some sleep.

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

15 years agoFix bug: TOC depth slider wasn't reset when switching to empty documents.
Richard Heck [Thu, 11 Sep 2008 21:15:45 +0000 (21:15 +0000)]
Fix bug: TOC depth slider wasn't reset when switching to empty documents.
This doubly fixes the previous bug, too.

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

15 years agoFix bug reported by Helge. Vincent found the problem, really, which was a
Richard Heck [Thu, 11 Sep 2008 21:02:18 +0000 (21:02 +0000)]
Fix bug reported by Helge. Vincent found the problem, really, which was a
pair of uninitialized variables. The reason the crash doesn't happen when
you open the User Guide is that they get set in TocModel::populate() before
the slider's maximum value is fixed. It was setting that value to some huge
number that caused the problem.

I've added an assertion to make sure we don't run into this kind of problem
again. Probably not necessary, but it can't hurt.

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

15 years agonotes
Pavel Sanda [Thu, 11 Sep 2008 20:05:48 +0000 (20:05 +0000)]
notes

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

15 years agoFix rest of bug 4886, following Richard's advices.
Jürgen Spitzmüller [Wed, 10 Sep 2008 16:02:32 +0000 (16:02 +0000)]
Fix rest of bug 4886, following Richard's advices.

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

15 years agoRevert 26348 and 26350. Wrong solution.
Richard Heck [Wed, 10 Sep 2008 14:36:38 +0000 (14:36 +0000)]
Revert 26348 and 26350. Wrong solution.

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

15 years ago* src/insets/InsetTabular.cpp:
Jürgen Spitzmüller [Wed, 10 Sep 2008 12:49:08 +0000 (12:49 +0000)]
* src/insets/InsetTabular.cpp:
- correct LaTeX output for alignment in fixed width multicolumn cells
  (bug 1747).

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

15 years agon-th bug fixing patch from Vincent:
Abdelrazak Younes [Tue, 9 Sep 2008 21:01:18 +0000 (21:01 +0000)]
n-th bug fixing patch from Vincent:

Almost all methods in the GuiPainter class have something like

if (!isDrawingEnabled())
  return;

except GuiPainter::fillRectangle(...) !!

Adding this will solve

gmane.editors.lyx.devel/109857
gmane.editors.lyx.devel/109859
http://bugzilla.lyx.org/show_bug.cgi?id=4937
http://bugzilla.lyx.org/show_bug.cgi?id=5027
http://bugzilla.lyx.org/show_bug.cgi?id=5235

Maybe also:
http://bugzilla.lyx.org/show_bug.cgi?id=5230

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

15 years agoForgot this part.
Richard Heck [Tue, 9 Sep 2008 18:46:38 +0000 (18:46 +0000)]
Forgot this part.

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

15 years agoFix bug 4886.
Richard Heck [Tue, 9 Sep 2008 18:42:17 +0000 (18:42 +0000)]
Fix bug 4886.

Introduce OutputParams::inTableCell, to track when we are in a table cell.
Use this information to output \newline rather than \\ when in one.

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

15 years agoRestore toggling behavior to math bold.
Richard Heck [Tue, 9 Sep 2008 17:50:37 +0000 (17:50 +0000)]
Restore toggling behavior to math bold.

I've left mathbf in the symbols file. We should perhaps restore it as something that can be toggled.

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

15 years agofix sideways scrolling in tabulars with nested insets
Edwin Leuven [Tue, 9 Sep 2008 14:12:08 +0000 (14:12 +0000)]
fix sideways scrolling in tabulars with nested insets

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

15 years ago* GuiSearch.cpp:
Jürgen Spitzmüller [Tue, 9 Sep 2008 13:20:44 +0000 (13:20 +0000)]
* GuiSearch.cpp:
- Texts that are entered in the search and replace fields of the
   GuiSearch dialog are added to the bottom of the ComboBox. With this
   patch they are added to the top as it probably most intuitive.
   (patch from Vincent)

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

15 years ago* GuiRef.cpp:
Jürgen Spitzmüller [Tue, 9 Sep 2008 13:18:36 +0000 (13:18 +0000)]
* GuiRef.cpp:
- The GuiRef dialog does not respond to keyboard events if the
  reference list is empty. This is because the reference list has the
  focus proxy and is disabled when the list is empty. Therefore I removed
  the focus proxy from the list if it is disabled.
  (patch from Vincent)

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

15 years agoGerman EmbeddedObjects.lyx: remove a doubled label
Uwe Stöhr [Tue, 9 Sep 2008 08:54:36 +0000 (08:54 +0000)]
German EmbeddedObjects.lyx: remove a doubled label

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

15 years agode.po: semantic correction.
Jürgen Spitzmüller [Tue, 9 Sep 2008 08:17:36 +0000 (08:17 +0000)]
de.po: semantic correction.

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

15 years agoGerman Math.lyx, UserGuide.lyx: small fixes by Hartmut
Uwe Stöhr [Mon, 8 Sep 2008 22:10:27 +0000 (22:10 +0000)]
German Math.lyx, UserGuide.lyx: small fixes by Hartmut

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

15 years agovarious listings fixes by Vincent, see http://www.mail-archive.com/lyx-devel@lists...
Uwe Stöhr [Mon, 8 Sep 2008 21:51:38 +0000 (21:51 +0000)]
various listings fixes by Vincent, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143302.html

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

15 years agospecify a background color for listings and allow the user to change it, patch by...
Uwe Stöhr [Mon, 8 Sep 2008 21:38:01 +0000 (21:38 +0000)]
specify a background color for listings and allow the user to change it, patch by Vincent

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

15 years agoUpdate LFUNs.lyx
Pavel Sanda [Mon, 8 Sep 2008 19:10:23 +0000 (19:10 +0000)]
Update LFUNs.lyx

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

15 years agoFix bug http://bugzilla.lyx.org/show_bug.cgi?id=5234 .
Pavel Sanda [Mon, 8 Sep 2008 15:46:23 +0000 (15:46 +0000)]
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5234 .

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

15 years agoInsert Short Title context menu
Abdelrazak Younes [Mon, 8 Sep 2008 14:22:03 +0000 (14:22 +0000)]
Insert Short Title context menu

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

15 years ago* contrib
Pavel Sanda [Mon, 8 Sep 2008 01:46:02 +0000 (01:46 +0000)]
* contrib

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

15 years agoCoding style
Pavel Sanda [Mon, 8 Sep 2008 01:18:33 +0000 (01:18 +0000)]
Coding style

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

15 years agoFix for accepting Tab key in shortcut dialog.
Pavel Sanda [Mon, 8 Sep 2008 01:00:58 +0000 (01:00 +0000)]
Fix for accepting Tab key in shortcut dialog.
Patch from Bo.

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

15 years agotypo
Pavel Sanda [Mon, 8 Sep 2008 00:28:32 +0000 (00:28 +0000)]
typo

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

15 years agoMove code.
Pavel Sanda [Mon, 8 Sep 2008 00:27:07 +0000 (00:27 +0000)]
Move code.

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

15 years agoAdd completion-accept lfun.
Pavel Sanda [Mon, 8 Sep 2008 00:24:47 +0000 (00:24 +0000)]
Add completion-accept lfun.
Fixes first part of http://bugzilla.lyx.org/show_bug.cgi?id=5062 .

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143281.html

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

15 years ago* LFUNs complete and complete-cancel. No key interception anymore. For now you have...
Stefan Schimanski [Mon, 8 Sep 2008 00:13:55 +0000 (00:13 +0000)]
* LFUNs complete and complete-cancel. No key interception anymore. For now you have to bind the two LFUNs yourself.

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

15 years agoscons/SConstruct: fix a SCons warning
Uwe Stöhr [Sun, 7 Sep 2008 21:59:12 +0000 (21:59 +0000)]
scons/SConstruct: fix a SCons warning

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

15 years agocosmetics.
Jürgen Spitzmüller [Sun, 7 Sep 2008 16:13:24 +0000 (16:13 +0000)]
cosmetics.

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

15 years agoFixing inline completion, Vincent strikes back :)
Pavel Sanda [Sun, 7 Sep 2008 15:54:06 +0000 (15:54 +0000)]
Fixing inline completion, Vincent strikes back :)

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

15 years ago* linguistics.module:
Jürgen Spitzmüller [Sun, 7 Sep 2008 11:58:32 +0000 (11:58 +0000)]
* linguistics.module:
- small correction.

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

15 years ago* po/*.po: remerge
Jürgen Spitzmüller [Sun, 7 Sep 2008 11:54:45 +0000 (11:54 +0000)]
* po/*.po: remerge

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

15 years ago* linguistics.module:
Jürgen Spitzmüller [Sun, 7 Sep 2008 11:54:13 +0000 (11:54 +0000)]
* linguistics.module:
- add float for Optimality Theory tableaux.

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

15 years agoGerman UserGuide.lyx: updates for LyX 1.6.0 by Hartmut
Uwe Stöhr [Sun, 7 Sep 2008 10:34:28 +0000 (10:34 +0000)]
German UserGuide.lyx: updates for LyX 1.6.0 by Hartmut

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

15 years agoGuiWorkArea.cpp: allow to navigate in tables with the Tab key, patch by Vincent
Uwe Stöhr [Sat, 6 Sep 2008 21:10:59 +0000 (21:10 +0000)]
GuiWorkArea.cpp: allow to navigate in tables with the Tab key, patch by Vincent

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

15 years ago* cs.po
Pavel Sanda [Sat, 6 Sep 2008 17:02:17 +0000 (17:02 +0000)]
* cs.po

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

15 years agoremerge po-files
Uwe Stöhr [Sat, 6 Sep 2008 16:18:20 +0000 (16:18 +0000)]
remerge po-files

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

15 years agoGerman UserGuide.lyx, EmbeddedObjects.lyx: tiny fixes by Hartmut
Uwe Stöhr [Sat, 6 Sep 2008 16:05:37 +0000 (16:05 +0000)]
German UserGuide.lyx, EmbeddedObjects.lyx: tiny fixes by Hartmut

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

15 years ago* enter new macro template and select the name. This save a lot of keystrokes to...
Stefan Schimanski [Sat, 6 Sep 2008 15:10:23 +0000 (15:10 +0000)]
* enter new macro template and select the name. This save a lot of keystrokes to remoe the long default name.

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

15 years ago* typo
Stefan Schimanski [Sat, 6 Sep 2008 15:10:10 +0000 (15:10 +0000)]
* typo

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

15 years agoSimplify InsetQuotes ctor.
Abdelrazak Younes [Sat, 6 Sep 2008 14:12:38 +0000 (14:12 +0000)]
Simplify InsetQuotes ctor.

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