]>
git.lyx.org Git - lyx.git/log
Uwe Stöhr [Fri, 18 Jan 2008 19:07:57 +0000 (19:07 +0000)]
unicodesymbols: support for missing space modifier letters (patch by Jürgen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22623
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 18 Jan 2008 08:26:38 +0000 (08:26 +0000)]
Fix buffer-next/previous when called with Ctrl-Tab.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22621
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 18 Jan 2008 08:15:51 +0000 (08:15 +0000)]
Fix Ctrl-Tab binding for 'buffer-next'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22620
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 18 Jan 2008 06:46:06 +0000 (06:46 +0000)]
Embedding: fix enable() logic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22619
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 17 Jan 2008 22:42:25 +0000 (22:42 +0000)]
UserGuide.lyx: get rid of an ERT box
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22617
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 17 Jan 2008 19:01:01 +0000 (19:01 +0000)]
* src/frontends/GuiView.cpp:
- fix bug 4496 ("Retry" and "Cancel" buttons were swapped in the error dialog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22616
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Jan 2008 17:47:01 +0000 (17:47 +0000)]
Scrolling works:
* enable ScrollBarAsNeeded.
* small cleanups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22615
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Jan 2008 17:06:55 +0000 (17:06 +0000)]
More scrolling work. Now the scrollbar parameters are normalized against the screen geometry and coordinates. This simplifies the logic and the code significantly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22614
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 17 Jan 2008 10:04:48 +0000 (10:04 +0000)]
* 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
Abdelrazak Younes [Thu, 17 Jan 2008 09:19:52 +0000 (09:19 +0000)]
add some const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22611
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Jan 2008 08:42:28 +0000 (08:42 +0000)]
Delay IconPalette construction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22610
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 17 Jan 2008 08:32:48 +0000 (08:32 +0000)]
string optimizations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22609
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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