Commit Graph

15231 Commits

Author SHA1 Message Date
Pavel Sanda
b20d162681 Squeeze warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31733 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-25 09:58:15 +00:00
Jürgen Spitzmüller
18a9c10c94 * PrefDisplayUi.ui: add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31724 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-25 09:13:51 +00:00
Vincent van Ravesteijn
ea5e81651a branch: Fix bug 6129: Show paragraph marks / pilcrows.
see r31155, r31157, r31159 and r31168.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31715 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 17:10:48 +00:00
Enrico Forestieri
fe41e57d12 Backport cumulative fix for bug #6284.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 16:15:29 +00:00
Vincent van Ravesteijn
4c0db93e40 branch: Fix the painting of the last character of a paragraph. That is either the added/deleted paragraph breaks in change tracking or the to-be introduced pilcrow marks.
see r31154.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 11:08:00 +00:00
Vincent van Ravesteijn
54fc638382 branch: Do not remember documents for next startup when closing a window but not closing LyX.
see r31148.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31701 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 10:57:29 +00:00
Vincent van Ravesteijn
9610852f65 branch: Fix bug #2972: Static EndLabelStrings were not painted correctly.
see r30962 and r31205.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31700 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 10:32:26 +00:00
Jürgen Spitzmüller
f68a897158 * LaTeXFeatures.cpp:
- do not eat space at the beginning of \lyxadded macro (bug 6282).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31693 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-23 09:04:15 +00:00
Uwe Stöhr
41d659ee57 tex2lyx/preamble.cpp: fix two issues:
- when languages are given in the documentclass options _and_ the babel options, babel takes the last language option of the \usepackage call
 - there is no quote language "ngerman", it is in both cases "german"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31688 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-20 20:19:15 +00:00
