Commit Graph

1259 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
2e57f2ff0a rename Inset to InsetOld
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7360 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 21:20:24 +00:00
André Pönitz
ec004b4318 fix getLabelList for mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7359 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 19:39:01 +00:00
Asger Ottar Alstrup
c3a34a64f1 Undo cleaned up. It seems to work pretty well now.
* undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
	Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
	which I think is a bit clearer. EDIT is gone, since it was
	premature optimisation, and broken for mathed anyway.
	* undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
	with cursor positioning in insets as well (math insets still do not
	work, but that's a different story anyway.) It mysteriously
	crashes sometimes with undo in the first paragraph, but I'm fairly
	confident that this is a compiler bug.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7358 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 19:18:43 +00:00
Lars Gullik Bjønnes
4ba8a4d6f6 the clone auto_ptr patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7356 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 17:11:25 +00:00
Angus Leeming
7668244a77 The inset mailers' inset2string function now requires a Buffer const & arg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7351 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 09:54:21 +00:00
André Pönitz
bd369211dc bugfix (width)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7339 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 09:20:23 +00:00
Angus Leeming
0d4d71dfe6 Finish the migration from namespace grfx to lyx::graphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7334 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:30:57 +00:00
André Pönitz
b6eefddb85 fix for Angus' redraw problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7317 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 14:04:49 +00:00
Lars Gullik Bjønnes
01b31c56c9 make lyx compile with gcc 3.4. remove some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 08:46:00 +00:00
Angus Leeming
389bc3fc89 Enable the math (sub-)dialogs to be opened when the cursor is in an math inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7310 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 16:55:03 +00:00
André Pönitz
341e897787 remove spurious call to repaint()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7305 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 11:42:03 +00:00
André Pönitz
a105cf94a9 'fix' stupid compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7291 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 14:20:43 +00:00
André Pönitz
11cee62d35 allow 'renewcommand' and 'def' for math macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7241 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-04 15:55:18 +00:00
Lars Gullik Bjønnes
fe390e9da1 namespace grfx -> lyx::graphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7239 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-04 08:23:23 +00:00
André Pönitz
3e0e2103b5 add 'special' member to ColInfo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7233 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-03 12:03:52 +00:00
Lars Gullik Bjønnes
92d522b7f1 introduce namespace lyx::support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
Lars Gullik Bjønnes
1a8665988f the doxygen patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7219 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-28 01:23:11 +00:00
Angus Leeming
bb01b3884c Remove 14 LFUNs; use "dialog-show <name> <data>" instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7191 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-19 16:49:45 +00:00
Angus Leeming
a0892f87e9 Get rid of Dialogs::showMathPanel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7181 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-17 13:16:25 +00:00
André Pönitz
9e50499320 fix underbrace drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7177 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-17 06:34:49 +00:00
Jean-Marc Lasgouttes
260e97342e compilation fix; audit and fix calls to cutSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7174 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-16 14:21:52 +00:00
André Pönitz
2a5ab60ce8 IU of clone() and getLabelList()
Some mathed internal renamings to prepare further IU


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7173 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-16 11:49:38 +00:00
Angus Leeming
ba01e80b7c Replace InsetButton and ButtonInset with a ButtonRenderer that can be
included as a member variable.
Enable InsetExternal to choose its renderer dynamically.
diffstat tells me
25 files changed, 627 insertions(+), 646 deletions(-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7160 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-12 08:52:36 +00:00
John Levon
ad6e8a6e7b clone() at long last !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7092 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-03 15:10:14 +00:00
André Pönitz
0b8a489710 remove double call to metrics()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7087 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 17:58:19 +00:00
André Pönitz
b625e2038a IU for validate(). I guess that's in the 'don't ask' category...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7085 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 16:14:33 +00:00
André Pönitz
75b82dd0d4 and that...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7081 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 10:08:35 +00:00
André Pönitz
285952e130 IU of drawing phase one without 'semantic changes' as requested by John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7079 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 10:03:27 +00:00
André Pönitz
d60684fd07 IU for second phase of two-phase drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7067 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-30 06:48:24 +00:00
Lars Gullik Bjønnes
0d90321817 simplify InsetList a bit and constify a bit too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7062 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-29 01:13:18 +00:00
Lars Gullik Bjønnes
b2284c1a07 remove commented same_id functions, and also remove some const_casts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7061 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-28 23:09:16 +00:00
André Pönitz
38fce2feac Prepare mathed for unified two-stage drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7059 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-28 13:22:36 +00:00
André Pönitz
a8e8e755fc rename the members of Dimension
* dimension.[Ch]: a -> asc, d -> des, w -> wid


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7053 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 13:55:03 +00:00
Lars Gullik Bjønnes
46e5fe4a67 get rid of same_id from function signatures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7044 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-26 09:13:55 +00:00
André Pönitz
ec96a1e117 small stuff (white space, const, remove a const_cast...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7033 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 15:30:48 +00:00
Angus Leeming
8f89b71dba Rename LatexRunParams::fragile as moving_arg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 09:23:03 +00:00
Angus Leeming
453f294074 The free_spacing patch and fix to the mess that Rob discovered.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7019 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 08:59:47 +00:00
Angus Leeming
e1940902fe Purely mechanical: move fragile into LatexRunParams.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7016 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 22:44:30 +00:00
Angus Leeming
ccce6b9662 Pass struct LatexRunParams around a bit...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 18:59:10 +00:00
Angus Leeming
b3608133b0 (Juergen) the new space inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 10:40:57 +00:00
Lars Gullik Bjønnes
d605c30d8c iterators-2.diff + some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6995 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-21 21:20:50 +00:00
André Pönitz
723ee136ba the ascent/descent/width -> dimensions() change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6979 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 17:03:12 +00:00
André Pönitz
14580a289e edit->LFUN_INSET_EDIT + CHangeLog + working URL insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6969 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-16 07:44:00 +00:00
André Pönitz
87ab4dc972 a bit visual feedback for substack...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6966 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-14 16:29:25 +00:00
André Pönitz
0e9bd2e87d STRCONV() all over the place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 16:24:49 +00:00
André Pönitz
d31244b5e2 The 'bformat' introduction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 09:48:57 +00:00
André Pönitz
8bfa794d28 Ling Li's makebox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6943 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 07:46:04 +00:00
John Levon
c7b495326e cursor.diff, bug 1095
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 18:05:53 +00:00
André Pönitz
bc29b6a790 revert part of the "grid unification" to prevent random crashs...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 07:52:15 +00:00
André Pönitz
ef3b4f2936 small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6918 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 07:43:23 +00:00