Commit Graph

850 Commits

Author SHA1 Message Date
André Pönitz
5dbad757dc the formal stuff for an HFill inset (not active yet)
minor ws changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6444 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-11 11:52:05 +00:00
Angus Leeming
7ac850e36d Rewrite the MailInset as suggested to Andr��.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6438 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 22:12:07 +00:00
Dekel Tsur
90b68775e9 Fix default float placement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6436 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 19:58:25 +00:00
Lars Gullik Bjønnes
17580c2a01 Fix InsetText latex export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6432 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 17:49:24 +00:00
Angus Leeming
49fe972114 Add some warning messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6430 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 17:28:15 +00:00
Angus Leeming
a6a948feb1 Store an InsetBase & in MailInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 13:33:39 +00:00
Angus Leeming
ce20b638ed Cure warning message about a missing '\end_inset' when passing data between
the core and the dialogs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6409 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 03:11:54 +00:00
Angus Leeming
ded76b4ff4 Port the tabular dialog to the new scheme based on class Dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6401 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-09 18:11:57 +00:00
Angus Leeming
d94600a357 Remove the 'gross hack' of calling inset->edit when LFUN_MOUSE_RELEASE
is better handled by inset->localDispatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6395 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-09 09:38:47 +00:00
Angus Leeming
4c496f6e8d rewrite localDispatch as a switch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6384 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 21:44:48 +00:00
Angus Leeming
120c89f24f port the graphics dialog to the new scheme and get rid of the ControlInset
template.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6382 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 18:44:57 +00:00
Angus Leeming
fd8dca49b8 remove operator==, != for InsetExternal::Params. They were used only by the old controller scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6379 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 16:20:17 +00:00
Angus Leeming
be16393a7b * Remove LFUN_REF_INSERT.
* Add LFUN_DIALOG_SHOW_NEW_INSET to LyXFunc::getStatus' switch.
* Add a new LFUN_INSET_DIALOG_UPDATE to replace those nasty dynamic casts
in LyXFunc::dispatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6377 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 15:58:02 +00:00
Angus Leeming
e22ee4208d port the minipage dialog to the new scheme. Various other small changes
in the inset mailers and in the controllers.
Enable the include dialog to be lauched for a new inset (should please John ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6374 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 14:08:10 +00:00
John Levon
c803419c43 Alfredo's patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 20:21:21 +00:00
Lars Gullik Bjønnes
3bee5faf12 more ParagraphList work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 10:02:40 +00:00
Angus Leeming
80a4567bc2 Port wrap dialog to the new scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6357 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 23:19:45 +00:00
Angus Leeming
5449effb05 Move the float dialog to the new scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6355 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 19:46:08 +00:00
Angus Leeming
cba75d4489 Move InsetFloat's params into a separate struct to simplify the move to the new dialog scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6354 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 17:56:47 +00:00
Angus Leeming
61419611a0 Move the include dialog to the new scheme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6353 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 14:59:37 +00:00
Angus Leeming
b7c9ae4931 Move the external dialog to the new scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6351 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 11:30:35 +00:00
Lars Gullik Bjønnes
30a9dd7f98 add ParagraphList::erase, make mergeParagraph take a Buffer* arg, adjust other funcs to suit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6344 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 20:45:02 +00:00
Angus Leeming
e5cd3ce1a4 LFUN_INSET_MODIFY
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6336 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 14:31:04 +00:00
Lars Gullik Bjønnes
63e1ebc312 use ParagraphList::iterator a bit more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6330 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-03 23:19:01 +00:00
Lars Gullik Bjønnes
9b2ee8b7f9 adjust for boost 1.30.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6322 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-03 15:59:08 +00:00
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
Angus Leeming
2ed6872ad5 Fix to bug 633.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5382 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 12:18:55 +00:00
André Pönitz
816344ab1d Fix the "can't move out of nested text insets using pageup/down"
and a few cases of the "can't scroll over large notes" annoyances.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 10:45:28 +00:00
Dekel Tsur
fbb788ccb5 Patch from Juergen Spitzmueller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5348 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-26 08:59:34 +00:00
Dekel Tsur
36617cee5f Fix insetwrap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5339 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-24 18:36:20 +00:00
Lars Gullik Bjønnes
33f06bb79b forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5337 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-24 18:22:50 +00:00
John Levon
daff768455 Fix cut/copy enable r=jug ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5309 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-16 12:52:58 +00:00
Angus Leeming
b0357a33ae Rob's latest and greatest dialog tweaking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5282 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-12 08:44:23 +00:00
André Pönitz
4e672b30f3 lfun word-select
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5265 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 14:48:19 +00:00
John Levon
cbb3dc4564 remove unused nl
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5255 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-10 16:54:16 +00:00
John Levon
5a15177281 remove noload/don't typeset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5243 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-09 17:32:53 +00:00
Angus Leeming
b261483f24 Rob's dialog clean-up and Martin's 'disfucation' of insetgraphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5238 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-09 09:49:47 +00:00
Lars Gullik Bjønnes
cf3c73f4e8 remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5220 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-06 15:18:11 +00:00
Jürgen Vigna
2387be1880 Removed my comment about changes in InsetText as Andre inserted the right
one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5165 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 08:29:50 +00:00
André Pönitz
94045ff809 forgotten ChangeLog entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5163 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 08:13:10 +00:00
Jürgen Vigna
b093dab69b Fixed the selection problem for insettext/insettabular John reported
(as promised ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5162 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 08:04:22 +00:00
John Levon
6af5ac769a Rob's followup (nr. 1 ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5127 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 20:30:20 +00:00
Jean-Marc Lasgouttes
a0d71b53fe move floatlist to textclass
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5124 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:51:19 +00:00
Lars Gullik Bjønnes
a4d47c3448 compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5110 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 11:27:37 +00:00
Jürgen Vigna
d902fedf32 John's patch for fixing mouse button press lfuns inside insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5106 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 07:52:59 +00:00
John Levon
e91aba8dd0 elide long URLs - http://bugzilla.lyx.org/show_bug.cgi?id=404
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5096 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-25 01:15:01 +00:00
John Levon
db595adf2d missing changelog from Rob.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5094 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-25 00:16:48 +00:00
John Levon
91ba9e6f91 pedantic cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5091 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-24 20:25:17 +00:00
Lars Gullik Bjønnes
fd1a4f75e8 move pasteParagraph to global scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5062 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 17:35:24 +00:00
Dekel Tsur
128730e4c4 Do not remove spaces of keys inside \cite
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5054 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 09:14:16 +00:00
Lars Gullik Bjønnes
998c773a16 remove NO_COMPABILITY stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5052 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 07:30:57 +00:00
Lars Gullik Bjønnes
51e4d793ed more from the diff-5.diff merged
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4983 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 22:15:18 +00:00
Lars Gullik Bjønnes
a443001d5a fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4978 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 18:47:14 +00:00
Lars Gullik Bjønnes
1bb7741a5d diff test alterations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4976 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 18:38:59 +00:00
Lars Gullik Bjønnes
6cd49089c4 fix ParagraphList reading in InsetText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4961 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 09:11:24 +00:00
Angus Leeming
c10dfd15cd * LyXView: the accessor methods now return a reference to the member
variables, not a pointer.
* WordLangTuple: you can forward-declare a return type you know ;-)
* Qt: get it to compile again, having broken it yesterday.
* Everything else? See above.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4957 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 14:40:38 +00:00
Angus Leeming
9360861f33 * Fix reading of lyxsize_type in 1.2.0 documents.
* Document change to format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4945 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 16:41:15 +00:00
Jürgen Vigna
46af93a495 Don't open collapsable insets on mouse button 3 events.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4940 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 09:35:52 +00:00
Lars Gullik Bjønnes
5bd7f9d67b The ParagraphList stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4937 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 00:15:19 +00:00
Lars Gullik Bjønnes
116dbc66eb a new paragraph function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4930 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 15:21:07 +00:00
Angus Leeming
8478e5dcfe LaTeX can now find \input insets where the file has a relative path.
(Thanks to John for unwittingly informing me of the existance of input@path.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4920 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 11:16:54 +00:00
John Levon
30a10564b1 two minor cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4913 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 02:50:20 +00:00
Jürgen Vigna
52ca14b791 Don't put selected stuff into the clipboard on delete and backspace keys
(Patch from Michael Schmitt).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4889 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 12:00:08 +00:00
André Pönitz
b8198905dc the FuncRequest changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4887 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 08:11:41 +00:00
John Levon
6b5c9696b6 Remove LYX_LAYOUT_DEFAULT - it is very very old, even klyx doesn't use it.
Commit the multi-language spellcheck patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4882 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 22:38:44 +00:00
Angus Leeming
84bdbe2eac Add a monitor to the previewed image of a \input-ed file, so that the
image is refreshed if the file changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4879 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 14:02:59 +00:00
John Levon
7c98b3bd37 spellchecker cleanup - fscked knows why pspell is broken, I am TOTALLY
baffled by that one.

Various other cleanups, including a fixed version of lyxlex that doesn't
destroy the preamble ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4854 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-04 23:11:50 +00:00
Angus Leeming
5e802bab4d Change the LyX file format, adding a "preview" flag to Include insets.
Document this change in a new file FORMAT.
Enable the user to toggle preview status by modifying the Include dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4849 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 18:25:25 +00:00
Angus Leeming
5f46df1f0f Now generate previews when loading the buffer for insets in insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4847 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:39:43 +00:00
Angus Leeming
cc132995fa Cache the BufferView as a weak_ptr; get rid of those horrible current_views.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:30:58 +00:00
Angus Leeming
d91ffd8d78 Previews for \input insets.
Refactor code common to InsetInclude and InsetFormula into a new
PreviewedInset class.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4830 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 17:28:59 +00:00
Lars Gullik Bjønnes
043298544c Rename strip to rtrim
Rename frontStrip to ltrim
Add new trim function.

modify source for this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 22:50:13 +00:00
Lars Gullik Bjønnes
e39935204d remove some unneeded version of functions from lstrings,
some gcc 3.2. minor compile fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
Jürgen Vigna
d0cc00980d Fixed 2 more problems with s+r. This fixes #482.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 09:50:16 +00:00
Jürgen Vigna
2232b64760 Fixed some s+r bugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4788 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 15:42:35 +00:00
Jürgen Vigna
a33189175a Performance patches for tabulars from Edwin and John. Removed some
code which was there only for debugging purpose from undo_funcs.C.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4782 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 11:39:38 +00:00
John Levon
14299daf10 J�rgen's float patch + "span columns"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4781 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 11:06:25 +00:00
Jean-Marc Lasgouttes
4d5046100f fix 172; please test
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4766 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 21:03:38 +00:00
Jean-Marc Lasgouttes
10aefc07a0 herbert patch to read 1.2.0 graphics insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4760 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 12:20:21 +00:00
Jean-Marc Lasgouttes
af9352a2e7 latest graphics jumbo patch from herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4741 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 12:36:41 +00:00
Jean-Marc Lasgouttes
1dc25c472f time to recompile everything: I removed #include directives from headers here and there... Not sure what the net effect is, but it cannot be worse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 21:21:06 +00:00
Jean-Marc Lasgouttes
1c52d8f898 toc support reorganization; changes to xform_helpers; aspect ratio patch from herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 15:51:07 +00:00
Jean-Marc Lasgouttes
8a91f206c6 implement DependsOn tag for layout files; more uninteresting cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 20:47:54 +00:00
Jean-Marc Lasgouttes
f6fa515491 toggleInset improvement; make lyxpreview work out of the box (?); apply aspect ratio patch, with a part disabled (angus, help!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4714 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-19 21:44:14 +00:00
Angus Leeming
6206e59009 File monitoring is Go!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 14:01:42 +00:00
Angus Leeming
ddb684f332 Disable direct loading of PostScript files by the xforms image loader.
Apply Herbert's patch removing special casing to deal with rogue PostScript
files.
Fix a few more comments.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4693 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:55:21 +00:00
John Levon
91bcdf564a Make showState be view_state_changed, and rename setState to something
more descriptive


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4671 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 04:13:41 +00:00
Jean-Marc Lasgouttes
1dbfc15548 fix 514 (from herbert)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4668 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 22:12:25 +00:00
Jean-Marc Lasgouttes
57e89ae2bf compile fix in XPM image loader; fix opaque handling; remove warnings; fix turkish locale problems; add shortcuts to documents menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 21:17:10 +00:00
John Levon
bc2f8994a2 remove getPixmap() from GraphicsImage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4642 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 17:17:57 +00:00
Angus Leeming
16b928088f Smart loading of image files for previews and for the graphics inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4638 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 11:08:46 +00:00
Dekel Tsur
0c062bec1b RTL fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4631 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-13 15:00:06 +00:00
Dekel Tsur
67d0aa74f4 RTL fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4630 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-13 14:56:42 +00:00
Angus Leeming
f68a2bfb91 Preview code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 21:24:15 +00:00
Lars Gullik Bjønnes
de236c41d8 Changes to make RH-7.3 be able to run lyx.
Also changes to make gcc 3.1 compiled lyx exit cleanly after
above changes.

Move operator== out out InsetCommandParams.

Change some signals in GraphicsImage to function instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 17:45:35 +00:00
André Pönitz
f849bc4a62 separate insetcommand.[Ch] into two files
we should be ble to use this later to reduce include dependencies


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4530 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 13:54:28 +00:00
Jean-Marc Lasgouttes
64f38ce0cb better cyrillic languages support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4525 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-03 14:18:32 +00:00
Angus Leeming
888532c465 Asymptotic approach to a well-designed graphics loader.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 11:22:56 +00:00
Angus Leeming
a31eb3b2df std::auto_ptr -> boost::scoped_ptr and compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4490 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 16:57:59 +00:00
Angus Leeming
1bb197b5d4 Create a grfx::Loader class and so move large chunks of code out of
frontends/screen.C and insets/insetgraphics.C. Leave mathed/preview.C
untouched as an excercise for Andr� ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4489 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 14:15:08 +00:00
André Pönitz
7e652bb51c second part of Claus' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4487 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 11:55:40 +00:00
Angus Leeming
514156adbb * Split the graphics loader into a frontend and a backend.
* Add frontend code to generate and display the pixmap to InsetGraphics.
* Add (much simpler) frontend code to the LyXScreen to show the splash screen
once more.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 15:59:10 +00:00
Lars Gullik Bjønnes
65d4b13616 layout as layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 20:28:12 +00:00
André Pönitz
de48d23893 compiler warning/tiny whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4468 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 17:26:15 +00:00
John Levon
481937ef95 Herbert's graphics diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 20:47:49 +00:00
Lars Gullik Bjønnes
f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
Angus Leeming
dccad7aed8 Remove the using std::difftime declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4404 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-14 16:32:22 +00:00
Jean-Marc Lasgouttes
69f2886be9 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4389 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-13 10:11:32 +00:00
Jean-Marc Lasgouttes
6623030337 fix drawing of double quotes; fix input of cyrillic and greek characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4387 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 15:56:51 +00:00
John Levon
0db59752e2 Painter and scrollbar API patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4386 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 15:01:32 +00:00
John Levon
021ad027a9 refactor topCursorVisible() prototype a little. Compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4378 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 10:31:34 +00:00
John Levon
92e53dc01b Rename screen, and don't re-construct it on a buffer change (that is far too
nosy of the core), and use an accessor ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 23:47:58 +00:00
Angus Leeming
9548351ef8 Compaq cxx 6.5 will now compile lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 07:57:39 +00:00
Jean-Marc Lasgouttes
4bad42dd2e fix external templates; fix bug 423
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4339 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 15:07:44 +00:00
Jean-Marc Lasgouttes
c3f9ef4313 fix bug 391, parrot patch from herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4313 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-31 12:17:28 +00:00
Lars Gullik Bjønnes
3c72325602 2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>
insetexternal.C (updateExternal): dont only look for difftime in global scope


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4301 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 16:47:45 +00:00
Lars Gullik Bjønnes
26349384b2 2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>
insetexternal.C (clone): fix () bug when using new


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4293 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 09:43:29 +00:00
John Levon
20fd7f4bf6 add const
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4287 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 02:53:41 +00:00
Jean-Marc Lasgouttes
df279e7596 fix bugs 357 and 407; speedup Paragraph::Pimpl::isTextAt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4285 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 22:07:59 +00:00
Lars Gullik Bjønnes
1e39473100 Switch from SigC signals to boost::signals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
André Pönitz
551e3864c6 move inset related stuff from src/graphics to src/inset/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4247 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 11:50:04 +00:00
John Levon
97ef9131ba static_cast-based key/mouse-state. Kill insetKeyPress.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 17:33:14 +00:00
John Levon
2dabaa33de font_metrics part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4203 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 14:34:32 +00:00
Jürgen Vigna
20d61473cc Enable compilation with lyxstring again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4198 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 10:39:34 +00:00
John Levon
98b254c810 more guii moving around.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4192 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 15:43:25 +00:00
John Levon
435d527581 guii2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4190 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 12:08:47 +00:00
John Levon
06f9f0ea08 OK I'll try guii1 again ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4186 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 09:21:32 +00:00
Lars Gullik Bjønnes
482c04ecca use more specific smart_ptr headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 01:16:37 +00:00
Lars Gullik Bjønnes
5296e9e995 change call to shared_ptr::reset, move some using declarations around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4181 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-21 23:50:36 +00:00
Lars Gullik Bjønnes
f15d44ccf4 pastesel.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4171 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-15 23:49:08 +00:00
Lars Gullik Bjønnes
c3221a5d49 bug338patch.gz
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4163 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 14:22:11 +00:00
Jürgen Vigna
a565711d08 Added missing initialization of first_after_edit variable in constructor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4162 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 11:11:02 +00:00
Lars Gullik Bjønnes
a4f506e427 insetcite.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4160 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:47:12 +00:00
Lars Gullik Bjønnes
308b9789ca samefile.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4157 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:19:05 +00:00
Jürgen Vigna
9e534c8750 Don't call edit() on not higly editable insets if we're just called edit().
In Highly editable inset we have to to enter it with the cursor (fix #387).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4155 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:10:14 +00:00
Jürgen Vigna
983c8fad11 InsetCollapsable::insetButtonRelease returned the wrong return value in
some circumstances.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4152 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-13 08:49:43 +00:00
Jürgen Vigna
aa3c665813 first_after_edit was not set in the right place in one ::edit call (fix #385)
(see ChangeLog for detailed description). Anyway this stuff is one of the
first things to remove as soon as we have a decent inset and paragraph
iterator in 1.3.0!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4148 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-09 13:43:40 +00:00
Lars Gullik Bjønnes
fbccc15f8f return correct value
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4147 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-09 13:36:45 +00:00
Angus Leeming
d1899a14fc (Herbert): small read graphics inset bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4133 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-07 10:02:02 +00:00
Dekel Tsur
fab4e282c5 fix the problem with endfloat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4131 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-05 15:15:51 +00:00
José Matox
a743bb8db8 Docbook related stuff:
* Fixed several typos.
  * Protected emphasis inside code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4125 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 11:56:49 +00:00
Jürgen Vigna
0f86536740 Forgot to recalculate the cursor position as it is requested when calling
fitInsetCursor (fix #229).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4123 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 10:17:56 +00:00
Angus Leeming
c72a67965a Whitespace ONLY!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4101 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 10:23:51 +00:00
Angus Leeming
030311739b (Herbert): enable successful export to LaTeX if the graphics file is
stored without extension.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4084 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-29 09:24:19 +00:00
Dekel Tsur
86d8e730d7 Fix bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4082 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-28 14:00:48 +00:00
Angus Leeming
1a5a664e44 Translate labels for float:algorithm, float:figure and float:table.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4079 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-26 15:38:15 +00:00
Angus Leeming
d3f5007c75 (Herbert): resolve the problems of creating eps files in the working dir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4053 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 10:53:55 +00:00
Angus Leeming
d2d18edefc WYSIWYG citation labels when using natbib.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4052 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 10:00:39 +00:00
Jürgen Vigna
4bf874c30e Fix off by one error in tabular draw selection code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4045 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-23 13:14:27 +00:00
Jürgen Vigna
018653ef27 Rewoke full selection make with selectall otherwise we may paint the
selection later (tabulars).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4038 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 14:52:46 +00:00
Jürgen Vigna
2356001ed3 Fixed use of uninitialized variable code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4037 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 14:31:47 +00:00
Angus Leeming
b6126838b5 (Herbert): strip the extension from the graphics filename when exporting
to latex.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4036 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 17:16:00 +00:00
Jürgen Vigna
43ad9cf095 Fix the rebreak and cursor position if we had a CHANGED_IN_DRAW (fix #175).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4035 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 14:16:08 +00:00
Jürgen Vigna
19ba6786a9 Fix recalculating of row dimensions on a zoom (fix #333).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4034 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 13:23:39 +00:00
Jürgen Vigna
a9a371fb5e Call an update before setting the_locking_inset = 0 as otherwise we
don't repaint! (fix #332).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4033 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 11:12:14 +00:00
Jürgen Vigna
c57ca65f78 Fix small redraw bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4026 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 15:19:14 +00:00
Jürgen Vigna
2fbc66100c Fix page up/down behaviour with very high rows. Same for selection with mouse.
(fix #311, #60)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4021 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 09:47:08 +00:00
Jürgen Vigna
ba73010ca1 Forgot to save changed file ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4014 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 09:54:58 +00:00
Jürgen Vigna
ba79607927 Simplified code and don't enter inset on cursor down/up while we are selecting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4013 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 08:34:59 +00:00
Angus Leeming
e70099ded4 Overide the InsetCollapsable::ascii method to not output anything at all!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4009 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 16:43:19 +00:00
Jürgen Vigna
1eba5295d8 Losts of fixes to cursor handling with insets. Cursor up/down now can
transverse also inset if they are on it's way, Page up/down for InsetText
fixed (cleanly now as I finally understood the algorithm ;) This fixes some
non reported bugs, some in Michaels list, some reported on the mailing
list and #314 on our buglist.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4008 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 14:10:39 +00:00
Angus Leeming
143f71f691 (Herbert): fix parsing of bibtex entry bug.
(Henry Pfister): also fixes bug in loading bibtex database.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3999 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 09:09:42 +00:00
Jürgen Vigna
ba21e6498c Fix for wrong cursor.x pos when before a fullRow inset (added ix), small
perfomance fix in LyXText's raw drawing, fix for adding paragraph in insets
when not allowed to do so (bug in Michaels list not on lyxbugs.).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3990 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:59:03 +00:00
Jean-Marc Lasgouttes
4b4a18e85a fix bug with relative paths in insetgraphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3985 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 13:50:04 +00:00
Jürgen Vigna
2588a92167 Simplified code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3979 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 08:31:06 +00:00
Angus Leeming
4036639aa5 (Herbert): nit-picking!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3977 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 18:40:59 +00:00
Jürgen Vigna
c9a31728e9 New function ciy() which handles cursor.iy() functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3972 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 15:08:22 +00:00
Jürgen Vigna
c55ff9a13d Fixed \foreignlanguage outputs and small fix to x return on ERTInsets Button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3969 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 13:35:03 +00:00
Angus Leeming
2099c3cc2b (Herbert): fix compatibility read of InsetFigure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3951 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 17:26:33 +00:00
Angus Leeming
29730d15a1 (Herbert): delete old 1.2 stuff and add forgotten special option.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3945 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 14:47:21 +00:00
Jürgen Vigna
546d0f52c7 make a CURSOR update if we inserted a character (fix #312).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3910 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-05 12:31:42 +00:00
Jean-Marc Lasgouttes
22ae5c8873 proper support for "List of XXX" insets; fix error when there is a list of algorithms but no algorithm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3903 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 14:39:55 +00:00
José Matox
c7db12d1ac docbook:
Fixed the output of label, that is an empty element.
  output footnotes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3893 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 17:44:05 +00:00
Jürgen Vigna
c04225fdf1 Fix insetButtonPress in InsetText the same way as in Bufferview_pimpl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3892 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 13:59:04 +00:00
Allan Rae
8aca784469 quick fix for commented out figures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3885 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 04:13:25 +00:00
Jean-Marc Lasgouttes
d1830fc935 pqtch from herbert to simplify insetgraphics output when file has not been found
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3881 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 12:48:41 +00:00
Jürgen Vigna
5e3b849ce7 Some more fixes to selection, fitCursor calls for InsetText/Tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3864 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-29 15:49:45 +00:00
Jürgen Vigna
b45d1b31f5 Fixes to mouse handling in and outside a InsetText (fix #308, #309).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3863 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-29 12:24:50 +00:00
Jean-Marc Lasgouttes
0afa5607b7 fix some non-localizable strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3861 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-28 13:27:25 +00:00
Jürgen Vigna
be1bd533f3 Fix old tabularcode/ert compatibility read (fix #305).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3860 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-28 13:21:37 +00:00
Jean-Marc Lasgouttes
78f2a7a19e new classes from herbert, units patch from herbert, grace file export fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3853 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 12:27:17 +00:00
Jean-Marc Lasgouttes
f28f62b420 parselog fixes, i18n fix, menu separator fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 00:05:28 +00:00
Angus Leeming
c3144da934 Set the size of an image displayed in LyX correctly, when loading an
old-style figinset. (From Herbert.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3845 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 18:20:11 +00:00
Angus Leeming
04e819e4fd Are we iterating to a converged solution? Assuming that this works on
cygwin, then yes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3844 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 18:08:07 +00:00
Angus Leeming
ff7eec0cbe Use \textbackslash in preference to $\backslash$.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3843 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 16:10:49 +00:00
Angus Leeming
055a98c1e7 "latexify" the file name if the graphics file is not found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3842 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 15:21:58 +00:00
Angus Leeming
07386186b0 * Revert Herbert's patch of yesterday to deal with non-existent
graphics files; it isn't needed anymore.
* Produce "pretty" latex output if the graphics file isn't found.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3837 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 12:17:04 +00:00
Jürgen Vigna
ddabf92e20 Fixed insert File inside tabulars/insettext (fix #301,#302).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3833 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 11:05:30 +00:00
Jürgen Vigna
0b5694eeb0 Don't collapse InsetERT on close() if inlined (fix #293).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3830 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 09:51:12 +00:00
Angus Leeming
ab53dc5d7b Herbert's patch to stop LyX from hanging if the graphics file does not exist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3826 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 16:15:46 +00:00
Angus Leeming
545777433a Fix export of graphics file with relative path name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3820 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 11:04:34 +00:00
Angus Leeming
4f9bed1018 Enable the graphics inset to work correctly with relative file names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3816 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 16:37:52 +00:00
Angus Leeming
b97138d0e8 * Use JMarc's browseRelFiles rather than browseFiles.
* Prevent activation of Ok,Apply in graphics dialog when file is not found
* Partial fix for bug 229. Still need to emit updateParagraph when leaving
  an inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3814 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 15:24:32 +00:00
Lars Gullik Bjønnes
a654de29ea ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3802 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:09:55 +00:00
Lars Gullik Bjønnes
7514c31edf drop the ld -r stuff, we gained nothing with it, other build optimizations gave us what we wanted; some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:49:07 +00:00
Jürgen Vigna
b15efeb111 Collapse the contents of multicolumn cells into one (fix #121).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 15:58:54 +00:00
Lars Gullik Bjønnes
35e1157317 Fix for bug: #260 special rules if partially linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 19:06:32 +00:00
Jürgen Vigna
92904c615a Fix polling of selection request to not call the asString function every time.
Fixed a redraw problem for InsetGraphics (fix #271).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3787 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:36:03 +00:00
Angus Leeming
9fd0b17bd4 John's msg3.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3775 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 09:47:34 +00:00
Angus Leeming
13978291c4 Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3769 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 17:37:08 +00:00
Jürgen Vigna
0fd56e0359 Remove some showInsetCursor calls we don't really need (fix #106).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3764 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 14:53:21 +00:00
Jean-Marc Lasgouttes
08bd49a344 lfun_core.diff, make insetgraphics inline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3743 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 13:24:51 +00:00
Jürgen Vigna
4be2b9b40f Force redraw of row if we changed (John's patch fix for #268)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3708 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 14:04:41 +00:00
Jürgen Vigna
c7fc42d88c A hack fix for #268.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3707 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 13:52:19 +00:00
Jürgen Vigna
471fe41fde Now hopefully fixed for updates in insets inside this inset text
(don't know why I missed this earlier fix #263).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3705 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 11:26:22 +00:00
Jürgen Vigna
2b24ca217f Fix updating inset inside insets (typically graphics after loading).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3701 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-08 11:42:30 +00:00
Jean-Marc Lasgouttes
61e89e29e1 fix uninitialized variable in insetexternal; espace ~ in \input@path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3694 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 16:03:36 +00:00
Angus Leeming
fc4790823b remove #include "WorkArea.h".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3690 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 15:43:02 +00:00
Jürgen Vigna
ff8f704031 Fix bugs in minipage compatibility read (fix #240).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3681 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 16:02:51 +00:00
Jürgen Vigna
06b35a161d Fixed InsetText's frame redrawing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3674 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 10:40:31 +00:00
Jürgen Vigna
dfcfccfc36 More fixes to InsetERT (hopefully the last ones for now).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3673 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 10:17:29 +00:00
Lars Gullik Bjønnes
26f07a39bc get rid of Paragraph::clear
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3672 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 23:02:37 +00:00
Jürgen Vigna
82cc1af962 Changed behaviour of Inlined ERT insets (fix 251).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3665 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 14:55:20 +00:00
José Matox
d228f08abd For linuxdoc and docbook:
* add empty methods to insetnote (as latex)
   * fix use of uninitialized varible in insetquote
   * fix standard style in layout files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3664 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 13:38:40 +00:00
Jürgen Vigna
a2a6509aff Fixed calling edit off subinset on a ButtonPress event (fix #214).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3663 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 11:51:07 +00:00
Lars Gullik Bjønnes
9a7ee91f53 gross hack to set layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3659 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 16:10:47 +00:00
Jürgen Vigna
1ec8e312f4 Fixed Inset->File as inside insets (InsetTabular/InsetText) (fix #257).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3658 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 15:42:54 +00:00
José Matox
427f6a68ff Fix to deal with the pernicious mixed content model in tables,
the exported docbook and linuxdoc output now is ugly but correct.
Included files final fix, now they work in all cases, with or
without temp directory.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3651 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 10:04:29 +00:00
Lars Gullik Bjønnes
5bf11fc429 forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3649 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:26:22 +00:00
Lars Gullik Bjønnes
dbd7a961fc layout as string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Angus Leeming
eb6a0ad551 Upgrading of my xforms libs showed that lots of files thought they depended
on xforms. Further inspection showed that they didn't!
I've done nothing more than remove #include "lyx_gui_misc.h" here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:50:20 +00:00
Jean-Marc Lasgouttes
4b07057b7e "ding-dong, the witch is dead!", says John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3609 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 14:06:24 +00:00
Angus Leeming
77866d9e88 Some more fixes to compiler warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3607 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 13:10:26 +00:00
Jürgen Vigna
3c599a8c2a Clear selection on PgUp/Down in tabulars (fix #216).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3605 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 12:02:19 +00:00
Jean-Marc Lasgouttes
b5fcf8a4b8 next try at fixing 214; dist bugfix from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3602 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 10:43:24 +00:00
Jean-Marc Lasgouttes
53c6d464f6 turn proof of concept from Juergen into fix for #214
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3598 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 15:19:21 +00:00
Jürgen Vigna
af8dccce0f Added a insetButtonRelease call returning true as prove of concept (fix #214).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3590 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 16:14:45 +00:00
Jürgen Vigna
74085939ee Fixed wrong update handling after change I leave in the wrong code for the
one who wrote it to remove and have a look what he did wrong (fix #243).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3589 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 15:42:19 +00:00
Jürgen Vigna
0942c39b77 handle font changing stuff when we have a cell selection (fix # 217).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3588 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 15:17:00 +00:00
Jürgen Vigna
529603f179 Force a SELECTION update if we had a selection and we passed the event down to
the inset (fix #213).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3587 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 11:55:31 +00:00
Jürgen Vigna
6953743e22 Fix for #191, setting the cursor to the second paragraph if available if the
first one is empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3582 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 13:25:03 +00:00
Angus Leeming
fae3fd8ab1 Herbert's graphics14.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3578 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 16:34:53 +00:00
Jürgen Vigna
a53810d986 Forgotten ChangeLog entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3577 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 15:36:15 +00:00
Jürgen Vigna
4a5b7a5952 Don't remove cell selections after fontchange.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3574 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 11:43:52 +00:00
Jürgen Vigna
c5b947b23c Clear the space around a cells inset also above (Fix for #156).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 11:31:32 +00:00
José Matox
1b85ecfa3d Fix graphics and file inclusion in docbook, with cleaner code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3571 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 09:04:56 +00:00
Angus Leeming
d0a3af12d9 Synching my tree with cvs.
I'm committing all the little, but uncontroversial, changes that have
built up in my tree. This will result in an almost total recompilation for
you all but will mean that things are less painfull when the other changes
go in!

* Rename files syscall.[Ch] as systemcall.[Ch].

* Rename class Systemcalls as class Systemcall as one instance of the class
  represents a single child process. Remove the default constructor too.

* Add a running() method to class Timeout. Results in recompilation of almost
  the entire tree because pretty well everything depends on LyXView.h which
  #includes "frontends/Timeout.h", so...

* Make the Timeout instances in classes LyXView and minibuffer pointers,
  allowing us to forward declare class Timeout.

* Add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to commandtags.h in anticipation
  of something wonderful!

* Add a signal showForks to Dialogs.h, again anticipating some real code.

* wrap the structs firster, seconder in frontends/controllers/helper_funcs.h
  in a namespace to prevent a clash with similarly named structs in
  support/lyxalgo.h

As you see, lots of irritating bits and pieces which don't make much sense in
themselves but do in light of the other changes I've got here.

I'll post the big changes to the list for proper perusal.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 19:13:48 +00:00
José Matox
834cd64152 Small fixes for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3565 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 17:33:14 +00:00
Angus Leeming
c4458da683 Bug fix from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3541 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 17:36:20 +00:00
Angus Leeming
49dcb7a5d4 Herbert's graphics10.diff patch, part I.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3533 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 18:53:36 +00:00
José Matox
30fde4225f Escape & in urls.
New example file for linuxdoc-manpage.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3531 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 14:34:23 +00:00
Jean-Marc Lasgouttes
919b745fa6 fix insetert drupdate problems (bug #176); fix row breaking after protected chars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3529 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 10:37:28 +00:00
Jean-Marc Lasgouttes
f7d7339688 two small patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3527 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 10:01:52 +00:00
Angus Leeming
f4c86428a3 FormExternal patch from Rob,
graphics9 patch from Herbert.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3517 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 10:42:11 +00:00
Angus Leeming
21245ae533 Herbert's bugfix patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3509 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 10:47:02 +00:00
Angus Leeming
2dd83864e5 Herbert's unzip et al patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 19:37:34 +00:00
Angus Leeming
aeba607310 Herbert's graphic7.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3490 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 18:43:28 +00:00
Angus Leeming
bcfdd54d46 Yes, yet another patch from Herbert!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3484 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 12:19:32 +00:00
Angus Leeming
a625b2d27f Herbert's latest "graphic5" patch (with the zippedFile stuff commented out),
his one-line fix to updateWidgetsFromLengthString,
a tiny bug fix of my own.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 15:36:45 +00:00
Angus Leeming
e173216d0a * Add a DEFAULT state to InsetGraphicsParams::DisplayType.
* InsetGraphics::updateInset will interogate lyxrc.display_graphics if
params.display == DEFAULT.
* Ensure that the "default" display is read to and written from file correctly.

Next to do: pass a GraphicsParams struct to the GraphicsCache when adding
an image rather tahn just the filename and use this to decide exactly
how to display the image. Will therefore be able to strip out the
lyxrc stuff from ImageLoader et al.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3476 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 18:53:50 +00:00
Angus Leeming
7c49abda63 A couple of fixes from Herbert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3467 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 09:57:44 +00:00