Commit Graph

1198 Commits

Author SHA1 Message Date
André Pönitz
b8198905dc the FuncRequest changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4887 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 08:11:41 +00:00
André Pönitz
6c12adeebe Finish the re-indroduction of the show_banner flag. It is 'true' by
default now and not changable from the UI, but a \show_banner "false" in
the .lyx/preferences gets honored.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4877 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 13:00:50 +00:00
André Pönitz
d1813576e4 read ~
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4874 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 09:15:46 +00:00
André Pönitz
7403d50232 fix typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4867 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 16:54:17 +00:00
André Pönitz
06065364e5 several fixes concerning font size in scripts/fractions/etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4865 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 16:21:19 +00:00
André Pönitz
b181cd29a9 re-try to suppress "extra" {} on reading...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4860 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 10:27:40 +00:00
André Pönitz
200b4fd4ef cosmetics: make the hand-drawn root more similr to what LaTeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4859 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 08:44:08 +00:00
André Pönitz
ff19a20470 fix parser bug reportred by Rob.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4858 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 07:14:26 +00:00
André Pönitz
9b4bf4c29d fix 'vanishing \sin' bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4857 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 07:09:11 +00:00
André Pönitz
f72aef6cb3 fix parser bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4856 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 06:39:33 +00:00
Angus Leeming
cc132995fa Cache the BufferView as a weak_ptr; get rid of those horrible current_views.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:30:58 +00:00
André Pönitz
00413a7841 merge MathArray and MathXArray classes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4843 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 14:29:42 +00:00
André Pönitz
45d1084a64 remove a few unneeded 'include'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4842 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 14:04:16 +00:00
André Pönitz
2830796638 uses references instead of returning vectors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4840 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 13:35:05 +00:00
Angus Leeming
984cbba504 * Mathed now caches the BufferView as a weak_ptr.
* PreviewedInset caches the LaTeX snippet.
* Further clean-up of mathed's preview code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4838 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 12:38:20 +00:00
André Pönitz
d47e8c38e3 fix recently introduced macro reading bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4835 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 07:50:01 +00:00
Angus Leeming
d91ffd8d78 Previews for \input insets.
Refactor code common to InsetInclude and InsetFormula into a new
PreviewedInset class.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4830 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 17:28:59 +00:00
Angus Leeming
bec8a7b65c Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4829 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 16:12:02 +00:00
André Pönitz
a92d23883e save inset lock state in the .lyx file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4828 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 15:53:46 +00:00
André Pönitz
0fdd672d64 no special treatment for scriptinsets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4826 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 11:48:53 +00:00
André Pönitz
48929cbcc8 quick&dirty compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4822 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 07:22:01 +00:00
André Pönitz
990069f546 a step towards world domination^H^H^H
aehm... move things from the parbox inset to an abstract base class
'MathTextInset' and have a shot on implementing an ERT inset on top of
that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4819 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 17:26:14 +00:00
André Pönitz
7534cb5d5e re-adjust math-extern heuristics to new super/subscript inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4810 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 17:51:19 +00:00
André Pönitz
6c57f7353f support for AMS's \boxed{} command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4807 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 16:04:41 +00:00
André Pönitz
a794a45949 the up/down stuff reworked
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4806 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 13:56:02 +00:00
Lars Gullik Bjønnes
043298544c Rename strip to rtrim
Rename frontStrip to ltrim
Add new trim function.

