Commit Graph

15510 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
9e4a5c8940 branch: Fix bug #7099: Math toolbars don't autoshow.
When applying the preference we need to save the full session information, because when this information is not yet saved, we will lose it forever. We can enter the preferences without a saved state when we start LyX with a modified default.ui.

see also: r37077, r37075 and r37076.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37078 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 17:07:21 +00:00
Enrico Forestieri
7c588c5b2d Fix bug #4606 (\varPhi and similar characters not known by the LyX GUI)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37073 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 14:19:15 +00:00
Vincent van Ravesteijn
679dfb5793 branch: Fix bug #7200: Crash when replacing newline by InsetQuote?.
We have to call cap::replaceSelection before determining whether we can insert an InsetQuote? or a normal quote.

At least we should have updated the par variable after calling cap::replaceSelection, because the paragraph might have been deleted.

see r37063.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37071 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 12:50:47 +00:00
Enrico Forestieri
844d8d0b27 Fix bugs #7174 (Math selection broken)
and      #7193 (Math macro template painting problem)

No status.16x entry is necessary for #7174 as this fixes a regression
introduced during the 1.6.9svn cycle by the fix for #4889.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37037 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 15:36:35 +00:00
Vincent van Ravesteijn
b4306a687a branch: Fix bug #7187: Font painting problems with emulated scaling.
When creating the QFontMetrics object, we should specify a QPaintDevice. 0 is a paint device which is screen-compatible or pixmap-compatible. This makes sure that the correct DPI is used in font metrics calculations.

see r37030, and http://bugreports.qt.nokia.com/browse/QTBUG-16331.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37036 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 14:25:15 +00:00
Enrico Forestieri
5738192a31 Fix bug #7183 (User math macros defined in child documents are shadowed on loading)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36986 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-21 17:28:07 +00:00
Enrico Forestieri
0fa7d11220 Fix bug #7090 (Segfault in refreshing instant preview when math macro changes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36873 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 22:25:17 +00:00
Vincent van Ravesteijn
0f99c43425 branch: Fix bug #6950: Wake up from waiting state after encountering a file parsing error.
see r35714.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36866 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 14:44:19 +00:00
Vincent van Ravesteijn
4e68265745 branch: Fix bug #7077: Listings validator doesn't recognize "breakatwhitespace".
see r36496.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36865 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 14:38:35 +00:00
Vincent van Ravesteijn
50e1309784 branch: Fix bug #1839: Allow Ctrl+Arrow to move between table cells.
see r35812.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36864 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 12:54:03 +00:00
Vincent van Ravesteijn
e9807a7e80 branch: Fix bug #4849: Split cell always enabled in (context) menu.
see r36622.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36863 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 11:22:47 +00:00
Vincent van Ravesteijn
1b39c1f7fe branch: Fix bug #7164: Text in tables not painted immediately.
Fixes the regression introduced in r36679.

see r36848.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36862 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 09:12:10 +00:00
Jürgen Spitzmüller
204695b878 Load the package breakurl with hyperref in DVI output (fix bug 7033).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36861 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 08:00:06 +00:00
Uwe Stöhr
e4bb80965a GuiTabular.cpp: backport fix for #3517
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 03:04:01 +00:00
Georg Baum
9dac2d4ef4 backport fix for #6709
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36797 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 22:17:25 +00:00
Richard Heck
7285719a4b This should fix bug #7161. It backports r36651.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36790 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 18:05:28 +00:00
Stephan Witt
5db98955ed #6688 test for ignore_system_lyxrc was missing for RC_PERS_DICT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36760 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 09:01:32 +00:00
Georg Baum
d2d0994cf9 fix bug #7088
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36719 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 16:55:00 +00:00
Enrico Forestieri
ca69246a27 Fix bug #7068 (Crash when pressing down arrow in an equation when there is a suggestion)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36706 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:47:23 +00:00
Vincent van Ravesteijn
64af9accff branch: Fix bug #4889: Painting problem with some insets.
-RowPainter::paintOnlyInsets is only meant to paint nested Insets, so I guess only the InsetText? based insets.
-Fix the painting of the labels of InsetCaption? insets.

see r36630, r36639 and r36640.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36679 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 10:23:51 +00:00
Vincent van Ravesteijn
132084b5ef branch: Fix bug #6952: Make the Apply button of the GuiCharacter? dialog buffer dependent.
see r28240.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36677 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 10:16:24 +00:00
Vincent van Ravesteijn
f984080b21 branch: Fix bug #6315: counters in insets that don't produce output have ghost values.
see r36603.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36671 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 00:47:42 +00:00
Uwe Stöhr
be8fbe505d PDFOptions.cpp: backport fix for #7052 to branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36655 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 04:59:54 +00:00
Vincent van Ravesteijn
ef0be6ac18 branch: Fix bug #7007: Horizontal table alignment display broken.
see r36395, r36401 and r36402.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36590 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 12:56:42 +00:00
Vincent van Ravesteijn
f839b04573 branch: Fix bug #5446: Cursor gets stuck in InsetInfo.
Do not allow to put the cursor in an InsetInfo. Instead, a context menu item is added to facilitate copying of the contents.

