Commit Graph

33 Commits

Author SHA1 Message Date
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