Enrico Forestieri
04b7cf62d6
Fanfare! Qt is now also allowed in core!
...
So, reapply r29669 and revert r29694. I don't know what should be done
for scons, but there should be no problems ATM.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29696 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 18:48:41 +00:00
Pavel Sanda
7422dbf1bb
Make the usage of slashes more consistent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29695 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 16:51:18 +00:00
Enrico Forestieri
d346e36de2
Don't add the Qt dirs to the include path when compiling in src/, in
...
order to avoid inadvertently using Qt code in the lyx core library.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29694 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 16:34:21 +00:00
Enrico Forestieri
ae3f95b8f0
Fix scons and revert the now not needed r29669.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29692 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 15:55:08 +00:00
Jürgen Spitzmüller
e71be32d2a
* InsetCollapsable.cpp (doDispatch):
...
- reset paragraph fonts also after LFUN_SELECTION_PASTE.
This assures lang is set to latex in ERTs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29690 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 15:39:03 +00:00
Vincent van Ravesteijn
33c44db749
Fix bug #3706 : Mathed builtin/macro expansion not performed when clicking away.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29688 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 22:49:20 +00:00
Vincent van Ravesteijn
193b36e71f
Fix bug #5923 : Resume macromode.
...
When the user wants to resume a macro, delete the current one and insert a new one, which is not yet finalized.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29687 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 22:04:41 +00:00
Vincent van Ravesteijn
7fc21bf766
Fix bug #2034 : Inconsistent behavior of cursor inside mathed.
...
When closing the macromode, do the same trick as in lines 835--838.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29686 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 22:00:43 +00:00
Vincent van Ravesteijn
a1a9c4c4ba
Fix bug #5540 : Crash in MathAtom on Undo.
...
No undo steps are recorded for math-macros. Now, it is also not done when we resume to edit a macro.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29685 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:51:43 +00:00
Vincent van Ravesteijn
22e8bd3c3e
Partial fix for bug #5465 . This will enable scrolling down past a very large inset. With this code, LyX will scroll up everytime you try to scroll past the inset, because the cursor is set on the uppermost row.
...
see:
http://thread.gmane.org/gmane.editors.lyx.devel/118449
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29683 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:24:08 +00:00
Vincent van Ravesteijn
a8682e3f5f
Forgot these.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29682 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:15:30 +00:00
Vincent van Ravesteijn
14eeb2bdc5
* FuncCode.h: whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29681 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:07:03 +00:00
Vincent van Ravesteijn
8996be1208
Restore Object.Event order for:
...
- LFUN_LABEL_COPY_AS_REF,
- LFUN_LABEL_INSERT_AS_REF.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29680 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:05:19 +00:00
Vincent van Ravesteijn
13da98685d
* InsetMathHull.cpp : constify.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29679 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 20:57:48 +00:00
Vincent van Ravesteijn
3c976db90b
Fix bug #5948 : Copy as reference for equation labels.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29678 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 20:54:15 +00:00
Pavel Sanda
831b74c236
Unify whitespacing for generation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29677 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 17:08:15 +00:00
Pavel Sanda
47cefe424d
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29676 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 15:42:45 +00:00
Enrico Forestieri
a5a05e7dfc
Really flush output buffers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29675 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 09:20:59 +00:00
Vincent van Ravesteijn
986db7cae1
* LyXAction.cpp: doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29674 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 23:48:26 +00:00
Vincent van Ravesteijn
54bb684f30
Fix bug #3918 : Toggle outline button update when clicking x.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29673 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 23:46:42 +00:00
Vincent van Ravesteijn
f05504f5ef
Fix bug #5390 . Copy from a deleted section with change tracking.
...
Do not accept the changes in the selection, if it is completely deleted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29672 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 22:21:05 +00:00
Kornel Benko
1f3b4e24af
Added QT_INCLUDES to make it compilable again.
...
This was needed due to change of src/support/Systemcall.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29669 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 16:23:26 +00:00
Enrico Forestieri
8fe984090f
Allow immediate output of spawned processes for all platforms.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29668 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 15:13:58 +00:00
Pavel Sanda
ee39b28f99
These were neglected too
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29667 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 13:15:23 +00:00
Pavel Sanda
6e6d34b52f
Forgot to document these lfuns
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29666 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 13:10:37 +00:00
Vincent van Ravesteijn
a7d545170b
Fix bug #5888 . Yes, I do shame.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29665 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 12:35:04 +00:00
Jean-Marc Lasgouttes
188333b8cb
headers cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29664 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 09:20:58 +00:00
Enrico Forestieri
2301c5af8f
Fix problem with the nul device on Windows.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29663 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 00:12:07 +00:00
Pavel Sanda
812f41a384
Even more
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29662 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:51:11 +00:00
Pavel Sanda
3858052bd0
Add missing entries
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29661 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:50:12 +00:00
Vincent van Ravesteijn
7ed6d9c3f1
Compile fix & whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:43:01 +00:00
Uwe Stöhr
152b32684d
GuiView.cpp, LyXAction.cpp: sort entries
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29659 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:37:18 +00:00
Uwe Stöhr
ada03a9682
fix SCons after r29657
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29658 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:34:09 +00:00
Jean-Marc Lasgouttes
6d08a75d62
New literate programming modules.
...
These modules allow to use Sweave or Noweb with any LyX textclass.
They will eventually allow to get rid of literate-* classes.
The sweave modules will benefit in trunk from a forthcoming patch which allows
to select the output format for a literate OutputType. This will allow to
support Sweave out-of-the-box.
For branch, this pair of modules is IMO a candidate for LyX 1.6.4 (no need to
hurry).
Thanks to Gregor Gorjanc for his work on this subject. There is
undoubtlessly some additional work that has to be done here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29657 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 21:23:05 +00:00
Enrico Forestieri
70696182dd
Take into account output redirection when spawning a program.
...
Now things should behave as before the QProcess era (I hope).
The parser only accounts for output redirection, no fancy
things such as piping are possible, yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29656 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 18:29:58 +00:00
Enrico Forestieri
0ed38ed1f4
Allow to separately redirect stdout and stderr.
...
Now "lyx > stdout.log" should produce the same output as before
the switch to QProcess.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29655 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 12:55:01 +00:00
Enrico Forestieri
3cdf2acb95
Clarify comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29654 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 09:56:47 +00:00
Enrico Forestieri
97303baac2
Avoid #ifdef's and use OS specific code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29652 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 09:48:11 +00:00
Enrico Forestieri
50ddeeb77e
MSVC does not define WIN32 but _WIN32.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29650 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 22:04:26 +00:00
André Pönitz
89e4055189
cosmestics (test...)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29649 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 21:03:47 +00:00
Vincent van Ravesteijn
501349b4ae
Compile fix for r29647.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29648 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 20:16:43 +00:00
Vincent van Ravesteijn
44afac0e4a
Do the same as r29646, now for FileName::set.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29647 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 20:15:20 +00:00
Vincent van Ravesteijn
2f8a71056b
Fix the assert on Windows when starting LyX by double-clicking on a file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29646 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 20:12:04 +00:00
Enrico Forestieri
524b4157a2
Use something more meaningful than View->View.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29645 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 19:27:00 +00:00
Vincent van Ravesteijn
0a5cb3674c
Restore the possibility to call insert-plaintext without argument.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29643 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 18:41:08 +00:00
Enrico Forestieri
cd9b169d76
Restore line buffered output at least on posix systems. I failed to do
...
that on Windows, as using CONOUT$ in place of /dev/stdout didn't work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29642 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 18:21:27 +00:00
Kornel Benko
4963d9ec29
Use the new parameter for lyx_pot.py to pass
...
file-name parameters in one extra file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29641 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 09:21:59 +00:00
Kornel Benko
aea6be38bb
Added new parameter, to handle otherwise owerflow
...
of the windows command line length.
Patch by José Abílio Matos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29640 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 09:19:13 +00:00
Jean-Marc Lasgouttes
b71cd66384
remove duplicated (and probably not really correct) code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29639 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 07:12:25 +00:00
Vincent van Ravesteijn
7083f02b1d
Prevent two more assertions due to non-absolute filename as a parameter of file-insert-plaintext.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29638 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 00:15:16 +00:00