]>
git.lyx.org Git - lyx.git/log
Uwe Stöhr [Tue, 18 Aug 2009 23:18:43 +0000 (23:18 +0000)]
Hebrew Intro.lyx: one more extended -> Additional conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31132
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 18 Aug 2009 22:17:30 +0000 (22:17 +0000)]
The rest of Extendedlyx -> Additional.lyx move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31131
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 21:18:21 +0000 (21:18 +0000)]
If we are in a close_event all children will be closed in some time, so no need to do it here. This will ensure that the children end up in the session file in the correct order. If we close the master buffer, we can close or release the child buffers here too.
We don't want a master buffer to release all its children immediately because that would close dirty childs without saving and would make it impossible to store the childs in a proper way in the session file.
As, we close all children of a buffer together with the master itself, it is also no longer necessary to do it automatically.
I'll leave it commented out for a while in case someone objects to it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31130
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 18 Aug 2009 21:00:03 +0000 (21:00 +0000)]
Fix bug #6153.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31129
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 20:51:43 +0000 (20:51 +0000)]
Let's make trunk compilable again.
This should have gone with r31127.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31128
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 20:48:15 +0000 (20:48 +0000)]
- Ditch the in_close_event parameter, as we can use closing_ for this purpose.
- Add some comments for the functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31127
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 20:41:29 +0000 (20:41 +0000)]
If we are in a closeEvent, we don't want to close all buffers, because these may live in another View. So, only close the WorkAreas in this view.
For now, I stick to the convention that closing a buffer, will close it in all tabworkareas and all views. Therefore, when choosing File->Close All, we still close all buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31126
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 20:12:34 +0000 (20:12 +0000)]
Rename closeBufferAll to closeWorkAreaAll (because that's what we do). Add a new closeBufferAll function that closes all WorkArea's and then all hidden buffers. This is easy now, because we've done everything to prevent hidden buffers to be dirty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31125
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 19:27:19 +0000 (19:27 +0000)]
Fix bug #5893: LyX closes hidden dirty buffers without asking.
Closing a tab group will now hide the buffers, but if buffers are dirty it will first ask you to save it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31124
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 19:05:04 +0000 (19:05 +0000)]
Dissect closeBufferAll and closeTabWorkArea. Unfortunately, I have two pass ugly parameters.
Forgot this one of course.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31123
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 19:04:39 +0000 (19:04 +0000)]
Dissect closeBufferAll and closeTabWorkArea. Unfortunately, I have two pass ugly parameters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31122
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 18:34:22 +0000 (18:34 +0000)]
Fix bug #6158: Crash when entering math in tabular.
We have to determine whether we are in an empty cell before we dispatch the lfun to the inset. Otherwise we determine whether the math is empty and if so, we then go to the next cell in the math inset. This cell doesn't exist probably.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31121
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 18 Aug 2009 16:03:44 +0000 (16:03 +0000)]
enhance debug message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31120
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 18 Aug 2009 10:10:06 +0000 (10:10 +0000)]
* configure.py: attempt to fix the check for the java version of splitindex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31113
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 18 Aug 2009 08:52:42 +0000 (08:52 +0000)]
* configure.py: change detection order of splitindex preprocessors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31112
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 18 Aug 2009 07:20:40 +0000 (07:20 +0000)]
QTreeView strikes back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31110
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 18 Aug 2009 00:04:19 +0000 (00:04 +0000)]
Don't close the buffer when it is a child.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31109
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 17 Aug 2009 22:33:49 +0000 (22:33 +0000)]
Close the correct tab when clicking one while the active tab is in another tabworkarea. This is also in 1.6.3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31108
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 17 Aug 2009 22:24:38 +0000 (22:24 +0000)]
Rename tolastopened to in_close_event. I forgot this in r31106.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31107
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 17 Aug 2009 21:31:24 +0000 (21:31 +0000)]
Simplify the code, and rename tolastopened to in_close_event. Rationale: when we are in a close event we want to store the last opened files, and we don't want to close any child buffers. Closing the child buffers now will crimple the last opened files in the session file (the order of tabs that is). Child buffers are closed anyway when we are in a close event.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31106
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Mon, 17 Aug 2009 21:27:56 +0000 (21:27 +0000)]
Cleanup Boost-Libraries use
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31105
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 17 Aug 2009 21:25:27 +0000 (21:25 +0000)]
Closing the children of a master can be done in closeWorkArea.
This fixes yet another bug. Previously, when a master was closed, its child buffers were also released without asking to save dirty buffers. (What a mess!).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31104
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 17 Aug 2009 20:39:38 +0000 (20:39 +0000)]
cmake: fix linker error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31103
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 17 Aug 2009 19:48:35 +0000 (19:48 +0000)]
update to boost 1.39: update pch file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31102
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 17 Aug 2009 19:24:34 +0000 (19:24 +0000)]
fix utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31101
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 17 Aug 2009 18:43:25 +0000 (18:43 +0000)]
Hint from Andre for QTreeView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31100
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 17 Aug 2009 18:38:32 +0000 (18:38 +0000)]
update to boost 1.39: add new files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31099
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 17 Aug 2009 18:36:41 +0000 (18:36 +0000)]
update to boost 1.39: delete unused folders
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31098
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 17 Aug 2009 18:33:49 +0000 (18:33 +0000)]
update to boost 1.39: update existing files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31097
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 17 Aug 2009 18:17:12 +0000 (18:17 +0000)]
cmake: error when external boost is required but not found
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31096
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 17 Aug 2009 15:06:40 +0000 (15:06 +0000)]
Squeeze warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31093
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 17 Aug 2009 14:39:00 +0000 (14:39 +0000)]
Add find debug level. Patch from Tommaso.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31092
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 17 Aug 2009 14:30:16 +0000 (14:30 +0000)]
Resolve shortcut clash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31091
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 17 Aug 2009 14:22:40 +0000 (14:22 +0000)]
Bullet's pref box glitch - looks like qt 4.5 changed some small finger paint and we need
to add small width so all bullets are again inside the area.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31090
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 17 Aug 2009 10:16:46 +0000 (10:16 +0000)]
* UserGuide: add documentation of the multiple indexes feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31089
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 17 Aug 2009 09:04:07 +0000 (09:04 +0000)]
remove obsolete comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31088
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 17 Aug 2009 08:38:02 +0000 (08:38 +0000)]
This part of QTreeView is newer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31087
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 17 Aug 2009 08:28:57 +0000 (08:28 +0000)]
* Buffer.cpp: fix the fix (r31082): only add a default index if we do not have one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31086
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 17 Aug 2009 08:08:21 +0000 (08:08 +0000)]
Backward search. Next bits from Tommaso.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg154007.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31085
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 17 Aug 2009 08:01:35 +0000 (08:01 +0000)]
* BufferParams.cpp: fix initialization of index colors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31084
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 17 Aug 2009 07:49:28 +0000 (07:49 +0000)]
* GuiIndices.cpp: cosmetics (corretly resize TW column).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31083
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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