]> git.lyx.org Git - lyx.git/log
lyx.git
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

16 years agoFORMAT: document latest file format change
Uwe Stöhr [Thu, 10 Jan 2008 20:46:05 +0000 (20:46 +0000)]
FORMAT: document latest file format change

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

16 years ago* src/insets/InsetCitation.{cpp,h}:
Jürgen Spitzmüller [Thu, 10 Jan 2008 16:09:01 +0000 (16:09 +0000)]
* src/insets/InsetCitation.{cpp,h}:
* src/insets/InsetHyperlink.{cpp,h}:
* src/insets/InsetRef.{cpp,h}:
* src/insets/InsetSpace.{cpp,h}:
* src/insets/InsetSpecialChar.{cpp,h}:
- fix textString member (bug 4472).

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

16 years agoTransfer Tab and Shift-Tab keys special handling from GuiView::event() to GuiWorkArea...
Abdelrazak Younes [Thu, 10 Jan 2008 09:04:30 +0000 (09:04 +0000)]
Transfer Tab and Shift-Tab keys special handling from GuiView::event() to GuiWorkArea::event(). Add some comments.

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

16 years ago* lib/ui/stdtoolbars.ui:
Jürgen Spitzmüller [Thu, 10 Jan 2008 08:54:23 +0000 (08:54 +0000)]
* lib/ui/stdtoolbars.ui:
- disambiguate "Review".

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

