Commit Graph

284 Commits

Author SHA1 Message Date
Jared Wein
6dbcf3b09d Bug 1259108 - Increase timeout of notifications from 12s to 20s to match parity with Chromium. r=MattN
MozReview-Commit-ID: 31RjSWuszuC
2016-03-23 12:54:57 -04:00
Geoff Brown
5c41c1fcf2 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Kit Cambridge
cd821ec7ea Bug 1206560 - Show the site favicon in XUL notifications. r=jaws
MozReview-Commit-ID: FMVYO1DCFDm
2016-02-27 13:47:22 -08:00
Kit Cambridge
d1c4e655ab Bug 1250288 - Add a pref for showing favicons in web notifications. r=MattN
MozReview-Commit-ID: 9hxv7Ts8L8u
2016-02-22 13:16:27 -08:00
Armen Zambrano Gasparnian
3e3390108a Bug 1246019 - Enable again test_alerts.html for Linux. Backout b406515c38b4. r=backout
MozReview-Commit-ID: 61b966aoHft
2016-02-24 09:48:58 -05:00
Carsten "Tomcat" Book
2100363891 merge fx-team to mozilla-central a=merge 2016-02-24 12:04:15 +01:00
Armen Zambrano Gasparnian
ffee29e829 Bug 1246019 - Disable test_alerts.html on Linux until bug 1227730 is fixed. r=kits
MozReview-Commit-ID: xvWxQg3vco
2016-02-23 14:45:23 -05:00
Kit Cambridge
3cf8f2971e Bug 1227730 - Support closing libnotify alerts. r=karlt,MattN
MozReview-Commit-ID: LR3OiP0miEm
2016-02-16 13:27:27 -08:00
Kit Cambridge
7f3b0392c2 Back out changeset 4357fe5a9d22 (bug 1206560) for M-e10s(bc4) failures.
MozReview-Commit-ID: 1J0li7PNBWN
2016-02-16 16:13:38 -08:00
Kit Cambridge
a78b787b58 Bug 1224785, Part 3 - Don't include ShowWith{Icon}Backend on Android. r=me 2016-02-16 15:52:15 -08:00
Kit Cambridge
eeff90ba6d Bug 1206560 - Show the site favicon in XUL notifications. r=jaws
MozReview-Commit-ID: Fe3R91icOuc
2016-01-08 12:53:34 -07:00
Kit Cambridge
bc0285a16c Bug 1224785, Part 1 - Implement alert favicons backend. r=wchen
MozReview-Commit-ID: Day8Hj8lT1f
2016-01-07 13:15:55 -07:00
Dave Townsend
a2ba043d69 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Kyle Huey
e95edb30a9 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Joel Maher
513860508e Bug 1236036 - Automatically close native notifications in test_alerts.html. r=MattN 2016-01-15 08:20:10 -07:00
Kit Cambridge
a49ec41f73 Bug 1219855, Part 2 - Always use XUL notifications if the system backend fails. r=wchen 2016-01-05 12:20:38 -07:00
Kit Cambridge
2aa4705a88 Bug 1219855, Part 1 - Make nsXULAlerts implement nsIAlertsService. r=MattN,wchen 2015-12-31 13:27:09 -07:00
Wes Kocher
0f60b8a2c3 Merge m-c to inbound, a=merge CLOSED TREE 2016-01-05 16:52:09 -08:00
Jonathan Griffin
ebdb6b8c29 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Dave Townsend
8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Kit Cambridge
3f426e5171 Bug 1227300, Part 2 - Implement showAlert. r=MattN,wchen 2015-12-31 12:04:24 -07:00
Kit Cambridge
dbb2e92b25 Bug 1227300, Part 1 - Add an alert notification component. r=MattN,wchen 2015-12-03 08:44:25 -08:00
Kit Cambridge
ea45d8a39a Bug 1219030 - Collect notification management telemetry. r=wchen,MattN; p=ally 2015-11-13 21:22:59 -08:00
Chenxia Liu
1c3274a9cf Bug 1212611 - Use system notification for website notifications in Android. r=mfinkle 2015-12-03 10:56:04 -05:00
Jared Wein
bd3bdc6aab Bug 1227711 - Add a box-shadow to the XUL alerts. ui-r=shorlander r=MattN 2015-12-02 22:21:20 -05:00
Matthew Noorenberghe
799109b464 Bug 1225336 - Add telemetry about web notification display/messages. r=wchen,kitcambridge p=vladan 2015-12-01 22:40:17 -08:00
Jared Wein
037815f682 Bug 1218789 - Close button and gear button are misaligned in notifications. r=MattN 2015-11-18 10:20:20 -05:00
Jared Wein
e4e92d91ec Bug 1213421 - Follow-up, set the bodyText even when text is not being truncated. r=MattN 2015-11-14 10:28:51 -05:00
Jared Wein
cde4ba0d99 Bug 1213421 - Truncate long body and title text in notifications. r=MattN 2015-11-13 15:56:47 -05:00
Jared Wein
9d664a886c Bug 1219458 - Remove the notification animation until we have better transparency support. r=MattN 2015-10-28 18:59:00 -04:00
Jared Wein
7cd26964be Bug 1216161 - XUL notifications on Linux can't be closed. r=MattN 2015-10-22 15:50:47 -04:00
Kit Cambridge
f52fa8aa93 Bug 1217621 - Show settings action for XUL notifications. r=jaws 2015-10-23 15:53:15 -06:00
Jared Wein
beae8a786d Bug 1214029 - Use double-quotes for strings in alert.js. r=MattN 2015-10-20 15:46:26 -04:00
Jared Wein
c3bad67f81 Bug 1205172 - Do Not Disturb Button for Push Notifications on Windows. r=MattN 2015-10-20 15:26:00 -04:00
Jared Wein
dbd4199caf Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Matthew Noorenberghe
bd5de1c0f3 Bug 1208346 - Fix manualDoNotDisturb build bustage on Android. r=bustage 2015-10-18 20:39:35 -07:00
Matthew Noorenberghe
71d9590267 Bug 1208346 - Alert service Do Not Disturb backend. r=jaws
IGNORE IDL
2015-10-18 20:04:56 -07:00
Nathan Froyd
4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Phil Ringnalda
7c2b89951f Back out changeset bb7e9c6a66c6 (bug 1209602) for crashing 2015-10-15 22:31:42 -07:00
Jared Wein
ef140c9dae Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein
44205bd8ac Backout bug 1209602 for busting OSX on a CLOSED TREE. r=me 2015-10-15 23:19:10 -04:00
Jared Wein
47f924463a Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein
62f01ed8f0 Bug 1201397 - New layout of XUL Notifications. r=MattN 2015-10-15 22:58:56 -04:00
Wes Kocher
cd3d631b44 Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07:00
Wes Kocher
a7c3e82868 Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
Nathan Froyd
0b009681ad Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-07 16:50:25 -04:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Kit Cambridge
ee0940e331 Bug 1202933, Part 1 - Show the origin for XUL notifications. r=MattN,wchen 2015-10-05 19:45:04 -07:00
Carsten "Tomcat" Book
12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00