]> git.lyx.org Git - lyx.git/log
lyx.git
15 years ago- Math.lyx: - update math bold description to the new shortcuts
Uwe Stöhr [Sun, 21 Sep 2008 21:09:38 +0000 (21:09 +0000)]
- Math.lyx: - update math bold description to the new shortcuts
            - new section about colored formulas
- menus.bind: update shortcut Alt-c b according to the discussed new handling

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

15 years agocosmetics
André Pönitz [Sun, 21 Sep 2008 19:27:20 +0000 (19:27 +0000)]
cosmetics

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

15 years agoFix the tab stops in the paragraph dialog, and improve
Richard Heck [Sun, 21 Sep 2008 15:25:04 +0000 (15:25 +0000)]
Fix the tab stops in the paragraph dialog, and improve
the fix last committed.

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

15 years agoFix autodefault setting.
Richard Heck [Sun, 21 Sep 2008 14:49:27 +0000 (14:49 +0000)]
Fix autodefault setting.

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

15 years agocosmetics
André Pönitz [Sun, 21 Sep 2008 09:11:21 +0000 (09:11 +0000)]
cosmetics

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

15 years agoAbdel can't seee anythin wrong with that
André Pönitz [Sun, 21 Sep 2008 01:39:00 +0000 (01:39 +0000)]
Abdel can't seee anythin wrong with that

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

15 years agosave a few cycles.
André Pönitz [Sun, 21 Sep 2008 01:35:43 +0000 (01:35 +0000)]
save a few cycles.
[in QObejct::connect() the passed signatures get 'normalized', and
'Foo const &' is turned into 'Foo' anyway]

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

15 years agoMath.lyx: fix index entries, now that bug 5022 is fixed
Uwe Stöhr [Sat, 20 Sep 2008 23:51:05 +0000 (23:51 +0000)]
Math.lyx: fix index entries, now that bug 5022 is fixed

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

15 years agocmake: add endian check, thx to Jose and pdv
Peter Kümmel [Sat, 20 Sep 2008 19:43:52 +0000 (19:43 +0000)]
cmake: add endian check, thx to Jose and pdv

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

15 years agofix slip
André Pönitz [Sat, 20 Sep 2008 13:55:37 +0000 (13:55 +0000)]
fix slip

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

15 years agocosmetics. remoe strange dependency of GuiDocument.h
André Pönitz [Sat, 20 Sep 2008 13:44:51 +0000 (13:44 +0000)]
cosmetics. remoe strange dependency of GuiDocument.h

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

15 years agosave a few cycles
André Pönitz [Sat, 20 Sep 2008 12:57:12 +0000 (12:57 +0000)]
save a few cycles

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

15 years agocosmetics
André Pönitz [Sat, 20 Sep 2008 12:17:15 +0000 (12:17 +0000)]
cosmetics

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

15 years agocosmetics
André Pönitz [Sat, 20 Sep 2008 12:07:18 +0000 (12:07 +0000)]
cosmetics

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

15 years agocosmetics;
André Pönitz [Sat, 20 Sep 2008 11:47:38 +0000 (11:47 +0000)]
cosmetics;
also use QT_NO_CAST_TO_ASCII and QT_NO_STL for better checks on type
conversions

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

15 years agocompile fix, sorry.
Abdelrazak Younes [Sat, 20 Sep 2008 07:38:28 +0000 (07:38 +0000)]
compile fix, sorry.

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

15 years agoSmall deboostification
Abdelrazak Younes [Fri, 19 Sep 2008 21:18:18 +0000 (21:18 +0000)]
Small deboostification

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

15 years ago* GuiImage::scale(): simplify.
Abdelrazak Younes [Fri, 19 Sep 2008 14:36:45 +0000 (14:36 +0000)]
* GuiImage::scale(): simplify.

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

15 years agoSimplify image creation with a new factory function: newImage().
Abdelrazak Younes [Fri, 19 Sep 2008 12:01:01 +0000 (12:01 +0000)]
Simplify image creation with a new factory function: newImage().

GraphicsImage: now a pure virtual interface.

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

