Commit Graph

6209 Commits

Author SHA1 Message Date
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
eee532a581 Learing to fly...
system_lyxdir is now a function too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7396 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:04:02 +00:00
Angus Leeming
d75728c527 I'm speeding up...
build_lyxdir is now a function, not a global variable.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7395 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 20:17:31 +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
c625f0a370 small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7393 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 18:56:26 +00:00
Jean-Marc Lasgouttes
11edc2b194 tex2lyx improvments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7392 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 18:25:58 +00:00
André Pönitz
f8d90604b9 remove stuff from LyXText::checkParagraph() I don't understand
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7391 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 16:01:20 +00:00
Martin Vermeer
3fae1f4503 Added #include <memory> needed by gcc 2.95.2 at least.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7390 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:52:05 +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
Angus Leeming
a1a329fd24 Remove cruft spotted by Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7388 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:32:15 +00:00
John Levon
c78dd62448 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7387 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:09:45 +00:00
André Pönitz
810c0e95da i thought I committed that already...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7386 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:09:13 +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
José Matox
b4a7936882 insetnote.h (linuxdoc,docbook): update support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7383 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 13:02:26 +00:00
Jean-Marc Lasgouttes
cf1307fcea cosmetic fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7382 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:36:52 +00:00
José Matox
0fb57d28ad forgot Changelog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7381 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:15:10 +00:00
José Matox
ff66614d1a remove layout Comment, fix bug 1280 critical for 1.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7380 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:08:53 +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
Lars Gullik Bjønnes
89c62d0625 drop support for autoconf 2.13
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7375 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 10:08:16 +00:00
Angus Leeming
926b68c0aa Remove hard coding of command layouts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7374 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 00:39:35 +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
André Pönitz
fcb82ea793 remove spurious extra drawing from cursorNext() and cursorPrevious()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7368 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 20:38:19 +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
Asger Ottar Alstrup
1d371a287d *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7366 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 19:04:03 +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
Angus Leeming
01403f7e71 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7364 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 18:17:48 +00:00
Angus Leeming
399e7da435 Forgotten files ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7363 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 00:17:21 +00:00
Angus Leeming
812b659d89 Enable tex2lyx to read the LyX textclass and to use this info a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 00:15:38 +00:00
Jean-Marc Lasgouttes
c7f1fcdc65 towards saner frontends (?). Part II: the menubar (now it is possible to switch frontend without recompiling GUII code)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7361 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 21:34:45 +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
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
Jean-Marc Lasgouttes
3501eef8f8 towards saner frontends. Part I: the toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7357 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 18:10:34 +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
John Levon
192f2c94b2 fix bug 1285 (selecting font properly in the prefs combo)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7354 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 23:13:53 +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
e59f7a4ef5 A color picker for xforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7352 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 15:36:40 +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
Angus Leeming
c52a93b038 Add Kernel::bufferFilepath() as a wrapper for Buffer::filePath() and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7349 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-23 09:07:28 +00:00