Commit Graph

32 Commits

Author SHA1 Message Date
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
Boris Zbarsky
789a3bf96e Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Daniel Holbert
3494e74621 Bug 1140478: Free the string returned by PrintJSStack(), in android shutdown logging function. r=jorendorff 2015-03-11 20:34:38 -07:00
Jim Chen
e527b167de Bug 1001072 - Extend shutdown watchdog timeout to allow telemetry to shutdown. r=fabrice 2014-04-24 12:48:00 -04:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Andrea Marchesini
1acf681d59 Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug 2014-01-07 13:16:07 +01:00
Benoit Jacob
35d72d7bc7 Bug 839452 - Add helpful logging of DOM calls resulting in reboot/poweroff - r=sicking 2013-09-04 08:14:54 -04:00
Justin Lebar
8cc88f21ce Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
de89040a2c Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Masatoshi Kimura
f9b5a6b8a5 Bug 859020 - Remove the MSVC exemption for FAIL_ON_WARNINGS in dom. r=bz 2013-04-21 05:36:43 +09:00
Nathan Froyd
b256e82faa Bug 844331 - part 5 - add profile-before-change2 notification; r=bsmedberg 2013-03-01 15:11:21 -05:00
Justin Lebar
39308b5f73 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
Chris Jones
107c71b7e1 Rollup of bug 821192: Ensure that content processes don't see an inconsistent app dir. r=bent,dhylands
Bug 821192, part 1: Fix the watchdog timeout code. r=dhylands
Bug 821192, part 2: Add an interface to join all live content processes. r=bent
Bug 821192, part 3: Join all subprocesses before restarting the main process, when we're e.g. about to apply an update. r=dhylands
2012-12-28 01:45:16 -08:00
Gregor Wagner
9342c89a70 Bug 820135 - Preferences: We don't save prefs when we reboot. r=cjones 2012-12-12 15:41:07 -08:00
Josh Matthews
f90a0e9f0d Backed out changeset ea39e0af0831 (bug 820135) 2012-12-12 02:23:10 -05:00
Gregor Wagner
1a49cf5ea0 Bug 820135 - Preferences: We don't save prefs when we reboot. r=cjones 2012-12-11 22:39:25 -08:00
Gene Lian
a42615518c Bug 793970 - Reuse nsAppStartup's watchdog to compulsively power-off/reboot/quit Gecko if profile synchronizing hangs. r=cjones 2012-10-02 15:26:32 +08:00
Gene Lian
7abe43489f Bug 790527 - When rebooting/powering off, go through normal gecko shutdown. r=bsmedberg,sr=cjones 2012-09-26 17:12:33 +08:00
Ehsan Akhgari
243c878d26 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
Justin Lebar
6331687f57 Bug 772987 - Part 2: Use Static{Auto,Ref}Ptr where appropriate. r=mounir 2012-07-26 15:33:45 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Kan-Ru Chen
ce1bf1c59f Bug 697132 - Use nsCOMPtr constructor. r=Ms2ger 2012-03-14 18:00:29 -04:00
Kan-Ru Chen
d1a73de292 Bug 697132 - Implement wakelock interfaces. r=jlebar 2012-03-07 12:03:25 +01:00
Kan-Ru Chen
30b9ed6a0a Bug 709585 - Part 6, Connect DOM and hal. r=sicking 2012-01-19 22:25:00 -05:00
Kan-Ru Chen
1fbb7ab86d Bug 709585 - Part 4, Dummy PowerManager DOM code. r=sicking 2012-01-19 22:24:00 -05:00
Scott Johnson
b7c1825792 Backout 656500fc5e79 for windows bustage. 2012-01-30 18:48:33 -06:00
Scott Johnson
57b53c2f5e Backout 10b455909e94 for bustage on windows. 2012-01-30 18:46:41 -06:00
Scott Johnson
9aa4eac8f0 Backed out changeset 5d81f5f84779 2012-01-30 18:44:40 -06:00
Scott Johnson
9bd69f10e1 Backout 561e1013aba0:10b455909e94 for bustage on Windows. 2012-01-30 18:41:25 -06:00
Kan-Ru Chen
a12e61435a Bug 709585 - Part 6/6, Connect DOM and hal. r=sicking 2012-01-30 17:02:53 -06:00
Kan-Ru Chen
350bbb6e01 Bug 709585 - Part 4/6, Dummy PowerManager DOM code. r=sicking 2012-01-30 17:02:49 -06:00