Commit Graph

266 Commits

Author SHA1 Message Date
Jared Wein
726ff5db66 Bug 1259108 - Increase timeout of notifications from 12s to 20s to match parity with Chromium. r=MattN a=ritu
MozReview-Commit-ID: 31RjSWuszuC
2016-03-23 12:54:57 -04:00
Kit Cambridge
1612b41ca0 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
d2660d8b25 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
0520cc4184 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
d151fd6255 merge fx-team to mozilla-central a=merge 2016-02-24 12:04:15 +01:00
Armen Zambrano Gasparnian
cc101f7840 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
1fe3b9406a Bug 1227730 - Support closing libnotify alerts. r=karlt,MattN
MozReview-Commit-ID: LR3OiP0miEm
2016-02-16 13:27:27 -08:00
Kit Cambridge
667d2d8695 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
c3073ddeea Bug 1224785, Part 3 - Don't include ShowWith{Icon}Backend on Android. r=me 2016-02-16 15:52:15 -08:00
Kit Cambridge
6bc2b9b021 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
0800e490a2 Bug 1224785, Part 1 - Implement alert favicons backend. r=wchen
MozReview-Commit-ID: Day8Hj8lT1f
2016-01-07 13:15:55 -07:00
Dave Townsend
db523ac819 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Joel Maher
b08d1ff408 Bug 1236036 - Automatically close native notifications in test_alerts.html. r=MattN 2016-01-15 08:20:10 -07:00
Kit Cambridge
1914872bc3 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
1ff30ad0e6 Bug 1219855, Part 1 - Make nsXULAlerts implement nsIAlertsService. r=MattN,wchen 2015-12-31 13:27:09 -07:00
Wes Kocher
67d8b18f42 Merge m-c to inbound, a=merge CLOSED TREE 2016-01-05 16:52:09 -08:00
Jonathan Griffin
5707644ec5 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
fb1e757d42 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
79cfa4dc3b Bug 1227300, Part 2 - Implement showAlert. r=MattN,wchen 2015-12-31 12:04:24 -07:00
Kit Cambridge
6efe1d4e63 Bug 1227300, Part 1 - Add an alert notification component. r=MattN,wchen 2015-12-03 08:44:25 -08:00
Kit Cambridge
c8fab6a7a3 Bug 1219030 - Collect notification management telemetry. r=wchen,MattN; p=ally 2015-11-13 21:22:59 -08:00
Chenxia Liu
109eec104c Bug 1212611 - Use system notification for website notifications in Android. r=mfinkle 2015-12-03 10:56:04 -05:00
Jared Wein
6bfbdd36c5 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
29d2fd424d Bug 1225336 - Add telemetry about web notification display/messages. r=wchen,kitcambridge p=vladan 2015-12-01 22:40:17 -08:00
Jared Wein
f5ee54dbaa Bug 1218789 - Close button and gear button are misaligned in notifications. r=MattN 2015-11-18 10:20:20 -05:00
Jared Wein
d2af72024b 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
84fa355065 Bug 1213421 - Truncate long body and title text in notifications. r=MattN 2015-11-13 15:56:47 -05:00
Jared Wein
d00764d4c4 Bug 1219458 - Remove the notification animation until we have better transparency support. r=MattN 2015-10-28 18:59:00 -04:00
Jared Wein
e79e38e552 Bug 1216161 - XUL notifications on Linux can't be closed. r=MattN 2015-10-22 15:50:47 -04:00
Kit Cambridge
9fc8649a52 Bug 1217621 - Show settings action for XUL notifications. r=jaws 2015-10-23 15:53:15 -06:00
Jared Wein
4d9998ae79 Bug 1214029 - Use double-quotes for strings in alert.js. r=MattN 2015-10-20 15:46:26 -04:00
Jared Wein
7a053f360d Bug 1205172 - Do Not Disturb Button for Push Notifications on Windows. r=MattN 2015-10-20 15:26:00 -04:00
Jared Wein
a95882da58 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Matthew Noorenberghe
f191b02026 Bug 1208346 - Fix manualDoNotDisturb build bustage on Android. r=bustage 2015-10-18 20:39:35 -07:00
Matthew Noorenberghe
fdaac91303 Bug 1208346 - Alert service Do Not Disturb backend. r=jaws
IGNORE IDL
2015-10-18 20:04:56 -07:00
Nathan Froyd
e4e2da55c9 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
697aa20fc5 Back out changeset bb7e9c6a66c6 (bug 1209602) for crashing 2015-10-15 22:31:42 -07:00
Jared Wein
16f3c32e32 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein
bbc6d93eba Backout bug 1209602 for busting OSX on a CLOSED TREE. r=me 2015-10-15 23:19:10 -04:00
Jared Wein
8e117f0367 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein
ce02a6b2f3 Bug 1201397 - New layout of XUL Notifications. r=MattN 2015-10-15 22:58:56 -04:00
Wes Kocher
a086bab62d Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07:00
Wes Kocher
618bcef407 Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
Nathan Froyd
141e4d0f43 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
d7f143eaad 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
ac01f93448 Bug 1202933, Part 1 - Show the origin for XUL notifications. r=MattN,wchen 2015-10-05 19:45:04 -07:00
Carsten "Tomcat" Book
b9e5717f50 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
b5f316de44 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Gijs Kruitbosch
bbd1002e77 Bug 1052776 - fix role=alert usage and ensure alert events fire, r=MattN 2015-09-30 15:38:00 -04:00