Commit Graph

15282 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
485ae5821a * BiblioInfo.cpp (convertLaTeXCommands):
- fix parsing of thin space (\,).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32505 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 09:53:12 +00:00
Vincent van Ravesteijn
65ca18f336 branch: Do not save an emergency file after choosing to revert the document to the version saved on disk.
Now also when the user tries to load the document when it's already loaded.

see r32170 and r32485.

(No status entry needed).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 00:33:20 +00:00
Enrico Forestieri
756862c37c Fix bug #6382: Wrong cursor placement when inserting math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 18:05:12 +00:00
Vincent van Ravesteijn
4b5f45a6b9 Restore the encoding after messing with it in r32418.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 14:18:46 +00:00
Vincent van Ravesteijn
ad291caa99 Correct encoding (Hope it works).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 13:49:59 +00:00
Vincent van Ravesteijn
3cd6a2b0b7 branch: Fix bug #740: Wish for added menu item: File->Close all.
see r30882, r30883, r30890.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32454 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 13:27:21 +00:00
Jürgen Spitzmüller
2545764716 Simplify the definition of multi-accented polytonic Greek, patch by Günter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32451 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 08:26:52 +00:00
Vincent van Ravesteijn
443846282c branch: Fix bug #6365: tex2lyx uses wrong encoding in the preamble.
Everything is ok while reading the file, but when the lyxfile is written, only the first byte of a double-byte character is written to the file. This is because t.character() is sort of defined as cs_[0] in which cs_ is a docstring. This thus seems to fail for multi-byte characters.

see r32441.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 13:50:14 +00:00
Vincent van Ravesteijn
45c3ece046 branch: Fix bug #6113: Customized font color in footnote is not rendered in LyX.
It seems we realized the font in the wrong order. If the layout font specifies "Font Size Small", we should be able to make it large if we want to.

see: r32129 and r32413, and
http://thread.gmane.org/gmane.editors.lyx.devel/122682

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32437 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 02:15:51 +00:00
Jürgen Spitzmüller
00085df291 indicate that we're opening a dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32429 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-08 08:34:18 +00:00
Pavel Sanda
625879d3c2 Backport fixes for #5211 - r32179, r32180 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-08 02:07:48 +00:00
Vincent van Ravesteijn
2b81ec5c0d branch: Do not save an emergency file after choosing to revert the document to the version saved on this.
see r32170.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 22:00:56 +00:00
Vincent van Ravesteijn
e0c1663e39 branch: Fix bug #4360: Instant preview does not render formulas which contain math-macro from input file.
see r32157, r32200, r32352 and r32353.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32418 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 21:56:58 +00:00
Vincent van Ravesteijn
e97f967744 branch: Fix bug #2179: GuiErrorList resets to first item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32417 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 21:46:09 +00:00
Vincent van Ravesteijn
c736659a90 branch: Fix bug #6356: Reloading image does not work for compiling.
- Add a FileName::refresh function and replace one call to lastModified which was just meant to refresh the file info.

- Refresh the file info, otherwise InsetGraphics::latex might still think that the file does not exist.

see r32354 and r32355.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32415 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 21:37:48 +00:00
Jürgen Spitzmüller
e854d3c75c ParagraphUi.ui: layout fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32383 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 07:06:43 +00:00
Jürgen Spitzmüller
1c3220bf98 Some spelling fixes, from Sven Hoexter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32382 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 07:06:23 +00:00
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