]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agoIntroduce class MenuButton in order to delay the math menu button initialisation...
Abdelrazak Younes [Thu, 17 Jan 2008 08:20:22 +0000 (08:20 +0000)]
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

16 years agodon't update parent and make sure the icon sizes on the palette are correct
Edwin Leuven [Wed, 16 Jan 2008 20:51:00 +0000 (20:51 +0000)]
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

16 years agoinitialize iconpalettes only when the user asks for them
Edwin Leuven [Wed, 16 Jan 2008 20:36:45 +0000 (20:36 +0000)]
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

16 years agoIntroduce class PaletteButton in order to delay the icon palette initialisation up...
Abdelrazak Younes [Wed, 16 Jan 2008 18:27:24 +0000 (18:27 +0000)]
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

16 years agoFix delay when applying changed Preferences. The reason was that the "math-panels...
Abdelrazak Younes [Wed, 16 Jan 2008 17:26:40 +0000 (17:26 +0000)]
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

16 years agoFix mac menubar only modifying the Prefs.
Abdelrazak Younes [Wed, 16 Jan 2008 16:50:10 +0000 (16:50 +0000)]
Fix mac menubar only modifying the Prefs.

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

16 years agoscrolling tweaks...
Abdelrazak Younes [Wed, 16 Jan 2008 15:15:26 +0000 (15:15 +0000)]
scrolling tweaks...

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

16 years agoscrolling tweaks... asymptotically tending towards scrolling correctness...
Abdelrazak Younes [Wed, 16 Jan 2008 14:31:00 +0000 (14:31 +0000)]
scrolling tweaks... asymptotically tending towards scrolling correctness...

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

16 years agoScrolling fixes...
Abdelrazak Younes [Wed, 16 Jan 2008 09:06:36 +0000 (09:06 +0000)]
Scrolling fixes...

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

16 years agoAllow use of Tab keys when no document's open.
Abdelrazak Younes [Wed, 16 Jan 2008 08:04:49 +0000 (08:04 +0000)]
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

16 years agoFix bug 4351 at least on Windows and X11.
Abdelrazak Younes [Wed, 16 Jan 2008 07:47:53 +0000 (07:47 +0000)]
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

16 years ago* Doxy
Pavel Sanda [Wed, 16 Jan 2008 02:45:07 +0000 (02:45 +0000)]
* Doxy

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

16 years agotwo new documentation file translations from Ignacio
Uwe Stöhr [Tue, 15 Jan 2008 22:56:22 +0000 (22:56 +0000)]
two new documentation file translations from Ignacio

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

16 years ago* Doxy.
Pavel Sanda [Tue, 15 Jan 2008 22:53:30 +0000 (22:53 +0000)]
* Doxy.

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

16 years agoFix bug 4493 - countChars assert.
Pavel Sanda [Tue, 15 Jan 2008 22:30:19 +0000 (22:30 +0000)]
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

16 years ago- German UserGuide.lyx: don't use caption
Uwe Stöhr [Tue, 15 Jan 2008 21:50:39 +0000 (21:50 +0000)]
- 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

16 years agostdtoolbars.inc: adapt to r22585
Uwe Stöhr [Tue, 15 Jan 2008 21:49:14 +0000 (21:49 +0000)]
stdtoolbars.inc: adapt to r22585

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

16 years agoFix bug 4463. The crash was due to a call to X from inside a child process.
Richard Heck [Tue, 15 Jan 2008 18:26:53 +0000 (18:26 +0000)]
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

16 years ago* Doxy
Pavel Sanda [Tue, 15 Jan 2008 14:16:23 +0000 (14:16 +0000)]
* Doxy

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

16 years ago* src/frontends/GuiDocument.{cpp,h}:
Jürgen Spitzmüller [Tue, 15 Jan 2008 10:38:19 +0000 (10:38 +0000)]
* 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

16 years agochange indentation from 2 to 4 in lyx_pot.py
Bo Peng [Tue, 15 Jan 2008 04:13:14 +0000 (04:13 +0000)]
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

16 years agoGerman UserGuide.lyx: updates by Hartmut
Uwe Stöhr [Mon, 14 Jan 2008 23:55:49 +0000 (23:55 +0000)]
German UserGuide.lyx: updates by Hartmut

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:45:47 +0000 (23:45 +0000)]
header cleanup

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

