Commit Graph

22728 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
f733221747 Fix bug #6160 and #6182: Assertion when viewing master document.
Set Buffer to Insets when reading a document. InsetSpecialChar and InsetLine are the only Insets that are instantiated in readParToken.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-29 23:14:38 +00:00
Uwe Stöhr
d6f7945761 installer: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31237 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-29 20:42:00 +00:00
Uwe Stöhr
828ddace04 Math.lyx: translation updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31236 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-29 20:26:16 +00:00
Uwe Stöhr
4cf1406eda po-files: remerge
de.po: some translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31235 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-29 19:57:48 +00:00
Uwe Stöhr
f37516f116 KeyMap.cpp: more consistent messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31234 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-29 19:44:56 +00:00
Uwe Stöhr
e1d83f419c de.po: Some more translations by Hartmut and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31233 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-29 19:27:24 +00:00
Uwe Stöhr
657563448d BiblioUi.ui: fix spelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31232 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-29 19:25:43 +00:00
Richard Heck
fcdeace5d7 From JMarc:
The reason is gettext. The NEWS from version 0.14.7 (we use 0.16.1) says:

* The gettext autoconf macros now assume 'aclocal' from automake 1.8 or newer.

So we should assume 1.8 (and maybe check what this buys us).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31231 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-28 14:57:52 +00:00
Uwe Stöhr
2b587fe1e2 de.po: translation corrections by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31230 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-28 02:32:07 +00:00
Jürgen Spitzmüller
9555ed3c22 * GuiIndices.cpp:
- do not issue error if renaming has been cancelled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31229 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-27 16:47:45 +00:00
Uwe Stöhr
b5ede639d0 xypic.lyx: close all ERT insets to be consistent with the other docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31228 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-25 11:31:03 +00:00
Uwe Stöhr
a600082f5c Tutorial.lyx: further tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31227 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-25 11:30:12 +00:00
Uwe Stöhr
c1c924ec5f Tutorial.lyx: fixed issues reported by John Hudson
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31226 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-25 02:36:31 +00:00
Vincent van Ravesteijn
5a02843ab2 Another fix for r30560.
When setLayout() disappeared, also the call to setButtonLabel() disappeared. Now, when changing a Note into a Comment, the button label is no longer updated. This is because labelstring_ is not empty, so the line: 

return labelstring_.empty() ? getLayout().labelstring() : labelstring_; 

introduced in r30570 has no effect.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31225 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-25 00:04:47 +00:00
Vincent van Ravesteijn
efc0435157 Fix bug #6175: Footnotes in title not translated.
see the bug for details.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31224 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-24 23:29:37 +00:00
Vincent van Ravesteijn
a6ff55e539 Fix a crash when copying flex insets to another document.
I know that Inset has a buffer, but we should be careful when handling Insets in CutAndPaste, these don't always have a buffer. Besides, we are in the function switchBetweenClasses(oldone, newone). Then it's pretty strange to ask the flex inset whether it is defined in its buffer->textclass, while we have an explicit new textclass defined.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31223 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-24 23:02:50 +00:00
Jean-Marc Lasgouttes
eef60e5197 fix part of ticket #6142: avoid a memory access error when an encoding is unkonwn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31222 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-24 22:06:51 +00:00
Uwe Stöhr
a457aa2057 SConstruct: fix SCons after r31189
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31221 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-24 22:04:08 +00:00
Tommaso Cucinotta
e7673ebc4d Added shortcuts for Basic/Advanced panes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31220 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-24 11:42:41 +00:00
Tommaso Cucinotta
476fce263a This fix suppresses the "BROKEN:" tag on references to labels, when the reference is within an "internal" buffer, i.e., associated to an Embedded WorkArea (such as the Advanced Find&Replace Find... or Replace with... boxes).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31219 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-24 11:41:58 +00:00
Uwe Stöhr
7751c6197b de.po: some more translation from Hartmut and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31215 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-23 22:36:14 +00:00
Enrico Forestieri
c415575043 Update docs about the LyX server and the reverse search feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31214 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-23 18:18:39 +00:00
Enrico Forestieri
3ab2267014 Don't start the pipe server if the pipe is already in use.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31213 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-23 14:40:26 +00:00
Enrico Forestieri
736d7f82a1 Properly stop the pipe server when LyX is quitting
but the answer to a client is still pending.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31212 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-23 13:27:08 +00:00
Uwe Stöhr
ec91bd0465 German UserGuide.lyx: add space to separate the labels of two adjacent \thanks commands, branch will follow when it is open again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31211 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-23 12:36:50 +00:00
Vincent van Ravesteijn
c41a38d7d3 Revert the rtl-part of r30962.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31205 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 17:51:41 +00:00
Vincent van Ravesteijn
8326148f69 Fix CMake for r31189.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31204 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 17:37:56 +00:00
Tommaso Cucinotta
57f1c58598 Added at the LyXView level distinction among currently selected WorkArea (and BufferView) and document WorkArea (and BufferView).
Fixes crash when opening both Toc Panel and Advanced Find and Replace Panel.
Fixes preview of document (as opposed of previewing the search/replace text) while search/replace WorkArea selected.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31203 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 16:16:56 +00:00
Tommaso Cucinotta
ab06049950 Advanced Find and Replace turned to a NoBuffer dialog (however, it keeps being disabled if no buffer is open, needs fix).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31202 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 16:09:44 +00:00
Tommaso Cucinotta
50c6ba17e5 Fix of issue when searching at paragraph boundaries when non-ignoring format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31201 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 16:06:19 +00:00
Vincent van Ravesteijn
c11f031df6 Fix bug #5991: Select function in environments.
C-M-a now selects the contents of an inset, if the whole inset is already selected, it will jump out the inset and selects everything in that inset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31200 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 14:44:08 +00:00
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