]> git.lyx.org Git - lyx.git/log
lyx.git
14 years agoDon't rely on the signal delivered by raise(), as this may cause a bogus
Enrico Forestieri [Fri, 14 Aug 2009 13:19:02 +0000 (13:19 +0000)]
Don't rely on the signal delivered by raise(), as this may cause a bogus
assertion when Qt is compiled in debug mode, and simply directly perform
an emergency cleanup when a shutdown event occurs on Windows.

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

14 years agonew document option to suppress the default date, fileformat change, fixes #5823
Uwe Stöhr [Fri, 14 Aug 2009 00:52:33 +0000 (00:52 +0000)]
new document option to suppress the default date, fileformat change, fixes #5823

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

14 years agoMove OS specific code to proper place. Also make sure that no other
Enrico Forestieri [Fri, 14 Aug 2009 00:42:45 +0000 (00:42 +0000)]
Move OS specific code to proper place. Also make sure that no other
handler functions are called after processing shutdown events.

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

14 years agocapitals.module: typo
Uwe Stöhr [Fri, 14 Aug 2009 00:06:42 +0000 (00:06 +0000)]
capitals.module: typo

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

14 years agoSpanish UserGuide.lyx: translation updates from Ignacio
Uwe Stöhr [Thu, 13 Aug 2009 23:06:49 +0000 (23:06 +0000)]
Spanish UserGuide.lyx: translation updates from Ignacio

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

14 years agoconfigure.py: check also for Yap, MiKTeX's DVI previewer
Uwe Stöhr [Thu, 13 Aug 2009 22:24:32 +0000 (22:24 +0000)]
configure.py: check also for Yap, MiKTeX's DVI previewer

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

14 years agoAt least we have agreed upon this
Pavel Sanda [Thu, 13 Aug 2009 21:54:32 +0000 (21:54 +0000)]
At least we have agreed upon this

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

14 years agoFix assertion that was revealed in my tree.
Vincent van Ravesteijn [Thu, 13 Aug 2009 21:32:55 +0000 (21:32 +0000)]
Fix assertion that was revealed in my tree.

This really has to be QComboBox::showPopup(). Otherwise, we'll hit the LASSERT(!d->inShowPopup_, /**/); in either LayoutBox::showPopup() or LayoutBox::Private::showPopup().

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

14 years agoFix bug 6140. Patch due to gmatht.
Richard Heck [Thu, 13 Aug 2009 19:17:41 +0000 (19:17 +0000)]
Fix bug 6140. Patch due to gmatht.

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

14 years ago* po/uk.po: update from Yuri.
Jürgen Spitzmüller [Thu, 13 Aug 2009 17:41:32 +0000 (17:41 +0000)]
* po/uk.po: update from Yuri.

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

14 years agoFix bug #6134: Reload context menu for graphics inset.
Vincent van Ravesteijn [Thu, 13 Aug 2009 17:21:59 +0000 (17:21 +0000)]
Fix bug #6134: Reload context menu for graphics inset.

This shouldn't be necessary, but sometimes it is.

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

14 years ago*article-beamer.layout:
Jürgen Spitzmüller [Thu, 13 Aug 2009 16:10:38 +0000 (16:10 +0000)]
*article-beamer.layout:
- override settings inherited from beamer.layout (patch from Paul Rubin <rubin@msu.edu>)

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

14 years agoFix bug #6126: Assertion with page down in Math manual.
Vincent van Ravesteijn [Thu, 13 Aug 2009 14:18:12 +0000 (14:18 +0000)]
Fix bug #6126: Assertion with page down in Math manual.

If we correct the row where we put the cursor after a PgDn or PgUp command, then we should also adjust the y-coordinate that is used later for checkInsetHit and inset->editXY.

However, this code doesn't function like it should, but that is bug #4382.

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

