]> git.lyx.org Git - lyx.git/log
lyx.git
13 years agoBuffer: Rename function names:
Vincent van Ravesteijn [Tue, 26 Oct 2010 13:27:06 +0000 (13:27 +0000)]
Buffer: Rename function names:

- rename readFromVC to extractFromVC because this function actually doesn't read anything as compared to readEmergency, readAutosave and so on.

- rename readEmergency and readAutosave to loadEmergency and loadAutosave just like loadLyXFile and loadThisLyXFile. Only in loadThisLyXFile we switch to the actually reading of a file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35854 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCompile fix.
Vincent van Ravesteijn [Tue, 26 Oct 2010 13:19:26 +0000 (13:19 +0000)]
Compile fix.

I forgot this in the previous commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35853 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBuffer: Make Buffer::readFile() private.
Vincent van Ravesteijn [Tue, 26 Oct 2010 13:17:10 +0000 (13:17 +0000)]
Buffer: Make Buffer::readFile() private.

It's strange to have a public interface which has a function loadLyXFile and a function readFile. A user of this class will be confused about the difference.

Therefore, loadThisLyXFile will be next to loadLyXFile to stress that loadThisLyXFile will not load another file ;). I don't know whether all of you like that this function just calls readFile, but it feels good this way. All public paths for loading a file will now go through loadThisLyXFile (i.e. the paths that come from loadLyXFile), while readFile is a pure private function. If this doesn't make sense, just shout.

I think this improves the readability of the class.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35852 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBuffer.h: Cleanup, Sorting, and Improvements:
Vincent van Ravesteijn [Tue, 26 Oct 2010 12:54:31 +0000 (12:54 +0000)]
Buffer.h: Cleanup, Sorting, and Improvements:
- group the read and emergency/autosave functions,
- add comments to the functions,
- adjust visibility of functions,
- add FIXMEs to some functions which are still unneccesarily public.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35851 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdjust comments to the truth.
Vincent van Ravesteijn [Tue, 26 Oct 2010 12:34:04 +0000 (12:34 +0000)]
Adjust comments to the truth.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35850 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoInsetTabular.cpp: remove comment, we already discussed this and the star as default...
Uwe Stöhr [Tue, 26 Oct 2010 02:02:10 +0000 (02:02 +0000)]
InsetTabular.cpp: remove comment, we already discussed this and the star as default was the result

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35847 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoProper implementatiom of isInToc()
Vincent van Ravesteijn [Tue, 26 Oct 2010 01:10:19 +0000 (01:10 +0000)]
Proper implementatiom of isInToc()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35846 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoWe don't want InsetCommand to have a function updateCommand while this is not a speci...
Vincent van Ravesteijn [Mon, 25 Oct 2010 23:20:05 +0000 (23:20 +0000)]
We don't want InsetCommand to have a function updateCommand while this is not a special function of an InsetCommand, but only accidentally a shared function of two children. So, in this case I think we should just (dynamically) cast these objecten and call their own insetCommand function.

