Ehsan Akhgari
33bb32f549
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
54c64f20a9
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Andrew Halberstadt
2da4ee197d
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Peter Van der Beken
bd58cd5aea
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove some IsDOMBinding asserts. r=bz.
...
--HG--
extra : rebase_source : 74569bd08dbc0d6755ac45999cfe99725ef6bc0a
2014-10-07 11:44:49 +02:00
Evelyn Hung
159534f2c1
Bug 997564 - add special handling to internal-system-engineering-mode webactivity. r=fabrice,pauljt
2014-09-21 09:09:00 +02:00
Evelyn Hung
3793254f6a
Bug 997564 - Use async way to fire an error. r=fabrice
2014-09-21 09:08:00 +02:00
Ehsan Akhgari
bc7cc3893c
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
b47eb2bfce
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
bf797a46b8
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é
6128f1e270
Bug 1042881 - ManifestHelper() must resolve uris against the manifest url r=myk
2014-07-30 14:00:15 -07:00
Fabrice Desré
cc7dd1764b
backout 5a84a1907654 (bug 1042881) for causing app startup failures r=me
2014-07-31 12:14:03 -07:00
Fabrice Desré
154ab0bbdf
Bug 1042881 - ManifestHelper() must resolve uris against the manifest url r=myk
2014-07-30 14:00:15 -07:00
Mike Hommey
20d181268e
Bug 1043820 - Remove PARALLEL_DIRS. r=gps
2014-07-29 08:57:59 +09:00
Ms2ger
e99bd12a4b
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
d10b15b035
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é
a24c30767f
Bug 1032121 - Remove content handler leftover code in ActivitiesService.jsm r=fabrice
2014-06-30 16:37:11 -07:00
Ben Kelly
fa96ef9593
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
2672babef6
Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz
2014-06-11 22:38:55 +03:00
Ting-Yu Chou
6e3a79784e
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é
1d015cbffb
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é
625b7bf6a0
Bug 1009781 - Remove activities -> content handler mappings r=vingtetun
2014-05-20 13:51:30 -07:00
Josh Dover
06492e32ea
Bug 776027 - Allow nsIActivityUIGlueCallback to handle native and web activities. r=fabrice
2014-04-25 16:29:00 +02:00
Josh Dover
221ac5df8d
Bug 776027 - Pass activity options instead of name through nsIActivityUIGlue. r=fabrice
2014-04-25 16:28:00 +02:00
Birunthan Mohanathas
4de1915f30
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
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