16 years agorevert r22574 to be able to compile
Uwe Stöhr [Mon, 14 Jan 2008 23:45:04 +0000 (23:45 +0000)]
revert r22574 to be able to compile

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

16 years agosimplify ucs4 to utf8 conversion.
Abdelrazak Younes [Mon, 14 Jan 2008 23:44:05 +0000 (23:44 +0000)]
simplify ucs4 to utf8 conversion.

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

16 years agoforgot to add this in r22566
Uwe Stöhr [Mon, 14 Jan 2008 23:40:23 +0000 (23:40 +0000)]
forgot to add this in r22566

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:19:55 +0000 (23:19 +0000)]
header cleanup

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:18:52 +0000 (23:18 +0000)]
header cleanup

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:17:24 +0000 (23:17 +0000)]
header cleanup

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

16 years agoheader cleanup
Abdelrazak Younes [Mon, 14 Jan 2008 23:16:58 +0000 (23:16 +0000)]
header cleanup

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

16 years ago* Doxy: fix \vars
Pavel Sanda [Mon, 14 Jan 2008 23:01:36 +0000 (23:01 +0000)]
* 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

16 years ago* Doxy: lets generate hyperlinks
Pavel Sanda [Mon, 14 Jan 2008 22:45:03 +0000 (22:45 +0000)]
* Doxy: lets generate hyperlinks

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

16 years agoA little more lfun doxy.
Richard Heck [Mon, 14 Jan 2008 22:43:05 +0000 (22:43 +0000)]
A little more lfun doxy.

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

16 years agotoolbar button for boxes
Uwe Stöhr [Mon, 14 Jan 2008 22:25:03 +0000 (22:25 +0000)]
toolbar button for boxes

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

16 years agoA little more easy lfun doxy.
Richard Heck [Mon, 14 Jan 2008 22:22:07 +0000 (22:22 +0000)]
A little more easy lfun doxy.

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

16 years agoDoxy for LFUN_CALL again
Bernhard Roider [Mon, 14 Jan 2008 22:20:35 +0000 (22:20 +0000)]
Doxy for LFUN_CALL again

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

16 years agoSome easy lfun doxy.
Richard Heck [Mon, 14 Jan 2008 22:02:59 +0000 (22:02 +0000)]
Some easy lfun doxy.

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

16 years ago* fix for buggy cursor logic due to multi bufferview support in MathMacros. It's...
Stefan Schimanski [Mon, 14 Jan 2008 21:53:49 +0000 (21:53 +0000)]
* 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

16 years ago* Nearly a proof that there are useful compiler warnings that a variable is not used,
Stefan Schimanski [Mon, 14 Jan 2008 21:52:57 +0000 (21:52 +0000)]
* 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

16 years agoA little more explanation.
Richard Heck [Mon, 14 Jan 2008 21:49:01 +0000 (21:49 +0000)]
A little more explanation.

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

16 years ago* Doxy
Pavel Sanda [Mon, 14 Jan 2008 21:46:20 +0000 (21:46 +0000)]
* Doxy

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

16 years agoI18n for modules. This would seem to complete the module implementation. Test away.
Richard Heck [Mon, 14 Jan 2008 21:44:06 +0000 (21:44 +0000)]
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

16 years agoremove duplicated code, (fix cmake merge)
Peter Kümmel [Mon, 14 Jan 2008 19:52:16 +0000 (19:52 +0000)]
remove duplicated code, (fix cmake merge)

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

16 years agoAdd lfuns doxy.
Bernhard Roider [Mon, 14 Jan 2008 19:37:52 +0000 (19:37 +0000)]
Add lfuns doxy.

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

16 years agoAdd lfuns doxy.
Pavel Sanda [Mon, 14 Jan 2008 18:53:10 +0000 (18:53 +0000)]
Add lfuns doxy.

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

16 years agoBetter fix than revision 22553. Transfer the backup to RowPainter::paintInset().
Abdelrazak Younes [Mon, 14 Jan 2008 16:24:01 +0000 (16:24 +0000)]
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

16 years agoTextMetrics::drawParagraph(): Fix drawing bug reported by Richard by backing up the...
Abdelrazak Younes [Mon, 14 Jan 2008 16:15:40 +0000 (16:15 +0000)]
TextMetrics::drawParagraph(): Fix drawing bug reported by Richard by backing up the full repaint flag.

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