see r33285, r34216 and r34223.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36589 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 12:46:40 +00:00
Uwe Stöhr
9650b8c408 InsetTabular.cpp, GuiTabular.cpp: backport #6585 to branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36573 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 04:48:48 +00:00
Uwe Stöhr
ca9f73e94e InsetTabular.cpp: backport #7000 to branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36572 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 04:33:48 +00:00
Enrico Forestieri
867fafeaae Fix bug #7058 (Crash when invoking CAS on a multiline AMS context)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 22:54:32 +00:00
Enrico Forestieri
3e722cd656 Fix bug #6939 (Using math-insert to input math macros overwrites math expressions)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36526 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 22:12:56 +00:00
Jürgen Spitzmüller
382f9ba3f9 * GuiDocument:
- Make the modules description in Document > Settings fully translatable (bug #6987).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36503 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 10:37:53 +00:00
Stephan Witt
7c8bd03075 backport of CVS support enhancements for repository check in,check out and current directory update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36459 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-24 19:12:20 +00:00
Enrico Forestieri
b983c2c5be Fix bug #7019 (Math labels should not be escaped on saving)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36164 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 15:24:37 +00:00
Vincent van Ravesteijn
e8fc2aaf85 branch: Fix part of bug #5561: Issues with image pasting.
Now the path to the pasted graphics is saved as a relative path if possible.

see r36058.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36118 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 15:38:20 +00:00
Richard Heck
fa0f9192fc Backport fix for #7014.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36029 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 11:55:20 +00:00
Richard Heck
dba9e1ec41 Warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36028 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 11:53:57 +00:00
Enrico Forestieri
295fb6edd7 Fix bug #6965 (Crash editing ERT in math mode)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35903 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 12:38:16 +00:00
Enrico Forestieri
547801393a Refine fix for bug #6793 such as to avoid the problem reported in #6967.
No status.16x entry is necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 23:21:54 +00:00
Vincent van Ravesteijn
43ef39c2ca branch: Revert r34031: make input completion case sensitive again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35865 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 08:47:58 +00:00
Vincent van Ravesteijn
7599b422c2 branch: Fix bug #5878: Cursor position not restored in hidden documents.
A hidden document does not have an associated Cursor. So, each time we create a new workArea, we should restore the cursor position.

see r35811.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35849 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-26 12:29:34 +00:00
Vincent van Ravesteijn
b13700f2e7 branch: Fix bug #6550: "Any Changes will be lost" even when there are no changes.
see r35835.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35848 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-26 12:21:38 +00:00
Jürgen Spitzmüller
820c6dbd86 Fix bug 6944: crash on drag and drop multiple files.
This backport contains most of Vincents suggestions, but not his own changes in r35784.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35793 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-23 08:35:28 +00:00
Vincent van Ravesteijn
bdb06eb0b6 branch: Fix bug #6963: LaTeXUi.ui: fix some accelerator clashes.
see r35751.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35755 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 17:33:18 +00:00
Vincent van Ravesteijn
60caac2579 branch: Fix bug #6869: Crash when unindenting empty lines in listings inset.
- Remove some duplicated code;
- Do not call par.getChar(0) when the par is empty.

see r35702.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35707 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 11:54:12 +00:00
Uwe Stöhr
3ec266c521 InsetBibtex.cpp: fix #6470 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35658 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-16 16:32:21 +00:00
Stephan Witt
5e384cbf71 correct enabled check for LFUN_MATH_NUMBER_TOGGLE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35656 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-15 13:25:48 +00:00
Jürgen Spitzmüller
6361313291 * GuiDelimiter.cpp: disable cut and paste inside the listviews (bug 6942).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35655 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-15 07:14:22 +00:00
Richard Heck
92993cf30c Kill warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35607 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 11:50:03 +00:00
Stephan Witt
3a91d412c0 Correct check for enable condition of VC repository update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35586 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-10 14:48:58 +00:00
Stephan Witt
14b4d92df6 Don't mark document as changed when navigating with cell-forward or -backward
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35579 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-09 10:21:28 +00:00
Stephan Witt
f5aec0ab2b Fix button link assignment in select from template dialogue
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35578 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-09 09:38:58 +00:00