Commit Graph

1441 Commits

Author SHA1 Message Date
Alfredo Braunstein
78ba1836ad factorize some code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7367 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 20:09:56 +00:00
Angus Leeming
8f90cc97a6 Replace occurances of system_tempdir with os::getTmpDir().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7365 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 18:25:29 +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
Asger Ottar Alstrup
8a2e3e4d73 Fixed undo crash in first paragraph by avoiding special case and doing a
full rebreak on every undo. Undo still is unpredictable in nested insets,
but hey, one less crash is worth a beer anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7355 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 11:58:47 +00:00
Angus Leeming
6b67e6829a Prettify the screen label of the external inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7353 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 16:48:04 +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
Angus Leeming
5a714d510d Use a FileName variable in the external inset too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7350 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 09:17:04 +00:00
John Levon
6f2c9fd6b2 Aiksaurus 1.0 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7345 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 15:23:35 +00:00
Jean-Marc Lasgouttes
c3e778fedb make menu warnings unconditional
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7337 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 09:15:55 +00:00
Angus Leeming
b249c0b0bb Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7335 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:51:17 +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
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
e3fcc05ff6 remove two unused variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7328 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 09:30:50 +00:00
Alfredo Braunstein
54b1bb8637 somewhat managed to misunderstand the logic. should be ok now, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7313 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:51:21 +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
Alfredo Braunstein
8d2394b02c fix crash reported by Kayvan + ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7311 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:25:16 +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
Alfredo Braunstein
dfbd44997a moved some converter/format functions to more appropriate places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7300 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 08:23:33 +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
31b0364c2d replace the LyXCursor::irow_ member with on-demand computation of the value
(as quickly tested by John last week)

LyXCursor does not know about rows anymore...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7290 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 08:42:26 +00:00
John Levon
f64d7de0bf showInsetDialog() for note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 23:52:05 +00:00
André Pönitz
69572ae035 remove unneeded refresh_row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7279 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:47:27 +00:00
André Pönitz
09378fd7c1 changelogs...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7277 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:10:05 +00:00
Alfredo Braunstein
4cd3bf1c07 remove reinit argument from LyXText::init (act as if always true)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7274 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 08:26:17 +00:00
Alfredo Braunstein
68e8fb6694 Juergen's clear-selection-before-insertion patch. See Bug: 441, Bug: 673, Bug: 702, Bug: 954, and Bug: 1226.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7273 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 06:51:47 +00:00
André Pönitz
8aff4a1530 slimmer row painter interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7272 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 17:50:00 +00:00
André Pönitz
135e7dc8a8 * insets/insettext.[Ch] (cy, ciy, setUpdateStatus):
remove unused BufferView * argument


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7270 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 15:17:40 +00:00
Alfredo Braunstein
7e5c4e7695 fix a crash on resize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7268 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 09:15:58 +00:00
Alfredo Braunstein
dcb9c3eabb fixes buffer closing crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7267 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-11 12:21:31 +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
Jean-Marc Lasgouttes
1279bac2b3 typos in ispell messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7251 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-09 14:36:40 +00:00
Martin Vermeer
cf9da8bc68 Extend Note inset to other forms of annotation like Comment
and Greyedout. Right button click gives dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7244 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-08 14:19:25 +00:00
Alfredo Braunstein
e1fb7cb03d Juergen's compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7243 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-08 06:40:21 +00:00
Alfredo Braunstein
e3fc822783 Added new signals to Buffer, connect/disconnect to them in BufferView, added BufferView::newFile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7242 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-07 08:37:02 +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
83a3833d60 BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7229 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-02 17:09:56 +00:00
André Pönitz
aeba4e75c3 last Friday's text*.C -> text_func shuffle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7225 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-01 11:51:20 +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
fa78e1ddb6 re-enable --with-included-string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7223 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 15:06:30 +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
André Pönitz
013df200fb guess what
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7217 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 11:55:35 +00:00
André Pönitz
fb27166b77 rename fullRebreak() to partialRebreak() and implement
a fullRebreak() that really breaks fully


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7215 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 09:44:26 +00:00
André Pönitz
5795dddd40 remove LyXCursor::row_ member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7214 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 08:38:41 +00:00
Alfredo Braunstein
43c6809ab4 Fix two loading-related bugs reported by Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7213 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 07:11:31 +00:00
André Pönitz
7ab4b6683f Move rarely used stuff out-of-line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7211 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-26 09:42:28 +00:00
Alfredo Braunstein
37e207d926 small tweaking (yes I'm dumb)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7210 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-24 21:43:25 +00:00
Alfredo Braunstein
3508b30871 More errorlist adjustements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7209 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-24 20:42:15 +00:00