Commit Graph

1481 Commits

Author SHA1 Message Date
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
e275c5d811 remove need_update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7476 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 15:17:22 +00:00
André Pönitz
5eb1059f50 make redoParagraph more independent of current cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7470 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 11:22:13 +00:00
José Matox
aa848b8ccf remove file_format from buffer.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7469 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 10:23:16 +00:00
André Pönitz
bd3f5d89f4 remove unneeded LyXText::workWidth(InsetOld const *)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7466 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 14:07:59 +00:00
André Pönitz
58fd3c844a put two functions in one, remove global variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7464 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 13:12:21 +00:00
André Pönitz
acc3e7135c remove unused Paragraph::copyIntoMinibuffer
remove unsed bool return values


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7463 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 12:25:36 +00:00
Angus Leeming
1c155241d8 Martin's changes to the Note inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7456 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 21:47:18 +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
Alfredo Braunstein
bee8db371f Fix to Bug 1232 (as discussed on bugzilla)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7453 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 15:34:47 +00:00
Martin Vermeer
f67b9fda9e limited 'arg' scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7449 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 13:55:44 +00:00
Martin Vermeer
eaa3fd6ee0 fixed Note submenu issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7447 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 13:08:12 +00:00
Martin Vermeer
1771dbf348 submenu for Note/Comment/Greyedout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7446 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-30 11:39:36 +00:00
Alfredo Braunstein
5fb7795b10 Fix to Bug 1287 and Bug 1297
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7443 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 16:40:26 +00:00
Martin Vermeer
93ea6f14a0 Implement a newenvironment in preamble for greyedout. Patch provided
by J�rgen Spitzm�ller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7442 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 12:20:04 +00:00
Jean-Marc Lasgouttes
3261bad69e fix bug when reading bind files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7438 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 09:43:15 +00:00
Angus Leeming
7fa3f39b0d Kill ChangeCitationsIfUnique; various small bits 'n' bobs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7435 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:53:36 +00:00
José Matox
29df5f4f83 \end_document replaces \the_end.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7430 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 22:30:50 +00:00
André Pönitz
efff440e70 remove toggleToggle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7427 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:22:42 +00:00
José Matox
131eabe56c \layout -> \begin_layout and missing \end_layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:17:11 +00:00
Lars Gullik Bjønnes
8721e76079 more compress support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7419 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 14:40:29 +00:00
Jean-Marc Lasgouttes
6f91069b50 fix writing of tabulars; output the real lyx version number at the top of generated files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7418 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 14:09:05 +00:00
André Pönitz
ebab2dbbfa use doubles again for x-coordinates. They are needed after all...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7411 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 12:20:42 +00:00
Lars Gullik Bjønnes
4a6041664e lyx_localedir fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7410 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 11:43:40 +00:00
Lars Gullik Bjønnes
a16c8a8759 zlib stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7405 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 23:40:08 +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
30964c75af Add \end_layout, increment file format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7397 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:39:54 +00:00
Angus Leeming
8700a256d3 All day for not very much...
Well, Ok, tex2lyx now has reasonable values for the build_lyxdir,
system_lyxdir, user_lyxdir variables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7394 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 19:26:36 +00:00
André Pönitz
a4776de061 get rid of LyXText::need_break_row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7389 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:41:46 +00:00
André Pönitz
f1d08128dd removed (unused) compatibility code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7385 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 14:47:10 +00:00
Lars Gullik Bjønnes
20b42535af put namespace toc inside namespace lxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7384 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 13:18:55 +00:00
Lars Gullik Bjønnes
00e5c3f3a2 get rid of namesapce lyxfind and introduce namespace lyx::find
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7379 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:02:58 +00:00
Asger Ottar Alstrup
60896529f0 Optimise rowBreakPoint and setHeightOfRow as well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7378 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 11:16:25 +00:00
André Pönitz
330fdeda26 restrict scope of temporary variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7377 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 10:44:39 +00:00
Asger Ottar Alstrup
9ea1c79aa0 When calculating fill, exploit data structure to avoid superfluous calls to getFont.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7376 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 10:42:11 +00:00
Asger Ottar Alstrup
672ab42137 Work to improve performance a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7373 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 00:37:17 +00:00
Jean-Marc Lasgouttes
80d7f70dc3 move reading of bind files from lyxrc.C to kbmap.C; do not read bindings or menus when not using gui; move paper related enums to a new paper.h; remove dependency on bufferparams.h from lyxrc.h; small bugfix to tex2lyx; fix bad menu shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 23:04:39 +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
José Matox
00a58355dd Rename arguments of makeLaTeXFile to a sane scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7370 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 21:37:10 +00:00
Asger Ottar Alstrup
b52b324d64 Change a brain-dead algorithm to a smarter one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7369 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 20:51:52 +00:00
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