Граф коммитов

284 Коммитов

Автор SHA1 Сообщение Дата
Jared Wein 7bbd695af2 Bug 1259108 - Increase timeout of notifications from 12s to 20s to match parity with Chromium. r=MattN
MozReview-Commit-ID: 31RjSWuszuC

--HG--
extra : rebase_source : ecfb892c705b64c4be575b31d88782bd6787bade
2016-03-23 12:54:57 -04:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Kit Cambridge 82b46485fb Bug 1206560 - Show the site favicon in XUL notifications. r=jaws
MozReview-Commit-ID: FMVYO1DCFDm

--HG--
extra : amend_source : 7cf2261502d89a82de27d067ae9c5d4c47b25f60
extra : histedit_source : 3eee97f8c7a8fce9a0986b107ea374768bd44075
2016-02-27 13:47:22 -08:00
Kit Cambridge 6f8c9f7748 Bug 1250288 - Add a pref for showing favicons in web notifications. r=MattN
MozReview-Commit-ID: 9hxv7Ts8L8u

--HG--
extra : amend_source : 949e26111ede7e7cb033fc64bc2b82000a546199
extra : histedit_source : 34cf6b2b1f67672fd72a5efc12c560f6b1729ec3
2016-02-22 13:16:27 -08:00
Armen Zambrano Gasparnian 619c9a15ff Bug 1246019 - Enable again test_alerts.html for Linux. Backout b406515c38b4. r=backout
MozReview-Commit-ID: 61b966aoHft

--HG--
extra : rebase_source : 273cec99cbcdb296f702c14d79d053c694b19c3d
extra : amend_source : f5eae1708fbfc21ef5ae51e55bd221bbbe857e35
2016-02-24 09:48:58 -05:00
Carsten "Tomcat" Book 20095687cf merge fx-team to mozilla-central a=merge 2016-02-24 12:04:15 +01:00
Armen Zambrano Gasparnian 4ab7224e62 Bug 1246019 - Disable test_alerts.html on Linux until bug 1227730 is fixed. r=kits
MozReview-Commit-ID: xvWxQg3vco

--HG--
extra : rebase_source : ec8e6c92787cd8b9854a60de8e2a8b5460bececd
2016-02-23 14:45:23 -05:00
Kit Cambridge f0355c41b1 Bug 1227730 - Support closing libnotify alerts. r=karlt,MattN
MozReview-Commit-ID: LR3OiP0miEm

--HG--
extra : rebase_source : 02f7a3d316fd084e71a918caf50d44a7123fc521
extra : amend_source : f4918e853cf0e50a60c151d358de75614b71c52f
2016-02-16 13:27:27 -08:00
Kit Cambridge 68e3a5952d Back out changeset 4357fe5a9d22 (bug 1206560) for M-e10s(bc4) failures.
MozReview-Commit-ID: 1J0li7PNBWN

--HG--
extra : rebase_source : 448ee6888b68f1ebd2d0926b84f946a84b8b5788
2016-02-16 16:13:38 -08:00
Kit Cambridge 702f0beb99 Bug 1224785, Part 3 - Don't include `ShowWith{Icon}Backend` on Android. r=me 2016-02-16 15:52:15 -08:00
Kit Cambridge 6de27ffdf8 Bug 1206560 - Show the site favicon in XUL notifications. r=jaws
MozReview-Commit-ID: Fe3R91icOuc

--HG--
extra : rebase_source : 67d68ae7e17c64e674221b122c8dea59437d91eb
2016-01-08 12:53:34 -07:00
Kit Cambridge f66e1ecefa Bug 1224785, Part 1 - Implement alert favicons backend. r=wchen
MozReview-Commit-ID: Day8Hj8lT1f

