Commit Graph

70 Commits

Author SHA1 Message Date
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Jared Wein
ca08400105 Bug 1230241 - Do not disturb language is awkward in about:preferences. r=evanxd
MozReview-Commit-ID: 8FMy3bTUykU
2017-10-16 11:31:01 -04:00
Jim Porter
e6d010d8bf Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna
2017-04-11 13:47:31 -05:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
William Chen
2acd86f67e Bug 862395 - Part 2: Update XUL web notifications to persist if require interaction flag is set. r=jaws 2016-10-12 16:17:13 -07:00
Jared Wein
99638e1465 Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
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
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
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
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
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
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
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
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
William Chen
9f1783d7ea Bug 856858 - Always add observer to observe alert windows closing. r=Mossop 2013-05-22 00:19:30 -07:00
William Chen
e86f5ff604 Bug 782211 - Part 8: Updated existing XUL alerts to implement the Notification API. r=enn 2013-03-18 06:24:54 -07:00
Jared Wein
2ed5209a59 Bug 796111. Adjust styling of nsIAlertService alert windows. r=dao 2012-10-06 19:17:07 -07:00
Jared Wein
d358d635b0 Bug 786125 - followup, store the magic number in a const. r=Unfocused 2012-10-04 00:07:18 -07:00
Jared Wein
f06621d26c Bug 786125 - Alert showing/hiding animation is janky (nsIAlertsService). r=Unfocused 2012-10-03 23:59:36 -07:00
Jared Wein
c518252edf Bug 770433 - Update borders and background of alert (toast) notifications on Windows. ui-r=shorlander r=dao 2012-07-26 10:55:23 -07:00
Geoff Lankow
9aed6e8f4b Bug 230959 - Inconsistent extra 1 pixel width of XUL window; r=Neil 2011-09-07 22:14:04 +12:00
Neil Rashbrook
3f194429dd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00