Blair McBride
f44c1d0d2f
Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop
...
--HG--
rename : services/common/log4moz.js => toolkit/modules/Log.jsm
rename : services/common/tests/unit/test_log4moz.js => toolkit/modules/tests/xpcshell/test_Log.js
2013-08-26 11:55:58 -07:00
Kyle Huey
1482122303
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Gregory Szorc
ed996f6433
Bug 787273 - Part 5: Remove the CollectionKeys singleton; r=rnewman
...
CollectionKeys is gone. Instead, we export CollectionKeyManager (the
underlying type) and an instance is available on the Service singleton.
2012-09-14 16:02:33 -07:00
Gregory Szorc
abf3a102f7
Bug 787273 - Part 2: Refactor Resource and Record to not rely on singletons; r=rnewman
...
Resource currently relies on the Identity singleton to perform
authentication. This is bad magic behavior. Resource instances should
authenticate according to the service instance they are associated with.
This patch removes Identity magic from Resource. Everything using
Resource now explicitly assigns an authenticator which comes from
the service instance/singleton. This required API changes to Collection
and Record.
The preferred method to obtain a Resource instance is to call
getResource() on a service instance.
The end result of this patch looks a little weird, especially in test
code. You have things like Service.resource(Service.cryptoKeysURL).
This ugliness will go away when a unified storage service client is
used.
2012-09-14 16:02:32 -07:00
Gregory Szorc
c2de204c74
Bug 787273 - Part 1: Remove Records singleton; r=rnewman
...
RecordManager is now an instance of the Service singleton and holds a
reference back to the service which is used to obtain needed "global"
state.
2012-09-14 16:02:32 -07:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01: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
Pallani Kumaran
914326cf20
Bug 701967 - Misc code cleanup in Sync's util.js; r=gps
...
This is a re-land of eb4233025be0. References to defunct tests have been
removed.
2012-03-13 02:12:47 +08:00
Gregory Szorc
2a1bfd26ab
Bug 730989 - Refactor identity and authentication in Sync; r=rnewman
2012-03-22 15:49:50 -07:00
Gregory Szorc
9fa8034de1
Backed out changeset eb4233025be0 for xpcshell test failures
2012-03-22 15:49:39 -07:00
Pallani Kumaran
e0042a8a47
Bug 701967 - Misc code cleanup in Sync's util.js; r=gps
2012-03-13 02:12:47 +08:00
Gregory Szorc
6cda03730b
Bug 709325 - Log records without newlines; r=rnewman
...
--HG--
extra : rebase_source : a9d75a4385a51e79884c8b97675754025ab46d7b
2011-12-13 14:54:17 -08:00
Philipp von Weitershausen
3095595fe1
Bug 661587 - Don't use the root logger. r=rnewman
2011-06-13 20:42:18 +02:00
Philipp von Weitershausen
08f48b17e4
Bug 648364 - Replace custom helpers with XPCOMUtils.jsm. r=rnewman
2011-05-19 18:08:35 -07:00
Richard Newman
8c8cdf3100
Bug 650208: part 4: upload keys then download them. r=philiKON
2011-04-19 12:35:04 -07:00
Richard Newman
0448008ef7
Bug 650208: part 3: whitespace. r=philiKON
2011-04-19 12:33:47 -07:00
Richard Newman
15c78354a1
Bug 650208: part 1: improve printing of record ID mismatches. r=philiKON
2011-04-18 13:25:19 -07:00
Philipp von Weitershausen
976e51bd8c
Bug 636677 - Don't create a new nsICryptoHMAC object for each HMAC verification. r=rnewman a=blocking-fennec
2011-03-01 14:29:41 -08:00
Philipp von Weitershausen
448d9b94ac
Bug 609421 - Combine base_record/* files into record.js. r=rnewman
...
--HG--
rename : services/sync/modules/base_records/wbo.js => services/sync/modules/record.js
2011-01-18 16:23:30 -08:00