Commit Graph

62 Commits

Author SHA1 Message Date
Nikhil Marathe
fc2fb3b202 Bug 876935 - Millisecond calculation in AlarmService. r=gene 2013-05-30 08:08:07 -07:00
Sebastian Wong
bd67cdf0a9 Bug 841736 - Add observer and callback function to remove alarm API data on "webapps-clear-data" event. r=clian 2013-05-28 13:29:02 -04:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Zachary Easterbrook
cd7c034c2d Bug 868952 - Fix the getAll(...) function in AlarmDB to be more efficient. r=clian 2013-05-20 07:47:38 -04:00
Nikhil Marathe
2df824df8e Bug 871428 - Fix AlarmService shutdown leaks. r=gene
--HG--
extra : amend_source : 43f24156a4b6c124b712094ae81d750e16e6a0b5
2013-05-12 22:40:00 +05:30
Nikhil Marathe
3c1e7def7e Bug 862322 - Allow AlarmService to be used from Gecko code. r=gene 2013-05-01 21:32:49 +05:30
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
David Clarke
bad3d37ea3 Bug 843893 - Fix alarm and power mochitests, r=gene.lian 2013-03-25 16:50:06 -07:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Luqman Aden
17bdda31f5 Bug 848617 - New mochitests for Alarm API. r=gene 2013-03-18 15:47:30 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Phil Ringnalda
416fb60f0c Back out bc8eeacc3c8a (bug 843893) for (at least) desktop bustage in test_power_basics.html 2013-03-19 14:27:55 -07:00
David Clarke
32f459b65b Bug 843893 - Fix alarm and power tests to work with current gaia, r=gene.lian 2013-03-07 12:48:34 -08:00
Mike Shal
e3d8d5c262 Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Justin Lebar
08851b784b Bug 836654 - Part 10: Don't acquire the CPU wake lock in the alarm service any longer. r=cjones
We've removed the event that the AlarmService was listening to in order
to find out when we could drop the lock!
2013-02-14 15:41:30 -05:00
Reuben Morais
6c3aeb7360 Bug 836513 - Support multiple object stores in IndexedDBHelper.jsm. r=gwagner 2013-01-30 18:03:46 -08:00
Gene Lian
aaec3a9556 Bug 821671 - Check alarm API parameters in the parent (part 3, Alarm API). r=sicking 2012-12-22 19:47:23 +08:00
Gene Lian
0f0ee97b92 Bug 821633 - Alarm API - .getAll() need to wrap the objects respecting to the content window (part 2, Alarm API). r=vivien 2012-12-14 20:04:04 +08:00
Gene Lian
6523951e3d Bug 813994 - Alarm API - Need additional security checks for the "alarms" permission. r=bent 2012-11-28 19:13:58 +08:00
Gene Lian
bb11b7ccf8 Bug 796255 - Alarm doesn’t ring on time if the app is killed and phone is allowed to suspend (part 2). r=vivien,jlebar 2012-11-01 10:30:18 +08:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Gene Lian
7412405399 Bug 801096 - [settings] Set-Automatically for time should take effect *immediately* instead of waiting on next NITZ coming (part 1). r=jlebar 2012-10-23 15:15:43 +08:00
Bobby Holley
9f03f90fb7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Ms2ger
ee0af53baa Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (first batch); r=mounir 2012-09-20 09:55:36 +02:00
Gene Lian
81489a0ca1 Bug 790497 - Alarm API - Adjust firing time for "ignoreTimezone" alarms when timezone is reset. r=cjones 2012-09-12 18:15:15 +08:00
Philipp von Weitershausen
5801c8b2ab Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Nathan Froyd
2d595e5d44 Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Ehsan Akhgari
57ac5ddc72 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Gene Lian
99a63b91d5 Bug 777226 - Alarm API - If an alarm cannot be fired when the device shuts down, it should be fired when powering up. r=vivien 2012-08-16 10:46:40 +08:00
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
Gene Lian
e467ccc6c5 Bug 782772 - Support the href property in web activities. r=vivien,fabrice 2012-08-15 10:40:12 +08:00
Justin Lebar
0d4822afe2 Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58: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
Gene Lian
6e59102b88 Bug 777224 - Alarm API - .getAll() and .remove() can only interact with alarms scheduled by the same app. r=vivien 2012-08-01 13:58:49 +08:00
Gene Lian
abe5408e36 Bug 776785 - Alarm API - hal::SetAlarm takes |long|s, but should instead take PRInt32s. r=jlebar 2012-07-31 10:52:57 +08:00
Gene Lian
c622ec1848 Bug 777228 - Alarm API - The back-end needs to remove alarms that have been fired from DB, so that .getAll() won't return them. r=vivien 2012-07-30 19:17:35 +08:00
Gene Lian
da0f4c27fc Bug 777207 - Alarm API - AlarmService should use "activities" or "system messages", or not broadcast information to all content processes. r=cjones 2012-07-26 09:59:20 +08:00
Justin Lebar
a863832283 Bug 772987 - Part 2: Use Static{Auto,Ref}Ptr where appropriate. r=mounir
--HG--
extra : rebase_source : 4e3e72ba53cd0177160f80231eebeb4972119eec
2012-07-26 15:33:45 -04:00
Gene Lian
86ec12b5da Bug 772369 - Alarm API (Follow-Up Fix for System Message Integration). r=fabrice 2012-07-17 18:38:24 +08:00
Mounir Lamouri
c4aa2e4999 Bug 775824 - Use the new Permission Manager API in AlarmManager. r=sicking 2012-07-20 18:08:18 -07:00