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

568 Коммитов

Автор SHA1 Сообщение Дата
Michael Layzell b258dfaa89 Bug 1297802 - Remove unused RefPtr<> and COMPtr<> types in dom/, r=baku
MozReview-Commit-ID: CLUJZdbN7sW
2016-08-29 11:40:02 -04:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Jan de Mooij 0ad12515f4 Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Chris Peterson 6674411c75 Bug 1288924 - Remove __func__ polyfill for VS2013. r=froydnj 2016-07-25 01:14:31 -07:00
Andrea Marchesini 60ab8339e0 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Boris Zbarsky d208b0de7a Bug 1282150 part 3. Add a way to get the JSRuntime for the thread, and use it in various places for rooting. r=bholley 2016-07-07 20:08:26 -04:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
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