Boris Zbarsky
23bff6368f
Bug 1466298 part 3. Remove nsIDOMGeoGeolocation. r=mccr8
2018-06-04 12:41:09 -04:00
Boris Zbarsky
1f6515070f
Bug 1466298 part 1. Switch the geolocation service to using a singleton constructor. r=mccr8
2018-06-04 12:41:01 -04:00
Boris Zbarsky
a01fb5cf9a
Bug 1466213 part 1. Move PositionError out into a separate file. r=qdot
2018-06-01 22:35:42 -04:00
Michelangelo De Simone
0a8df87097
Bug 1269531 - Make the Geolocation test suite secure-context aware. r=jdm
...
MozReview-Commit-ID: 4WPUsGAO7xF
2017-01-26 15:38:16 -07:00
Boris Zbarsky
50e8294eb9
Bug 1317596. Stop using LegacyIsCallerChromeOrNativeCode in geolocation code. r=jdm
2016-11-15 12:46:32 -05:00
Kan-Ru Chen
f3a7638ece
Bug 1300474 - Replace nsAutoPtr usages in geolocation with UniquePtr. r=jdm
...
MozReview-Commit-ID: KcJj8VKjLpj
2016-10-24 14:40:18 +08:00
Adam Velebil
2488d519c0
Bug 1308600 - Remove unused ServiceReady method from Geolocation. r=jdm
2016-10-10 23:15:45 +02:00
Michelangelo De Simone
fe191938eb
Bug 1278716 - Remove wakelocks from geo. r=jdm
...
MozReview-Commit-ID: 2Uu1W34r3g8
2016-10-04 15:12:16 -07:00
Michelangelo De Simone
c3223b7c61
Bug 1218627 - Remove MozSettings API from Geo (and fix randomly failing tests). r=dougt
...
MozReview-Commit-ID: J74XihIkeHH
2016-09-27 13:54:15 -07:00
Boris Zbarsky
b80a698704
Bug 1300005. Make sure that our PositionOptions structs are always owned by someone in geolocation code. r=kanru
2016-09-02 17:55:37 -04:00
Xidorn Quan
4839378866
Bug 1287706 part 1 - Make CallbackObjectHolder movable (and actually move-only). r=smaug
...
So that we can avoid unnecessary refcount changes.
MozReview-Commit-ID: 4Mk9SJTj6AS
2016-07-28 12:00:06 +10:00
Fabrice Desré
9f65e4231e
Bug 1218627 - backout ef8fcd144a50
2016-07-12 14:00:34 -07:00
Michelangelo De Simone
dd7cf68a92
Bug 1218627 - Fixing randomly failing test(s) in Geo. r=dougt
...
MozReview-Commit-ID: LyZVmPBQT84
2016-07-05 14:46:58 -07:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Michelangelo De Simone
118352c85b
Bug 1249833 - Typo in nsGeolocation.h. r=jdm
...
MozReview-Commit-ID: DGg2iUOkSMJ
2016-02-19 16:30:09 -08:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Tim Taubert
151396ef23
Bug 1230209 - Add more telemetry for Geolocation usage f=bsmedberg r=tanvi,rbarnes,jdm
2015-12-03 19:12:11 +01:00
ywu
d8144a9303
Bug 1216148 - Handle how geolocation acts when the app's visibility changes. r=kchen.
...
Add the wake lock api to geolocation.
If your app holds a lock, you can continue use geolocation service when your app is invisible.
Otherwise, your invisible app can't get any updated location.
2016-01-12 00:33:00 +01:00
Nathan Froyd
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
Birunthan Mohanathas
a29151dc87
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 McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48
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
3a822d99b4
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
Vinay G Shetty
52f0e0ffd8
Bug 886026 - Make ClearWatch work for pending request. r=jdm
2014-11-07 10:42:00 -05:00
Mike Habicher
82109af909
Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot
2014-09-16 13:15:16 -04:00
Ryan VanderMeulen
1ce4cc0915
Backed out changeset ed586ca080c0 (bug 1053966) for the same Mnw permafails it was backed out for previously.
2014-09-16 16:54:25 -04:00
Mike Habicher
8c5339cc7a
Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot
2014-09-16 13:15:16 -04:00
Birunthan Mohanathas
26bffd0945
Bug 1058101 - Move dom/src/geolocation/ into dom/. r=mccr8
2014-08-30 21:43:45 -07:00