Enrico Forestieri
a087ee5e44 Restore the master language at the end of an included child document
instead of the child document language.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31678 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-19 15:32:43 +00:00
Pavel Sanda
f6b2944e41 I was too fast
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31663 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 19:56:58 +00:00
Pavel Sanda
2672494b9c squash gcc warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31662 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 19:55:03 +00:00
Pavel Sanda
614b5fdd14 Backport change of emergency string.
I suppose no status entry needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31661 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 19:50:59 +00:00
Jean-Marc Lasgouttes
543d12d62e Improve on fix r31610 for ticket #5702. Replacing DefaultModule with
Input did not preserve the loading order of modules.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31639 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 14:25:43 +00:00
Jean-Marc Lasgouttes
783b1434ea Fix #6276: tex2lyx fails to import captions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 14:09:11 +00:00
Jürgen Spitzmüller
4c6d117bd9 * add missing blank.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31627 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 21:31:36 +00:00
Pavel Sanda
f1ed78e722 Backport fix for bug #6255.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31620 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 20:05:30 +00:00
Jean-Marc Lasgouttes
e74dc919ed fix the code introduced in r30896 to look for the right files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31610 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-13 15:18:09 +00:00
Jürgen Spitzmüller
9683aa4ef1 * Changes.cpp (getLaTeXMarkup):
- pass references, not copies.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31605 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-13 07:08:54 +00:00
Jürgen Spitzmüller
0cdc91666d Assure the author is encoded correctly in the LaTeX output of change tracking markup (bug 6225).
Patch reviewed by Jean-Marc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31603 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 16:34:58 +00:00
Jean-Marc Lasgouttes
a8ab4e22e1 backport r31600 (bug #6273)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31601 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 15:50:39 +00:00
Vincent van Ravesteijn
9078a80264 Fix inset-begin and inset-end. Now, if the cursor was at the beginning of a paragraph in the middle of the inset, inset-begin would jump out of the inset.
See r31199.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31599 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 08:28:02 +00:00
Vincent van Ravesteijn
a18553e403 branch: Fix bug #5991: Select function in environments.
C-M-a now selects the contents of an inset, if the whole inset is already selected, it will jump out the inset and selects everything in that inset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31598 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 08:21:32 +00:00
Enrico Forestieri
ee2bbb8d89 Fix bug #6270: Bug in parsing selection as math macro argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31594 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-11 15:37:31 +00:00
Enrico Forestieri
8f2106783f Fix bug #6250: LyX 1.6.4 crashes when copying Japanese text in math to clipboard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31591 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-11 15:26:57 +00:00
Jürgen Spitzmüller
e74ee2fc3e revert unintended commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31571 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-09 12:47:30 +00:00
Jürgen Spitzmüller
7dc9eab62b * InsetExternal.cpp:
* GuiExternal.cpp:
	- do not crash if the list of external templates is empty (bug #3974).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31570 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-09 12:42:32 +00:00
Jürgen Spitzmüller
41924f48f7 * GuiExternal.cpp:
- do not use invalid index if a template is not found. Fixes crash bug #6259.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-09 12:11:13 +00:00
Enrico Forestieri
a08af1f602 Fix bug #6264: Broken undo of removed script in mathed when both scripts are present.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31559 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-08 14:21:55 +00:00
Pavel Sanda
b574759cf2 Backoport fix for bug #5977 - Make Close button on tabs configurable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-07 10:02:30 +00:00
Vincent van Ravesteijn
886071393b branch: Fix bug #6108: Crash on menu key
The wrong context menu is being expanded, because the location where the context menu is requested is computed wrongly by Qt. 

Actually, the problem seemed to be in InputMethodQuery??. For some reason, the box of the cursor is shifted right under the cursor box.

The menu key uses InputMethodQuery?? to locate the context menu, just as he Japanese input method locates the box with possibilities.

1.6.x shows the same behaviour, but in that case it doesn't crash because the spellchecker entry does not exist there, but there might be another case in which it will crash.

see r30797.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31531 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 18:20:55 +00:00
Vincent van Ravesteijn
089945a888 branch: Fix bug #4906: Files always reopened in tabbed window on launch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 14:53:31 +00:00
Enrico Forestieri
7c4f9dc43b Fix bug #6258: LyX incorrectly interprets tetex warnings as errors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31517 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 16:11:57 +00:00
Jürgen Spitzmüller
89bf8d2c8a * LyXView.cpp (reloadBuffer):
- adjust r31511 to prevent null pointer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31512 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 14:33:05 +00:00
Jürgen Spitzmüller
68141ce03c * LyXFunc.cpp (reloadBuffer):
- make sure a child is re-allocated to its master after reloading (bug 6233).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 14:24:20 +00:00
Jürgen Spitzmüller
e215fa5131 * BufferView.cpp (gotoLabel):
- stop iterating over the list of labels after the label was found.
	  This also prevents a crash if the found label is in a child (and the
	  pointers become invalid) [bug 6252].

Trunk already has this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31503 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 10:31:09 +00:00
Pavel Sanda
e4ec45fba2 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-03 23:52:19 +00:00
Jean-Marc Lasgouttes
2d950f264a backport r31489: Fix support for optional argument of \bibitem in tex2lyx (bug 6249)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-02 10:36:34 +00:00
Enrico Forestieri
391659b5af Fix bug #6246: InsetMathKern is broken
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-28 22:11:02 +00:00
Vincent van Ravesteijn
d082cacdfd branch: Fix bug #6188: Assertion with multiple views of same document.
We have to prevent that two views share the same ID, also when an id was supplied (because we can open the same document twice).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-25 14:26:04 +00:00
Jean-Marc Lasgouttes
7911dd2269 backport r31439 (second part of #6142)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31464 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-25 12:43:09 +00:00
Richard Heck
49ed00e105 Fix doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-24 11:57:21 +00:00
Jürgen Spitzmüller
adc876029f * LaTeXFeatures.cpp: fix whitespace issue after Greek character.
No status entry needed, this bug slipped in after 1.6.4.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31454 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-23 10:34:37 +00:00
Jean-Marc Lasgouttes
9cd1131c0c backport r31222 (part of #6142)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31437 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 21:03:05 +00:00
Uwe Stöhr
1d5c704360 GuiPrefs: fix #6176 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31429 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 11:58:31 +00:00
Enrico Forestieri
3fa9c60f44 Fix bug #6215 (spotted by Vincent).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31422 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-20 23:07:16 +00:00
Richard Heck
da444e0bf0 Backport r31395, fixing 6227 for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31414 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-20 15:18:30 +00:00
Enrico Forestieri
d59295680b Properly reset the stream encoding after an environment. Fixes bug #6216.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-19 15:49:56 +00:00
Enrico Forestieri
6ffeab01b7 Implement the LyXServer on Windows.
In order to enable the server, specify the LyXServer pipe in
Tools->Preferences->Paths. The path to be entered there must have the
form "\\.\pipe\nameofyourchoice" (without quotes). After that, you can
send commands to LyX. For example, if the pipe path is \\.\pipe\lyxpipe,
typing the following in a terminal:

echo LYXCMD:test:file-open > \\.\pipe\lyxpipe.in
type \\.\pipe\lyxpipe.out

brings up the file dialog and returns the acknowledgment from LyX.
Beware of spaces when using cmd.exe. For example, the following:
echo LYXCMD:test:file-open:foo.lyx> \\.\pipe\lyxpipe.in
will correctly load the document named foo.lyx, but
echo LYXCMD:test:file-open:foo.lyx > \\.\pipe\lyxpipe.in
(notice the space before the redirection) will try to load a
document whose name is "foo.lyx .lyx" because cmd.exe will also
pass the space (sigh).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-13 20:49:30 +00:00
Enrico Forestieri
3fda114784 Fix bug #6110.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31385 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-13 13:53:53 +00:00