mark%moxienet.com
c3b684bb76
319078 Handle smooth mousewheel (and two-finger touchpad) scrolling. r=josh sr=darin r,sr=roc a/1.8.1=beltzner
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203366 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 15:25:03 +00:00
roc+%cs.cmu.edu
e7b39671b2
Bug 306426. Allow synthetic mouse events to target floating views. r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190226 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 19:25:10 +00:00
roc+%cs.cmu.edu
6178446954
Bug 281709. When Show()ing a widget, unconditionally reset its bounds *right now* even if updates are suppressed. patch by bzbarsky, r+sr=roc,a=asa
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182682 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 02:39:17 +00:00
scott%scott-macgregor.org
a071216a8d
Back out our original fix for Bug #281709 --> Under at least Windows XP, shadows are not drawn under menus on first appearance
...
This fix ended up causing a regression with xhtml documents (See Bug #311146 )
We have a better fix on the way which should fix the drop shadows without the layout regression.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182662 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 23:34:23 +00:00
dbaron%dbaron.org
9aaf107cb5
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 a=asa
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182306 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 07:54:38 +00:00
roc+%cs.cmu.edu
463ea3b9b0
Bug 282750. Be smart and allow the opaque region to be replaced by a completely covering rectangle, even if the opaque region is already complex, because this will reduce the complexity. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181966 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 02:30:52 +00:00
mrbkap%gmail.com
bd3dfa2efb
bug 281709: Show a drop shadow under top-level popup menus in Windows XP. Add a new function to smooth out differences in what IsVisible means on different platforms. r=pav sr=brendan a=mscott/brendan. This checkin is BRANCH ONLY pending a more correct/cleaner fix on the trunk.
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181562 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 05:37:49 +00:00
bzbarsky%mit.edu
b20eb8048c
Don't use nsRect's operator== for comparisons where different sized empty rects
...
should be treated as different. But 301411, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181264 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 02:31:24 +00:00
bryner%brianryner.com
a9599608aa
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, a=asa.
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178850 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 20:42:54 +00:00
dbaron%dbaron.org
caa1d1df4f
Check ancestor view managers for delayed resize to fix delayed resize in framesets on Windows. b=285445 r+sr=roc a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@177004 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:10:12 +00:00
dbaron%dbaron.org
b68b236805
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
...
git-svn-id: svn://10.0.0.236/trunk@176395 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 16:22:27 +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
807a8ce1b9
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
...
git-svn-id: svn://10.0.0.236/trunk@176286 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 22:01:19 +00:00
masayuki%d-toybox.com
dea8f5f3f3
Changing IID for Bug 299748's previous patch r+sr=bzbarsky, a=cbeard
...
git-svn-id: svn://10.0.0.236/trunk@175909 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-11 05:27:10 +00:00
roc+%cs.cmu.edu
e6421d4f1c
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
...
git-svn-id: svn://10.0.0.236/trunk@175904 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-10 23:50:32 +00:00
masayuki%d-toybox.com
53fbb10ba3
Bug 299748 On listbox, Sometimes, We cannot scroll the page to bottom by mouse wheel r+sr=roc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@175753 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 15:53:07 +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
roc+%cs.cmu.edu
e05c85a204
Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174751 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 02:48:29 +00:00
roc+%cs.cmu.edu
a6a3537c81
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
...
git-svn-id: svn://10.0.0.236/trunk@174046 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 09:00:48 +00:00
roc+%cs.cmu.edu
5bf3780f30
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
...
git-svn-id: svn://10.0.0.236/trunk@174045 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 08:53:26 +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
roc+%cs.cmu.edu
4fe7c318fd
Bug 293543. RenderOffscreen needs to create a surface sized in pixels, not twips. r+sr=bzbarsky,a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173246 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 04:17:56 +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
dougt%meer.net
3d7bcc8055
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
git-svn-id: svn://10.0.0.236/trunk@172870 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 13:33:49 +00:00
jst%mozilla.jstenback.com
ebed1ee784
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
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
b301051b39
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
...
git-svn-id: svn://10.0.0.236/trunk@172840 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 22:17:40 +00:00
roc+%cs.cmu.edu
be405fe0d1
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
...
git-svn-id: svn://10.0.0.236/trunk@172837 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 22:03:28 +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
75c2430147
Bug 291222. Sort display list elements before we lose information about relative ordering by overwriting the topmost bit. r+sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172720 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 02:31:19 +00:00
roc+%cs.cmu.edu
beb5db0281
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
...
git-svn-id: svn://10.0.0.236/trunk@172570 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 20:53:00 +00:00
bzbarsky%mit.edu
ca0e40385d
Fix revokeEvents to reliably revoke them. Bug 284389, r=darin, sr=dbaron,
...
a=asa
git-svn-id: svn://10.0.0.236/trunk@172263 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 03:17:13 +00:00
roc+%cs.cmu.edu
3d63df3114
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
...
git-svn-id: svn://10.0.0.236/trunk@172244 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 22:41:52 +00:00
roc+%cs.cmu.edu
c10d27a704
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.
...
git-svn-id: svn://10.0.0.236/trunk@171843 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 03:59:02 +00:00
bzbarsky%mit.edu
f8a2cb0fe2
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
git-svn-id: svn://10.0.0.236/trunk@171433 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 20:42:30 +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
aaronleventhal%moonset.net
6d9d039e4c
Bug 274600. Fix erratic rendering of applets in iframes. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@170700 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-15 15:24:08 +00:00
roc+%cs.cmu.edu
8236d1c5c5
Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@170324 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu
1815e9c7f2
Fixing missing return value. r+sr=me
...
git-svn-id: svn://10.0.0.236/trunk@170311 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:23:44 +00:00
roc+%cs.cmu.edu
cc672861f0
Fix build bustage AGAIN.
...
git-svn-id: svn://10.0.0.236/trunk@170261 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 02:51:15 +00:00
roc+%cs.cmu.edu
7716d7e3ef
Fixing build bustage on Windows.
...
git-svn-id: svn://10.0.0.236/trunk@170258 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 02:31:42 +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
roc+%cs.cmu.edu
de12315c65
Bug 125386. Turn MOUSE_EXIT events into MOUSE_MOVEs when the mouse didn't actually leave the top level widget. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@169684 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 21:46:43 +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
83052a8538
Make sure to not reenter painting while the mRecursiveRefreshPending flag is
...
still set. Bug 278811, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@168831 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 02:47:26 +00:00
bryner%brianryner.com
9861051f37
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
bzbarsky%mit.edu
306c5b60d3
Fix win32 build bustage
...
git-svn-id: svn://10.0.0.236/trunk@168745 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 06:26:20 +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