modify source for this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 22:50:13 +00:00
Lars Gullik Bjønnes
e39935204d remove some unneeded version of functions from lstrings,
some gcc 3.2. minor compile fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
André Pönitz
4d51fc96b4 move things around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4799 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 17:23:44 +00:00
André Pönitz
11398a3316 move things around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 14:11:19 +00:00
André Pönitz
c6b1b59008 some \parbox improvements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 13:13:20 +00:00
André Pönitz
a22bf49a4e fix nasty crash when selection anchor pointed to a deleted cell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4791 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 07:39:13 +00:00
André Pönitz
3da45ec13a remove debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4785 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 13:39:11 +00:00
André Pönitz
5972f27401 try to fix cursor jumping
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4784 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 13:34:13 +00:00
André Pönitz
01f9ad1e3b try to fix error shown by valgrind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4780 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 07:55:56 +00:00
Angus Leeming
00c0baf022 Regenerate a preview only when leaving a math inset with depth 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4763 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 14:47:31 +00:00
Angus Leeming
b3fa703ea7 Aesthetic improvement of equation positioning when previewing in display mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 09:23:11 +00:00
Jean-Marc Lasgouttes
4bf9542812 fix display of rotated math decorations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4754 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 22:00:49 +00:00
André Pönitz
10fd14e55b enable insertion of spaces in all \textxxx modes.
some cleanup.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4702 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 11:02:33 +00:00
André Pönitz
31d1ab96b6 leave formula when pressing end at the end of a formula (and similarly
'home' at the beginning)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4700 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 10:07:20 +00:00
André Pönitz
c69579b679 donn't mutate align to alignat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4691 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:25:17 +00:00
Angus Leeming
f643df79a8 * Make the graphics files conform strictly to the Pimpl idiom by moving
the boost::signals into the relevant Impl classes and creating new,
publicly-accessible connect() methods.
* Const-ify all publicly-accessible methods, reflecting the fact that each
class contains only a const pimpl_ member variable.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4687 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 16:56:42 +00:00
André Pönitz
1a696271da honor \displaystyle etc on screen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4684 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 15:57:03 +00:00
Angus Leeming
4b0c1d1065 Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4679 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 12:07:57 +00:00
André Pönitz
0bd8435f7e next shot at xxalignat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4677 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 11:21:22 +00:00
André Pönitz
2858081d89 Herbert's compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4674 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 11:05:16 +00:00
André Pönitz
baf8d2da9f fixes for \xxalignat and old style font changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4673 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 10:25:33 +00:00
André Pönitz
7c3cc29952 more work on \parbox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4657 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 18:22:45 +00:00
Angus Leeming
830ef843a6 remove the extra pixels required to accommodate the mathed active frame
when in Preview mode.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4653 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 18:04:57 +00:00
Angus Leeming
16b928088f Smart loading of image files for previews and for the graphics inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4638 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 11:08:46 +00:00
John Levon
2fd0569093 use Lsstream.h not sstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4635 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-14 17:25:25 +00:00
André Pönitz
2cb500754a unneeded function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4621 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 14:49:58 +00:00
André Pönitz
22b1e8d33a macro handling cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4620 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 14:24:47 +00:00
André Pönitz
80357480fe make \lim work for math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4619 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 11:21:21 +00:00
André Pönitz
e7d7e75c0a revert accidential change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4617 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 11:09:01 +00:00
André Pönitz
6adb9c9122 remove unneeded inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4616 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 10:28:15 +00:00
André Pönitz
a61a4ace28 fix parser bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4614 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 06:47:05 +00:00
John Levon
c17851a1d5 Move fontloader into lyx_gui stuff. Now Qt should compile out of the box
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4612 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 03:05:13 +00:00
André Pönitz
b80b2189f7 remove inset for \not
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4607 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 15:37:03 +00:00
André Pönitz
e3d52bd203 ascii export tweaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4604 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 15:04:43 +00:00
André Pönitz
86323de88f remove unneede functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4602 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 14:28:11 +00:00
André Pönitz
9b2be91bed replace (ascent, descent, width) triples by a structure 'dimension'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4601 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 11:27:24 +00:00
André Pönitz
d359dd8fca remove unneeded member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4600 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 10:20:31 +00:00
André Pönitz
bd6885433a remove hard-wired association LaTeX macro <-> mathed inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4599 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 09:34:58 +00:00
André Pönitz
4f7d532832 more robust lable parsing, convenience contructor for braceinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4597 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 07:56:14 +00:00
André Pönitz
6504da095b using previews might be a good alternative to hard coding such diagrams...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4595 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 15:51:28 +00:00
André Pönitz
55aa66a6e0 fix for #496
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4593 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 15:23:36 +00:00
André Pönitz
1db2de6e8c there was something wrong with stackrel nevertheless..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4587 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 10:51:43 +00:00
André Pönitz
a03efe6936 cosmeics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4586 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 10:46:37 +00:00
André Pönitz
89a24844c3 small compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4581 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 09:09:48 +00:00
Angus Leeming
a0003fb2a8 New lyxrc variables for the preview stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 09:09:37 +00:00
André Pönitz
251a7ae90a more cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4578 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 07:15:36 +00:00
André Pönitz
fa77b206ab cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4577 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 06:52:05 +00:00
André Pönitz
63f7e8ce2e baseline correction for wasy symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4576 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 06:12:00 +00:00
André Pönitz
0a034e45b8 fix #505
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4575 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 06:03:40 +00:00
Angus Leeming
9617cc8a36 Compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4569 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 14:00:59 +00:00
André Pönitz
2c3ae20fc2 support for wasy symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 13:38:27 +00:00
Angus Leeming
fb443a893e Trivial compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4564 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 10:06:27 +00:00
André Pönitz
884923f714 New support for \begin{...}...\end{...} style environments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 09:46:31 +00:00
André Pönitz
736d068866 forgotten files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4560 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 08:44:30 +00:00
André Pönitz
30b0c731b4 some code shuffling. New 'Dimension' class instead of passing around three
seperate ints


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4559 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 08:24:33 +00:00
André Pönitz
04330047dd fix compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4557 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 16:55:42 +00:00
André Pönitz
d2ef0fed95 fix the last fix...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 16:27:14 +00:00
André Pönitz
ec27454801 use a single function dimension() instead of three.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 16:20:53 +00:00
André Pönitz
469946043f make a some members private
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4552 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 14:57:12 +00:00
André Pönitz
f68213134c move code from nestinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4551 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 13:35:26 +00:00
André Pönitz
2f74107771 small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4550 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 13:34:04 +00:00
André Pönitz
b87536ec46 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4549 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 13:03:37 +00:00
André Pönitz
4dd411c611 preliminary work for \parbox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4543 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 11:29:51 +00:00
André Pönitz
f3059f5772 math internal re-organization to prepare de-centralized dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4542 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 06:39:40 +00:00
Angus Leeming
f68a2bfb91 Preview code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 21:24:15 +00:00
André Pönitz
ad68c67160 support for AMS's \text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4536 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 16:13:36 +00:00
Lars Gullik Bjønnes
de236c41d8 Changes to make RH-7.3 be able to run lyx.
Also changes to make gcc 3.1 compiled lyx exit cleanly after
above changes.

