Commit Graph

23343 Commits

Author SHA1 Message Date
Abdelrazak Younes
229a910e29 disable preview in thread for now as it doesn't work anymore...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32588 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 14:59:11 +00:00
Pavel Sanda
d96c369d8b doc glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32587 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 13:53:22 +00:00
Abdelrazak Younes
30a4203f4a GuiView: reconnect the QFutureWatcher each time the QFuture is changed. This enable to send the result properly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32586 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 12:24:44 +00:00
Abdelrazak Younes
bea0925f8c Converter: add a safe guard to Alerts because those cannot be called from another thread. The whole Alert system must be rethought I am afraid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32585 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 22:59:59 +00:00
Abdelrazak Younes
4ed0169064 Detach Buffer preview and update preview in a new thread. Only for Qt4.4 users. This new feature can be disabled by setting EXPORT_in_THREAD to 0 in GuiView.cpp.
Two things are missing (but are fixable):
- the lack of feedback of the background latex compilation
- the error list is not shown in case of compilation error.

* Buffer:
- create a "cloned buffer" type.
- Transfer LFUN_MASTER_BUFFER_UPDATE, LFUN_MASTER_BUFFER_VIEW, LFUN_BUFFER_UPDATE and LFUN_BUFFER_VIEW to GuiView. This is good itself as these LFUN are GUI oriented.

* GuiView: detach the above LFUNs to a new thread as was already done for autosave. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32584 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 22:51:06 +00:00
Enrico Forestieri
5ad8d44ce2 Allow double quotes in file names passed to converters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32583 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 22:15:46 +00:00
Peter Kümmel
21686c0bbf UNDO: single quotes in filenames are possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32582 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 19:35:32 +00:00
Vincent van Ravesteijn
3efb1572a2 Fix bug #6378: Word completion (in texted) should be language-sensitive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32581 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 14:48:56 +00:00
Vincent van Ravesteijn
b3128dc63b Fix second part of bug #6400: After selecting a word by double-clicking it, extending the selection by a single mouse-click should also select only whole words.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32580 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 14:18:10 +00:00
Peter Kümmel
4d5c24e80d Ticket 6266 Quoting Problem with QProcess: don't think we need any quotes (at least on Linux)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32579 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 12:20:22 +00:00
Vincent van Ravesteijn
7e08a4376e Fix part of bug #6400: Shift+mouse click loses the existing selection instead of extending it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32578 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 12:08:32 +00:00
Richard Heck
67c03d202f With ContentAsLabel, we do not need this special code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32576 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 01:22:24 +00:00
Richard Heck
08b63ad3c6 Enhance LyX by fixing bug 5587. We add a new ContentAsLabel tag to
InsetLayout, per Jurgen's suggestion, so that insets can be told to
display an abbreviated form of their content when closed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32575 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 00:29:22 +00:00
Richard Heck
e1ed39f8b4 So this changes the way we handle sums and such. We just don't need to
handle them specially for MathML, and we don't need to split scripts
either.

