Commit Graph

1817 Commits

Author SHA1 Message Date
Nathan Froyd
84d844bb51 Bug 922094 - part 2 - make nsGlobalWindow report its proto/iface cache size, if appropriate; r=bz 2013-11-20 08:55:09 -05:00
Boris Zbarsky
0c1c9fe5f9 Bug 697343 - Add slice hook to DOM bindings like NodeList. r=peterv,bhackett 2013-12-02 11:32:22 -05:00
Tom Schuster
24a3fda1a8 Bug 697343 - Remove getElementIfPresent. r=Waldo 2013-12-05 20:07:24 +01:00
Boris Zbarsky
b291d17548 Bug 945788. Add support for dictionary return values to example codegen and js-implemented codegen. r=smaug 2013-12-05 11:39:50 -05:00
Boris Zbarsky
ff32aca614 Bug 942631 part 7. Move INSTANCE_RESERVED_SLOTS into the C++, so it's closer to the things it depends on. r=peterv 2013-12-04 08:02:19 -05:00
Boris Zbarsky
7a906fe78a Bug 942631 part 6. Fix performance regression in the imagedata getter due to using MaybeWrapValue on a non-DOM object. r=peterv 2013-12-04 08:02:18 -05:00
Boris Zbarsky
bc7799238c Bug 942631 part 5. Add C++ API for clearing the cached value of a [Cached] property or regetting a [StoreInSlot] property. r=peterv 2013-12-04 08:02:18 -05:00
Boris Zbarsky
83ab298b53 Bug 942631 part 4. Allow WebIDL attributes to return a sequence if it's cached. r=peterv 2013-12-04 08:02:18 -05:00
Boris Zbarsky
a8888521b9 Bug 942631 part 3. Preserve the wrapper when caching things in its slots if we're an nsWrapperCache. r=peterv 2013-12-04 08:02:18 -05:00
Boris Zbarsky
b5bcbf7665 Bug 942631 part 2. Make getters for cached properties check and set the reserved slot as needed. r=peterv 2013-12-04 08:02:17 -05:00
Boris Zbarsky
52853729f6 Bug 942631 part 1. Add support for a [Cached] WebIDL annotation. r=peterv 2013-12-04 08:02:17 -05:00
Boris Zbarsky
05c9acd84a Bug 938355 part 2. Relax the restriction on [Pure] not mixing with [Throws] and annotate some more things as [Pure]. r=peterv 2013-12-02 09:50:34 -05:00
Boris Zbarsky
2bc7ce912e Bug 938355 part 1. Refactor jitinfo to separate out the concepts of side-effects and movability. r=efaust 2013-12-02 09:50:34 -05:00
William Chen
1e84522b8f Bug 929885 - Implement web components ShadowRoot style sheet behavior. r=mrbkap 2013-12-02 02:26:12 -08:00
Ms2ger
a129edb4cb Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
b0e23ee2d0 Bug 935362 - Part b: Remove customTrace support; r=khuey 2013-11-28 15:03:15 +01:00
Ms2ger
d217ed9350 Bug 935362 - Part a: Remove nativeOwnership = 'worker' support; r=khuey 2013-11-28 15:03:15 +01:00
Ehsan Akhgari
d3aa58dcf4 Bug 943355 - Build some of the code in dom/bindings in unified mode; r=gps 2013-11-28 08:35:22 -05:00
Olli Pettay
de72b9855a Additional fix for Bug 943613, r=bz
--HG--
extra : rebase_source : 5a635b26e6ee26d20de88f056136d4a3d0a8e0fe
2013-11-27 18:21:00 +02:00
Olli Pettay
37b1f66f95 Bug 943613 - Notify JS implemented Event Target when an event listener is added / removed, r=bz
--HG--
extra : rebase_source : 3285e318ca454297f4a9f06c86e733ddf70f4cf8
2013-11-27 17:22:16 +02:00
Wes Kocher
16b93cae53 Merge b2g-inbound to m-c 2013-11-26 19:34:07 -06:00
Andrew McCreight
c01dc2cf70 Bug 878447 - Don't include nsIDOMGlobalPropertyInitializer.h in generated DOM bindings. r=bz 2013-11-26 14:29:39 -05:00
Randy Lin
19e505c45a Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas 2013-11-25 12:50:03 +13:00
Boris Zbarsky
811841efee Bug 938294 part 2. Store information about argument types in jitinfo. r=peterv,efaust 2013-11-25 20:59:39 -05:00
Boris Zbarsky
e0a7f40ce6 Bug 938294 part 1. Allow the [Pure] annotation on non-throwing DOM methods. r=peterv 2013-11-25 20:59:39 -05:00
Boris Zbarsky
100e122d32 Bug 935855 part 6. Add friend API exposing the max number of fixed slots, and some static asserts that we're not going past it. r=jorendorff 2013-11-25 20:59:38 -05:00
Boris Zbarsky
0530bd2b6f Bug 935855 part 4. Codegen a function that updates all the members-in-reserved-slots values for an interface and call it when we finish wrapping an object. r=peterv 2013-11-25 20:59:38 -05:00
Boris Zbarsky
32434c276b Bug 935855 part 3. Compute the right slot indices to use for members we want to store in slots and save then in the data model the WebIDL parser outputs. r=peterv 2013-11-25 20:59:38 -05:00
Boris Zbarsky
83e5da85cc Bug 935855 part 2. Store isSlot information in jitinfo. r=peterv,efaust 2013-11-25 20:59:37 -05:00
Boris Zbarsky
a68924fda0 Bug 935855 part 1. Add a [StoreInSlot] WebIDL annotation to bindings. r=peterv 2013-11-25 20:59:34 -05:00
Boris Zbarsky
3f7b46625d Bug 941776. Fix up our includes a bit when a dictionary contains a dictionary from another .webidl file. r=smaug 2013-11-25 20:57:25 -05:00
Nikhil Marathe
ccf49f860d Bug 942256 - ThreadSafeCheckIsChrome() checks UsesSystemPrincipal() for Workers. r=bz
--HG--
extra : rebase_source : 756edcea9860c22b06820ef505f51e7741cd5442
2013-11-22 14:08:38 -08:00
Jan-Ivar Bruaroey
8bdf89552d Bug 933447 - Use new weakRef to JSImpl feature. r=smaug, r=mccr8, r=abr 2013-11-08 19:45:59 -05:00
Ryan VanderMeulen
94ddc2e1d9 Merge m-c to inbound. 2013-11-21 11:37:10 -05:00
Carsten "Tomcat" Book
9f47cb96d7 merge mozilla-inbound to mozilla-central 2013-11-21 14:20:21 +01:00
Olli Pettay
f9671a72bc Bug 928535, Support WeakRef's from c++ to JSImplemented webidl objects, r=mccr8
--HG--
extra : rebase_source : 05736af7ab2d11b10e7e6e917b8647a58e2c2108
2013-11-20 23:42:16 +02:00
Boris Zbarsky
4c293cf8e4 Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug 2013-11-21 07:51:16 -05:00
Boris Zbarsky
62cf6930a1 Bug 941437 part 1. Remove the unused cx argument from dom::UnwrapObject. r=smaug 2013-11-21 07:51:15 -05:00
Edgar Chen
d4456d6d0c Bug 814637 - Part 3: DOM changes for IccManager support multiple sim. f=hsinyi. r=smaug 2013-10-09 17:40:12 +08:00
Edgar Chen
b5547e1ca7 Bug 814637 - Part 1: Interface changes for iccManager support multiple sim. r=allstars.chh,hsinyi,smaug 2013-10-09 16:02:59 +08:00
Gregory Szorc
fa9bd3e7b1 Backed out 4 changesets (c0e8f2c0465f::608c663f691f) (bug 928195) for landing prematurely
--HG--
extra : rebase_source : fa42534ef50a0373738349f17b2ca57510bdd6ac
2013-11-19 10:16:51 -08:00
Gregory Szorc
cd28c58eaa Bug 928195 - Part 6: Rewrite WebIDL build system integration
WebIDL build system integration has been rewritten from the ground up.
Changes:

* GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in
  favor of mozwebidl.py.

* Static .webidl files are now processed directly in their original location
  and aren't copied to the object directory.

* Generated events <stem>.cpp files are now compiled into the unified
  sources. Previously, only the <stem>Binding.cpp files were compiled
  into unified sources.

* Exported .h files are now generated directly into their final location.
  Previously, they were generated into the local directory then
  installed in their final location.

* The list of globalgen-generated files now lives in Python and isn't
  duplicated in 3 places.

* The make dependencies are much simpler as a result of using a single
  command to perform all code generation. The auto-generated .pp file from
  code generation sets up all dependencies necessary to reinvoke code
  generation and Python takes care of dependency management.

--HG--
extra : rebase_source : bde37d7aab3bd224ca8611f3ba4aaf6311e2faab
2013-11-14 09:52:49 -08:00
Gregory Szorc
21661b7f55 Bug 928195 - Part 4: mach command for generating WebIDL example files; r=froydnj
--HG--
extra : rebase_source : c2c2667cae91eae9e444f9d7cbd2750a5207af5d
2013-11-14 10:34:55 -08:00
Gregory Szorc
b89193cb67 Bug 928195 - Part 3: Consolidate all WebIDL Python logic into mozwebidl module; r=bz, froydnj
--HG--
extra : rebase_source : 0d8f664ecda7a92b6fba768a0dd0fd867c7d0ed3
2013-11-18 13:02:11 -08:00
Gregory Szorc
1dc2a7a39b Bug 928195 - Part 2: Provide a mach command to run WebIDL parser tests; r=bz
--HG--
extra : rebase_source : ff200d7a77532dae9e022d03cccc624ea1f77c63
2013-11-14 14:34:50 -08:00
Gregory Szorc
577455026d Bug 928195 - Part 1: Remove trailing whitespace from Codegen.py; r=bz
--HG--
extra : rebase_source : 09a7ed7933ef3c6efac617d3300b709ac2b3f26e
2013-11-14 14:31:58 -08:00
Jon Coppeard
cf6ff52940 Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley 2013-11-20 15:37:30 +00:00
Bobby Holley
7162ef682f Bug 939166 - Stop going through nsIScriptGlobalObject in CallSetup. r=bz 2013-11-20 08:48:00 -08:00
Ed Morley
361b4a192c Backed out changeset 17ca97e65aa5 (bug 940727) 2013-11-20 16:37:55 +00:00
Jon Coppeard
abca7a17ab Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley 2013-11-20 15:37:30 +00:00