Richard Heck
c5487a3682
Move emergencyWrite() from BufferList to Buffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31056 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 16:34:54 +00:00
Richard Heck
45600e36eb
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31055 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 16:03:11 +00:00
Vincent van Ravesteijn
7044b156f0
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
2009-08-15 15:47:12 +00:00
Pavel Sanda
ab36804b6c
Fix searching bug #6139 .
...
Patch by Tommaso.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31053 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 15:35:14 +00:00
Jürgen Spitzmüller
fb6e08ec98
* de.po: some translations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31052 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 15:11:44 +00:00
Vincent van Ravesteijn
ffea0ce1e9
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
2009-08-15 14:34:00 +00:00
Vincent van Ravesteijn
3c91fecb61
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
2009-08-15 14:07:05 +00:00
Uwe Stöhr
da2599d8ed
LaTeXConfig.lyx: fix entry for lettrine
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31049 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 13:26:16 +00:00
Jürgen Spitzmüller
1357be9f2d
* po/*.po: remerge.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31048 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 13:18:46 +00:00
Pavel Sanda
4259abe4a2
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31045 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 02:33:01 +00:00
Pavel Sanda
905630e05b
Add info
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31044 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 02:18:49 +00:00
Vincent van Ravesteijn
bbafbc884c
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
2009-08-14 23:12:21 +00:00
Vincent van Ravesteijn
81554c90f1
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
2009-08-14 22:58:57 +00:00
Vincent van Ravesteijn
7215b099d3
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
2009-08-14 22:47:57 +00:00
Pavel Sanda
7031c2bc5b
Move to QTreeView
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31040 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 20:37:22 +00:00
Pavel Sanda
1f8c4c3f26
Move to QAbstractItemView
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31039 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 20:37:12 +00:00
Pavel Sanda
0008c148bb
Fix entry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31038 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 16:54:34 +00:00
Richard Heck
56146a9346
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
2009-08-14 15:46:10 +00:00
Richard Heck
ea0501025e
s/moduleList/theModuleList/ for style purposes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31036 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:37:34 +00:00
Richard Heck
05e00b9341
Translate categories.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:35:05 +00:00
Richard Heck
2a25d7039f
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31034 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:28:06 +00:00
Richard Heck
7035f4cabb
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
2009-08-14 15:20:11 +00:00
Vincent van Ravesteijn
d92ff67005
Adjust the work-around for bug #5957 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31031 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 14:58:52 +00:00
Pavel Sanda
6f981418bf
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
2009-08-14 13:31:34 +00:00
Enrico Forestieri
0695afbc55
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
2009-08-14 13:19:02 +00:00
Uwe Stöhr
33eec90086
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
2009-08-14 00:52:33 +00:00
Enrico Forestieri
50fa5f24d3
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
2009-08-14 00:42:45 +00:00
Uwe Stöhr
8e4bc22b28
capitals.module: typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31026 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 00:06:42 +00:00
Uwe Stöhr
1e412f3cb4
Spanish UserGuide.lyx: translation updates from Ignacio
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31024 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 23:06:49 +00:00
Uwe Stöhr
29d4c2de97
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
2009-08-13 22:24:32 +00:00
Pavel Sanda
4179ca47b3
At least we have agreed upon this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31022 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 21:54:32 +00:00
Vincent van Ravesteijn
072237ab4b
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
2009-08-13 21:32:55 +00:00
Richard Heck
40c9f9d9eb
Fix bug 6140. Patch due to gmatht.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31018 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 19:17:41 +00:00
Jürgen Spitzmüller
5cfe4c9454
* po/uk.po: update from Yuri.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31017 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 17:41:32 +00:00
Vincent van Ravesteijn
770aa71839
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
2009-08-13 17:21:59 +00:00
Jürgen Spitzmüller
603a1c545c
*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
2009-08-13 16:10:38 +00:00
Vincent van Ravesteijn
bc9b16683e
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
2009-08-13 14:18:12 +00:00
Enrico Forestieri
945dad51bf
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
2009-08-13 13:55:26 +00:00
Pavel Sanda
4e082c886d
Fix bug #6103 .
...
Juergen?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31004 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 11:29:48 +00:00
Pavel Sanda
c610266db2
Fix bug #2536 - Dropped capitals module
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31003 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 11:18:43 +00:00
Pavel Sanda
3fbe484391
Plenty unneeded headers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31000 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 22:47:01 +00:00
Pavel Sanda
70fdfa86df
Fix order
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30999 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 22:37:22 +00:00
Pavel Sanda
dc18e925a8
Compil fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30998 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 22:22:26 +00:00
Pavel Sanda
4c338ac22d
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
2009-08-12 22:09:50 +00:00
Pavel Sanda
9ce433f60e
scons too
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30996 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 21:58:29 +00:00
Abdelrazak Younes
5f2429b4e2
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
2009-08-12 21:51:10 +00:00
Vincent van Ravesteijn
797f13806d
Whitespace and correct naming.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30994 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 20:06:29 +00:00
Vincent van Ravesteijn
5ba1f471c7
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
2009-08-12 20:03:34 +00:00
Vincent van Ravesteijn
3ac3ab1a78
Dissect closeBuffer() and saveBufferIfNeeded().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 18:50:09 +00:00
Richard Heck
ac60f0318a
Minor update.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30991 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 14:58:29 +00:00