16 years ago* CursorSlice::lastpos(): check for text emptiness (should fix a crash when releasing...
Abdelrazak Younes [Thu, 10 Jan 2008 08:46:04 +0000 (08:46 +0000)]
* CursorSlice::lastpos(): check for text emptiness (should fix a crash when releasing an empty buffer).

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

16 years ago* GuiWorkArea::event():
Abdelrazak Younes [Thu, 10 Jan 2008 08:19:54 +0000 (08:19 +0000)]
* GuiWorkArea::event():
- case ToolTip: don't forget to accept the event!
- Clean up the method in order to extend to other events.

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

16 years agoRemove comment.
Richard Heck [Thu, 10 Jan 2008 07:30:22 +0000 (07:30 +0000)]
Remove comment.

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

16 years agoRemove layout stuff made obsolete by modularization.
Richard Heck [Thu, 10 Jan 2008 07:24:53 +0000 (07:24 +0000)]
Remove layout stuff made obsolete by modularization.

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

16 years agoDummy format change for AMS modularization.
Richard Heck [Thu, 10 Jan 2008 07:22:43 +0000 (07:22 +0000)]
Dummy format change for AMS modularization.

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

16 years agoMore tweaks, and some fixes for missing files in the makefiles, while we're at it.
Richard Heck [Thu, 10 Jan 2008 07:19:07 +0000 (07:19 +0000)]
More tweaks, and some fixes for missing files in the makefiles, while we're at it.

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

16 years agoAMS module tweaks.
Richard Heck [Thu, 10 Jan 2008 07:13:01 +0000 (07:13 +0000)]
AMS module tweaks.

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

16 years agoMove stuff around.
Richard Heck [Thu, 10 Jan 2008 06:34:33 +0000 (06:34 +0000)]
Move stuff around.

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

16 years agoWe do not need to update just because the class has been changed.
Richard Heck [Thu, 10 Jan 2008 06:22:42 +0000 (06:22 +0000)]
We do not need to update just because the class has been changed.

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

16 years agoCompile fix.
Richard Heck [Thu, 10 Jan 2008 06:07:34 +0000 (06:07 +0000)]
Compile fix.

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

16 years agoMinor tweaks, and a new module for unnumbered theorems only.
Richard Heck [Thu, 10 Jan 2008 05:14:12 +0000 (05:14 +0000)]
Minor tweaks, and a new module for unnumbered theorems only.

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

16 years agoFile no longer needed.
Richard Heck [Thu, 10 Jan 2008 05:01:36 +0000 (05:01 +0000)]
File no longer needed.

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

16 years agoFix comments. Other credits are in other files.
Richard Heck [Thu, 10 Jan 2008 05:00:11 +0000 (05:00 +0000)]
Fix comments. Other credits are in other files.

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

16 years agoModularization of the AMS classes, and the theorem environments generally.
Richard Heck [Thu, 10 Jan 2008 04:58:20 +0000 (04:58 +0000)]
Modularization of the AMS classes, and the theorem environments generally.

This is Part I: The changes to the layout files and modules. Part II, still
to come, will involve lyx2lyx to help people who were using the older classes.

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

16 years agoamsthm support.
Richard Heck [Thu, 10 Jan 2008 04:14:22 +0000 (04:14 +0000)]
amsthm support.

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

16 years agoFix layout2layout.
Richard Heck [Thu, 10 Jan 2008 03:59:39 +0000 (03:59 +0000)]
Fix layout2layout.

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

16 years agoAdditional UI logic related to module requires and excludes.
Richard Heck [Thu, 10 Jan 2008 01:33:24 +0000 (01:33 +0000)]
Additional UI logic related to module requires and excludes.

The logic here is really kind of a mess. If anyone can make it
simpler, I'd be thrilled.

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

16 years agoFix copy-paste errors.
Richard Heck [Wed, 9 Jan 2008 23:06:16 +0000 (23:06 +0000)]
Fix copy-paste errors.

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

16 years agoThis commit adds some new functionality to the modules stuff. In particular, it intro...
Richard Heck [Wed, 9 Jan 2008 18:51:02 +0000 (18:51 +0000)]
This commit adds some new functionality to the modules stuff. In particular, it introduces the concept of "required" and "excluded" modules: A given module may require one of some list of modules, or it may be incompatible with some other modules. (Complex Boolean combinations are not supported!!) These facts can be noted in the module file, and the UI responds appropriately: Required and excluded modules are noted in the description, and the "Add" button is enabled only if at least one of the required modules has already been selected and no excluded module is selected. Getting this to work involved a fair bit of cleanup of the existing code---including ways Angus, I think, had already pointed out were required---and also involved changing the syntax of the headers of the module files, but in ways that are probably best anyway.

None of the extant modules require any other modules, but the Theorem modules all exclude one another. (See the screenshot.) When I modularize the AMS classes---that is the next task---we'll have requires.

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

16 years agoMake this more explicit.
Richard Heck [Wed, 9 Jan 2008 18:45:48 +0000 (18:45 +0000)]
Make this more explicit.

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

16 years agoupdate japanese l10n
Jean-Marc Lasgouttes [Wed, 9 Jan 2008 14:41:32 +0000 (14:41 +0000)]
update japanese l10n

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

16 years agoAdd ParIterator FIXME.
Pavel Sanda [Wed, 9 Jan 2008 13:14:14 +0000 (13:14 +0000)]
Add ParIterator FIXME.

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

16 years agoRemove archaeological work around scrollbar insanity.
Abdelrazak Younes [Wed, 9 Jan 2008 09:54:39 +0000 (09:54 +0000)]
Remove archaeological work around scrollbar insanity.

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

16 years agoMore whitespace.
Richard Heck [Wed, 9 Jan 2008 07:19:26 +0000 (07:19 +0000)]
More whitespace.

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

16 years agoWhat happened to the whitespace?
Richard Heck [Wed, 9 Jan 2008 07:18:41 +0000 (07:18 +0000)]
What happened to the whitespace?

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

16 years agoEmbedding: fix a crash when extracting InsetInclude
Bo Peng [Wed, 9 Jan 2008 05:11:16 +0000 (05:11 +0000)]
Embedding: fix a crash when extracting InsetInclude

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

16 years agoEmbedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList
Bo Peng [Tue, 8 Jan 2008 18:55:34 +0000 (18:55 +0000)]
Embedding: merge lyx::EmbeddedFiles to lyx::support::EmbeddedFileList

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

16 years agostdtoolbars.inc: rearrange integral icons to avoid the impression that \intop is...
Uwe Stöhr [Tue, 8 Jan 2008 18:40:39 +0000 (18:40 +0000)]
stdtoolbars.inc: rearrange integral icons to avoid the impression that \intop is the default. \int is the default and also usual.

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

16 years agoEmbedding: simplify the interface of EmbeddedFiles, which will be later merged to...
Bo Peng [Tue, 8 Jan 2008 18:33:43 +0000 (18:33 +0000)]
Embedding: simplify the interface of EmbeddedFiles, which will be later merged to EmbeddedFileList

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

16 years agoEmbedding: add embedding support for InsetBibtex. (params["embed"] is added, use...
Bo Peng [Tue, 8 Jan 2008 17:02:09 +0000 (17:02 +0000)]
Embedding: add embedding support for InsetBibtex. (params["embed"] is added, use EmbeddedFileList instead of FileNameList for bibtex handling, use checkable items in GuiBibtex)

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

16 years agoEmbedding: add embedding support for InsetExternal. (params["embed"] is added)
Bo Peng [Tue, 8 Jan 2008 16:42:28 +0000 (16:42 +0000)]
Embedding: add embedding support for InsetExternal. (params["embed"] is added)

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

16 years agoEmbedding: add embedding support for InsetInclude. (params["embed"] is added)
Bo Peng [Tue, 8 Jan 2008 16:35:43 +0000 (16:35 +0000)]
Embedding: add embedding support for InsetInclude. (params["embed"] is added)

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

16 years agoRemove todo
Pavel Sanda [Tue, 8 Jan 2008 16:26:25 +0000 (16:26 +0000)]
Remove todo

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

16 years agoEmbedding: display a pin at the top left corner of embedded figures
Bo Peng [Tue, 8 Jan 2008 16:22:05 +0000 (16:22 +0000)]
Embedding: display a pin at the top left corner of embedded figures

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

16 years agoBufferView::showCursor(): better fix.
Abdelrazak Younes [Tue, 8 Jan 2008 15:49:03 +0000 (15:49 +0000)]
BufferView::showCursor(): better fix.

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

16 years agopolish
Pavel Sanda [Tue, 8 Jan 2008 15:48:23 +0000 (15:48 +0000)]
polish

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

16 years agohmpf.
Jürgen Spitzmüller [Tue, 8 Jan 2008 15:41:56 +0000 (15:41 +0000)]
hmpf.

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

16 years ago* RELEASE_NOTES:
Jürgen Spitzmüller [Tue, 8 Jan 2008 15:39:40 +0000 (15:39 +0000)]
* RELEASE_NOTES:
- document lfun change.

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