Commit Graph

121 Commits

Author SHA1 Message Date
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
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
John Levon
9fc9bd98f6 bufferlist cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6163 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-15 19:21:11 +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
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
John Levon
74c871a9fc encodings patch + default win pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-05 22:38:42 +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
John Levon
ebef7baa26 Darren's patch, reworked
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5451 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 00:15:48 +00:00
Dekel Tsur
c54cbc95c0 Fix reading of old format templates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5342 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-25 12:19:13 +00:00
André Pönitz
65e2f0f63d BufferView.[Ch]:
don't provide direct access to WorkArea, use two simple
		acessors haveSelction() and workHeight() instead

  [And the ChangeLog entry, which was in the editor but not saved...]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5173 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 13:41:58 +00:00
André Pönitz
edc55ba120 Makefile.am:
BufferView2.C: remove file, move contents to...
BufferView.C: ... here

BufferView_pimpl.C:
factory.C: move more inset creation to factory

vspace.C: avoid direct usage of LyXText, ws changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5172 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 13:05:55 +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
André Pönitz
eb395d9d31 move mouse click handling to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5132 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 10:45:38 +00:00
André Pönitz
527cd00d2f move 42, kill 12
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5120 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 14:43:49 +00:00
André Pönitz
2a0909f47b 73 lines moved, 15 killed... spoils the average ;-}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5118 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 13:17:22 +00:00
André Pönitz
107ecefbad move some stuff from BufferView_pimpl.C to text3.C and lose a few lines...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5072 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 13:02:14 +00:00
Lars Gullik Bjønnes
f7927c40c8 compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5040 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:31:23 +00:00
André Pönitz
1d4154f333 another 100+ lines bite the dust...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5035 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 15:26:52 +00:00
André Pönitz
c69f29dda7 move half of BufferView_pimpl::dispatch() to LyXText::dispatch()
which has its new home in text3.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5030 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 13:00:25 +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
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
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
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
John Levon
361d3fd6a2 x prefs crash when no buffer as reported by Rob
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4643 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 18:01:29 +00:00
John Levon
1cadf458e3 redraw() cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4450 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-21 02:22:13 +00:00
John Levon
60b905b885 Merge the working bits of the resize patch, and fix a couple of things
that broke.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4441 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-20 20:37:42 +00:00
John Levon
64488b06af remove some more unneeded focus stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4436 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-19 23:55:55 +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
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
ab5f0efdcb Some minor cleanup + use of scoped_ptr instead of raw pointer,
to reduce diff size


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4374 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 02:54:19 +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
John Levon
d6120758ce apply workarea() patch. Most of it is orthogonal to the scoped_ptr
debate anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4370 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 22:38:49 +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
Jürgen Vigna
6e00a5436e Remove wrong and unneeded insetSleep/Wakeup functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4046 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-23 13:35:43 +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
Lars Gullik Bjønnes
8283e978f8 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +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
Jean-Marc Lasgouttes
6774c17368 fix to checkInsetHit() from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3227 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 14:25:04 +00:00
Jürgen Vigna
aae301e9cd Update/cursor and drawing fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2405 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 14:55:06 +00:00
Lars Gullik Bjønnes
57a2087d37 some ert fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2346 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 19:45:21 +00:00
Angus Leeming
31b56dac80 In for a penny, in for a pound. Consistent use of // -*- C++ -*-
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 08:20:41 +00:00
Lars Gullik Bjønnes
313252eb8b various changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-04 23:57:32 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Jean-Marc Lasgouttes
407dc56e97 Kayvan --export fix ; Angus toolbar fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1983 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 15:38:24 +00:00
Lars Gullik Bjønnes
c9b653fc80 ws, inherit privately
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1923 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 13:43:57 +00:00
Lars Gullik Bjønnes
3eea90dbbc no log...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1698 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 19:29:58 +00:00
Jürgen Vigna
e07f7bcc50 This moves all LyXText related LyXFuncs to BufferView::Dispatch so that they
can also be called from inside the InsetText::LocalDispatch. Some small update
and repaint fixes for InsetText.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1610 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-23 16:10:03 +00:00
Jürgen Vigna
9704a004bd Various fixes to InsetTabular and InsetText + Angus's cleanup patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1535 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-19 16:01:31 +00:00