Commit Graph

15294 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
1f1de383a7 branch: Fix bug #2948: Drag and drop support for all importable file types.
see r32492.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32810 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:21:28 +00:00
Vincent van Ravesteijn
237be3e41d branch: Fix bug #6387: Incorrect selectlanguage command at end of document.
see r32792.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32808 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:02:07 +00:00
Vincent van Ravesteijn
39d43fcd78 branch: Fix bug #6426: Language not set correctly when inserting an Inset.
see r32750.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32807 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:56:15 +00:00
Vincent van Ravesteijn
7554c40dbb branch: Do not clear the default master setting when cancelling the browse dialog.
see r32737.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32806 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:20:22 +00:00
Vincent van Ravesteijn
0c3357e510 branch: Refresh the contents of some dialogs when the document is read-only.
Update the view also when the document is read-only.

see r32694.

Update the GuiInfo dialog also when the document is read-only. A dialog that does not dispatch a single LFUN (see getLfun()) but is buffer dependent (see isBufferDependent()) should implement the canApply function (if I'm correct).

see r32695.

Update the GuiLabel view when the document is read-only. Also disable the text field.

see r32696.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32802 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:11:45 +00:00
Vincent van Ravesteijn
58ca8035bb branch: Fix bug #6332: Do not paint the cursor after a resize event when it should be invisible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:58:37 +00:00
Vincent van Ravesteijn
0f58260014 branch: Update the status bar when starting LyX (creating a new view) and when the last document is closed.
see r32652.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32800 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:53:05 +00:00
Vincent van Ravesteijn
300611ec43 branch: Fix bug #6400.
Shift+mouse click loses the existing selection instead of extending it.

see r32578.

After selecting a word by double-clicking it, extending the selection by a single mouse-click should also select only whole words.

see r32580.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32799 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:49:53 +00:00
Vincent van Ravesteijn
851e1b2b85 branch: Set the current font when moving into a table or between two table cells.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32798 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:42:49 +00:00
Vincent van Ravesteijn
db3e9e58cb branch: Compute the font_scaling_factor every time a preview is created (we can afford a few multiplications I guess). Now, the newly generated previews use the possibly updated zoom, dpi and preview_scale_factor.
see r32563.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32797 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:40:02 +00:00
Enrico Forestieri
42fadd42c4 Fix bug #4063: LyX cannot handle apostrophe characters ' in path names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32773 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 19:37:49 +00:00
Pavel Sanda
c6ddbaf8d2 Backport r32617, no status entry needed, this was new in 1.6.6.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32618 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 12:48:36 +00:00
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