]> git.lyx.org Git - lyx.git/log
lyx.git
16 years ago* BufferView::resize() Remove showCursor() call when resizing.
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

16 years agoIntroducing LFUN_SPLIT_VIEW
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

16 years agosmall tweak for split view.
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

16 years agoFix crash by setting Layout before calling InsetText::read().
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

16 years agoMake postats.py independent of the environment locale (2nd try)
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

16 years agoFix scrollbar/resizing interaction.
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

16 years agoLFUN_UI_TOGGLE: make sure the keyboard focus stays in the work area. Should fix the...
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

16 years agoWork-around scrollbar bug when returning from fullscreen mode.
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

16 years agofollowing revert of 23068: Better fix for bug 4044
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

16 years agoFullscreen support: Small cleanups. Still not sure why the scrollbar is not properly...
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

16 years agomore tooltip cleanup
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

16 years agocleanup tooltip
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

16 years agofix layout
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

16 years agorevert 23068 as this was causing a recursive repaint.
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

16 years agocosmetics
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

16 years agoImprove fullscreen mode (bug 4146).
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

16 years agoUpdate cursor and scrollbar after resize.
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

16 years agodoc update.
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

16 years agorev 23064: forgot that.
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

16 years agoVarious small cleanup.
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

16 years agoBuffer::resetChildDocuments() Check for Buffer emptiness before proceeding.
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

16 years ago* lib/symbols:
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

16 years agoDisable colsep box when single column.
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

16 years agoAdd support for column separation in page margins. Fixes bug 3337.
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

16 years agoClean up a bit.
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

16 years agoIt used to be that things like InsetFlex, InsetCaption, and the like used the default...
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

16 years ago * CutAndPaste.cpp (eraseSelectionHelper): when the last paragraph that
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

16 years ago * TextClass.cpp (read): do not use istrstream (which is deprecated),
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

16 years agomore compile fixes
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

16 years agoCompile fix by Kornel Benko.
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

16 years agocosmetics.
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

16 years agoheader cleanup
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

16 years agoheader cleanup
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

16 years agoheader cleanup
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

16 years agoheader cleanup
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

16 years agoFactorize closeEvent() for GuiDialog based dialogs.
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

16 years agode.po: more updates by Jürgen
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

16 years agode.po: updates by Jürgen
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

16 years agoFix typing of digits in RTL text, which was broken way back during the Font/Language...
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

16 years agode.po: some updates by Jürgen and me
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

16 years ago* lib/examples/addressExample.adr:
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

16 years agoColor.cpp, ColorCode.h: define new colors for inset labels and insets text
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

16 years agoDefine algorithm.
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

16 years agocosmetics
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

16 years agoFix a crash following the input of an invalid paragraph separation value in the docum...
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

16 years ago* src/insets/InsetTabular.cpp:
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

16 years agoDocument flex-insert
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

16 years ago* Inset: Prepare for an eventual merge of updateLabels() and addToToc()
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

16 years agoInsetFoot::updateLabels(): fix potentially dangerous bug.
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

16 years agoOutliner: Fix synchronous navigation for all types.
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

16 years ago* InsetXXX::addToToc(): properly use passed ParConstIterator.
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

16 years ago* ParConstIterator::push_back(): new method for easier iterative construction.
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

16 years agoAdd list of numbered equations.
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

16 years agoInsetTabular.cpp: revert the \bottomline fix from the previous commit because it...
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

16 years agoInsetTabular.cpp: check for top and bottom lines, fixes http://bugzilla.lyx.org/show_...
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

