Commit Graph

39 Commits

Author SHA1 Message Date
Ms2ger
9694a6bc04 Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (third batch); r=mounir 2012-09-20 09:55:36 +02:00
Koosha Khajeh Moogahi
8d39310f18 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Oleg Romashin
b5593c33f5 Bug 770754 - Allow build Qt mobility without maemo define. r=dougt 2012-07-09 20:53:17 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Olli Pettay
d796636855 Bug 731875 - Geolocation doorhanger might cause a zombie compartment, GeoPositionOptions part, r=dougt 2012-04-16 22:08:48 +03:00
Masayuki Nakano
b2f0fc7b65 Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09:00
Oleg Romashin
ea813f0678 Bug 738416 - SetHighAccuracy method is missing in Qt Location provider. r=dougt 2012-03-22 13:24:51 -07:00
Doug Turner
1707159de2 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Matt Brubeck
65e0765863 Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec
--HG--
rename : hal/cocoa/smslib.h => dom/system/cocoa/smslib.h
rename : hal/cocoa/smslib.mm => dom/system/cocoa/smslib.mm
2012-03-20 16:59:24 -07:00
Doug Turner
72f04d8a25 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 14:46:14 -07:00
Doug Turner
4cae68ffb9 Bug 734391 - coalesce the device motion events. r=jdm 2012-03-09 10:40:43 -08:00
Doug Turner
6f71ea7fc2 Bug 733653 - use 100ms as the default sensor poll hint. Ensuring that our sensors are polled allows us to conform to the DeviceOrientation Event Specification. See DeviceMotionEvent.interval. r=jdm 2012-03-13 16:57:09 -07:00
Ed Morley
12222d2d31 Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange 2012-03-13 22:29:29 +00:00
Doug Turner
fa72c6374d Bug 734391 - coalesce the device motion events. r=jdm 2012-03-09 10:40:43 -08:00
Doug Turner
37f8a14a6a Bug 733653 - use 100ms as the default sensor poll hint. Ensuring that our sensors are polled allows us to conform to the DeviceOrientation Event Specification. See DeviceMotionEvent.interval. r=jdm 2012-03-13 09:59:24 -07:00
Mark Banner
cbd25443a2 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Peter Van der Beken
c119510fb8 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Oleg Romashin
478e24c10b Bug 680488 - QFeedBack include is not needed for geolocation provider file; r=dougt 2011-08-23 17:45:10 +01:00
Oleg Romashin
d23c88ae94 Bug 679283 - Implement DeviceMotion deviceOrientation for Qt port r=dougt 2011-08-19 13:09:26 +02:00
Oleg Romashin
6ed1cbb4cc Bug 679236 Add Maemo6 geolocation provider (Qt Mobility based). r=dougt 2011-08-15 20:25:43 -04:00
Oleg Romashin
b8b167b6ff Bug 673395 - Support Haptic of MeeGo/Maemo 6. r=dholbert 2011-08-16 09:27:01 -07:00
Doug Turner
808259b44f Bug 648585 - nsIHapticFeedback not defined on desktop build of fennec. r=smaug 2011-05-24 18:24:49 -07:00
Doug Turner
37c943cc8c Bug 662678 - Follow to address renaming issues. r=ventnor 2011-06-20 09:40:52 -07:00
Doug Turner
c0a1de0606 Backing out 98334d656ac4 - linux build bustage. r=me 2011-06-20 09:20:39 -07:00
Doug Turner
c2f87be6ed Bug 662678 - Follow to address renaming issues. r=ventnor 2011-06-20 08:51:07 -07:00
Doug Turner
104a8914c7 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Jeremias Bosch
3162645079 Bug 625686 - Restrict include of mce/dbus-names.h in dom/system/unix/nsHapticFeedback.cpp to maemo 5. r=romaxa a=approval2.0 2011-02-01 21:11:08 +02:00
Oleg Romashin
7a065a893e Bug 614751 - can't compile nsHapticFeedback.cpp on maemo6 r=blassey.bugs a=npodb 2010-11-29 09:33:34 +02:00
Brad Lassey
da0df85331 bug 518266 - Implement mechanism to provide haptic feed back, maemo r=dougt a=blocking-fennec
--HG--
extra : rebase_source : d71dd2a0cb525af145126f8b783daf2bd9ee562b
2010-11-22 16:23:40 -05:00
Mike Kristoffersen
c2044b5b23 Bug 569680 - Move the platform specific geolocation files. r=dougt
--HG--
rename : dom/interfaces/geolocation/nsIGeolocationProvider.idl => dom/interfaces/geolocation/nsIGeolocationPrompt.idl
rename : dom/src/geolocation/GPSDGeolocationProvider.js => dom/system/GPSDGeolocationProvider.js
rename : dom/src/geolocation/GPSDGeolocationProvider.manifest => dom/system/GPSDGeolocationProvider.manifest
rename : dom/src/geolocation/NetworkGeolocationProvider.js => dom/system/NetworkGeolocationProvider.js
rename : dom/src/geolocation/NetworkGeolocationProvider.manifest => dom/system/NetworkGeolocationProvider.manifest
rename : dom/src/geolocation/AndroidLocationProvider.cpp => dom/system/android/AndroidLocationProvider.cpp
rename : dom/src/geolocation/AndroidLocationProvider.h => dom/system/android/AndroidLocationProvider.h
rename : dom/src/geolocation/MaemoLocationProvider.cpp => dom/system/unix/MaemoLocationProvider.cpp
rename : dom/src/geolocation/MaemoLocationProvider.h => dom/system/unix/MaemoLocationProvider.h
rename : dom/src/geolocation/WinMobileLocationProvider.cpp => dom/system/windows/WinMobileLocationProvider.cpp
rename : dom/src/geolocation/WinMobileLocationProvider.h => dom/system/windows/WinMobileLocationProvider.h
rename : dom/interfaces/geolocation/nsIGeolocationProvider.idl => xpcom/system/nsIGeolocationProvider.idl
2010-07-14 19:09:25 +02:00
Mike Kristoffersen ext:(%3E)
2831befe3b Bug 562181 - Add support for MozOrientation on Qt. r=dougt
--HG--
rename : widget/src/android/nsAccelerometerAndroid.cpp => dom/system/android/nsAccelerometerSystem.cpp
rename : widget/src/android/nsAccelerometerAndroid.h => dom/system/android/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.h => dom/system/cocoa/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.mm => dom/system/cocoa/nsAccelerometerSystem.mm
rename : widget/src/xpwidgets/nsAccelerometer.cpp => dom/system/nsAccelerometer.cpp
rename : widget/src/xpwidgets/nsAccelerometer.h => dom/system/nsAccelerometer.h
rename : widget/src/gtk2/nsAccelerometerUnix.cpp => dom/system/unix/nsAccelerometerSystem.cpp
rename : widget/src/gtk2/nsAccelerometerUnix.h => dom/system/unix/nsAccelerometerSystem.h
rename : widget/src/windows/nsAccelerometerWin.cpp => dom/system/windows/nsAccelerometerSystem.cpp
rename : widget/src/windows/nsAccelerometerWin.h => dom/system/windows/nsAccelerometerSystem.h
rename : widget/public/nsIAccelerometer.idl => xpcom/system/nsIAccelerometer.idl
extra : rebase_source : f9c352566a6d4088e8d448587214fb87402a4dc3
2010-06-25 14:25:31 +02:00