]> git.lyx.org Git - lyx.git/log
lyx.git
14 years ago* Buffer.cpp (readHeader): restore the default index after cleaning up.
Jürgen Spitzmüller [Mon, 17 Aug 2009 07:34:01 +0000 (07:34 +0000)]
* Buffer.cpp (readHeader): restore the default index after cleaning up.

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

14 years agoNext bits from Tommaso, part of bug #6139.
Pavel Sanda [Mon, 17 Aug 2009 07:06:01 +0000 (07:06 +0000)]
Next bits from Tommaso, part of bug #6139.

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

14 years agoUse spellcheck
Kornel Benko [Sun, 16 Aug 2009 07:31:34 +0000 (07:31 +0000)]
Use spellcheck

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

14 years agoAdd changes made in branch
Kornel Benko [Sun, 16 Aug 2009 06:51:29 +0000 (06:51 +0000)]
Add changes made in branch

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

14 years agoFindAndReplaceUi.ui: Use groupboxes to tell the user where to insert what, patch...
Uwe Stöhr [Sun, 16 Aug 2009 00:51:02 +0000 (00:51 +0000)]
FindAndReplaceUi.ui: Use groupboxes to tell the user where to insert what, patch from Tommaso

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

14 years agoUpdate it.po
Enrico Forestieri [Sun, 16 Aug 2009 00:33:46 +0000 (00:33 +0000)]
Update it.po

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

14 years agoMark a buffer as clean when the user chose to discard the changes. This is a patch...
Vincent van Ravesteijn [Sun, 16 Aug 2009 00:26:14 +0000 (00:26 +0000)]
Mark a buffer as clean when the user chose to discard the changes. This is a patch from Richard to make his emergency cleanup procedure in Buffer::~Buffer work.

Besides that, this can also been seen in 1.6.3. If you have a master and a dirty child, and the dirty child is the second tab, you'll see that when closing LyX, LyX will ask twice whether you want to save the file. Once if the file itself is closed, a second time if the master is closing all his children.

See also the previous commit that treats the case in which the tabs were switched around.

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

14 years agoFix a crash when closing LyX while a master and a dirty child were open, and if the...
Vincent van Ravesteijn [Sun, 16 Aug 2009 00:21:02 +0000 (00:21 +0000)]
Fix a crash when closing LyX while a master and a dirty child were open, and if the dirty child is the first tab.

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

14 years agoRelease children of a master if the children don't have a default master. It was...
Vincent van Ravesteijn [Sun, 16 Aug 2009 00:19:27 +0000 (00:19 +0000)]
Release children of a master if the children don't have a default master. It was already proven that the child is a child of the master, but the check the other way around failed when child->parent() was zero.

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

14 years agoBufferParams.cpp: make the suppress date feature safer because we cannot be sure...
Uwe Stöhr [Sat, 15 Aug 2009 23:43:59 +0000 (23:43 +0000)]
BufferParams.cpp: make the suppress date feature safer because we cannot be sure that every document class has a \date command

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

14 years agoText3.cpp: fix crash reported in #6133, patch from Tommaso
Uwe Stöhr [Sat, 15 Aug 2009 22:53:15 +0000 (22:53 +0000)]
Text3.cpp: fix crash reported in #6133, patch from Tommaso

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

14 years agoMath.lyx: describe how to create multiline chemical equations
Uwe Stöhr [Sat, 15 Aug 2009 22:46:43 +0000 (22:46 +0000)]
Math.lyx: describe how to create multiline chemical equations

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

14 years agorename capitals.module to initials.module as discussed on the list
Uwe Stöhr [Sat, 15 Aug 2009 22:16:36 +0000 (22:16 +0000)]
rename capitals.module to initials.module as discussed on the list

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

14 years agode.po: some translations
Uwe Stöhr [Sat, 15 Aug 2009 22:03:33 +0000 (22:03 +0000)]
de.po: some translations

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

14 years agoIf we are hiding a buffer _and_ the buffer is visible in another view/tabgroup, then...
Vincent van Ravesteijn [Sat, 15 Aug 2009 21:46:39 +0000 (21:46 +0000)]
If we are hiding a buffer _and_ the buffer is visible in another view/tabgroup, then we don't need to ensure that the buffer is clean.

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

14 years agoLet's get rid of this strange Buffer * construction. After that I introduced the...
Vincent van Ravesteijn [Sat, 15 Aug 2009 21:33:37 +0000 (21:33 +0000)]
Let's get rid of this strange Buffer * construction. After that I introduced the inMultiViews() function, it wasn't necessary anymore.

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

14 years agoRename closeBuffer to closeWorkArea, because we'll have to await whether we'll actual...
Vincent van Ravesteijn [Sat, 15 Aug 2009 21:29:14 +0000 (21:29 +0000)]
Rename closeBuffer to closeWorkArea, because we'll have to await whether we'll actually close the buffer or not.

Now we can also pass the WorkArea we would like to close. This fixes also the problem that hideWorkArea still wasn't correct. That's a consequence of the fact that we relied on currentMainWorkArea(). I wanted to get rid of that anyway.

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

14 years agoFix a bunch of assertions.
Vincent van Ravesteijn [Sat, 15 Aug 2009 20:47:46 +0000 (20:47 +0000)]
Fix a bunch of assertions.

The first thing that bformat does is to check whether the string contains "%1$s". Otherwise it asserts.

Why didn't we see this happen before ? This was revealed by the emergency saves that Richard introduced in the Buffer dtor.

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

14 years agoFix warnings.
Vincent van Ravesteijn [Sat, 15 Aug 2009 20:03:41 +0000 (20:03 +0000)]
Fix warnings.

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

14 years agoComment.
Richard Heck [Sat, 15 Aug 2009 18:45:54 +0000 (18:45 +0000)]
Comment.

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

14 years agoMake a new function to check whether a workArea is also shown in another view.
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

14 years agoLittle bit of cleanup.
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

14 years agoAs discussed on the list: Check for dirty Buffer when destroyed.
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

14 years agoMove emergencyWrite() from BufferList to Buffer.
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

14 years agoTypo.
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

14 years agoFix crash when closing a TabGroup. Probably introduced in r27525 and revealed in...
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

14 years agoFix searching bug #6139.
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

14 years ago* de.po: some translations.
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

14 years agoFix a crash when applying the preferences.
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

14 years agoAmong other problems still left. At least close the right tab if you use the context...
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

14 years agoLaTeXConfig.lyx: fix entry for lettrine
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

14 years ago* po/*.po: remerge.
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

14 years agoCosmetics
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

14 years agoAdd info
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

14 years agoExtend saveBufferIsNeeded with a parameter indicating whether the buffer is going...
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

14 years agoMove layout from GuiToolbar to GuiView. Now, it is possible to use the popup also...
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

14 years agoRemove GuiToolbar * member from the LayoutBox ctor: Why should we limit a LayoutBox...
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

14 years agoMove to QTreeView
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

14 years agoMove to QAbstractItemView
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

14 years agoFix entry
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

14 years agoConstify a bunch of stuff that can be const.
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

14 years agos/moduleList/theModuleList/ for style purposes.
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

14 years agoTranslate categories.
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

14 years agoStyle.
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

14 years agoModule categories, for Pavel.
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

14 years agoAdjust the work-around for bug #5957.
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

14 years agoForgot this http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153893.html
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

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