Commit Graph

18735 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
bc05bc2c59 Let LyX compile when there is no session manager.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36399 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-20 01:43:18 +00:00
Richard Heck
ff79d11bb7 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36398 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-19 13:27:51 +00:00
Stephan Witt
44d0829586 back to a version broken for Mac but working on other platforms
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36397 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-19 09:15:25 +00:00
Uwe Stöhr
8b83daaef0 PDFOptions.cpp:
- fix #4078
- fix #7052
- update/clarify a FIXME notice

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36396 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-19 04:21:24 +00:00
Vincent van Ravesteijn
a3c01d2e25 Fix bug #7007: Horizontal table alignment display broken.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36395 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-19 03:31:13 +00:00
Richard Heck
2be835f925 Line length, better grammar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36391 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 23:12:46 +00:00
Vincent van Ravesteijn
2b26246d0d Support the new Indian Rupee currency symbol.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36390 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:30:28 +00:00
Richard Heck
352db52859 Line length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36389 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:19:39 +00:00
Vincent van Ravesteijn
518c8974a6 Add error message when using a Qt compiled with QT_NO_SESSIONMANAGER defined. The error message that QSessionManager is incomplete is not very useful to find out the problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36388 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:14:49 +00:00
Richard Heck
b9e83e76ca Another warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36387 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:02:46 +00:00
Richard Heck
60da156ffd Squash some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36386 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:01:54 +00:00
Richard Heck
db5713332a Immediate but dumb partial fix for #7044.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36385 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:01:34 +00:00
Enrico Forestieri
a1927c00d2 Correctly set the breakline guard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36381 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 21:15:59 +00:00
Pavel Sanda
8fa5778221 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36380 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 21:00:34 +00:00
Vincent van Ravesteijn
7222ce9e31 set eol-style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36379 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 19:50:29 +00:00
Vincent van Ravesteijn
cc84d35ed4 Buffer::saveCheckSum() can be private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36377 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 18:37:17 +00:00
Vincent van Ravesteijn
b3d7a10410 Call Buffer::saveCheckSum() from Buffer::setFileName(). This fixes the bug that if the user wants to overwrite an already existing file, LyX asks whether he want to overwrite the existing file _and_ whether he wants to overwrite an externally modified file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36376 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 17:56:00 +00:00
Vincent van Ravesteijn
1f38406536 Buffer::setFileName() can now be private. The only way to change the filename of a buffer is to save it as a different file using Buffer::saveAs().
Change its parameter type to support::FileName for convenience.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36375 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 17:50:33 +00:00
Vincent van Ravesteijn
4e394eb9c5 Remove unnecessary call to Buffer::setFileName. The buffer already knows its name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36374 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 17:35:49 +00:00
Stephan Witt
89f5c437a8 Fix for the spellchecker dialog on OS X and Linux too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36373 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 17:08:17 +00:00
Enrico Forestieri
6e41d3006d Output end of math environments at the beginning of a new line,
as now this should be blank line safe.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36372 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 14:20:19 +00:00
Enrico Forestieri
8cd4ef18c8 Make sure that no blank line can (unintentionally) slip in when exporting
math to latex. This also fixes bug #6733.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36371 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 14:05:50 +00:00
Stephan Witt
7eff534df7 Fix for the spellchecker dialog on OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36369 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 10:41:37 +00:00
Enrico Forestieri
04fb3f0d06 Remove a MathStream and HtmlStream member which is used nowhere.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36368 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 09:58:35 +00:00
Enrico Forestieri
4c1d8f5f96 Possible fix for the spellchecker dialog on OS X.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36367 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 09:30:20 +00:00
Uwe Stöhr
ff77ea6a63 SpellcheckerUi.ui: set button policy to maximum because the Ignore buttons were much to large, depending on the size of LyX's main window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36363 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 04:32:32 +00:00
Richard Heck
0940cd77d4 Better way of doing these checks, suggested by Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36356 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 22:17:53 +00:00
Richard Heck
d764a97cf4 Hadn't see this empty_docstring() thing before. Very useful.
Add a comment to strfwd.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36355 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 22:11:33 +00:00
Richard Heck
67a4b590aa We don't generally use "static" this way in the LyX code any more. (Just
a bit of cleanup while studying other things....)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36354 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 22:00:42 +00:00
Richard Heck
e54afe6367 Remove redundant code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36353 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 21:41:23 +00:00
Richard Heck
01ec30ca86 One more isalpha issue. Original routine also removed too much, I think.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36352 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 21:36:03 +00:00
Richard Heck
4bf281106b Be more careful here about isalpha and isalnum. Per Enrico's suggestion,
we first do a range test, then check the status. I think this is right
in both cases.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36351 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 21:19:01 +00:00
Richard Heck
897404e34d Simplify more of the tooltips. There will be some speed improvements
here, but not very noticeable, I think, as these ones aren't called by
the addToToc stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36347 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 17:25:22 +00:00
Richard Heck
4133f627b2 Simplify some of the tooltip stuff now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36346 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 16:55:58 +00:00
Richard Heck
7d0b98a858 Optimize InsetText::toolTipText() a bit. The old version was doing
plaintext() on the entire inset, even though the tooltip is only going
to show the first few lines. This could make things slow when you had a
lot of branches, because this is called by InsetBranch::addToToc().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36345 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 16:35:37 +00:00
Vincent van Ravesteijn
a7629d2bfc Squeeze warnings on msvc express 2010.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36344 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 16:15:01 +00:00
Vincent van Ravesteijn
710b7549ea Remove unneeded include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36343 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 16:14:26 +00:00
Vincent van Ravesteijn
e1398a66d8 Author: more cosmetics. Forgot these in previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36342 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 16:13:59 +00:00
Vincent van Ravesteijn
74a3786dc5 Author: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36341 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 16:12:43 +00:00
Richard Heck
13fa0dda1b Fixed bug #7037. Don't need these updateBuffer() calls.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36339 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 15:54:51 +00:00
Vincent van Ravesteijn
c1a728d8f1 Buffer::moveAutosaveFile can be private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36330 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 03:47:14 +00:00
Vincent van Ravesteijn
7bf7fabb13 Correct bug number and typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36329 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 03:22:37 +00:00
Vincent van Ravesteijn
c701342593 Reset the autosave timers also for the threaded case. This fixes the bug that autosave doesn't work in beta-1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36328 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 02:27:02 +00:00
Vincent van Ravesteijn
ce0304e6f4 Buffer::getAutosaveFileName() can now be private as it should.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36327 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 02:25:12 +00:00
Vincent van Ravesteijn
ae852848fa Let GuiViewPrivate::autosaveAndDestroy use Buffer::autoSave() and remove the now unneeded parameter filename.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36326 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 02:23:39 +00:00
Vincent van Ravesteijn
208acbc728 Generalize Buffer::autoSave() for both the threaded as the forked process call. Also move out the resetAutosaveTimers as this is the task of the frontend as the core shouldn't know about any timer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36325 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 02:18:12 +00:00
Vincent van Ravesteijn
a0916d4fef Rename GuiViewPrivate::saveAndDestroy to autosaveAndDestroy (because that's what it actually does according to the return string).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36324 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 02:07:54 +00:00
Pavel Sanda
630f72ed6c UI naming synchro.
Actually, I wonder how is this dialog triggered.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36321 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 19:39:44 +00:00
Pavel Sanda
29849a143c tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36320 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 19:20:28 +00:00
Richard Heck
b8d207901b Fix crash reported by Enrico. Thinko or something in r35856.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36317 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 18:26:21 +00:00