Commit Graph

231 Commits

Author SHA1 Message Date
Neil Deakin
c8df9e6d4f Bug 212750, position context menu for menus when the keyboard shortcut is used, also move code around so that the right targets are set for context menu key events, r=smaug,sr=roc 2009-01-17 15:50:00 -05:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Olli Pettay
7c4810ebbf Bug 419059 - contentAccess accesskeys for elements hidden with CSS don't work, r=neil, sr=roc, a=jst 2008-12-30 16:09:14 +02:00
Olli Pettay
d37ba82165 Bug 470431 - Memory leak of document and content nodes with creating DOMMouseScroll event, r+sr=jst 2008-12-20 01:27:33 +02:00
Neil Deakin
f661817f49 Bug 458613, set relatedTarget for dragenter and dragleave events, r=smaug,sr=roc 2008-12-19 09:58:47 -05:00
Olli Pettay
80fb6384d7 Bug 469672 - Destroy event target chain using a loop, not recursion, r+sr=jst 2008-12-16 12:35:56 +02:00
Martijn Wargers
90151ed8c8 Bug 450876 - [r=Smaug sr=roc] 2008-12-14 22:26:37 -08:00
Chris Pearce
bae9b8c1a5 Bug462570 - Change Network state and Ready state names in HTMLMediaElement to match spec - r=doublec sr=roc 2008-12-15 16:38:16 +13:00
Oleg Romashin
d13954cc90 Bug 428988 - Expose mouse event pressure. r=Olli.Pettay, sr=roc. 2008-12-11 18:55:15 -05:00
Wolfgang Rosenauer
c8fe93228c Bug 468781 - gcc complaining about comparing char* with string literal; s+sr=roc 2008-12-11 14:30:42 +01:00
Robert Sayre
dc78653a53 backout bug 428988, checked in on persistent orange. 2008-12-11 02:43:04 -08:00
Oleg Romashin
06b0d6f7f4 Bug 428988 - Expose mouse event pressure. r=Olli.Pettay, sr=roc. 2008-12-11 03:04:46 -05:00
Masayuki Nakano
2ed1d4b246 Bug 467593 'WARNING: GetCharCode used for wrong key event; should use onkeypress. ' should not be displayed by Web pages r+sr=roc 2008-12-06 18:30:01 +09:00
Markus Stange
76daa5a7da Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc 2008-12-02 14:18:08 +01:00
Boris Zbarsky
f9902ed4f3 Bug 461917. Do a better job of reporting pending exceptions when compiling an event listener. r=mrbkap, sr=jst 2008-12-03 09:41:09 -05:00
Olli Pettay
f6fcfe8f4b Bug 457672 - window blur event is not fired when opening a new tab, r+sr=jst 2008-12-03 13:18:23 +02:00
Olli Pettay
c3018f74aa Bug 466433 - Crash [@ CallQueryInterface<nsIFrame,nsIScrollableViewProvider>] with MozMousePixelScroll event and removing window, r+sr=roc 2008-12-03 12:33:31 +02:00
Olli Pettay
682cb8f56a Bug 463958 - Remove nsEventStateManager::ForceViewUpdate, r+sr=roc 2008-12-03 11:55:44 +02:00
Olli Pettay
64c81a3364 Bug 467291 - Reduce Addrefing while creating event target chain, r+sr=jst 2008-12-03 11:26:38 +02:00
L. David Baron
f0a1beced5 Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
2a61487dd7 Back out 342b86dd79f48f11583e7b6526a5b78457d29a1c due to mac startup failures. 2008-11-25 14:38:17 -08:00
L. David Baron
dc119e5622 Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Brad Lassey
1647c98655 Bug 427987 - Add support for Hildon (Maemo) tap-n-hold context menu r+sr=jst a=beltzner 2008-11-17 21:08:34 -05:00
Mats Palmgren
1064a3f990 Mute a warning when typing Alt+ArrowKey. Code cleanup. b=460680 r+sr=bzbarsky 2008-11-02 16:00:05 +01:00
Markus Stange
69ed7048d1 Bug 457864 - Make wheel scrolling asynchronous, r+sr=roc (relanding) 2008-11-01 15:07:34 +01:00
Benjamin Smedberg
4eb5e5d5a8 Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc 2008-10-30 10:15:22 -07:00
L. David Baron
8878bc85e1 Merge backout of changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:36:44 -07:00
L. David Baron
65cadd7c29 Backed out changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:36:17 -07:00
Benjamin Smedberg
dfbac6a0c3 Merge backout and typo fix of bug 461212 2008-10-28 02:50:20 -04:00
Benjamin Smedberg
3a3f316c84 Backed out changeset affcc1c08bc0 (deCOM frame enumerator) due to regression from it or bug 461410. 2008-10-28 02:47:40 -04:00
Benjamin Smedberg
d89e3c2841 Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
09975e25e4 Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc 2008-10-28 00:47:19 -04:00
tdyas@zecador.org
479713d218 Bug 412486 - widget/event-detection support for multi-touch trackpad gestures, r=smaug,josh, sr=roc 2008-10-23 23:15:20 +03:00
Siraj Razick
8fac55eee5 Bug 424847. Clamp mousewheel text zoom to min/max percentages at zoom time. r+sr=bzbarsky. 2008-10-22 10:15:14 -04:00
Olli Pettay
d5328ab301 Bug 460751 - Progress events should use long long, not long for .total and .loaded, r=chris.double, sr=sicking 2008-10-21 12:06:53 +03:00
Olli Pettay
e9483639ea Bug 460001, r+sr=sicking 2008-10-18 23:18:31 +03:00
Robert O'Callahan
4c1a1c3914 Fixing bustage 2008-10-16 10:24:19 +13:00
Robert O'Callahan
f2edf72f79 Bug 455988. Optimize MozAfterPaint so we never even dispatch an XPCOM event if there are no listeners. r=smaug,sr=mats 2008-10-16 10:06:32 +13:00
Olli Pettay
9d96a5cb3f bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking 2008-10-15 12:40:28 +03:00
Taras Glek
f217b27ac5 Bug 454469: prbool issues in content/ r+sr=sicking 2008-10-14 12:00:08 -07:00
L. David Baron
10bd0bbfe0 Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky 2008-10-11 20:49:42 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
c51f841035 Bug 455806: outparamdel nsIPrivateTextEvent r+sr=jst 2008-10-09 16:31:19 -07:00
Taras Glek
a282d4a876 Bug 455943: outparamdel nsIPrivateTextRangeList r+sr=jst 2008-10-09 16:30:48 -07:00
Taras Glek
2c733370d0 Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst 2008-10-09 16:23:07 -07:00
Olli Pettay
256070b717 Bug 458202 - Speed up event handling, r+sr=jst 2008-10-08 14:35:29 +03:00
Jonas Sicking
7a655650a9 Ensure that you can't use upload ProgressEvents to do server detection when using Access-Control. b=389508 r=smaug sr=jst 2008-09-30 17:51:53 -07:00