Commit Graph

15265 Commits

Author SHA1 Message Date
Enrico Forestieri
8e8ce41eeb Fix bug #6351: Crash when editing the unit on a number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32214 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-26 13:47:20 +00:00
Vincent van Ravesteijn
4cb580a1c0 branch: Move the contents of a row into the caption when setting a row as a longtable caption.
see r32156.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32172 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-23 23:26:33 +00:00
Vincent van Ravesteijn
f1dfaa091b branch: Unset all caption rows and dissolve all captions in a long-table when converting to a normal table.
see r32155.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32171 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-23 23:21:57 +00:00
Enrico Forestieri
dcd06297ec Fix bug #6342: Pasting-bug in math-mode sub- and super-scripts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32163 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-23 12:47:27 +00:00
Vincent van Ravesteijn
fe6a944bdd branch: Fix bug #5754: Caption inset not dissolved when unsetting longtable caption.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32154 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 18:35:36 +00:00
Vincent van Ravesteijn
bd5efd7b53 branch: Allow PgUp and PgDwn to put the cursor on the first or last row.
see r32036.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32152 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 12:56:39 +00:00
Vincent van Ravesteijn
380ae9c292 branch: Another fix for bug #5061: A slight correction of the patch shown described in http://permalink.gmane.org/gmane.editors.lyx.devel/113507.
No status.16x entry needed.

see r31791.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32151 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 12:44:53 +00:00
Vincent van Ravesteijn
feb5aae02b branch: Fix bug #6310: Incorrect latex for sparse matrices with vertical lines.
see r32145.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32150 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 12:12:16 +00:00
Jürgen Spitzmüller
20dfac9c5e revert r31271
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg155843.html.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32149 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 09:52:03 +00:00
Vincent van Ravesteijn
e0466fe56b Do not allow a program listing to be in a font changing command.
see r32124.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32126 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 15:09:10 +00:00
Vincent van Ravesteijn
0496ff98e8 branch: Fix bugs
- #6161: Wrong cursor position in RTL text
- #6165: Assertion when clicking on left side of inset in RTL text

If the first character is a separator, we are in RTL text. This character will not be painted on screen and thus we should not count it and skip to the next.

This bug pretty much destroyed cursor placement in RTL text on a row with large gaps.

see r32116.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32121 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 14:29:36 +00:00
Vincent van Ravesteijn
594f47b4b7 branch: Fix bug #6320: LyX goes to infinite loop when selecting document parts.
Set the boundary member correctly when the cursor goes to an 'empty' row.

