Commit Graph

23362 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
9c44cc7360 Clear the LastOpened list when choosing "Close Window".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31148 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:29:16 +00:00
Vincent van Ravesteijn
f9952369ca Make new function writeSession(). Now it's no longer entangled with closing the workareas/buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31147 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:06:57 +00:00
Tommaso Cucinotta
5b1e7027ba Fixed Find LyX with replace, in common use cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31141 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 15:14:28 +00:00
Enrico Forestieri
dbdf88f2f4 On Cygwin, use link options at the link (rather than compile) stage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31140 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 14:59:21 +00:00
Pavel Sanda
ea758c3932 Next bits for Extended -> Additional
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31138 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 09:14:23 +00:00
Jürgen Spitzmüller
5d5d9c3de2 * de.po: Some corrections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31137 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 08:33:36 +00:00
Uwe Stöhr
503844cb4c BufferView.cpp: for the new Search dialog: paint also the range behind the work area with the same color as the work area
This avoids confusion as discussed in this thread: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153997.html
; this patch is from Vincent

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31136 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 00:10:09 +00:00
Uwe Stöhr
d15714c69b New French translation for the Braille.lyx manual from Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31135 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 00:00:07 +00:00
Uwe Stöhr
c7340939b2 de.po: translations from Hartmut and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31133 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 23:56:23 +00:00
Uwe Stöhr
2905266d60 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
2009-08-18 23:18:43 +00:00
Pavel Sanda
80756191aa The rest of Extendedlyx -> Additional.lyx move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31131 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 22:17:30 +00:00
Vincent van Ravesteijn
81403e78fc 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
2009-08-18 21:18:21 +00:00
Pavel Sanda
7d63aa481e Fix bug #6153.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31129 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 21:00:03 +00:00
Vincent van Ravesteijn
252a8ca4a8 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
2009-08-18 20:51:43 +00:00
Vincent van Ravesteijn
b2588a80f3 - 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
2009-08-18 20:48:15 +00:00
Vincent van Ravesteijn
49d03a2576 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
2009-08-18 20:41:29 +00:00
Vincent van Ravesteijn
64d7a33a89 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
2009-08-18 20:12:34 +00:00
Vincent van Ravesteijn
6e4ca1d18f 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
2009-08-18 19:27:19 +00:00
Vincent van Ravesteijn
c694bbe6ea 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
2009-08-18 19:05:04 +00:00
Vincent van Ravesteijn
0e5f082a57 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
2009-08-18 19:04:39 +00:00
Vincent van Ravesteijn
6bc8b8c592 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
2009-08-18 18:34:22 +00:00
Jürgen Spitzmüller
6b6567a538 enhance debug message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31120 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 16:03:44 +00:00
Jürgen Spitzmüller
0c4f7f62c1 * 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
2009-08-18 10:10:06 +00:00
Jürgen Spitzmüller
a688f25880 * 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
2009-08-18 08:52:42 +00:00
Pavel Sanda
be3b0b8a98 QTreeView strikes back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31110 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 07:20:40 +00:00
Vincent van Ravesteijn
0cf46fe101 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
2009-08-18 00:04:19 +00:00
Vincent van Ravesteijn
f781cdc021 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
2009-08-17 22:33:49 +00:00
Vincent van Ravesteijn
6ab8377995 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
2009-08-17 22:24:38 +00:00
Vincent van Ravesteijn
0e3f25489e 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
2009-08-17 21:31:24 +00:00
Kornel Benko
f6491727bf Cleanup Boost-Libraries use
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31105 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 21:27:56 +00:00
Vincent van Ravesteijn
c76fca43bc 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
2009-08-17 21:25:27 +00:00
Peter Kümmel
c801404b4c cmake: fix linker error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31103 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 20:39:38 +00:00
Peter Kümmel
382a9bc08c 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
2009-08-17 19:48:35 +00:00
Peter Kümmel
db72cc3878 fix utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31101 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 19:24:34 +00:00
Pavel Sanda
e58280676d Hint from Andre for QTreeView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31100 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 18:43:25 +00:00
Peter Kümmel
1fc4cdd807 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
2009-08-17 18:38:32 +00:00
Peter Kümmel
ef4156b24a 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
2009-08-17 18:36:41 +00:00
Peter Kümmel
25dcf36ecb 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
2009-08-17 18:33:49 +00:00
Peter Kümmel
0d256167a7 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
2009-08-17 18:17:12 +00:00
Vincent van Ravesteijn
92e8347613 Squeeze warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31093 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 15:06:40 +00:00
Pavel Sanda
4304901faf Add find debug level. Patch from Tommaso.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31092 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 14:39:00 +00:00
Vincent van Ravesteijn
4362b2085d Resolve shortcut clash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31091 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 14:30:16 +00:00
Pavel Sanda
788ae33371 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
2009-08-17 14:22:40 +00:00
Jürgen Spitzmüller
eb657c9f8a * 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
2009-08-17 10:16:46 +00:00
Jürgen Spitzmüller
db0c752fc2 remove obsolete comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31088 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 09:04:07 +00:00
Pavel Sanda
c95d295fe1 This part of QTreeView is newer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31087 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 08:38:02 +00:00
Jürgen Spitzmüller
bb3ac8a865 * 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
2009-08-17 08:28:57 +00:00
Pavel Sanda
3fa15cc0a0 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
2009-08-17 08:08:21 +00:00
Jürgen Spitzmüller
7087b7b686 * BufferParams.cpp: fix initialization of index colors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31084 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 08:01:35 +00:00
Jürgen Spitzmüller
313f7a2842 * GuiIndices.cpp: cosmetics (corretly resize TW column).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31083 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 07:49:28 +00:00