Commit Graph

345 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
064714a102 Remove the BufferView* arg from almost all LyXText class functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6519 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 16:25:00 +00:00
John Levon
3b9620ae6d paint cleanups as sent to list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6517 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 01:34:36 +00:00
Angus Leeming
bb8ce22e78 You've had enough time for that ol' review and I've made sure that things
work _despite_ of LyXLex so...
here is the Paragraph dialog reworked.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6487 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 13:56:25 +00:00
Angus Leeming
4a842aeb20 Yesterday's character dialog patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6472 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 22:17:50 +00:00
Angus Leeming
f4b2be060f Port the Merge Changes dialog to the Dialog scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6404 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-09 21:03:43 +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
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
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
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
1583baeb34 ws chanes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6313 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-02 12:16:00 +00:00
Angus Leeming
05a4c4d79f A real, LyX label dialog. Part 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6301 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-27 16:24:14 +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
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
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
Angus Leeming
80db139a76 The file dialog browser doesn't need a LyXView...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6223 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 12:22:25 +00:00
Angus Leeming
759dcbb427 * Split insetbib.[Ch] into insetbibitem.[Ch] and insetbibtex.[Ch].
* Rename bibkey as bibitem.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6217 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 09:20: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
13080e1cce My old allow/prohibitInput() -> busy(bool) patch cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6151 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 14:49:51 +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
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
John Levon
0d5b17b058 qt filedialog fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5652 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-17 08:32:09 +00:00
John Levon
7f67ec6200 bug 552
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5593 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-07 00:28:39 +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
Angus Leeming
eb5b07f615 Zombie-killer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-31 12:42:26 +00:00
John Levon
e0660589c4 Fix broken changes of wheel mouse. Sorry !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5460 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 15:29:41 +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
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
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
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
John Levon
5ef09542a2 Do not dispatch in BV when no buffer. Andre, please review.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5147 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 23:56:05 +00:00
André Pönitz
cd4d035577 moving more stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5142 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 17:33:42 +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
3c7c7a3209 the workarea changes plus small math stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5128 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 08:30:27 +00:00
André Pönitz
b9d544874e 7 out
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5126 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 16:16:17 +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
André Pönitz
ef17c169f4 15 moved, 23 dead, 1 bug squashed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5122 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:23:01 +00:00
André Pönitz
b3d8d0d1a2 just move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5121 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:00:59 +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
38fd440edb 27 moved, 19 killed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5119 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 13:39:27 +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
45b2220180 move a bit moer stuff from BufferView::dispatch to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5117 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 12:32:04 +00:00