Commit graph

29 commits

Author SHA1 Message Date
Jared Wein
fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Dave Townsend
4bf4f02ce7 Bug 1257246: Update browser for eslint 2. r=felipe
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: DEskVIjiKDM

--HG--
extra : rebase_source : 07ba1d14655f5d761624b105ef025ec88323d4d5
extra : histedit_source : 9e5ab54ce1b1a5ee1f0fb143f8d1450522455e3b
2016-04-05 11:33:33 -07:00
Felipe Gomes
1eefb717c6 Bug 1231728 - Fixes sync/setup.js switch statement. r=markh
--HG--
extra : commitid : D6gDBTXrBPU
2015-12-10 14:39:12 -05:00
Tooru Fujisawa
8ed7719ea4 Bug 1216775 - Remove for-each from browser/. r=Gijs
--HG--
extra : commitid : 5KlVHJwTU1Q
extra : rebase_source : 6526234004427109c826cb63f42c9def8ca31281
2015-10-19 01:27:39 +09: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
Tooru Fujisawa
d88225d76e Bug 1207490 - Part 1: Remove use of expression closure from browser/base/. r=dao
--HG--
extra : commitid : GTnFNtx973B
extra : rebase_source : 5bf8bb3d7ddb0234bd533cf6ddc843dd2db9d8f5
2015-09-21 00:29:37 +09:00
Richard Marti
904434cf87 Bug 1160732 - Remove about:sync-progress. r=markh 2015-05-07 21:18:02 +02:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Till Schneidereit
ff0240c3f6 Bug 1075059 - Part 1: Backout of Array.prototpype.contains usages. r=me
--HG--
extra : rebase_source : c40bca2849fdfee824560253c7ffe8fb93f9b774
2014-10-02 17:37:48 +02:00
Ayush Mishra
6464e11b50 Bug 1072889 - Replace array.indexOf(...) != -1 with array.contains(...) in browser/base/ ; r=dao 2014-09-26 20:51:09 +02:00
Jim Blandy
7e20285e70 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
Tim Taubert
1216e66e74 Bug 951857 - Bring back UI entry points and the setup dialog for old sync r=markh
From 046c19dae155a175cf6fa5e480f1fa1882f7d51f Mon Sep 17 00:00:00 2001
2013-12-18 23:10:11 +01:00
Tim Taubert
a17a006bcc Bug 926709 - Replace UI entry points for sync setup with opening about:accounts; r=gavin 2013-10-16 17:42:01 -07:00
Tim Abraldes
5180420fe8 bug 904230. Make nsIWinMetroUtils available as Services.metro. r=mbrubeck for the metro piece. r=rnewman for the sync piece. r=dolske for the toolkit piece. 2013-08-28 10:27:32 -07:00
Brian R. Bondy
e8c2abd405 Bug 831614 - Desktop sync UI checkbox for Setting up Sync for Metro at the same time. r=jaws 2013-03-15 10:29:55 -04:00
Gregory Szorc
7508d3694e Bug 787273 - Part 4: Refactor Identity to not be a singleton; r=rnewman
Access to IdentityManager functionality now goes through the Service
singleton.
2012-09-14 16:02:33 -07:00
Gregory Szorc
5a77c0616a Bug 787306 - Fix bitrotted Sync UX code; r=rnewman
services-central contains lots of changed code. Sync UX changes which
landed in inbound for bug 762230 are not compatible with the future.
2012-08-31 11:49:38 -07:00
Richard Newman
ca0f557cda Merge m-c to s-c. 2012-08-30 19:26:53 -07:00
Ally Naaktgeboren
fe70497b69 Bug 762230 - Add-ons not listed when resetting Sync; r=mconnor 2012-08-30 14:57:15 -07:00
Gregory Szorc
290e6ef57e Bug 785225 - Part 7: Bind SendCredentialsController to a Service instance; r=rnewman 2012-08-29 14:43:40 -07:00
Gregory Szorc
19432e05ab Bug 785225 - Part 5: Partial removal of Clients singleton; r=rnewman
Clients was being exported and used as a singleton. We still use Clients
as a singleton in some places, but only in test code. The preferred
method to access Clients is now through a service instance.
Weave.Clients is no longer exposed. Callers go through Weave.Service
now.
2012-08-29 14:43:40 -07:00
Gregory Szorc
f458898f12 Bug 785225 - Part 2: Minimize Engines singleton usage; r=rnewman
Weave.Engines is no longer exported. Service now exposes an
EngineManager instance, which is the new recommended way to get at the
engine manager. Service was updated to reference the internal instance.
2012-08-29 14:43:40 -07:00
Gregory Szorc
8d916196a9 Bug 781946 - Clean up notifications usage; r=rnewman 2012-08-13 16:51:58 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gregory Szorc
bda8eac960 Bug 739752 - Fix typo in Sync login form; r=sad panda 2012-03-27 13:24:41 -07:00
Gregory Szorc
1f69a4ee14 Bug 730989 - Refactor identity and authentication in Sync; r=rnewman 2012-03-22 15:49:50 -07:00
Dão Gottwald
1ee35fea16 Bug 730271 - Create sync folder for Sync-related content files. r=mak
--HG--
rename : browser/base/content/aboutSyncTabs-bindings.xml => browser/base/content/sync/aboutSyncTabs-bindings.xml
rename : browser/base/content/aboutSyncTabs.css => browser/base/content/sync/aboutSyncTabs.css
rename : browser/base/content/aboutSyncTabs.js => browser/base/content/sync/aboutSyncTabs.js
rename : browser/base/content/aboutSyncTabs.xul => browser/base/content/sync/aboutSyncTabs.xul
rename : browser/base/content/syncAddDevice.js => browser/base/content/sync/addDevice.js
rename : browser/base/content/syncAddDevice.xul => browser/base/content/sync/addDevice.xul
rename : browser/base/content/syncGenericChange.js => browser/base/content/sync/genericChange.js
rename : browser/base/content/syncGenericChange.xul => browser/base/content/sync/genericChange.xul
rename : browser/base/content/syncKey.xhtml => browser/base/content/sync/key.xhtml
rename : browser/base/content/syncNotification.xml => browser/base/content/sync/notification.xml
rename : browser/base/content/syncProgress.js => browser/base/content/sync/progress.js
rename : browser/base/content/syncProgress.xhtml => browser/base/content/sync/progress.xhtml
rename : browser/base/content/syncQuota.js => browser/base/content/sync/quota.js
rename : browser/base/content/syncQuota.xul => browser/base/content/sync/quota.xul
rename : browser/base/content/syncSetup.js => browser/base/content/sync/setup.js
rename : browser/base/content/syncSetup.xul => browser/base/content/sync/setup.xul
rename : browser/base/content/syncUtils.js => browser/base/content/sync/utils.js
extra : rebase_source : ca9eb20410f5a5640819ce9d68f5c51277ae5f35
2012-02-28 17:03:35 +01:00
Renamed from browser/base/content/syncSetup.js (Browse further)