Chris Peterson
6674411c75
Bug 1288924 - Remove __func__ polyfill for VS2013. r=froydnj
2016-07-25 01:14:31 -07: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
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -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
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
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
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
Andrew Osmond
6b870b8947
Bug 1171170 - Consolidate/cache access to permissions, cycle collected objects in device storage. r=dhylands
2015-08-25 20:13:34 -04:00
Chris Peterson
6b261a1c9e
Bug 1197563
- Polyfill __func__ for MSVC 2013 and earlier. r=froydnj
2015-08-20 23:39:18 -07:00
Andrew Osmond
12d520af6a
Bug 1186273 - Part 1. Move preferences and observers into dedicated threadsafe module. r=dhylands
2015-08-18 07:42:12 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Andrew Osmond
b106718dcb
Bug 1173051 - Minor optimizations for device storage enumerate on parent and child. r=dhylands
2015-06-10 10:23:43 -04:00
Andrea Marchesini
368a198972
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Wes Kocher
983fcabeef
Backed out 2 changesets (bug 1159401) for b2g build bustage
...
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Andrea Marchesini
91a8a35606
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
2390c704f8
Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
...
CLOSED TREE
--HG--
extra : histedit_source : a6c24f88b9c5a0cbcf2d44189fd359ddb20757b4%2C46613cfc309a9f0531e8c2475ac17877f606f231
2015-05-11 11:43:59 -04:00
Andrea Marchesini
48ecacaa74
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 15:20:06 +01:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Kershaw Chang
e81771306d
Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey
...
--HG--
extra : rebase_source : dba5c4709942f8ad92fc6aa0ee76942247b08992
2015-04-13 21:08:00 -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
Nathan Froyd
eb4768e58c
Bug 1095543 - remove unnecessary nsInterfaceHashtable.h includes; r=ehsan
2014-11-07 08:52:43 -05:00
Dave Hylands
0645508260
Bug 1072535 - Pt 2 - Make DeviceStorage notify all storage types that match a particular file extension. r=mikeh
2014-10-14 13:50:55 -07:00
Ehsan Akhgari
0653303071
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
117bb1a341
Backed out 6 changesets (bug 1060982
, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
...
CLOSED TREE
Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982
)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
6c932dea6c
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Shih-Chiang Chien
b48b057bb2
Bug 1045975 - Use nsIDOMWindowUtils.askPermission in all types of permission request. r=smaug
...
--HG--
extra : rebase_source : 4a6a3c484373759b6d553e4821f3c43af41d0239
2014-08-01 15:22:20 +08:00
Steve Fink
3cdc378cd8
Bug 1022773 - Return value rooting for dom/, r=bz
...
--HG--
extra : rebase_source : 24732cd3aff732c5c3d3eb8e19ee8a95f588ebd7
2014-06-25 15:35:36 -07:00
Benoit Jacob
05cd90f1fc
Bug 1027251 - Fix or whitelist dangerous public destructors in dom/ - r=smaug
2014-06-18 22:28:59 -04:00
Alphan Chen
4fca899eff
Bug 855952 - [DeviceStorage] support append file operation. r=dhylands
2014-06-10 16:51:28 +08:00
Dave Hylands
41d9ebbbf3
Bug 998097 - Make DeviceStorageUsedSpaceCache use a thread-safe ref count. r=ehsan
...
DeviceStorageUsedSpaceCache uses the LazyIdleThread, and the underlying OS
thread can change from time to time, which in turn triggers a not thread safe
assert in the reference counting code.
2014-04-22 18:31:04 -07:00
Kyle Huey
384121563d
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
...
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Ryan VanderMeulen
d3859c597c
Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
...
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
675439ca71
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:24 -07:00
Alan Huang
4ec2e0e0ce
Bug 971612 - Implement "mount" and "unmount" API for device storage. r=dhylands
2014-03-04 19:24:19 +08:00
Shih-Chiang Chien
0cf3dd66b5
Bug 898949 - Part 1, add optios in permission prompt for Video/Audio device selection. r=fabrice,khuey
2013-09-10 17:41:59 +02:00
Ehsan Akhgari
9a39fcfd00
Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 23:07:24 -05:00
Alan Huang
94fb5bb896
Bug 971615 - Implement "storageStatus" API for device storage. r=dhylands
2014-02-19 10:48:05 +08:00
Dave Hylands
a3b6c65628
Bug 910498 - Changes to device storage to support CreateFd. r=bent
...
* * *
Bug 910498 - Camera changes to use CreateFd. r=mikeh
* * *
Fixes for windows build
2014-01-16 17:01:27 -08:00
Boris Zbarsky
2d26bed9c3
Bug 950188. DOMRequest should only have a constructor taking a Window. r=khuey
2014-01-06 21:53:23 -05:00
Alan Huang
85ad595995
Bug 841660 - Implement format interface for volume-based device storage, r=dhylands
2013-09-06 14:11:58 +08:00
Arnaud Sourioux
8ebb1ca3e6
Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger
2013-06-05 12:15:48 -04:00
Dave Hylands
84e196b145
Bug 878493 - DeviceStorage: Invalidate used space cache if free space changes. r=janv
2013-06-04 16:35:33 +02:00
Ms2ger
09b8d86b19
Bug 871287 - Part b: Don't silently clear nsRefPtrs in DeviceStorage; r=dhylands
2013-06-01 08:55:02 +02:00
Dave Hylands
c53a4e7f72
Bug 858416 - Create a composite device storage interface. r=dougt
...
* * *
Bug 858416 - Fix try test failures
2013-05-11 02:10:18 -07:00
Ryan VanderMeulen
bc36900668
Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures.
2013-05-11 09:47:37 -04:00
Dave Hylands
a1b72bb10c
Bug 858416 - Create a composite device storage interface. r=dougt
2013-05-11 02:10:18 -07:00
Doug Turner
324e7d7fad
Bug 853732 - Improve Device Storage enumeration to avoid bad performance with some SD card. r=dylands r=dougt a=tef+
2013-05-02 16:26:31 -07:00