174 Commits

Author SHA1 Message Date
sharparrow1%yahoo.com
b4bdae28b7 Bug 385978: View cleanup. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228885 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 21:23:03 +00:00
sharparrow1%yahoo.com
127413f190 Bug 385937: Remove nsIBlender. rs=pavlov
git-svn-id: svn://10.0.0.236/trunk@228866 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 19:07:13 +00:00
dbaron%dbaron.org
60e7a2773e Remove unused variable/parameter in view code. b=371392 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226606 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 06:02:00 +00:00
sharparrow1%yahoo.com
57f6f646e2 Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225606 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 23:28:02 +00:00
joshmoz%gmail.com
56401a7049 get rid of old backbuffer API and related code. b=371392 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@222450 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 06:21:57 +00:00
sharparrow1%yahoo.com
c18e568063 Bug 371528: Stop creating views for pages. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220901 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-25 22:26:47 +00:00
sharparrow1%yahoo.com
56d89ecadc Bug 371460: Remove clipping functions from views. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220868 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 15:27:20 +00:00
sharparrow1%yahoo.com
ac106dc516 Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220852 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 00:23:42 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
sharparrow1%yahoo.com
9f34a2a380 Bug 356858: remove unused declarations. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215781 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 08:09:28 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
vladimir%pobox.com
f670d8a306 b=328384, ViewManager::DefaultRefresh paints to wrong rendering context (ignores event RC, creates its own), r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@191105 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 00:54:32 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
wtchang%redhat.com
ec301eedd9 Bugzilla bug 281158: put a Windows file pathname inside Doxygen's
@verbatim/@endverbatim block to prevent Doxygen from interpreting the
backslashes as commands. r=cbiesinger,sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@181617 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 22:46:31 +00:00
wtchang%redhat.com
0eed449f64 Bugzilla Bug 281158: make WillBitBlit return nsresult instead of void to
work around an internal compiler error of Visual C++ 6.0 SP5 (without
Processor Pack) and SP6, and eMbedded Visual C++ 4.0 SP4. r=dougt,sr=dbaron
Modified files: nsViewManager.cpp nsViewManager.h


git-svn-id: svn://10.0.0.236/trunk@181363 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 23:10:09 +00:00
roc+%cs.cmu.edu
5525e0f045 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
roc+%cs.cmu.edu
6b841d815c Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@176295 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 23:24:30 +00:00
roc+%cs.cmu.edu
d3fc9c1d9c Backing out fix for bug 296838 to see how it's hurting Tp
git-svn-id: svn://10.0.0.236/trunk@175026 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 00:17:45 +00:00
roc+%cs.cmu.edu
55544718d6 Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174925 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 04:07:04 +00:00
bzbarsky%mit.edu
a4e3731e4a Fix memory leak if a viewmanager has a child viewmanager. Bug 295656,
r+sr=roc, a=shaver


git-svn-id: svn://10.0.0.236/trunk@173924 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 15:43:08 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
roc+%cs.cmu.edu
131435cb9a Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
9a95487365 Bug 288222. fixing up variable name as Boris requested.
git-svn-id: svn://10.0.0.236/trunk@171404 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 20:26:54 +00:00
roc+%cs.cmu.edu
c3e197c008 Bug 288222. resync widgets with views before trying to paint. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171403 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 20:25:15 +00:00
roc+%cs.cmu.edu
80ebc8eca4 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
git-svn-id: svn://10.0.0.236/trunk@170255 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 01:24:22 +00:00
bzbarsky%mit.edu
25e5677b69 Followup to bug 281173 -- scrolling in an iframe will in fact cause us to
effectively have nested scrolls...  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169354 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 06:11:36 +00:00
bzbarsky%mit.edu
26f777e115 Don't flush out reflow while scrolling. Possible fix for crash bug 281173,
r+sr=roc, a=caillon.


git-svn-id: svn://10.0.0.236/trunk@169106 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-11 16:23:57 +00:00
bzbarsky%mit.edu
d5d96cdbbf 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


git-svn-id: svn://10.0.0.236/trunk@168740 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 05:01:54 +00:00
bzbarsky%mit.edu
8489f8d24b 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


git-svn-id: svn://10.0.0.236/trunk@168044 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:39:09 +00:00
bzbarsky%mit.edu
39530b8cec Don't clear the root view manager pointer when the root view is destroyed. Bug
269402, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@165566 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 03:06:14 +00:00
roc+%cs.cmu.edu
a4d530281c Bug 243726. Fix up child-covering calculations. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165003 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 13:59:33 +00:00
neil%parkwaycc.co.uk
18c53f2f32 Bug 267302 Views should be created by the view manager r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
roc+%cs.cmu.edu
cbb6297ddd 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
git-svn-id: svn://10.0.0.236/trunk@164828 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:37:21 +00:00
bzbarsky%mit.edu
3a053f56de 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


git-svn-id: svn://10.0.0.236/trunk@164628 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 20:47:25 +00:00
dbaron%dbaron.org
9d38a27e2e 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.)
git-svn-id: svn://10.0.0.236/trunk@163767 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 21:51:00 +00:00
dbaron%dbaron.org
acff620604 Back out 227361 to fix pageload time regression.
git-svn-id: svn://10.0.0.236/trunk@163716 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 05:49:10 +00:00
dbaron%dbaron.org
cfcacefff2 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
git-svn-id: svn://10.0.0.236/trunk@163685 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 22:37:32 +00:00
dbaron%dbaron.org
bcd027f41d Remove unneeded dependency on layout. b=227361 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163678 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 22:08:00 +00:00
dbaron%dbaron.org
4788c0f03d Remove unneeded dependency on layout. b=227361 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 22:05:00 +00:00
roc+%cs.cmu.edu
8ff367d401 Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163540 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 20:35:51 +00:00
roc+%cs.cmu.edu
1df6a398e4 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
git-svn-id: svn://10.0.0.236/trunk@163455 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 01:39:21 +00:00
dbaron%dbaron.org
de1ba08283 Untabify.
git-svn-id: svn://10.0.0.236/trunk@162892 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 20:49:25 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
46bbadb4bd Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@159427 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 17:36:03 +00:00
jim_nance%yahoo.com
f2c7f58af2 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.


git-svn-id: svn://10.0.0.236/trunk@158776 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 02:09:47 +00:00
jim_nance%yahoo.com
21087b68e5 Fix bug 249810 - Reduce allocations by nsViewManager. r+sr = roc
git-svn-id: svn://10.0.0.236/trunk@158755 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 13:10:25 +00:00
dbaron%dbaron.org
41ff3ad83f 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
git-svn-id: svn://10.0.0.236/trunk@158287 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 04:32:52 +00:00
roc+%cs.cmu.edu
f31b7bb7b5 Bug 243757. Complete propagation of mouse event grabbing to root view manager. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156761 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 14:03:13 +00:00
bzbarsky%mit.edu
e26ec45382 Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@156491 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu
92e59ef827 Backing out 233441.
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00