Commit Graph

22197 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
9bb61acfd5 Fix inset-begin and inset-end. Now, if the cursor was at the beginning of a paragraph in the middle of the inset, inset-begin would jump out of the inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31199 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 14:34:50 +00:00
Enrico Forestieri
48568fef53 Now inverse dvi/pdf search is also possible on Win, so we should
care that no backslashes can slip in.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31198 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 14:04:23 +00:00
Enrico Forestieri
cd475bad39 Perform the clean up at the right place. Also put the event in the
nonsignaled state, otherwise after a shutdown the server would be
continually stopped...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31194 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 12:22:46 +00:00
Enrico Forestieri
96a8d85c7c Correct clean up on pipe server shutdown.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31192 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 11:23:11 +00:00
Enrico Forestieri
fc97861803 Implement the LyXServer on Windows.
Only for autotools, I don't know how to update cmake and scons, sorry.
For cmake and scons, you should make sure that moc is called on Server.h
using the -D_WIN32 option.

In order to enable the server, specify the LyXServer pipe in
Tools->Preferences->Paths. The path to be entered there must have the
form "\\.\pipe\nameofyourchoice" (without quotes). After that, you can
send commands to LyX. For example, if the pipe path is \\.\pipe\lyxpipe,
typing the following in a terminal:

echo LYXCMD:test:file-open > \\.\pipe\lyxpipe.in
type \\.\pipe\lyxpipe.out

brings up the file dialog and returns the acknowledgment from LyX.
Beware of spaces when using cmd.exe. For example, the following:
echo LYXCMD:test:file-open:foo.lyx> \\.\pipe\lyxpipe.in
will correctly load the document named foo.lyx, but
echo LYXCMD:test:file-open:foo.lyx > \\.\pipe\lyxpipe.in
(notice the space before the redirection) will try to load a
document whose name is "foo.lyx .lyx" because cmd.exe will also
pass the space (sigh).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31189 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 22:58:38 +00:00
Joost Verburg
818ae93e0c typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31188 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 22:39:22 +00:00
Joost Verburg
93a43ab79c * All ImageMagick and Ghostscript resources are no longer installed as separate files but included in the applications. This improves performance and makes maintenance easier.
* Updated download location
* Fixed compatibility issue with recent NSIS versions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31186 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 22:31:06 +00:00
Joost Verburg
bc6fff5af2 * All ImageMagick and Ghostscript resources are no longer installed as separate files but included in the applications. This improves performance and makes maintenance easier.
* Updated download location
* Fixed compatibility issue with recent NSIS versions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31185 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 22:20:41 +00:00
Vincent van Ravesteijn
b93ce810f9 One more obsolete comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31183 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 20:31:32 +00:00
Vincent van Ravesteijn
bb09bdfc2b Some necessary cleanup, noticed by Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31182 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 20:29:40 +00:00
Vincent van Ravesteijn
e042119cbe * BufferView.cpp: style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31181 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 20:09:15 +00:00
Tommaso Cucinotta
1c2d2f8fa4 Does not allow to enter (trivially) regular expression insets in the document under edit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31180 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 18:40:37 +00:00
Tommaso Cucinotta
0029b4a217 Advanced Search GUI enhancements (tooltips, navigation, shorter labels)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31179 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 16:51:07 +00:00
Tommaso Cucinotta
e0177437f3 Better explanations for Advanced Search items in menu.
Added pointer to Advanced Search guide from Help menu.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31178 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 16:49:01 +00:00
Pavel Sanda
93d27a33fe Squash warning.
Maybe this parameter should be killed after last cleanup Vicent?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31177 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 16:46:53 +00:00
Tommaso Cucinotta
724b2c87e8 Added Advanced Search manual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31176 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 16:45:28 +00:00
Uwe Stöhr
29e0fc8b02 Math.lyx: remove unused labels and correct a hyperlink
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31173 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-20 23:27:14 +00:00
Uwe Stöhr
52f0955bc4 French documentation files: translation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31171 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-20 23:25:33 +00:00
Vincent van Ravesteijn
e666039283 Only paint the paragraph end markers when a new paragraph follows. Otherwise, charstyle insets, for example, also get a paragraph end marker although they are just part of the paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31168 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-20 18:30:06 +00:00
Vincent van Ravesteijn
a4512563bb Add a shortcut for Insert->URL (bug #6164) and a glitch for Insert->Hyperlink.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31167 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-20 11:19:55 +00:00
Uwe Stöhr
91854df691 lyxfind.cpp: this was accidentally removed in r31163
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31164 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-20 00:36:52 +00:00
Uwe Stöhr
8a35204454 lyxfind.cpp/h: make LyX compilable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31163 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-20 00:28:34 +00:00
Vincent van Ravesteijn
01aa8d771a Add and correct some shortcuts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:07:01 +00:00
Tommaso Cucinotta
cf62c2d8e4 First implementation of feature in bug #3696
(missing files in commit, apologies).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:05:31 +00:00
Vincent van Ravesteijn
c6a9cd0613 Make the pilcrow slightly lighter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31159 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:04:17 +00:00
Tommaso Cucinotta
7b8c8cfc94 First implementation of feature in bug #3696
(missing file in commit, apologies).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31158 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:03:13 +00:00
Pavel Sanda
7d186b0cd6 Squash warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:02:27 +00:00
Tommaso Cucinotta
edd8e78612 First implementation of feature in bug #3696. Needs testing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 22:55:38 +00:00
Vincent van Ravesteijn
6ee19b2a54 Fix bug #6129: Show paragraph marks / pilcrows.
To be activated in Tools->Preferences->Display.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 22:46:43 +00:00
Vincent van Ravesteijn
41c1dcdc27 Fix the painting of the last character of a paragraph. That is either the added/deleted paragraph breaks in change tracking or the to-be introduced pilcrow marks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31154 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 22:43:52 +00:00
Vincent van Ravesteijn
d75f135ab9 Rename menu item and fix bug #5067.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31153 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 21:51:01 +00:00
Vincent van Ravesteijn
5ed9b3f33e Forgot this. This is no longer necessary as we write the session file before closing workareas.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31152 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 21:18:34 +00:00
Vincent van Ravesteijn
b45f8b96a6 File->Close All now really closes all buffers. That is, all visible buffers in all views and all hidden buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31151 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 21:12:53 +00:00
Vincent van Ravesteijn
66dd3db8bc Fix bug #6162: Crash after close window with master/child.
The previous fix was nonsense. It appeared to be a shameful copy-paste error. GuiView::disconnectBufferView() was exactly the same as GuiView::disconnectBuffer().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31150 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:55:02 +00:00
Vincent van Ravesteijn
c863a953b2 Now we have disentangled writeSession() and closeWorkAreaAll(), we can release child buffers together with the master.
This basically solves bug #6162 in trunk (this cannot be done in branch until we take measures to prevent dataloss when closing a master and dirty children).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31149 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:31:49 +00:00
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