Граф коммитов

557 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Nick Alexander e90bd4aabb Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
MozReview-Commit-ID: 63yJGdgPbhe

--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Andrea Marchesini 1e2dc533d6 Bug 1173320 - patch 8/8 - Fix e10s tests for DeviceStorage API, r=smaug 2016-03-20 11:56:11 +01:00
Andrea Marchesini 69278a33e5 Bug 1173320 - patch 5/8 - Cleanup manual string path management, r=smaug 2016-03-20 11:56:10 +01:00
Andrea Marchesini f11df067d2 Bug 1173320 - patch 3/8 - Improve the Windows path management, r=smaug 2016-03-20 11:56:10 +01:00
Phil Ringnalda b47ec4d2bd Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini f8fd9ba926 Bug 1173320 - patch 8/8 - Fix e10s tests for DeviceStorage API, r=smaug 2016-03-19 22:29:47 +01:00
Andrea Marchesini f9925e6480 Bug 1173320 - patch 5/8 - Cleanup manual string path management, r=smaug 2016-03-19 22:29:47 +01:00
Andrea Marchesini 5692c003d2 Bug 1173320 - patch 3/8 - Improve the Windows path management, r=smaug 2016-03-19 22:29:46 +01:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Boris Zbarsky c25f03058e Bug 1255867. Remove some unnecessary AutoJSAPI uses. r=bholley 2016-03-11 23:59:10 -05:00
Aidin Gharibnavaz 686438c658 Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
Carsten "Tomcat" Book 5b358688b7 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz 69cf7e035f Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Andrew McCreight fca5300234 Bug 1063569 - Enable devicestorage test_dirs.html. r=dhylands 2016-02-03 08:30:15 -08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Bill McCloskey c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
Dave Hylands 6ce82bea6b Bug 1232506: Make dom/devicestorage really work with e10s. r=alchen 2015-12-18 17:17:46 -08:00
Carsten "Tomcat" Book 956117e0df Backed out changeset 0f2a62a45b00 (bug 1232506) for causing a talos perma failure 2015-12-21 13:00:59 +01:00
Dave Hylands 1eabadf7aa Bug 1232506: Make dom/devicestorage really work with e10s. r=alchen 2015-12-18 17:17:46 -08:00
Andrew McCreight 220f3c6e66 Bug 1222522, part 2 - Inline devicestorage_cleanup() in dom/devicestorage/ tests. r=dhylands 2015-11-20 09:18:22 -08:00
Andrew McCreight 6bfd070b88 Bug 1222522, part 1 - Make most dom/devicestorage/ tests work with e10s. r=dhylands
These tests use devicestorage_setup() in devicestorage_common() to do
two things:

a) Set up preferences using pushPrefEnv().

b) Delete a special directory for testing device storage things, to
make sure it is empty. This requires running a chrome script and
waiting for it to finish.

Actually converting the individual tests requires wrapping up the
rest of the test inside a giant function.

