Commit Graph

16588 Commits

Author SHA1 Message Date
Enrico Forestieri
d3378a6b84 Style: insetCur -> inset_cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32049 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 13:31:01 +00:00
Vincent van Ravesteijn
86a9302823 Fix bug #6240: Adding table row causes exception that triggers infinite loop in code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32038 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 00:18:52 +00:00
Enrico Forestieri
7365a29fea Fix bug #6208: macro crash.
The fix consists in not updating the macro while it is being edited,
and this is accomplished by the changes in MathData::updateMacros().
However, when clicking away with the mouse I was getting another crash,
which is cured by the changes in MathMacro::notifyCursorLeaves().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32037 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:54:45 +00:00
Vincent van Ravesteijn
3581c31d1b Allow PgUp and PgDwn to put the cursor on the first or last row.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32036 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:53:40 +00:00
Vincent van Ravesteijn
a9ae2abb7e Fix bug #6327: Crash in new file and press PgUp button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:45:39 +00:00
Vincent van Ravesteijn
f4125a65c0 Fix bug #6320: LyX goes to infinite loop when selecting document parts.
Set the boundary member correctly when the cursor goes to an 'empty' row.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32034 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 22:01:12 +00:00
Abdelrazak Younes
216f9156dc Fix MathML export for < and > special characters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32033 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 21:45:21 +00:00
Uwe Stöhr
0b7ce1e08c - theorems-chap.module: fix a typo
- MathsUi.ui: fix again another typo in tooltip
- po-files: remerge
- de.po: new translations


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32017 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 16:18:02 +00:00
Jürgen Spitzmüller
b83415029e * MathsUi.ui: grammar fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32012 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 15:47:07 +00:00
Uwe Stöhr
d291772c5a MathsUi.ui: fix another typo in tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32008 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 14:55:50 +00:00
Uwe Stöhr
57676c67aa MathsUi.ui: fix typo in tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32007 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 14:47:03 +00:00
Richard Heck
ae60474513 Get math macros working for MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32004 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 12:30:26 +00:00
Richard Heck
8ad0e96631 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32001 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 02:30:02 +00:00
Richard Heck
70f035b189 This can be a private method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32000 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 01:42:49 +00:00
Richard Heck
f0a5d099b9 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31999 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 01:18:13 +00:00
Enrico Forestieri
3f3bedd0d9 Fix another instance of missing buffer in math. This is needed when
pasting a macro inside another math inset (such as \text or \hat). In
this case the buffer would not be set and getMacro() cannot be called,
such that an "internal" macro would still shadow an user defined one.
This kind of fix is now easy after Abdel's overhaul.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31998 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 01:03:03 +00:00
Richard Heck
8340a17e96 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31997 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 23:28:50 +00:00
Richard Heck
584bca0fe8 MathML for InsetMathSpace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31994 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:38:28 +00:00
Richard Heck
70217ba676 Initial work on InsetMathBox. This doesn't really work yet, for reasons
given in the FIXME.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31993 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:11:23 +00:00
Uwe Stöhr
60cc4f8e7f MathsUi.ui: add tooltips, the same can also be done for branch if you like, Jürgen?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:07:22 +00:00
Richard Heck
ff7d0d5c6e Fix whitespace, comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31991 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:40:09 +00:00
Richard Heck
0229c21be4 Fix single character output for MathML. Kind of.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31990 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:38:22 +00:00
Richard Heck
9ba340b218 Fix parsing of functions and arguments for MathML.
The enum is overkill for now, but will be useful if anyone decides
really to return to this stuff. It's apparent that there are some 
powerful tools here---like the ability to pipe expressions through
Mathematica.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31989 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:20:17 +00:00
Richard Heck
963c22353a Fix delimiters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31988 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:18:32 +00:00
Richard Heck
177ff11cfb Whoops. Forgot to fix this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31987 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 19:52:06 +00:00
Richard Heck
25f429d3e5 Fix external function output for MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31986 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 19:41:22 +00:00
Richard Heck
90f392425f FIXME
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31984 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 16:58:32 +00:00
Richard Heck
886304a588 Little bit of fixup for math symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31983 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 16:21:33 +00:00
Richard Heck
487053deb8 We need truly XHTML output to get MathML to display in Firefox, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31982 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 16:21:21 +00:00
Richard Heck
83c7a5576f Fix silly bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31981 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 15:55:51 +00:00
Jürgen Spitzmüller
b7c0fe942b * direct access from the error dialog to the LaTeX log.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31980 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 15:52:54 +00:00
Richard Heck
54b4b8e6b4 Get MathML output for XHTML working a bit.
Turns out MathML is already here, for the most part, so this will
not be too bad at all. 

