5926 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
92f86af54d Menus.cpp: QProxyStyle was introduced in Qt 4.6.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37694 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 16:00:42 +00:00
Vincent van Ravesteijn
24b1363ee3 branch: Fix bug #7209: Crash when clicking on unfinished command in math.
This was a similar problem as for bug #5796 in r30807. There I made sure that the position that is used for the context menu is set at mousepress. That was because also the cursor was set at mousepress and we want to get the context menu at the place where the mousebutton was pressed, and not where the mousebutton was released.

However, in this case, the position of the context menu is stored on mousepress, but we don't take into account that the cursor might move afterwards due to the DEPM.

So, the solution is not to save the position of the mouseclick, but to save the name of the context menu we requested.

PS. Perhaps we could save the cursor position, but this seems to work too.

see r37669.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37688 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 12:53:08 +00:00
Vincent van Ravesteijn
e2e87c6756 branch: Fix bug #5414: Show context menu accelerators when the context menu is shown after pressing the keyboard context menu key.
This should have been done by qt, but we can override qt by adapting the style on the windows platform.

see r37678.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37686 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 18:16:17 +00:00
Richard Heck
e851168cb7 Fix bug #7285 in branch, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37553 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 23:39:02 +00:00
Jürgen Spitzmüller
ace385a559 * Fix tooltip, resolve it in a way so that so new strings are generated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37483 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 07:58:16 +00:00
Jürgen Spitzmüller
11ea521aa2 * GuiTabular.cpp: Fix regression introduced in r30650 (LyX 1.6.4, not in trunk):
The column width field was not cleared for non-fixed columns, leading to unwanted width applications.

I wonder why this bug was never reported.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37371 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 11:35:58 +00:00
Enrico Forestieri
8e8c451ca1 Fix bug #6538 (Figure: relative path changed to absolute on copy/paste)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37114 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-05 14:02:35 +00:00
Jürgen Spitzmüller
9611fc31b2 * InsetIndex does not have a dialog anymore since it's a collapsable. Also, it is (and never was) an InsetCommand.
This also fixes the crash reported at #7180. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37105 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-04 11:50:35 +00:00
Vincent van Ravesteijn
c0571a40f4 branch: Fix bug #5600: View source panel isn't updating after restart.
see r37096.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37103 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-04 10:12:40 +00:00
Vincent van Ravesteijn
68422fbb85 branch: Fix bug #7182: LyX truncates file names in the ui.
Changes:
- let filenames to be longer in window title (see r36950);
- when hovering the lastfiles menu, the full file names are shown in the statusbar (see r37083);
- when hovering the tabs, the longer name is shown as a tooltip (see r37101). 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37102 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-04 09:49:30 +00:00
Jürgen Spitzmüller
2c48ac2626 Fix UI glitch in the prefs dialog (bug 7190).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37082 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 17:21:37 +00:00
Vincent van Ravesteijn
61e7c1472e Add an extra safety measure in case we don't find the toolbar settings.
see r37075--r37079.

(I think this commit doesn't need a separate status log message as it fits well in the one committed in r37079.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37080 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 17:18:05 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Stephan Witt
5e6e824464 #5970 Fix tab switching keyboard shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35577 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-09 09:35:39 +00:00
Jürgen Spitzmüller
c321723d52 * GuiPrefs.cpp:
- do not allow to change a format's short name if the format is used by a converter (fixes crash issue #6815).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35083 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-07 14:14:39 +00:00
Jürgen Spitzmüller
d5e17bc255 * GuiLog.cpp: refine warning detection:
- detect "LaTeX Font Warning"
	- detect "Class X Warning"
	- package warnings can contain dots ("Package pdftex.def Warning")

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35042 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-03 08:03:47 +00:00
Jean-Marc Lasgouttes
b01c38d2de Fix #6775 for branch too
(backport r34731)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35038 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-02 09:23:08 +00:00
Peter Kümmel
0a260084df fix merged build for some gcc 4.4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34992 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-21 04:59:05 +00:00
Jürgen Spitzmüller
a3e49e90c4 * CitationUi.ui: remove invalid icon properties.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 08:36:41 +00:00
Uwe Stöhr
5f8fbfadfe GuiBox.cpp: backport r34713 to branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34716 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-28 02:16:47 +00:00
Uwe Stöhr
a612be11e3 GuiBox.cpp: fix #6721 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34715 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-28 02:04:51 +00:00
Uwe Stöhr
aef0f8a526 fix #6699 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34711 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-26 17:21:14 +00:00
Vincent van Ravesteijn
77e442fbb5 branch: Fix part of bug #5942: buffer-switch does open tabs even when open in tabs is disabled.
see r34618 and r34684.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34703 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-25 13:40:23 +00:00
Vincent van Ravesteijn
4e1c174d72 branch: Fix bug #6680: Regular branch crashes.
Fix the warning message "TocModel?.cpp: type not found" when (re-)loading a file.

see r34571.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34695 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-25 09:23:37 +00:00
Jean-Marc Lasgouttes
b6aaf88297 - When compiling using automake >= 1.11, use the nicer `silent rules' output
format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34632 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 10:10:52 +00:00
Jean-Marc Lasgouttes
6034c0e46f fix compilation on fedora13 and binutils/gold by removing some really X11-specific code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34592 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 21:59:55 +00:00
Jürgen Spitzmüller
ae74ac9d4c * GuiSpellchecker.cpp: revert r33567 abd thereby fix bug #6708.
No status entry needed, since this was already fixed in 1.6.6.1.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34567 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 07:33:08 +00:00
Enrico Forestieri
e8bec59f63 Let the various fields adapt to the length of the translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34565 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 01:30:35 +00:00
Vincent van Ravesteijn
2cf9915cda branch: Fix bug #6672
part 1: Notes, Footnotes, and Marginals are unnecessarily truncated.

part 2: Add tooltips to the outliner.

see r34286, r34287.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34555 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 12:25:32 +00:00
Vincent van Ravesteijn
5181271d71 branch: Fix bug #6254: Spell checker word count is reported twice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34554 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 12:10:06 +00:00
Vincent van Ravesteijn
08215fa118 Fix bug #2009:'|'-character in headings confuses TOC list in navigate menu.
Solution is to search backwards for the last '|' in the string, and to add a '|' to the ones without a shortcut.

see r33918.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34552 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 12:02:00 +00:00
Jürgen Spitzmüller
e790fce190 * prefOutputUi.ui: add accelerator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34548 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 09:31:15 +00:00
Enrico Forestieri
4d22872a74 Fix bug #2844: Need option to overwrite without dialog popup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34541 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-30 16:29:11 +00:00
Enrico Forestieri
9993a1f1b7 Fix bug #2762: LyX -> LaTeX export autonomously overwrites existing EPS files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34533 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-28 14:43:23 +00:00
Enrico Forestieri
e5d9706254 Fix bug #6645: LyX allows multiple buffers with same name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34475 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 21:31:00 +00:00
Pavel Sanda
e1da507ba5 Backport fix for #6694.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34461 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 09:52:31 +00:00