Commit Graph

1412 Commits

Author SHA1 Message Date
Daniel Holbert
3dc6c6a6d7 Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst 2009-01-23 01:02:09 -08:00
Daniel Holbert
4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Neil Deakin
688af8eaed 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
ce80f69254 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
3498a5f86e 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
73a6fab34b 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
802d1a10c7 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
Taras Glek
a2157f285c Bug 472171 - nsIPrivateTextRangeList outparamdel didn't change IID r+sr=bz 2009-01-05 14:50:47 -08:00
Taras Glek
cb77e7c8aa Bug 472169 - nsIPrivateTextEvent outparamdel didn't change IID r+sr=bz 2009-01-05 14:50:30 -08:00
Taras Glek
35af7bfb1f Bug 472120 - nsIPrivateDOMEvent outparamdel didn't change IID r+sr=bz 2009-01-05 14:49:34 -08:00
Olli Pettay
c441c5cffd 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
Jeff Walden
924b027ce0 Fix another warning pointed out by bsmedberg warning-blame by annotating a function parameter as an outparam. 2008-12-23 13:33:58 -08:00
Olli Pettay
2a620fc7f7 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
b0579d24d1 Bug 458613, set relatedTarget for dragenter and dragleave events, r=smaug,sr=roc 2008-12-19 09:58:47 -05:00
Masayuki Nakano
aa06a5b316 Bug 226784 Caret display problems with Korean input methods in Windows r=VYV03354+ere, sr=roc 2008-12-17 17:05:44 +09:00
Olli Pettay
28cb4846da Bug 469720 - tabindex of -1 set in javascript ignored on file input, r+sr=bz 2008-12-17 09:33:33 +02:00
Olli Pettay
174ca08897 Bug 469672 - Destroy event target chain using a loop, not recursion, r+sr=jst 2008-12-16 12:35:56 +02:00
Martijn Wargers
f408deee04 Bug 450876 - [r=Smaug sr=roc] 2008-12-14 22:26:37 -08:00
Chris Pearce
929f5e14ff 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
d7a1c32e01 Bug 428988 - Expose mouse event pressure. r=Olli.Pettay, sr=roc. 2008-12-11 18:55:15 -05:00
Wolfgang Rosenauer
66a905b4dc Bug 468781 - gcc complaining about comparing char* with string literal; s+sr=roc 2008-12-11 14:30:42 +01:00
Robert Sayre
be41dd2fc4 backout bug 428988, checked in on persistent orange. 2008-12-11 02:43:04 -08:00
Oleg Romashin
ec25478838 Bug 428988 - Expose mouse event pressure. r=Olli.Pettay, sr=roc. 2008-12-11 03:04:46 -05:00
Olli Pettay
e6aa9bb7a5 Bug 468261, Modify the testcase for bug 457672, so that it works also with SM. 2008-12-07 02:13:04 +02:00
Masayuki Nakano
0aa1849eae 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
030716b190 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
13db56625d 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
9fd913e7a2 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
112d988340 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
5afcde5bb2 Bug 463958 - Remove nsEventStateManager::ForceViewUpdate, r+sr=roc 2008-12-03 11:55:44 +02:00
Olli Pettay
b37f5c3a54 Bug 467291 - Reduce Addrefing while creating event target chain, r+sr=jst 2008-12-03 11:26:38 +02:00
L. David Baron
ca761d4290 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
454663f1a4 Back out 342b86dd79f48f11583e7b6526a5b78457d29a1c due to mac startup failures. 2008-11-25 14:38:17 -08:00
L. David Baron
df90903560 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
28cd7f678c 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
fea9db8099 Mute a warning when typing Alt+ArrowKey. Code cleanup. b=460680 r+sr=bzbarsky 2008-11-02 16:00:05 +01:00
Markus Stange
72aca2a4c9 Bug 457864 - Make wheel scrolling asynchronous, r+sr=roc (relanding) 2008-11-01 15:07:34 +01:00
Benjamin Smedberg
bb3bf9ec94 Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc 2008-10-30 10:15:22 -07:00
Ted Mielczarek
896d5b70b0 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
L. David Baron
c74a025b24 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
5b935e6daa 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
c61a8a0db3 Merge backout and typo fix of bug 461212 2008-10-28 02:50:20 -04:00
Benjamin Smedberg
555c5a8f1c 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
2127dcfc13 Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
717ae8d8b9 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
Markus Stange
5feaf5f6ed Bug 457864 - Fix tests to not rely on mouse wheel scrolling being synchronous, r=smaug 2008-10-27 20:24:33 +01:00
tdyas@zecador.org
a5addcf599 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
1594241853 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
3fa3e7fa87 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
34ff4e39e0 Bug 460001, r+sr=sicking 2008-10-18 23:18:31 +03:00