16 years agostdinsets.inc: use minimalistic style for listings as intended by Richard (I changed...
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

16 years agothe missing bits of r23003
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

16 years agoadjust SCons according to r23006
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

16 years agoGet rid of GuiIndex since we no longer need it. Simplify the remaining code.
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

16 years agoCode rules.
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

16 years agoInsetNote::addToToc(): Stupid Bug fix causing crash on Mac.
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

16 years agoMinimalistic module
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

16 years agofactorize code between GuiFontMetrics::rectText() and buttonText().
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

16 years ago* buttonText(): painting tweaks.
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

16 years agoInsetText::draw() Painting tweaks; reduce the frame by two pixels.
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

16 years ago* InsetNote::addToToc(): Prefix toc entries with note type.
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

16 years agoCleanup.
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

16 years agoProtect our data.
Richard Heck [Thu, 14 Feb 2008 05:28:59 +0000 (05:28 +0000)]
Protect our data.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22995 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDo not inherit from std::map here either.
Richard Heck [Thu, 14 Feb 2008 05:14:22 +0000 (05:14 +0000)]
Do not inherit from std::map here either.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22994 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDo not inherit from std::map.
Richard Heck [Thu, 14 Feb 2008 05:00:54 +0000 (05:00 +0000)]
Do not inherit from std::map.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22993 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoImprove flex-insert doxy
Martin Vermeer [Thu, 14 Feb 2008 04:38:01 +0000 (04:38 +0000)]
Improve flex-insert doxy

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22992 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix Layout::read() API.
Richard Heck [Thu, 14 Feb 2008 04:12:15 +0000 (04:12 +0000)]
Fix Layout::read() API.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22991 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix previous commit.
Richard Heck [Thu, 14 Feb 2008 03:49:12 +0000 (03:49 +0000)]
Fix previous commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22990 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMake sure we write a valid file even if InsetFlex is undefined.
Richard Heck [Thu, 14 Feb 2008 03:42:54 +0000 (03:42 +0000)]
Make sure we write a valid file even if InsetFlex is undefined.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22989 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix TextClass::read API. Also some cleanup.
Richard Heck [Thu, 14 Feb 2008 03:38:08 +0000 (03:38 +0000)]
Fix TextClass::read API. Also some cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22988 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoWarnings
Richard Heck [Thu, 14 Feb 2008 03:35:03 +0000 (03:35 +0000)]
Warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22987 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoWrong status of ui-toggle. Spotted by Bennett.
Pavel Sanda [Thu, 14 Feb 2008 00:06:39 +0000 (00:06 +0000)]
Wrong status of ui-toggle. Spotted by Bennett.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22986 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd doxy.
Pavel Sanda [Wed, 13 Feb 2008 22:28:37 +0000 (22:28 +0000)]
Add doxy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22985 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* INSTALL
Pavel Sanda [Wed, 13 Feb 2008 20:30:31 +0000 (20:30 +0000)]
* INSTALL

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22984 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAnother doxy.
Pavel Sanda [Wed, 13 Feb 2008 15:41:55 +0000 (15:41 +0000)]
Another doxy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22983 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoForgot lfuns renumbering.
Pavel Sanda [Wed, 13 Feb 2008 15:11:29 +0000 (15:11 +0000)]
Forgot lfuns renumbering.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22982 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDocument Layout::read() and TextClass::read() return value. This should be fixed.
Abdelrazak Younes [Wed, 13 Feb 2008 14:46:19 +0000 (14:46 +0000)]
Document Layout::read() and TextClass::read() return value. This should be fixed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22981 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago*TextClass::readStyle(): return true on success!
Abdelrazak Younes [Wed, 13 Feb 2008 14:39:16 +0000 (14:39 +0000)]
*TextClass::readStyle(): return true on success!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22980 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix crash when deleting outlined insets while the outline panel is open.
Abdelrazak Younes [Wed, 13 Feb 2008 14:16:51 +0000 (14:16 +0000)]
Fix crash when deleting outlined insets while the outline panel is open.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22979 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd doxy.
Pavel Sanda [Wed, 13 Feb 2008 14:15:34 +0000 (14:15 +0000)]
Add doxy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22978 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoRemove LFUN_FILE_NEW.
Pavel Sanda [Wed, 13 Feb 2008 14:07:50 +0000 (14:07 +0000)]
Remove LFUN_FILE_NEW.
Obsoleted by LFUN_BUFFER_NEW, moreover its was currently buggy.

See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135371.html .

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22977 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd list of Marginal Notes.
Abdelrazak Younes [Wed, 13 Feb 2008 13:33:56 +0000 (13:33 +0000)]
Add list of Marginal Notes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22976 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd list of Indexes.
Abdelrazak Younes [Wed, 13 Feb 2008 13:19:39 +0000 (13:19 +0000)]
Add list of Indexes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22975 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agorev 22973: correct fix.
Abdelrazak Younes [Wed, 13 Feb 2008 12:37:11 +0000 (12:37 +0000)]
rev 22973: correct fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22974 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoWarning fix
Abdelrazak Younes [Wed, 13 Feb 2008 12:25:42 +0000 (12:25 +0000)]
Warning fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22973 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* doInsertInset(): cosmetics
Abdelrazak Younes [Wed, 13 Feb 2008 12:10:18 +0000 (12:10 +0000)]
* doInsertInset(): cosmetics
* Text::dispatch(): call updateLabels() where it makes sense.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22972 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFrench Math.lyx: avoid some ERT
Uwe Stöhr [Tue, 12 Feb 2008 22:55:15 +0000 (22:55 +0000)]
French Math.lyx: avoid some ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22970 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFrench translation of the math manual by Siegfried
Uwe Stöhr [Tue, 12 Feb 2008 22:22:36 +0000 (22:22 +0000)]
French translation of the math manual by Siegfried

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22968 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix r22935, which was an attempt to fix a bug of mine in r22929.
Dov Feldstern [Tue, 12 Feb 2008 20:58:12 +0000 (20:58 +0000)]
fix r22935, which was an attempt to fix a bug of mine in r22929.
This brings things back to the way they were (semantically) before r22929,
which is the way they should be (visual mode has not been implemented for
tables, yet, and therefore tables should not be semantically changed here).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22967 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix bug 4037 and related problems. The patch has been cleaned up a bit
Richard Heck [Tue, 12 Feb 2008 17:31:07 +0000 (17:31 +0000)]
Fix bug 4037 and related problems. The patch has been cleaned up a bit
from the one posted to the list.

The basic idea has two parts. First, we hard code an "empty layout"
(called PlainLayout, for want of a better name) in TextClass and read it
before doing anything else. It can therefore be customized by classes,
if they want---say, to make it left-aligned. Second, InsetText's are
divided into three types: (i) normal ones, that use the "default" layout
defined by the text class; (ii) highly restrictive ones, such as ERT and
(not quite an inset) table cells, which demand the empty layout; (iii)
middling ones, which default to an empty layout and use the empty layout
in place of the default. (This is so we don't get the same problem we
had with ERT in e.g. footnotes.) The type of inset is signaled by new
methods InsetText::forceEmptyLayout() and InsetText::useEmptyLayout().
(The latter might better be called: useEmptyLayoutInsteadOfDefault(),
but that's silly.) The old InsetText::forceDefaultParagraphs() has been
split into these, plus a new method InsetText::allowParagraphCustomization().
A lot of the changes just adapt to this change.

The other big change is in GuiToolbar: We want to show LyXDefault and
the "default" layout only when they're active.

There are a handful of places where I'm not entirely sure whether we
should be using forceEmptyLayout or !allowParagraphCustomization() or
both. The InsetCaption is one of these. These places, and some others,
are marked with FIXMEs, so I'd appreciate it if people would search
through the patch and let me know whether these need changing. If they
don't, the FIXMEs can be deleted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22966 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoTranlatable strings.
Richard Heck [Tue, 12 Feb 2008 16:41:49 +0000 (16:41 +0000)]
Tranlatable strings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22965 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* GuiView::event(): ensure current workarea has the focus on window activation. This...
Abdelrazak Younes [Tue, 12 Feb 2008 15:44:45 +0000 (15:44 +0000)]
* GuiView::event(): ensure current workarea has the focus on window activation. This prevents document jumps when the outline panel previously had the focus.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22964 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoTry to restore current selected type in case of a toc reset.
Abdelrazak Younes [Tue, 12 Feb 2008 15:33:01 +0000 (15:33 +0000)]
Try to restore current selected type in case of a toc reset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22963 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomore cleanup to installation instructions
Jean-Marc Lasgouttes [Tue, 12 Feb 2008 10:10:54 +0000 (10:10 +0000)]
more cleanup to installation instructions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22960 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agotrim some grey hair
Jean-Marc Lasgouttes [Tue, 12 Feb 2008 09:58:52 +0000 (09:58 +0000)]
trim some grey hair

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22959 a592a061-630c-0410-9148-cb99ea01b6c8