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

928 Коммитов

Автор SHA1 Сообщение Дата
aaronleventhal%moonset.net cfd66d6bcb Bug 274600. Fix erratic rendering of applets in iframes. r+sr=roc 2005-03-15 15:24:08 +00:00
roc+%cs.cmu.edu 63b60e6d63 Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron 2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu d58751de36 Fixing missing return value. r+sr=me 2005-03-07 19:23:44 +00:00
roc+%cs.cmu.edu 00dcc73d5b Fix build bustage AGAIN. 2005-03-07 02:51:15 +00:00
roc+%cs.cmu.edu 7bee79a75c Fixing build bustage on Windows. 2005-03-07 02:31:42 +00:00
roc+%cs.cmu.edu c8d3df631f Bug 285038. Support offscreen rendering API in nsIViewManager and provide MOZ_FORCE_PAINT_AFTER_ONLOAD environment variable hack to dump loaded documents to image files. r+sr=bzbarsky 2005-03-07 01:24:22 +00:00
roc+%cs.cmu.edu 55480a9b6f Bug 125386. Turn MOUSE_EXIT events into MOUSE_MOVEs when the mouse didn't actually leave the top level widget. r+sr=bzbarsky 2005-02-23 21:46:43 +00:00
bzbarsky%mit.edu 0d17b2af44 Followup to bug 281173 -- scrolling in an iframe will in fact cause us to
effectively have nested scrolls...  r+sr=roc
2005-02-18 06:11:36 +00:00
bzbarsky%mit.edu e69325f015 Don't flush out reflow while scrolling. Possible fix for crash bug 281173,
r+sr=roc, a=caillon.
2005-02-11 16:23:57 +00:00
bzbarsky%mit.edu cdc589d7c1 Make sure to not reenter painting while the mRecursiveRefreshPending flag is
still set.  Bug 278811, r+sr=roc
2005-02-05 02:47:26 +00:00
bryner%brianryner.com f5257db823 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu c6aa20835d Fix win32 build bustage 2005-02-03 06:26:20 +00:00
bzbarsky%mit.edu cad0d708f5 Fix invalidation regression when scrolling. When we bit-blit, we need to
make copies of existing dirty regions, offset them by the scroll amount, and
add to our dirty region on the scrolling view.  Bug 280041, r+sr=roc
2005-02-03 05:01:54 +00:00
bzbarsky%mit.edu 95acd8f9c5 Add a way for IME to query the caret position. Bug 278061, patch by
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>, r=smontagu,glazou,
sr=bzbarsky
2005-02-01 19:24:59 +00:00
bzbarsky%mit.edu 4b0b6a1704 Repost invalidate events that fire in the middle of a view update batch. Bug
280214 partial fix, r+sr=roc
2005-01-31 22:41:19 +00:00
roc+%cs.cmu.edu 271af35b03 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky 2005-01-27 20:49:47 +00:00
bzbarsky%mit.edu cd964f3a39 Use the right view observer for events. Fixes some crashes. Bug 279205, r+sr=roc 2005-01-23 20:55:53 +00:00
bzbarsky%mit.edu d222ecb623 Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
bzbarsky%mit.edu fdcd5b0c3d Add a kungFuDeathGrip to make sure our synthetic mouse events don't kill us,
and make sure to RevokeEvent on all viewmanagers.  Bug 277234, r=dbaron,
sr=darin, a=asa
2005-01-07 03:23:34 +00:00
timeless%mozdev.org 898ebb662d Bug 273808 nsViewManager::CreateBlendingBuffers should null mBlender if it fails to init
r=roc sr=roc
2004-12-20 19:43:31 +00:00
bsmedberg%covad.net 81a0de68d5 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
aaronleventhal%moonset.net b84689e3b5 Bug 163562. Home/end keys should not affect horizontal scrolling. Patch by dmitry@kirsanov.com. r=aaronleventhal, sr=roc 2004-12-01 16:21:20 +00:00
timeless%mozdev.org 217f95879b Bug 271293 Crash in [@ nsView::DropMouseGrabbing ]
r=roc sr=roc
2004-12-01 03:04:17 +00:00
ere%atp.fi 45881dafd2 Optimization patch for bug 228399 (background-color is mishandled when -moz-opacity is less than 1.0)
r+sr=roc
2004-11-27 08:22:22 +00:00
bryner%brianryner.com 1435145ce6 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
dbaron%dbaron.org f749b59b77 Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc 2004-11-24 22:05:36 +00:00
neil%parkwaycc.co.uk d13fb54f7e Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu 7198a5985b Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc
2004-11-23 17:26:19 +00:00
bzbarsky%mit.edu 6d722e7a61 Don't clear the root view manager pointer when the root view is destroyed. Bug
269402, r+sr=roc, a=asa
2004-11-22 03:06:14 +00:00
bzbarsky%mit.edu dbebdc563a Don't invalidate areas in hidden widgets, and don't subtract hidden widgets or
widgets without views or widgets in different viewmanagers out of the area we
need to invalidate.  Bugs 268090, 269736, 268252.  r+sr=roc, a=asa
2004-11-18 20:47:42 +00:00
timeless%mozdev.org ea2f3df3b9 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
roc+%cs.cmu.edu 93c8848740 Bug 243726. Fix up child-covering calculations. r+sr=bzbarsky 2004-11-05 13:59:33 +00:00
neil%parkwaycc.co.uk df96a6a58f Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:36:49 +00:00
neil%parkwaycc.co.uk 869014801a Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu 683944da62 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu c804dd83a2 Bug 243726. Make Invalidate/UpdateView *much* cheaper by delaying propagating damage over the widget tree until EndUpdateViewBatch. Also adds SimplifyInward/SimplifyOutward methods to nsRegion to avoid region complexity getting out of hand and killing our performance. r=Dainis_Jonitis,bzbarsky, sr=bzbarsky 2004-11-03 02:37:21 +00:00
roc+%cs.cmu.edu 340cf81270 Bug 265983. GTK1 needs GetNativeData(NS_NATIVE_WIDGET) to be passed as the native parent, not NS_NATIVE_WINDOW. r+sr=bzbarsky 2004-10-30 12:57:46 +00:00
bzbarsky%mit.edu f958ca676d Push view update batching up to the root view manager. Make all associated
members only be accessed by the root view manager.  Document the invalidation
setup a bit.  Bug 244290, r+sr=roc
2004-10-29 20:47:25 +00:00
roc+%cs.cmu.edu d3706fffdc Bug 264245. Make all popups have no nsIWidget parent to avoid the hassles of various widget implementations not keeping their position consistent with their parent. Also, aggressively invalidate cached screen coordinates in GTK1 to avoid bugs. r=bzbarsky,sr=blizzard 2004-10-21 18:35:35 +00:00
dbaron%dbaron.org 624d7dd122 Fix Windows regression (view for paints can vary across platforms). b=227361 r+sr=roc 2004-10-19 22:04:47 +00:00
dbaron%dbaron.org 1df53997e0 Null-check view observer. b=264683 r+sr=roc 2004-10-18 02:41:56 +00:00
dbaron%dbaron.org e45881224c Commenting out assertion that I added yesterday. b=227361 2004-10-15 21:39:37 +00:00
dbaron%dbaron.org cbd46ce33d Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc (Relanding since this doesn't seem to be the cause of the Tp regression.) 2004-10-14 21:51:00 +00:00
dbaron%dbaron.org 4277cbb2bd Back out 227361 to fix pageload time regression. 2004-10-14 05:49:10 +00:00
dbaron%dbaron.org 0c6786b66d Bustage fix. b=227361 2004-10-13 23:06:39 +00:00
dbaron%dbaron.org 0bfc91bf4e Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc 2004-10-13 22:37:32 +00:00
dbaron%dbaron.org 5e2c923876 Remove unneeded dependency on layout. b=227361 r+sr=roc 2004-10-13 22:08:00 +00:00
dbaron%dbaron.org 13700142d7 Remove unneeded dependency on layout. b=227361 r+sr=roc 2004-10-13 22:05:00 +00:00
roc+%cs.cmu.edu 818d0bd3ff Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky 2004-10-11 20:35:51 +00:00
roc+%cs.cmu.edu 2fdb399a89 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky 2004-10-09 01:39:21 +00:00
dbaron%dbaron.org 31d6246793 Fix Sun Forte bustage. b=262596,261310 2004-10-02 18:27:37 +00:00
dbaron%dbaron.org f26ae219a5 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
roc+%cs.cmu.edu aad4c8efa2 Bug 160095. Don't crash trying to print documents using -moz-opacity. r+sr=bzbarsky. 2004-09-29 01:36:46 +00:00
dbaron%dbaron.org 747192a54e Untabify. 2004-09-28 20:49:25 +00:00
neil%parkwaycc.co.uk 1c346b8beb Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
cbiesinger%web.de 7cce1d2bea bug 259803 get views using GetInterface from a widget's client data, rather than
by queryinterface, r=pinkerton sr=roc
2004-09-20 12:51:31 +00:00
cbiesinger%web.de 337362d9eb Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc
2004-09-16 13:02:54 +00:00
dbaron%dbaron.org fa2cc9940e Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc 2004-09-15 19:16:43 +00:00
cbiesinger%web.de 997a91d826 fixing ViewWrapper leaks introduced by bug 250342 checkin, r+sr=dbaron 2004-09-04 21:30:18 +00:00
jst%mozilla.jstenback.com 63c881aeb2 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com 2004-09-04 19:28:46 +00:00
cbiesinger%web.de a3eecd9973 fixing gcc 3.4 bustage (removing extra semicolon) 2004-09-04 17:20:00 +00:00
cbiesinger%web.de 28133d3196 Bug 250342 Views should not inherit from nsISupports
r+sr=roc
2004-09-04 15:49:20 +00:00
cbiesinger%web.de 6709d53145 Bug 257920 remove unused nsIClipView
patch by Chris Thomas <cst@andrew.cmu.edu> r+sr=roc
2004-09-04 15:45:02 +00:00
roc+%cs.cmu.edu 44a6b0cd53 Bug 228780. Fix unused variable warning. r=roc,sr=dbaron, patch by Serge GAUTHERIE 2004-08-28 02:22:06 +00:00
timeless%mozdev.org 600c03e4cd Bug 256610 Crash [ @ nsViewManager::GetMouseEventGrabber]
patch by cst@andrew.cmu.edu r=roc sr=roc
2004-08-23 19:01:39 +00:00
bzbarsky%mit.edu b043cfdf41 Comment-only spelling fix. a=asa 2004-08-11 19:33:05 +00:00
bzbarsky%mit.edu 389d0576ce Stop building up the opaque region if it gets too complicated. Bug 253001,
r+sr=roc
2004-08-11 05:12:43 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org 9477e33c6b Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc 2004-07-18 17:36:03 +00:00
jim_nance%yahoo.com 79ebda78b6 Bug 249810 - Add calls to PL_FreeArenaPool() so Arena memory ends up on the
global Arena free list.  This is good because these arenas get created and
destroyed quickly. r+sr=roc
2004-07-16 14:44:10 +00:00
jim_nance%yahoo.com 04359cb2fc Backing out last change. I didn't realize the tree was frozen 2004-07-09 03:39:28 +00:00
jim_nance%yahoo.com 98f49f7a08 Fix bug 152596 - Add calls to PR_FreeArenaPool() before PR_FinishArenaPool()
so that memory is added to the global free lists.  r+sr=roc
2004-07-09 03:32:56 +00:00
jim_nance%yahoo.com ce5d0d510e Fix but 249923
- Remove hashtable from nsViewManager.  It is now created on the stack when
  it is needed.
- Remove DestroyZTreeNode().  It only removes things from the above hashtable
  and that is going to be destroyed shortly after the call.
2004-07-06 02:09:47 +00:00
roc+%cs.cmu.edu d2859ce21a Remove nsIScrollingView::Get/SetControlInsets, since it's unused. 2004-07-05 16:53:10 +00:00
jim_nance%yahoo.com 5950eddc2e Attempt 2 at fixing build problem. 2004-07-05 15:09:57 +00:00
jim_nance%yahoo.com 822ffb83a6 Attempt to fix Firefox build bustage resulting from my last checkin. 2004-07-05 14:46:16 +00:00
jim_nance%yahoo.com c26874ad92 Fix bug 249810 - Reduce allocations by nsViewManager. r+sr = roc 2004-07-05 13:10:25 +00:00
dbaron%dbaron.org 6d18a9bb63 Fix coordinate transformations used for computing mMouseLocation so they're relative to the root view rather than the end of the parent chain (which differ for, e.g., frames). Add some debugging code (turned off). b=248606 r+sr=roc 2004-06-25 19:02:37 +00:00
dbaron%dbaron.org 0d6e63fdc4 Don't treat mouse exit and enter events as user events for purposes of content sink frequency tuning, since they're often caused by widget creation/destruction, and if the user moves the mouse we'll get real mousemove events. I'm hoping this will smooth pageload times. b=248226 r+sr=bryner 2004-06-23 17:31:29 +00:00
dbaron%dbaron.org 5a31f8f3ae Attempt to fix pageload regression/oscillation from bug 20022. r+sr=bryner 2004-06-22 22:30:18 +00:00
dbaron%dbaron.org 0ec49fbb44 Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc 2004-06-22 04:32:52 +00:00
roc+%cs.cmu.edu 1169792709 Bug 239201. Anonymous views (views without frames) should inherit their visibility from their parent. Then visibility:hidden IFRAMEs will hide their widgets. r+sr=dbaron 2004-05-31 20:01:58 +00:00
bzbarsky%mit.edu 6dbdd04b40 Making desperate attempt to reland with a couple crash-proofing changes. Bug
243724, r+sr=roc
2004-05-22 20:54:40 +00:00
bzbarsky%mit.edu 8d3347a058 Backing out to try and fix mac orange. Bug 243724 2004-05-22 20:04:59 +00:00
roc+%cs.cmu.edu 2e474e6454 Bug 243757. Handle cases where this view manager's root view is not an ancestor of the view grabbing the mouse. r+sr=bzbarsky 2004-05-22 19:55:01 +00:00
bzbarsky%mit.edu b2a508557a deCOMtaminate nsIWidget::GetChildren. Bug 243724, r+sr=roc (with sr=blizzard
on a previous-but-similar iteration of the patch).
2004-05-22 16:47:13 +00:00
roc+%cs.cmu.edu 6f2468505f Bug 243757. Complete propagation of mouse event grabbing to root view manager. r+sr=bzbarsky 2004-05-22 14:03:13 +00:00
bzbarsky%mit.edu e4f86cf527 Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu f1f89a9129 Backing out 233441. 2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu 1f65501541 Bug 242833. Make nsDOMEvent::GetClientX/Y handle cases where a subdocument's widget is not an ancestor of the event's widget. Also forward all mouse grabbing to the root view manager of a view manager hierarchy so that subdocuments can grab the mouse when an event occurs in an outer document. 2004-05-13 15:39:12 +00:00
roc+%cs.cmu.edu 0ba7bd51f2 Fix bustage. 2004-05-06 03:57:05 +00:00
roc+%cs.cmu.edu e508d2a0ad Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
tor%cs.brown.edu 44fbbcc21b Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
tor%cs.brown.edu bd2796f514 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
gerv%gerv.net aa835b77c5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
roc+%cs.cmu.edu 35423b89ca Bug 240457. Kill bad view manager assertion. r+sr=dbaron 2004-04-14 03:05:50 +00:00
roc+%cs.cmu.edu 93ceed6057 Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron 2004-04-13 03:03:18 +00:00
roc+%cs.cmu.edu ac29bc1060 Bug 235897. hidden widgets don't count as part of the opque region. r+sr=dbaron,a=mkaply 2004-04-07 15:22:19 +00:00
roc+%cs.cmu.edu 1ab1631b6e Bug 231585. A view can only be treated as having a uniform background if that background is not translucent. r+sr=dbaron,a=choffman 2004-04-07 01:03:51 +00:00
roc+%cs.cmu.edu 386105c353 Bug 237426. Set clip rect *after* we've saved the old rect. r+sr=dbaron,a=asa 2004-03-24 02:21:19 +00:00
roc+%cs.cmu.edu ae52c1ef20 Bug 232469. Rework view clipping to handle three kinds of clip: clip to arbitrary rect, clip containing block children to bounds, clip all children to boudns. r+sr=dbaron,a=choffman 2004-03-11 00:32:01 +00:00
roc+%cs.cmu.edu e9656e9eee Fixing bustage 2004-02-20 05:26:57 +00:00
roc+%cs.cmu.edu cbcc84d866 Bug 228861. Ensure that CLIP and FILTER display list instructions are added even if they appear to be outside the dirty area. Content may be reparented under them that does intersect the dirty area and is affected by the display list instructions. r+sr=dbaron 2004-02-20 04:41:06 +00:00
roc+%cs.cmu.edu 8da35ebc54 Bug 232780. Fix aX/aY parameters in nsViewManager::CreateDisplayList. r+sr=dbaron 2004-02-20 04:34:32 +00:00
roc+%cs.cmu.edu 3c1b167fd1 Bug 232951. Make scrolling of scrolling-views-without-widgets work properly even when there are child widgets. r+sr=dbaron 2004-02-20 04:31:20 +00:00
roc+%cs.cmu.edu 1f41a91edd Bug 228441. -moz-opacity doesn't work on the Mac; fix it by forcing double buffering when translucent elements are being displayed. r+sr=dbaron 2004-02-20 02:11:25 +00:00
dbaron%dbaron.org d78e8a45b5 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
bryner%brianryner.com d4f13c3ba7 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
dbaron%dbaron.org 06fa5cb7c7 Fix for loop scoping bustage. 2004-02-04 00:46:14 +00:00
dbaron%dbaron.org b506c7e4d8 Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner 2004-02-04 00:11:59 +00:00
roc+%cs.cmu.edu 1bbbe00322 Fixing bustage related to bug 109772 by making a new ExternalIsRoot and calling it from inline functions. 2004-01-30 23:52:39 +00:00
dbaron%dbaron.org dee7054683 Add hack to make egcs happy with NS_DEFINE_STATIC_IID_ACCESSOR on class with methods that are neither pure virtual nor inline. Fixing bustage. b=109772 2004-01-30 20:02:42 +00:00
dbaron%dbaron.org 6b4b5847ef Make first method inline to try to fix egcs bustage. b=109772 2004-01-30 08:01:01 +00:00
roc+%cs.cmu.edu a2c6a75e31 Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron 2004-01-30 03:20:41 +00:00
dbaron%dbaron.org c44b201f8e Miscellaneous cleanup. b=232393 r+sr=roc 2004-01-29 00:04:58 +00:00
caillon%returnzero.com a2c8dc1fad This should be #ifdef DEBUG.
r+sr=dbaron
2004-01-20 22:15:38 +00:00
bryner%brianryner.com a135ce4d60 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
dbaron%dbaron.org cda4904ba2 Back out the change from bug 230118 since bug 228378 makes it unnecessary. 2004-01-10 19:14:31 +00:00
roc+%cs.cmu.edu 4ad7474eb4 Bug 229583. initialize line height in scrolling views. patch by Asko Tontti. r+sr=roc 2004-01-10 16:21:45 +00:00
roc+%cs.cmu.edu 4ce233447a Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
dbaron%dbaron.org 63adfad622 Comply with the C++ standard's (silly?) rule that converting an rvalue to a const reference requires that the copy constructor be accessible. b=230118 r=bbaetz sr=roc 2004-01-08 21:06:19 +00:00
dbaron%dbaron.org a871136f56 Don't make clip view optimizations when the clip view contains Z placeholders. b=225811 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron a=asa 2003-12-17 21:05:37 +00:00
uid502 f60aa658cf Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
dbaron%dbaron.org fb5dcec631 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
uid502 512587f8ca Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron 2003-10-11 12:00:05 +00:00
uid502 6bed557bd4 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
timeless%mozdev.org 8a504b26c0 Bug 218832 [W] UMR: Uninitialized memory read in nsView::ConvertToParentCoords(int *,int *)const
r=roc sr=roc
2003-09-11 02:44:40 +00:00
bryner%brianryner.com 9822c742df Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
roc+%cs.cmu.edu 8336210264 Bug 194638. *Always* request invalidation of child widgets when we resize a widget. r+sr+a=dbaron 2003-08-18 19:58:39 +00:00
cls%seawood.org c08e99a287 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
roc+%cs.cmu.edu d6733d1661 Bug 213303. Allow events to be sent to views which are totally clipped out. r+sr=dbaron,a=brendan. Patch by nielsen@memberwebs.com. 2003-08-12 15:56:11 +00:00
roc+%cs.cmu.edu 64d9b11eb9 Bug 215159. Fix memory leak in nsViewManager. r+sr=dbaron 2003-08-06 01:42:14 +00:00
dbaron%dbaron.org f61c45ed1a Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
jaggernaut%netscape.com f008bc2bad Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
roc+%cs.cmu.edu 4b6d5819d3 Ongoing deCOMtamination. r+sr=dbaron 2003-07-03 13:05:57 +00:00
bryner%netscape.com 6d59e7a395 Fix some issues related to focus changes in onfocus and onblur handlers:
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else.  This ensures that the caret doesn't get confused about whether it should be active.
  - Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
  - Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.

Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
roc+%cs.cmu.edu d5659ce557 Trivial fix for uninitialized variable. r+sr=dbaron 2003-06-26 01:49:34 +00:00
roc+%cs.cmu.edu 55c04f87d7 Bug 109772. Cleanup views. Promote certain members of nsView and nsViewManager to stack variables. Provide non-COM versions of, and deprecate COM usage of, nsIView methods HasWidget, GetWidget, GetFloating, GetParent, GetFirstChild, GetNextSibling, GetOpacity, GetClientData, GetVisibility, GetViewManager, GetZIndex, GetPosition, and GetBounds. r+sr=dbaron 2003-06-24 01:00:46 +00:00
bryner%netscape.com a4565876ab Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc. 2003-06-18 22:58:51 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com 6934dc37a9 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
timeless%mozdev.org f0922b8bcd Bug 204389 warning: unused variable `const class nsView * zParent' in nsView::GetClippedRect
r=roc+moz sr=roc+moz
2003-05-23 22:00:34 +00:00
kmcclusk%netscape.com abdcfa94b2 Backing out my changes for bug 14190 to see if the Tp: and Ts: numbers on MacOSX go back down. 2003-05-22 04:59:30 +00:00
kmcclusk%netscape.com 9282e7cd01 defer showing/hiding widgets when view manager is batching updates to suppress invalidates bug=141901 a=asa r=roc+moz sr=kin 2003-05-22 03:19:44 +00:00
roc+%cs.cmu.edu a168af7986 Bug 201442. Fix regression by making nsViewManager::Refresh() properly take into account views which have content extending above or to the left of their origin, and which have widgets. r+sr=dbaron,a=asa 2003-05-14 00:40:17 +00:00
bryner%netscape.com 4e18cb33f7 Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc. 2003-04-21 23:01:36 +00:00
seawood%netscape.com 5e2dd72a02 Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
timeless%mozdev.org 1532cd372a Bug 201596 nsScrollPortView::ScrollTo could trigger a crash if new PRInt32[SMOOTH_SCROLL_FRAMES*2]; failed
r=roc+moz sr=roc+moz
2003-04-16 21:32:31 +00:00
roc+%cs.cmu.edu 1304af9cbc Bug 198987. Prevent smooth scrolling rounding small partial increments down to 0. Add scrollMaxX/scrollMaxY properties to JS window object so mailnews can use a more robust way to detect when the message is scrolled to the bottom of its window. r=bzbarsky,sr=jst 2003-04-15 13:40:46 +00:00
bryner%netscape.com b0982cb3dc nsViewFactory.cpp is dead now that view is in gklayout. Not part of the build. 2003-04-11 08:30:00 +00:00
roc+%cs.cmu.edu 513d28330f Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky 2003-04-06 02:49:40 +00:00
roc+%cs.cmu.edu 964244daa3 Bug 199607. Fix smoothscrolling bugs. r+sr=dbaron 2003-04-05 11:41:19 +00:00
bryner%netscape.com 6633d815fd Fix repainting on windows (bug 199159) by making sure to set ConsumeNoDefault on the paint event. r/sr=roc, a=asa. 2003-03-29 23:31:20 +00:00
sspitzer%netscape.com 918646badf fix for blocker bug #199159
chrome not repainting, off by one errors in painting.
a rounding problem in ConvertNativeRegionToAppRegion()
thanks to roc for the fix.  rs=sspitzer, a=loanpham
2003-03-26 19:02:12 +00:00
roc+%cs.cmu.edu d03686c9ae Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard 2003-03-25 03:07:33 +00:00
roc+%cs.cmu.edu cec34e763a Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard 2003-03-25 02:58:10 +00:00
darin%netscape.com fbab8a3edd backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
roc+%cs.cmu.edu d48c2c89f7 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin 2003-03-24 05:29:45 +00:00
roc+%cs.cmu.edu fe7dc57407 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:54:48 +00:00
dougt%netscape.com be629223b6 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
roc+%cs.cmu.edu f295b9b118 Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
aaronl%netscape.com f3e62ba705 Bug 196308. Flashing/flickering display. r/sr=roc+moz 2003-03-11 19:27:30 +00:00
aaronl%netscape.com c616086a0c Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
ere%atp.fi b1647a8daa Bug 195955, removal of unneeded code and indentation cleanup.
r/sr=roc+moz
2003-03-05 14:32:07 +00:00
roc+%cs.cmu.edu 72b9c92987 Bug 190311. Make nsImageGTK UpdateGC() when it needs to change the clip rect; make it set the correct clip rect. In the view system, make sure VIEW_CLIPPED is set only when needed. 2003-02-25 02:38:38 +00:00
bryner%netscape.com c2be7f93ad Remove unused nsViewManager::mLastRefresh (bug 194554). r=roc, sr=bz. 2003-02-23 03:41:23 +00:00
roc+%cs.cmu.edu 2d6d6229b8 Bug 178519. Move mouse capture to parent view if the capturing view goes away. r=kmcclusk,sr=bzbarsky 2003-02-23 02:53:15 +00:00
roc+%cs.cmu.edu 4397def730 Bug 180502. Never reorder views by z-index; just keep the document order. r=kmcclusk,sr=dbaron 2003-02-22 22:08:12 +00:00
roc+%cs.cmu.edu 28a06b97a1 Bug 182107. Don't let negative z-index views mess up document ordering. r=kmcclusk,sr=bzbarsky,a=asa 2003-02-13 19:27:58 +00:00
locka%iol.ie 14c75f1d2e Fix mouse exit so it goes to the targetted view rather than the view the mouse may or may not be over as it leaves the main widget. b=144880 r=ccarlen@netscape.com sr=roc+moz@cs.cmu.edu a=asa@mozilla.org 2003-02-06 12:50:35 +00:00
dbaron%dbaron.org 44455b172e Prevent clicking on a tooltip from freezing the UI by ensuring that hidden views can't capture mouse events. b=156764 r=roc sr=jag a=asa 2003-02-05 23:10:31 +00:00
sfraser%netscape.com 8c133355e7 Fix bug 117990: change CornerView::Paint() to lo longer to a CreateInstance of an nsILookAndFeel for every paint. r=peterl, sr=dbaron. 2003-01-17 00:14:35 +00:00
dbaron%dbaron.org f2cd5e3e66 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
caillon%returnzero.com b443430dc8 184257 - Updating pref callers. r=timeless sr=bzbarsky 2003-01-08 08:40:41 +00:00
seawood%netscape.com 4588fb970a Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
roc+%cs.cmu.edu e48869f9a2 Backing out fix for bug 170330... againr=dbaron 2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu 035d850bf9 Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron 2002-12-21 23:25:38 +00:00
roc+%cs.cmu.edu 22cb4ca6ed Bug 186233. Clean up unused/useless GFX calls. r+sr=blizzard 2002-12-21 02:51:14 +00:00
roc+%cs.cmu.edu 176fd20954 Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin 2002-12-14 16:18:57 +00:00
roc+%cs.cmu.edu 93e5b50e9f Backing out fix for bug 170330 due to Tp regression 2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu f5a2455464 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin 2002-12-05 22:29:08 +00:00
roc+%cs.cmu.edu 2bc9655d4f Bug 170011. Revert behavior of 'overflow:hidden' to only affect children for the current element is a containing block ancestor. r=dbaron,sr=kin 2002-11-10 18:24:31 +00:00
jkeiser%netscape.com 3842a0f146 Make hidden iframes and other widgets not display sub-widgets (bug 139805), r=roc+moz@cs.cmu.edu, sr=dbaron@fas.harvard.edu, a=asa 2002-10-18 19:17:35 +00:00
roc+%cs.cmu.edu 14f603c230 Bug 171334. r=kmcclusk,sr=kin,a=asa. Fix views crasher by eliminating content-parenting nesting assumptions. 2002-10-11 01:23:13 +00:00
roc+%cs.cmu.edu edadb80f12 Bug 153679. r=gisburn,sr=kin. Remove bogus assertion; it's OK to have no widget sometimes during scrolling or invalidation. 2002-10-08 04:18:05 +00:00
roc+%cs.cmu.edu c50c2ccca6 Fixing bustage, checked in a bit of another patch, sorry. sr=me 2002-09-30 12:41:11 +00:00
roc+%cs.cmu.edu 3681ee88af Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
cbiesinger%web.de 22f5d480bc bug 169483 patch by Roland.Mainz@informatik.med.uni-giessen.de r=cls/roc+moz sr=kin 2002-09-23 12:10:28 +00:00
alecf%netscape.com 2eb51aa759 re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +00:00
roc+%cs.cmu.edu 11eb58f804 Bug 168294. Make sure all types of clipping are applied using the zParent view chain. r=kmcclusk,sr=kin 2002-09-17 04:16:25 +00:00
alecf%netscape.com e58883353c backing out my fix to 166147 to see if it fixes orange 2002-09-16 23:48:12 +00:00
alecf%netscape.com ce7a2b3f57 fix for bug 166147 - autoinitialize mRefCnt to 0 by using a wrapper class, a la Don Box
also clean up consumers which were using postfix decrement
r=dougt, sr=jag
2002-09-16 20:59:52 +00:00
kmcclusk%netscape.com 1ae7c611f8 reparent the view's descendant widgets when a view is re-inserted into a new view hierarchy position by paginated reflow. b=129034 r=roc+moz sr=kin 2002-09-12 03:59:15 +00:00
roc+%cs.cmu.edu 86f18db9c0 Bug 167351. Move z-index topmost bit processing into the z-index sorter; keep view tree in document order. r=kmcclusk,brendan, sr=kin 2002-09-11 02:33:43 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com d94b37c68a Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
roc+%cs.cmu.edu c4de5e81fb Bug 164625. Remove references to nsRectFast, they're not needed and this shouldn't be used outside of the nsRegion code. Patch by Dainis_Jonitis@swh-t.lv. r=roc,sr=kin 2002-09-03 21:53:22 +00:00
roc+%cs.cmu.edu faf91cb796 Bug 152373. Fix background-attachment:fixed regression by eliminating last remaining use of bogus ALWAYS_BLIT flags, replacing them with a less odious hack which makes smarter scroll decisions by checking for the presence of fixed-position elements. r=kmcclusk,sr=kin 2002-09-03 21:36:28 +00:00
roc+%cs.cmu.edu beff719ea7 Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin 2002-08-30 03:32:05 +00:00
mjudge%netscape.com 225499c46a 4302. left this out of checking. fixing bustage 2002-08-26 21:46:13 +00:00