Commit Graph

24818 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
143ea9b490 * InsetListings.cpp:
- do not switch the encoding with XeTeX (bug #6766)
	- some minor formatting

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34649 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-14 12:13:36 +00:00
Edwin Leuven
c2e4c79f6e bit of cleanup to avoid ambiguities (in the sense of cell vs column)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34648 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-14 10:42:42 +00:00
Edwin Leuven
7b51fb74a7 columnWidth returns the col width of a cell, which is not what we want here (should fix tables flying of the screen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34647 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-13 20:27:28 +00:00
Richard Heck
732e1cfed7 Remove obsolete comment. An attempt to start doing what is suggested
here ran into insufferable problems: I.e., a Cursor IS-A DocIterator in
the code now, whether it was before or not.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34646 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-13 18:29:00 +00:00
Edwin Leuven
b031ac1e66 do not use cells without decimals when calculating column widths and cell text offsets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34645 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-12 16:44:50 +00:00
Richard Heck
e6ab2b0442 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34644 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-12 14:00:43 +00:00
Edwin Leuven
c64fb28046 add new lyx funcs introduced in r34598 to doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34643 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-12 10:29:12 +00:00
Richard Heck
8f54bac004 ...this value. As the comment says, this is the value we need to expose
in the preferences to solve bug #6760.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34641 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 21:04:57 +00:00
Richard Heck
ae2f979947 More minor cleanup, while looking for...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34640 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 21:02:47 +00:00
Richard Heck
d205cd4b68 Minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34639 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 20:56:42 +00:00
Enrico Forestieri
0c26995be6 Fix bug #6756: import problem with \ (no space following)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34638 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 20:13:11 +00:00
Richard Heck
81228c90fc Fix bug #6759. Thanks to Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34637 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 17:02:55 +00:00
Richard Heck
cd78e02a24 Minor code cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34636 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 15:14:22 +00:00
Richard Heck
22c1d47b02 Fix bug #6762. Silly mistake.
Also, disable corresponding code for required arguments. tex2lyx does
not produce a high enough file format yet for this to make sense, I
don't think.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34635 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 15:08:04 +00:00
Stephan Witt
2052c1e7cc correct in LFUN_MATH_NUMBER_TOGGLE the conversion of display state to enabled state
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34634 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-09 12:04:25 +00:00
Jean-Marc Lasgouttes
df62af4323 fix warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34630 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-08 13:38:12 +00:00
Uwe Stöhr
9fb737d047 Basque docs: major updates by Iñaki Larrañaga Murgoitio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34625 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-08 02:49:49 +00:00
Uwe Stöhr
d8c0af6cf1 scons_manifest.py: fix SCons after Edwin's new files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34624 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-08 01:37:28 +00:00
Vincent van Ravesteijn
2ebf8cdc6c Fix bug #6685: Assertion when quitting LyX with a Reference List in the Advanced Find Dialog
During the deletion of pimpl_, one don't want the assert LASSERT(singleton_) to fire in one of the the***() functions. In this case it is theBufferList(), which is needed by the dtor of BibItem?.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 22:12:22 +00:00
Vincent van Ravesteijn
068d87a711 Constify GuiView::busy().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34622 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 22:09:59 +00:00
Vincent van Ravesteijn
a26a9be9bc Fix the storage of the last opened files list when having multiple windows. We need to know whether a view is closed by the user pressing the x (clearing the last-opened list of previous closed windows), or whether the view is closed in a cascade of all views (no clearing of the last-opened list).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34621 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 22:07:38 +00:00
Richard Heck
8514082c4a FORMAT for previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34620 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:59:54 +00:00
Richard Heck
0345bef67b Renaming: \\begin_inset OptArg to \\begin_inset Argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34619 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:58:27 +00:00
Vincent van Ravesteijn
098f722a1f Fix part of bug #5942:
- buffer-switch does open tabs even when open in tabs is disabled;
- buffer-switch open the document in a new tab even if it is already opened in another view.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34618 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:57:37 +00:00
Richard Heck
c43de0dd4b This was missing from a previous commit: Didn't go because I'd forgotten
to `svn resolve' it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34617 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:29:31 +00:00
Richard Heck
919a19e2e3 FORMAT for last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34616 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:27:38 +00:00
Richard Heck
5c0a1e5c4e Use new RequiredArgs tag to improve Beamer UI. Also includes a dummy
format bump so we can convert old Beamer files, which are otherwise
broken by the new layout.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34615 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:26:56 +00:00
Richard Heck
70627f9a75 FORMAT for Edwin's format change.
Note that I suggest we henceforth include the revision, as here, as one
sometimes wants to see precisely what was done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34614 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:23:54 +00:00
Vincent van Ravesteijn
abbfb45998 Fix bug #6751: Assert when changing number of columns in 'simple' math-inset.
In r33495, "LFUN_TABULAR_FEATURE" was replaced by "LFUN_INSET_MODIFY tabular". However, the status of LFUN_INSET_MODIFY is always enabled while a lot of insets are not allowed to change the number of columns etc.

There we need to disable the "LFUN_INSET_MODIFY tabular" status.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 20:54:10 +00:00
Peter Kümmel
ddc38c93ca don't block GUI when showing all debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34612 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 20:25:41 +00:00
Edwin Leuven
fea446303d simplify some conditions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34611 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 09:39:04 +00:00
Stephan Witt
f6071af49d avoid preprocessor macros for path constants
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34610 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 19:10:10 +00:00
Stephan Witt
41d43591df build aspell with debug enabled, care for Qt 4.7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34609 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 19:09:22 +00:00
Enrico Forestieri
fe7196a545 The delimiters '<' and '>' can also be used as big delimiters. They are
equivalent to \langle and \rangle, which were already taken into account.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34607 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 18:11:15 +00:00
Peter Kümmel
92d4d7c061 cmake: build debugging symbols for debug builds
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34606 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 10:31:46 +00:00
Peter Kümmel
f50127ffe8 compile with GCC 4.4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34605 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 10:07:49 +00:00
Enrico Forestieri
e0a5cda787 Add GUI support for big delimiters variants without 'l', 'm' or 'r' endings.
They differ from their cousins only for the space left around them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34604 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 00:42:33 +00:00
Peter Kümmel
617af0f954 cmake: update package list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34603 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 11:44:05 +00:00
Peter Kümmel
807fc1443a also use TR1 code for bind and shared_ptr when compiling with GCC >= 4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34600 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 11:06:13 +00:00
Edwin Leuven
f403c0a601 get rid of some missing enum warnings after r34598
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34599 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 08:26:00 +00:00
Edwin Leuven
0ebe0ff37e add support for decimal alignment in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 07:44:44 +00:00
Richard Heck
319ca06167 Rename LFUN_OPTIONAL_INSERT as LFUN_ARGUMENT_INSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34597 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:53:44 +00:00
Richard Heck
8480d1dd9a Rename InsetOptArg as InsetArgument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34596 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:44:58 +00:00
Richard Heck
f9377c8bcc Update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34595 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:28:21 +00:00
Richard Heck
9aa9dacb4f Fix silly initialization bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34594 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:17:28 +00:00
Richard Heck
2581036784 Documentation for RequiredArgs tag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34593 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:00:50 +00:00
Richard Heck
b0097bcddb Introduce a new "RequiredArgs" tag for layouts. This functions much as
the OptionalArgs tag does and is implemented by the now misnamed
InsetOptArgs, except that its content gets wrapped in "{}" rather than
"[]". Required arguments do not actually have to be provided, but they
are always output. 

This will allow e.g. beamer's Block environment to be implemented
without ERT.

Documentation to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34591 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 21:50:08 +00:00
Vincent van Ravesteijn
8bbd8bc44c Fix bug #6606: Crash when reverting a document with a not available document class.
If the document class is not available, we now issue a warning for the user. This triggers a focusInEvent of the WorkArea and the cursor is issued to start blinking. However, when reverting a document the cursor is probably invalid and there has been no chance yet to fix it as we are still reading the file. 

The solution is to not show the cursor when the view is still busy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34590 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 13:24:03 +00:00
Peter Kümmel
acbfa35458 fix bug #6748: queue LyXErrMessages so any other stuff is done
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34589 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-03 21:24:20 +00:00
Jean-Marc Lasgouttes
b25d19435a fix compilation on F13 and binutils/gold by rewriting specialized X11 code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34588 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-03 07:26:19 +00:00