Commit Graph

794 Commits

Author SHA1 Message Date
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
4da8ddc1ed branch: I guess we mean "Up" here in stead of "Roman".
see r34021.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34035 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 17:54:38 +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
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
d3fc033261 Status for previous commits. Thanks, Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33877 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 17:35:08 +00:00
Vincent van Ravesteijn
32a766016d * status.16x update for r33860.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33861 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 18:21:00 +00:00
Vincent van Ravesteijn
744718c8fa branch: Fix bug #6527: Default numbering and toc depth wrong for memoir.layout.
see r33456.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33859 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 18:02:34 +00:00
Pavel Sanda
4e71c335cf Forgot status entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33806 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 17:02:30 +00:00
Enrico Forestieri
ab08ae33ca Fix bug #6581: Empty base of a script inset should not be shown as an empty brace inset on screen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 17:29:24 +00:00
Jürgen Spitzmüller
36435d25d7 * po/ar.po: localization update by Mohamed Magdy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33770 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 13:44:18 +00:00
Vincent van Ravesteijn
c8e783fcaf branch: Fix bug #6552: Crash when inserting TeX-code in math mode and scrolling
Avoid an assertion when accessing the CoordCache while the Inset is in a paragraph which is not visible on screen.

see r33582.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33759 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 23:02:48 +00:00
Vincent van Ravesteijn
83155402c1 * status.16x for previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33758 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 22:34:02 +00:00
Enrico Forestieri
0a7616e65c Fix command line parsing and allow unicode arguments for tex2lyx on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33755 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 22:07:38 +00:00
Vincent van Ravesteijn
01f95f41e6 branch: Fix bug #5735: Modifying a keyboard shortcut function entry clashes with its own shortcut key combination definition.
- Trim the saved lfun because there is a space added in the textfield,
- check whether the action has changed before signaling that the shortcut already exists.

see r33713.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33754 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 21:43:26 +00:00
Vincent van Ravesteijn
f868ad6807 branch: Fix bug #6438: Crash with buffer-switch with no documents open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33753 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 21:33:51 +00:00
Vincent van Ravesteijn
32a3b921d6 branch: Fix bug #6474: Tex2lyx skips all spaces in the preamble.
Partially reverting r30113 (trunk).

see r33711.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33752 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 21:25:27 +00:00
Vincent van Ravesteijn
4ccee3ae39 branch: Fix bug #6525: Autosave error when renaming a new file.
Don't try to move the autosave file if it does not exist.

see r33454 and r33455.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33712 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-11 17:04:28 +00:00
Uwe Stöhr
5322561dcd backport r33615: fix bug that LyX allowed to specify the vertical alignment of table columns without a fixed width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33685 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-09 00:34:58 +00:00
Pavel Sanda
76d3278183 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33659 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 10:56:19 +00:00
Pavel Sanda
c940147cdd Support autoconf 2.65 (#6524).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33658 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 10:54:47 +00:00
Jürgen Spitzmüller
8491020572 Fix bug 6503: Including self as child document crashes branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33657 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 09:38:58 +00:00
Vincent van Ravesteijn
0f06b1c3e8 branch: Fix bug #6491: Empty .emergency file causes crash.
If the load fails, we should not try to save an emergency file as the file was not yet fully loaded and weird things may happen.

see r33294.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33612 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-02 17:50:49 +00:00
Richard Heck
aa91ad06df Backport r33586 for branch. And status!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33611 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-02 15:19:12 +00:00
Jürgen Spitzmüller
afc51e0ffa * handle encoding in PDF options gracefully.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33606 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-02 08:14:05 +00:00
Jürgen Spitzmüller
ae7bbf1999 * po/el.po: remerge.
* status.16x: tweak.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33600 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 08:43:26 +00:00
Uwe Stöhr
911559d766 el.po: new Greek translations by Ulysse Danglis
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33599 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 02:58:27 +00:00
Enrico Forestieri
f024c86911 Fix bug #5238: LyX 1.6 fails with non-ascii chars in path (on Windows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33577 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 13:28:56 +00:00
Jean-Marc Lasgouttes
f818dd0c3c forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33568 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 15:45:21 +00:00
Jürgen Spitzmüller
69c333db98 * Buffer.cpp:
- Issue a warning if a path contains uncodable characters (bug 6301).

Trunk follows.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33512 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 14:30:56 +00:00
Enrico Forestieri
18b02464b4 Operator new[] should always be matched by operator delete[],
even when allocating POD types.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33494 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 08:05:27 +00:00
Enrico Forestieri
d616b5215b Fix bug #3325: Labels with special characters in equations do not work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33471 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 19:00:17 +00:00
Jürgen Spitzmüller
ef1f3ec29e Fix encoding issues in bibitems (bug #6534)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33458 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 08:40:10 +00:00
Jürgen Spitzmüller
788eb2926f * GuiErrorList.cpp:
- use GUIfied strings (bug 6397).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33408 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 11:42:52 +00:00
Enrico Forestieri
fd43c35d30 Fix bug #6510: URL in the footnote will cause the `CJK' environment to terminate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33397 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 18:04:24 +00:00
Enrico Forestieri
e440c54a3e Fix bug #6469: Times Roman and \textgreek produce error with pdflatex on a PC
The problem here is that the metafont sources and tfm files are missing
in normal installations, because the Times Roman Greek fonts are not free
and should be purchased. When the grtimes package is not installed, the
fonts are substitued with cmr glyphs. However, if grtimes is installed
and and the actual fonts are missing, an error is generated. So, we simply
check whether the greek fonts are installed and, if they are not, we
perform the font substitution by ourselves. In this way the error is
avoided whether grtimes is installed or not.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33372 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 23:21:16 +00:00
Jürgen Spitzmüller
ffaf6ed365 * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33369 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 17:53:06 +00:00
Uwe Stöhr
811688510c Math.lyx: add description of \displaystyle and friends
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33359 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 03:18:43 +00:00
Enrico Forestieri
667031f492 Fix shortcut target for the Content combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33346 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 19:18:32 +00:00
Vincent van Ravesteijn
99d403dd30 *status.16x update for r33337.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33345 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 18:45:34 +00:00