Commit Graph

210 Commits

Author SHA1 Message Date
Ehsan Akhgari
4a611f92e3 Bug 823725 - Remove the Svc.Private getter since it is no longer used; r=rnewman 2012-12-20 17:43:13 -05:00
Kyle Huey
45adfbf2c8 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
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad 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
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a 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
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gregory Szorc
17660cf146 Bug 753515 - Move json{Load,Save} from services-sync into services-common; r=mconnor
--HG--
rename : services/sync/tests/unit/test_utils_json.js => services/common/tests/unit/test_utils_json.js
2012-05-10 12:21:21 -07:00
Anant Narayanan
40e445624c Bug 745425 - Move Utils.encodeBase64url to CommonUtils; r=gps 2012-04-17 15:42:33 -07:00
Gregory Szorc
eb60a9651c Bug 745396 - Refactor Sync utility functions into services-{common,crypto}; r=rnewman 2012-04-16 12:19:01 -07:00
Gregory Szorc
889eca9a49 Bug 743413 - Move some utility functions from sync to common; r=rnewman
--HG--
rename : services/sync/tests/unit/test_utils_atob.js => services/common/tests/unit/test_utils_atob.js
rename : services/sync/tests/unit/test_utils_utf8.js => services/common/tests/unit/test_utils_utf8.js
2012-04-09 15:39:59 -07:00
Gregory Szorc
49412510e0 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
463758908d 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
9849ea91e2 Bug 730989 - Refactor identity and authentication in Sync; r=rnewman 2012-03-22 15:49:50 -07:00
Gregory Szorc
9d2a0e6bb7 Backed out changeset eb4233025be0 for xpcshell test failures 2012-03-22 15:49:39 -07:00
Pallani Kumaran
d00a421293 Bug 701967 - Misc code cleanup in Sync's util.js; r=gps 2012-03-13 02:12:47 +08:00
Gregory Szorc
3493174568 Bug 729659 - Implement HTTP MAC authorization signing API; r=rnewman, dchan 2012-02-27 17:52:48 -08:00
Richard Newman
f5f4f98661 Bug 653335 - Sync setup wizard triggers Change Master Password dialog. r=philikon 2011-10-26 13:46:40 -07:00
Philipp von Weitershausen
55f63be686 Bug 681864 - Get rid of unused Utils.sha* helpers. r=rnewman 2011-08-26 10:27:29 -07:00
Philipp von Weitershausen
ebb3454501 Bug 681863 - Replace Utils.isArray with Array.isArray. r=rnewman 2011-08-26 10:26:11 -07:00
Philipp von Weitershausen
2a58f806b6 Bug 681843 - Part 3: Move Utils.asyncChain to Async.chain. r=rnewman
--HG--
rename : services/sync/tests/unit/test_utils_asyncChain.js => services/sync/tests/unit/test_async_chain.js
2011-08-26 10:25:42 -07:00
Philipp von Weitershausen
2e07417741 Bug 681843 - Part 2: Remove Utils as a dependency in async.js, expose Async in util.js. r=rnewman 2011-08-26 10:25:29 -07:00
Philipp von Weitershausen
51b9b09252 Bug 681843 - Part 1: Clean up async.js. r=rnewman 2011-08-26 10:25:19 -07:00
Richard Newman
ad90560299 Bug 680678 - Sync: byteArrayToString appears more than once in util.js. r=philikon 2011-08-22 09:15:02 -07:00
Philipp von Weitershausen
8ab146ea1b Bug 675125 - Utils.notify should pass observers the exception as subject. r=rnewman 2011-07-29 18:47:39 -07:00
Marina Samuel
07d683aed8 Bug 664792 - Tune sync intervals according to user behaviour. r=philikon
Part 2: Pull out all score- & interval-related code into a separate SyncScheduler component
2011-06-27 14:22:49 +01: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
3e28e5010d Bug 610832 - Dump log to disk when sync fails. r=rnewman 2011-06-13 20:39:51 +02:00
Philipp von Weitershausen
4310b20219 Bug 662178 - Ensure Utils.nextTick timers aren't GC'ed prematurely... by not using timers. r=rnewman 2011-06-08 18:12:12 +02:00
Philipp von Weitershausen
546d99116d Bug 662178 - Simplify timed callbacks. r=rnewman 2011-06-06 21:27:36 +02:00
Richard Newman
d86728156d Move async utilities into async.js. Add Async.makeSpinningCallback as a temporary shim for wrapping Cb versions of functions. r=philiKON 2011-05-30 19:01:13 -07:00
Richard Newman
fe74228737 Add Utils.slices. r=philiKON 2011-05-30 19:01:07 -07:00
Richard Newman
06482c5bf2 Bug 660713 - Reuse arrays in Utils.arraySub and Utils.arrayUnion. r=philiKON 2011-05-30 15:57:33 -07:00
Matt Brubeck
f94ab462dd Bug 659777 - Check for existence of Svc.Private before accessing it [r=philikon] 2011-05-25 16:40:09 -07:00
Philipp von Weitershausen
08b0ac4a93 Bug 648364 - Remove dead code. r=rnewman 2011-05-19 18:09:02 -07:00
Philipp von Weitershausen
e5d4188be0 Bug 648364 - Replace custom helpers with FileUtils.jsm. r=rnewman 2011-05-19 18:08:51 -07:00
Philipp von Weitershausen
08f48b17e4 Bug 648364 - Replace custom helpers with XPCOMUtils.jsm. r=rnewman 2011-05-19 18:08:35 -07:00
Philipp von Weitershausen
b7d838090f Bug 648364 - Replace custom helpers with PlacesUtils.jsm. r=rnewman 2011-05-19 18:08:22 -07:00
Philipp von Weitershausen
fe67de95d8 Bug 648364 - Replace custom helpers with Services.jsm. r=rnewman 2011-05-19 18:08:07 -07:00
Richard Newman
60d7f34979 Bug 618052: Intermittent test_utils_queryAsync.js: don't call success callback on error. r=philiKON 2011-04-18 19:54:11 -07:00
Philipp von Weitershausen
3eeacec085 Bug 648338 - Remove remaining Firefox 3.5/3.6 compat code. r=rnewman 2011-04-07 15:31:11 -07:00
Alon Zakai
d5041a9e25 Bug 634666 - File streams perform disk I/O when being initialized. r=philikon a=blocking-fennec 2011-03-04 18:39:38 -08:00
Philipp von Weitershausen
b0b3e2a514 Bug 636673 - Avoid accessing 'arguments' in code that's called a lot. r=rnewman a=blocking-fennec 2011-03-02 15:27:16 -08:00
Philipp von Weitershausen
451da0c655 Bug 636676 - Utils.queryAsync: reuse mozIStorageStatementCallback object. r=rnewman a=blocking-fennec 2011-03-01 14:29:52 -08: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
c218c4a0a0 Bug 636402 - Simplify Sync.js to avoid creating new objects. r=rnewman a=blocking-fennec 2011-02-25 14:43:18 -08:00
Philipp von Weitershausen
8f88ad6a0c Bug 636478 - Simplify Utils.deferGetSet. r=rnewman a=blocking-fennec 2011-02-25 14:43:10 -08:00
Richard Newman
fc5fb0595d Bug 636021: 'let' and tidying in ensureMPUnlocked. r=philiKON 2011-02-22 16:09:43 -08:00
Benjamin Stover
d5e2feabd2 Bug 632417 Use mimetype hint for JSON in sync. r=philikon a=blocking-fennec 2011-02-08 13:43:35 -08:00
Philipp von Weitershausen
b9c170275b Bug 630720 - Form sync: apply records batched and in transactions to avoid fsyncs. r+a=mconnor 2011-02-03 10:23:38 -08:00