]>
git.lyx.org Git - lyx.git/log
Stefan Schimanski [Fri, 22 Feb 2008 09:00:22 +0000 (09:00 +0000)]
* stdlib-debug out of range fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23120
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 03:39:10 +0000 (03:39 +0000)]
More headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23119
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 03:34:03 +0000 (03:34 +0000)]
Headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23118
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 03:27:42 +0000 (03:27 +0000)]
This is the second commit in the process of making InsetLayout a real class.
Here, we move TextClass::readInsetLayout() to InsetLayout::read().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23117
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 02:32:52 +0000 (02:32 +0000)]
This is the first of a series of commits that will make InsetLayout a real class.
In this commit, we do the minimal amount of work necessary to protect our data.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23116
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 23:38:46 +0000 (23:38 +0000)]
* typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23115
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 23:36:02 +0000 (23:36 +0000)]
* Reduce compilation time by removing the shared_ptr (which is not
really important because the ownership of the CompletionLists is
easy enough) and by removing the deque for the half finished
favorites implemention in InsetMathNest. I think this fits better
into the GuiCompleter anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23114
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 22:39:46 +0000 (22:39 +0000)]
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23113
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 22:19:22 +0000 (22:19 +0000)]
Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23112
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 21:16:31 +0000 (21:16 +0000)]
* Doxy (people really want to stop the time).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23111
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 21 Feb 2008 20:04:17 +0000 (20:04 +0000)]
Cosmetics. And silence some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23110
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:45:36 +0000 (19:45 +0000)]
* a MathMacro is like a normal InsetMathNest in folded mode. Hence it should also behave like that concerning completion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23109
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:45:05 +0000 (19:45 +0000)]
* add some space between math inset and popup. This should really come from the font maximal descent in fact.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23108
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:44:28 +0000 (19:44 +0000)]
* show popup without delay even when the inline completion is just activated by explicit tab
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23107
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:43:53 +0000 (19:43 +0000)]
* silence warnings with null QPixmap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23106
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:43:16 +0000 (19:43 +0000)]
* minimize redraws during completion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23105
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:42:34 +0000 (19:42 +0000)]
* completion infrastructure
* completion support for mathed
* experimental completion support for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23104
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 21 Feb 2008 16:31:59 +0000 (16:31 +0000)]
Add empty InsetLayout for undefined cases. Should avoid possible bugs caused by empty layout_ pointer in InsetCollapsable.
NOTE: Some cleanup is needed here, and I'll do it shortly. Doing it properly, though, requires making InsetLayout a proper class. (At the moment, it's just a C-style struct.) That should be committed separately.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23103
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 15:15:36 +0000 (15:15 +0000)]
* Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23102
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 15:13:39 +0000 (15:13 +0000)]
Add hide tab icon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23101
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 15:09:10 +0000 (15:09 +0000)]
LFUN_CLOSE_TAB_GROUP: bug fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23100
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 14:58:58 +0000 (14:58 +0000)]
Add menu item for close-tab-group
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23098
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 14:53:09 +0000 (14:53 +0000)]
Introduce LFUN_CLOSE_TAB_GROUP.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23097
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 14:34:41 +0000 (14:34 +0000)]
Squash RC warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23096
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 14:23:10 +0000 (14:23 +0000)]
* lib/stdmenus.inc: Collision with HTML|H
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23095
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 13:42:49 +0000 (13:42 +0000)]
Be on the safe side WRT events.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23094
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 21 Feb 2008 13:20:29 +0000 (13:20 +0000)]
* lib/stdmenus.inc:
- fix shortcut casing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23093
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 13:09:27 +0000 (13:09 +0000)]
add menu item for split-view
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23091
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 12:55:16 +0000 (12:55 +0000)]
* LFUN_SPLIT_VIEW: document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23090
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 12:48:05 +0000 (12:48 +0000)]
* LFUN_SPLIT_VIEW: add support for vertical split view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23089
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 12:29:26 +0000 (12:29 +0000)]
* TabWorkArea: rename 'close tab' button to 'close buffer' and add a 'close tab' button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23088
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 11:56:38 +0000 (11:56 +0000)]
Fix drawing of multiple views of a same buffer in the *same window* (aka split-view).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23087
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 11:48:31 +0000 (11:48 +0000)]
Fix buffer-switching in split view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23086
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 09:23:01 +0000 (09:23 +0000)]
* BufferView::resize() Remove showCursor() call when resizing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23085
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 21:46:49 +0000 (21:46 +0000)]
Introducing LFUN_SPLIT_VIEW
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23084
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 20:05:01 +0000 (20:05 +0000)]
small tweak for split view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23083
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 20 Feb 2008 16:56:33 +0000 (16:56 +0000)]
Fix crash by setting Layout before calling InsetText::read().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23081
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Wed, 20 Feb 2008 16:31:50 +0000 (16:31 +0000)]
Make postats.py independent of the environment locale (2nd try)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23080
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 15:37:17 +0000 (15:37 +0000)]
Fix scrollbar/resizing interaction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23079
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 15:11:47 +0000 (15:11 +0000)]
LFUN_UI_TOGGLE: make sure the keyboard focus stays in the work area. Should fix the focus problems under MacOS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23078
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 15:07:36 +0000 (15:07 +0000)]
Work-around scrollbar bug when returning from fullscreen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23077
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 14:53:19 +0000 (14:53 +0000)]
following revert of 23068: Better fix for bug 4044
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23076
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 14:27:52 +0000 (14:27 +0000)]
Fullscreen support: Small cleanups. Still not sure why the scrollbar is not properly updated...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23075
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 20 Feb 2008 14:12:19 +0000 (14:12 +0000)]
more tooltip cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23074
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 20 Feb 2008 13:57:54 +0000 (13:57 +0000)]
cleanup tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23073
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 20 Feb 2008 13:50:35 +0000 (13:50 +0000)]
fix layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23072
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 13:32:03 +0000 (13:32 +0000)]
revert 23068 as this was causing a recursive repaint.
Warning for the future: *no* painting activity should happen inside a paint event.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23071
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 10:21:00 +0000 (10:21 +0000)]
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23070
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 19 Feb 2008 21:51:55 +0000 (21:51 +0000)]
Improve fullscreen mode (bug 4146).
- added toolbars/tabbar/scrollbar toggling
- added text width control
- added GUI preferences & menu & shortcut
Known problems:
- Outliner in Mac is seeking some Mac devie to fix (see hints here:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135382.html )
- Toolbars visibility is shared between windows (views)
(needs toolbars overhaul).
- Adding new tab items does not reflect fullscreen mode
(i.e. margins and tabbar get visible)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23069
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 19 Feb 2008 21:27:18 +0000 (21:27 +0000)]
Update cursor and scrollbar after resize.
Fixes bug 4044.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23068
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Feb 2008 12:42:49 +0000 (12:42 +0000)]
doc update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23066
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Feb 2008 09:13:58 +0000 (09:13 +0000)]
rev 23064: forgot that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23065
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Feb 2008 09:10:59 +0000 (09:10 +0000)]
Various small cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23064
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Feb 2008 07:31:02 +0000 (07:31 +0000)]
Buffer::resetChildDocuments() Check for Buffer emptiness before proceeding.
Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23063
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 19 Feb 2008 07:14:05 +0000 (07:14 +0000)]
* lib/symbols:
- \implies requires amsmath (bug 4561).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23061
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 19 Feb 2008 05:39:36 +0000 (05:39 +0000)]
Disable colsep box when single column.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23060
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 19 Feb 2008 05:24:48 +0000 (05:24 +0000)]
Add support for column separation in page margins. Fixes bug 3337.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23059
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 19 Feb 2008 03:46:11 +0000 (03:46 +0000)]
Clean up a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23058
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 19 Feb 2008 02:35:07 +0000 (02:35 +0000)]
It used to be that things like InsetFlex, InsetCaption, and the like used the default layout, whatever that is---usually Standard. That gave rise to bug 2178, the solution to which is to define a new empty layout, which insets like these use instead of the default. See r22966.
So, when we have an older LyX file, it will look like this:
\begin_inset ERT
status open
\begin_layout Standard
this that
\end_layout
\end_inset
which is now invalid, because ERT uses only PlainLayout. So I had put some code into Text::readParToken, where the layout for a paragraph gets set as it is read:
if (par.forceEmptyLayout()) {
// in this case only the empty layout is allowed
layoutname = tclass.emptyLayoutName();
} else if (par.useEmptyLayout()) {
// in this case, default layout maps to empty layout
if (layoutname == tclass.defaultLayoutName())
layoutname = tclass.emptyLayoutName();
} else {
// otherwise, the empty layout maps to the default
if (layoutname == tclass.emptyLayoutName())
layoutname = tclass.defaultLayoutName();
}
This turns out not to work, because par.forceEmptyLayout() and par.useEmptyLayout() always return false here, because par.inInset() always returns a null pointer, because the paragraph's inset hasn't yet been set when Text::readParagraph() gets called from Text::read() gets called from InsetText::read(). The solution is to set the paragraph's inset when it is created, which means passing a pointer to the various read() routines along the way.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23057
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 18 Feb 2008 10:16:43 +0000 (10:16 +0000)]
* CutAndPaste.cpp (eraseSelectionHelper): when the last paragraph that
is cut is completely erased, remove it regardless of its layout (fixes
bug 3995).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23054
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 18 Feb 2008 10:03:30 +0000 (10:03 +0000)]
* TextClass.cpp (read): do not use istrstream (which is deprecated),
but istringstream instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23053
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 18 Feb 2008 09:55:14 +0000 (09:55 +0000)]
more compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23052
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 18 Feb 2008 09:44:02 +0000 (09:44 +0000)]
Compile fix by Kornel Benko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23051
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 18 Feb 2008 07:44:07 +0000 (07:44 +0000)]
cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23050
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 18 Feb 2008 07:14:42 +0000 (07:14 +0000)]
header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23049
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 17 Feb 2008 20:47:04 +0000 (20:47 +0000)]
header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23048
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 17 Feb 2008 20:18:12 +0000 (20:18 +0000)]
header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23047
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 17 Feb 2008 20:17:33 +0000 (20:17 +0000)]
header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23046
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 17 Feb 2008 20:16:14 +0000 (20:16 +0000)]
Factorize closeEvent() for GuiDialog based dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23045
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 17 Feb 2008 14:09:20 +0000 (14:09 +0000)]
de.po: more updates by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23043
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 16 Feb 2008 21:00:21 +0000 (21:00 +0000)]
de.po: updates by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23040
a592a061 -630c-0410-9148-
cb99ea01b6c8
Dov Feldstern [Sat, 16 Feb 2008 18:39:20 +0000 (18:39 +0000)]
Fix typing of digits in RTL text, which was broken way back during the Font/Language separation (r21240).
The problem was that when typing a digit in RTL text, the language was being
switched to LTR, which is wrong.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23037
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 16 Feb 2008 17:23:07 +0000 (17:23 +0000)]
de.po: some updates by Jürgen and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23035
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 16 Feb 2008 09:23:35 +0000 (09:23 +0000)]
* lib/examples/addressExample.adr:
- don't use German abbreviations (such as "w") and expressions.
- add some documentation.
* lib/examples/de/serienbrief[1-3]:
- fix spelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23031
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 15 Feb 2008 23:38:16 +0000 (23:38 +0000)]
Color.cpp, ColorCode.h: define new colors for inset labels and insets text
stdinsets: use the new colors to allow the users to customize them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23029
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 15 Feb 2008 17:03:07 +0000 (17:03 +0000)]
Define algorithm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23026
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 15 Feb 2008 14:30:08 +0000 (14:30 +0000)]
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23024
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 15 Feb 2008 14:13:05 +0000 (14:13 +0000)]
Fix a crash following the input of an invalid paragraph separation value in the document settings dialog (bug 4556).
* src/frontends/qt4/GuiDocument.cpp:
- disallow input of defskip length without actual length value.
* src/BufferParams.cpp (readToken):
- there might be documents with the invalif "\defskip defskip" param. Reset this to "\defskip medskip".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23022
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 15 Feb 2008 11:36:05 +0000 (11:36 +0000)]
* src/insets/InsetTabular.cpp:
- fix check for top- and bottomlines (rev. 23011).
topLine and bottomLine take a cell argument, not a row.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23020
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Fri, 15 Feb 2008 10:13:50 +0000 (10:13 +0000)]
Document flex-insert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23019
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 15 Feb 2008 10:13:32 +0000 (10:13 +0000)]
* Inset: Prepare for an eventual merge of updateLabels() and addToToc()
* TocBackend: add non const toc() and tocs() access methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23018
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 15 Feb 2008 09:41:53 +0000 (09:41 +0000)]
InsetFoot::updateLabels(): fix potentially dangerous bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23017
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 15 Feb 2008 08:50:35 +0000 (08:50 +0000)]
Outliner: Fix synchronous navigation for all types.
* GuiToc::currentIndex(): remove FIXME
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23016
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 15 Feb 2008 08:39:58 +0000 (08:39 +0000)]
* InsetXXX::addToToc(): properly use passed ParConstIterator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23015
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 15 Feb 2008 08:32:27 +0000 (08:32 +0000)]
* ParConstIterator::push_back(): new method for easier iterative construction.
* InsetCaption::addToToc(): use that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23014
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 15 Feb 2008 08:09:35 +0000 (08:09 +0000)]
Add list of numbered equations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23013
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 15 Feb 2008 01:28:46 +0000 (01:28 +0000)]
InsetTabular.cpp: revert the \bottomline fix from the previous commit because it inly works for certain cases. (I'm running out of ideas to fix this for all case, see http://bugzilla.lyx.org/show_bug.cgi?id=4554#c6 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23012
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 15 Feb 2008 00:28:42 +0000 (00:28 +0000)]
InsetTabular.cpp: check for top and bottom lines, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4554
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23011
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 14 Feb 2008 22:44:42 +0000 (22:44 +0000)]
stdinsets.inc: use minimalistic style for listings as intended by Richard (I changed this unwanted in 22923)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23010
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 14 Feb 2008 22:17:54 +0000 (22:17 +0000)]
the missing bits of r23003
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23008
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 14 Feb 2008 22:13:30 +0000 (22:13 +0000)]
adjust SCons according to r23006
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23007
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 14 Feb 2008 18:06:47 +0000 (18:06 +0000)]
Get rid of GuiIndex since we no longer need it. Simplify the remaining code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23006
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 14 Feb 2008 17:00:40 +0000 (17:00 +0000)]
Code rules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23005
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 14 Feb 2008 15:29:22 +0000 (15:29 +0000)]
InsetNote::addToToc(): Stupid Bug fix causing crash on Mac.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23004
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Thu, 14 Feb 2008 11:23:44 +0000 (11:23 +0000)]
Minimalistic module
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23003
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 14 Feb 2008 09:44:12 +0000 (09:44 +0000)]
factorize code between GuiFontMetrics::rectText() and buttonText().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23000
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 14 Feb 2008 08:49:45 +0000 (08:49 +0000)]
* buttonText(): painting tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22999
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 14 Feb 2008 08:24:52 +0000 (08:24 +0000)]
InsetText::draw() Painting tweaks; reduce the frame by two pixels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22998
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 14 Feb 2008 07:30:33 +0000 (07:30 +0000)]
* InsetNote::addToToc(): Prefix toc entries with note type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22997
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 14 Feb 2008 07:10:12 +0000 (07:10 +0000)]
Cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22996
a592a061 -630c-0410-9148-
cb99ea01b6c8