Commit Graph

1630 Commits

Author SHA1 Message Date
Olli Pettay
7818288b1f Bug 854573 - Paris binding for CompositionEvent, r=peterv
--HG--
extra : rebase_source : 3e04e198a329649d7e1f306a31cf96485f0afc0d
2013-03-26 13:45:45 +02:00
Olli Pettay
8d94afa3e9 Bug 847590 - Paris binding for BeforeUnloadEvent, r=peterv
--HG--
extra : rebase_source : d249e7a7e61c39ccba52a10234e2260b048c941d
2013-03-26 13:45:39 +02:00
Benoit Girard
6ed333dbb5 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
bbe4c3065e Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
David Zbarsky
f982db0249 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
David Zbarsky
f9a4c3eab4 Bug 847007: Remove nsIDocument includes r=Ms2ger 2013-03-21 20:05:19 -04:00
Terrence Cole
46f8e831e6 Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug
nsScriptObjectHolder is not needed with either conservative or exact rooting.
2013-03-20 13:09:09 -07:00
Ted Mielczarek
704e2319bc bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Aryeh Gregor
4fecb0f012 Bug 852115 - initEvent should unset defaultPrevented; r=smaug 2013-03-20 16:15:58 +02:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Trevor Saunders
324dfcc313 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
Ehsan Akhgari
331ae40b9c Bug 851073 - Move MouseEvent to Web IDL; r=smaug
--HG--
extra : rebase_source : 2b9f8e4f83a980838599bc4c0b6722651891c413
2013-03-14 11:30:47 -04:00
Bobby Holley
5e9050a8a4 Bug 851418 - Unscope the pusher in CompileEventHandlerInternal. r=mrbkap 2013-03-18 14:30:15 -07:00
Olli Pettay
3006670df1 Bug 851996, Simplify MessageEvent's jsval handling, r=mccr8
--HG--
extra : rebase_source : d9c6b59555d6672c03068e9c5bae65712007515a
2013-03-18 16:50:37 +01:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
90f13c7e56 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
02d1d31696 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Ms2ger
aed8044ac2 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
865e2310fc Bug 851134 - Part b: Implement the EventTarget getters in the WebIDL API for Event directly instead of calling the XPIDL implementations; r=smaug 2013-03-17 08:55:17 +01:00
Ms2ger
ad4421404d Bug 851134 - Part a: Implement the primitive getters in the WebIDL API for Event directly instead of calling the XPIDL implementations; r=smaug 2013-03-17 08:55:17 +01:00
Ms2ger
5dd8d9d4d2 Bug 850817 - Move ClientRect to Paris bindings; r=bz
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Jose Cortes
d8b4437a53 Bug 842186 - Replace use of jsval with JS::Value in cpp and h files in the content/events directory. r=jwalden
--HG--
extra : rebase_source : b1436faef9ffb4c9396d97d956c1a8ede7a2ad20
2013-03-16 16:39:51 -07:00
L. David Baron
cfed7ab465 Bug 850559: Fix tests that call advanceTimeAndRefresh without calling restoreNormalRefresh. r=vlad 2013-03-15 14:40:37 -07:00
Olli Pettay
493383d8d5 Bug 847586 - Paris binding for MutationEvent, r=Ms2ger
--HG--
extra : rebase_source : 7e20d191d214a1ac8eea2b6cb51718fafd5d0555
2013-03-14 23:18:20 +02:00
Olli Pettay
0d003dc178 Bug 847599 - Paris binding for TransitionEvent, r=Ms2ger
--HG--
extra : rebase_source : 0540a60c6a6d3ac1bef6df399e3feb7040f92a26
2013-03-14 23:16:13 +02:00
Olli Pettay
925dba1211 Bug 847589 - Paris binding for AnimationEvent, r=Ms2ger
--HG--
extra : rebase_source : 5987a31b2700481c17b0f430cd66c6e1bb7881e5
2013-03-14 23:16:03 +02:00
Masayuki Nakano
878e9a226e Bug 829952 Reimplement system scroll speed override stuff for D3E WheelEvent feedback=avih, r=smaug+roc, sr=roc 2013-03-15 18:03:16 +09:00
Gene Lian
1aab17284e Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 6, dispatch MMS events). r=vicamo,mounir sr=sicking a=leo+ 2013-03-09 15:22:42 +08:00
Ed Morley
36cdd9d1e6 Backed out changeset 46ba7eb77ae1 (bug 847589) for crashes on a CLOSED TREE 2013-03-14 13:25:28 +00:00
Ed Morley
84f7a99dc5 Backed out changeset 6ab8497cb00f (bug 847599) 2013-03-14 13:23:32 +00:00
Ed Morley
409b3f0cc4 Backed out changeset ea13caf078a7 (bug 847586) 2013-03-14 13:23:28 +00:00
Olli Pettay
ba146befcc Bug 847586 - Paris binding for MutationEvent, r=Ms2ger
--HG--
extra : rebase_source : ce847b7cef923334274474e34db66158c110646c
2013-03-14 13:31:54 +02:00
Olli Pettay
e87666b025 Bug 847599 - Paris binding for TransitionEvent, r=Ms2ger
--HG--
extra : rebase_source : ac215dccab4fcf5a802669584eaa71168a73e085
2013-03-14 13:07:02 +02:00
Olli Pettay
35f53fbaff Bug 847589 - Paris binding for AnimationEvent, r=Ms2ger
--HG--
extra : rebase_source : abe968ca08b2f2bed4355e1fd69ea4f005689fd8
2013-03-14 13:03:00 +02:00
Olli Pettay
ae362dc62d Bug 847591 - Paris binding for CommandEvent, r=peterv
--HG--
extra : rebase_source : f633d3c91764c38f7cec9a9e1c192773e3ea6f7f
2013-03-13 23:05:32 +02:00
Olli Pettay
b05dd2df6e Bug 847583 - Paris binding for MessageEvent, r=peterv
--HG--
extra : rebase_source : 1f43c32d1dd2e05a745fe105d5b7156148b3b900
2013-03-13 22:18:36 +02:00
Olli Pettay
b7e2a4443f Bug 847585 - Paris binding for UIEvent, r=peterv
--HG--
extra : rebase_source : 01c588b769f9a3fa0ed435b67b0e07dff4dda179
2013-03-13 22:02:32 +02:00
Jeff Walden
45c6642e41 Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger 2013-03-05 15:43:44 -08:00
Jeff Walden
000d820503 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Gregory Szorc
56a7634c1c Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
3d694a85c0 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Neil Deakin
effc6c1616 Bug 407983, add clipboard events constructor, r=smaug 2013-03-11 11:49:56 -04:00
Neil Deakin
1efdb14bf3 Bug 407983, add support for clipboardData in cut/copy/paste events, r=ehsan,sr=smaug 2013-03-11 11:49:48 -04:00
Trevor Saunders
2bffe03733 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Jonathan Watt
90bfc0f07b Bug 849855 - Expose BaseEventFlags::mMultipleActionsPrevented to chrome JS. r=smaug. 2013-03-12 11:28:17 +00:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Mats Palmgren
0600e7abd7 Bug 635852. r=smaug 2013-03-08 12:04:53 +01:00
Olli Pettay
ceab0ac5ce Bug 844313 - Call GC more likely when there are lots of Events to collect, r=mccr8
--HG--
extra : rebase_source : 675ad0e5b5e22b3ccc1ec2bddac7048df57f522a
2013-03-07 20:53:19 +02:00
Jon Coppeard
f85957ecb3 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
0887cddaa0 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
19ed4f05c2 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Nicholas Nethercote
e7f05c167d Bug 847236 - Simplify the dead nsEventTargetChainItem objects cache (2nd attempt). r=smaug.
--HG--
extra : rebase_source : c46d667fbcc56bdc1826ea61bc62f656f79c3919
2013-03-04 20:59:29 -08:00
Jonathan Kew
8fab56bb98 bug 799523 pt 3 - work around fullscreen window-size error (bug 729011) by calculating center in integer CSS pixels instead of device pixels. r=bz 2013-03-06 17:16:55 +00:00
Jonathan Kew
89051567d8 bug 799523 pt 1 - avoid mixing CSS-pix and device-pix coordinates in GetWindowInnerRectCenter. r=bz 2013-03-06 17:16:08 +00:00
Phil Ringnalda
31d866ff72 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
39ae246957 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Masatoshi Kimura
7693df618d Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Olli Pettay
c4d3dc87a3 Bug 847600 - Remove SVGEvent, r=jwatt
--HG--
extra : rebase_source : 5b9452c1757b2cec02d469337ae3876a554f0081
2013-03-11 20:57:08 +02:00
Masayuki Nakano
e71fc2d290 Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
85b5fca5af Bug 558976 part.1 Merge nsIWidget::ResetInputState(), nsIWidget::CancelComposition(), nsIWidget::OnIMEFocusChange() and nsIWidget::OnIMESelectionChange() r=roc, sr=roc 2013-03-06 15:14:31 +09:00
Ryan VanderMeulen
e3dcee067c Backed out changeset 74eaeeec2b9d (bug 847236) for crashes on a CLOSED TREE. 2013-03-04 22:46:22 -05:00
Nicholas Nethercote
fe30ab0276 Bug 847236 - Simplify the dead nsEventTargetChainItem objects cache. r=smaug.
--HG--
extra : rebase_source : 05e8756f0270ac7ed0b10f1ceb2f2825fa7bc6ae
2013-03-03 16:02:11 -08:00
William Chen
929291a8d9 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Jeff Walden
72eca3f9c1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Nathan Froyd
dc314b6019 Bug 850270 - write a request's rectangle directly in nsDOMNotifyPaintEvent; r=smaug 2013-03-12 13:26:48 -04:00
Mounir Lamouri
f7d21913df Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn 2013-03-01 00:15:59 +00:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
fee2be3026 Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
Peter Van der Beken
60efffbed9 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Bobby Holley
e83e186c1b Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
784a476fb8 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
e04f8d807d Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Masatoshi Kimura
eff9403238 Bug 843489 - Drop support for .createEvent("progressevent"). r=smaug 2013-02-23 14:49:59 +09:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ryan VanderMeulen
486f369f1f Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Trevor Saunders
0900a6537c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Randy Lin
90902b6a5b Bug 834165 - Implement BlobEvent. r=smaug
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
L. David Baron
5ef4421fa5 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Trevor Saunders
3e6a6deadc bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Trevor Saunders
36453999ea bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Masayuki Nakano
e37ff211be Bug 833719 part.1 Register some DOM keyCode values for Windows giving virtual keycode names and all OEM speicific virtual keyCode of Windows except we already used values r+sr=smaug 2013-02-13 14:47:19 +09:00
Ryan VanderMeulen
0e981ca346 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Bobby Holley
e9d5a91d21 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
5a1f2c3927 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
863479340f Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Mounir Lamouri
0680e6e74d Bug 840031 - Use IsTextControl() in nsEventStateManager.cpp. r=smaug 2013-02-12 16:41:58 +00:00
Olli Pettay
ff9c34a6e4 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Olli Pettay
6e6150abc6 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Robert Strong
2615fbe80d Back out Bug 678392 2013-02-08 16:52:12 -08:00
Stephen Pohl
8d7a3e80e7 Main patch (original patch by mstange) - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud r=felipc 2013-02-08 13:56:50 -08:00
Bobby Holley
966a177f72 Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.

I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Mats Palmgren
8ebc796ef8 Bug 838931 - Don't include nsIFrameTraversal.h since it's not used in this file anymore. r=dholbert 2013-02-07 21:07:53 -05:00
Brad Lassey
d725a81085 bug 674739 - Implement DOM3 KeyboardEvent types for volume controls r=masayuki, sr=smaug 2013-02-04 15:50:41 -05:00
Vicamo Yang
cacd4c86e3 Bug 835148: Implement SmsEvent using event generator. r=smaug
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Boris Zbarsky
d71214e1ed Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00