Commit Graph

17085 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
7356db3818 Simplify code introduced in r32761.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32764 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:15:24 +00:00
Vincent van Ravesteijn
95afeddc27 Make sure that the size of the checkboxes is initialized correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32763 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:14:08 +00:00
Vincent van Ravesteijn
7f134dadbf * GuiProgressView: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32762 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:12:50 +00:00
Pavel Sanda
51086affa7 Setup checboxes according to initial values from commandline.
ProgressView seems to be prepared for use.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32761 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 15:32:05 +00:00
Tommaso Cucinotta
5cc2d6d73c Advanced F&R rework:
- scopes now handled in FindAndReplaceWidget, while lyxfind.cpp only searches within single buffer
- cursor().result().dispatched() now encodes whether a match was found or not, after LFUN_WORD_FINDADV dispatch
- removed a few unneeded functions
- followed a few cosmetic advices


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32760 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 12:29:38 +00:00
Richard Heck
a8dc000901 Include omitted case, and fix underline.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32759 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 17:46:02 +00:00
Pavel Sanda
61d9aa28e0 Add statusbar checkbox sessions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32758 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 17:40:40 +00:00
Pavel Sanda
80b2bebf48 Keep in synchro with "All messages"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32757 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 17:40:34 +00:00
Pavel Sanda
e4b3af5df5 ProgressView quirks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32756 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 17:26:46 +00:00
Pavel Sanda
f8a778b9da Fix some eoln issues in progress view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32755 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 16:54:23 +00:00
Pavel Sanda
1cbab9937b LyXErr and statusbar messages hsould have different routes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32754 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 16:30:54 +00:00
Abdelrazak Younes
930088a07d Fix bug #6388
* Buffer can be retrieved from currently set buffer_.
* detachMacroParameters() doesn't really need a Cursor.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32752 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 11:00:21 +00:00
Pavel Sanda
fb876be81f I finally find my way into horiz span of ProgressView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32751 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 01:21:01 +00:00
Vincent van Ravesteijn
2a257eca85 Fix bug #6426: Language not set correctly when inserting an Inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32750 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 01:13:55 +00:00
Pavel Sanda
f78308afde Set correct tab
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 00:55:27 +00:00
Pavel Sanda
8859c5c734 Move settings into grid
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32748 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 00:38:07 +00:00
Pavel Sanda
0aa20c9ace Next whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32747 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 00:11:58 +00:00
Pavel Sanda
a4231446d2 RCS read-only toggling also doesn't work correctly for a long time.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg156626.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32745 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 00:07:22 +00:00
Pavel Sanda
95948d8997 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32743 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-02 23:07:21 +00:00
Pavel Sanda
d86cae50f8 Add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32742 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-02 22:58:59 +00:00
Pavel Sanda
90afc5fb6d PregressGuiView - resave in old designer, no update button needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32741 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-02 21:55:07 +00:00
Tommaso Cucinotta
9e5a12b905 No need for the new LyXView::selectDocumentBuffer() method, same thing may be done with LFUN_SWITCH_BUFFER (vfr advice).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32739 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 11:14:01 +00:00
Vincent van Ravesteijn
c04850645e When reloading a child document, reset the parent of the child to the parent of the child and not to the master.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32738 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 03:11:56 +00:00
Vincent van Ravesteijn
8a38b97d6b Do not clear the default master setting when cancelling the browse dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32737 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 02:45:22 +00:00
Vincent van Ravesteijn
481d512652 Remove unneeded std::.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32736 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 02:43:44 +00:00
Richard Heck
4926639879 XHTML output for lists of figures, tables, etc.
Thanks to Abdel for making this so easy. I'm just stealing the TOCs on
the sidebar.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32734 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 02:41:26 +00:00
Richard Heck
228948534e A comment, and a minor change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32732 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 02:08:22 +00:00
Richard Heck
68db58a584 Re-organize InsetTOC to prepare for other TO*s.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32731 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 01:45:02 +00:00
Richard Heck
acc158a846 Add a comment and update notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32728 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 23:31:30 +00:00
Richard Heck
69fc2f6702 Mostly comments about InsetMathSplit, which more or less works.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32727 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 23:28:19 +00:00
Vincent van Ravesteijn
b9a507932f Happy new year!
The best and no more typos wished for 2010!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32726 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 23:00:07 +00:00
Richard Heck
316af4a90b These are in lib/symbols, so should have been caught by the first test:
# split environments with optional valign argument.
# the others (split and alignedat) are hardcoded.
aligned           split       none
gathered          split       none
# from Morten H\o gholm's mathtools.sty:
lgathered         split       none
rgathered         split       none

