Blair McBride
89d1cbef27
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
0469a02b25
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
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a
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
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
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
5ecb759622
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
6aed806b4c
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
ee08725aba
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
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Gregory Szorc
6e7ff251cd
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
646c865e5f
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
1f69a4ee14
Bug 730989 - Refactor identity and authentication in Sync; r=rnewman
2012-03-22 15:49:50 -07:00
Gregory Szorc
4bf8f57ddf
Backed out changeset eb4233025be0 for xpcshell test failures
2012-03-22 15:49:39 -07:00
Pallani Kumaran
68c641d2fd
Bug 701967 - Misc code cleanup in Sync's util.js; r=gps
2012-03-13 02:12:47 +08:00
Gregory Szorc
bba80cc74f
Bug 709325 - Log records without newlines; r=rnewman
...
--HG--
extra : rebase_source : a9d75a4385a51e79884c8b97675754025ab46d7b
2011-12-13 14:54:17 -08:00
Philipp von Weitershausen
3c999d08f0
Bug 661587 - Don't use the root logger. r=rnewman
2011-06-13 20:42:18 +02:00
Philipp von Weitershausen
bf1271b21a
Bug 648364 - Replace custom helpers with XPCOMUtils.jsm. r=rnewman
2011-05-19 18:08:35 -07:00
Richard Newman
05494d0fd8
Bug 650208: part 4: upload keys then download them. r=philiKON
2011-04-19 12:35:04 -07:00
Richard Newman
a68fa55290
Bug 650208: part 3: whitespace. r=philiKON
2011-04-19 12:33:47 -07:00
Richard Newman
29af5bc6e3
Bug 650208: part 1: improve printing of record ID mismatches. r=philiKON
2011-04-18 13:25:19 -07:00
Philipp von Weitershausen
fbb1ae2b7e
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
c8db464dbc
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