Commit Graph

44 Commits

Author SHA1 Message Date
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
Ted Mielczarek
d8bef2213c Bug 997507 - Fix a few -Wformat warnings in nsIdleService.cpp. r=vlad 2014-04-22 11:02:36 -04:00
Marco Bonardo
c86283004a Bug 953311 - nsIdleService.idl and .cpp comments are still suggesting a "back" notification. r=gsvelto 2014-01-08 18:43:03 +01:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Reuben Morais
89efee2e14 Bug 938889 - Remote IdleService and disable idle-daily notifications in content processes. r=roc 2013-12-13 14:28:46 -02:00
Chris Peterson
8aca7a4a97 Bug 936989 - Fix -Wunused-variable warnings in nsIdleService.cpp. r=vladv 2013-10-27 23:12:55 -07:00
Birunthan Mohanathas
1cb747f6de Bug 784739 - Switch from NULL to nullptr in widget/; r=ehsan 2013-10-28 10:05:51 -04:00
Benjamin Smedberg
b66fc76aff Bug 753687 - nsCategoryCache implementation doesn't free old category entries if their contract mapping is removed using .unregisterFactory. Store the factory objects directly in the map, instead of keeping both a map and a separate list. r=froydnj 2013-10-10 08:48:03 -04:00
Masatoshi Kimura
ea83420d58 Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-04 00:56:26 +09:00
Ryan VanderMeulen
55d42ceead Backed out changeset d155557b651c (bug 888323) for bustage.
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
747563d6dd Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-03 02:08:01 +09:00
Irving Reid
49f2affc00 Bug 844958: Correctly reschedule idle-daily timer if it fires early r=mak 2013-02-28 16:16:19 -05:00
Irving Reid
9080ac6ac3 Bug 842149: count idle observers to handle the case where observers de-register themselves while idle r=jlebar 2013-02-21 11:29:30 -05:00
Michael Wu
092ccd693a Bug 834327 - Disable idleservice spam on gonk, r=gcp 2013-01-25 14:00:31 -08:00
Mats Palmgren
7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Shelly Lin
ac6aa24a06 Bug 803039 - Correct the logic of finding user activity in IdleTimerCallback (fixes bug 811459). r=jlebar 2012-12-03 10:21:00 +08:00
Shelly Lin
f6d8dbd1a2 Bug 803039 - Use TimeStamp instead of PRTime to store the idle time. r=jlebar 2012-10-26 10:17:36 +08:00
Gregor Wagner
4d17c94f7a Backout ed6074493479 Bug 803039 2012-11-16 10:21:47 -08:00
Shelly Lin
ab4c578aca Bug 803039 - Use TimeStamp instead of PRTime to store the idle time. r=jlebar 2012-10-26 10:17:36 +08:00
Ehsan Akhgari
c812d23023 Silence a compiler warning about initialization order of nsIdleServiceDaily members, no bug 2012-10-13 17:31:02 -04:00
Jim Mathies
4880f1a2a9 Bug 792037 - Improve idle daily logic such that we shorten idle time waits if it has been a long time since the last idle-daily. Improves telemetry data collection on Win8 tablets. r=gpascutto, mak77 2012-10-12 08:02:24 -05:00
Ehsan Akhgari
72338c0f22 Backout changeset 56bc99190c79 (bug 792037) for seemingly breaking all of the AndroidNoIon opt tests 2012-10-09 20:43:39 -04:00
Jim Mathies
e029dcbd5b Bug 792037 - Improve idle daily logic such that we shorten idle time waits if it has been a long time since the last idle-daily. Improves telemetry data collection on Win8 tablets. r=gpascutto, mak77 2012-10-09 14:45:28 -05:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
096b0d2aae Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
2012-09-27 23:44:47 +02:00
Gian-Carlo Pascutto
f6b887ff3a Bug 792065 - Uninitialised value use in nsIdleServiceDaily::DailyCallback. r=roc 2012-09-20 11:37:56 +02: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
Florian Queze
74bac21992 Bug 779843 - nsIdleService never fires the "back" notification if there's only one listener, r=vlad. 2012-08-02 19:38:30 +02:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gian-Carlo Pascutto
879dcc3b2f Bug 762620 - Make daily timer callback resilient against Android misfiring. r=roc 2012-07-06 07:31:07 +02:00
Gian-Carlo Pascutto
0f6cffb44b Bug 762620 - Force last idle-daily time to be saved. r=blassey 2012-07-06 07:30:55 +02:00
Bonnie Surender
4e40418e97 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Gian-Carlo Pascutto
351f76b43e Bug 762620 - Log the actual DailyCallback events. r=blassey 2012-06-28 14:57:54 +02:00
Gian-Carlo Pascutto
22f0979c2c Bug 762620 - Log IdleService activity on Android. r=mfinkle 2012-06-13 11:50:40 +02:00
Gian-Carlo Pascutto
d0ba64978b Backed out changeset 86cd5f375c7d (Bug 762620) 2012-06-13 09:40:06 +02:00
Gian-Carlo Pascutto
98acf634dd Bug 762620 - Log idleService activity on Android. r=mfinkle 2012-06-13 09:21:08 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Irving Reid
988df7583d Bug 744527 - Fix idle poll interval, add tracing to idle service. r=bbondy 2012-04-26 19:21:37 -04:00
Rafael Ávila de Espíndola
1d911aec20 Bug 732368 - Ensure idle service doesn't fire idle events after xpcom-shutdown. r=mak. 2012-03-07 13:01:24 -03:00
Nathan Froyd
592f00f174 Bug 731004 - Add telemetry for time servicing idle callbacks. r=roc 2012-02-29 15:23:08 -05:00
Mike Kristoffersen
8116f2e780 Bug 720493 - nsIdleService sometimes fails to restart its idle time detection timer. r=bbondy 2012-02-28 18:40:38 -05:00
Kan-Ru Chen
ea9a68e1bb Bug 714717 - Part 2, Reschedule timer after non-idle event. r=MikeK 2012-01-11 15:38:16 +01:00
Kan-Ru Chen
dff60662fc Bug 714717 - Part 1, Sanity check nextWaitTime. r=MikeK 2012-01-11 15:38:00 +01:00
Brian R. Bondy
d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00