Commit Graph

34 Commits

Author SHA1 Message Date
Kris Maglione
c50886cf4e Bug 1480327: Part 2 - Modernize what's left of Log.jsm a bit. r=Mossop
MozReview-Commit-ID: H06rpiZuIEF

--HG--
extra : rebase_source : e10781ffdfaa264370ca95a720298dc3607a079b
2018-08-01 23:23:34 -07:00
Kris Maglione
bf729d7e98 Bug 1480327: Part 1 - Get rid of most of Log.jsm. r=Mossop
MozReview-Commit-ID: JVKJtkLhCDS

--HG--
extra : rebase_source : 8b47dbfaa6f279901b99c93c26eee27f719b1d1d
2018-08-01 23:41:01 -07:00
Mark Hammond
01bba2c16e Bug 1457815 - remove all sync log files when sync is disconnected. r=tcsc
MozReview-Commit-ID: 3YYn5311cCE

--HG--
extra : rebase_source : e9d51d5a7a21afc87442e6f354a313291c1bfdf4
2018-04-30 15:32:37 +10:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Andrew McCreight
5dec0e0beb 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

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 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
6476f95b13 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb 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
c276bb9375 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

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Thom Chiovoloni
9f708fd861 Bug 1400467 - Ensure services/common/logmanager.js awaits it's cleanup function r=markh
MozReview-Commit-ID: thQph1UUA0

--HG--
extra : rebase_source : 705cdd9d07a1a26b568554e07638c0415789b404
2017-09-22 11:57:13 -04:00
Edouard Oger
1df337c9ce Bug 1361572 - Remove Task.jsm/Promise.jsm from services/. r=kitcambridge
MozReview-Commit-ID: BBIkpIkWIYc

--HG--
extra : rebase_source : a0f10b07bad20789e2d1c2c2bca133b32bf671aa
2017-05-02 19:29:33 -04:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Mark Hammond
5d1196dc29 Bug 1279145 - log manager now cleans old Sync and ReadingList log files. r=tcsc
MozReview-Commit-ID: JpispWkvlFZ

--HG--
extra : rebase_source : 10e7339e50e6238e56c06e915fdb148fdbeda79d
2016-07-18 11:46:01 +10:00
Ben Kelly
dd3c9e4501 Bug 1279389 P3 Fix OS.File.DirectoryIterator leaks throughout tree. r=yoric 2016-06-28 18:47:55 -07:00
Thom Chiovoloni
45855b9236 Bug 1263280 - Dump a list of addons currently installed when writing the sync error log r=markh
MozReview-Commit-ID: KudJLUYWv1N

--HG--
extra : transplant_source : %98%7F%C9%B6l%0C%84%B0%8B%ACH%23%CC%FF%E6%04A%02-%8C
2016-05-06 14:35:40 -04:00
Sebastian Hengst
35e84eea21 Backed out changeset f58bd13402ee (bug 1263280) for XPCshell failure in test_errorhandler_filelog.js. r=backout on a CLOSED TREE 2016-04-30 09:56:46 +02:00
Thom Chiovoloni
dc5ff1afe7 Bug 1263280 - Dump a list of addons currently active when writing the sync error log r=markh
MozReview-Commit-ID: K5Oa7mB0hE

--HG--
extra : histedit_source : 175efb731489c52374ec0b27f0a5b8757fce87eb
2016-04-28 11:02:14 -04:00
Mark Hammond
306ad15e8f Bug 1251057 - enable debug logging for rest.js requests and responses. r=adw 2016-03-10 17:20:29 +11: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
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
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Mark Hammond
e960378c4d Bug 1152116 - prevent Sync from spamming the browser console. r=rnewman 2015-05-18 17:34:22 +10:00
Mark Hammond
3c26a0a19f Bug 1148980 - have success and error log files for Sync and ReadingList based on whether an error record was written to the log. r=rnewman 2015-05-18 17:34:22 +10:00
Mark Hammond
5eda97b0fc Bug 1152193 - ensure sync/readinglist log directory exists. r=rnewman 2015-04-20 10:00:03 +10:00
Mark Hammond
a558a2ad93 Bug 1146068 (part 2) - fix log manager to automatically set log level for all logs under its control. r=adw 2015-03-25 16:28:18 +11:00
Mark Hammond
718ce655b4 Bug 1131410 followup - addressing review comments I missed in part1, r=adw/rnewman 2015-02-26 18:48:11 +11:00
Mark Hammond
27f4146bba Bug 1131410 - Extract sync's log management so it can be reused by the reading-list back-end. r=adw 2015-02-17 22:06:00 +01:00
Carsten "Tomcat" Book
f0c43be7a0 Backed out changeset cd1f981b5e58 (bug 1131410) for XPC Bustage 2015-02-25 10:41:23 +01:00
Mark Hammond
fbda17121a Bug 1131410 - Extract sync's log management so it can be reused by the reading-list back-end. r=adw 2015-02-25 18:54:59 +11:00