dbaron%dbaron.org
d0872eefe9
Change GetRectVisibility so that floating views (such as combobox dropdowns and menupopups) are always considered visible, since they are visible where other views would be clipped. b=310604 r+sr=roc
2005-10-15 07:10:08 +00:00
bzbarsky%mit.edu
3c55a21288
Wallpaper for bug 311223 pending a fix of the underlying tree bug. r+sr=roc
2005-10-08 02:32:03 +00:00
bzbarsky%mit.edu
f02a33078c
Fix bug 311550 -- Don't do anything in EnableRefresh if there are no pending
...
updates. r+sr=roc
2005-10-07 22:29:47 +00:00
roc+%cs.cmu.edu
a4ae92ddf9
Bug 282750. Don't worry about over-complex opaque regions when we want to add a rect that will cover the entire region (and thus simplify it). r+sr=bzbarsky
2005-10-06 17:47:59 +00:00
wtchang%redhat.com
1005114369
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.
2005-10-04 22:46:31 +00:00
wtchang%redhat.com
e40408c33b
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
2005-09-30 23:10:09 +00:00
dbaron%dbaron.org
b4a7e11390
Back out bug 281709 since it makes tabbed browsing unusable on at least GTK2.
2005-09-30 19:25:42 +00:00
bzbarsky%mit.edu
68b4c7ba1a
Don't use nsRect's operator== for comparisons where different sized empty rects
...
should be treated as different. But 301411, r+sr=roc
2005-09-30 02:29:43 +00:00
silver%warwickcompsoc.co.uk
fcc2117fe0
Bug 281709 - Buffer view visibility changes like resizes. r/sr=roc
2005-09-28 08:59:36 +00:00
vladimir%pobox.com
61c7746bf2
b=305632, throbber not working/transparent rendering broken, r=roc. Should also fix 305612, memory leaks on balsa.
2005-08-24 03:58:15 +00:00
bryner%brianryner.com
1844b50360
Force any mouse grabs pointing into the old page to be dropped when we cache the page in session history. Bug 304288, r+sr=roc.
2005-08-23 21:52:59 +00:00
roc+%cs.cmu.edu
6377fe1d40
Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
2005-08-23 03:57:07 +00:00
pavlov%pavlov.net
9d85e378b2
moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc
2005-08-23 02:11:54 +00:00
dbaron%dbaron.org
a0772c8a33
Check ancestor view managers for delayed resize to fix delayed resize in framesets on Windows. b=285445 r+sr=roc a=bsmedberg
2005-08-02 20:10:12 +00:00
dbaron%dbaron.org
68373c1777
Synthesize mouse move on NS_MOUSE_ENTER event so that mouse cursor and :hover state have a better chance of being correct on page load. b=301408 r+sr=roc a=bsmedberg
2005-07-21 16:22:27 +00:00
roc+%cs.cmu.edu
ba0eb45c1a
Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa
2005-07-19 23:24:30 +00:00
roc+%cs.cmu.edu
802e2cda75
Bug 296491. Mouse event synthesis needs to account for cases where the view origin is not at the origin of its widget. r+sr=dbaron,a=bsmedberg
2005-07-19 22:01:19 +00:00
masayuki%d-toybox.com
2af8267b63
Changing IID for Bug 299748's previous patch r+sr=bzbarsky, a=cbeard
2005-07-11 05:27:10 +00:00
roc+%cs.cmu.edu
395052f857
Bug 290428. Mouse clicks go to the center of the pixel, because the frame covering the center of the pixel is the frame that gets to draw the pixel. r+sr=dbaron,a=benjamin
2005-07-10 23:50:32 +00:00
masayuki%d-toybox.com
8f458edf50
Bug 299748 On listbox, Sometimes, We cannot scroll the page to bottom by mouse wheel r+sr=roc, a=asa
2005-07-07 15:53:07 +00:00
roc+%cs.cmu.edu
17da1f0409
Backing out fix for bug 296838 to see how it's hurting Tp
2005-06-23 00:17:45 +00:00
roc+%cs.cmu.edu
53259eb945
Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann
2005-06-21 04:07:04 +00:00
roc+%cs.cmu.edu
3876d7f8c7
Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa
2005-06-17 02:48:29 +00:00
roc+%cs.cmu.edu
90518d0020
Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver
2005-06-02 09:00:48 +00:00
roc+%cs.cmu.edu
067fa3135c
Bug 286955. Force the entire subtree of widgets to redraw when we scroll a view that doesn't have an associated scrolling widget. r+sr=bzbarsky,a=shaver
2005-06-02 08:53:26 +00:00
bzbarsky%mit.edu
08321182c8
Fix memory leak if a viewmanager has a child viewmanager. Bug 295656,
...
r+sr=roc, a=shaver
2005-06-01 15:43:08 +00:00
roc+%cs.cmu.edu
b4e308b124
Bug 293543. RenderOffscreen needs to create a surface sized in pixels, not twips. r+sr=bzbarsky,a=shaver
2005-05-10 04:17:56 +00:00
bryner%brianryner.com
aed69207f0
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.
2005-05-04 20:22:32 +00:00
dougt%meer.net
be6760da53
Windows CE build changes. This addresses most of the outstanding Windows
...
CE compilation issues.
This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript. This change is based on bug 242518. See comment 36.
This patch also removes the unused enum in transformiix . See bug
292118.
r/sr = dveditz/shaver
b = 291229
a = asa
2005-04-29 13:33:49 +00:00
jst%mozilla.jstenback.com
50de4a3e1d
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
2cebcf0bca
Bug 282708. Position <object>'s view before creating its widget, to avoid flicker from creating it in the wrong position and then instantly moving it. r+sr=bzbarsky,a=asa
2005-04-28 22:17:40 +00:00
roc+%cs.cmu.edu
e9008d4b37
Bug 290673. Restore event->point after dispatching to views, in case someone wants to use it later (Windows widget appears to). r+sr=bzbarsky,a=asa
2005-04-28 22:03:28 +00:00
roc+%cs.cmu.edu
84b0577142
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
2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
977c43081f
Bug 291222. Sort display list elements before we lose information about relative ordering by overwriting the topmost bit. r+sr=bzbarsky,a=asa
2005-04-26 02:31:19 +00:00
roc+%cs.cmu.edu
fb94e41d41
Bug 290102. Don't flush pending invalidates when we are about to paint if the window has translucency, because on some platforms Invalidate will immediately call OnPaint even if it's supposed to be asynchronous, causing us to reenter and die. r+sr=me,a=dbaron, patch by pavlov
2005-04-21 20:53:00 +00:00
bzbarsky%mit.edu
c5cc24631e
Fix revokeEvents to reliably revoke them. Bug 284389, r=darin, sr=dbaron,
...
a=asa
2005-04-15 03:17:13 +00:00
roc+%cs.cmu.edu
eef5322ee4
Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa
2005-04-14 22:41:52 +00:00
roc+%cs.cmu.edu
596fb50b2f
Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa.
2005-04-07 03:59:02 +00:00
bzbarsky%mit.edu
482ef684eb
Do a sync invalidate of the areas dirtied by the reflow we do before painting,
...
not an async one. This will keep us from dropping animation frames quite as
much if events take a long time to process. Bug 288369, r+sr=roc
2005-03-31 20:42:30 +00:00
roc+%cs.cmu.edu
350a41b241
Bug 288222. fixing up variable name as Boris requested.
2005-03-30 20:26:54 +00:00
roc+%cs.cmu.edu
5281e0b914
Bug 288222. resync widgets with views before trying to paint. r+sr=bzbarsky
2005-03-30 20:25:15 +00:00
aaronleventhal%moonset.net
72422f2793
Bug 274600. Fix erratic rendering of applets in iframes. r+sr=roc
2005-03-15 15:24:08 +00:00
roc+%cs.cmu.edu
74aa22c5f3
Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron
2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu
2602b90da1
Fixing missing return value. r+sr=me
2005-03-07 19:23:44 +00:00
roc+%cs.cmu.edu
c012476918
Fix build bustage AGAIN.
2005-03-07 02:51:15 +00:00
roc+%cs.cmu.edu
d222975881
Fixing build bustage on Windows.
2005-03-07 02:31:42 +00:00
roc+%cs.cmu.edu
aface91878
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
51924d4a38
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
b05f6e4050
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
1c1d801bb5
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
80453d17e2
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
67dba23ae4
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu
2b2520fad3
Fix win32 build bustage
2005-02-03 06:26:20 +00:00
bzbarsky%mit.edu
ea914b4555
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
949dc5fa14
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
bd7324e29b
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
86e95f1475
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
966a36d8df
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
905bf0a35a
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
49eaf225e3
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
9972287d41
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
60567bb185
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
14f3aad350
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
1736443f5c
Bug 271293 Crash in [@ nsView::DropMouseGrabbing ]
...
r=roc sr=roc
2004-12-01 03:04:17 +00:00
ere%atp.fi
9d954981f4
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
29c70cffe8
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
4b47c345dd
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
a45fb5a046
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
9e94a3b521
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
a36ab5b06d
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
aa92a18252
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
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