Граф коммитов

117 Коммитов

Автор SHA1 Сообщение Дата
kmcclusk%netscape.com 8d64023edc Added IsPainting method to return whether the viewmanager is currently painting. bug 56335 a=buster@netscape.com r=vidur@netscape.com 2000-10-17 05:03:45 +00:00
kmcclusk%netscape.com 3c200a5ad8 Added new method to control whether ViewManager and ViewManager2 double-buffer when rendering. bug 49743 a=roc+moz@cs.cmu.edu r=peterl@netscape.com 2000-09-26 05:04:53 +00:00
roc+%cs.cmu.edu d854e17240 Adding new nsIView/nsIViewManager APIs so that a view can have a different parent for Z-order/clipping purposes than its geometric parent. Bug 39621. r,a=waterson 2000-08-12 19:05:52 +00:00
saari%netscape.com 00ad136b80 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
cls%seawood.org 33938e6100 Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
evaughan%netscape.com 4ab93afb2e fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
joki%netscape.com b2e873d830 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
troy%netscape.com 8b0eb04e08 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com 96f16854ec backing out troy's changes to fix various ui not working blocker bugs. 2000-04-24 22:05:39 +00:00
troy%netscape.com 73fc3dde30 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
kmcclusk%netscape.com fb31d1a466 Clip now applies to child views. b=11660 r=buster@netscape.com
Prevent the invalidation of hidden views (1/2 patch from <Tomi.Leppikangas@oulu.fi> b=34466 r=buster@netscape.com
Prevent ViewManager1 from getting into endless loops (patch from <jst@citec.fi> b=25336 r=buster@netscape.com
tested=WINNT, Linux, Mac
2000-04-13 21:56:27 +00:00
evaughan%netscape.com 36425cfe40 1) viewmanager2 optimizations -r troy, kevin
2) box fixes for Rod's gfx listbox
3) memory leak fixes
4) box fixes in prep for grid widget
2000-04-03 03:55:38 +00:00
kmcclusk%netscape.com 4fcfd42b15 Added capability to view manager to offset its coordinate space b=32161 r=attanasi@netscape.com 2000-03-23 23:49:18 +00:00
dbaron%fas.harvard.edu fd5dc605d2 Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
kmcclusk%netscape.com 4d12d19a42 Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
beard%netscape.com 1e3fbe74f7 added Set/GetCompositorFlags(), which will eventually replace GetScratchPoint(). 2000-02-02 00:58:22 +00:00
kmcclusk%netscape.com 06e11f665b Added missing nsIViewManager methods to nsViewManager2.h and nsViewManger2.cpp.
bug=22069; r=attinasi@netscape.com
2000-01-27 02:23:34 +00:00
kmcclusk%netscape.com dc23d344e1 Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
beard%netscape.com 84cbca2516 floating views. bug=21966, r=troy, rods, a=brendan 2000-01-25 01:53:34 +00:00
rods%netscape.com ccd12d79ec temprary fix for combobox dropdowns that jump all around.
r=beard a=chofmann bug 19416
1999-12-14 22:21:58 +00:00
tbogard%aol.net 981b300078 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. 1999-11-24 06:03:10 +00:00
beard%netscape.com 54792d43d1 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kin%netscape.com 2c6c5d65d1 Fix for bug #15360: Drag Selecting, Clicking, then Clicking leaves caret cruft.
r=troy@netscape.com,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com

layout/html/base/src/nsGfxScrollFrame.cpp
    - Renamed all occurrences of ScrollPositionChanged() to
      to ScrollPositionDidChange() to match changes made
      to nsIScrollPositionListener.
    - Added ScrollPositionWillChange() stub method.

layout/html/base/src/nsPresShell.cpp
    - Added PresShellViewEventListener class that implements the
      nsIScrollPositionListener and nsICompositeListener view
      interfaces. This allows us to turn caret rendering on and off
      when scrolling and repainting to prevent leaving caret cruft
      on the screen.
    - PresShellViewEventListener is created in InitialReflow(), and
      released in ~PresShell().

view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
    - Added nsICompositeListener to list of files to be exported.

view/public/nsICompositeListener.h
    - New file. Implementers of this interface can register themselves
      with the view manager to receive notification before and after
      a view is composited/refreshed.

view/public/nsIScrollPositionListener.h
    - Added a ScrollPositionWillChange() method.
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().

view/public/nsIViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener methods.