15 years agoGuiImage: detaching the QImage does not have any good side effect apparently. It...
Abdelrazak Younes [Fri, 19 Sep 2008 11:42:53 +0000 (11:42 +0000)]
GuiImage: detaching the QImage does not have any good side effect apparently. It just results in some jumps of memory because the QImage data is referenced somewhere else (I don't know where as only the transformed image should be on screen).

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

15 years ago* GuiImage:
Abdelrazak Younes [Fri, 19 Sep 2008 11:27:24 +0000 (11:27 +0000)]
* GuiImage:
- switch to QImage backend instead of QPixmap. In any case this was done internally by Qt for any image loading or transformation. This should relieve the X11 server a bit for big images.
- try to clear out the memory after a transformation by calling QImage::detach(). Unfortunately there seems to be a bug somewhere in Qt... see (http://bugzilla.lyx.org/show_bug.cgi?id=5002).

* GraphicsImage: get rid of scaledDimension()

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

15 years ago* attempt to fix bug 5189.
Jürgen Spitzmüller [Fri, 19 Sep 2008 10:04:06 +0000 (10:04 +0000)]
* attempt to fix bug 5189.

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

15 years ago* Validator.cpp:
Jürgen Spitzmüller [Fri, 19 Sep 2008 09:40:14 +0000 (09:40 +0000)]
* Validator.cpp:
- get rid of unnecessary conversion.

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

15 years agoReplace condition with an exception (code more robust) and add comment the reason
José Matox [Thu, 18 Sep 2008 18:21:41 +0000 (18:21 +0000)]
Replace condition with an exception (code more robust) and add comment the reason

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

15 years agoAnother fix for csv2lyx. This one looks like a generic bug, though
Richard Heck [Thu, 18 Sep 2008 17:37:06 +0000 (17:37 +0000)]
Another fix for csv2lyx. This one looks like a generic bug, though
one that may have been triggered by an older version of python. The
problem is that the sniffer call could fail, and then dialect is
undefined.

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

15 years agoCosmetics.
Richard Heck [Thu, 18 Sep 2008 17:03:06 +0000 (17:03 +0000)]
Cosmetics.

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

15 years agoThe line_num member was only introduced with python 2.5, so we'll
Richard Heck [Thu, 18 Sep 2008 16:57:56 +0000 (16:57 +0000)]
The line_num member was only introduced with python 2.5, so we'll
do this a different way.

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

15 years agoget rid of two compiler warnings.
Jürgen Spitzmüller [Thu, 18 Sep 2008 16:29:27 +0000 (16:29 +0000)]
get rid of two compiler warnings.

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

15 years agoFix bug 448:
Jürgen Spitzmüller [Thu, 18 Sep 2008 14:51:16 +0000 (14:51 +0000)]
Fix bug 448:

* src/OutputParams.{cpp,h}:
- new param isLastPar, indicating if the current paragraph is the last in a given inset/buffer
* src/output_latex.cpp:
- set isLastPar
* src/Paragraph.cpp:
- noTrivlistCentering also in tabular cells
- in the last par, use alignment switch instead of environment

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

15 years agoLyXFunc::dispatch: do no close the undo group too early
Jean-Marc Lasgouttes [Thu, 18 Sep 2008 14:34:33 +0000 (14:34 +0000)]
LyXFunc::dispatch: do no close the undo group too early

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

15 years agouse Length::inPixel and not Length::inBP to get screen lengths
Jean-Marc Lasgouttes [Thu, 18 Sep 2008 13:59:35 +0000 (13:59 +0000)]
use Length::inPixel and not Length::inBP to get screen lengths

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

15 years agoBufferView::mouseDispatch: make sure to create an undo group
Jean-Marc Lasgouttes [Thu, 18 Sep 2008 13:44:54 +0000 (13:44 +0000)]
BufferView::mouseDispatch: make sure to create an undo group

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

15 years agoanother recordUndoFullDocument bits the dust
Jean-Marc Lasgouttes [Thu, 18 Sep 2008 10:47:28 +0000 (10:47 +0000)]
another recordUndoFullDocument bits the dust

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

15 years agoimprove debug info
Jean-Marc Lasgouttes [Thu, 18 Sep 2008 10:46:31 +0000 (10:46 +0000)]
improve debug info

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

15 years agono need to record full document here
Jean-Marc Lasgouttes [Thu, 18 Sep 2008 10:40:53 +0000 (10:40 +0000)]
no need to record full document here

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

15 years agoUpdate it.po
Enrico Forestieri [Wed, 17 Sep 2008 22:28:31 +0000 (22:28 +0000)]
Update it.po

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

15 years agoPatch from Bennett.
Pavel Sanda [Wed, 17 Sep 2008 21:28:57 +0000 (21:28 +0000)]
Patch from Bennett.

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

15 years agoOne more comment from JMarc.
Pavel Sanda [Wed, 17 Sep 2008 21:26:54 +0000 (21:26 +0000)]
One more comment from JMarc.

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

15 years agoFix bug 2746: http://bugzilla.lyx.org/show_bug.cgi?id=2746
Jean-Marc Lasgouttes [Wed, 17 Sep 2008 16:28:33 +0000 (16:28 +0000)]
Fix bug 2746: http://bugzilla.lyx.org/show_bug.cgi?id=2746
References autoupdate is not undone during UNDO operation

* InsetLabel.cpp (updateCommand): record undo for each of the label
changes (and put everything in a group to make sure it will be undone
in one step).

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

15 years agobad behaviour of recordUndoInset has been fixed in http://www.lyx.org/trac/changeset...
Jean-Marc Lasgouttes [Wed, 17 Sep 2008 15:45:47 +0000 (15:45 +0000)]
bad behaviour of recordUndoInset has been fixed in http://www.lyx.org/trac/changeset/14791

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

15 years agotry to clarify documentation
Jean-Marc Lasgouttes [Wed, 17 Sep 2008 15:15:12 +0000 (15:15 +0000)]
try to clarify documentation

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

15 years agore-implement correctly undo for graphics groups unification
Jean-Marc Lasgouttes [Wed, 17 Sep 2008 14:54:37 +0000 (14:54 +0000)]
re-implement correctly undo for graphics groups unification

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

15 years agofix properly http://bugzilla.lyx.org/show_bug.cgi?id=2040
Jean-Marc Lasgouttes [Wed, 17 Sep 2008 14:51:27 +0000 (14:51 +0000)]
fix properly http://bugzilla.lyx.org/show_bug.cgi?id=2040

* BufferView.cpp (setCursorFromInset): new method, useful to find
an inset that is known to be in the document.

* frontends/qt4/GuiView.cpp (dispatch): do a proper recordUndo
befire appplying changes to an inset. The insets are responsible
for recording additional undo steps that could be needed.

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

15 years agoactually this constructor is not used
Jean-Marc Lasgouttes [Tue, 16 Sep 2008 13:21:30 +0000 (13:21 +0000)]
actually this constructor is not used

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

15 years ago* po/*.po: remerge
Jürgen Spitzmüller [Tue, 16 Sep 2008 12:52:10 +0000 (12:52 +0000)]
* po/*.po: remerge

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

15 years agofix a bunch of harmless warnings
Jean-Marc Lasgouttes [Tue, 16 Sep 2008 11:33:07 +0000 (11:33 +0000)]
fix a bunch of harmless warnings

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

15 years agofix compiler warning introduced in r26399; note that paramater pos was not used in...
Jean-Marc Lasgouttes [Tue, 16 Sep 2008 11:32:38 +0000 (11:32 +0000)]
fix compiler warning introduced in r26399; note that paramater pos was not used in the Row(pos) form of the constructor

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

15 years ago* unicodesymbols:
Jürgen Spitzmüller [Tue, 16 Sep 2008 07:48:36 +0000 (07:48 +0000)]
* unicodesymbols:
- some more Greek glyphs. Patch by Günther Milde.

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

15 years agoUpdate it.po
Enrico Forestieri [Mon, 15 Sep 2008 18:06:23 +0000 (18:06 +0000)]
Update it.po

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

15 years agoFix copy & paste of inset inside table cell.
Abdelrazak Younes [Mon, 15 Sep 2008 17:03:15 +0000 (17:03 +0000)]
Fix copy & paste of inset inside table cell.

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

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