This patch also removes the non-e10s ipc tests, because the other
changes break them. They should not be needed any more, as with this
patch we will be running devicestorage tests on e10s and b2g.
2015-11-20 09:18:22 -08:00
Xidorn Quan 21f5537d6f Bug 1186750 part 11 - Convert all usage of Dispatch/NS_DispatchToMainThread in dom/devicestorage to pass in either already_AddRefed or raw pointer. r=dhylands
--HG--
extra : source : a3cc7c40096ea3fadb0971e0c7077ffcbfc56264
2015-11-20 18:47:49 +11:00
Xidorn Quan 23ce331270 Bug 1186750 part 10 - Simplify code in DeviceStorageRequestParent::Dispatch. r=dhylands
--HG--
extra : source : ac74f224b7b73f3f0e2d8853fbe9572dd23ee510
2015-11-20 18:47:49 +11:00
Xidorn Quan 136db2d439 Bug 1186750 part 9 - Use already_AddRefed&& to initialize mFile of device storage requests. r=dhylands
--HG--
extra : source : 5b906aaa0db5139cc157c36e103d7a6780a18de6
2015-11-20 18:47:49 +11:00
Xidorn Quan 19402ec86a Bug 1186750 part 8 - Convert DeviceStorageUsedSpaceCache::Dispatch to use already_AddRef&&. r=dhylands
--HG--
extra : source : f189f9cd657e665d032aa05812e8479e0eb85a43
2015-11-20 18:47:49 +11:00
Xidorn Quan dd00635aba Bug 1186750 part 7 - Convert DispatchToOwningThread and DispatchOrAbandon to take already_AddRefed&&. r=dhylands
--HG--
extra : source : 59c373cbe96c9fd024aa022a8cc6fe3f60613f0e
2015-11-20 18:47:49 +11:00
Xidorn Quan 0a6f6bbb07 Bug 1186750 part 6 - Remove unused and unimplemented method nsDOMDeviceStorage::StorePermission. r=dhylands
--HG--
extra : source : e46af57648ff7ea7f895cd00dc64942644babaef
2015-11-20 18:47:49 +11:00
Xidorn Quan 847f049259 Bug 1186750 part 5 - Convert nsDOMDeviceStorage::CheckPermission to take already_AddRefed&&. r=dhylands
--HG--
extra : source : 94d74746ca94282a3705777472862c98591401e5
2015-11-20 18:47:49 +11:00
Xidorn Quan 6ee46ae456 Bug 1186750 part 4 - Clear runnable list in DeviceStorageRequestParent when being destroyed. r=dhylands
--HG--
extra : source : 16dbf9d3eab95ea6d32fd284024245f8412d0252
2015-11-19 16:10:42 +11:00
Xidorn Quan 56801dffe0 Bug 1186750 part 3 - Abstract CancelableFileEvent in DeviceStorageReqeustParent and use already_AddRefed&& for passing DeviceStorageFile parameter. r=dhylands
--HG--
extra : source : f7dbec479cb43d7e7518c9811ad9bc80c96c9969
2015-11-19 16:10:42 +11:00
Xidorn Quan 63d66c7fcc Bug 1186750 part 2 - Remove some unused member fields in events in DeviceStorageRequestParent. r=dhylands
--HG--
extra : source : 0141a42290a3856e9871da275903caf1a3314b93
2015-11-19 16:10:42 +11:00
Xidorn Quan 2fa57fa881 Bug 1186750 part 1 - Inlinize trivial constructors and destructors of events in DeviceStorageRequestParent. r=dhylands
--HG--
extra : source : 40f903b21130e23de78c869ebd99878131438517
2015-11-19 16:10:42 +11:00
Andrew McCreight c8dc5e6c95 Bug 1222562, part 2 - Add some comments about failing tests. r=mrbkap 2015-11-10 13:10:23 -08:00
sgiles 185a4ee15f Bug 1174228 - Set up TYPE_APP for navigator.getDeviceStorage for B2GDroid r=dhylands 2015-11-06 05:55:40 +00:00
Gregor Wagner 96837db759 Bug 1222478 - Enable more mulet tests. r=gerard-majax 2015-11-06 20:01:45 +01:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Andrew Osmond fada7b3870 Bug 1215644 - Use child process volume service cache for available and storage status requests. r=dhylands 2015-10-21 01:55:24 -04:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Dave Hylands 5b06270c15 Bug 1205028 - Don't tell MTP server about files that it added/modified. r=alchen
With this patch, we introduce mtp-watcher-notify, used to tell device storage
about new files added by MTP, and mtp-watcher-update, used to tell MTP about
device storage changes.

By using 2 new messages, rather than trying to reuse file-watcher-notify and
file-watcher-update, we prevent update "loops".
2015-10-13 15:35:11 -07:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Shu-yu Guo 52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Wes Kocher 0625b82581 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-23 13:18:17 -07:00
Andrew Osmond cb237f0840 Bug 1196315 - Ensure MIME service is only accessed on the main thread. r=dhylands 2015-09-16 12:18:25 -04:00