Commit Graph

26066 Commits

Author SHA1 Message Date
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
Kornel Benko
cdd99e77c4 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36370 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 11:16:54 +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
cae12168a4 - po-files: remerge
- de.po: some translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36365 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 05:03:59 +00:00
Uwe Stöhr
35fae7ce82 nn.po: updates from Ingar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36364 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 04:58:29 +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
Uwe Stöhr
6290083dbb EmbeddedObjects.lyx: multirows:
- correct description about their alignment
- describe vertical offset

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36362 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 04:23:05 +00:00
Uwe Stöhr
eaa15fc521 scons/scons_manifest.py: fix SCons after r36349
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36361 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 03:41:08 +00:00
Uwe Stöhr
aa20293548 installer: updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36360 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 00:59:33 +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
2d40278670 Update to format 30.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36350 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 20:44:34 +00:00
Richard Heck
20dbfe40b3 New enumitem module, from Gunter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36349 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 20:41:31 +00:00
Enrico Forestieri
618dd35108 Fix bug #4606 (\varPhi and similar characters not known by the LyX GUI)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36348 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 19:42:36 +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
Pavel Sanda
3ce4047b7b * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36340 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 16:12:04 +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
Pavel Sanda
2d748d4f24 Shortcut clash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36338 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 15:35:36 +00:00
Enrico Forestieri
7a3ed65c81 LyX builds and installs just fine with autoconf 2.66
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36337 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 14:11:15 +00:00
Uwe Stöhr
52ec886d5b installer:
- support for Serbian as LyX menu language
- support for MiKTeX 2.9
- preparation for beta1

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36336 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 05:54:30 +00:00
Uwe Stöhr
48c64237cc Serbian Braille.lyx and splash.lyx: correct document language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36335 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 05:50:09 +00:00
Uwe Stöhr
4a4abc98ef stdtoolbars.inc: rename to be uniform with menus and documentation
@Pavel: the phantom dialog is called when using the Edit menu on an existing phantom

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36334 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 04:25:38 +00:00
Uwe Stöhr
9a36fedb18 new Serbian translation of the Braille example file by Zoran
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36333 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 04:17:42 +00:00
Uwe Stöhr
094bfd95a7 sr.po: translation updates by Zoran (branch will be synced when it is open again)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36332 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 04:16:56 +00:00
Uwe Stöhr
6dfea8c70b de.po: some translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36331 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 04:08:52 +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
bc95011fb7 * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36323 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 19:47:14 +00:00
Pavel Sanda
bf486d1ad9 Synchro menu items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36322 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 19:43:32 +00:00