Anyone else think that is very cool?!



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31979 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 15:25:32 +00:00
Richard Heck
5d9bfe9ccc HTML escaping for docstrings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31977 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 14:16:15 +00:00
Richard Heck
85503ec1b9 Get XHTML output for InsetRef working, again in a fairly primitive way. We just
use the label name as associated text, and put it into square brackets. It'd be
nice to be able to do more, but for that we'd need to associate counters with
the labels, which would be nice for display, too. But we don't have that yet.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31976 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 14:12:37 +00:00
Richard Heck
cd35cebed1 Get XHTML output for InsetGraphics working, at least in a primitive way.
At present, we do not do any sort of rotating, scaling, cropping, etc.
That should not be terribly hard to do, since we can just call ImageMagick
and get it to do it for us, but appropriate routines will have to be 
written.

I'd be thrilled if someone else wanted to do that. ;-)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31975 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 14:00:18 +00:00
Richard Heck
3ad3ad7135 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31974 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 13:16:08 +00:00
Richard Heck
7814909d3b Add TEXT flavor, just in case we need it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31973 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 12:54:12 +00:00
Pavel Sanda
0ed809d7b0 Please Juergen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31971 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-13 16:25:46 +00:00
Jean-Marc Lasgouttes
7bf3d5cad0 Rename getLocalStatus to Cursor::getStatus
Move the AtPoint handling into the Cursor dispatch machinery

Note that the call to Cursor::getStatus is in BufferView::getStatus, while
the call to Cursor::dispatch is still in LyXFunc::dispatch. This needs to be
fixed, but the code there is a bit fragile.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31969 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-13 14:32:51 +00:00
Jean-Marc Lasgouttes
5ac479af5e constify
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31968 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-13 13:47:25 +00:00
Richard Heck
ea806d510c Remove redundant code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31953 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-12 00:26:49 +00:00
Richard Heck
b56faec8f4 Change the order of these backends.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31952 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 23:50:54 +00:00
Richard Heck
af0c9adc38 Fix stupid thinko.
It's not a good idea to be using int's as identifiers for absolutely 
everything here. It makes this kind of mistake WAY too easy.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31951 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 23:24:39 +00:00
Pavel Sanda
a9214c66c5 Fix #6313.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31946 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 13:56:23 +00:00
Uwe Stöhr
d5099c8605 - introduce option to suppress the LaTeX package mhchem, fileformat change
The fileformat change is also needed because of our mistake that we load mhchem since LyX 1.6.4 automatically so that files created with LyX 1.6.4 won't compile under LyX 1.6.3. Now at least all files created or opened with LyX 1.7 can be reverted to the fileformat of LyX 1.6.x and can therefore be read by all LyX 1.6.x versions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31941 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 01:48:07 +00:00
Jürgen Spitzmüller
4b9a1e2578 * GuiAbout.cpp:
- unmask e-mail addresses in the credits pane.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31936 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-10 14:45:21 +00:00
Richard Heck
bf8f302b64 This more or less completes the re-implementation of this class. The
main advantage of what has been done here is that it would now be fairly
easy to return ALL the paths connecting two nodes. In practice, this
would mean that we could find ALL ways of converting one format (say,
LaTeX) into another (say, PDF), and present these to the user for her
perusal.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31927 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-10 01:18:43 +00:00
Richard Heck
db42cac3ab A bit more re-organization.
Next to go will be the prev vector.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31925 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 17:56:34 +00:00
Richard Heck
bd47bb4fd5 Not so soon, I guess, since that FIXME was from r6305.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31924 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 16:53:40 +00:00
Richard Heck
853199c0ce One more little comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31921 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 14:03:10 +00:00