16 years ago * src/Spacing.cpp (writeBeginEnv, writeEndEnv): add a bool parameter
Jean-Marc Lasgouttes [Mon, 14 Jan 2008 14:53:29 +0000 (14:53 +0000)]
* src/Spacing.cpp (writeBeginEnv, writeEndEnv): add a bool parameter
directing to use memoir's capitalized latex macros.
* src/LaTeXFeatures.cpp (getPackages): act on feature "SetSpace".
* src/output_latex.cpp (TeXOnePar): ditto

* lib/layouts/memoir.layout: provide feature SetSpace, indicating that
memoir provides the setspace functionality, but with a different syntax.

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

16 years ago* Buffer::doExport(): return early.
Abdelrazak Younes [Mon, 14 Jan 2008 14:09:20 +0000 (14:09 +0000)]
* Buffer::doExport(): return early.

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

16 years ago* src/LaTeXFeatures.cpp:
Jürgen Spitzmüller [Mon, 14 Jan 2008 10:08:08 +0000 (10:08 +0000)]
* src/LaTeXFeatures.cpp:
- load xcolor.sty the same way than color.sty, and only load one of them
  (xcolor, if requested, else color).

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

16 years ago* AutoSaveBuffer::generateChild(): return early.
Abdelrazak Younes [Mon, 14 Jan 2008 09:04:14 +0000 (09:04 +0000)]
* AutoSaveBuffer::generateChild(): return early.

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

16 years ago* AutoSaveBuffer::generateChild(): FileName::moveTo() already tries to remove the...
Abdelrazak Younes [Mon, 14 Jan 2008 09:00:32 +0000 (09:00 +0000)]
* AutoSaveBuffer::generateChild(): FileName::moveTo() already tries to remove the file if any so no need to do that again.

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

16 years agoUse the currentItemChanged() signal instead of itemSelectionChanged()
Enrico Forestieri [Sun, 13 Jan 2008 21:35:48 +0000 (21:35 +0000)]
Use the currentItemChanged() signal instead of itemSelectionChanged()
because in Qt 4.2 the current item has not been updated yet when
itemSelectionChanged() is emitted.

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

16 years agoEmbeddedObjects.lyx: benefit from the fixed bug 2492
Uwe Stöhr [Sun, 13 Jan 2008 16:55:31 +0000 (16:55 +0000)]
EmbeddedObjects.lyx: benefit from the fixed bug 2492

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

16 years agoInsetBox.cpp: fix the LaTeX-output, fixes bug 2492 http://bugzilla.lyx.org/show_bug...
Uwe Stöhr [Sun, 13 Jan 2008 14:41:49 +0000 (14:41 +0000)]
InsetBox.cpp: fix the LaTeX-output, fixes bug 2492 http://bugzilla.lyx.org/show_bug.cgi?id=2492

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

16 years agounicodesymbols: add ligatures, patch by Anders Ekberg
Uwe Stöhr [Sun, 13 Jan 2008 13:25:00 +0000 (13:25 +0000)]
unicodesymbols: add ligatures, patch by Anders Ekberg

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

16 years ago* src/LaTeXFeatures.cpp:
Jürgen Spitzmüller [Sun, 13 Jan 2008 11:49:36 +0000 (11:49 +0000)]
* src/LaTeXFeatures.cpp:
- the package "pdfcolmk" must be loaded after [x]color.sty
  (see package documentation).

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

16 years agofix warning.
Abdelrazak Younes [Sun, 13 Jan 2008 10:48:10 +0000 (10:48 +0000)]
fix warning.

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

16 years agofix warning.
Abdelrazak Younes [Sun, 13 Jan 2008 10:44:16 +0000 (10:44 +0000)]
fix warning.

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

16 years agoFive more percent.
André Pönitz [Sat, 12 Jan 2008 23:08:21 +0000 (23:08 +0000)]
Five more percent.

I'd really prefer if people would not add unused code to critical
paths..

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

16 years agocosmetics
André Pönitz [Sat, 12 Jan 2008 21:49:48 +0000 (21:49 +0000)]
cosmetics

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

16 years agoThere was a bit too much copying of dociterators gpoing on leading to an
André Pönitz [Sat, 12 Jan 2008 21:38:51 +0000 (21:38 +0000)]
There was a bit too much copying of dociterators gpoing on leading to an
avoidable ~5% overhead when loading the UserGuide. This is an attempt on
rectifying the situation.

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

16 years agoChange credits
Pavel Sanda [Sat, 12 Jan 2008 18:00:48 +0000 (18:00 +0000)]
Change credits

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

