Граф коммитов

616 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 145283f217 Bug 710448 - Rewritten Sync record reconciling to handle edge cases; r=rnewman, r=philikon
This patch rewrites Sync's record reconciling logic to properly handle
edge cases. Before, there were a few cases where data loss could occur
because of improperly handled and ignored timestamps.
2012-01-25 13:32:05 -08:00
Gregory Szorc 25270e1d3f Bug 708134 - Rewrite add-on URL to note it was installed by Sync; r=rnewman, Unfocused
--HG--
extra : rebase_source : cbcdcf2f85d8b68c57accef1b1e2db887df4925f
2012-01-12 17:45:37 -08:00
Rafael Ávila de Espíndola afbe1e8534 Bug 702848 - Finalize the statements in services sync/modules/engines/forms.js. r=dolske. 2011-12-22 11:21:37 -05:00
Gregory Szorc 567325c03d Bug 534956 - Part 1 - Sync engine for add-ons; r=mconnor
This includes the core engine, support code, and tests. UX is not
included.
2011-12-14 17:10:34 -08:00
Fabrice Desré 419630c773 Bug 706545 - Implement a sync engine for apps exposed by navigator.mozApps : Part 2: sync engine [r=philikon] 2011-12-08 05:33:23 -08:00
Marco Bonardo 4bf83ce793 Bug 700296 (Sync) - Remove dynamic containers implementation from Places.
r=rnewman
2011-11-29 02:22:47 +01:00
Richard Newman 064ccb520c Bug 682497 - Strict mode and assorted improvements for bookmarks and history engines. r=philikon 2011-08-26 19:14:09 -07:00
Philipp von Weitershausen b951a276cf Bug 681863 - Replace Utils.isArray with Array.isArray. r=rnewman 2011-08-26 10:26:11 -07:00
Allison Naaktgeboren f99fc1128e Merge services-central into mozilla-central. 2011-08-23 14:38:16 -07:00
Richard Newman 02681d375f Bug 637576 - Part 2: Sync Form engine: cache queries. r=philikon 2011-08-22 10:38:28 -07:00
Richard Newman 32a6833776 Bug 637576 - Part 1: Sync Form engine: reuse column name arrays. r=philikon 2011-08-22 10:38:28 -07:00
Richard Newman 3a81e45c46 Bug 637576 - Part 0: Sync Form engine: tidying and cleanup. r=philikon 2011-08-22 10:38:28 -07:00
Richard Newman 1fa15dde52 Bug 679279 - Part 4: bookmarks engine cleanup. r=philikon
This patch reformats some definitions to more closely follow the style guide
and allow for easier extension in subsequent patches, and eliminates the
archiveBookmarks helper.
2011-08-19 17:17:58 -07:00
Philipp von Weitershausen 0bde3c362e Bug 676110 - Part 4: Adapt Sync's history engine to implement handleCompletion. r=rnewman
--HG--
extra : rebase_source : 6ddb8f8eb77b48c6b17c47b6673617f768a3634a
2011-08-19 10:12:23 -07:00
Matt Brubeck 5f5b47ed0f Bug 599936 - Silence warning about sort operations in moz_historyvisits query [r=mak] 2011-08-22 08:33:30 -07:00
Philipp von Weitershausen 82238d98bf Merge m-c to s-c 2011-08-12 09:55:29 -07:00
Philipp von Weitershausen c5cfc95575 Bug 678259 - Implement mozIVisitInfoCallback::handleResult to avoid exception. r=rnewman 2011-08-11 22:52:48 -07:00
Gregory Szorc 689f14278e Bug 676375 - Implement "send URI for display" command in Sync Clients engine; r=rnewman 2011-08-09 09:23:55 -07:00
Richard Newman 91c66b75df Bug 676404 - command API migration. Fixes 845ed0ee7123. a=bustage 2011-08-05 16:01:49 -07:00
Gregory Szorc 7efa793509 Bug 676404 - Migrate command APIs from Service to Clients engine. (relanded) r=rnewman 2011-08-04 16:19:02 -07:00
Richard Newman b7947b8126 Backed out changeset 3c22aef81976 (Bug 676404) for introducing two TPS failures. 2011-08-04 19:02:49 -07:00
Allison Naaktgeboren 4db643d73f Bug 636603 - Part 2: mozIAsyncHistory: use new mozIVisitInfoCallback API from Sync. r=philikon
Updating the firefox sync consumer for the new api.
2011-08-04 16:50:19 -07:00
Gregory Szorc fa73fdc9a6 Bug 676404 - Migrate command APIs from Service to Clients engine. r=rnewman 2011-08-04 16:19:02 -07:00
Gregory Szorc a567a923dd Bug 646539 - Track client name pref changes and bump score after change; r=philikon 2011-07-26 21:48:50 -07:00
Marco Bonardo 855adf583d Bug 666697 - Don't sync history removals caused by expiration.
r=philikon
2011-06-30 22:24:50 +02:00
Marina Samuel a8d30d49a5 Bug 665965 - Use SCORE_INCREMENT_XLARGE in HistoryTracker's onBeforeDeleteURI. r=philikon 2011-06-27 14:26:04 +01:00
Philipp von Weitershausen 82c7636475 Bug 666685 follow-up: continue to not overwrite the lazy getter if building the map fails. a=zpao-owes-me-a-beer 2011-06-24 02:18:24 +02:00
Paul O’Shannessy ae005f5d25 Bug 666685 - JavaScript strict warning: bookmarks.js: setting a property that has only a getter. r=philikon 2011-06-23 23:08:04 +02:00
Marina Samuel a59cdc642c Bug 600429 - Tune score increments to trigger a sync more quickly. r=philikon
Part 1: Tune score increments
2011-06-16 21:12:48 +02:00
Richard Newman 6597a28145 Bug 656513: part 2: revamp lazy GUID map handling (_lazyMap). r=philiKON 2011-06-15 00:03:34 -07: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 d20c19d8e0 Merge mozilla-central to services-central 2011-06-09 12:40:13 +02:00
Philipp von Weitershausen a3d9e024c6 Bug 660753 - Don't spin the event loop in the history tracker. r=rnewman 2011-06-08 17:10:29 +02:00
Philipp von Weitershausen e198b5205d Bug 662178 - Simplify timed callbacks. r=rnewman 2011-06-06 21:27:36 +02:00
Richard Newman eee2107d91 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
Matt Brubeck 12432c1380 Bug 659777 - Check for existence of Svc.Private before accessing it [r=philikon] 2011-05-25 16:40:09 -07:00
Philipp von Weitershausen bf1271b21a Bug 648364 - Replace custom helpers with XPCOMUtils.jsm. r=rnewman 2011-05-19 18:08:35 -07:00
Philipp von Weitershausen 36a5232ef5 Bug 648364 - Replace custom helpers with PlacesUtils.jsm. r=rnewman 2011-05-19 18:08:22 -07:00
Philipp von Weitershausen a85e5bfc44 Bug 648364 - Replace custom helpers with Services.jsm. r=rnewman 2011-05-19 18:08:07 -07:00
Philipp von Weitershausen 0f688c35f5 Bug 654900 follow-up: ensure special folders are tracked properly. r=rnewman
Also fixes a line that the first patch missed.
2011-05-18 14:27:39 -07:00
Marco Bonardo 9618e86bc2 Bug 654900 - Don't spin the events loop in the Sync bookmarks tracker. r=philikon 2011-05-17 13:53:23 -07:00
Marco Bonardo 2a052f5161 Merging Places to mozilla-central 2011-04-29 16:04:47 +02:00
Marco Bonardo 2674c0a38d Bug 524091 - Remove microsummaries support. (Sync changes)
r=philikon
2011-04-26 14:25:27 +02:00
Marco Bonardo a9acca6336 Bug 641531 - Close Places containers after use (Sync changes)
r=philikon
2011-04-23 02:08:36 +02:00
Philipp von Weitershausen 112e3e1909 Bug 565430 - Service.startOver should purge client-specific data (i.e. client/tabs) from the server. r=rnewman 2011-04-08 14:51:55 -07:00
Richard Newman 7738d3e1cf Bug 648338: always import PlacesUtils.jsm. r=philiKON 2011-04-07 16:35:48 -07:00
Richard Newman dcdff4dcf0 Bug 629742: fix for broken check. r=philiKON 2011-04-07 16:32:20 -07:00
Richard Newman 585d215af3 Bug 629742: more efficient handling of bookmark callbacks in Sync. r=philiKON 2011-04-07 15:55:29 -07:00
Philipp von Weitershausen 32cd47583c Bug 648338 - Remove remaining Firefox 3.5/3.6 compat code. r=rnewman 2011-04-07 15:31:11 -07:00
Philipp von Weitershausen 420737ba0e Bug 648338 - Remove Firefox 3.5/3.6 compat code in the form engine. r=rnewman 2011-04-07 15:30:54 -07:00
Philipp von Weitershausen 63c6b53f71 Bug 648338 - Remove Firefox 3.5/3.6 compat code in the history engine. r=rnewman 2011-04-07 15:30:44 -07:00
Philipp von Weitershausen b6db00e516 Bug 648338 - Remove Firefox 3.5/3.6 compat code in the bookmarks engine. r=rnewman 2011-04-07 15:30:31 -07:00
Richard Newman 4a1ded006f Bug 577565: downgrade forms log message. r=philiKON 2011-03-24 21:34:01 -07:00
Richard Newman 68561b6e43 Bug 642727 - Don't trigger sync error when bad HMAC records are deleted. r=philiKON 2011-03-20 16:10:40 -07:00
Philipp von Weitershausen 63cbe6dbdf Bug 636312 - Forms and passwords engines: yield back to the main thread during batches of synchronous I/O. r=rnewman a=blocking-fennec 2011-03-07 13:07:59 -08:00
Philipp von Weitershausen 6336209011 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 754759064b Bug 636305 - History engine: make incoming records comply to mozIPlaceInfo. r=rnewman a=blocking-fennec 2011-03-01 21:26:38 -08:00
Philipp von Weitershausen 70dd415ddf Bug 636676 - Utils.queryAsync: reuse mozIStorageStatementCallback object. r=rnewman a=blocking-fennec 2011-03-01 14:29:52 -08:00
Richard Newman b929fb4fe9 Bug 629463: delete bad server-side clients records. r=philiKON a=beltzner 2011-03-01 11:56:29 -08:00
Philipp von Weitershausen 1a4b88fb4e Bug 636402 - Simplify Sync.js to avoid creating new objects. r=rnewman a=blocking-fennec 2011-02-25 14:43:18 -08:00
Richard Newman eda456f33e Bug 634441: livemark robustness. r=philiKON, a=beltzner 2011-02-25 11:56:58 -08:00
Richard Newman 26cdb88eec Bug 632287: delete and recreate if a bookmark update changes type. r=philiKON, a=beltzner 2011-02-23 12:14:11 -08:00
Marco Bonardo 2e22324475 Bug 634401 - Use nsINavBookmarksService::moveItem rather than setItemIndex in Sync. r=philikon a=beltzner 2011-02-16 15:53:23 -08:00
Philipp von Weitershausen 3b70152403 Bug 631891 - Determine GUID immediately when URIs are about to be deleted. r=rnewman a=crossweave 2011-02-10 14:12:25 -08:00
Philipp von Weitershausen 1ba07e89c1 Bug 631891 - Don't spin the event loop in a history observer. r=mconnor a=blocking-final 2011-02-10 09:06:55 -08:00
Philipp von Weitershausen b68d59d170 Bug 631001 - Password sync: apply records batched and in transactions to avoid fsyncs. r=mconnor a=blocking-fennec 2011-02-08 20:37:06 -08:00
Richard Newman 8883edec66 Bug 628788: return more readily after processing GUID anno. r=mconnor 2011-02-07 17:49:42 -08:00
Richard Newman fbf9cd3c41 Bug 628788: copying a bookmark should yield a new Sync GUID. r=philiKON
--HG--
extra : transplant_source : J9%A1Bw%B2%14%2C.%E1R%40%B6%EC2%E1%E4%3B%24t
2011-02-07 11:25:47 -08:00
Philipp von Weitershausen 49c535bb6c Bug 630720 - Form sync: apply records batched and in transactions to avoid fsyncs. r+a=mconnor 2011-02-03 10:23:38 -08:00
Richard Newman fb8ce24b3f Bug 609380: password sync: don't apply records with both httpRealm and formSubmitURL. r=mconnor 2011-01-31 23:22:13 -08:00
Philipp von Weitershausen 320733ecaf Bug 606353 - History sync: use mozIAsyncHistory::updatePlaces. r=rnewman 2011-01-28 09:39:35 -08:00
Philipp von Weitershausen 034dbc550a Bug 622762 - Add batch API for incoming records, deal with exceptions in SyncEngine's recordHandler. r=mconnor,rnewman 2011-01-28 09:39:12 -08:00
Richard Newman b48638a57d Bug 610501: better rewriting of tag search smart bookmarks. r=philiKON 2011-01-28 00:18:36 -08:00
Richard Newman 4f67a6cb54 Bug 610501: dupe Smart Bookmarks based on anno. r=philiKON 2011-01-28 00:14:08 -08:00
Richard Newman 38886bdf84 Bug 610501: handle smart bookmarks correctly in Sync. 2011-01-26 12:36:38 -08:00
Richard Newman 8f4afe2745 Bug 627497: remove annotations from copied bookmarks. r=philiKON 2011-01-25 12:37:23 -08:00
Richard Newman c3ac6e081a Bug 626796: Bookmark sync: restore from backup should trigger reupload. r=philiKON 2011-01-24 23:06:42 -08:00
Richard Newman fd114bcab4 Bug 627490: Bookmark sync: don't cache places IDs. r=philiKON 2011-01-24 10:45:27 -08:00
Philipp von Weitershausen 56f91610cc Bug 609421 follow-up: fix copypasta. r=rnewman 2011-01-19 14:12:14 -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
Philipp von Weitershausen 49b2260e62 Bug 609421 - Move tracker and store implementation into engines.js. r=rnewman 2011-01-18 16:23:25 -08:00
Philipp von Weitershausen a1199856dc Bug 609421 - Combine type_record/* files with their respective engines/* counterparts. r=rnewman 2011-01-18 16:23:20 -08:00
Philipp von Weitershausen 3b14dfa8f2 Bug 618403 - Orphan reparenting too aggressive, can lead to double bookmarks on storage version upgrade. r=rnewman 2011-01-14 13:41:09 -08:00
Philipp von Weitershausen 271172cd7e Bug 591103 - Ensure the client record is refreshed. r=mconnor 2011-01-14 13:22:20 -08:00
Philipp von Weitershausen bbc3af166b Bug 623418 - Bookmark sync: use a SQL query to fetch child GUIDs. r=mconnor,sdwilsh 2011-01-13 14:03:11 -08:00
Philipp von Weitershausen 9f19341780 Bug 623418 - Bookmark sync: don't record children in annotation. r=mconnor 2011-01-13 14:03:09 -08:00
Philipp von Weitershausen c8be7f77df Bug 623375 - History sync: failure on javascript: URLs. r=mconnor 2011-01-11 15:04:45 -08:00
Richard Newman e606392d85 Bug 597400: return null if GUID lookup fails in forms engine. r=philiKON 2011-01-06 12:05:30 -08:00
Philipp von Weitershausen 7608296c6a Bug 621489 - Make sure to call _orderChildren even if _processIncoming fails. r=mconnor 2011-01-04 15:04:18 -08:00
Philipp von Weitershausen 7058fee0e1 Bug 621594 - History sync: failure when title is null. r=mconnor 2010-12-28 17:36:18 -08:00
Philipp von Weitershausen 91b699daac Bug 616001 follow-up: Async statements are compiled asynchronously and fail on first execution, not creation. r=sdwilsh 2010-12-15 16:08:04 -08:00
Shawn Wilsher 762b239ba0 Bug 616001 - Sync needs to check moz_places.guid and moz_bookmarks.guid if it exists. r=philikon
Part 2 - Update bookmark engine.
2010-12-14 15:48:05 -08:00
Shawn Wilsher d4a9d49241 Bug 616001 - Sync needs to check moz_places.guid and moz_bookmarks.guid if it exists. r=philikon
Part 1 - Update history engine.
2010-12-14 15:48:03 -08:00
Philipp von Weitershausen cf1ee5696a Bug 617521 - Random bookmark reordering due to dupe handling. r=mconnor 2010-12-07 21:49:22 -08:00
Richard Newman c1e4717b80 Bug 616265: Add download limit for history, lift magic number. r=mconnor 2010-12-06 17:25:35 -08:00
Philipp von Weitershausen 5ebb101761 Bug 615285 - Bookmark sync: track ordering on folder. r=mconnor 2010-12-06 15:51:56 -08:00
Philipp von Weitershausen 71cb004b93 Bug 615410 - Use different annotations for parent and predecessor. r=mconnor
The old annotations will no longer be valid because they point to a different kind of GUID.
Since we're using our own GUID system now, we also don't have to munge predecessor and parent GUIDs before setting them.
2010-12-06 15:51:48 -08:00
Philipp von Weitershausen 2be6596619 Bug 615410 - Have bookmarks generate new-style GUIDs. r=mconnor 2010-12-06 15:51:38 -08:00
Philipp von Weitershausen 16f6f8c3cc Bug 616179 - Persona is not displayed after pref sync cleanup. r=mconnor 2010-12-02 11:03:01 -08:00
Philipp von Weitershausen 07eb8a8845 Bug 615604 - Only accept pref updates for the current app. r=mconnor 2010-11-30 13:37:07 -08:00