Commit Graph

21319 Commits

Author SHA1 Message Date
Abdelrazak Younes
33924e31ef Fix MSVC warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 13:27:53 +00:00
Pavel Sanda
3f90a0339c Small glitch in CharacterUi.ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29510 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 12:23:49 +00:00
Vincent van Ravesteijn
c7a09888a1 Add the emf and wmf graphics format as parameters to LFUN_PASTE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 11:22:01 +00:00
Vincent van Ravesteijn
af39d35545 Adjust the location of the autosave file for unnamed docs.
If the document is unnamed try to save in the backup dir, else in the default document path, and as a last try in the filePath, which will most often be the temporary directory.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29508 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:24:12 +00:00
Vincent van Ravesteijn
aa4c7e7ef5 Fix bug #5879 (try 2): Move the autosave file of a buffer when the filename changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29507 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:21:21 +00:00
Vincent van Ravesteijn
11ecc24c0c Revert r29505. We forgot that we cannot retrieve the new autosavefile yet, because the buffer might still be marked as unnamed. So, we should first finish this administration, before we can get the location of the new autosave filename.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29506 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:16:49 +00:00
Vincent van Ravesteijn
dce037ed5a Fix bug #5879: Move the autosave file of a buffer when the filename changes (patch by Richard).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29505 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 09:09:33 +00:00
Vincent van Ravesteijn
3045d9b4ff Fix the construction of a filepath after r29498. The '/' between the path and suffix was omitted when the path is a directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29503 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 21:29:54 +00:00
Uwe Stöhr
d16c3b4d7c Tutorial.lyx: fix wrong menu name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29501 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 19:18:36 +00:00
Enrico Forestieri
5822af9bba Spare a few cpu cycles when abstmp == realtmp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29500 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 18:55:55 +00:00
Enrico Forestieri
ccc77c73da Speed up FileName operator== (Georg's solution).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29498 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 17:12:31 +00:00
Enrico Forestieri
e0941bdb4b Revert r29444 (to be soon replaced by Georg's solution).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 16:39:14 +00:00
Jürgen Spitzmüller
5c27b8400e indices -> indexes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29496 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 15:54:45 +00:00
Pavel Sanda
734dfec925 Please Uwe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29493 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:51:36 +00:00
Pavel Sanda
e06984bc42 Remove the corner button too
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150647.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29492 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:43:45 +00:00
Pavel Sanda
3da9c20456 Use Qt native close button on tabbar.
Fixes http://www.lyx.org/trac/ticket/3724


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29491 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:43:42 +00:00
Jürgen Spitzmüller
e032cd934d * add all available formats to view/update others popup icon (bug 5380)
patch contributed by Georg.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 08:43:22 +00:00
Jürgen Spitzmüller
3bed1d0111 * memoir.layout:
- \chapter* has an optional argument
	  (patch from Bennett)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29488 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 07:56:13 +00:00
Pavel Sanda
d56fc2784a * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29486 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 19:51:19 +00:00
Uwe Stöhr
88015a178a os_win32.cpp: compile fix for r29476
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29485 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 19:08:14 +00:00
Uwe Stöhr
e9fc3d45f9 German UserGuide.lyx: updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29484 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 18:52:46 +00:00
Uwe Stöhr
8baca7929b Customization.lyx: the graphics and external material dialog no longer contain an Edit button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 18:52:34 +00:00
Vincent van Ravesteijn
69d2e076dc Add accept/reject change to the context menu of the toc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 17:55:26 +00:00
Vincent van Ravesteijn
26069b2465 Resolve shortcut clash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29479 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 17:17:26 +00:00
Vincent van Ravesteijn
7108b8e463 Add accept/reject change to the edit context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29478 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 17:06:36 +00:00
Vincent van Ravesteijn
61e32e1c25 Fix some toc ui glitches:
- revert r26360, because this causes irritating flickering, and reset the slider in updateView instead,

- disable also the sort checkbox and the slider when the list and combobox are disabled,

- disable the keep checkbox when the type is not navigatable, as it doesn't make sense to keep something that won't change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 16:03:06 +00:00
Enrico Forestieri
b0936fac4c When performing a reverse DVI search and the tmpdir is a symlink, the
DVI viewer passes back the resolved path, such that the search fails,
as internally LyX uses the unresolved path.
This patch fixes this bug by using the new method FileName::realPath
which resolves a path by getting rid of any '.', '..', or symlink
path components.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29476 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 15:18:11 +00:00
Abdelrazak Younes
f2197de98a Fix font issue due to mispelled marking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29474 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 13:45:30 +00:00
Abdelrazak Younes
695385374f Fix assertion on Ctrl-N with Qt4.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29473 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 13:11:22 +00:00
Uwe Stöhr
728380c06f Customization.lyx: corrections from Hartmut and me
German Customization.lyx: updates by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29472 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 12:21:04 +00:00
Jürgen Spitzmüller
59b58c5c0a compile fix (and move MyThes to firt place, since it is the preferred lib).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29470 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 11:50:04 +00:00
Abdelrazak Younes
c18baee469 Move isLetter() logic to Paragraph::isLetter().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29468 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 10:54:32 +00:00
Abdelrazak Younes
f665e65071 Forgot to commit this in previous rev. Sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29467 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 10:30:16 +00:00
Abdelrazak Younes
1b168bbc69 Paragraph::updateWord() and collectWords(): Remove unneeded CursorSlice argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:56:20 +00:00
Abdelrazak Younes
ea54380e13 Initial support for continuous spell-checking. This is far from working perfectly. I reused the word completion framework to achieve this. This doesn't seem to have sensible effect over edition speed.
You'll need to check the continuous spellcheck option in order to test this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29465 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:43:40 +00:00
Abdelrazak Younes
1d2077e51e FontList::setMisspelled(): Fix bogus code. Not really optimized..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29463 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:40:05 +00:00
Pavel Sanda
65389071ef Update a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:30:37 +00:00
Pavel Sanda
ffc71354d0 Revert part of http://www.lyx.org/trac/changeset/29412
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150458.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:15:32 +00:00
Abdelrazak Younes
8f1b42984d Better compil fix than previous commit. Sorry...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:44:35 +00:00
Pavel Sanda
27842f0bd5 Revert http://www.lyx.org/trac/changeset/29452
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150555.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29459 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:39:40 +00:00
Abdelrazak Younes
fa6dae88f2 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29458 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:35:59 +00:00
Abdelrazak Younes
23fded1fc0 New FontList::setMisspelled() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:17:23 +00:00
Abdelrazak Younes
30c70c1670 Transfer word locating code from Text to Paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 07:26:12 +00:00
Abdelrazak Younes
ce0c09d1ae potential compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29454 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 06:42:25 +00:00
Abdelrazak Younes
e2025f59dc CMake/Windows compilation fix. Aiksaurus.h was not visible in frontend/qt4:
* pimpl the implementation details. Next step would probably be to have a virtual base class instead.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 06:33:19 +00:00
Uwe Stöhr
bd9de0b764 configure.py: prepare LyX to include eLyXer, for more info I wrote to the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29452 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 02:06:44 +00:00
Uwe Stöhr
e32ce7f873 Spanish manuals: updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29449 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-30 20:43:46 +00:00
Pavel Sanda
b12096dc21 Add recognition to eLyXer
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150466.html
http://www.lyx.org/trac/ticket/5929


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29448 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-30 20:16:02 +00:00
Pavel Sanda
b69946bee0 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29447 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-30 13:47:38 +00:00
Enrico Forestieri
4053db1858 Speed up FileName operator==, such that working with child documents on
Windows and Solaris is again possible.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29444 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 22:42:26 +00:00