16 years agoUserGuide.lyx: fix bibliographies
Uwe Stöhr [Sat, 12 Jan 2008 16:52:08 +0000 (16:52 +0000)]
UserGuide.lyx: fix bibliographies

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

16 years agocosmetics
André Pönitz [Sat, 12 Jan 2008 16:44:35 +0000 (16:44 +0000)]
cosmetics

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

16 years agocosmetics
André Pönitz [Sat, 12 Jan 2008 16:40:25 +0000 (16:40 +0000)]
cosmetics

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

16 years agocosmetics
André Pönitz [Sat, 12 Jan 2008 16:34:02 +0000 (16:34 +0000)]
cosmetics

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

16 years agoHelp from Andre.
Richard Heck [Sat, 12 Jan 2008 16:11:55 +0000 (16:11 +0000)]
Help from Andre.

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

16 years ago* GuiBibtex.cpp:
Jürgen Spitzmüller [Sat, 12 Jan 2008 15:41:40 +0000 (15:41 +0000)]
* GuiBibtex.cpp:
- some more tweaks.

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

16 years agoscons_manifest.py: compile fix
Uwe Stöhr [Sat, 12 Jan 2008 14:06:40 +0000 (14:06 +0000)]
scons_manifest.py: compile fix

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

16 years agoAdd temp vars to countChar.
Pavel Sanda [Sat, 12 Jan 2008 13:34:10 +0000 (13:34 +0000)]
Add temp vars to countChar.

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

16 years agoAdd to permissions.
Pavel Sanda [Sat, 12 Jan 2008 12:14:57 +0000 (12:14 +0000)]
Add to permissions.

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

16 years ago* GuiBibtex.cpp:
Jürgen Spitzmüller [Sat, 12 Jan 2008 12:00:11 +0000 (12:00 +0000)]
* GuiBibtex.cpp:
- nor _really_: yet another tweak to button enabling.

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

16 years agoLet doxygen recognize us
Pavel Sanda [Sat, 12 Jan 2008 11:50:33 +0000 (11:50 +0000)]
Let doxygen recognize us

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

16 years ago* GuiBibtex.cpp:
Jürgen Spitzmüller [Sat, 12 Jan 2008 11:49:49 +0000 (11:49 +0000)]
* GuiBibtex.cpp:
- yet another tweak to button enabling.

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

16 years agoMove all doxy stuff to LyXAction.cpp, so that touching dox won't imply full recompile.
Pavel Sanda [Sat, 12 Jan 2008 11:33:03 +0000 (11:33 +0000)]
Move all doxy stuff to LyXAction.cpp, so that touching dox won't imply full recompile.

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

16 years ago* GuiBibtex.cpp:
Jürgen Spitzmüller [Sat, 12 Jan 2008 11:22:20 +0000 (11:22 +0000)]
* GuiBibtex.cpp:
- addition to rev. 22507: handle ReadOnly of new buttons.

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

16 years ago* lib/lyx2lyx/lyx_1_4.py:
Jürgen Spitzmüller [Sat, 12 Jan 2008 09:59:37 +0000 (09:59 +0000)]
* lib/lyx2lyx/lyx_1_4.py:
* lib/lyx2lyx/lyx_1_6.py:
- improve reversion method for floats.

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

16 years ago* src/frontends/qt4/GuiBibtex.{cpp,h}:
Jürgen Spitzmüller [Sat, 12 Jan 2008 09:30:21 +0000 (09:30 +0000)]
* src/frontends/qt4/GuiBibtex.{cpp,h}:
* src/frontends/qt4/ui/BibtexUi.ui:
- add buttons to move databases up and down.
  Patch from Horst Schirmeier (permission: http://marc.info/?l=lyx-devel&m=120009631506298&w=2)

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

16 years agoFix bugs.
Richard Heck [Sat, 12 Jan 2008 06:43:44 +0000 (06:43 +0000)]
Fix bugs.

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

16 years agoFix r22486, which causes an infinite loop when a bibtex file is not available. Report...
Bo Peng [Sat, 12 Jan 2008 06:17:37 +0000 (06:17 +0000)]
Fix r22486, which causes an infinite loop when a bibtex file is not available. Reported by Horst

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

16 years agoDocumentation updates related to modules and the AMS classes. Note that, with the...
Richard Heck [Sat, 12 Jan 2008 06:09:27 +0000 (06:09 +0000)]
Documentation updates related to modules and the AMS classes. Note that, with the modularization of the theorem environments, we can now actually use them in Extended->AMSLaTeX to show the user what they look like.

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

16 years agoTweaks.
Richard Heck [Sat, 12 Jan 2008 06:05:27 +0000 (06:05 +0000)]
Tweaks.

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

16 years agoFixes to the theorem modules.
Richard Heck [Sat, 12 Jan 2008 05:17:52 +0000 (05:17 +0000)]
Fixes to the theorem modules.

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

16 years agoThis commit changes the way individual LyXModule's are represented, both internally...
Richard Heck [Sat, 12 Jan 2008 04:28:12 +0000 (04:28 +0000)]
This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.

The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.

By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.

So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i)  GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.