view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
    - Added NotifyScrollPositionWillChange() and
      NotifyScrollPositionDidChange() methods.
    - Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
      methods. Added temporary offsetX and offsetY variables to allow us
      to calculate new offsets without changing mOffsetX and mOffsetY before
      notifications are sent out.

view/src/nsScrollPortView.cpp
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().
    - Modified ScrollTo() to call the listener's ScrollPositionWillChange()
      method.

view/src/nsViewManager.cpp
view/src/nsViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener() methods.
    - Added support for CompositeListener notifications in the Refresh()
      methods for regions and rects.
    - Fix for bug #15901: [DOGFOOD] Selected text does not clear when you type
      Modified UpdateView() so that rects with zero width and height are
      no longer added to our damage region.
      r=beard@netscape.com
1999-10-15 04:29:30 +00:00
evaughan%netscape.com dd8734ed83 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
beard%netscape.com 470c87ef61 bug #7774: added new bit NS_VIEW_PUBLIC_FLAG_AUTO_ZINDEX, SetAutoZIndex/GetAutoZIndex to support CSS2 auto z-indexing. a=leaf, r=troy 1999-09-23 23:26:54 +00:00
beard%netscape.com b7379dd39c bug #6251: added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager. a=leaf, r=troy 1999-09-23 23:26:47 +00:00
joki%netscape.com f3b8c1d1a2 Add new scroll method to allow scrolling to top or bottom of doc. 1999-09-21 14:15:53 +00:00
beard%netscape.com 6bb85f6f32 bug #6251: added UpdateAllViews(PRUint32 aUpdateFlags), which will force a complete refresh of all views owned by an nsIViewManager. 1999-09-19 00:51:41 +00:00
beard%netscape.com c86d588ad3 nsIScrollPositionListener support. 1999-09-18 04:42:11 +00:00
beard%netscape.com 09f6f6f97b Added nsIScrollPositionListener.h 1999-09-18 04:39:03 +00:00
beard%netscape.com 012a57794d First Checked In. 1999-09-18 04:34:49 +00:00
beard%netscape.com 6c8a1fae2a switched to NS_DEFINE_STATIC_IID_ACCESSOR 1999-09-13 03:04:17 +00:00
beard%netscape.com 798ac3c3f0 switched to NS_DEFINE_STATIC_IID_ACCESSOR, removed extraneous AddRef, Release declarations. 1999-09-13 03:03:42 +00:00
briano%netscape.com 64f859af0e Cleaned it up and eliminated the pointless #!gmake. 1999-09-02 00:30:07 +00:00
cyeh%netscape.com df37c0fb33 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00
beard%netscape.com 102254690f Changed GetIID() to NS_DEFINE_STATIC_IID_ACCESSOR. 1999-08-28 03:01:32 +00:00
rods%netscape.com d222c86771 The method nsIView::CreateView has parameter that indicates whether D&D for the widget
should be turned on or not. This make it configurable from the outside,
it is needed for the editor
1999-08-26 14:41:18 +00:00
warren%netscape.com 6fc20cbcd6 More necko changes. 1999-06-25 01:53:22 +00:00
buster%netscape.com f77050318c added GetIID static methods to public interfaces. Code-reviewed by Kevin M. 1999-06-24 22:40:53 +00:00
kin%netscape.com 5548735176 Added implementation of BeginUpdateViewBatch() and
EndUpdateViewBatch() to nsIViewManager and nsViewManager.
1999-05-26 21:13:06 +00:00
evaughan%netscape.com 2b76d2dc93 Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
troy%netscape.com 6de54225e5 Removed #define ALL_VIEW_FLAGS which is no longer used 1999-04-24 22:58:14 +00:00
troy%netscape.com c1987aeb49 Added function GetClipView() 1999-04-24 02:52:58 +00:00
troy%netscape.com d279c12ec4 Made a bunch of nsIView member functions "const" 1999-04-23 17:44:48 +00:00
troy%netscape.com 2acb6b4e38 Changed a comment a little 1999-04-21 21:22:22 +00:00
troy%netscape.com be7c4f5b18 Added NS_VIEW_FLAG_DONT_BITBLT flag 1999-04-21 21:08:27 +00:00
michaelp%netscape.com 710117681b a parting shot. 1999-04-16 21:22:45 +00:00
michaelp%netscape.com 8a29649a56 added GetExtents(). 1999-04-16 04:50:02 +00:00
michaelp%netscape.com bda045ca40 cleaned up view flags stuff. 1999-04-16 04:23:43 +00:00