Commit Graph

113 Commits

Author SHA1 Message Date
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
d4a40b2bea Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Marco Castelluccio
f258044304 Bug 986493 - Lazily load some modules in Webapps.jsm. r=felipe 2014-03-24 09:37:27 -04:00
Ehsan Akhgari
5605246beb Bug 985812 - Make a ActivityRequestHandler.source a pure cached frozen dictionary; r=bzbarsky 2014-03-22 09:54:40 -04:00
Ehsan Akhgari
7a1c2562be Bug 903873 - Finish porting Web Activities to WebIDL; r=bzbarsky
This patch ports over the ActivityRequestHandler interface.

Unfortunately the original design of the interface specifies that
ActivityRequestHandler.source should be of type ActivityOptions which is
a dictionary.  This is not expressible in WebIDL, so for now we're just
using the type 'object' for that.
2014-03-22 09:52:21 -04:00
Ehsan Akhgari
ed0b551281 Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Ehsan Akhgari
8da855436a Backed out changeset c0e333b0f7dc (bug 866528) on the suspicion that it has broken gaia unit tests again 2014-03-18 21:12:03 -04:00
Ehsan Akhgari
01a58cd2dc Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Ehsan Akhgari
4974790409 Bug 984132 - Remove the unused WebActivities XPIDL interfaces; r=fabrice
When we decide to implement these interfaces, they should be implemented in WebIDL.
2014-03-16 23:51:45 -04:00
Andrea Marchesini
c68e8e19ca Bug 976454 - MozActivity emits ActivityCancelled instead USER_ABORT, r=fabrice 2014-03-11 09:24:39 +00:00
Andrea Marchesini
be07f46d64 Bug 958642 - MozActivity must fire an error when the selected app is killed, r=fabrice 2014-02-06 19:55:20 +00:00
Ehsan Akhgari
0fcd2af628 Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky 2014-02-06 13:28:14 -05:00
Fabrice Desré
da7e46af81 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
Boris Zbarsky
9cdaf7bf8e Bug 950188. DOMRequest should only have a constructor taking a Window. r=khuey 2014-01-06 21:53:23 -05:00
Vivien Nicolas
037bbc9f2f Bug 935561 - [Messaging] Attach icon is kept like pressed when tapping on it and cancel selecting a content to attach. r=fabrice 2013-11-22 13:45:05 +01:00
Andrea Marchesini
15f73230d8 Bug 923274 - Cannot open activity picker from input=file element on 1.2 most of the time, r=fabrice 2013-11-21 12:50:50 +00:00
Mike Hommey
a65383e1e9 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
3b12c2be6c Bug 939042 - Remove library building related variables in directories that build no C/C++ sources. r=mshal 2013-11-19 11:47:29 +09:00
Mike Hommey
d7b6f95761 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Carsten "Tomcat" Book
63e13d3fb3 Merge B2g-inbound to Mozilla-Central 2013-10-25 11:48:38 +02:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Alive Kuo
224aa35c6c Bug 927310 - dispatch activitydone event from mozbrowser iframe 2013-10-21 19:16:00 +01:00
Gregor Wagner
fd0448f663 Bug 923934 - Fix "TypeError: cpmm is undefined" error in activities cleanup. r=fabrice 2013-10-10 12:48:27 -07:00
Jan Varga
8d28f23732 Bug 832883 - Move IDBKeyRange to WebIDL and define indexedDB/IDBKeyRange in all the spots. r=khuey,bent (initial work done by Ms2ger) 2013-09-28 13:25:46 +02:00
Trevor Saunders
27e72dc2a7 bug 915566 - rm makefiles in dom/ r=gps 2013-09-13 12:25:21 -04:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Ms2ger
ced3dd8b1c Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Gregory Szorc
c089ae373d Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
64b2bc7dd9 Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Gregory Szorc
9f99cee9a1 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Fabrice Desré
1f7c7dc2c8 Bug 880548 - Register activities that expose the 'view' type as content handlers r=vingtetun 2013-08-08 15:04:03 -07:00
Antonio M. Amaya
91be0e5f4d Bug 896945 - Allow System Messages to inform gaia they should bring up the receiving app in a configurable way. r=gene,fabrice a=leo+ 2013-07-25 14:36:15 +02:00
Alive Kuo
b2f4623018 Bug 887650 - Append extra information about activity caller in system message. r=gene 2013-07-25 13:18:24 -04:00
Antonio M. Amaya
f4729dd2d3 Bug 892708 - Add a pluggable decision module to determine if a message can be safely sent before notifying the frontend. r=fabrice, r=gene.lian 2013-07-16 17:09:58 +02:00
Mike Hommey
ffd522d5c2 Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Fabrice Desré
f9dcc96d52 Bug 853759 - [activities] fire postError when unloading the app before we have fired anything r=vingtetun 2013-07-05 10:43:02 -07:00
Joey Armstrong
e44d529d0e bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04:00
Mike Shal
2eff1a24b8 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (conversion part 1); r=joey
From 69c3338a3287ff8cc97533e06069fc4d4cb7c5f6 Mon Sep 17 00:00:00 2001
2013-06-10 12:08:47 -04:00
Nikhil Marathe
7be15b755d Bug 868322 - Fixes a shutdown memory leak in ActivitiesService.jsm. r=fabrice
--HG--
extra : rebase_source : 157986b61b4f56e292a6f9b5f47ccb815e4ff22d
2013-06-12 16:28:11 -07:00
Joey Armstrong
d47bba4871 bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -04:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Ryan VanderMeulen
9f23989c39 Merge birch to inbound. 2013-04-30 12:26:29 -04:00