Jim Blandy
4d6a633bba
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
Shashank Sabniveesu
9cf14f5013
Bug 1014186 - Remove unused BookmarkJSONUtils from services/sync/tps/extensions/tps/resource/modules/bookmarks.jsm. r=mak
2014-05-22 13:56:00 -04:00
Cosmin Malutan
2018f6f0f5
Bug 982610 - Update TPS to use latest Mozmill 2.0.6. r=hskupin DONTBUILD
...
--HG--
extra : rebase_source : 6e967421250dd6093c0fcc89dcbd078c0812fcb6
2014-05-22 18:25:50 +02:00
Henrik Skupin
a37a7d089b
Bug 1003250 - Disable automatic sync for TPS tests. r=rnewman DONTBUILD
2014-05-05 23:07:52 +02:00
Henrik Skupin
c606a4119a
Bug 996027 - Ensure that TPS always fakes login into Weave. r=rnewman DONTBUILD
2014-04-14 18:22:23 +02:00
Henrik Skupin
7936999b7f
Bug 992198 - TPS.Sync() fails for special options like 'wipeRemote' if the user is not logged in yet. r=jgriffin DONTBUILD
...
--HG--
extra : rebase_source : d4ff28171ebdd7d2a23e7cc395d7087831d30f96
2014-04-09 23:35:57 +02:00
Henrik Skupin
0d814619fc
Bug 986190 - [tps] Synced data on the server is not always wiped at the end of a test. r=jgriffin, r=rnewman DONTBUILD
2014-04-02 22:58:14 +02:00
Henrik Skupin
af7d3cf41b
Bug 989045 - [tps] Registering of observer topics happens too late so 'weave:engine:start-tracking' can be missed during startup. r=jgriffin DONTBUILD
2014-04-01 08:35:32 +02:00
Henrik Skupin
e985fb4331
Bug 981848 - [tps] Don't force login each time the browser gets started. r=jgriffin - DONTBUILD
2014-03-26 21:55:00 +01:00
Henrik Skupin
ff4ec74c43
Bug 987682 - DumpBookmarks() in bookmarks.jsm hangs due to invalid JSON data. r=jgriffin DONTBUILD
2014-03-25 19:43:33 +01:00
Mark Hammond
40e12f4211
Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman
2014-03-24 11:44:43 +11:00
Phil Ringnalda
08f929b520
Back out b9597187a3d6 (bug 985212) for xpcshell bustage
...
CLOSED TREE
2014-03-22 21:30:46 -07:00
Mark Hammond
b52785af62
Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman
2014-03-23 14:20:38 +11:00
Henrik Skupin
32625620a9
Bug 982591 - Update TPS to retrieve keys from server instead of hard-coding them. r=warner
...
--HG--
extra : rebase_source : 2a9449aeca2f28a2bce648971619635b19a4d670
2014-03-21 10:23:15 +01:00
Henrik Skupin
5684142d7a
Bug 966434 - Refactor tps for fxaccounts and old sync authentication support. r=jgriffin
2014-03-14 21:13:38 +01:00
Marco Bonardo
edaa060572
Bug 969318 - Mute "A promise chain failed to handle a rejection" error from the livemarks service. r=mano
2014-03-12 16:24:23 +01:00
Henrik Skupin
31fdbed8b1
Bug 966434 - Update TPS to use FxA. r=jgriffin
2014-03-07 15:54:19 -08:00
Alexander J. Vincent
59e70883e7
Bug 952307 - Move some addon-private JSM's to a subdirectory. r=Unfocused
...
--HG--
rename : toolkit/mozapps/extensions/AddonLogging.jsm => toolkit/mozapps/extensions/internal/AddonLogging.jsm
rename : toolkit/mozapps/extensions/AddonRepository.jsm => toolkit/mozapps/extensions/internal/AddonRepository.jsm
rename : toolkit/mozapps/extensions/AddonRepository_SQLiteMigrator.jsm => toolkit/mozapps/extensions/internal/AddonRepository_SQLiteMigrator.jsm
rename : toolkit/mozapps/extensions/AddonUpdateChecker.jsm => toolkit/mozapps/extensions/internal/AddonUpdateChecker.jsm
rename : toolkit/mozapps/extensions/LightweightThemeImageOptimizer.jsm => toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
rename : toolkit/mozapps/extensions/PluginProvider.jsm => toolkit/mozapps/extensions/internal/PluginProvider.jsm
rename : toolkit/mozapps/extensions/SpellCheckDictionaryBootstrap.js => toolkit/mozapps/extensions/internal/SpellCheckDictionaryBootstrap.js
rename : toolkit/mozapps/extensions/XPIProvider.jsm => toolkit/mozapps/extensions/internal/XPIProvider.jsm
rename : toolkit/mozapps/extensions/XPIProviderUtils.js => toolkit/mozapps/extensions/internal/XPIProviderUtils.js
2014-01-07 20:14:08 -08:00
Masayuki Nakano
b3b19a9e2f
Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug
2014-02-15 09:57:39 +09:00
Raymond Lee
6b0d86b8ae
Bug 884571 - TPS tests: Cu not defined: bookmarks.jsm: line 20. r=rnewman
2013-06-19 12:22:53 +08:00
Raymond Lee
2bf4ba49f2
Bug 854761 - Part 2: Remove previous bookmark calls from PlacesUtils - Sync. r=rnewman
2013-06-04 00:21:41 +08:00
Richard Newman
b68ce196b9
Bug 811490 - Follow-up: convert services/sync/tests/tps/test_privbrw_tabs.js to PB per window mode. r=trivial, TPS only so DONTBUILD
2013-01-09 14:30:09 -08:00
David Rajchenbach-Teller
b887d8fb84
Bug 772211 - Get rid of some uses of addVisit. r=mak77, r=rnewman
2013-01-08 19:40:06 -05:00
Andres Hernandez
d8d4343ea0
Bug 811490 - Convert services/sync/tests/tps/test_privbrw_tabs.js to PB per window mode; r=ehsan,rnewman
2012-11-15 18:33:31 -06:00
Ed Morley
c10213c220
Backout 545cb0d6b5c6 (bug 811490), 4fd6fc029bbe (bug 722977) for xpcshell failures
2012-11-16 19:15:18 +00:00
Andres Hernandez
f70d2b1ca6
Bug 811490 - Convert services/sync/tests/tps/test_privbrw_tabs.js to PB per window mode; r=ehsan,rnewman
...
--HG--
extra : rebase_source : 84ba6b5df17aecc78569596fbc02d19fec312b00
2012-11-15 18:33:31 -06:00
Gregory Szorc
3e78fc2ea0
Bug 787273 - Part 8: Make TPS go through main.js for service instance; r=rnewman
2012-09-18 11:34:25 -07:00
Gregory Szorc
e27709479f
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
6bede3ad50
Bug 785225 - Part 10: Reflect API changes in TPS; r=rnewman
...
The previous parts broke TPS. This fixes them all in one lump patch.
2012-08-29 14:43:41 -07:00
Gregory Szorc
c675bfe933
Bug 777989 - Make Add-on sync TPS tests work again; r=rnewman
2012-08-01 12:02:48 -07:00
Gregory Szorc
1250f9ad59
Bug 777989 - Update TPS to use new AddonUtils module; r=rnewman
2012-07-31 18:12:12 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Patrick McManus
4c858109e4
bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi
...
--HG--
extra : rebase_source : d348e3ec56faa48fbed5c4f0f697dee6658e21b2
2012-07-20 08:40:13 -04:00
Ehsan Akhgari
45fe6d3ae2
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Gervase Markham
d4eb7d5782
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Raymond Lee
3393ac76ad
Bug 721283 - TPS driver should unload observers on exit r=gps
2012-05-12 02:40:09 +08:00
Gregory Szorc
10e97429b9
Bug 731494 - Refactor generic code from services/sync into services/common; r=rnewman
...
--HG--
rename : services/sync/modules/async.js => services/common/async.js
rename : services/sync/modules/log4moz.js => services/common/log4moz.js
rename : services/sync/modules/ext/Observers.js => services/common/observers.js
rename : services/sync/modules/ext/Preferences.js => services/common/preferences.js
rename : services/sync/modules/ext/StringBundle.js => services/common/stringbundle.js
rename : services/sync/tests/unit/test_async_chain.js => services/common/tests/unit/test_async_chain.js
rename : services/sync/tests/unit/test_async_querySpinningly.js => services/common/tests/unit/test_async_querySpinningly.js
rename : services/sync/tests/unit/test_log4moz.js => services/common/tests/unit/test_log4moz.js
rename : services/sync/tests/unit/test_Observers.js => services/common/tests/unit/test_observers.js
rename : services/sync/tests/unit/test_Preferences.js => services/common/tests/unit/test_preferences.js
rename : services/sync/tests/unit/test_restrequest.js => services/common/tests/unit/test_restrequest.js
rename : services/sync/tests/unit/test_utils_makeURI.js => services/common/tests/unit/test_utils_makeURI.js
rename : services/sync/tests/unit/test_utils_namedTimer.js => services/common/tests/unit/test_utils_namedTimer.js
rename : services/sync/tests/unit/test_utils_stackTrace.js => services/common/tests/unit/test_utils_stackTrace.js
2012-04-05 23:26:06 -07:00
Gregory Szorc
2a1bfd26ab
Bug 730989 - Refactor identity and authentication in Sync; r=rnewman
2012-03-22 15:49:50 -07:00
Marco Bonardo
612c9018f6
Bug 613588 (Sync) - Load-on-demand livemarks.
...
r=rnewman
2012-02-24 13:42:32 +01:00
Richard Newman
14f1f26047
Merge m-c to s-c.
2012-02-21 09:32:23 -08:00
Gregory Szorc
1839a30f3b
Bug 712542 - Apply add-on state before install when installing through Sync; r=Unfocused, r=rnewman
2012-02-20 14:53:03 -08:00
Gregory Szorc
e782c5d576
Bug 712715 - Make TPS wait for Sync to be ready; r=rnewman
2012-02-02 16:44:46 -08:00
Till Schneidereit
67c06fca06
Bug 718518. Remove in-tree uses of the nonstandard third argument to String.prototype.replace. r=dcamp,jgriffin,dao,ted,dtownsend
2012-01-18 16:10:39 -05:00
Gregory Szorc
f5225fbf0a
Bug 704642 - Rewrite TPS add-ons functionality; style improvements to TPS module; r=rnewman
2011-12-14 20:31:19 -08:00
Gregory Szorc
53bc29c5a5
Bug 709388 - Restrict set of enabled engines when running TPS tests; r=rnewmana a=testonly
2011-12-14 20:03:46 -08:00
Gregory Szorc
56af7d2734
Bug 708498 - Log milliseconds in TPS, code tidy; r=rnewman
2011-12-09 11:11:04 -08:00
Gregory Szorc
52d7accb35
Bug 708965 - Improve TPS handling of Sync data deletion and test setup; r=rnewman
2011-12-09 10:57:46 -08:00
Gregory Szorc
dde864d417
Bug 708498 - TPS logging improvements; r=rnewman
2011-12-07 17:57:12 -08:00
Gregory Szorc
8e50b22fdd
Bug 707984 - Normalize line endings in services tree; a=rnewman
2011-12-06 11:08:37 -08:00