No status.16x entry needed as this was introduced by r31880.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32111 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 23:12:15 +00:00
Vincent van Ravesteijn
5e0d1703c6 branch: Fix bug #6327: Crash in new file and press PgUp button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32102 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:28:51 +00:00
Peter Kümmel
c80cd62b8b fix merged build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32080 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 14:42:12 +00:00
Jean-Marc Lasgouttes
4b350d031a fix autosave crash on Snow Leopard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32055 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 23:17:03 +00:00
Enrico Forestieri
a70ece44ed Clarify comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32052 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 14:13:24 +00:00
Enrico Forestieri
5ba1dbb453 Fix bug #6208: macro crash.
The fix consists in not updating the macro while it is being edited,
and this is accomplished by the changes in MathData::updateMacros().
However, when clicking away with the mouse I was getting another crash,
which is cured by the changes in MathMacro::notifyCursorLeaves().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32050 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 13:59:23 +00:00
Enrico Forestieri
bdb91ff5cc Fix bug #5530: LyX expansion in math-macro overwritten by default one.
Changes backported from r31873, r31898, 31905, r31907, and r31998.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32027 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 17:38:36 +00:00
Jürgen Spitzmüller
b47fa6f8f3 * MathsUi.ui: grammar fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32011 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 15:45:49 +00:00
Uwe Stöhr
506ed7c135 - MathsUi.ui: fix again another typo in tooltip
- po-files: remerge
- de.po: new translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32010 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 15:12:36 +00:00
Uwe Stöhr
d3a9ee38e1 MathsUi.ui: add tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32009 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 14:56:19 +00:00
Jürgen Spitzmüller
27402a1559 * GuiAbout.cpp:
- unmask e-mail addresses in the credits pane.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31935 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-10 14:45:02 +00:00
Peter Kümmel
765362f7a2 cmake: fix merged build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31923 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 15:31:28 +00:00
Vincent van Ravesteijn
f38483d441 branch: Fix bug #6237: The boundary has to be set correctly when moving up with a selection. If not, the cursor will remain on the same row when there are two e.g. displayed equations after each other. This will cause an infinite loop when SCREEN_UP is executed.
(I added a small extra safety measure to not change the logic resulting from r31864. I'm not sure it can harm.)

see r31863, r31864.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31880 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 18:08:06 +00:00
Pavel Sanda
59cfb45de0 Backport fix for #3852.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31879 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 16:09:12 +00:00
Enrico Forestieri
d3e25253c3 Better fix for bug #6270. The outer braces are swallowed only for user
defined macros, so better use a brace inset only when strictly needed.
No status.16x line is necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31871 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 14:47:27 +00:00
Vincent van Ravesteijn
294247c93a branch: Fix bug #5968: Assertion while reading a document with multiple equation labels.
This is another ad-hoc solution for the problem of a zero buffer pointer while reading a document or when using cut&paste.

This simple solution would be suitable for branch.

see also e.g. r29085, r28319, bug #5688, r31861.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31862 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-05 12:33:59 +00:00
Vincent van Ravesteijn
2c615002b1 branch: Fix bug #6193: Crash when navigating away from an empty super/subscript.
see r31758.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31860 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-04 23:11:03 +00:00
Jürgen Spitzmüller
9c1bd19887 fix bug 6298: impossible to create boxes with a custom width:
* LengthCombo.{cpp,h}:
	- new method to reset the combo to initial state
* GuiBox.cpp (setSpecial):
	- reset width length combo properly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31840 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 15:00:32 +00:00
Vincent van Ravesteijn
8b4505cb09 branch: Fix bug #5063: We don't want the combo boxes to adjust to the contents. Also, make the logic exactly the same for all comboboxes.
see r31821.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31833 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 18:53:15 +00:00
Vincent van Ravesteijn
792f7b6299 branch: Fix bug #6292: Ensure the current language is set correctly after dissolving an Inset.
see r31790.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31832 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 17:43:08 +00:00
Vincent van Ravesteijn
be86dbbd39 branch: Fix bug #6297: Use of Fraktur font in boxed equation does not automatically include amssymb.
see r31819.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31831 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 17:36:53 +00:00
Vincent van Ravesteijn
b77e72f325 branch: Fix bug #5061. Fix the positioning of the cursor in some cases with mixed RTL and LTR text (bug 5061).Patches from Dov (a long time ago).
see: r30765 and
http://permalink.gmane.org/gmane.editors.lyx.devel/113506
http://permalink.gmane.org/gmane.editors.lyx.devel/113507



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31757 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 00:01:15 +00:00
Vincent van Ravesteijn
a7850e7524 branch: Fix bug #6280: Wrong context menu is opened in an auto-opened inset.
see r31697 and r31728.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31750 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-26 16:55:31 +00:00
Pavel Sanda
b20d162681 Squeeze warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31733 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-25 09:58:15 +00:00
Jürgen Spitzmüller
18a9c10c94 * PrefDisplayUi.ui: add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31724 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-25 09:13:51 +00:00
Vincent van Ravesteijn
ea5e81651a branch: Fix bug 6129: Show paragraph marks / pilcrows.
see r31155, r31157, r31159 and r31168.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31715 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 17:10:48 +00:00
Enrico Forestieri
fe41e57d12 Backport cumulative fix for bug #6284.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 16:15:29 +00:00
Vincent van Ravesteijn
4c0db93e40 branch: Fix the painting of the last character of a paragraph. That is either the added/deleted paragraph breaks in change tracking or the to-be introduced pilcrow marks.
see r31154.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 11:08:00 +00:00
Vincent van Ravesteijn
54fc638382 branch: Do not remember documents for next startup when closing a window but not closing LyX.
see r31148.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31701 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 10:57:29 +00:00
Vincent van Ravesteijn
9610852f65 branch: Fix bug #2972: Static EndLabelStrings were not painted correctly.
see r30962 and r31205.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31700 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 10:32:26 +00:00
Jürgen Spitzmüller
f68a897158 * LaTeXFeatures.cpp:
- do not eat space at the beginning of \lyxadded macro (bug 6282).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31693 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-23 09:04:15 +00:00
Uwe Stöhr
41d659ee57 tex2lyx/preamble.cpp: fix two issues:
- when languages are given in the documentclass options _and_ the babel options, babel takes the last language option of the \usepackage call
 - there is no quote language "ngerman", it is in both cases "german"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31688 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-20 20:19:15 +00:00
Enrico Forestieri
a087ee5e44 Restore the master language at the end of an included child document
instead of the child document language.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31678 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-19 15:32:43 +00:00
Pavel Sanda
f6b2944e41 I was too fast
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31663 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 19:56:58 +00:00
Pavel Sanda
2672494b9c squash gcc warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31662 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 19:55:03 +00:00
Pavel Sanda
614b5fdd14 Backport change of emergency string.
I suppose no status entry needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31661 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 19:50:59 +00:00
Jean-Marc Lasgouttes
543d12d62e Improve on fix r31610 for ticket #5702. Replacing DefaultModule with
Input did not preserve the loading order of modules.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31639 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 14:25:43 +00:00
Jean-Marc Lasgouttes
783b1434ea Fix #6276: tex2lyx fails to import captions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 14:09:11 +00:00
Jürgen Spitzmüller
4c6d117bd9 * add missing blank.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31627 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 21:31:36 +00:00