The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework.

I've also updated the module documenation to accord with this change.

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

16 years agoNew files, anticipating a later commit.
Richard Heck [Sat, 12 Jan 2008 02:31:32 +0000 (02:31 +0000)]
New files, anticipating a later commit.

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

16 years agoSynchronize lfun thematical ordering and func_type.
Pavel Sanda [Sat, 12 Jan 2008 00:22:15 +0000 (00:22 +0000)]
Synchronize lfun thematical ordering and func_type.

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

16 years agoUserGuide.lyx: add a paragraph how to dissolve insets, fixes bug 3687
Uwe Stöhr [Fri, 11 Jan 2008 23:39:18 +0000 (23:39 +0000)]
UserGuide.lyx: add a paragraph how to dissolve insets, fixes bug 3687

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

16 years agorename LFUNs math-nonumber and math-number to what they really do,
Uwe Stöhr [Fri, 11 Jan 2008 22:45:19 +0000 (22:45 +0000)]
rename LFUNs math-nonumber and math-number to what they really do,
fixes bug 2608

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

16 years ago*** Support for generic sideways floats ***
Jürgen Spitzmüller [Fri, 11 Jan 2008 18:56:53 +0000 (18:56 +0000)]
*** Support for generic sideways floats ***

* src/Buffer.cpp:
- format is up to 312.
* src/LaTeXFeatures.cpp:
- add rotfloat.
* src/Insets/InsetFloat.cpp:
- handle starred and generic sideways floats.
* src/frontends/qt4/FloatPlacement.{cpp,h}:
- adjust GUI to the new features.
* lib/chkconfig.ltx:
- add rotfloat
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add reversion methods for new floats
* lib/lyx2lyx/lyx_1_4.py:
- add proper reversion method for sideways floats (this was missing).

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

16 years agotypo.
Jürgen Spitzmüller [Fri, 11 Jan 2008 18:34:21 +0000 (18:34 +0000)]
typo.

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

16 years agoStart of lfun reordering
Pavel Sanda [Fri, 11 Jan 2008 12:46:12 +0000 (12:46 +0000)]
Start of lfun reordering

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

16 years agoPreparing for lfun doxy movement
Pavel Sanda [Fri, 11 Jan 2008 12:43:50 +0000 (12:43 +0000)]
Preparing for lfun doxy movement

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

16 years agoRenaming leftovers
Pavel Sanda [Fri, 11 Jan 2008 12:40:26 +0000 (12:40 +0000)]
Renaming leftovers

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

16 years agoWow.
Richard Heck [Fri, 11 Jan 2008 08:03:48 +0000 (08:03 +0000)]
Wow.

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

16 years agoFix comment.
Richard Heck [Fri, 11 Jan 2008 04:44:56 +0000 (04:44 +0000)]
Fix comment.

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

16 years agoMake bibtex works with embedded bib file
Bo Peng [Fri, 11 Jan 2008 03:57:22 +0000 (03:57 +0000)]
Make bibtex works with embedded bib file

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

16 years agoEmbedding: saving inzip name to .lyx file so that embedded files can always be found...
Bo Peng [Thu, 10 Jan 2008 23:39:58 +0000 (23:39 +0000)]
Embedding: saving inzip name to .lyx file so that embedded files can always be found under different operating systems (even lyx versions). yet to be tested under windows

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

16 years agostdtoolbars.inc: partly revert r22445
Uwe Stöhr [Thu, 10 Jan 2008 20:57:15 +0000 (20:57 +0000)]
stdtoolbars.inc: partly revert r22445

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

16 years agocompile fix
Uwe Stöhr [Thu, 10 Jan 2008 20:55:52 +0000 (20:55 +0000)]
compile fix

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