]>
git.lyx.org Git - lyx.git/log
Vincent van Ravesteijn [Sat, 15 Aug 2009 18:13:21 +0000 (18:13 +0000)]
Make a new function to check whether a workArea is also shown in another view.
Use this function in closeBufferAll, and use closeBuffer to hide the buffer. Now, closeBuffer will decide whether we need to save the buffer or not. Previously, the buffer got hidden even if it was dirty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31059
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 15 Aug 2009 16:50:44 +0000 (16:50 +0000)]
Little bit of cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31058
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 15 Aug 2009 16:39:36 +0000 (16:39 +0000)]
As discussed on the list: Check for dirty Buffer when destroyed.
Write emergency file if necessary.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31057
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 15 Aug 2009 16:34:54 +0000 (16:34 +0000)]
Move emergencyWrite() from BufferList to Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31056
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 15 Aug 2009 16:03:11 +0000 (16:03 +0000)]
Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31055
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 15 Aug 2009 15:47:12 +0000 (15:47 +0000)]
Fix crash when closing a TabGroup. Probably introduced in r27525 and revealed in r30933.
In setCurrentWorkArea d.current_work_area_ is used which is invalidated by deleting the TabWorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31054
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 15 Aug 2009 15:35:14 +0000 (15:35 +0000)]
Fix searching bug #6139.
Patch by Tommaso.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31053
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 15 Aug 2009 15:11:44 +0000 (15:11 +0000)]
* de.po: some translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31052
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 15 Aug 2009 14:34:00 +0000 (14:34 +0000)]
Fix a crash when applying the preferences.
The problem is that all toolbars are deleted and thus also the LayoutBox, which I made a member of GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31051
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 15 Aug 2009 14:07:05 +0000 (14:07 +0000)]
Among other problems still left. At least close the right tab if you use the context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31050
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 15 Aug 2009 13:26:16 +0000 (13:26 +0000)]
LaTeXConfig.lyx: fix entry for lettrine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31049
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 15 Aug 2009 13:18:46 +0000 (13:18 +0000)]
* po/*.po: remerge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31048
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 15 Aug 2009 02:33:01 +0000 (02:33 +0000)]
Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31045
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 15 Aug 2009 02:18:49 +0000 (02:18 +0000)]
Add info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31044
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 14 Aug 2009 23:12:21 +0000 (23:12 +0000)]
Extend saveBufferIsNeeded with a parameter indicating whether the buffer is going into a hidden state. If so, and the user discards his changes, the buffer will be reloaded to discard the changes.
Now, the option "Hide Tab" uses closeBuffer and asks for saving intead of instantly removing the workArea.
This is part of bug #5893: we try to make sure that there are no dirty hidden buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31043
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 14 Aug 2009 22:58:57 +0000 (22:58 +0000)]
Move layout from GuiToolbar to GuiView. Now, it is possible to use the popup also when the Toolbar has not been visible before.
see:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg75503.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31042
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 14 Aug 2009 22:47:57 +0000 (22:47 +0000)]
Remove GuiToolbar * member from the LayoutBox ctor: Why should we limit a LayoutBox to the Toolbar and it doesn't even have to know where it is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31041
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 14 Aug 2009 20:37:22 +0000 (20:37 +0000)]
Move to QTreeView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31040
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 14 Aug 2009 20:37:12 +0000 (20:37 +0000)]
Move to QAbstractItemView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31039
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 14 Aug 2009 16:54:34 +0000 (16:54 +0000)]
Fix entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31038
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 14 Aug 2009 15:46:10 +0000 (15:46 +0000)]
Constify a bunch of stuff that can be const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31037
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 14 Aug 2009 15:37:34 +0000 (15:37 +0000)]
s/moduleList/theModuleList/ for style purposes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31036
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 14 Aug 2009 15:35:05 +0000 (15:35 +0000)]
Translate categories.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31035
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 14 Aug 2009 15:28:06 +0000 (15:28 +0000)]
Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31034
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 14 Aug 2009 15:20:11 +0000 (15:20 +0000)]
Module categories, for Pavel.
Do free free to change the categories. I just did these ones for testing, really.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31033
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 14 Aug 2009 14:58:52 +0000 (14:58 +0000)]
Adjust the work-around for bug #5957.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31031
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 14 Aug 2009 13:31:34 +0000 (13:31 +0000)]
Forgot this http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153893.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31030
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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