Commit Graph

328 Commits

Author SHA1 Message Date
Angus Leeming
0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
John Levon
ee8d50c73d Michael's UI patch v2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7548 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 15:45:09 +00:00
André Pönitz
566e084f63 weekend stuff less the chunk John "*strongly* disagrees with"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7527 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-11 09:09:01 +00:00
André Pönitz
cd75cc4376 * insettabular.[Ch] (updateLocal): simplify logic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7507 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 12:35:25 +00:00
André Pönitz
340b7d232c remove "deep update"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7501 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-05 08:07:07 +00:00
André Pönitz
e94eb6bed6 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7492 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 09:42:03 +00:00
Lars Gullik Bjønnes
f1ff990de7 Always use std::endl with lyxerr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7481 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 11:30:30 +00:00
André Pönitz
f8070d27f2 merge BufferView::repaint() and BufferView::update()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7477 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 15:27:57 +00:00
André Pönitz
f2ea978c45 remove InsetUpdatable::nodraw (premature...) optimization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7460 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 10:48:50 +00:00
André Pönitz
c0d7037aba remove toggleSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7459 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 10:24:22 +00:00
André Pönitz
202900df42 don't return a bool if void is sufficient...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7455 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 16:14:02 +00:00
André Pönitz
eead5ba43d prevent crash when inserting minipage in table cell,
small cosmetic stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7454 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 15:41:39 +00:00
Jean-Marc Lasgouttes
3ac99e899f cosmetic fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7414 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 13:04:40 +00:00
André Pönitz
b6f6469040 remove Buffer * parameter from a bunch of get*Font functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7398 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:59:06 +00:00
José Matox
6a2f81278d add support for tables and figures (linuxdoc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7371 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 21:53:54 +00:00
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
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
d6ed22a813 rowpainter.C: remove unused variables
tabular_funcs.C:
tabular_funcs.h: move to tabular.C
Makefile.am: adjust

tabular.[Ch]: basic optical cleaning

author.h: pass references, not values


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7329 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 11:01:29 +00:00
André Pönitz
15fdece6a3 simplify InsetTabular a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7322 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 16:23:17 +00:00
André Pönitz
934a082963 small general cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7321 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 16:13:33 +00:00
André Pönitz
4127ff8a32 remove unneeded Inset::getMaxWidth(
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7319 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 15:30:20 +00:00
André Pönitz
99b64f351e two-phase-drawing for InsetText & InsetTabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7312 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:47:07 +00:00
André Pönitz
6da2800573 prepare passing down max text widths...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7309 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 15:57:08 +00:00
André Pönitz
652a08b0a4 remove unneeded InsetText::old_max_width member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7303 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:32:06 +00:00
André Pönitz
bb0175e906 simplify InsetTabular::calculate_dimensions_of_cells a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7302 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:25:06 +00:00
André Pönitz
b853229344 reduce number of metrics calls in InsetTabular calculate_dimensions_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7301 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:10:16 +00:00
André Pönitz
52b22859af remove unneeded in_update_ members
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7299 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 07:43:55 +00:00
André Pönitz
e62ce55f8c remove Inset::update()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7298 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 07:32:01 +00:00
André Pönitz
cf31c9b219 Disable InsetText::update and InsetTabular::update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7297 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 06:45:39 +00:00
André Pönitz
cd12251e27 'full redraw' related stuff that's innocent for the upward-selection-in-tables bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7285 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 16:25:02 +00:00
André Pönitz
4ec8f6453d refresh_status_ trisate -> need_refresh_ bool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7276 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:08:02 +00:00
Alfredo Braunstein
9bc730abdb Take out bufferview from buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7259 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 12:26:40 +00:00
André Pönitz
485313c6d7 The insettext patch.
This has been out in the wild now for two weeks....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7252 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 08:00:41 +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
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
André Pönitz
cc19a4ff58 move cursor related data fro LyXText to new strcut TextCursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7216 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 11:53:41 +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
André Pönitz
0c52be524c make tabular a proper member of InsetTabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7170 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-13 07:37:48 +00:00
André Pönitz
824444b67b some renamings plus whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7162 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-12 11:52:44 +00:00
John Levon
330d20384e change tracking: mark the first table cell as erased too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7152 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-11 18:03:40 +00:00
John Levon
92782a861e back out tall table speedup. It broke column width setting.
I have no idea why. calculate_dimensions_of_cells must surely be called on the
SET_PWIDTH, but for some reason it doesn't resize the column despite resizing
the cell widths.

This is the sort of "fun" that changing anything in the table
code incurs. It sucks mightily :(


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7099 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 00:14:51 +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
John Levon
c3735f004f fix column width resize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7086 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 16:40:38 +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
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
Lars Gullik Bjønnes
4882d49f88 parlist-21-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7054 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 17:29:03 +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