Commit Graph

1058 Commits

Author SHA1 Message Date
Angus Leeming
1fde8ceb86 don't forget <config.h>...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6213 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-20 17:50:06 +00:00
André Pönitz
5246fc5583 split inset -> inset + updatableinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6212 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-20 17:39:48 +00:00
André Pönitz
fdaf203c12 some ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6202 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 16:58:16 +00:00
John Levon
5931d72922 more std::
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6201 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 14:44:49 +00:00
André Pönitz
ff1355a08a fix bibkey writing, avoid a few copies, whitespace changes..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6196 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 13:25:18 +00:00
André Pönitz
2b99c9b189 re-enable insertion of bibrefs (and remove 19 lines...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6195 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 12:36:02 +00:00
André Pönitz
a58158344d iu2: move localDispatch() to InsetBase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6194 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 11:47:16 +00:00
André Pönitz
a4e4ebc7eb First step towards unified insets...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6189 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 17:12:50 +00:00
André Pönitz
04f1569003 remove Inset::deletable() as it returns always 'true'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6187 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 16:16:49 +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
Lars Gullik Bjønnes
99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
André Pönitz
dc758191b5 tex2lyx version 0.0.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6085 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-10 16:31:38 +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
2e36b1b652 fix some BoostFormat mistakes, cast the 0u par to string::isnert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5760 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-02 09:59:43 +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
53274e31ec the string -> char patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +00:00
Lars Gullik Bjønnes
00efea7970 handle USE_BOOST_FORMAT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-24 15:20:31 +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
Dekel Tsur
293767645f Fix LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5507 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 18:31:47 +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
d341df3252 Forgotten header file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5383 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 14:06:37 +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
Angus Leeming
0507b8600d Copyright notices
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5345 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-25 14:26:13 +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
Lars Gullik Bjønnes
20a85bb24f loose SIGC_INCLUDES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5336 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-24 18:20:26 +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
Dekel Tsur
bc56bb9ffa Add insetwrap.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5247 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-10 10:18:58 +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
André Pönitz
fe61081acf bugfix (clicking into insets in insets was broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5140 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 16:32:18 +00:00
André Pönitz
f59571dcab 100 lines moved, 33 dead.
Just for the record:

1.2.1:
  3666    8203   85497 BufferView_pimpl.C
  2693    8230   72506 text2.C
  6359   16433  158003 total

1.3cvs equivalent:
  1451    3413   34098 BufferView_pimpl.C
  2407    7391   64931 text2.C
  1588    4040   39668 text3.C
    94     203    2167 factory.C
  5540   15047  140864 total

so we saved over 800 lines by just moving stuff around...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5134 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 12:09:19 +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
André Pönitz
52ef85f57f essentially Martin's patch to fix the \end-deeper bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5108 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 09:31:09 +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
cf216cd7fc Rob's patch and some minor cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5092 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-24 22:02:30 +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
André Pönitz
95d1d96798 whitespace changes to sync my tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5082 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-23 11:47:03 +00:00
Jean-Marc Lasgouttes
11953d3734 the optional argument patch from martin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5079 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-23 09:05:32 +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
5e7275dabc remove NO_PEXTRA_STUFF
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5045 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 20:30:45 +00:00
André Pönitz
570ac6e4f4 more stuff from Lars' diff-6 (write one par at a time)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5039 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:29:37 +00:00
André Pönitz
53cc89eed6 - parts of Lars' diff-6.diff
- move inline functions from buffer.h to buffer.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5038 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:18:21 +00:00
André Pönitz
11ffa04773 use the new mouse LFUNs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5021 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 10:11:13 +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
André Pönitz
808973619b the lfun3 patches (overall cleanup and "localizing" dispatch() in mathed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4958 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 17:43:40 +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
260c7f3187 The InsetList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4933 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-11 15:03:52 +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
Angus Leeming
f643df79a8 * Make the graphics files conform strictly to the Pimpl idiom by moving
the boost::signals into the relevant Impl classes and creating new,
publicly-accessible connect() methods.
* Const-ify all publicly-accessible methods, reflecting the fact that each
class contains only a const pimpl_ member variable.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4687 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 16:56:42 +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