Wouldn't it have been nice if I'd realized that before?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32572 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 17:52:09 +00:00
Richard Heck
64c84ae883 Last commit didn't complete reversion, as I forgot to resolve the
conflicted state of this file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32571 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 17:50:46 +00:00
Vincent van Ravesteijn
87085fa2fd Set the current font when moving into a table or between two table cells.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32570 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 17:47:09 +00:00
Richard Heck
812616e100 Revert r32566 and r32568.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32569 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 17:42:21 +00:00
Richard Heck
46e1424678 Make InsetMathExInt handle products as well as sums.
We can do more here, but it's actually not clear to me whether we even
need to give these things special treatment for MathML. I may revert
this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 17:28:07 +00:00
Richard Heck
c3fc67ef54 Fix up MathML output of integrals.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32567 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 16:06:00 +00:00
Richard Heck
2ae6331072 Fix MathML output of sums.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32566 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 15:54:49 +00:00
Tommaso Cucinotta
019ffdd5f5 Removed unneeded commented code (fixing #6333).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32565 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 15:41:40 +00:00
Richard Heck
873c9ad4f8 Fix up math scripts. Everything needs to go into <mrow>. (This acts as a
general grouping mechanism, basically.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32564 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 15:39:18 +00:00
Vincent van Ravesteijn
e2d6ecff99 Compute the font_scaling_factor every time a preview is created (we can afford a few multiplications I guess). Now, the newly generated previews use the possibly updated zoom, dpi and preview_scale_factor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32563 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 15:25:55 +00:00
Vincent van Ravesteijn
5a530cca94 Do not hardcode the background color of the preview at two places.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32562 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 15:21:08 +00:00
Vincent van Ravesteijn
bf5a35a293 Remove unused include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32561 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 15:16:27 +00:00
Vincent van Ravesteijn
6b96abd211 Correctly paint the background of the instant preview of a displayed equation.
For a displayed equation, the height is artificially increased by a displayMargin() in InsetMathHull::metrics if it is a displayed equation and there is a preview. 

This extra height is not covered by the preview image and what one can see is the background as drawn by the MathHull inset. The color of this background should be either Color_mathbg or Color_background depending on whether the preview is shown or not.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32560 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 14:09:37 +00:00
Tommaso Cucinotta
378d32bc06 indentation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32559 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 07:57:50 +00:00
Tommaso Cucinotta
ad0060454d Fix of bug ##6334 - now if you search for something not in the doc, it wraps around only once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32558 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 07:53:20 +00:00
Tommaso Cucinotta
d5b329502b Fix of bug #6333 (main document WA was entirely selected and cursor position lost if F&R dialog was floating - does not happen anymore).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32557 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 07:48:29 +00:00
Uwe Stöhr
0580704eae Spanish manuals: some translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32556 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 03:20:16 +00:00
Richard Heck
48b09463dd Add comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32554 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 17:44:40 +00:00
Richard Heck
2df40cd0cd Revert r32544.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 17:29:29 +00:00
Richard Heck
c271d0d8c1 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32552 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 17:22:56 +00:00
Richard Heck
96012a8859 Fix MathML for fractions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32551 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 17:22:42 +00:00
Richard Heck
1a74f3d103 Add a fixme, in effect, about dots.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32550 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 17:12:58 +00:00
Richard Heck
05f1f323de Detect appropriate delimiter for matrices.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32549 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 17:01:09 +00:00
Richard Heck
05336422a4 Fix matrix output, at least a bit. A little more work needs to be done
here, though.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32548 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 16:43:26 +00:00
Richard Heck
2635724b57 In a normal grid, we can just use <mrow>.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32547 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 15:50:31 +00:00
Richard Heck
ce2e071cdf This should do it for the delimiters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 15:50:05 +00:00
Richard Heck
d4b3b61593 A bit more for math delim.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32545 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 15:35:25 +00:00
Richard Heck
856a822b88 A couple minor changes in the User's Guide.
The first confuses the parser for MathExtern, which thinks there's going
to be another argument, so please do not use comma in math as if it were
a comma in text.

As for the second, for some reason the unicode character that appears
here causes iconv errors.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32544 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 15:13:46 +00:00
Richard Heck
7aeda251ce More Math ML fixes. Using <mfenced> seems to be a bad idea, and the <mo>
version is claimed to be completely equivalent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32543 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 15:12:34 +00:00
Richard Heck
9e149b8919 Fix a few MathML things: the default output and the output of limits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-16 14:53:23 +00:00
Richard Heck
512215606b Remove last vestiges of pre-XHTMLStream implementation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32541 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-15 13:22:38 +00:00
Richard Heck
5f27992e16 Restore the MathML output we had before. Still work to be done here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32540 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-15 13:14:57 +00:00
Richard Heck
bfd3401999 Update HTML notes.
The User's Guide now outputs and validates completely, and pretty
nicely, too, except for math. Back to MathML next.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32537 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 17:24:52 +00:00
Richard Heck
b25dc19b95 That didn't really work. So revert to old CSS for gray notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32536 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 17:20:52 +00:00
Richard Heck
3f5eac5013 Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32535 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 17:16:55 +00:00
Richard Heck
23ebd26719 Polish CSS a bit for floats and captions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32534 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 17:16:16 +00:00
Richard Heck
47e591bbee Allow use of InsetLayout with InsetCaption.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32533 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 17:15:32 +00:00