Commit Graph

26502 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
5cc077c571 Automatically append the InsetCollapsable context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36609 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:05:06 +00:00
Vincent van Ravesteijn
b600508ee2 Remove duplicated entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:04:38 +00:00
Vincent van Ravesteijn
80c1e18bda Compile fix: solve the merge conflicts in the correct way ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36607 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 23:47:55 +00:00
Vincent van Ravesteijn
c42a61c5ac Fix bug #6642: Concatenate the context menus for: InsetCollapsables without a button, InsetTexts which have a custom context menu and InsetTabulars. Override the default behaviour for InsetInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36606 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 23:21:52 +00:00
Vincent van Ravesteijn
c9da62fb08 Implement the possibility of concatenating (context) menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36605 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 23:15:31 +00:00
Vincent van Ravesteijn
e7f2bbe1ee Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36604 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 21:27:25 +00:00
Vincent van Ravesteijn
5eb7add409 Fix bug #6315: counters in insets that don't produce output have ghost values.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36603 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 19:11:38 +00:00
Vincent van Ravesteijn
b81550b459 Remove unused #include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36602 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 18:49:04 +00:00
Pavel Sanda
67157e0cdb * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36601 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 17:41:06 +00:00
Pavel Sanda
f582fe35a4 Re-remerge of cs.po to get some reasonable diffs after last Uwe's itching.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36600 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 17:27:20 +00:00
Vincent van Ravesteijn
f814bb14bb Properly check for the value of an enum. Unexpected things will happen whenever the enum itself changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36599 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 17:14:38 +00:00
Vincent van Ravesteijn
dc9d39dafe Add missing cur.forceBufferUpdate() to LFUN_BRANCH_(DE)ACTIVATE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:50:22 +00:00
Jean-Marc Lasgouttes
940ab1261b Fix part of bug #7072 by opening undo groups as needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36597 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:38:13 +00:00
Jean-Marc Lasgouttes
87a0c25bc4 Fix missing undo group when doing the following:
* create math inset
* enter macro name \ww
* press left arrow to re-enter the macro name inset, add a third 'w'.
* when leaving the inset is is updated through notifyCursorLeaves, but no undo group is active



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36596 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:06:43 +00:00
Jean-Marc Lasgouttes
4439f6144f Fix bug #6768: inset-toggle points cursor after inset
Strangely enough, the code to go after the inset is here explicitely (so somebody thought at some time that it was a good idea. However, it is not active in 1.6.x...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36595 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 15:19:20 +00:00
Kornel Benko
1221139fcb * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36594 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 14:41:32 +00:00
Pavel Sanda
e8e580f732 Highlight python issues more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36593 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 14:12:47 +00:00
Jean-Marc Lasgouttes
f75569d08c fix #6930: ERT inset should not act on INSET_MODIFY requests directed to someone else
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36592 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 13:30:17 +00:00
Pavel Sanda
0180558f7d * UPGRADING
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36588 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 12:16:49 +00:00
Pavel Sanda
4d02104d31 Regenerate credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36585 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:12 +00:00
Pavel Sanda
110b3ccf18 Add Ale to contributors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36584 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:11 +00:00
Pavel Sanda
fdc3b1efd5 ui glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36583 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:10 +00:00
Pavel Sanda
182100d376 UI for #4581.
Patch from Ale.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:08 +00:00
Jean-Marc Lasgouttes
3753804463 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36581 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 10:48:40 +00:00
Jean-Marc Lasgouttes
574931dcdb Fix bug #6930: no undo for inset type changing
THis is a consequence of the new AtPoint mechanism. In the old
world, recordUndoInset was called before INSET_MODIFY. I reintroduced
manual recordUndoInset calls in all places that matter. I suspect
that this issue should be revisited later.

Note that recordUndoInset can now take an optional parameter that tells
what inset is concerned. This is useful because the cursor can be
either just inside the inset or in front of it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36580 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 09:47:46 +00:00
Jürgen Spitzmüller
baaceb10c2 * PDFOptions.cpp:
- omit \inputencoding changes with XeTeX/LuaTeX.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36579 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 09:03:55 +00:00
Jürgen Spitzmüller
5c02ca57d4 * BufferParams.cpp: use polyglossia only with nonTeXFonts.
Now the UG compiles with XeTeX and tex fonts.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36578 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 07:52:58 +00:00
Jürgen Spitzmüller
1073e98e67 * en.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36577 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 07:30:30 +00:00
Jürgen Spitzmüller
37f22ce17c * de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36576 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 07:29:37 +00:00
Jürgen Spitzmüller
f1b586d445 * lyx2lyx/lyx_2_0.py:
- remove wrong warning (bug 7100).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36574 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 07:09:58 +00:00
Uwe Stöhr
afa0e65696 - remerge po-files (Sorry Pavel, but I don't know how to work on the translations and fixing typos and shortcut clashes without remerging.)
- de.po: some translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36571 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 04:26:49 +00:00
Uwe Stöhr
04e6f69a42 enumitem.module: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36570 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 04:24:06 +00:00
Uwe Stöhr
12de34f1fa configure.py: fix shortcut clash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36569 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 04:23:35 +00:00
Uwe Stöhr
5524485856 InsetMathSubstack.cpp: fix #2498
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36567 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 03:18:02 +00:00
Uwe Stöhr
d80053cda8 GuiTabular.cpp: fix #3517
- disable column alignment and width if there is a LaTeX argument
- use also for the LaTeX argument the editingFinished method (as for all other edit fields in the dialog)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36566 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 02:38:29 +00:00
Uwe Stöhr
aa69852341 TabularUi.ui: fix spacing of column width unitCB
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36565 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 02:36:25 +00:00
Richard Heck
0afac5a291 Accept changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36564 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 22:51:20 +00:00
Richard Heck
8a38a5763e Fix bug #7086, in so far as that is possible. The only thing to do is
explain the workaround.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36563 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 22:26:07 +00:00
Richard Heck
a61899ffe7 Allow InPreamble to be used with Paragraph-type environments. There is
no reason not to permit this, and using it with PassThru 1 allows for a
very simple Preamble layout-type that acts as ERT for the premable. Of
course, we do have the preamble in Document>Settings, but that allows
the embedding of preamble code in branches.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36562 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 22:08:11 +00:00
Uwe Stöhr
746fb55c9b Spanish EmbeddedObjects.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36561 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 21:42:28 +00:00
Uwe Stöhr
729ba31fed EmbeddedObjects.lyx: correct description bug found by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36560 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 21:42:02 +00:00
Jürgen Spitzmüller
3d1226b4f2 * Use the package luainputenc if LuaTeX is used as output format _with_ tex fonts. With this, the UG compiles with LuaTeX if "Unse non-TeX fonts" is not selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36559 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:51:21 +00:00
Jürgen Spitzmüller
7538a23c15 * Buffer.cpp (makeLaTeXFile):
- With XeTeX/LuaTeX and tex fonts, we need to force the encoding to utf8-plain manually.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36558 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:43:22 +00:00
Georg Baum
c8ec2c0a03 Fix bug #7088
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36557 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:16:11 +00:00
Georg Baum
c5799b7019 Fix bug #7091 and bug #7094
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36556 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:02:10 +00:00
Georg Baum
969529b25b 1) Add missing LuaTeX icons
2) Make pdf icons distinguishable.
   This is useful for users like me who want them directly on the toolbar
   without the indirection through the *-others popups.
3) Apply the fixes of r29715 to buffer-export_pdf2.png


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36555 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 16:40:46 +00:00
Jürgen Spitzmüller
72f24353fa * InsetInclude.cpp:
- if a master is compiled with XeteX or LuaTeX, all children must have plain utf8 encoding
	  (bug #6774).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36554 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 14:20:45 +00:00
Jürgen Spitzmüller
e14b6a280d whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36553 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 13:49:14 +00:00
Georg Baum
e2309ca098 Fix bug #6853 (Short titles ignored when InPreamble is set to 1 in layout file)
The fix includes required arguments and LaTeXParam, too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36552 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 12:27:52 +00:00
Georg Baum
b5097b13cf forgot to check for the package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36551 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 11:32:26 +00:00