Move operator== out out InsetCommandParams.

Change some signals in GraphicsImage to function instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 17:45:35 +00:00
André Pönitz
46880e2b9b fix compilation error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4534 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 14:48:56 +00:00
André Pönitz
28076fac18 remove ../
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4533 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 14:32:34 +00:00
André Pönitz
4e021cd0a6 insetcommads -> insetcommandparams
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4532 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 14:22:14 +00:00
André Pönitz
cbafd3fc82 binom is binom is binom and choose is choose is choose ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4528 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 11:00:51 +00:00
André Pönitz
a78c4b15ff killing MathType simplifies a few things...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4520 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-03 10:36:44 +00:00
André Pönitz
cd19a0b33b Geof Piroux's patch for Mathematica support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4506 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-01 11:17:14 +00:00
André Pönitz
38be841d7c small parser bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4503 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 12:33:21 +00:00
Angus Leeming
888532c465 Asymptotic approach to a well-designed graphics loader.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 11:22:56 +00:00
André Pönitz
c3a3e12319 remove "remove seemingly unneeded {} hack"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4501 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 09:40:40 +00:00
André Pönitz
79ca6fbe6d fix compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4500 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 05:49:35 +00:00
André Pönitz
02b6d38f1a speed up preview a bit...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4499 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-27 18:12:50 +00:00
André Pönitz
2c1591e410 shorten filenames a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4497 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-27 13:01:31 +00:00
André Pönitz
f660211af3 Fix stupid parser bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4496 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-27 11:31:32 +00:00
André Pönitz
9724b8dd78 use external script now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4495 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-27 10:46:19 +00:00
André Pönitz
4bc59f2101 preview as preview can...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4491 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 19:04:45 +00:00
Angus Leeming
1bb197b5d4 Create a grfx::Loader class and so move large chunks of code out of
frontends/screen.C and insets/insetgraphics.C. Leave mathed/preview.C
untouched as an excercise for Andr� ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4489 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 14:15:08 +00:00
André Pönitz
61d960843d preview cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4485 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 09:15:23 +00:00
André Pönitz
9c1a896972 There is now a \preview lyxrc variable defaulting to 'false'.
Would be nice if someone would make this available in the preferences
dialog.

