Commit Graph

575 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
ea59317b9a use the par iterators a bit more, make paragraphs public in insettext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6315 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-02 23:44:58 +00:00
Lars Gullik Bjønnes
aaa02999f2 remove some compability code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-02 12:48:45 +00:00
André Pönitz
f566e7c604 Alfredo's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6305 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-28 09:49:49 +00:00
Angus Leeming
8e4a70423e *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6303 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-27 16:40:36 +00:00
Angus Leeming
ede9561daa Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6293 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-27 13:26:07 +00:00
Angus Leeming
86e2d69f18 Add locaDispatch methods to various inset classes. refactor the LFUN_XYZ_APPLY
code but do not yet attempt to collapse them into LFUN_DIALOG_APPLY.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6289 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 19:28:38 +00:00
John Levon
4d440a1473 The row-painter patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 17:04:10 +00:00
Angus Leeming
fa09ff85c4 Define InsetCommand::localDispatch and use it for LFUN_REF_APPLY.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6281 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 15:01:10 +00:00
Angus Leeming
a5d37d9a44 Strip out the caching of the BufferView by PreviewedInset. Use the cache
of the parent inset instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6279 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 13:10:16 +00:00
Angus Leeming
a67816b728 Alfredo's patch to get rid of insets in the graphics code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6277 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 11:41:23 +00:00
Angus Leeming
5a6c9536f6 (Alfredo) strip BufferView out of the graphics code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6268 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 19:09:00 +00:00
Angus Leeming
cda53633ff Hold on to your hats.
Qt users should autogen.sh
Gnome users --- you're on your own ;-)
Happy recompiling.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6253 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 14:51:38 +00:00
John Levon
6ea60cf308 fix bug 920
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6241 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 12:32:48 +00:00
John Levon
f413754ef5 fix bug 913 (toc crash)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6233 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-22 20:05:13 +00:00
Angus Leeming
12b3e1818e Reposition these BufferView access and caching methods, make 'em virtual
and give 'em defaults.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6222 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 12:11:53 +00:00
Angus Leeming
42c133563f Forgotten ChangeLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6218 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 09:21:02 +00:00
Allan Rae
c527376d4f ensure child document loading also works when under version control
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6216 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 05:52:34 +00:00
André Pönitz
305c04ba8b remove the hardcoded bibkey from the paragraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6186 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 15:16:14 +00:00
Jean-Marc Lasgouttes
13780bfb63 fix display of right quote inset; fix off-by-one error in placement of error insets; fix detection of fax programs; draw arrows for symbolic skips too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6160 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 21:39:32 +00:00
John Levon
cc4085e9ff minor method name changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6152 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 15:01:06 +00:00
John Levon
d2b70ea0e6 Replace ugly getParFromID() code with ParIterator-based stuff. I think
we can do the same for getInsetFromID() but Juergen didn't answer my query.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6145 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 02:21:01 +00:00
John Levon
609f0b3321 2003-02-13 John Levon <levon@movementarian.org>
* text.h:
        * text.C:
        * text2.C: move hfillExpansion(), numberOfSeparators(),
          rowLast(), rowLastPrintable(), numberofHfills(),
          numberOfLabelHfills() ...

        * lyxrow.h:
        * lyxrow.C: ... to member functions here.

        * paragraph.h:
        * paragraph.C:
        * lyxtext.h:
        * text.C: remove LyXText::beginningOfMainBody(), and call
          p->beginningOfMainBody() directly. Move the check for
          LABEL_MANUAL into the latter.

        * text.h:
        * text.C:
        * text2.C:
        * vspace.C:
        * BufferView.h:
        * BufferView.C: make defaultHeight() be a free defaultRowHeight()

        * text.h:
        * text.C:
        * text2.C:
        * text3.C:
        * frontends/screen.C: move bv_owner private, introduce isTopLevel()
          to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6143 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 00:41:44 +00:00
John Levon
ae87b94515 The big change tracking patch. Changes from posted version :
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global

I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
John Levon
2b2c661f84 Michael's text fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5980 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-23 16:23:43 +00:00
Angus Leeming
dd16b2eff7 (Michael Schmitt): the proper fix for the off-by-one cropping of graphics
images. Tested and verified to work beautifully.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5951 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-13 23:38:01 +00:00
Jürgen Vigna
8ed3c53596 Fixed down movement inside inset text (hopefully).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5917 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 09:27:15 +00:00
Angus Leeming
691568ea39 Minor bits 'n' bobs from Michael, J�rgen and Jean-Marc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-06 14:02:24 +00:00
Jean-Marc Lasgouttes
d775e02fe1 make sure extensions are kept when necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5870 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-19 10:07:35 +00:00
John Levon
2421c85ca2 Alfredo's double-dialog fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5865 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-18 22:11:07 +00:00
Lars Gullik Bjønnes
5956514071 use floatname instead of floattype
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5791 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-08 22:33:55 +00:00
Jean-Marc Lasgouttes
5a6845779e remove support for epsi; fix size of insetnote button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5776 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-04 13:26:55 +00:00
John Levon
654b750546 unbork insetinclude
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5775 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-04 12:07:48 +00:00
Lars Gullik Bjønnes
fe154c1d62 complie fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5759 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-02 08:45:51 +00:00
Lars Gullik Bjønnes
13349032cb ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 22:59:25 +00:00
Lars Gullik Bjønnes
271b807e8b fix the switch layout bug, add some more boost.format, some additional cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5757 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 21:10:37 +00:00
Lars Gullik Bjønnes
b016d9d773 use boost::format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5694 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-21 18:33:09 +00:00
Dekel Tsur
a981100a91 Support for block alignment in fixed width columns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5690 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-21 12:24:50 +00:00
Jürgen Vigna
d4ee5b69d0 Fix for the endless loop bug on wide tabulars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5680 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-20 16:42:28 +00:00
Lars Gullik Bjønnes
6a1167adab STRCONV
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 02:12:42 +00:00
Lars Gullik Bjønnes
dd9b8de435 small changes
prepare for the STRINGCONV patch


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5572 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 00:15:56 +00:00
Angus Leeming
b3e2ee2a8d (Rob Lahaye): read and write latex height data of graphic correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5562 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-31 11:33:49 +00:00
John Levon
eb2352f227 fix 568 (r=lars)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-30 15:09:55 +00:00
Jean-Marc Lasgouttes
527b60ce38 fix crash with external inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5544 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-29 16:01:19 +00:00
Jean-Marc Lasgouttes
8e41fc9bd0 work around crash with external inset and latex export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5514 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-25 12:46:01 +00:00
Angus Leeming
e1edfbe8a0 (Rob Lahaye): changes to the xforms graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5495 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 11:53:46 +00:00
John Levon
774dabb323 remove unused and a little documentation (all r=larsbj)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5462 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 16:21:56 +00:00
Angus Leeming
dde4494e66 Fix the drawing of an inset with a relative file path subdir/fig.eps
when pasting it into a buffer in a different directory.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5457 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 12:00:51 +00:00
John Levon
d009cd4d93 Remove \\protected_separator.
Tested with load/save a current lyx document, and lyx2lyxing of
klyx UserGuide


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5428 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-16 20:27:23 +00:00
Jean-Marc Lasgouttes
f26e81fc97 fix kerning problems with insetquotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5407 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-15 10:39:57 +00:00
Jürgen Vigna
f7d3fe8836 Fix undo bugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5395 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-14 14:59:50 +00:00