Commit Graph

309 Commits

Author SHA1 Message Date
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
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
5cecfe8c7f popup math panel on right mouse click
support for \dddot


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3508 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 09:42:59 +00:00
André Pönitz
a60dcf0b84 Otto's \underrightarrow/\underleftarrow patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3505 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 08:08:11 +00:00
André Pönitz
ffabba6156 Finxing Umlauts, Part I
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3503 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 08:03:38 +00:00
André Pönitz
961105ec0e support for \xrightarrow and \xleftarrow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3483 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 09:51:40 +00:00
André Pönitz
b5fd9ac98d basic support for \xymatrix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3482 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 18:44:51 +00:00
André Pönitz
66d171ea78 proper support for \underset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3469 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 10:33:06 +00:00
Angus Leeming
e07b31a47d Martin's changes to the space and style dialogs of the math panel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3449 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 12:31:24 +00:00
Dekel Tsur
0358360e51 Add macros for \models and \Join.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3440 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-26 18:33:45 +00:00
Jean-Marc Lasgouttes
f0a372d294 fix bug 175 (minipage in minipage); fix some warnings; apply external.diff from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3420 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 17:05:24 +00:00
Angus Leeming
16083c82e1 Martin's math panel patches.
John's thesaurus patch.
A patch of my own to clean-up the spellchecker code a little (functionality
not changed).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3383 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-15 15:31:19 +00:00
Angus Leeming
de3b5aab16 Resolve virtual function name clashes:
* Rename InsetMinipage's width and height functions as pageWidth and
pageHeight, respectivelyi as they are functionally distinct from
the InsetCollapsable's methods of the same name.
* Change the "bool const &" parameters of UpdateableInset::searchForward and
searchBackward to "bool". Ditto with other classes, so all are now consistent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:10:29 +00:00
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Jean-Marc Lasgouttes
8b8741cd5d fixes/cleanup to dispatch/getStatus stuff; fixes the bug where unwanted function names appear in minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3346 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 20:00:47 +00:00
Angus Leeming
44806c63f9 Fixes for a broken std::count.
A couple of white-space type changes in mathed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3341 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 17:57:02 +00:00
Angus Leeming
df3128954a Martin's latest math dialog patch using LFUNs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3331 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 16:47:03 +00:00
Dekel Tsur
f60e175f1e Support for \begin{math}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3326 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 13:07:53 +00:00
Jean-Marc Lasgouttes
a02a2714dc updates to latexfeatures stuff; allow empty \document_path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 10:05:45 +00:00
Angus Leeming
d57d71fc5c Martin's math dialog patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3322 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-09 14:40:34 +00:00
André Pönitz
5d6b5eb116 Angus' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3304 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 15:09:12 +00:00
André Pönitz
f4892a2d33 visual support for \displaystyle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3280 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 12:02:54 +00:00
Dekel Tsur
b0dbd5e436 Adjust kerning of math symbols that are defined as macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3241 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 15:19:32 +00:00
Lars Gullik Bjønnes
f70513fe19 small stuff, perhaps you should have a look at the change in math_parser, Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3230 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:16:46 +00:00
André Pönitz
c0fc732905 allow cut&paste of rectangular "regions" of cells
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3218 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 16:13:11 +00:00
Dekel Tsur
acdc633447 Consider lyxrc.zoom for computing the width of MathKernInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3216 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 15:02:36 +00:00
Dekel Tsur
1e7b5e1d99 Fix handling of \mathfrak font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3207 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 22:06:13 +00:00
Lars Gullik Bjønnes
b1f98665f5 forgot entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3185 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 10:48:33 +00:00
André Pönitz
34ed3608a0 support for fraktur font in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3184 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 10:14:51 +00:00
André Pönitz
9c2f56364e Part of Angus' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3179 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 14:03:39 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Jean-Marc Lasgouttes
c897a93ed7 cleanups from Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3075 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 11:08:43 +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
0b506e0467 updated BUGS list, and a ChangeLog entry for a change..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3048 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 11:26:18 +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
Jean-Marc Lasgouttes
fcc833018c latexfeatures path from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3041 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 15:34:11 +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
Jean-Marc Lasgouttes
4de117b23f compilation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3032 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-15 14:52:32 +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
Jean-Marc Lasgouttes
f73a9f37f4 mathed compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2971 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 10:25:05 +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
Angus Leeming
c2befab062 Fix compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2953 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 12:56:38 +00:00
Angus Leeming
68a3a474b7 Compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2939 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 18:10:21 +00:00
André Pönitz
4ca7022e52 - updated BUGS
- improved cursor movement in grids when pressing home/end


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2911 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 07:33:03 +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
4253792bd6 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2852 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 13:20:51 +00:00
André Pönitz
c5e13278e7 leave red backslash as visual clue in formula when typing macro names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2833 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-02 15:01:57 +00:00
André Pönitz
e9baa06e51 remove public method;
add a static_cast<>


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2827 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 12:23:00 +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
Dekel Tsur
88c555f798 Misc. small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2816 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-28 20:23:49 +00:00
Dekel Tsur
bc5e92cb03 More symbols (mainly arrows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2772 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-19 17:22:34 +00:00
André Pönitz
5ca510e4c5 Jean-Marc's patch, BUGS update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2759 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 11:03:41 +00:00
Jean-Marc Lasgouttes
43cb604df7 fix indexing first word in a list layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2738 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 10:41:25 +00:00
André Pönitz
e4c58b72be try to do with super- and subscripts what TeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2722 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 10:58:17 +00:00
Jean-Marc Lasgouttes
426ae5c092 da.po update ; small compile fix in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2693 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-05 15:22:20 +00:00
André Pönitz
4735efe3fe some support for gather and multline (multline special display is missing...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2686 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 14:56:30 +00:00
André Pönitz
e0a3858e1a ChangeLog entry for a change...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2685 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 13:34:38 +00:00
José Matox
2470d9297d rename docBook method to docbook
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2681 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 11:02:09 +00:00
Dekel Tsur
a9bea7bbdc Check for duplicate symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2668 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-03 16:46:28 +00:00
Angus Leeming
8298940583 Added a using std::map directive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2667 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-03 16:20:47 +00:00
André Pönitz
ff13a3e736 remove symbol_def.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2666 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-03 15:22:55 +00:00
André Pönitz
47e627ea66 remove unneded symbol definitions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2665 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-03 13:36:46 +00:00
André Pönitz
8c39ec9370 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2664 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-03 13:18:28 +00:00
Dekel Tsur
f5de290c50 Fix reading of symbols file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2655 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-02 13:35:31 +00:00
Angus Leeming
0556ecac11 Added a std::endl directive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2651 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-02 11:43:34 +00:00
Dekel Tsur
2806246e1e Few math fonts improvements (use cmr for uppercase greek, support for
\mathbb)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2647 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-31 21:15:57 +00:00
Dekel Tsur
0cf717d0c8 More fonts in mathed.
Please test.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2632 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 22:42:26 +00:00
Dekel Tsur
3a0fbd0a90 Eat spaces after \end_inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2547 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-18 12:02:40 +00:00
Lars Gullik Bjønnes
07a0f43eee fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2541 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 17:41:38 +00:00
André Pönitz
71d514f39e write sequences of chars with same code as unit
(i.e. no more \mathrm{a}\mathrm{b})


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2533 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 13:18:10 +00:00
André Pönitz
77dca4f3bc new parser
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2528 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 09:48:24 +00:00
André Pönitz
8766c98cfe re-enabling the "selected text gets converted to math"-feature
small bix fix
cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2510 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-14 07:46:11 +00:00
André Pönitz
48503551b1 more honey for Angus's dinosaur
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2505 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 15:58:26 +00:00
André Pönitz
d586e9e856 support for TeX's \choose
fix for return void


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2504 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 15:26:41 +00:00
André Pönitz
1e9b743bce read/input support for TeX's '\over'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2503 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 14:46:06 +00:00
André Pönitz
ba5f02ca07 small step to a unified parser for file & interactive input
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2501 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 14:02:37 +00:00
André Pönitz
b727c2947f *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2491 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 16:28:10 +00:00
André Pönitz
c06f5351cf rework of MathDelimInset almost finished... did that break anything?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2471 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 16:02:43 +00:00
André Pönitz
cbf29c8fdc new hierarchy for frac-like things
'native' \stackrel support
remove MathInset::name_ member (sizeof(MathInset) == 20 on IA32 now);


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2457 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 17:26:30 +00:00
André Pönitz
d7525e9740 move ownership of the templates from the formulamacro
inset to the mcaro table


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2437 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 08:40:14 +00:00
André Pönitz
2bc240251e bring red color back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2434 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 05:37:18 +00:00
André Pönitz
8beaec704e remove unneeded convertFont()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2427 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 17:27:42 +00:00
André Pönitz
8b7b3a5895 - fix nasty bug due to missing InsetFormula copy c'tor
- make all cache variables mutable, remove const_casts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2426 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 17:20:26 +00:00
André Pönitz
244d75e942 move width_/ascent_/descent_ cache into seperate ABC.
sizeof(MathInset) == 24 on IA32


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2414 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 17:55:10 +00:00
André Pönitz
18a610d4d6 cloase a leak; remove a few casts; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2410 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 09:54:48 +00:00
André Pönitz
297697dd70 fix mis-alignment of eqnarray columns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2404 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 09:59:09 +00:00
André Pönitz
84b01259ef fix (potential?) memory leaks; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2403 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 16:48:06 +00:00
André Pönitz
9ccefe810b mathed108.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2352 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 06:46:50 +00:00
André Pönitz
cd8d582c67 M-m <space> as substitute for the old C-<space> <space> 'enlarge space'
feature


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2339 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 14:15:05 +00:00
André Pönitz
d2e5c09218 paste to any place in the inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2328 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 17:26:44 +00:00
André Pönitz
fea1e7dff4 fix super/subscript size calculation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2327 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 17:18:54 +00:00
André Pönitz
c1364850c0 less crude MathXArray::x2pos for preciser cursor positioning using the mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2325 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 16:39:55 +00:00
André Pönitz
c1bd906202 ^ now copies selection into new scriptinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2324 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 16:10:17 +00:00
André Pönitz
c06a45c6e4 fix memory leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2313 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 05:53:32 +00:00
André Pönitz
86ea4e48e7 fix 'invalid cursor position after typing \sum'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2310 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 14:30:22 +00:00
André Pönitz
b321afd875 keep empty super/subscript a bit longer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2309 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 14:21:34 +00:00
André Pönitz
efc5820ea3 fix pullArg when pressing <Delete> at the end of an cell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2308 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 14:15:14 +00:00
Jean-Marc Lasgouttes
55bf6460f3 fix insertion of raw double quote, reading of Info inset, initial width of collapsed insets, insertion of index; better support for insetAllowed, for french quotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2300 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 09:11:14 +00:00
André Pönitz
96a1cc78b2 support for \land and \vee, cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2292 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 10:57:22 +00:00
André Pönitz
2569cd6fde Fix two small bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2263 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 09:46:07 +00:00
André Pönitz
5c40a062b2 rename math_(root|grid).[Ch] to math_(root|grid)inset.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2259 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 07:38:41 +00:00
Lars Gullik Bjønnes
b10dd6dc0b reverse test move operators out of struct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2257 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 18:58:13 +00:00
André Pönitz
9b87031073 forgot the ChangeLog again...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2256 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 15:56:05 +00:00
Angus Leeming
cec0dd19d0 Edwin's "about" patch + consistent use of Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00
Jean-Marc Lasgouttes
0de9e656a4 tweaklets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2230 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 08:49:45 +00:00
André Pönitz
0024f42724 split super/subscript handling in new base class MathUpDownInset and
MathScriptInset/MathBigOpInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2220 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 07:18:29 +00:00
André Pönitz
88b5d739b5 MathAccentInset rewritten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2215 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-10 13:17:43 +00:00
André Pönitz
faa697a2a9 cursor movement in multiline math; remove dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2212 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 16:59:57 +00:00
Dekel Tsur
e321726f35 Use only the first label when mutating eqnarray to display formula.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2211 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 16:42:22 +00:00
Jürgen Vigna
9d1ec63f05 Fixed crash when inserting mathed inset inside InsetERT + new devel banner.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2210 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 14:19:41 +00:00
Jean-Marc Lasgouttes
2a275071a0 small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2209 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 10:32:44 +00:00
André Pönitz
b24b504cd2 Small bugfixes and cosmetic changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2208 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 10:19:50 +00:00
Dekel Tsur
239d1b23e1 Fix math insert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2199 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-07 09:19:51 +00:00
André Pönitz
adf2ae0835 operator<<(ostream &, xarray const &)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2183 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-04 17:17:32 +00:00
André Pönitz
18ed33949f Small parser bug fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2182 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-04 17:15:08 +00:00
André Pönitz
e546fb9b37 mathed89.diff - fix "random" crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2174 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 15:04:59 +00:00
André Pönitz
3d00527d48 mathed87.diff (Bug fixes, new feature "change font on selection")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2169 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 07:56:55 +00:00
Jean-Marc Lasgouttes
ab254289c8 lyxstring compile fixes ; small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2159 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 11:54:39 +00:00
Jean-Marc Lasgouttes
cdc02d297e cxx compile fixes ; several patches from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2151 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 13:02:03 +00:00
Jean-Marc Lasgouttes
9f42114d4d some fixes for compaq cxx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2147 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 15:57:57 +00:00
Lars Gullik Bjønnes
b1c4f8070f gcc 3.0 fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2146 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 15:33:55 +00:00
Lars Gullik Bjønnes
76ef051b1c LyX Drinkers United: patch 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Angus Leeming
31b56dac80 In for a penny, in for a pound. Consistent use of // -*- C++ -*-
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 08:20:41 +00:00
Jean-Marc Lasgouttes
07ea5f51f0 compilation fixes for compaq cxx + small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2079 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 10:53:24 +00:00
Lars Gullik Bjønnes
f1d829a185 adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Jean-Marc Lasgouttes
b0da75ab1e help a bit compilation with sun CC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1976 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-02 10:47:07 +00:00
Jean-Marc Lasgouttes
7e8b69acf0 compilation fixes when using lyxstring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1975 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-02 08:18:00 +00:00
Lars Gullik Bjønnes
b9d25422e0 mathed67.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1968 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-27 12:35:55 +00:00
Lars Gullik Bjønnes
2b63437db2 small fix for gcc 3.0, use std::transform in lstrings, implement chars-transpose
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1955 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-25 19:33:52 +00:00
Angus Leeming
598981975c Need some std declarations and qualifiers to compile with DEC cxx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1953 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-25 11:14:01 +00:00
Allan Rae
664eb7ff45 another pesky \#warning snuck in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1944 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-20 02:43:42 +00:00
Lars Gullik Bjønnes
53cf203fb9 use LFUN_MESSAGE, inhritprivately from noncpopyable, remove warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1932 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 14:20:21 +00:00
Allan Rae
4e61c013f4 fix doxygen operation ; stop #warning causing errors on Sun CC 6.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1919 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 00:19:49 +00:00
Lars Gullik Bjønnes
7fbce0f530 adjust for cursor_visible change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1888 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-04 20:43:54 +00:00
Jean-Marc Lasgouttes
a810f13e94 compilation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1785 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 14:47:48 +00:00
Lars Gullik Bjønnes
97f0b8686d mathed62.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1784 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 12:54:34 +00:00
Angus Leeming
524a23ba3a Compile fixes for DEC cxx, John's maths and keymap patches.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1783 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 12:08:14 +00:00
Lars Gullik Bjønnes
837da12d78 dont use cerr directly use lyxerr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1781 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 08:29:10 +00:00
Lars Gullik Bjønnes
483458d6d4 mathed61.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1778 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 18:22:33 +00:00
Lars Gullik Bjønnes
a27892b6c8 one small private fix in mathed, put noncopyable and tie into boost namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1774 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 16:04:46 +00:00
Lars Gullik Bjønnes
a18d4a692a mathed59.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1773 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 15:07:17 +00:00
Angus Leeming
ca6d393f03 added using directive to math_cursor.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1767 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 10:56:00 +00:00
Lars Gullik Bjønnes
24c63359f4 mathed57.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1764 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 10:10:01 +00:00
Lars Gullik Bjønnes
b36f0c6aad mathed55.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1744 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-12 13:58:11 +00:00
Lars Gullik Bjønnes
2571b20b34 mathed53.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1729 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-10 09:01:23 +00:00
Lars Gullik Bjønnes
bce1032704 mathed52.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1728 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-09 23:55:50 +00:00
Lars Gullik Bjønnes
7d2c9440e7 mathed51.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1721 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-09 08:45:10 +00:00