]>
git.lyx.org Git - lyx.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jürgen Spitzmüller [Tue, 8 Jan 2008 15:34:09 +0000 (15:34 +0000)]
* src/lfuns.h:
- minor correction in the doxy comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22434
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 8 Jan 2008 15:18:00 +0000 (15:18 +0000)]
Add characters counting.
Introduce LFUN_STATISTICS.
see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg134033.html .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22433
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 8 Jan 2008 14:55:11 +0000 (14:55 +0000)]
Fix anchor bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22432
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 8 Jan 2008 10:29:47 +0000 (10:29 +0000)]
* fix a crash during undo: cloned MathMacroTemplates need updated child insets which point back to the correct (cloned) template.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22430
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 8 Jan 2008 09:14:44 +0000 (09:14 +0000)]
* src/TextClass.cpp:
- remove superfluous condition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22429
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 8 Jan 2008 07:29:47 +0000 (07:29 +0000)]
* src/TextClass.cpp:
- allow for multiple subsequent Requires class tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22428
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 8 Jan 2008 02:34:17 +0000 (02:34 +0000)]
Embedding: simplify code in the handling of embedCB in GuiGraphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22427
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 7 Jan 2008 23:22:09 +0000 (23:22 +0000)]
Minor edit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22426
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 7 Jan 2008 23:21:40 +0000 (23:21 +0000)]
It turns out we do need this optional argument, because configure.py needs to be able to tell what packages a given module requires.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22425
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 7 Jan 2008 21:23:53 +0000 (21:23 +0000)]
French Tutorial.lyx: updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22423
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 7 Jan 2008 18:54:23 +0000 (18:54 +0000)]
Add lfuns doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22422
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 7 Jan 2008 18:31:05 +0000 (18:31 +0000)]
Requires amsmath does not work. No idea why.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22421
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 7 Jan 2008 18:15:49 +0000 (18:15 +0000)]
* lib/layouts/chess.layout:
- require chess (instead of manually loading in the preamble).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22420
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 7 Jan 2008 17:32:47 +0000 (17:32 +0000)]
some more uses of Requires.
The package ifthen needs to be added to LaTeXConfig.lyx. I'll do this when that file can be opened again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22419
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 7 Jan 2008 17:22:20 +0000 (17:22 +0000)]
rename menu entries for numbering formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22418
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 7 Jan 2008 17:13:38 +0000 (17:13 +0000)]
* src/MenuBackend.cpp (expandFormats): do not add shortcut for
plaintext if it is not correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22415
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 7 Jan 2008 16:59:10 +0000 (16:59 +0000)]
*** Requires tag for classes, layouts and custom insets ***
* src/TextClass{cpp,h}:
- implement Requires tag for class and InsetLayout.
* src/Layout.{cpp,h}:
- implement Requires tag for layouts.
- increase layouts format to 6.
* src/Paragraph.cpp:
- request required features for paragraph layouts.
* src/LaTeXFeatures.cpp:
- add some packages needed by modules.
- remove Preamble method for InsetLayout. This is now done
in InsetFlex::validate.
* src/BufferParams.cpp (validate):
- request required features for the class.
* src/insets/InsetLayout.h:
- new member "requires".
* src/insets/InsetFlex.{cpp,h}:
- implement validate method and request required features and preamble snippets.
* lib/layouts/*.{layout,module,inc}:
- increase layouts format to 6.
- use Requires tags in some modules (more can be done later).
* lib/doc/Customization.lyx:
- document Requires tag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 7 Jan 2008 13:50:21 +0000 (13:50 +0000)]
* fix broken default value logic from last cleanup: only show default value if not in edit mode and the given value is empty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22413
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 7 Jan 2008 10:53:04 +0000 (10:53 +0000)]
* MenuBackend.cpp (binding): remove forgui argument
* frontends/qt4/GuiPopupMenu.cpp (addBinding): remove (merge into
getLabel and remove mac-specific code).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22412
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 7 Jan 2008 06:46:32 +0000 (06:46 +0000)]
Embedding: add embedCB checkboxes to IncludeUi and ExternalUi
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22411
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 7 Jan 2008 03:34:21 +0000 (03:34 +0000)]
Embedding: After another round of EmbeddedFiles changes, embedded figures should more or less work now.
* src/insets/InsetExternal.cpp: fix compiling. (Does not work yet)
* src/insets/InsetGraphics.cpp: use latexFilename to produce output.
* src/insets/InsetGraphicsParams.cpp: use availableFile to show preview.
* src/EmbeddedFiles.h|cpp: More things are moved from EmbeddedFiles to EmbeddedFile
* src/frontends/qt4/GuiGraphics.cpp: remove embeddable-related operations.
* src/support/FileName.h: make isReadableFile virtual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22410
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 6 Jan 2008 22:15:58 +0000 (22:15 +0000)]
Add some lfuns doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22409
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Sun, 6 Jan 2008 21:02:10 +0000 (21:02 +0000)]
* lfuns doxification for math macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22407
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 6 Jan 2008 18:24:15 +0000 (18:24 +0000)]
Further LFUN documentation. Just simple cases, for completeness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22406
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 6 Jan 2008 18:17:25 +0000 (18:17 +0000)]
Pass by const reference. Thanks Andre and Peter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22405
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 6 Jan 2008 18:17:07 +0000 (18:17 +0000)]
Update documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22404
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 6 Jan 2008 17:35:28 +0000 (17:35 +0000)]
chkconfig.ltx: "LaTeXConfig.lyx.in" has been renamed to "LaTeXConfig.lyx"
(the other outdated comments will be fixed when bug 4460
http://bugzilla.lyx.org/show_bug.cgi?id=4460 is fixed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22403
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 6 Jan 2008 17:23:19 +0000 (17:23 +0000)]
Remove commented out code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22402
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 6 Jan 2008 17:00:59 +0000 (17:00 +0000)]
Remove references to obsolete URL module and make some other minor changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22401
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 6 Jan 2008 16:54:17 +0000 (16:54 +0000)]
Remove obsolete URL module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22399
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 6 Jan 2008 16:52:00 +0000 (16:52 +0000)]
Crash fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22398
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 6 Jan 2008 16:44:51 +0000 (16:44 +0000)]
Thanks, Angus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22397
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 6 Jan 2008 16:24:19 +0000 (16:24 +0000)]
Minor format fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22395
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 6 Jan 2008 16:21:57 +0000 (16:21 +0000)]
Embedding: save checksum of the bundled file, not content.lyx (to avoid file externally modified warnings).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22394
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 6 Jan 2008 13:39:58 +0000 (13:39 +0000)]
add a module for typesetting Braille
(entry for the LaTeXConfig.lyx file follows when bug 4460
http://bugzilla.lyx.org/show_bug.cgi?id=4460
is fixed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22393
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 5 Jan 2008 20:24:54 +0000 (20:24 +0000)]
Add lfun doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22392
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 5 Jan 2008 19:58:47 +0000 (19:58 +0000)]
add linguistics module
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22391
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 5 Jan 2008 19:47:24 +0000 (19:47 +0000)]
add linguistics.lyx example file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22390
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 5 Jan 2008 17:04:56 +0000 (17:04 +0000)]
Rationalize the handling of makeTextClass().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22388
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 5 Jan 2008 16:56:30 +0000 (16:56 +0000)]
Implement checks for available modules both in BufferParams and in the gui.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22387
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 5 Jan 2008 16:51:06 +0000 (16:51 +0000)]
Minor modification: do not worry about .sty extension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22386
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 5 Jan 2008 16:49:49 +0000 (16:49 +0000)]
Implement isAvaiable in ModuleList.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22385
a592a061 -630c-0410-9148-
cb99ea01b6c8