Commit Graph

16128 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
3352fe5fc8 * src/LaTeX.cpp:
- do a second latex run before bibtex if package clefval requests it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22612 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 10:04:48 +00:00
Abdelrazak Younes
689d5c2b99 add some const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22611 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 09:19:52 +00:00
Abdelrazak Younes
ff588411af Delay IconPalette construction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 08:42:28 +00:00
Abdelrazak Younes
139802b193 string optimizations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 08:32:48 +00:00
Abdelrazak Younes
0aead96461 Introduce class MenuButton in order to delay the math menu button initialisation up until it is first shown. This improve the inital loading time by half a second on windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 08:20:22 +00:00
Edwin Leuven
4559120e8a don't update parent and make sure the icon sizes on the palette are correct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22606 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 20:51:00 +00:00
Edwin Leuven
9a0570de4a initialize iconpalettes only when the user asks for them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22605 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 20:36:45 +00:00
Abdelrazak Younes
95fe0e16a7 Introduce class PaletteButton in order to delay the icon palette initialisation up until it is first shown. This improve the inital loading time by 2.3 seconds on windows!
I think the same thing should be done for POPUPMENU.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22603 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 18:27:24 +00:00
Abdelrazak Younes
c2f57f8cfe Fix delay when applying changed Preferences. The reason was that the "math-panels" initialisation takes too long (hence the FIXME).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22602 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 17:26:40 +00:00
Abdelrazak Younes
47f929d48d Fix mac menubar only modifying the Prefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22601 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 16:50:10 +00:00
Abdelrazak Younes
68d11a0b29 scrolling tweaks...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22600 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 15:15:26 +00:00
Abdelrazak Younes
bc3029bcf4 scrolling tweaks... asymptotically tending towards scrolling correctness...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22599 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 14:31:00 +00:00
Abdelrazak Younes
2db839d7bb Scrolling fixes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 09:06:36 +00:00
Abdelrazak Younes
9b06f2fbd5 Allow use of Tab keys when no document's open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 08:04:49 +00:00
Abdelrazak Younes
5a2231d17b Fix bug 4351 at least on Windows and X11.
http://bugzilla.lyx.org/show_bug.cgi?id=4351

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22596 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 07:47:53 +00:00
Pavel Sanda
0caadfe9d1 * Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22595 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 02:45:07 +00:00
Uwe Stöhr
b62f7986dd two new documentation file translations from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22593 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 22:56:22 +00:00
Pavel Sanda
6279be2e32 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 22:53:30 +00:00
Pavel Sanda
8b6415f308 Fix bug 4493 - countChars assert.
(No need to backport for 1.5, originated in 'polishing readability' in
http://www.lyx.org/trac/changeset/22519)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22591 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 22:30:19 +00:00
Uwe Stöhr
3a400c4e68 - German UserGuide.lyx: don't use caption
- UserGuide.lyx: list the new toolbar button

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22589 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 21:50:39 +00:00
Uwe Stöhr
f16abb9447 stdtoolbars.inc: adapt to r22585
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22588 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 21:49:14 +00:00
Richard Heck
1741c87a4e Fix bug 4463. The crash was due to a call to X from inside a child process.
The main change is to support/ForkedCalls.{h,cpp}. We introduce a static variable IAmAChild and a corresponding accessor. This is set to true in a new fork() method, in the branch taken by the child. (Note: fork() is safe cross-platform, as it just returns -1 if we don't have fork().) This ForkedProcess::iAmAChild() method is then used to protect GuiView::message().

As Abdel has pointed out, there may be other such calls to be protected, e.g., the emission of the Buffer::changed() signal. Those are not addressed here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22587 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 18:26:53 +00:00
Pavel Sanda
2baffdb590 * Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22586 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 14:16:23 +00:00
Jürgen Spitzmüller
1acedf11da * src/frontends/GuiDocument.{cpp,h}:
- do not update dialog when clicking in the main window without buffer change
	  (bug 4302).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22583 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 10:38:19 +00:00
Bo Peng
2ba95426cc change indentation from 2 to 4 in lyx_pot.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22582 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 04:13:14 +00:00
Uwe Stöhr
3774bc71b0 German UserGuide.lyx: updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22580 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:55:49 +00:00
Abdelrazak Younes
00ef1af08f header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22579 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:45:47 +00:00
Uwe Stöhr
ecde9d6a0f revert r22574 to be able to compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22578 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:45:04 +00:00
Abdelrazak Younes
12ce8e82cf simplify ucs4 to utf8 conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22577 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:44:05 +00:00
Uwe Stöhr
098c808174 forgot to add this in r22566
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22575 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:40:23 +00:00
Abdelrazak Younes
11f36d2d72 header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22574 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:19:55 +00:00
Abdelrazak Younes
537481ebe5 header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:18:52 +00:00
Abdelrazak Younes
d7d41ee59d header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22572 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:17:24 +00:00
Abdelrazak Younes
5e7c21490d header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22571 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:16:58 +00:00
Pavel Sanda
57587d80d6 * Doxy: fix \vars
(Beware: syntax needs \var lyx::kb_action lyx::LFUN_ after move to .cpp)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22570 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:01:36 +00:00
Pavel Sanda
be309904a8 * Doxy: lets generate hyperlinks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22569 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:45:03 +00:00
Richard Heck
821ef81154 A little more lfun doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22568 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:43:05 +00:00
Uwe Stöhr
62543f6fb8 toolbar button for boxes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22566 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:25:03 +00:00
Richard Heck
1583929922 A little more easy lfun doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22565 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:22:07 +00:00
Bernhard Roider
2714d1b8b9 Doxy for LFUN_CALL again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22564 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:20:35 +00:00
Richard Heck
ab6fcd9be5 Some easy lfun doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22563 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:02:59 +00:00
Stefan Schimanski
49daeaec29 * fix for buggy cursor logic due to multi bufferview support in MathMacros. It's much simpler now, even for simple single bufferview cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22562 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:53:49 +00:00
Stefan Schimanski
e0538043e4 * Nearly a proof that there are useful compiler warnings that a variable is not used,
though in this case the warning was "fixed" before it did its job.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22561 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:52:57 +00:00
Richard Heck
afa6389644 A little more explanation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22560 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:49:01 +00:00
Pavel Sanda
73f97fa124 * Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:46:20 +00:00
Richard Heck
f03329a19c I18n for modules. This would seem to complete the module implementation. Test away.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:44:06 +00:00
Peter Kümmel
421fa672a7 remove duplicated code, (fix cmake merge)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22557 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 19:52:16 +00:00
Bernhard Roider
29d74c47a8 Add lfuns doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22556 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 19:37:52 +00:00
Pavel Sanda
25c7910e87 Add lfuns doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 18:53:10 +00:00
Abdelrazak Younes
f643441cf2 Better fix than revision 22553. Transfer the backup to RowPainter::paintInset().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22554 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 16:24:01 +00:00