Right? Someone tell me if that is wrong.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32725 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 22:31:12 +00:00
Richard Heck
95f07cf181 Fix comments and whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32722 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 22:03:15 +00:00
Richard Heck
ab1f7c3fc5 MathML for XArrow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32721 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 22:02:19 +00:00
Richard Heck
791d28bf0b MathML for Stackrel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32720 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 21:54:00 +00:00
Richard Heck
f29db33e69 MathML for Underset. And fix Overset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32719 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 21:48:56 +00:00
Richard Heck
bee7a4c8d2 MathML for Overset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32718 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 21:44:12 +00:00
Richard Heck
07aca7cccc Fix MathML for binominals.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32717 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 21:22:04 +00:00
Richard Heck
b129d5ebdc We do not need special treatment of differentials for MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32716 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 21:09:28 +00:00
Richard Heck
f621c97411 MathML for MathCases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32715 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 21:01:00 +00:00
Richard Heck
14001c49fe Fix up the InsetMathGrid output: detect better if we have a table, and
use appropriate tags.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32714 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 21:00:49 +00:00
Richard Heck
c95c30184d MBox is currently inactive, but in case it becomes active....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32713 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 20:44:09 +00:00
Richard Heck
eb17e9c362 MathML for MathBox and such.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32712 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 20:36:34 +00:00
Richard Heck
19cd5f0e82 Fix MathML output for MathBox, as suggested in the FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32711 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 19:49:29 +00:00
Vincent van Ravesteijn
31d6e4a9fc Revert r32673 and remove the extra redraw and setFocus calls.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 19:46:26 +00:00
Richard Heck
812c3204bd Special handing of space characters during text output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32709 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 19:40:36 +00:00
Richard Heck
3915c2d01a Fix some issues with textmode. We'll let SetMode() handle as much of
this as possible for us.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32708 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 19:35:56 +00:00
Richard Heck
5536d442cd Don't wrap numbers in text in <mn>.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32706 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 18:56:55 +00:00
Richard Heck
88d5bfac6a Wrap text in <mtext>, not <mrow>.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32705 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 18:53:40 +00:00
Richard Heck
25edee2ead A little debugging output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32704 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 18:40:20 +00:00
Richard Heck
0b8c6246ff Use SetMode() to manage text and math mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32703 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 18:38:01 +00:00
Richard Heck
4479a7f689 A simple version of ModeSpecifier for MathStream.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 18:37:09 +00:00
Richard Heck
dfe2d5ae4d FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32701 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 17:33:22 +00:00
Richard Heck
13b88d6166 Fix MathML output of wide characters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32699 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 17:31:13 +00:00
Richard Heck
a62d46b5e3 MathML for InsetMathFont. Unfortunately, this does not seem to render at
the moment in Firefox, but it is the right way to do it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32697 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:59:56 +00:00
Vincent van Ravesteijn
0a7705a673 Update the GuiLabel view when the document is read-only. Also disable the text field.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32696 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:47:36 +00:00
Vincent van Ravesteijn
c8dd86534d Update the GuiInfo dialog also when the document is read-only. A dialog that does not dispatch a single LFUN (see getLfun()) but is buffer dependent (see isBufferDependent()) should implement the canApply function (if I'm correct).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32695 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:47:02 +00:00
Vincent van Ravesteijn
6a5a1726d7 Update the view also when the document is read-only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32694 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:43:43 +00:00
Richard Heck
9ab24e95b9 MathML for InsetMathBoldSymbol.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32693 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:39:37 +00:00
Richard Heck
0d73ffc2fb Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32692 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:34:55 +00:00
Richard Heck
98e6886dc4 Provide for the possibility of deferred material, per Andre's excellent
suggestion. Now I wish I'd done XHTMLStream the same way....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32691 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 15:52:57 +00:00
Richard Heck
bb80bd78f9 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32690 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 15:52:16 +00:00
Richard Heck
c060a85d81 Revert r32684, per Andre's suggestion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32689 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 15:46:39 +00:00
Vincent van Ravesteijn
defc7ebac5 Constify some functions and correct a typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32688 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 14:40:02 +00:00
Vincent van Ravesteijn
8e95585bbd Fix bug #6332: Do not paint the cursor after a resize event when it should be invisible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32687 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 13:46:10 +00:00
Tommaso Cucinotta
bf584252ad Now, current buffer is marked as dirty (instead of document buffer) when typing or doing other editing actions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32686 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 12:22:11 +00:00
Richard Heck
f37a1b8aea MathML for InsetMathBig.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32685 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 04:16:45 +00:00
Richard Heck
8a0134cc8c Introduce a return value for mathmlize(). We will need this to be able
to defer labels.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32684 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 03:50:12 +00:00
Richard Heck
28e9474f7a Some BufferParams for XHTML output.
These are not actually implemented yet, but I wanted to make sure to get
them into the format now, so even if I can't implement them before the
1.7 release, I can do so during the release cycle, without a format
change. I don't expect that to happen, but you never know....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32683 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 22:22:33 +00:00
Tommaso Cucinotta
82e07a4185 Code cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32682 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 22:21:23 +00:00
Richard Heck
fed94f72d5 Make gcc happy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32681 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 22:17:39 +00:00
Tommaso Cucinotta
24e2c495fe Implemented S_OPEN_BUFFERS scope in Advanced Find feature (keep searching and find all occurrences within all open buffers).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32680 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 21:50:55 +00:00
Tommaso Cucinotta
605ac8e46a Cosmetics: removed unneeded std::
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32679 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 18:58:20 +00:00
Tommaso Cucinotta
5da4ccb931 Implemented the "Current Buffer" & "Current (Master) Document" scopes in the Advanced Find and Replace feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32678 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 18:40:18 +00:00
Peter Kümmel
d61f81f188 use lfun
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32677 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 17:15:00 +00:00
Peter Kümmel
1dda726507 use template instead of macro,
no template parsing in debug.h

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32676 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 15:37:14 +00:00
Peter Kümmel
75f6ced64b no stl includes in debug.h
change Debug API

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32675 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 15:09:49 +00:00
Peter Kümmel
0a6118f0c7 levels are not exclusive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32674 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 14:48:47 +00:00
Tommaso Cucinotta
c1cd1fbe28 Now, on C-S-f, only the findWA cursor remains visible and blinking, as it should be
(formerly, the replaceWA cursor used to remain visible but non-blinking).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32673 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-29 17:21:09 +00:00
Peter Kümmel
7a0c8c7df8 unblock gui because there could be too much debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32672 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-29 15:38:12 +00:00
Peter Kümmel
5bcf2f4f64 unblock gui because there could be too much debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32671 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-29 15:31:04 +00:00
Peter Kümmel
12efe108db Add Pavel's lyxerr extension, add ui for debug levels.
Still needs some fiddling with line endings.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32670 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-29 15:05:37 +00:00
Pavel Sanda
ba9c6150a4 Glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32668 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 22:40:45 +00:00
Pavel Sanda
9f462abe58 Introduce tabs for debug window after hard figth with designer.
If only I know how to get rid of the useless vertical spaces
in tabbar.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32667 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 22:37:51 +00:00
Pavel Sanda
6185e5a857 Debug window should have fixed widht font
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32666 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 22:02:41 +00:00
Pavel Sanda
5c141d8734 Only readonly window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32665 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:56:40 +00:00
Pavel Sanda
0e85a05d42 Session info for debug window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32664 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:55:50 +00:00
Pavel Sanda
3f8620eb33 Respect automatic clear
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32663 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:40:20 +00:00
Pavel Sanda
286f236abb Mimic the magic of r27497 to get resizable behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32662 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:40:17 +00:00
Pavel Sanda
85c73e7fcc Move debug window into designers stuff instead of dynamical building
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32661 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:40:14 +00:00
Pavel Sanda
7384d3dd35 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 16:06:36 +00:00
Pavel Sanda
ebca4a0809 Next step to the world domination.
Introduce LFUN_DEBUG_LEVEL_SET.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32659 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 15:59:25 +00:00
Pavel Sanda
0252c84efa Unneeded header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32658 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 21:38:49 +00:00
Peter Kümmel
e479ed5b45 remove debug code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32657 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 13:43:42 +00:00
Peter Kümmel
99116c8d64 cleanup process output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32656 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 10:53:28 +00:00
Peter Kümmel
74d47d843e add some debug info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32655 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 10:11:50 +00:00
Peter Kümmel
0848fbc4a3 some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32654 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 10:10:17 +00:00
Peter Kümmel
00bb647721 no duplicated success messages: one connection is enough
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32653 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 10:03:16 +00:00
Vincent van Ravesteijn
9f1be444fa Update the status bar when starting LyX (creating a new view) and when the last document is closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32652 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 23:58:24 +00:00
Tommaso Cucinotta
6675847986 Fixed bug: now, when searching backwards, after wrap-around question, if match is beyond the cursor position then it is correctly found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32651 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 22:31:59 +00:00
Tommaso Cucinotta
569a0e4629 Fixed infinite loop on backwards search when matching in nested inset(s) at begin of document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32650 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 22:10:14 +00:00
Richard Heck
27d580b5c0 Thanks, Andre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32649 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 20:29:57 +00:00
Peter Kümmel
3c5fe7a93b fix formatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32648 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 17:14:53 +00:00
Peter Kümmel
0f8003c25a be sure processFinished() is only called once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32647 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 16:53:29 +00:00
Peter Kümmel
94ab8c8f74 workaround for Qt (4.5.2) bug: QProcess::started() is emitted twice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32646 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 16:07:16 +00:00
Richard Heck
27f8da648d Output numbers as numbers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32644 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 15:08:03 +00:00
Richard Heck
a278ff37c3 Ignore this in MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32643 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 15:05:43 +00:00
Richard Heck
d8053e2683 Ensuring math should just be doing math in MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32642 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 15:01:03 +00:00
Vincent van Ravesteijn
ecb69bb6eb Do not show empty messages in the statusbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32638 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 23:30:15 +00:00
Vincent van Ravesteijn
4b9ba960ec Fix the display of messages in the status bar. This is about the "permanent" message that shows e.g., the font and the track changes status.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 23:29:07 +00:00
Richard Heck
904129cba6 Get MathML output working for math decorations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32636 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 23:23:42 +00:00
Richard Heck
bae47150c6 Must wrap everything...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32635 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 23:18:38 +00:00
Richard Heck
f7c53f3af6 Add a FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32634 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 21:47:42 +00:00
Richard Heck
8fa637a36f Get MathML output for InsetMathDots working.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32633 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 21:42:07 +00:00
Pavel Sanda
aa77492617 Some strings already have eoln
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32632 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 18:00:06 +00:00
Pavel Sanda
da970d5269 No need for time in statusbar for normal messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32631 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 16:52:07 +00:00
Pavel Sanda
1fdb7a0b5a processFinished is not cause of #6417
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32630 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 16:52:05 +00:00
Pavel Sanda
1313b38c2e Add debug.h for lyxerr usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32629 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 16:52:03 +00:00
Richard Heck
97a4f77443 Restore the privacy of the parent_buffer. We want all access to go via
the accessors, so we can do appropriate checks.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32628 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-24 19:19:53 +00:00
Vincent van Ravesteijn
6891e077d0 SVN: Return an empty string when the log message is empty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32627 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 23:06:07 +00:00
Pavel Sanda
6aefcd7c24 Revert r32624 - forgotten and wrong patch in git commit pipe, sorry ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32626 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 16:06:31 +00:00
Pavel Sanda
aee4e7ba34 Reorder a bit status messages, but they are still cleared at the end of LyXFunc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32625 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 16:02:40 +00:00
Pavel Sanda
0b5fe5494b Vincent's initial support for ERT instant preview
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32624 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 16:02:37 +00:00
Pavel Sanda
b52f6c09f7 Make easier lyxerr usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32623 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 15:39:18 +00:00
Peter Kümmel
1dab222d83 Don't overwrite other result messages in status bar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32622 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 14:29:55 +00:00
Jean-Marc Lasgouttes
8bab525eda revert unintented patch part
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32621 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 14:29:13 +00:00
Jean-Marc Lasgouttes
e5376bd800 another bad binding related to ticket #6416 (see r32619)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32620 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 14:27:43 +00:00
Pavel Sanda
0e2a2da232 isExternallyModified needs file existence.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32617 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 12:42:14 +00:00
Enrico Forestieri
92f491b3f8 Add support for the forthcoming Cygwin 1.7.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32616 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 23:21:02 +00:00
Enrico Forestieri
570352c616 Allow spaces in path names for LFUN_SERVER_GOTO_FILE_ROW.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32615 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 21:44:14 +00:00
Pavel Sanda
a187929721 Squash gcc warn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32614 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 12:00:01 +00:00
Peter Kümmel
eb3fcca0e7 also build with older Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32612 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 10:42:34 +00:00
Peter Kümmel
1e7c296557 update other build systems, cleanup progress output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32611 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 10:33:01 +00:00
Peter Kümmel
7afdba6b06 re-add view for progress, cleanup follows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32610 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 10:04:30 +00:00
Peter Kümmel
114f245404 also build with older Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32609 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 09:26:45 +00:00
Vincent van Ravesteijn
a66b8d03c4 Another compile fix. (I hope this is sufficient now)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32608 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 15:07:51 +00:00
Vincent van Ravesteijn
24cb3d1a7f Compile fix. (I hope this is sufficient)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32607 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 14:52:56 +00:00
Peter Kümmel
8049e3f510 move calls to Buffer::errors and Buffer::message to GUI thread
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32606 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 13:11:17 +00:00
Peter Kümmel
dd4cbb3591 - Show progress information in status bar.
- Remove progress view because ATM we don't have to show anything usefull.
- move Alert:: void functions into GUI thread


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32604 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 11:48:19 +00:00
Abdelrazak Younes
363809c7e0 Disallow multiple concurrent previews as we are not ready for that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32603 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 15:43:52 +00:00
Vincent van Ravesteijn
05264e38bc Remove superfluous std::.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32602 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 15:07:15 +00:00
Peter Kümmel
8458a2eac3 add progress widget: update Makefiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32600 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 15:04:20 +00:00
Peter Kümmel
0c19763f60 add progress widget
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32599 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 14:27:19 +00:00
Peter Kümmel
aa613aaf01 add progress widget
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32598 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 14:26:55 +00:00
Peter Kümmel
ea6d20295a Don't process gui events by default it's too dangerous because we have no synchronization ATM.
And not needed any more because we export buffers in a thread.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32597 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 20:33:30 +00:00
Peter Kümmel
b677e23c58 format is a std::string, bformat doesn't take a std::string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32596 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 20:23:18 +00:00
Peter Kümmel
48c5304c02 pass format as argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32593 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 19:50:19 +00:00
Enrico Forestieri
5ec9d5f956 Fix bug #4063: LyX cannot handle apostrophe characters ' in path names
when QProcess is disabled.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32592 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 19:29:53 +00:00
Vincent van Ravesteijn
28dab69a0e Compare feature take two.
With this patch, we can recursively walk through the document. The document is split around a middle snake and each part is processed further. The snakes are added to the output document as well as the added and deleted parts.

Now, the only thing left is to commit the implementation of the find_middle_snake function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32591 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 18:15:20 +00:00
Enrico Forestieri
04580d2122 Improve the command-line parser meant to be used for QProcess.
Now, both single- and double-quotes posix-like quoting styles are implemented,
such that a command-line meant for the shell can also be used for QProcess.
However, only redirecting the output to a file is supported. Supporting piping
would require a (major?) rewrite of the Systemcall class.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32590 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 17:26:09 +00:00