14 years agoFix the dataloss problem when shutting down Windows (part of bug #5525).
Enrico Forestieri [Thu, 13 Aug 2009 13:55:26 +0000 (13:55 +0000)]
Fix the dataloss problem when shutting down Windows (part of bug #5525).

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

14 years agoFix bug #6103.
Pavel Sanda [Thu, 13 Aug 2009 11:29:48 +0000 (11:29 +0000)]
Fix bug #6103.
Juergen?

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

14 years agoFix bug #2536 - Dropped capitals module
Pavel Sanda [Thu, 13 Aug 2009 11:18:43 +0000 (11:18 +0000)]
Fix bug #2536 - Dropped capitals module

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

14 years agoPlenty unneeded headers
Pavel Sanda [Wed, 12 Aug 2009 22:47:01 +0000 (22:47 +0000)]
Plenty unneeded headers

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

14 years agoFix order
Pavel Sanda [Wed, 12 Aug 2009 22:37:22 +0000 (22:37 +0000)]
Fix order

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

14 years agoCompil fix
Pavel Sanda [Wed, 12 Aug 2009 22:22:26 +0000 (22:22 +0000)]
Compil fix

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

14 years agoFix bug #2045.
Pavel Sanda [Wed, 12 Aug 2009 22:09:50 +0000 (22:09 +0000)]
Fix bug #2045.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153796.html

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

14 years agoscons too
Pavel Sanda [Wed, 12 Aug 2009 21:58:29 +0000 (21:58 +0000)]
scons too

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

14 years agoThis move out the GuiLayoutBox class out of GuiToolbar where it was a mess. The new...
Abdelrazak Younes [Wed, 12 Aug 2009 21:51:10 +0000 (21:51 +0000)]
This move out the GuiLayoutBox class out of GuiToolbar where it was a mess. The new LayoutBox is less of a mess now but still a mess.

We need a proper LayoutModel class.

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

14 years agoWhitespace and correct naming.
Vincent van Ravesteijn [Wed, 12 Aug 2009 20:06:29 +0000 (20:06 +0000)]
Whitespace and correct naming.

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

14 years agoExplicitly pass to closeBuffer whether the tab should only be hidden or that the...
Vincent van Ravesteijn [Wed, 12 Aug 2009 20:03:34 +0000 (20:03 +0000)]
Explicitly pass to closeBuffer whether the tab should only be hidden or that the buffer should be released.

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

14 years agoDissect closeBuffer() and saveBufferIfNeeded().
Vincent van Ravesteijn [Wed, 12 Aug 2009 18:50:09 +0000 (18:50 +0000)]
Dissect closeBuffer() and saveBufferIfNeeded().

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

14 years agoMinor update.
Richard Heck [Wed, 12 Aug 2009 14:58:29 +0000 (14:58 +0000)]
Minor update.

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

14 years agoDocs for IfStyle and IfCounter
Richard Heck [Wed, 12 Aug 2009 14:57:20 +0000 (14:57 +0000)]
Docs for IfStyle and IfCounter

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

14 years agoIfStyle and IfCounter tags for layout. Docs to follow.
Richard Heck [Wed, 12 Aug 2009 14:50:01 +0000 (14:50 +0000)]
IfStyle and IfCounter tags for layout. Docs to follow.

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

14 years ago* GuiView.cpp: disable character and symbols dialog in read-only mode.
Jürgen Spitzmüller [Wed, 12 Aug 2009 11:02:02 +0000 (11:02 +0000)]
* GuiView.cpp: disable character and symbols dialog in read-only mode.

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

14 years agoGet rid off unneeded horiz scrollbar
Pavel Sanda [Wed, 12 Aug 2009 09:46:26 +0000 (09:46 +0000)]
Get rid off unneeded horiz scrollbar

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

14 years agoFix bug 5946: Infinite loop when opening file with two files opened with the same...
Jürgen Spitzmüller [Tue, 11 Aug 2009 12:34:06 +0000 (12:34 +0000)]
Fix bug 5946: Infinite loop when opening file with two files opened with the same name

This simply changes the appearance of the display path (in the tab header) in one detail: if the file suffix is not "lyx" (but "lyx15" etc.), the file is displayed with the extension. This fixes the problem (which is due to identical display paths), and it adds, IMHO, useful information to the GUI.

Patch reviewed by vfr.

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

14 years agoFix bug #2120 - Emergency saves removal.
Pavel Sanda [Tue, 11 Aug 2009 08:20:43 +0000 (08:20 +0000)]
Fix bug #2120 - Emergency saves removal.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143251.html
http://marc.info/?l=lyx-devel&m=124938609111483&w=2

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

14 years agode.po: some translations from Hartmut and me
Uwe Stöhr [Tue, 11 Aug 2009 00:24:32 +0000 (00:24 +0000)]
de.po: some translations from Hartmut and me

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

14 years agotex2lyx/preamble.cpp: revert r30103 and r30448 as discussed
Uwe Stöhr [Tue, 11 Aug 2009 00:07:08 +0000 (00:07 +0000)]
tex2lyx/preamble.cpp: revert r30103 and r30448 as discussed

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

14 years agoDon't paint misspelled mark if continuous spellchecking is disabled.
Abdelrazak Younes [Mon, 10 Aug 2009 22:03:55 +0000 (22:03 +0000)]
Don't paint misspelled mark if continuous spellchecking is disabled.

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

14 years agoText::dispatch(): the spellchecking code is now uneeded.
Abdelrazak Younes [Mon, 10 Aug 2009 21:17:08 +0000 (21:17 +0000)]
Text::dispatch(): the spellchecking code is now uneeded.
TextMetrics::drawParagraph(): really check the whole row and not only the first word.

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

14 years agoMove the inline spellchecking code from collectWords() to the row drawing routine...
Abdelrazak Younes [Mon, 10 Aug 2009 20:54:22 +0000 (20:54 +0000)]
Move the inline spellchecking code from collectWords() to the row drawing routine. The text row is spell checked only if changed!

Now inline SpellChecker is faster than ever. Now, I honestly think that we blow out all the competitors (thunderbird, OO, MSWord, etc) :-)

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

14 years agodelete unused code.
Abdelrazak Younes [Mon, 10 Aug 2009 20:11:48 +0000 (20:11 +0000)]
delete unused code.

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

14 years agoCorrect datatypes.
Vincent van Ravesteijn [Mon, 10 Aug 2009 19:47:37 +0000 (19:47 +0000)]
Correct datatypes.

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

14 years agoFix bug #3997: RTL paragraphs are painted slightly too far to the left
Vincent van Ravesteijn [Mon, 10 Aug 2009 19:47:05 +0000 (19:47 +0000)]
Fix bug #3997: RTL paragraphs are painted slightly too far to the left

In the computation of the row width, the last space on a row was included. However, this space is not drawn on screen and shouldn't contribute to the width. As a result all rows in a paragraph were painted slightly too far to the left, except the last on.

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

14 years agosmall simplification and speedup for InsetFoot::updateLabels
Jean-Marc Lasgouttes [Mon, 10 Aug 2009 12:51:27 +0000 (12:51 +0000)]
small simplification and speedup for InsetFoot::updateLabels

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

14 years agoavoid a doubled \footnote command in latex output (fixes #6130)
Jean-Marc Lasgouttes [Mon, 10 Aug 2009 09:32:59 +0000 (09:32 +0000)]
avoid a doubled \footnote command in latex output (fixes #6130)

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

14 years agoRemoved unused code.
Richard Heck [Sun, 9 Aug 2009 23:06:31 +0000 (23:06 +0000)]
Removed unused code.

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

14 years agoPartially fix bug 2972: The logic was all backwards here.
Richard Heck [Sun, 9 Aug 2009 21:44:46 +0000 (21:44 +0000)]
Partially fix bug 2972: The logic was all backwards here.

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

14 years agooutline(): avoid paragraph copying by using RandomAccessList::splice().
Abdelrazak Younes [Sun, 9 Aug 2009 20:25:20 +0000 (20:25 +0000)]
outline(): avoid paragraph copying by using RandomAccessList::splice().

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

14 years agoHopefully this works on other archs too.
Pavel Sanda [Sun, 9 Aug 2009 20:09:08 +0000 (20:09 +0000)]
Hopefully this works on other archs too.

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

14 years agogcc compilation fix and introduce new splice method.
Abdelrazak Younes [Sun, 9 Aug 2009 20:06:54 +0000 (20:06 +0000)]
gcc compilation fix and introduce new splice method.

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

14 years agoRandomAccessList: new swap() method for swapping two elements without any copy.
Abdelrazak Younes [Sun, 9 Aug 2009 19:51:12 +0000 (19:51 +0000)]
RandomAccessList: new swap() method for swapping two elements without any copy.
LFUN_PARAGRAPH_MOVE_UP and LFUN_PARAGRAPH_MOVE_DOWN: use that.

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

14 years agoMove depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods.
Abdelrazak Younes [Sun, 9 Aug 2009 18:35:39 +0000 (18:35 +0000)]
Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods.

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

14 years agoMove setLabelWidthStringToSequence() to Text private member.
Abdelrazak Younes [Sun, 9 Aug 2009 17:45:24 +0000 (17:45 +0000)]
Move setLabelWidthStringToSequence() to Text private member.
Move isFullyDeleted() to static function in CutAndPaste.cpp.

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

14 years agoMove contents of paragraph_funcs.* to Text.h and Text.cpp.
Abdelrazak Younes [Sun, 9 Aug 2009 17:30:41 +0000 (17:30 +0000)]
Move contents of paragraph_funcs.* to Text.h and Text.cpp.
The goal is to simplify the code afterwards.

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

14 years agoMove Text::insertStringAsLines and Text::insertStringAsParagraphs from Text2.cpp...
Abdelrazak Younes [Sun, 9 Aug 2009 17:14:41 +0000 (17:14 +0000)]
Move Text::insertStringAsLines and Text::insertStringAsParagraphs from Text2.cpp to Text.cpp.

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

14 years agoGet rid of some Paragraph::inInset() access.
Abdelrazak Younes [Sun, 9 Aug 2009 17:01:04 +0000 (17:01 +0000)]
Get rid of some Paragraph::inInset() access.

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

14 years agogcc compilation and warning fixes.
Abdelrazak Younes [Sun, 9 Aug 2009 17:00:26 +0000 (17:00 +0000)]
gcc compilation and warning fixes.

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

14 years agoCleanup: Replace a bunch of Cursor arguments with DocIterators.
Abdelrazak Younes [Sun, 9 Aug 2009 16:49:41 +0000 (16:49 +0000)]
Cleanup: Replace a bunch of Cursor arguments with DocIterators.

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

14 years agoGet rid of one instance of Paragraph::inInset().
Abdelrazak Younes [Sun, 9 Aug 2009 16:38:19 +0000 (16:38 +0000)]
Get rid of one instance of Paragraph::inInset().

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

14 years agoGet rid of Buffer::insertStringAsLines().
Abdelrazak Younes [Sun, 9 Aug 2009 16:37:30 +0000 (16:37 +0000)]
Get rid of Buffer::insertStringAsLines().

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

14 years agoText::Inset(): now returns a reference in order to make clear that the owner is manda...
Abdelrazak Younes [Sun, 9 Aug 2009 16:19:43 +0000 (16:19 +0000)]
Text::Inset(): now returns a reference in order to make clear that the owner is mandatory.

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

14 years agoText: move things to private.
Abdelrazak Younes [Sun, 9 Aug 2009 16:00:25 +0000 (16:00 +0000)]
Text: move things to private.

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

14 years agoText: Get rid of BufferParams arguments.
Abdelrazak Younes [Sun, 9 Aug 2009 15:52:33 +0000 (15:52 +0000)]
Text: Get rid of BufferParams arguments.

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

14 years agoDocIterator::innerText(): reuse innerTextSlice()
Abdelrazak Younes [Sun, 9 Aug 2009 15:47:50 +0000 (15:47 +0000)]
DocIterator::innerText(): reuse innerTextSlice()

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

14 years agoGet rid of Paragraph::forcePlainLayout().
Abdelrazak Younes [Sun, 9 Aug 2009 15:38:55 +0000 (15:38 +0000)]
Get rid of Paragraph::forcePlainLayout().

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

14 years agoNow that Text knows its owner, use the associated Buffer access.
Abdelrazak Younes [Sun, 9 Aug 2009 15:29:34 +0000 (15:29 +0000)]
Now that Text knows its owner, use the associated Buffer access.

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

14 years agoGeneral cleanup: Text is (or should be) nothing more than InsetText private implement...
Abdelrazak Younes [Sun, 9 Aug 2009 15:05:36 +0000 (15:05 +0000)]
General cleanup: Text is (or should be) nothing more than InsetText private implementation. We need access to the owner InsetText property in many cases where we instead take the Paragraph owner inset, which is the same of course. Next step is to avoid this indirection whenever possible.

I also updated InsetMathMBox so that it remains compilable, even if not used.

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

14 years agoUpdate docs
Pavel Sanda [Sun, 9 Aug 2009 14:47:05 +0000 (14:47 +0000)]
Update docs

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

14 years agoreturn early.
Abdelrazak Younes [Sun, 9 Aug 2009 14:38:54 +0000 (14:38 +0000)]
return early.

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

14 years agoFix bug #6056. Recognize Graphicsmagick too.
Pavel Sanda [Sun, 9 Aug 2009 14:38:49 +0000 (14:38 +0000)]
Fix bug #6056. Recognize Graphicsmagick too.

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

14 years agoGet rid of Paragraph::ownerCode().
Abdelrazak Younes [Sun, 9 Aug 2009 14:33:35 +0000 (14:33 +0000)]
Get rid of Paragraph::ownerCode().

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

14 years agoFix #6120. Selection not set when switching to a different tab.
Pavel Sanda [Sun, 9 Aug 2009 14:27:50 +0000 (14:27 +0000)]
Fix #6120. Selection not set when switching to a different tab.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153514.html

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

14 years agoFix memory leak.
Abdelrazak Younes [Sun, 9 Aug 2009 14:07:44 +0000 (14:07 +0000)]
Fix memory leak.

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

14 years agoDelay Spellchecker intanciation until first use.
Abdelrazak Younes [Sun, 9 Aug 2009 14:04:39 +0000 (14:04 +0000)]
Delay Spellchecker intanciation until first use.
This also solve the problem of the rc entry that was not acknowledged.

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

14 years agoFix hunspell suggestion call.
Abdelrazak Younes [Sun, 9 Aug 2009 13:43:58 +0000 (13:43 +0000)]
Fix hunspell suggestion call.

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

14 years agoCompile fix.
Abdelrazak Younes [Sat, 8 Aug 2009 17:26:18 +0000 (17:26 +0000)]
Compile fix.

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

14 years agoMinimal support for hunspell. Spellchecking works but not suggestion, at least on...
Abdelrazak Younes [Sat, 8 Aug 2009 17:05:31 +0000 (17:05 +0000)]
Minimal support for hunspell. Spellchecking works but not suggestion, at least on Win/MSVC.

There are two new rc preference:

* spellchecker: can now be "aspell" or "hunspell", this is selectable in the SpellChecker preference dialog
* hunspelldir_path: needed for hunspell dictionaries which are defined to be in a fixed location. This can be modified in the path preference dialog.

The SpellChecker classes could be instanciated on the fly whenerver they are needed if we want that.

Please test and help me finish this hunspell integration...

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

14 years ago* qt_helpers.cpp:
Jürgen Spitzmüller [Sat, 8 Aug 2009 11:48:04 +0000 (11:48 +0000)]
* qt_helpers.cpp:
- omit group separators for numbers.

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

14 years agoA slightly different work-around which also captures the 25% scaling that was reported.
Vincent van Ravesteijn [Sat, 8 Aug 2009 01:25:17 +0000 (01:25 +0000)]
A slightly different work-around which also captures the 25% scaling that was reported.

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

14 years agoRevert previous commit.
Vincent van Ravesteijn [Sat, 8 Aug 2009 00:07:52 +0000 (00:07 +0000)]
Revert previous commit.

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

14 years agoFix part of bug #6127: Roundtrip Lyx->Latex->Lyx fails.
Vincent van Ravesteijn [Fri, 7 Aug 2009 22:51:02 +0000 (22:51 +0000)]
Fix part of bug #6127: Roundtrip Lyx->Latex->Lyx fails.

Add the package amstext to the list of known packages.

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

14 years agoMakefiles for previous commit.
Richard Heck [Fri, 7 Aug 2009 19:24:37 +0000 (19:24 +0000)]
Makefiles for previous commit.

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

14 years agoMove the LaTeX proof declaration to a separate file, for inclusion elsewhere.
Richard Heck [Fri, 7 Aug 2009 19:20:13 +0000 (19:20 +0000)]
Move the LaTeX proof declaration to a separate file, for inclusion elsewhere.

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

14 years agoNormalize whitespace.
Richard Heck [Fri, 7 Aug 2009 19:15:38 +0000 (19:15 +0000)]
Normalize whitespace.

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

14 years agoFixes for theorem modules from Paul Rubin.
Richard Heck [Fri, 7 Aug 2009 19:06:12 +0000 (19:06 +0000)]
Fixes for theorem modules from Paul Rubin.

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

14 years agoWork-around for bug #6034: Applying preferences confuses window about its size.
Vincent van Ravesteijn [Fri, 7 Aug 2009 12:49:03 +0000 (12:49 +0000)]
Work-around for bug #6034: Applying preferences confuses window about its size.

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

14 years agoCatch encoding exception when performing instant preview on an uncodable char (bug...
Jürgen Spitzmüller [Fri, 7 Aug 2009 05:25:22 +0000 (05:25 +0000)]
Catch encoding exception when performing instant preview on an uncodable char (bug 6116).

* MathStream{.cpp, h}:
- replace bool dryrun() by enum output that also knows whether the stream is for instant preview
* InsetMathHull.cpp:
- tell the stream whether we use it for instant preview.
* MathString.cpp (write):
- gracefully catch encoding exception for instant preview.

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

14 years agoUserGuide.lyx: describe the menu File -> Fax
Uwe Stöhr [Fri, 7 Aug 2009 01:33:40 +0000 (01:33 +0000)]
UserGuide.lyx: describe the menu File -> Fax

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

14 years agoconfigure.py: check for hylapex, a fax program that runs on all platforms
Uwe Stöhr [Fri, 7 Aug 2009 01:31:22 +0000 (01:31 +0000)]
configure.py: check for hylapex, a fax program that runs on all platforms

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

14 years agoFix bug #740 (part 2): Wish for added menu item: File->Close all.
Vincent van Ravesteijn [Fri, 7 Aug 2009 00:41:39 +0000 (00:41 +0000)]
Fix bug #740 (part 2): Wish for added menu item: File->Close all.

Now disable the menuitem when there is only 1 visible buffer.

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

14 years agoUserGuide.lyx: adjust dashes as proposed by John R. Hudson
Uwe Stöhr [Fri, 7 Aug 2009 00:06:32 +0000 (00:06 +0000)]
UserGuide.lyx: adjust dashes as proposed by John R. Hudson

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

14 years agoUserGuide.lyx: update to latest file format
Uwe Stöhr [Fri, 7 Aug 2009 00:02:41 +0000 (00:02 +0000)]
UserGuide.lyx: update to latest file format

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

14 years agoLaTeXConfig.lyx: this has also been forgotten in r30338
Uwe Stöhr [Thu, 6 Aug 2009 23:27:02 +0000 (23:27 +0000)]
LaTeXConfig.lyx: this has also been forgotten in r30338

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

14 years agoFix typo for r30882.
Vincent van Ravesteijn [Thu, 6 Aug 2009 23:20:34 +0000 (23:20 +0000)]
Fix typo for r30882.

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

14 years agoFix bug #740: Wish for added menu item: File->Close all.
Vincent van Ravesteijn [Thu, 6 Aug 2009 23:17:16 +0000 (23:17 +0000)]
Fix bug #740: Wish for added menu item: File->Close all.

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

14 years agochkconfig.ltx: this has been forgotten in r30338
Uwe Stöhr [Thu, 6 Aug 2009 23:14:08 +0000 (23:14 +0000)]
chkconfig.ltx: this has been forgotten in r30338

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

14 years agoGerman Tutorial.lyx: please Hartmut
Uwe Stöhr [Thu, 6 Aug 2009 23:09:52 +0000 (23:09 +0000)]
German Tutorial.lyx: please Hartmut

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

14 years agoFix bug #6125: Float positioning dialog enables invalid options for subfloats.
Vincent van Ravesteijn [Thu, 6 Aug 2009 22:42:42 +0000 (22:42 +0000)]
Fix bug #6125: Float positioning dialog enables invalid options for subfloats.

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

14 years ago* fr.po: update by Jean-Pierre.
Jürgen Spitzmüller [Thu, 6 Aug 2009 13:13:34 +0000 (13:13 +0000)]
* fr.po: update by Jean-Pierre.

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

14 years agoBetter name for variable.
Richard Heck [Thu, 6 Aug 2009 12:44:06 +0000 (12:44 +0000)]
Better name for variable.

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

14 years ago* de/Tutorial.lyx: minor corrections reported on lyx-docs.
Jürgen Spitzmüller [Thu, 6 Aug 2009 11:47:40 +0000 (11:47 +0000)]
* de/Tutorial.lyx: minor corrections reported on lyx-docs.

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

14 years agoMacroData has a buffer_ member, so use this instead of a dummy one.
Enrico Forestieri [Thu, 6 Aug 2009 10:25:48 +0000 (10:25 +0000)]
MacroData has a buffer_ member, so use this instead of a dummy one.

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

14 years agoFix bug #6014: Assertion when pasting "\def" into 2.0svn
Enrico Forestieri [Thu, 6 Aug 2009 09:53:06 +0000 (09:53 +0000)]
Fix bug #6014: Assertion when pasting "\def" into 2.0svn

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