Commit Graph

748 Commits

Author SHA1 Message Date
timeless%mozdev.org
fb483e6b15 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
de7efc4725 Bug 243726. Fix up child-covering calculations. r+sr=bzbarsky 2004-11-05 13:59:33 +00:00
neil%parkwaycc.co.uk
6896517f80 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
2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
7fd8feb31d 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
767022e55b 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
3b7e30e209 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
090b486e66 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
72ab57d855 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
206bc914fa 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
e43d283795 Null-check view observer. b=264683 r+sr=roc 2004-10-18 02:41:56 +00:00
dbaron%dbaron.org
2bbc9ab377 Commenting out assertion that I added yesterday. b=227361 2004-10-15 21:39:37 +00:00
dbaron%dbaron.org
2dc1b399ee 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
124d559e16 Back out 227361 to fix pageload time regression. 2004-10-14 05:49:10 +00:00
dbaron%dbaron.org
05b5b63278 Bustage fix. b=227361 2004-10-13 23:06:39 +00:00
dbaron%dbaron.org
c0a432e619 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
b2c89427b4 Remove unneeded dependency on layout. b=227361 r+sr=roc 2004-10-13 22:08:00 +00:00
dbaron%dbaron.org
5d73b65b11 Remove unneeded dependency on layout. b=227361 r+sr=roc 2004-10-13 22:05:00 +00:00
roc+%cs.cmu.edu
cc07de278b 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
6c4ebb2c18 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
ce6eade356 Fix Sun Forte bustage. b=262596,261310 2004-10-02 18:27:37 +00:00
dbaron%dbaron.org
338d2bb649 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
5dee51751d 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
0fb29b965b Untabify. 2004-09-28 20:49:25 +00:00
neil%parkwaycc.co.uk
6a4f37de6b 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
b1fad3b809 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
f3e06d119c 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
a0bf92722f 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
d0ebb5abbb fixing ViewWrapper leaks introduced by bug 250342 checkin, r+sr=dbaron 2004-09-04 21:30:18 +00:00
jst%mozilla.jstenback.com
51fd4d10d8 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
db70e63d2a fixing gcc 3.4 bustage (removing extra semicolon) 2004-09-04 17:20:00 +00:00
cbiesinger%web.de
6fef9f4542 Bug 250342 Views should not inherit from nsISupports
r+sr=roc
2004-09-04 15:49:20 +00:00
cbiesinger%web.de
a8ded9cfe0 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
9db74478da 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
1ac8922512 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
07823d3576 Comment-only spelling fix. a=asa 2004-08-11 19:33:05 +00:00
bzbarsky%mit.edu
2af6719b3b 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
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
0209021a61 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
4f93f80916 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
dcbad2f2c7 Backing out last change. I didn't realize the tree was frozen 2004-07-09 03:39:28 +00:00
jim_nance%yahoo.com
54f16435e1 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
d2b1ccdb0e 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
9810e28c13 Remove nsIScrollingView::Get/SetControlInsets, since it's unused. 2004-07-05 16:53:10 +00:00
jim_nance%yahoo.com
ca43aba85d Attempt 2 at fixing build problem. 2004-07-05 15:09:57 +00:00
jim_nance%yahoo.com
6313e9a526 Attempt to fix Firefox build bustage resulting from my last checkin. 2004-07-05 14:46:16 +00:00
jim_nance%yahoo.com
13e266d6bb Fix bug 249810 - Reduce allocations by nsViewManager. r+sr = roc 2004-07-05 13:10:25 +00:00
dbaron%dbaron.org
1ffc2715f2 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
9320816bd2 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
cefa77d7c2 Attempt to fix pageload regression/oscillation from bug 20022. r+sr=bryner 2004-06-22 22:30:18 +00:00