And this incorporates Herberts' patch to use pdfLaTeX which means
we are approaching TeXMacs ballpark of sluggishness...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4484 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 08:59:25 +00:00
André Pönitz
a153642391 first shot at preview is working
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4483 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 18:57:41 +00:00
André Pönitz
6aa8d56bdd first shot at preview. It crashes. Don't know why. To see it work a bit, change
formula.C:191, to see it crash remove the comment further down.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4482 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 18:21:17 +00:00
André Pönitz
254272868f fix the <...> delimiters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4479 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 14:29:24 +00:00
André Pönitz
a928cdd8a2 small bugfix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4478 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 14:06:52 +00:00
André Pönitz
ac6f91abb7 add some debug msg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4477 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 14:01:29 +00:00
André Pönitz
d0ae544d61 make 'det' partially work for math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4475 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 13:49:29 +00:00
André Pönitz
c649284611 several smallish changes/bugfixes/left overs from Porto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4474 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 13:19:50 +00:00
André Pönitz
a3660106fe replace ostream by support/LOstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4473 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 03:56:30 +00:00
Lars Gullik Bjønnes
65d4b13616 layout as layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 20:28:12 +00:00
André Pönitz
23f483a23e fix #456
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4470 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 18:10:01 +00:00
André Pönitz
4d59d00ad4 First shot at inset-unification mathed & rest of the world
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4467 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 15:51:35 +00:00
André Pönitz
3786644124 most of the so far unapplied stuff from porto including proper support for
\fbox and a few bugfixes (and quite probable lots of new bugs)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4466 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 15:37:14 +00:00
John Levon
1cadf458e3 redraw() cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4450 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-21 02:22:13 +00:00
Lars Gullik Bjønnes
f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
José Matox
c788ba4d67 playing around with visual feedback for the new mathed font insets
now a font change gets small (and hopefully not too annoying) markers and no two "logical" positions end up in the same physical position on screen. Comments welcome.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4402 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-14 12:24:28 +00:00
José Matox
cfa1446531 fix the fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4399 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-14 10:48:27 +00:00
José Matox
8953a40f95 keep x coordinate target when moving up/down
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4395 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-13 18:07:40 +00:00
John Levon
ab5f0efdcb Some minor cleanup + use of scoped_ptr instead of raw pointer,
to reduce diff size


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4374 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 02:54:19 +00:00
André Pönitz
b27f7bdaf9 remove bogus parser warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4337 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 07:54:26 +00:00
André Pönitz
e2e9f03515 some spaces have not been skipped in the parser...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4336 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 07:32:59 +00:00
André Pönitz
12130ed9b1 small font stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4335 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 07:12:05 +00:00
André Pönitz
aa1b4aa789 further \mbox tweaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4333 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-04 09:45:41 +00:00
André Pönitz
8d9f14a22b small advances with \mbox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4331 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-04 09:06:04 +00:00
André Pönitz
656a4db7b3 Cheangelog entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4325 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-03 07:32:47 +00:00
André Pönitz
bc6e1a1338 the parser changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-03 07:31:08 +00:00
André Pönitz
6f74c2c9b9 re-enable ams "autodetection" (I still think it is wrong...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4309 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-31 04:51:49 +00:00
André Pönitz
e093e5e80c try to fix rounding errors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 14:56:13 +00:00
André Pönitz
d25de6434b remove some chatter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4297 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 10:20:27 +00:00
André Pönitz
278b7f8fa5 cerr -> lyxerr[Debug::Mathed]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4290 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 09:19:12 +00:00
André Pönitz
fe87869cb7 fonts as insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4289 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 07:09:54 +00:00
Lars Gullik Bjønnes
1e39473100 Switch from SigC signals to boost::signals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
André Pönitz
6a0b1fe001 crude support for a few more AMS constructs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4280 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 15:58:26 +00:00
André Pönitz
c619f01003 add missing preview.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4259 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 08:51:32 +00:00
André Pönitz
1e0262d6ef add missing using's
start with 'preview' (not activated)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4245 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 11:13:01 +00:00
André Pönitz
66fb6d57da add using std::abs;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4235 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 08:48:42 +00:00
John Levon
97ef9131ba static_cast-based key/mouse-state. Kill insetKeyPress.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 17:33:14 +00:00
John Levon
962a0c5585 font loader / color handler move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4204 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 18:24:14 +00:00
John Levon
2dabaa33de font_metrics part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4203 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 14:34:32 +00:00
Lars Gullik Bjønnes
75d1fb6874 include vector and add a using statement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4196 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 10:01:07 +00:00
André Pönitz
4dd8a4ed0a First shot at "auto correction" feature in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4195 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 08:29:16 +00:00
John Levon
435d527581 guii2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4190 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 12:08:47 +00:00
John Levon
06f9f0ea08 OK I'll try guii1 again ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4186 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 09:21:32 +00:00
Lars Gullik Bjønnes
482c04ecca use more specific smart_ptr headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 01:16:37 +00:00
André Pönitz
6d1bc04227 missing ChangeLog entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4175 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-16 07:15:46 +00:00
Lars Gullik Bjønnes
f15d44ccf4 pastesel.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4171 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-15 23:49:08 +00:00
Lars Gullik Bjønnes
09955f825a small changed fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4166 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-15 21:53:28 +00:00
André Pönitz
277569593d add missing ChangeLog entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4165 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-15 16:02:24 +00:00
Lars Gullik Bjønnes
23306a5536 autodelreg2.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4156 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:15:40 +00:00
André Pönitz
13462e25c3 fix crash on paste as reported by Piroux Geoffroy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4153 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-13 12:42:03 +00:00
André Pönitz
89d85f7b60 Move the cursor a bit to the right in empty cells...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4139 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-08 16:17:57 +00:00
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
66c63a89ef bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4071 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-26 06:13:30 +00:00
André Pönitz
092e3ca6ec suppress (semi-)spurious informative message...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4070 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-25 15:37:10 +00:00
André Pönitz
8d4a2a275b Fix crash crash of the day when reading back non-rectangular "matrices"
(aka "error messages") (try yourself: \sqrt{x} and "M-x math-extern octave")


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4065 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-25 05:58:55 +00:00
André Pönitz
fc1b314998 fix crash due to wrong export of AMS's pmatrix etc in math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4060 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 17:07:42 +00:00
Jürgen Vigna
b83dce0da3 Forgot about this the Panel should NEVER be opened in a Press event ONLY
in the Release event!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4054 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 13:52:04 +00:00
Jürgen Vigna
d90f89db7e Fix clicking on a mathed inset with button != 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4051 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 09:01:03 +00:00
Jean-Marc Lasgouttes
0c02b0e141 allow insertion of protected space in maths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4042 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 22:31:49 +00:00
Lars Gullik Bjønnes
abc4ed9a65 add qt2/xforms to guilib + simple ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4039 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 16:31:14 +00:00
André Pönitz
83c2be0da4 fix enering of \_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4027 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 15:29:27 +00:00
André Pönitz
763fbc6f1b don't display a message unless in debug mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4024 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 14:05:33 +00:00
André Pönitz
1bef00e7a3 fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4012 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 05:25:45 +00:00
Jean-Marc Lasgouttes
2611cce4f1 fix math-delim
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4006 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 09:57:37 +00:00
André Pönitz
02962ba61a fix math cursor position after switching buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3997 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 15:26:32 +00:00
André Pönitz
db61b4cd53 Hotfix to move cursor to the right when pressing M-m g x in text mode.
We desperately need context sensitive keybindings and more atomic LFUNs..


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3992 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 08:50:20 +00:00
André Pönitz
5bd5028690 fix redraw problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3991 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 16:29:59 +00:00
André Pönitz
c23e945804 fix typo in error message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3988 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:14:13 +00:00
André Pönitz
acf7dbb946 remove debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3987 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:12:10 +00:00
André Pönitz
4025b11bc4 fix crashs discovered by Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3984 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 13:30:14 +00:00
André Pönitz
68bc4b573a don't show the empty-base-dot in a few cases...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3965 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 08:51:08 +00:00
André Pönitz
33024d85e3 Nobody noticed that right click on math insets did not pop up the panel
anymore?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3959 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-09 14:45:52 +00:00
André Pönitz
cbfd5fd8df fix crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3943 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 09:37:27 +00:00
André Pönitz
f4016cb52e small stuff from Martin's list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3941 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 08:12:09 +00:00
André Pönitz
c3c133bd2e fix lookup problem for \vert.
Funny what kind of problems turn up if one actually _uses_ LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3905 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 14:48:39 +00:00
Angus Leeming
c70e6fea61 Remove last traces of the hack used until yesterday for the cursor
positioning with the mouse.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3902 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 11:59:32 +00:00
André Pönitz
c724537223 shrink math insets by 2 pixels. this is closer to the output...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3900 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 10:25:17 +00:00
André Pönitz
12f082c3ba fix bug that disabled entering 'special char macros' like \, and \:
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3898 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 10:11:13 +00:00
André Pönitz
fb94708472 fix mouse clicks for macro insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3891 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 13:53:46 +00:00
André Pönitz
1e9b462b6e remove no more needed hack for positioning the cursor with the mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3890 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 13:40:22 +00:00
André Pönitz
539d0d1664 get recently broken \mathcircumflex working again (hackish, proper fix in 1.3)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3889 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 10:45:32 +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
ed79aee921 don't assert() on missing macro arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3878 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 07:33:38 +00:00
Allan Rae
1bcc13c757 let this code work with lyxstring also
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3876 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 02:45:23 +00:00
André Pönitz
ccd47b1fec try to get same behaviour as in 1.1.6 when typing \macro{
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3856 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 18:42:02 +00:00
André Pönitz
1c77a120de consolidate interface for macro creation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3855 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 18:04:36 +00:00
André Pönitz
855181bd35 small parser tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3854 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 16:13:52 +00:00
André Pönitz
28fa90eda0 small interface cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3851 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 11:02:56 +00:00
André Pönitz
593247d98a bugfix for compound 'symbols' using \lyxkern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3850 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 10:51:46 +00:00
André Pönitz
28168bd4df work around for bug reported by Mario Morandini
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3838 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 12:38:59 +00:00
André Pönitz
3d36ec3299 remove math_fontinset.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3825 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 13:24:28 +00:00
André Pönitz
a23e97b2f4 should not go in...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3824 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 13:09:04 +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
c8089f8bf9 makefile cleanup, and avoid some warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3821 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 11:15:27 +00:00
André Pönitz
cbc3add7f2 Wonder why Angus' compiler did not complain about this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3815 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 15:50:50 +00:00
André Pönitz
137aaf9cb2 fix two items from Konni's list of cursor up/down "issues"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3810 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 09:31:26 +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
Lars Gullik Bjønnes
7514c31edf drop the ld -r stuff, we gained nothing with it, other build optimizations gave us what we wanted; some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:49:07 +00:00
André Pönitz
a38728ff38 enable entering \mathbf#1 directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3797 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:13:17 +00:00
André Pönitz
74e3712580 fix Herbert's up/down problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3795 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 09:48:46 +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
Lars Gullik Bjønnes
35e1157317 Fix for bug: #260 special rules if partially linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 19:06:32 +00:00
Angus Leeming
5a030c8153 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3788 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 12:14:41 +00:00
André Pönitz
b719bc24b4 fix compilation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3786 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:22:23 +00:00
André Pönitz
546021819b fix compilation with g++ 3.0.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3785 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 07:54:14 +00:00
André Pönitz
724cbeaa42 using std::endl; and forbidden small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3784 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 07:30:32 +00:00
André Pönitz
a575055c84 suppress debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3781 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 17:30:41 +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
Angus Leeming
741f527784 Some trivial fixes of warning messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3768 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 16:32:52 +00:00
André Pönitz
4f64ce3c22 too many '\n' lead to too many empty lines...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3762 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 13:05:52 +00:00
André Pönitz
99cb25781a fix for the first item on Martin's list
some infrastructure for drawing as ascii art


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3761 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 11:45:53 +00:00
Lars Gullik Bjønnes
69013332e2 unification of all Makefiles.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3748 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 18:24:44 +00:00
André Pönitz
8794b7da67 disable some of the speedup thingies until I found aproper solution for the
macro redraeing problem


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3746 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 17:31:18 +00:00
André Pönitz
9b3a4dc5fd remove unneeded LFUN_MATH_MACROARG
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3745 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 13:36:36 +00:00
André Pönitz
eea39a8e42 don't draw spaces...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3739 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:22:01 +00:00
André Pönitz
e9875b7610 only accept #n in macros with at least n arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3738 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:20:35 +00:00
André Pönitz
c2072fa890 don't draw invisible things...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3737 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:17:21 +00:00
André Pönitz
82121d83da traversing math tables should be at least as fast as for ordinary table by
now...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:39:27 +00:00
André Pönitz
3c416fd6bf a changelog entry for a change...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3731 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:12:32 +00:00
André Pönitz
b5c6adc5fb more streamlining
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3730 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:11:51 +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
André Pönitz
e13a6abffb remove hack, gain speed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3727 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 13:28:57 +00:00
André Pönitz
19e6fc3513 re-enable mathrm toggling with C-m (was disabled by accident)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3698 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:55:39 +00:00
André Pönitz
4a5353cbbf allow deletion of a row of empty cells in an eqnarray even if we are in the
last row (was some off-by-one error)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3697 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:48:28 +00:00
André Pönitz
eb39922612 Fix parser glitch as reported by J.L.M.Assirati
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3696 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:34:51 +00:00
Angus Leeming
e2dc77eb6f Tweaking of the math panel dialogs from Martin...
and yes, this counts as bug fixing IMO.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3695 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:24:55 +00:00
Lars Gullik Bjønnes
e6fe0de052 cleaner ld -r
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 22:57:44 +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
André Pönitz
0be51952b9 don't insert space when given \rho<space> ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 15:14:02 +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
8d1c58af82 whichFont down to 5.3%
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3551 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 17:34:07 +00:00
André Pönitz
49da061b11 whichFont down to 9%...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3550 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 17:14:36 +00:00
André Pönitz
34d28f9daa don't copy if a reference is fine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3549 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 17:08:45 +00:00
André Pönitz
56f1c43ecc don't ignore ',' after '\rho'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3548 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 16:06:22 +00:00
André Pönitz
57eee4cdd6 some support for \xleftarrow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3547 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 15:01:01 +00:00
André Pönitz
df36a96f80 support for 'gathered', 'aligned', 'matrix', \overleftrightarrow,
\underleftrightarrow


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3546 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:50:40 +00:00
André Pönitz
0ad5f550fe fix parser bug for \begin{align}...\end{align}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3545 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:18:44 +00:00
André Pönitz
d7f701b8d6 move around debugging stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3544 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:07:09 +00:00
André Pönitz
a5322b93c6 pure cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3543 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 18:21:28 +00:00