André Pönitz
4d6b99e865
return to 1.1.6 behaviour for ascii export
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4110 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 07:30:49 +00:00
André Pönitz
dd84576506
remove unneeded #include's
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3887 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 09:34:39 +00:00
André Pönitz
4366ef931c
- revive 1.1.6 eqnarray behaviour when pressing <Del> in the last position of a
...
cell.
- allow additional argument to math-macros for drawing purposes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3823 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 12:11:25 +00:00
Lars Gullik Bjønnes
2b8ef58dc0
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3804 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:42:56 +00:00
André Pönitz
277e305082
Make Angus' compiler happy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3794 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 06:57:13 +00:00
André Pönitz
858355fb69
- reduce sizeof(MathCharInset) by 20 by better font caching
...
(lots of subsequent changes)
- ascii art drawing for \frac and \sqrt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3780 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 16:55:58 +00:00
André Pönitz
d15da27db8
speed up math drawing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 14:59:08 +00:00
Angus Leeming
d0a3af12d9
Synching my tree with cvs.
...
I'm committing all the little, but uncontroversial, changes that have
built up in my tree. This will result in an almost total recompilation for
you all but will mean that things are less painfull when the other changes
go in!
* Rename files syscall.[Ch] as systemcall.[Ch].
* Rename class Systemcalls as class Systemcall as one instance of the class
represents a single child process. Remove the default constructor too.
* Add a running() method to class Timeout. Results in recompilation of almost
the entire tree because pretty well everything depends on LyXView.h which
#includes "frontends/Timeout.h", so...
* Make the Timeout instances in classes LyXView and minibuffer pointers,
allowing us to forward declare class Timeout.
* Add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to commandtags.h in anticipation
of something wonderful!
* Add a signal showForks to Dialogs.h, again anticipating some real code.
* wrap the structs firster, seconder in frontends/controllers/helper_funcs.h
in a namespace to prevent a clash with similarly named structs in
support/lyxalgo.h
As you see, lots of irritating bits and pieces which don't make much sense in
themselves but do in light of the other changes I've got here.
I'll post the big changes to the list for proper perusal.
Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 19:13:48 +00:00
Lars Gullik Bjønnes
edf3fcf8f9
remove the syscall constructor, adjust other code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 18:34:30 +00:00
Lars Gullik Bjønnes
7ea7dabed1
to much stuff for my liking...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Angus Leeming
59e18b17ae
We don't currently use fork anywhere (or if we do it's by mistake!), so
...
this patch strips down syscall.[Ch] so it now contains only the system
call interface. This interface is very, very simple! At the same time
I've taken the opportunity to remove syscontr.[Ch] and syssingleton.C,
again because they aren't used.
The rest of the changes are due to the change of name in the
Systemcall::Starttype enum. System is now Wait, and SystemDontWait is DontWait
Paves the way for resurrecting a proper forked calls controller.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3553 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:39:47 +00:00
André Pönitz
5e6481b76e
support for \substack
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3540 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 14:52:23 +00:00
André Pönitz
faf2f08712
some changes to make some compilers somewhat happier
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3310 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 11:03:34 +00:00
André Pönitz
1d8a1db27f
fix nasty bug when inserting labels when cursor was in nested array
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3189 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 15:04:02 +00:00
André Pönitz
fe31e337c1
perhaps a fix for the latest crashes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3174 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 10:09:00 +00:00
André Pönitz
aed2b1804c
make operator<<(*stream, ...) free functions;
...
make *stream 'class' instead of 'struct' (not finished);
use LCOlor::mathline only for boxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3140 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 16:24:50 +00:00
André Pönitz
8c3c804a4d
fix drawing glitch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3118 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 09:16:16 +00:00
Jean-Marc Lasgouttes
85e30074c2
new alert code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
André Pönitz
3585748871
changes from Angus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3053 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 16:05:17 +00:00
André Pönitz
c84131951f
fix 'math background wrong in selected text' problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3051 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 15:20:03 +00:00
André Pönitz
932884ff5b
small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3049 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 14:48:25 +00:00
Dekel Tsur
2400b5b919
Fix retrun value of InsetFormula::latex
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3042 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 19:06:05 +00:00
André Pönitz
0e793113ca
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3033 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-15 15:14:27 +00:00
André Pönitz
ea35e1c460
make cursor less eager to leave the formula when pressing 'up' or 'down'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3030 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-15 09:51:57 +00:00
André Pönitz
ebcc9580c9
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3023 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 15:29:45 +00:00
André Pönitz
c12d116ce7
support for \begin{cases}...\end{cases} (for interactive creation type M-x
...
math-insert cases <number_of_case_you_want>)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3011 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 16:45:09 +00:00
André Pönitz
1d1260a3aa
interpret INSET_ERT as 'backslash pressed' to enable the use of the
...
toolbar tex button within mathed... not that anybody would use it...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3005 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 08:20:30 +00:00
André Pönitz
3516a9a2fc
recognize a few "well known functions"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2993 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 12:01:10 +00:00
André Pönitz
c93e9dcbc5
some support for matrix operations with maple ('M-x math-extern maple evalm')
...
further cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2991 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 08:35:57 +00:00
Jean-Marc Lasgouttes
c090ca491f
mathed compile fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2989 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 15:12:33 +00:00
André Pönitz
15b1e9cdde
cosmetics: rename "matrix" into "hull" since it is used only for the
...
outermost math inset in a formula and not for matrices at all...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2986 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:28:33 +00:00
André Pönitz
1b787e207d
cosmetics: rename support.[Ch] into math_support.[Ch]
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2985 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:15:12 +00:00
André Pönitz
0daba49b1d
don't #include too much stuff in .h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2984 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:06:56 +00:00
André Pönitz
f105559752
more mathml stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2979 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 18:15:24 +00:00
André Pönitz
7cccd80619
change output to uses streams instead of strings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2977 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 17:30:26 +00:00
André Pönitz
f07a117fc3
Hack to enable auto-insertion of '*' for Octave input
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2976 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 14:14:04 +00:00
André Pönitz
2dd919eeb8
parse octave output as matrix if necessary
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2974 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 13:15:59 +00:00
André Pönitz
2f858329df
fix 'double =' glitch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2972 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 11:14:59 +00:00
André Pönitz
6e3fcdf812
start native C++ support for Octave, Maple and MathML
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2969 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 08:51:35 +00:00
André Pönitz
bf3d330980
change filenames for 'handleExtern'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2956 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 15:45:23 +00:00
André Pönitz
fcc87d756b
Re-introduction of a BraceInset to handle "extra braces"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2943 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-29 15:45:24 +00:00
André Pönitz
d1633491db
add missing writeNormal() methods to some insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2935 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 16:10:38 +00:00
André Pönitz
cde897f38b
remove position cache from insets - these were the last data item stored in
...
each inset, so we are down to the absolute minimum here...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2929 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 09:16:06 +00:00
André Pönitz
616955adb2
fix crash due to invalid cursor position after deleting more than one cell
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2925 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 13:48:52 +00:00
André Pönitz
40b2b89d4d
- remove MathStyles cache from those insets that don't need it
...
- fix math font sizes in headings etc
- remove unused static member int MathInset::workwidth
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2909 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-22 15:37:49 +00:00
André Pönitz
5507c1ad69
use stream-like syntax for LaTeX output
...
(instead of inset.write(stream) functions)
prepare fix for proper font sizes in chapter heading etc...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 11:25:48 +00:00
André Pönitz
35d74b0e6f
some visual support for \lefteqn
...
fix some writeNormal() issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2895 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-18 13:21:21 +00:00
André Pönitz
bb3a2ccaa5
fix off-by-one-pixel drawing problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2870 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 13:15:34 +00:00
André Pönitz
9295f8236e
Use references instead of pointers where possible
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2867 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 12:02:49 +00:00
Jean-Marc Lasgouttes
e597fc7ae4
fix the size of some variables to avoid compaq cxx warnings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2826 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 12:10:32 +00:00