This also fixes compilation again. I forgot to cherry-pick all commits in git ;)...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35845 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoInsetCommand.h: revert my last commit - makes it worse than it helps as quick workaround
Uwe Stöhr [Mon, 25 Oct 2010 22:13:52 +0000 (22:13 +0000)]
InsetCommand.h: revert my last commit - makes it worse than it helps as quick workaround

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35843 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoInsetCommand.h: reintroduce updateCommand from r35840 to make it compilable (this...
Uwe Stöhr [Mon, 25 Oct 2010 21:51:28 +0000 (21:51 +0000)]
InsetCommand.h: reintroduce updateCommand from r35840 to make it compilable (this void is used in CutAndPaste.cpp); Vincent, can you please have a look?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35842 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoProper fix for #6967 that does not reintroduce #6793
Enrico Forestieri [Mon, 25 Oct 2010 21:36:25 +0000 (21:36 +0000)]
Proper fix for #6967 that does not reintroduce #6793

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35841 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoInsetCommand.h: Reorder and add comments.
Vincent van Ravesteijn [Mon, 25 Oct 2010 20:20:44 +0000 (20:20 +0000)]
InsetCommand.h: Reorder and add comments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35840 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCorrect toc to floatlist
Vincent van Ravesteijn [Mon, 25 Oct 2010 19:53:40 +0000 (19:53 +0000)]
Correct toc to floatlist

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35839 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoupdate boost to 1.43: remove obsolete files, update .cpp
Peter Kümmel [Mon, 25 Oct 2010 19:16:53 +0000 (19:16 +0000)]
update boost to 1.43: remove obsolete files, update .cpp

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35838 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoupdate boost to 1.44
Peter Kümmel [Mon, 25 Oct 2010 19:11:25 +0000 (19:11 +0000)]
update boost to 1.44

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35837 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoin client server mode CVS does not like full path operand for directory operation...
Stephan Witt [Mon, 25 Oct 2010 17:49:45 +0000 (17:49 +0000)]
in client server mode CVS does not like full path operand for directory operation; LyX is in the repo dir already, so "." is used as target

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35836 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #6550: "Any Changes will be lost" even when there are no changes.
Vincent van Ravesteijn [Mon, 25 Oct 2010 16:10:01 +0000 (16:10 +0000)]
Fix bug #6550: "Any Changes will be lost" even when there are no changes.

Patch from JOhn McCabe-Dansted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35835 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoLittle bit of cleanup, motivated by need to squash a warning.
Richard Heck [Mon, 25 Oct 2010 15:33:51 +0000 (15:33 +0000)]
Little bit of cleanup, motivated by need to squash a warning.

The only substantive change here is moving the markDirty() call into the
first case. If we don't load the file successfully, then there is no
need to mark dirty.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35834 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoProperly convert from ReadStatus to boolean.
Vincent van Ravesteijn [Mon, 25 Oct 2010 15:21:08 +0000 (15:21 +0000)]
Properly convert from ReadStatus to boolean.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35833 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMerge readFile and readFile; and readFile and readString.
Vincent van Ravesteijn [Mon, 25 Oct 2010 14:14:44 +0000 (14:14 +0000)]
Merge readFile and readFile; and readFile and readString.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35832 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBuffer.cpp:
Vincent van Ravesteijn [Mon, 25 Oct 2010 13:55:39 +0000 (13:55 +0000)]
Buffer.cpp:

Extract convertLyXFormat function that runs LyX2LyX.

(and some compile fixes)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35831 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBuffer.cpp:
Vincent van Ravesteijn [Mon, 25 Oct 2010 13:32:38 +0000 (13:32 +0000)]
Buffer.cpp:

We need to save the checksum of the requested file. Not of the autosave file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35830 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBuffer.cpp:
Vincent van Ravesteijn [Mon, 25 Oct 2010 13:29:50 +0000 (13:29 +0000)]
Buffer.cpp:

- Move the saveCheckSum to both autosave file as emergency file read function.
- Extract the function parseLyxFormat.
- Improve comment about the older LyX format numbers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35829 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago#6396 no dialog when no doc changes were done and check-in or revert is done
Stephan Witt [Mon, 25 Oct 2010 13:27:48 +0000 (13:27 +0000)]
#6396 no dialog when no doc changes were done and check-in or revert is done

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35828 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBuffer.cpp:
Vincent van Ravesteijn [Mon, 25 Oct 2010 13:04:13 +0000 (13:04 +0000)]
Buffer.cpp:
- Move some lines of code to more proper places.
- Let Buffer::readFile(FileName const &) return ReadStatus as well.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35827 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCentralize the generation of the emergency and autosave filenames.
Vincent van Ravesteijn [Mon, 25 Oct 2010 12:46:16 +0000 (12:46 +0000)]
Centralize the generation of the emergency and autosave filenames.

Forgot this one in the previous commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35826 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCentralize the generation of the emergency and autosave filenames.
Vincent van Ravesteijn [Mon, 25 Oct 2010 12:31:22 +0000 (12:31 +0000)]
Centralize the generation of the emergency and autosave filenames.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35825 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoReturn early again if there's nothing to do. Also, mark the buffer dirty
Richard Heck [Mon, 25 Oct 2010 12:24:15 +0000 (12:24 +0000)]
Return early again if there's nothing to do. Also, mark the buffer dirty
only if we manage to read the autosave file successfully.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35824 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoOops.
Vincent van Ravesteijn [Mon, 25 Oct 2010 12:19:39 +0000 (12:19 +0000)]
Oops.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35823 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFFix warnings in Buffer::readString.
Vincent van Ravesteijn [Mon, 25 Oct 2010 12:18:09 +0000 (12:18 +0000)]
FFix warnings in Buffer::readString.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35822 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoLessen indentation by returning early if there's nothing to do.
Richard Heck [Mon, 25 Oct 2010 12:14:10 +0000 (12:14 +0000)]
Lessen indentation by returning early if there's nothing to do.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35821 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix #3934. Patch from Guenter Milde.
Richard Heck [Mon, 25 Oct 2010 12:05:37 +0000 (12:05 +0000)]
Fix #3934. Patch from Guenter Milde.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35820 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRefactor Buffer.cpp: loadLyXFile():
Vincent van Ravesteijn [Mon, 25 Oct 2010 11:57:56 +0000 (11:57 +0000)]
Refactor Buffer.cpp: loadLyXFile():

- make a new function readFromVC(),
if the file does not exist, try to extract it from the version control (RCS),

- make a new function readEmergency(),
try to read the emergency file that is associated to the file we are trying to read,

- make a new function readAutosave(),
try to read the autosave file that is associated to the file we are trying to read,

- merge loadLyXFile() and readFileHelper(),
this new function now determines which file to read.

- add more ReadStatus elements to describe failures.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35819 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUse Buffer::ReadStatus as a return value for Buffer::loadLyXFile.
Vincent van Ravesteijn [Mon, 25 Oct 2010 10:18:42 +0000 (10:18 +0000)]
Use Buffer::ReadStatus as a return value for Buffer::loadLyXFile.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35818 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoOne should use dynamic_casts for inheritance-based casting.
Vincent van Ravesteijn [Mon, 25 Oct 2010 09:49:24 +0000 (09:49 +0000)]
One should use dynamic_casts for inheritance-based casting.

(This is a little necessary clean-up of my tree.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35817 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoavoid warnings for unused parameters
Stephan Witt [Mon, 25 Oct 2010 08:12:01 +0000 (08:12 +0000)]
avoid warnings for unused parameters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35816 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* implementation of status check and use it for checkIn and revert.
Stephan Witt [Mon, 25 Oct 2010 05:37:04 +0000 (05:37 +0000)]
* implementation of status check and use it for checkIn and revert.
  helps the user to avoid errors and leads to more informative messages.
* implementation of diff and use it for the repoUpdate operation.
* add the check for merge conflicts in checkOut.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35813 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #1839: Ctrl+arrows don't move to next/prev table cell.
Vincent van Ravesteijn [Mon, 25 Oct 2010 01:18:48 +0000 (01:18 +0000)]
Fix bug #1839: Ctrl+arrows don't move to next/prev table cell.

Patch from Punyashloka Biswal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35812 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #5878: Cursor position not restored in hidden documents.
Vincent van Ravesteijn [Sun, 24 Oct 2010 23:41:15 +0000 (23:41 +0000)]
Fix bug #5878: Cursor position not restored in hidden documents.

A hidden document does not have an associated Cursor. So, each time we create a new workArea, we should restore the cursor position.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35811 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoTutorial.lyx: fix some quotation marks
Uwe Stöhr [Sun, 24 Oct 2010 22:18:36 +0000 (22:18 +0000)]
Tutorial.lyx: fix some quotation marks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35810 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate the cursor shape also when the cursor shape changes without a mouse move actions.
Vincent van Ravesteijn [Sun, 24 Oct 2010 22:14:31 +0000 (22:14 +0000)]
Update the cursor shape also when the cursor shape changes without a mouse move actions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35808 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agogcc spits out million warnings
Pavel Sanda [Sun, 24 Oct 2010 21:46:28 +0000 (21:46 +0000)]
gcc spits out million warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35807 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agohave pointing cursor when hovering something clickable
Edwin Leuven [Sun, 24 Oct 2010 21:41:47 +0000 (21:41 +0000)]
have pointing cursor when hovering something clickable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35806 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #6968: isExternallyModified remains "true" after "Revert to Saved".
Vincent van Ravesteijn [Sun, 24 Oct 2010 21:38:19 +0000 (21:38 +0000)]
Fix bug #6968: isExternallyModified remains "true" after "Revert to Saved".

I forgot to save the checksum after reloading.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35805 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd virtual bool Inset::clickable(..) to be used to change the cursor.
Vincent van Ravesteijn [Sun, 24 Oct 2010 20:11:40 +0000 (20:11 +0000)]
Add virtual bool Inset::clickable(..) to be used to change the cursor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35804 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoImplement mouse hovering for InsetExternal.
Vincent van Ravesteijn [Sun, 24 Oct 2010 19:25:36 +0000 (19:25 +0000)]
Implement mouse hovering for InsetExternal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35803 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agosetMouseHover() functions can be const.
Vincent van Ravesteijn [Sun, 24 Oct 2010 19:24:36 +0000 (19:24 +0000)]
setMouseHover() functions can be const.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35802 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoI don't like negated logic. Especially not if it leads to the use of more !-operations.
Vincent van Ravesteijn [Sun, 24 Oct 2010 17:27:32 +0000 (17:27 +0000)]
I don't like negated logic. Especially not if it leads to the use of more !-operations.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35801 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agovalidate version control status after buffer save-as, avoid that for saveBuffer()
Stephan Witt [Sun, 24 Oct 2010 17:14:10 +0000 (17:14 +0000)]
validate version control status after buffer save-as, avoid that for saveBuffer()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35800 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #6967: Insert->Display Math should not insert a numbered formula and vice...
Vincent van Ravesteijn [Sun, 24 Oct 2010 16:12:22 +0000 (16:12 +0000)]
Fix bug #6967: Insert->Display Math should not insert a numbered formula and vice versa.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35799 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoinvalidate vcs data if user cancelled the registrer operation, otherwise the registre...
Stephan Witt [Sun, 24 Oct 2010 13:26:00 +0000 (13:26 +0000)]
invalidate vcs data if user cancelled the registrer operation, otherwise the registrer cannot be called again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35798 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix #6966.
Pavel Sanda [Sat, 23 Oct 2010 20:17:41 +0000 (20:17 +0000)]
Fix #6966.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35797 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agovalidate version control status after buffer save or save-as
Stephan Witt [Sat, 23 Oct 2010 18:35:13 +0000 (18:35 +0000)]
validate version control status after buffer save or save-as

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35796 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoswitch mouse to busy symbol every 3 seconds and then back to show the
Peter Kümmel [Sat, 23 Oct 2010 10:49:45 +0000 (10:49 +0000)]
switch mouse to busy symbol every 3 seconds and then back to show the
user something is done in the background

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35795 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocompile fix.
Jürgen Spitzmüller [Sat, 23 Oct 2010 08:29:57 +0000 (08:29 +0000)]
compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35792 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix #6597: LyX Appears frozen if the process holding the clipboard is frozen
Vincent van Ravesteijn [Sat, 23 Oct 2010 00:21:58 +0000 (00:21 +0000)]
Fix #6597: LyX Appears frozen if the process holding the clipboard is frozen

Implements CacheMimeData type so that we only need to query the
clipboard once on startup and once each time the contents of the
clipboard change. This is important as Qt takes 5 seconds to time-out when the clipboard is non-responsive.

Patch by John McCabe-Dansted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35790 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agobind makes a copy of the arguments by default. This is secure if the
Peter Kümmel [Sat, 23 Oct 2010 00:06:22 +0000 (00:06 +0000)]
bind makes a copy of the arguments by default. This is secure if the
bound object survives the existance of the arguments, but it also breaks
"change by non-const reference"  parameter passing, like in
Alert::askForString. Here the arguments exists the whole bound function
call so we could pass by refernce.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35789 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix crashes and asserts if LyX doesn't have a view (on Mac for example).
Vincent van Ravesteijn [Fri, 22 Oct 2010 20:54:18 +0000 (20:54 +0000)]
Fix crashes and asserts if LyX doesn't have a view (on Mac for example).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35787 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoManual synchro with branch
Pavel Sanda [Fri, 22 Oct 2010 18:47:23 +0000 (18:47 +0000)]
Manual synchro with branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35786 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRestructure processFuncRequest* function family:
Vincent van Ravesteijn [Fri, 22 Oct 2010 18:08:21 +0000 (18:08 +0000)]
Restructure processFuncRequest* function family:

- move a comment back from to GuiApplication to GuiView.cpp, so we have the comment in the place where we decide to process the func request asynchronously;

- rename dispatchDelayed to processFuncRequestAsync to have the same terminology as in the other processFuncRequest* methods;

- introduce a new function processFuncRequest to complete the set of processFuncRequest* methods. It is strange that for the normal processFuncRequest one should suddenly use lyx::dispatch. Besides, I think it is good that the whole GUI will dispatch funcRequests through GuiApplication::processFuncRequest from now on;

- use the slotProcessFuncRequestQueue to relay to processFuncRequestQueue;

- properly camelBump addToFuncRequestQueue;

- group the implementation of the processFuncRequest* functions;

- document the side-effect of processFuncRequestAsync.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35784 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAlso to trunk
Pavel Sanda [Fri, 22 Oct 2010 18:05:07 +0000 (18:05 +0000)]
Also to trunk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35783 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoGuiApplication.h cosmetics:
Vincent van Ravesteijn [Fri, 22 Oct 2010 17:53:09 +0000 (17:53 +0000)]
GuiApplication.h cosmetics:
- reorder some function declarations,
- remove some declarations from the list of functions that inherit from Application,
- add and clarify some comments,
- whitespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35781 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoTypo.
Richard Heck [Fri, 22 Oct 2010 17:08:57 +0000 (17:08 +0000)]
Typo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35780 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug 6944: crash on drag and drop multiple files
Jürgen Spitzmüller [Fri, 22 Oct 2010 15:46:46 +0000 (15:46 +0000)]
Fix bug 6944: crash on drag and drop multiple files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35779 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMake sweave process files with the correct encoding (#6625).
Jean-Marc Lasgouttes [Fri, 22 Oct 2010 07:51:39 +0000 (07:51 +0000)]
Make sweave process files with the correct encoding (#6625).

The required the introduction of the new converter token $$e, that holds
the iconv name of the latex file encoding.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35772 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agodoc synchro with trunk
Pavel Sanda [Fri, 22 Oct 2010 00:22:08 +0000 (00:22 +0000)]
doc synchro with trunk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35771 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago- lyxsweave.R: set missing SVN EOL style and add missing makefile entry
Uwe Stöhr [Fri, 22 Oct 2010 00:10:18 +0000 (00:10 +0000)]
- lyxsweave.R: set missing SVN EOL style and add missing makefile entry

- lib/Makefile.am: add missing scripts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35769 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoscons_manifest.py: update SCons
Uwe Stöhr [Fri, 22 Oct 2010 00:08:13 +0000 (00:08 +0000)]
scons_manifest.py: update SCons

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35768 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago(no log message)
Pavel Sanda [Thu, 21 Oct 2010 23:34:22 +0000 (23:34 +0000)]
(no log message)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35767 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoComment.
Richard Heck [Thu, 21 Oct 2010 22:04:06 +0000 (22:04 +0000)]
Comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35764 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agouse QWaitCondition instead of QEventLoop for waiting on GUI thread-call finished...
Peter Kümmel [Thu, 21 Oct 2010 21:29:08 +0000 (21:29 +0000)]
use QWaitCondition instead of QEventLoop for waiting on GUI thread-call finished, it's cheaper

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35763 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRevert r35760, as suggested by Vincent.
Richard Heck [Thu, 21 Oct 2010 19:33:29 +0000 (19:33 +0000)]
Revert r35760, as suggested by Vincent.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35762 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoThis one didn't make it to Unicode for some reason.
Richard Heck [Thu, 21 Oct 2010 19:15:31 +0000 (19:15 +0000)]
This one didn't make it to Unicode for some reason.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35761 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRestore should, uh, restore the initial state. Other half of #6964.
Richard Heck [Thu, 21 Oct 2010 18:25:15 +0000 (18:25 +0000)]
Restore should, uh, restore the initial state. Other half of #6964.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35760 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #6964. Problem was that we always saw the first branch.
Richard Heck [Thu, 21 Oct 2010 18:20:12 +0000 (18:20 +0000)]
Fix bug #6964. Problem was that we always saw the first branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35759 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMake this a switch.
Richard Heck [Thu, 21 Oct 2010 18:01:06 +0000 (18:01 +0000)]
Make this a switch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35758 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #6962. I hadn't see how these were being escaped.
Richard Heck [Thu, 21 Oct 2010 17:56:00 +0000 (17:56 +0000)]
Fix bug #6962. I hadn't see how these were being escaped.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35757 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoSimplify comment.
Richard Heck [Thu, 21 Oct 2010 17:53:21 +0000 (17:53 +0000)]
Simplify comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35756 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* fr.po: update by Jean-Pierre.
Jürgen Spitzmüller [Thu, 21 Oct 2010 17:20:45 +0000 (17:20 +0000)]
* fr.po: update by Jean-Pierre.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35754 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #6963: LaTeXUi.ui: add some accelerators and fix some clashes.
Vincent van Ravesteijn [Thu, 21 Oct 2010 17:06:06 +0000 (17:06 +0000)]
Fix bug #6963: LaTeXUi.ui: add some accelerators and fix some clashes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35751 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoIntroduce helper script for Sweave. The first benefit is that
Jean-Marc Lasgouttes [Thu, 21 Oct 2010 17:02:05 +0000 (17:02 +0000)]
Introduce helper script for Sweave. The first benefit is that
Sweave.sty path is hardcoded if LaTeX cannot find it.

More to come.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35750 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* de.po: some more translations
Jürgen Spitzmüller [Thu, 21 Oct 2010 14:22:06 +0000 (14:22 +0000)]
* de.po: some more translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35749 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoDialogView: make GuiView the parent widget to partly solve bug #6710.
Abdelrazak Younes [Thu, 21 Oct 2010 13:40:49 +0000 (13:40 +0000)]
DialogView: make GuiView the parent widget to partly solve bug #6710.
This make sense anyway for all dialogs to be above the GuiView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35747 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* InsetCommandParams.cpp (prepareCommand):
Jürgen Spitzmüller [Thu, 21 Oct 2010 13:16:28 +0000 (13:16 +0000)]
* InsetCommandParams.cpp (prepareCommand):
- properly terminate LaTeX macros (reported in bug 6959).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35746 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* de.po: revisions and new translations.
Jürgen Spitzmüller [Thu, 21 Oct 2010 10:51:52 +0000 (10:51 +0000)]
* de.po: revisions and new translations.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35745 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agotypo
Jürgen Spitzmüller [Thu, 21 Oct 2010 10:33:46 +0000 (10:33 +0000)]
typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35744 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoonly connect when needed
Peter Kümmel [Thu, 21 Oct 2010 08:02:09 +0000 (08:02 +0000)]
only connect when needed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35743 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoupdate .am files
Peter Kümmel [Thu, 21 Oct 2010 01:15:12 +0000 (01:15 +0000)]
update .am files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35742 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoenable EXPORT_in_THREAD to prevent gui calls in non gui-threads
Peter Kümmel [Thu, 21 Oct 2010 00:24:57 +0000 (00:24 +0000)]
enable EXPORT_in_THREAD to prevent gui calls in non gui-threads

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35741 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agono QtGui in support
Peter Kümmel [Thu, 21 Oct 2010 00:07:48 +0000 (00:07 +0000)]
no QtGui in support

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35740 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoupdate SCons after r35735
Uwe Stöhr [Thu, 21 Oct 2010 00:04:33 +0000 (00:04 +0000)]
update SCons after r35735

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35739 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofirst include config.h
Peter Kümmel [Wed, 20 Oct 2010 23:58:22 +0000 (23:58 +0000)]
first include config.h

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35738 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoEmbeddedObjects.lyx: describe the new table cell alignment feature
Uwe Stöhr [Wed, 20 Oct 2010 23:56:00 +0000 (23:56 +0000)]
EmbeddedObjects.lyx: describe the new table cell alignment feature

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35737 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoline ending
Peter Kümmel [Wed, 20 Oct 2010 23:51:31 +0000 (23:51 +0000)]
line ending

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35736 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoadd generic helper class for calling functions in gui thread
Peter Kümmel [Wed, 20 Oct 2010 23:50:49 +0000 (23:50 +0000)]
add generic helper class for calling functions in gui thread

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35735 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoGuiTabular.cpp: fix #6957
Uwe Stöhr [Wed, 20 Oct 2010 22:35:05 +0000 (22:35 +0000)]
GuiTabular.cpp: fix #6957

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35734 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoTabularUi.ui: fix position of spacer to make alignment entry "At Decimal Separator...
Uwe Stöhr [Wed, 20 Oct 2010 22:33:32 +0000 (22:33 +0000)]
TabularUi.ui: fix position of spacer to make alignment entry "At Decimal Separator" readable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35733 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate it.po
Enrico Forestieri [Wed, 20 Oct 2010 14:31:19 +0000 (14:31 +0000)]
Update it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35731 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sk.po
Kornel Benko [Wed, 20 Oct 2010 05:25:05 +0000 (05:25 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35728 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agopo-files:
Uwe Stöhr [Wed, 20 Oct 2010 01:56:40 +0000 (01:56 +0000)]
po-files:
- remerge
- German translations in de.po

(sorry for remerging again but I needed this for the docs)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35727 a592a061-630c-0410-9148-cb99ea01b6c8