--HG--
extra : rebase_source : b96c8afcfd8da93f8803accb0cda22deaa4820c5
2016-01-07 13:15:55 -07:00
Dave Townsend 0a6414b898 Bug 1245649: Turn on no-trailing-spaces. r=Gijs
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Joel Maher 2599f14659 Bug 1236036 - Automatically close native notifications in test_alerts.html. r=MattN
--HG--
extra : commitid : BOsP8r1m102
extra : rebase_source : 8921be5d70616fe056885771e7e7d49450c391c5
2016-01-15 08:20:10 -07:00
Kit Cambridge 2f00a12a22 Bug 1219855, Part 2 - Always use XUL notifications if the system backend fails. r=wchen
--HG--
extra : commitid : 5L8etggZc1V
extra : rebase_source : 312e94851f7916191e6cf32041b5ae8e5e699433
2016-01-05 12:20:38 -07:00
Kit Cambridge 7bf3de48ab Bug 1219855, Part 1 - Make `nsXULAlerts` implement `nsIAlertsService`. r=MattN,wchen
--HG--
extra : commitid : IXcGploxKLn
extra : rebase_source : b289323b92409c857a370e3a2fe44d772b0ebadb
2015-12-31 13:27:09 -07:00
Wes Kocher e0dc3b7265 Merge m-c to inbound, a=merge CLOSED TREE
--HG--
extra : commitid : 4JS7aaOzaVD
extra : amend_source : 249ac0feaf4a6ea8ad5d2ef9de63d4c5baee012b
2016-01-05 16:52:09 -08:00
Jonathan Griffin 59f626fe96 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 86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Kit Cambridge 87582e390a Bug 1227300, Part 2 - Implement `showAlert`. r=MattN,wchen
--HG--
extra : commitid : HrMh88lKFVK
extra : rebase_source : e8a8def77f0e12152ecb48986f3c1a850d6ac9c4
2015-12-31 12:04:24 -07:00
Kit Cambridge 0d37a8bacb Bug 1227300, Part 1 - Add an alert notification component. r=MattN,wchen
--HG--
extra : commitid : Jd0utRQq7sC
extra : rebase_source : 1ff47988d3e031af5fb7169e2c604b3dbf76c2d8
2015-12-03 08:44:25 -08:00
Kit Cambridge f9c7a31d28 Bug 1219030 - Collect notification management telemetry. r=wchen,MattN; p=ally
--HG--
extra : commitid : JvHyMCNBrk9
extra : amend_source : 72c46fbd3ead7ed3f101dd98114cb435a691c706
2015-11-13 21:22:59 -08:00
Chenxia Liu da2898fc75 Bug 1212611 - Use system notification for website notifications in Android. r=mfinkle
--HG--
extra : commitid : oACcpGDIty
extra : rebase_source : 93dc1a5a70af14f96a7ddd6bc829db838f0646ce
2015-12-03 10:56:04 -05:00
Jared Wein a982a98c40 Bug 1227711 - Add a box-shadow to the XUL alerts. ui-r=shorlander r=MattN
--HG--
extra : rebase_source : f9caae3660dea17cfacb607608914fb5ab6900cb
2015-12-02 22:21:20 -05:00
Matthew Noorenberghe 6d5a7ae738 Bug 1225336 - Add telemetry about web notification display/messages. r=wchen,kitcambridge p=vladan
--HG--
extra : commitid : 7uiWZY4QGqE
2015-12-01 22:40:17 -08:00
Jared Wein 2ef4da49fb Bug 1218789 - Close button and gear button are misaligned in notifications. r=MattN
--HG--
extra : rebase_source : 875dc313e8a93b5d604ebe5d458efcc044d02cac
2015-11-18 10:20:20 -05:00
Jared Wein 3aa05f548a 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 fd3e052054 Bug 1213421 - Truncate long body and title text in notifications. r=MattN
--HG--
extra : rebase_source : bb92c1846bbc15347cd6e5fe1b43919b11b2b467
2015-11-13 15:56:47 -05:00
Jared Wein 4858f6c224 Bug 1219458 - Remove the notification animation until we have better transparency support. r=MattN 2015-10-28 18:59:00 -04:00
Jared Wein 73aa35e82b Bug 1216161 - XUL notifications on Linux can't be closed. r=MattN 2015-10-22 15:50:47 -04:00
Kit Cambridge 1e96d53537 Bug 1217621 - Show settings action for XUL notifications. r=jaws
--HG--
extra : commitid : 1MtGEuPZNu4
extra : rebase_source : c9cb987df2c9f868d08d5f45603e7fc59e3547e8
extra : amend_source : 68d394e13cdf7288538526ed09ae56de98607d7f
2015-10-23 15:53:15 -06:00
Jared Wein beab9ec77c Bug 1214029 - Use double-quotes for strings in alert.js. r=MattN
--HG--
extra : rebase_source : 696b2a0c9c4033f2c4e6577cc30c4371818ba43e
2015-10-20 15:46:26 -04:00
Jared Wein 962e3194c3 Bug 1205172 - Do Not Disturb Button for Push Notifications on Windows. r=MattN
--HG--
extra : rebase_source : 85c868e4ba1eac3eaa3f21c8129308c02b66bf5e
2015-10-20 15:26:00 -04:00
Jared Wein 42419dbc74 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN
--HG--
extra : rebase_source : 43ef8eaa19e6de5bce20a391dc248b1271a3e8d4
2015-10-15 22:58:56 -04:00
Matthew Noorenberghe 8edadb5ccc Bug 1208346 - Fix manualDoNotDisturb build bustage on Android. r=bustage
--HG--
extra : commitid : H8rOzhmp5fi
2015-10-18 20:39:35 -07:00
Matthew Noorenberghe a0340b8221 Bug 1208346 - Alert service Do Not Disturb backend. r=jaws
IGNORE IDL

--HG--
extra : commitid : DSoZhCVy0aw
extra : rebase_source : 5208177e675dd7447ecfbc47476d0ac07d89d29c
extra : histedit_source : 2b2f42685915d06f06397f8f805d493f9500254c
2015-10-18 20:04:56 -07:00
Nathan Froyd 01583602a9 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

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Phil Ringnalda ddeeb376bd Back out changeset bb7e9c6a66c6 (bug 1209602) for crashing 2015-10-15 22:31:42 -07:00
Jared Wein 74567c8e04 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein 9f2bd66799 Backout bug 1209602 for busting OSX on a CLOSED TREE. r=me 2015-10-15 23:19:10 -04:00
Jared Wein 49b796aa96 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein 0124735fc7 Bug 1201397 - New layout of XUL Notifications. r=MattN 2015-10-15 22:58:56 -04:00
Wes Kocher 399a23b6c1 Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07:00
Wes Kocher 75ff20f5af Backed out changeset 91d4539e00ce (bug 1207245)
--HG--
rename : mfbt/RefPtr.h => mfbt/nsRefPtr.h
2015-10-07 10:19:19 -07:00
Nathan Froyd 89a69c829a 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

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-07 16:50:25 -04:00
Carsten "Tomcat" Book 08997000eb 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 529b10c68f Bug 1202933, Part 1 - Show the origin for XUL notifications. r=MattN,wchen
--HG--
extra : commitid : KWwQzH1zUEU
extra : rebase_source : 499d130bfc4c7a5f576beffaf38bf95fa0c047fe
2015-10-05 19:45:04 -07:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00