Commit Graph

131 Commits

Author SHA1 Message Date
Ehsan Akhgari
6f236e1960 Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Birunthan Mohanathas
bf89cade4d Bug 1058101 - Flatten dom/activities/src/ into parent directory. r=mccr8
--HG--
rename : dom/activities/src/Activities.manifest => dom/activities/Activities.manifest
rename : dom/activities/src/ActivitiesService.jsm => dom/activities/ActivitiesService.jsm
rename : dom/activities/src/ActivitiesServiceFilter.jsm => dom/activities/ActivitiesServiceFilter.jsm
rename : dom/activities/src/Activity.cpp => dom/activities/Activity.cpp
rename : dom/activities/src/Activity.h => dom/activities/Activity.h
rename : dom/activities/src/ActivityMessageConfigurator.js => dom/activities/ActivityMessageConfigurator.js
rename : dom/activities/src/ActivityProxy.js => dom/activities/ActivityProxy.js
rename : dom/activities/src/ActivityRequestHandler.js => dom/activities/ActivityRequestHandler.js
rename : dom/activities/src/ActivityWrapper.js => dom/activities/ActivityWrapper.js
2014-08-27 10:12:03 -07:00
Chris Lord
46a53f7d64 Bug 1051513 - Fix update of webapp activity registration. r=fabrice
Remove all old activities for a given manifest before re-registering new ones.
2014-08-11 23:21:44 +01:00
Fabrice Desré
bb33b2ef42 Bug 1042881 - ManifestHelper() must resolve uris against the manifest url r=myk 2014-07-30 14:00:15 -07:00
Fabrice Desré
ef472796d3 backout 5a84a1907654 (bug 1042881) for causing app startup failures r=me 2014-07-31 12:14:03 -07:00
Fabrice Desré
7f556803c8 Bug 1042881 - ManifestHelper() must resolve uris against the manifest url r=myk 2014-07-30 14:00:15 -07:00
Mike Hommey
010c0a5eb7 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Ms2ger
d9e695483d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Mike Hommey
9ae3c48776 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Fabrice Desré
d7b7369be8 Bug 1032121 - Remove content handler leftover code in ActivitiesService.jsm r=fabrice 2014-06-30 16:37:11 -07:00
Ben Kelly
935db1e193 Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz 2014-06-16 12:52:00 -04:00
Olli Pettay
9233bc118d Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Ting-Yu Chou
7a5bd2f1fc Bug 1007520 - Part 2: Avoid leaking Activities.callers in ActivitiesService.jsm. r=fabrice
--HG--
extra : rebase_source : f2a09304c40e743c5374ef2a52864b380b2f9a0a
2014-06-10 14:05:38 +08:00
Fabrice Desré
d3dc0fb3cb Bug 1017420 - Add support for certified apps to get the list of apps matching an activity request r=sicking 2014-05-29 17:24:49 -07:00
Fabrice Desré
1210c718f2 Bug 1009781 - Remove activities -> content handler mappings r=vingtetun 2014-05-20 13:51:30 -07:00
Josh Dover
ccfb78f771 Bug 776027 - Allow nsIActivityUIGlueCallback to handle native and web activities. r=fabrice 2014-04-25 16:29:00 +02:00
Josh Dover
e711f0be5e Bug 776027 - Pass activity options instead of name through nsIActivityUIGlue. r=fabrice 2014-04-25 16:28:00 +02:00
Birunthan Mohanathas
c8c6722bb4 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Boris Zbarsky
fdbb455d4f 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
3f26a82832 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
9553dba3d6 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
883ab21b7c Bug 986493 - Lazily load some modules in Webapps.jsm. r=felipe 2014-03-24 09:37:27 -04:00
Ehsan Akhgari
5b963a3d75 Bug 985812 - Make a ActivityRequestHandler.source a pure cached frozen dictionary; r=bzbarsky 2014-03-22 09:54:40 -04:00
Ehsan Akhgari
bdb6a06376 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
eeec1df70b Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Ehsan Akhgari
831522a3e6 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
19dab8fc1a Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Ehsan Akhgari
77393cda88 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
2d357571d4 Bug 976454 - MozActivity emits ActivityCancelled instead USER_ABORT, r=fabrice 2014-03-11 09:24:39 +00:00
Andrea Marchesini
1af48da482 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
87c1762284 Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky 2014-02-06 13:28:14 -05:00
Fabrice Desré
157c7c94a9 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
Boris Zbarsky
220a72b3b6 Bug 950188. DOMRequest should only have a constructor taking a Window. r=khuey 2014-01-06 21:53:23 -05:00
Vivien Nicolas
6562636f52 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
fd41f516c9 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
931cb49886 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
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
b73ed76683 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
f81885e53b 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
a28b523e35 Merge B2g-inbound to Mozilla-Central 2013-10-25 11:48:38 +02:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Alive Kuo
9c7c09070b Bug 927310 - dispatch activitydone event from mozbrowser iframe 2013-10-21 19:16:00 +01:00
Gregor Wagner
32c9638b90 Bug 923934 - Fix "TypeError: cpmm is undefined" error in activities cleanup. r=fabrice 2013-10-10 12:48:27 -07:00
Jan Varga
23ce3971fb 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
a8459b4e00 bug 915566 - rm makefiles in dom/ r=gps 2013-09-13 12:25:21 -04:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Kyle Huey
bf31d78a83 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Ms2ger
2fab82586f Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00