]>
git.lyx.org Git - lyx.git/log
Abdelrazak Younes [Wed, 27 Feb 2008 16:44:57 +0000 (16:44 +0000)]
Bug fix: Adjustment for multiple reference to the same label. The solution is still not optimal as any reference to a label after the reference will not get notice. This is because addToToc() is called iteratively through the document so the toc entry for the label is still not created... any idea to fix this is welcome.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23285
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 16:23:27 +0000 (16:23 +0000)]
He he he, something I've been dreaming of for a long time: label and reference navigator!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23284
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 15:54:30 +0000 (15:54 +0000)]
fix bug: an Inset label is not editable of course.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23283
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 15:23:22 +0000 (15:23 +0000)]
Add list of labels. If I have the time and energy the next step is to cleanup the cross-reference lookup so that we can integrate the cross references in the tree, hence the name "Labels and References".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23282
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 27 Feb 2008 13:16:29 +0000 (13:16 +0000)]
Add doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23281
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 12:30:41 +0000 (12:30 +0000)]
Get rid of 'quitting' global variable. It is not needed anymore because all windows are closed in order now and the frontend/core is properly separated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23280
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 11:56:36 +0000 (11:56 +0000)]
GuiView ctor: wrong property!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23279
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 11:45:43 +0000 (11:45 +0000)]
typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23278
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 11:44:37 +0000 (11:44 +0000)]
Comment out setQuitOnLastWindowClosed() call.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23277
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 11:35:12 +0000 (11:35 +0000)]
* GuiView: Make use of the default settings WRT last window closed and app quiting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23276
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 11:23:41 +0000 (11:23 +0000)]
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4498
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23275
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 11:05:58 +0000 (11:05 +0000)]
Get rid of LyXFunc::closeBuffer()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23274
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Wed, 27 Feb 2008 10:46:38 +0000 (10:46 +0000)]
* better fix for * math commands. We allow the * for known math commands and for known math macros which are valid at that point in the buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23273
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Wed, 27 Feb 2008 10:43:29 +0000 (10:43 +0000)]
* allow macro names with *
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23272
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 27 Feb 2008 10:35:28 +0000 (10:35 +0000)]
Cleanup app quitting and window closing now that there is a clean separation between the frontend and the core.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23271
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 27 Feb 2008 00:39:38 +0000 (00:39 +0000)]
EmbeddedObjects.lyx: check for the sidecap package, since it is e.g. no longer by default installed on MiKTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23270
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 27 Feb 2008 00:00:33 +0000 (00:00 +0000)]
LaTeXConfig.lyx: tiny formatting fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23266
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 26 Feb 2008 23:32:51 +0000 (23:32 +0000)]
Math.lyx: several fixes for bugs spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23264
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 22:40:59 +0000 (22:40 +0000)]
* fix for http://bugzilla.lyx.org/show_bug.cgi?id=4584:
"not possible to use the command \tag*"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23263
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 26 Feb 2008 22:35:09 +0000 (22:35 +0000)]
Simplify and fix a bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23262
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 19:20:23 +0000 (19:20 +0000)]
* set the column with in the popup before showing it. Then it even works.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23261
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 19:20:12 +0000 (19:20 +0000)]
* update the words of a paragraph when the cursor leaves.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23260
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 19:19:59 +0000 (19:19 +0000)]
* make DocIterator::find(Inset(Math) * inset) do what it is supposed to do according to the documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23259
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 19:19:34 +0000 (19:19 +0000)]
* escape hides the completion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23258
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 26 Feb 2008 19:15:25 +0000 (19:15 +0000)]
- po remerge
- many German translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23257
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 26 Feb 2008 18:14:29 +0000 (18:14 +0000)]
German UserGuide.lyx: updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23256
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 26 Feb 2008 17:50:40 +0000 (17:50 +0000)]
chkconfig.ltx: check for nicefrac and units
nicefrac and units are supported by LyX since LyX 1.5.0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23253
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 26 Feb 2008 17:48:59 +0000 (17:48 +0000)]
de.po: some more translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23252
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 14:22:56 +0000 (14:22 +0000)]
* Update::SinglePar is enough, Update::Force is a fullscreen update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23251
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 26 Feb 2008 14:15:32 +0000 (14:15 +0000)]
* GuiView::closeEvent(): adjust buffer closing WRT multi-view and child documents.
- a child document is kept loaded in any case. It is saved if needed before being hidden.
- a document which is not viewed in another window is closed now.
- we do nothing for documents that are also viewed in another window. There is two FIXME related to this last item in the code:
// FIXME 1: should we put an alert box here that the buffer
// is viewed elsewhere?
// FIXME 2: should we try to save this buffer in any case?
//saveBuffer(b);
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23250
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 13:46:54 +0000 (13:46 +0000)]
* undeflow fix for i == -1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23249
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 13:10:04 +0000 (13:10 +0000)]
* factored out hidePopup and hideInline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23248
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 13:09:44 +0000 (13:09 +0000)]
* "show popup without delay"-checkbox was missing a connect
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23247
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 13:09:06 +0000 (13:09 +0000)]
* cur.insert does not set the update flags
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23246
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 13:08:52 +0000 (13:08 +0000)]
* don't show inline if the user did not want it, even when using the popup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23245
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 13:07:59 +0000 (13:07 +0000)]
* paragraph support for the global word list. To make it buffer
dependent, we need the buffer pointer. In fact we already have a
pointer to the text inset. So as soon as inset know their buffer we
can easily switch to a buffer local word list.
* there might be missing some more places to update the words from a
buffer, like for example after backspace or more important when the
cursor leaves a paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23244
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 13:05:57 +0000 (13:05 +0000)]
* grey70 does not exist on linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23243
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 26 Feb 2008 08:31:00 +0000 (08:31 +0000)]
Fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23242
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 26 Feb 2008 01:37:05 +0000 (01:37 +0000)]
Code rules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23241
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 00:38:55 +0000 (00:38 +0000)]
* method change_weight to change the weight of a entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23240
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 00:38:41 +0000 (00:38 +0000)]
* segfault fix when deleting the last element from the tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23239
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 00:38:30 +0000 (00:38 +0000)]
* getWord is const in fact
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23238
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 26 Feb 2008 00:38:14 +0000 (00:38 +0000)]
Now the right patch:
* compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23237
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 25 Feb 2008 22:19:59 +0000 (22:19 +0000)]
Comments, cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23236
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 25 Feb 2008 22:13:45 +0000 (22:13 +0000)]
Per Abdel's suggestion that we focus on bug-fixing at this point, this will be the last patch in this series for a bit. But I wanted to get this done before I forget what it is I was doing, so here it is.
The idea behind this patch is to make real key-value support for InsetCommand parameters possible. This should be particularly useful for the listings version of InsetInclude, though we would need some kind of UI for it before it would really be helpful. (See below for some thoughts.) This doesn't substantially change anything else, though some things do get re-arranged a bit.
Basically, the idea is this. First, we introduce a whole range of parameter types: Normal LaTeX optional and required parameters; ones for LyX's internal use (like embed); and finally, in connection with keyval, ones that represent keys and ones that represent optional and required arguments where the keyval stuff will appear. (I'm assuming here that there will always be exactly one of those, and that it will accept only keyval-type material.) The parameters themselves are stored in a map, so it's really only the output routines that need to care about the different types of parameters.
Regarding the frontend, it seems to me that something like the following would work:
(i) scan the parameter list for LATEX_KEY type parameters
(ii) the dialog will have a series of lines, each of which has a combo box listing the acceptable keys and a QLineEdit for entering its value, as well as a "delete" button of some sort for removing this key and its value
(iii) there should be an "add line" button to add a new line, activated only when all other lines are filled with values
Probably not even too hard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23235
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 22:02:48 +0000 (22:02 +0000)]
Revert "* compile fix"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23234
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 21:53:16 +0000 (21:53 +0000)]
* compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23233
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 25 Feb 2008 19:31:31 +0000 (19:31 +0000)]
Replace boost::shared_ptr<TextClass> with a global cache of sorts of the TextClass's used by Buffers---or, more strictly, constructed by BufferParams::makeTextClass(). The action is in TextClass.{h,cpp}.
I've left the typedef in TextClassPtr.h. At the moment, it's kind of silly. But I've left it mostly because it helps to identify where the TextClass's stored in the TextClassBundle are used, and maybe it'd be worth having some sort of strong typedef like the one for BaseClassIndex here.
I need to check whether the textClass_ member of InsetCollapsable is needed now. I think not.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23232
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 25 Feb 2008 18:42:57 +0000 (18:42 +0000)]
* src/Makefile.am:
- mend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23231
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 15:09:45 +0000 (15:09 +0000)]
* binary search can be tricky. I hope I got it right now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23230
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 14:25:49 +0000 (14:25 +0000)]
* adapt to the changed signature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23229
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 25 Feb 2008 13:32:08 +0000 (13:32 +0000)]
* lib/lyx2lyx/lyx_1_5.py:
- implement wrapper around normalize that handles specific cases
that must not be normalized (rest of bug 3313).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23227
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 25 Feb 2008 13:11:09 +0000 (13:11 +0000)]
Change CompletionList::data() signature and cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23226
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 13:08:51 +0000 (13:08 +0000)]
* fix for binary search if string was not found
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23225
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 13:08:37 +0000 (13:08 +0000)]
* cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23224
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 25 Feb 2008 09:26:46 +0000 (09:26 +0000)]
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23222
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 25 Feb 2008 09:02:35 +0000 (09:02 +0000)]
Cleanup header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23221
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 25 Feb 2008 08:54:51 +0000 (08:54 +0000)]
Fix warnings and svn eol properties.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23220
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 25 Feb 2008 07:32:02 +0000 (07:32 +0000)]
Should Fix crash on exit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23218
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 02:09:39 +0000 (02:09 +0000)]
* fix longest prefix algorithm for sorted models: commonPrefix(...) returns the length, not the prefix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23217
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 02:01:48 +0000 (02:01 +0000)]
* copy'n'paste fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23216
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 02:00:22 +0000 (02:00 +0000)]
* this was not meant to be added
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23215
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 01:57:38 +0000 (01:57 +0000)]
* set is not needed anymore here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23214
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 01:56:53 +0000 (01:56 +0000)]
* high performance text completion with weighted btrees to get pseudo
random-access (i.e. O(log n)) to the n-th element in a list/set. Try
it with
1000000 keys ... no problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23213
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 01:56:30 +0000 (01:56 +0000)]
* special faster algorithms for sorted completion lists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23212
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 01:56:03 +0000 (01:56 +0000)]
* Timo Bingmann's btree v8.1, extended with weight counting.
See http://idlebox.net/2007/stx-btree/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23211
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 25 Feb 2008 01:55:50 +0000 (01:55 +0000)]
* implemention of the WordList with iterator caching for a std::set string list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23210
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 25 Feb 2008 01:50:09 +0000 (01:50 +0000)]
Warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23209
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 25 Feb 2008 01:24:10 +0000 (01:24 +0000)]
installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23208
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 23:24:20 +0000 (23:24 +0000)]
Whoops. Revert last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23205
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 23:21:39 +0000 (23:21 +0000)]
Cosmetic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23204
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 24 Feb 2008 22:52:30 +0000 (22:52 +0000)]
delete French mathed.lyx as we did already for the other languages where we have a translation of the new math manual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23203
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 22:42:27 +0000 (22:42 +0000)]
Improve comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23201
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 22:40:34 +0000 (22:40 +0000)]
Doxy bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23200
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 16:59:49 +0000 (16:59 +0000)]
Try to make the distinction between base classes and text classes clearer in the code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23198
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 16:29:40 +0000 (16:29 +0000)]
Restore Andre's TextClassIndex, but now in the form of BaseClassIndex. It seems worth distinguishing more clearly than we do at the moment between TextClass's and BaseClass's. The latter correspond to *.layout files; the former are based upon *.layout files but may be modified by modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23197
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 24 Feb 2008 16:28:46 +0000 (16:28 +0000)]
Fix scons/InseLayout again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23196
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 15:44:11 +0000 (15:44 +0000)]
More cleanup from Andre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23194
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 24 Feb 2008 15:27:45 +0000 (15:27 +0000)]
SCons update: revert r23157 due to r23189
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23193
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 15:18:39 +0000 (15:18 +0000)]
Cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23192
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 15:12:41 +0000 (15:12 +0000)]
Andre's s/getBaseClass/baseClass/ cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23191
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 15:06:35 +0000 (15:06 +0000)]
Andre's s/getTextClass/textClass/ cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23190
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 14:59:23 +0000 (14:59 +0000)]
Revert 23154.
Sorry, Andre, but this broke not only the modules stuff but the general handling of TextClasses. I'm not opposed to doing this sort of thing, but it's going to be a little more complicated. I'll do it when I get a bit of time, or I can explain what the issue is here if you want to do it.
I'll separately re-commit some of the cleanup here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23189
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 14:05:06 +0000 (14:05 +0000)]
Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23188
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 24 Feb 2008 06:14:48 +0000 (06:14 +0000)]
Load local textclass in addTextClass(), reload local layout correctly in LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23175
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 24 Feb 2008 05:51:07 +0000 (05:51 +0000)]
fix scons for InsetLayout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23174
a592a061 -630c-0410-9148-
cb99ea01b6c8
Dov Feldstern [Sun, 24 Feb 2008 01:45:51 +0000 (01:45 +0000)]
fix a visual cursor edge-case:
Only when an LTR paragraph *ends with* an RTL chunk of text, movement was
incorrect in two ways:
1. After moving into the pargraph from the end, and then trying to move towards
the beginning of the paragraph, the cursor would immediately jump to the
previous pargraph.
2. If the cursor were placed inside the RTL text, and then we would move left
towards the beginning of the paragraph, upon reaching the end (beginning?) of
the RTL chunk, cursor would jump to the end of the paragraph, and then continue
as in (1).
(Same thing, of course, with the reverse situation, i.e., RTL paragraph ending
with LTR text).
We now deal with both of these cases correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23173
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Sun, 24 Feb 2008 00:49:57 +0000 (00:49 +0000)]
* setItemDelegate does not free the old delegate. So we better only create one instance and reuse that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23172
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 24 Feb 2008 00:38:54 +0000 (00:38 +0000)]
Fix drawing error on Linux, apprently caused by creation of static global instance of QItemDelegate. Fix due to STS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23171
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 23 Feb 2008 22:32:33 +0000 (22:32 +0000)]
(temporarily) add a Buffer * Inset::buffer_ membert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23170
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 23 Feb 2008 22:21:03 +0000 (22:21 +0000)]
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23169
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 23 Feb 2008 22:01:02 +0000 (22:01 +0000)]
After a hiatus, I'm returning to the rewrite of InsetCommandParams, the purpose of all of this being to make things more flexible, with the ultimate goal being biblatex support and a kind of InsetCommandFlex that will allow user-definable such things. The next step, really, is to fix up CiteEngine so that we can have different sets of parameters for InsetCitation depending upon what engine is in use. (Something like this also needs doing with InsetInclude.)
This patch reworks the machinery that holds information about what parameters there are and what their values are. There's enough flexibility here that true keyval support ought to be fairly easy at this point. I'll have a peek at that shortly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23168
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Sat, 23 Feb 2008 21:59:38 +0000 (21:59 +0000)]
* don't forget InsetMathMBox, which is only compiled with cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23167
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bernhard Roider [Sat, 23 Feb 2008 20:38:57 +0000 (20:38 +0000)]
Fix crash due to recursive function call when a counter references itself.
e.g.:
Counter
Name Version
LabelString "\theVersion.0"
End
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23166
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 23 Feb 2008 18:13:19 +0000 (18:13 +0000)]
Extended.lyx: update by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23165
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Sat, 23 Feb 2008 18:11:35 +0000 (18:11 +0000)]
* Moved std::sets out of Buffer.h to reduce overall LyX compile time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23163
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 23 Feb 2008 18:10:52 +0000 (18:10 +0000)]
fix crash on quit with Ctr-Q. Patch by Horst Schirmeier (see http://bugzilla.lyx.org/show_bug.cgi?id=4572)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23162
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 23 Feb 2008 16:45:38 +0000 (16:45 +0000)]
mostly s/Paragraph::layout(...)/Paragraph::setLayout(...)/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23159
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 23 Feb 2008 16:40:16 +0000 (16:40 +0000)]
SCons update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23157
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 23 Feb 2008 11:36:15 +0000 (11:36 +0000)]
Replace the text class shared ptr by good old index-into-global-list.
Also a few cosmetical changes where I xould not resist.
Would be nice if the 'modules people' could verify that their baby
is strill alive...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23154
a592a061 -630c-0410-9148-
cb99ea01b6c8