Commit Graph
270 Commits
Author SHA1 Message Date
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
Gijs Kruitbosch 82b0f0d1d5 Bug 1052776 - fix role=alert usage and ensure alert events fire, r=MattN 2015-09-30 15:38:00 -04:00
Matthew Noorenberghe 3b28f19dd8 Bug 1208685 - Dedupe alert.css and cleanup alert.js heading. r=bgrins 2015-09-25 17:36:08 -07:00
Chris Peterson 752223fd52 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nicholas Nethercote 12fec02dfb Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Juan Gomez 89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Phil Ringnalda e566f5a517 Back out 2 changesets (bug 1202933) for Mulet timeouts in test_alerts.html
CLOSED TREE

Backed out changeset fbcc1bb170e9 (bug 1202933)
Backed out changeset 1763e1484065 (bug 1202933)
2015-10-05 18:41:00 -07:00
Kit Cambridge 95362189f4 Bug 1202933, Part 1 - Show the origin for XUL notifications. r=MattN,wchen 2015-10-05 11:49:22 -07:00
Ryan VanderMeulen 7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Neil Deakin 95ad4d7e2f Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
Michael Weisz c1986c33a2 Bug 935434 - Make XUL alertNotifcations use dir/bidi parameter by setting the according css direction attribute. Set lang attribute for labels. r=jaws 2015-03-18 14:34:55 +01:00
Sebastian Hengst e35e29ccdb Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
Jim Chen 60b2a7d4b1 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari 3cd35353b1 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00