Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Fabrice Desré
c4db83258f
Bug 1201145 - Make android intent & web activities coexist peacefully r=snorp
...
--HG--
rename : mobile/android/components/ActivitiesGlue.js => mobile/android/components/AndroidActivitiesGlue.js
2015-09-04 14:06:49 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Geoff Brown
52d4e225a0
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Fernando Jimenez
1faf08e7c9
Bug 1176712 - Cannot have two activities with same name and different filters. Tests. r=fabrice
2015-07-02 07:56:14 +02:00
Fernando Jimenez
ba4d31cead
Bug 1176712 - Cannot have two activities with same name and different filters. r=fabrice
2015-07-02 07:56:14 +02:00
Wes Kocher
d3e671fb87
Backed out 2 changesets (bug 1176712) for gip f5 permafail CLOSED TREE
...
Backed out changeset 52fd1c8b0fcb (bug 1176712)
Backed out changeset 6baeaddb32cc (bug 1176712)
--HG--
extra : amend_source : eef1548405404b8646214c0d10a63ebee0b39f58
2015-07-02 09:21:23 -07:00
Fernando Jimenez
6b6352e3b6
Bug 1176712 - Cannot have two activities with same name and different filters. Tests. r=fabrice
2015-07-02 07:56:14 +02:00
Fernando Jimenez
b58c6bea88
Bug 1176712 - Cannot have two activities with same name and different filters. r=fabrice
2015-07-02 07:56:14 +02:00
Gabriele Svelto
c693511438
Bug 1144132 - Adjust the priority of an activity opener so that it's above other background applications. r=fabrice
...
--HG--
rename : dom/browser-element/mochitest/priority/test_Background.html => dom/browser-element/mochitest/priority/test_Activity.html
rename : dom/browser-element/mochitest/priority/test_ForegroundLRU.html => dom/browser-element/mochitest/priority/test_MultipleActivities.html
2015-06-13 15:16:00 +02:00
Bobby Holley
7f508f299d
Bug 1161748 - Rehydrate ActivityOptions in a system scope. r=fabrice,gabor
2015-05-20 12:18:09 -07:00
Fabrice Desré
ed9ab11d12
Bug 1161537 - Intermittent test_dev_mode_activity.html | Got error: undefined - expected PASS r=me
2015-05-15 14:46:27 -07:00
Fabrice Desré
84cb2e74c3
Bug 1123846 - Restrict some activities to be provided by the system app r=ferjm
2015-05-04 15:30:08 -07:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ehsan Akhgari
883849ee32
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
dc24477d79
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
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Peter Van der Beken
963858ac23
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
09b7ce686a
Bug 997564 - add special handling to internal-system-engineering-mode webactivity. r=fabrice,pauljt
2014-09-21 09:09:00 +02:00
Evelyn Hung
7af584c1e2
Bug 997564 - Use async way to fire an error. r=fabrice
2014-09-21 09:08:00 +02:00
Ehsan Akhgari
1b1d6ffebf
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
4dba5cb3e7
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
db6f22f3fd
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é
be9dd03e7c
Bug 1042881 - ManifestHelper() must resolve uris against the manifest url r=myk
2014-07-30 14:00:15 -07:00
Fabrice Desré
0b4550d49b
backout 5a84a1907654 (bug 1042881) for causing app startup failures r=me
2014-07-31 12:14:03 -07:00
Fabrice Desré
10ddd66ff9
Bug 1042881 - ManifestHelper() must resolve uris against the manifest url r=myk
2014-07-30 14:00:15 -07:00
Mike Hommey
2bab6202af
Bug 1043820 - Remove PARALLEL_DIRS. r=gps
2014-07-29 08:57:59 +09:00
Ms2ger
d8c0b17d7d
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
bc5d6801bb
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é
0bac4814eb
Bug 1032121 - Remove content handler leftover code in ActivitiesService.jsm r=fabrice
2014-06-30 16:37:11 -07:00
Ben Kelly
85647df24b
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
0040a9cd76
Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz
2014-06-11 22:38:55 +03:00
Ting-Yu Chou
ee8fd42985
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é
e090f17324
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é
c9bf431c5e
Bug 1009781 - Remove activities -> content handler mappings r=vingtetun
2014-05-20 13:51:30 -07:00
Josh Dover
4deef5ca41
Bug 776027 - Allow nsIActivityUIGlueCallback to handle native and web activities. r=fabrice
2014-04-25 16:29:00 +02:00
Josh Dover
7be181709e
Bug 776027 - Pass activity options instead of name through nsIActivityUIGlue. r=fabrice
2014-04-25 16:28:00 +02:00
Birunthan Mohanathas
7ac92ae5ea
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
79dab91ff6
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
d4bd64ee2c
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
6b002b786e
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
5ba09142ca
Bug 986493 - Lazily load some modules in Webapps.jsm. r=felipe
2014-03-24 09:37:27 -04:00
Ehsan Akhgari
e5bc682470
Bug 985812 - Make a ActivityRequestHandler.source a pure cached frozen dictionary; r=bzbarsky
2014-03-22 09:54:40 -04:00
Ehsan Akhgari
8c41eafec9
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
2566204ca3
Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky
2014-03-18 00:38:36 -04:00
Ehsan Akhgari
6c58674421
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
a1a1f54752
Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky
2014-03-18 00:38:36 -04:00
Ehsan Akhgari
585a4b69a2
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
39e0cd5600
Bug 976454 - MozActivity emits ActivityCancelled instead USER_ABORT, r=fabrice
2014-03-11 09:24:39 +00:00