Commit Graph

15510 Commits

Author SHA1 Message Date
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
Richard Heck
84f6f46865 Fix #6914 for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35494 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 17:24:25 +00:00
Jürgen Spitzmüller
f491c29604 * ExternalSupport.cpp:
- do not popup invalid path warning with View Source (bug 6904).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35450 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 16:35:06 +00:00
Uwe Stöhr
8af43ca71b backport the support for the math command \ddddot to branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35238 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-30 21:47:12 +00:00
Uwe Stöhr
f2b55b5cea Fix #6872: correctly support the math command \dddot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35237 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-30 21:34:19 +00:00
Enrico Forestieri
241e924e2f Fix bug #6868: LYXCMD:xxx:inset-insert:graphics does not parse correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35235 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-30 13:59:27 +00:00
Jürgen Spitzmüller
b734d8d89d * InsetGraphics.cpp: fix encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35204 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-26 08:55:17 +00:00
Jürgen Spitzmüller
c27a449594 * LyX.cpp:
- correct load order of files to open on startup (#6848)
	  Patch by Punyashloka Biswal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35184 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-23 06:46:04 +00:00
Enrico Forestieri
e52ee7c9ca Fix bug #6793: Changing an existing formula type to displayed formula loses the label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35181 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-20 19:12:45 +00:00
Enrico Forestieri
741adb1ffe Fix bug #6858: Crash changing eqnarray with labels to display math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35170 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 08:30:10 +00:00
Enrico Forestieri
352a254bec Fix bug #6851: Wrong mode and screen fonts with old style macros such as \bf and \rm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35157 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 18:37:35 +00:00
Jean-Marc Lasgouttes
52f69d2ffd Backport r35109 (bug #6786)
http://www.lyx.org/trac/ticket/6786


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35127 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 18:45:08 +00:00
Uwe Stöhr
4d281e3901 InsetCaption.cpp, InsetTabular.cpp: backport fix for #6844 to branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35089 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-07 15:39:12 +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
Jean-Marc Lasgouttes
c94f8347d0 Backport r35068 and r35075 to branch (bug #3733)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35076 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-07 10:45:18 +00:00
Enrico Forestieri
22879bac7a Fix bug #1337: LyX confused on $ symbol in math equations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35066 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-06 21:00:21 +00:00
Richard Heck
1476435c2f Fix bug #6837.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35044 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-03 15:56:31 +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
Enrico Forestieri
9b41f2da52 By default, overwrite the main file on export, but allow changing default
behavior through the environment variable LYX_FORCE_OVERWRITE.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34989 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-20 15:53:04 +00:00
Uwe Stöhr
9f7bec1798 InsetBox.cpp: backport from trunk
- only shaded boxes can have multiple paragraphs when there is no inner box
- only shaded boxes can have a non-plain layout when there is no inner box

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34909 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 01:15:55 +00:00
Jürgen Spitzmüller
5a001909f1 * Makefile.am: add missing file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34870 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-12 10:46:20 +00:00
Peter Kümmel
5f32170309 msvc10 fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34859 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 20:27:51 +00:00
Peter Kümmel
7251a3a340 workaround for msvc10 stl bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 20:27:26 +00:00
Vincent van Ravesteijn
572f38cf03 branch: Fix bug #6791: Branch crashes when opening a hidden buffer in another view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34824 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 11:42:08 +00:00
Jürgen Spitzmüller
db798fe972 * LaTeX.cpp: understand Biblatex's polite rerun request.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34823 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 08:41:18 +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
Enrico Forestieri
8f6bd7d27d Fix bug #6595: empty last row of matrix or eqnarray vanishes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34767 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-05 18:17:10 +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
Jürgen Spitzmüller
6c245ef0b1 * TextMetrics.cpp: fix metrics calculation with preceeding blank in free spacing context (bug #6746)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34706 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-25 14:11:11 +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
Vincent van Ravesteijn
5c47aebd52 branch: Fix bug #6787: CFrac does not require amsmath.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34692 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-24 11:15:25 +00:00
Vincent van Ravesteijn
4cda8fb292 branch: Fix bug #6744: Crash when copying an inset from a deleted section.
We need to reject the changes in when copying from a fully deleted section.

see r34583.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34650 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-14 12:23:52 +00:00
Enrico Forestieri
4ab7fb2a49 Fix bug #6756: import problem with \ (no space following)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34642 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-10 20:43:16 +00:00
Jean-Marc Lasgouttes
115d518703 fix compilation warnings (no status.16x entry necessary)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34633 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 10:12:50 +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
db2d837603 - Use display-formatted file name when asking about removing an emergency
file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34631 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 10:03:33 +00:00
Enrico Forestieri
504bbcbec8 Add GUI support for big delimiters variants without 'l', 'm' or 'r' endings
and for '<' and '>' with all variants.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 18:38:35 +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
Uwe Stöhr
e4d65bdf89 InsetBox.cpp: fix encoding of a comment character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34587 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-02 02:10:10 +00:00
Uwe Stöhr
3407d391c7 InsetBox.cpp: fix #4776 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34585 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-02 02:06:48 +00:00
Enrico Forestieri
fb63864d7a Fix bug #6745: Wrong fonts with \ensuremath
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34584 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-02 00:24:19 +00:00
Enrico Forestieri
c0da660f4b Fix bug #6729: Wrong fonts when using \underbar in math.
See also r34312.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 14:19:40 +00:00
Enrico Forestieri
cb3044101e Fix bug #6739: Loading in a 1.6.5 file causes 1.6.6-1 to crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34580 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 13:34:31 +00:00
Vincent van Ravesteijn
53743d5931 branch: Fix bug #6677: GUI button disappears in external template inset.
Initialize the preview_mode variable.

see r34346.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34569 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 07:50:22 +00:00
Vincent van Ravesteijn
6a09f5205c branch: Fix bug #6686: Navigate back does not trigger a repaint.
see r34391.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34568 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 07:47:52 +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
Enrico Forestieri
63dd671bc4 Fix compiler warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34558 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 19:22:59 +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
0c71d4fb78 Fix bug #4071: wrong fonts in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34519 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 07:03:09 +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
Enrico Forestieri
da7632c2bc Fix bug #2434: Child .tex document overwritten on latex export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34474 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 21:08:53 +00:00
Uwe Stöhr
6f738f2112 BufferParams.cpp: fix #6714 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34470 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 15:30:13 +00:00
Uwe Stöhr
f8f3f328ca InseInsetRef.h: fix #6711 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34469 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 12:53:37 +00:00
Jürgen Spitzmüller
cf78dce420 fix typo. Thanks, Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34462 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 10:07:38 +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
Jürgen Spitzmüller
c88797cf89 backport r34100:
Author: spitz
Date: Fri Apr  9 11:27:54 2010
New Revision: 34100
URL: http://www.lyx.org/trac/changeset/34100

Log:
* src/LaTeXFeatures.cpp: simplify greektext definition. Patch by G. Milde (bug #6458)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34458 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 09:14:23 +00:00
Enrico Forestieri
f9fdbb0ed2 Fix bug #5247: physical paper size settings are not honoured by pdflatex export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34455 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-22 17:31:16 +00:00
Enrico Forestieri
a7795cf303 Correctly restore a dissolved macro inset on undo (bug #6678).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34454 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-22 17:15:57 +00:00
Pavel Sanda
eaf00dbea8 Backport for the second part of #6649.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34453 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-22 15:16:49 +00:00
Pavel Sanda
53fe956d87 Backport fix for #6649.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34452 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-22 15:08:10 +00:00
Enrico Forestieri
0c10e2c2b4 Fix reverse search when the filename contains a forbidden character
(including, but not only, spaces).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34444 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-21 23:54:21 +00:00
Pavel Sanda
1e3318a9c1 Typo from Sven
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34440 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-20 10:57:53 +00:00
Pavel Sanda
1bbeb859d0 Address #6674, better fix after 1.6.6 release.
No status entry needed, this is changing 1.6.6 new stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34309 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-27 14:43:03 +00:00
Vincent van Ravesteijn
f50e7bcc12 branch: Fix bug #6451: Crash when interacting with buffer-dependent dialog with no buffer open.
see r33015, r34291.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34308 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-27 13:46:10 +00:00
Vincent van Ravesteijn
abd26a734c branch: Fix bug #6141: Scrolling error with insets at top of file.
Fix the regression introduced in r28397 while fixing bug #5573.

see r34296, r28397 and #5573.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34307 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-27 13:11:57 +00:00
Vincent van Ravesteijn
0e36db41eb branch: Fix bug #5543: InsetInfo? gives wrong result for textclasses.
InsetInfo? only returned whether a layout file was available for a class, not whether the LaTeX document class was available.

This might be caused by the maybe misleading name of the "LayoutFileList::haveClass()" function.

see r34268.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34306 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-27 12:43:46 +00:00
Vincent van Ravesteijn
522b40d492 branch: Fix bug #6664: InsetInfo?: lyxrc information broken.
see r34278.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34305 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-27 12:39:20 +00:00
Enrico Forestieri
7c0bda490e Change only the shape and not the whole font, otherwise constructs
such as \mathbf{\hat{a}} would not be correctly rendered on screen.
No status.16x entry is necessary, as this problem was introduced
by the fix for bug #4565 in r34023.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34304 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-27 10:41:44 +00:00
Pavel Sanda
19b665d987 Squash compiler warning about unused parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34138 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 09:54:26 +00:00
Uwe Stöhr
9c49140a93 GuiToolbar.cpp: avoid a some compiler warning (already fixed in trunk)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34088 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 10:06:32 +00:00
Vincent van Ravesteijn
c4a3f68670 branch: Allow to assign the shortcut to an action not only if this was an unknown action, but also when it is a no-action.
This could be seen by adding a shortcut "Ctrl-R" to accent-acute. Then changing this to "Ctrl-R Ctrl-R". And then changing this back to "Ctrl-R". Now the oldBinding is NOACTION and a warning is issued that "Ctrl-R" was already bound.

see r33906.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34037 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 18:02:26 +00:00
Vincent van Ravesteijn
2afbd8590b branch: No need to issue an error if the shortcut binding did not change.
see r33905.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34036 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 18:01:20 +00:00
Vincent van Ravesteijn
97c3dcd53c branch: Mark the preferences dialog as changed when a shortcut is removed.
(Apparently the signal-slot construction does not work when there is also a on_**_pressed() slot?)

see r33903.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34034 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 17:47:05 +00:00
Vincent van Ravesteijn
e3c15701e4 branch: Use Change::isSimilarTo to find a change when merging changes.
see r33284.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34033 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 17:44:17 +00:00
Vincent van Ravesteijn
d2eb203853 branch: When reloading a child document, reset the parent of the child to the parent of the child and not to the master.
see r32738.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34032 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 17:37:38 +00:00
Vincent van Ravesteijn
be9cc8d7f9 branch: Make the auto-completion case-insensitive.
see r32909.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34031 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 17:33:38 +00:00
Vincent van Ravesteijn
f292717f5d branch: Fix bug #6633: Equations that end in \limits or \nolimits are corrupted on load.
see r34025.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34030 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 17:27:10 +00:00
Vincent van Ravesteijn
0982149c00 branch: Correctly paint the background of the instant preview of a displayed equation.
For a displayed equation, the height is artificially increased by a displayMargin() in InsetMathHull::metrics if it is a displayed equation and there is a preview. 

This extra height is not covered by the preview image and what one can see is the background as drawn by the MathHull inset. The color of this background should be either Color_mathbg or Color_background depending on whether the preview is shown or not.

see r32560.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34029 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 17:18:58 +00:00
Enrico Forestieri
aa2d362dcf Fix bug #4565: Using keyboard shortcuts to write Greek letters with an underbar produces LaTeX errors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34023 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 15:02:46 +00:00
Vincent van Ravesteijn
0960e8cde7 branch: Fix bug #6631: tex2lyx doesn't handle \textquotedbl{} nicely.
see r34010.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34014 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 12:04:49 +00:00
Vincent van Ravesteijn
18625d0a2f branch: Fix bug #6219: tex2lyx problem with multi-line citep arguments
see r34011.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34013 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 12:01:34 +00:00
Pavel Sanda
0cd72ccfdf Backport r33996, part of #6587.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33997 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 22:36:36 +00:00
Pavel Sanda
683e7453b6 Backport delayed autosave removal, part of #6587.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33907 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 13:58:21 +00:00
Vincent van Ravesteijn
f81df3a752 branch: Prevent the ghost index files when the converter cache is either not used or not initialized.
see r33868.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33904 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 08:10:42 +00:00
Enrico Forestieri
999ef03d1f Fix bug #6618: RTL (sub)*section after LTR text doesn't compile.
When deciding whether to switch encoding or not, the "fragileness" of
the enclosing environment (rather than that of the actual one) should
be taken into account, as we already account for the current "fragility"
by outputting the encoding switch just before switching environment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33898 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 22:12:09 +00:00
Richard Heck
30484ecced Backport fix for #6454. The real cause may be elsewhere, but this does
fix the crash and is a worthwhile sanity check in any event.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 16:59:08 +00:00
Richard Heck
88f1ca654f Backport fix for #6522.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33874 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 16:54:24 +00:00
Vincent van Ravesteijn
6592a587fc branch: Fix bug #6377: Tex2lyx error with multiple languages.
We have to set the language again when a new paragraph is started. Otherwise the n'th paragraph in a certain language is set to the document language.

see r33727.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33860 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 18:18:04 +00:00
Pavel Sanda
ab484f3453 Backport fix for bug #6593
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33805 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 17:02:11 +00:00