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

616 Коммитов

Автор SHA1 Сообщение Дата
Richard Newman 8dd0b9e58b Bug 889413 - FormWrapper._finalize is not a function. r=markh 2013-07-02 15:09:17 -07:00
Richard Newman 2db1a46c83 Bug 888692 - Missing trackChanges call in forms.js. r=markh 2013-07-02 12:30:10 -07:00
Richard Newman 4183555b92 Merge m-c to s-c. 2013-06-22 11:58:51 -07:00
Richard Newman 19cdbfce63 Bug 878677 - Part 2: Sync changes to support FormHistory.jsm. r=rnewman 2013-06-20 09:56:49 -07:00
Richard Newman d3068e6c99 Backed out changeset 31f1458c6a0b (bug 878677) 2013-06-18 09:16:19 -07:00
Mark Hammond 651c99c4da Bug 878677 - Part 2: Sync changes to support FormHistory.jsm. r=rnewman 2013-06-17 16:58:54 -07:00
Andrea Marchesini 3e4e0d931a Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Jim Mathies 561c9eed72 Bug 826357 - Generate Metro-aware Sync client name. r=rnewman 2013-05-07 15:55:49 -05:00
Raymond Lee beec825b40 Bug 865643 - Fix DEPRECATION WARNING: archiveBookmarksFile is deprecated error. r=rnewman 2013-04-26 10:09:52 +08:00
Nick Alexander 0481627d39 Bug 848519 - Part 3: Replace services-common/preferences.js with gre/modules/Preferences.jsm in imports. r=gavin 2013-04-15 12:45:37 -07:00
Raymond Lee de3be8a99d Bug 852041 - Part 2: Use BookmarkJSONUtils.exportToFile in services/sync. r=rnewman 2013-04-09 17:15:34 +08:00
Marco Bonardo 4f925597b9 Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Ehsan Akhgari 565d0479c3 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Andres Hernandez 3f91b9e564 Bug 739217 - Part 3: services replacement of codebase usage of synchronous isVisited with asynchronous isURIVisited. r=rnewman 2013-01-18 12:01:40 -06:00
Richard Newman e1dccc7a9b Bug 829656 - TEST-UNEXPECTED-FAIL | /builds/slave/talos-slave/test/build/xpcshell/tests/services/common/tests/unit/head_helpers.js | 2 == 1. r=trivial 2013-01-11 10:03:15 -08:00
Richard Newman b709251bb2 Bug 826421 - Follow-up: remove unnecessary method. r=trivial 2013-01-04 20:03:46 -08:00
Richard Newman 58affe4efc Bug 826421 - Remove Places onBeforeDeleteURI and onBeforeItemRemoved notifications in Sync. r=mak 2013-01-04 09:45:12 -08:00
Richard Newman aa45233a91 Bug 819262 - Additional tests for bookmark application in Sync. r=gps 2012-12-14 14:00:40 -08:00
Richard Newman d47fc2f956 Bug 817232 - Don't apply incoming deletions for special folders. r=gps 2012-12-04 16:49:55 -08:00
Andres Hernandez 0478694ccb Bug 722977 - Tabs engine uses global Svc.Private to make decisions based on private browsing state; r=ehsan,gps,rnewman 2012-11-19 14:44:07 -06:00
Ed Morley ee93273e84 Backout 545cb0d6b5c6 (bug 811490), 4fd6fc029bbe (bug 722977) for xpcshell failures 2012-11-16 19:15:18 +00:00
Andres Hernandez 09155dbef7 Bug 722977 - Tabs engine uses global Svc.Private to make decisions based on private browsing state; r=ehsan,gps,rnewman
--HG--
extra : rebase_source : 49f920e3a961a6c103bae28d62e2a322a5f9fad1
2012-11-09 10:48:23 -06: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
Richard Newman 588a039d52 Bug 806460 - Part 1: NS_ERROR_ILLEGAL_VALUE in nsINavBookmarksService.insertBookmark while inserting query. r=gps
* * *
Bug 806460 - Part 2: more nuanced rejection of malformed records. r=me (fix bustage).
2012-10-29 15:24:52 -07:00
Gregory Szorc 15b3f3976e Bug 792990 - Properly handle add-ons when resetting Sync; r=rnewman
Due to a bug in the add-on sync implementation, resetting Sync would
cause all add-ons to be uninstalled and not replaced with the server
data.
2012-09-21 11:22:59 -07:00
Gregory Szorc 4192f76f6e Bug 787273 - Part 6: Remove Weave export from service.js; r=rnewman
This is mostly minor cosmetic changes. Weave was being exported from
service.js for no apparent reason. It was mostly used by tests.

There was a reference to it in engines.js, which should have been caught
when the engines were associated with a service instance. engines.js now
does the right thing.

Weave is no longer exported by service.js. Tests and modules no longer
import main.js.

WeaveSvc was also renamed to Sync11Service because why not.

Weave continues to be the main public API.
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 e700f1a9c5 Bug 785225 - Part 9: Refactor engines to not use singletons; r=rnewman
Engines now maintain a reference to the service they belong to. This
allows them to obtain references to other engine instances belonging to
that service and that service only.

Stores and trackers now maintain a reference to the engine they belong
to.

Engine managers now maintain a reference back to a service.

The clients singleton has been removed. It now exists as an instance
variable on Service. Parts of ClientsEngine do behave as singletons
(e.g. commands). This will be addressed in future refactoring.
2012-08-29 14:43:41 -07:00
Gregory Szorc a740be31b3 Bug 785225 - Part 1: Don't rely on Engines singleton in AddonsReconciler; r=rnewman 2012-08-29 14:43:40 -07:00
Gregory Szorc 8646bbab43 Bug 777989 - Move add-on helper functions out of add-ons engine; r=rnewman 2012-07-30 17:05:33 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Rob Campbell a8a89c4a32 merge fx-team to m-c 2012-05-10 11:54:23 -03:00
Blair McBride 70f7fb2d11 Bug 746909 - Lazy load AddonRepository, and various other JS modules. r=dtownsend 2012-05-10 14:28:45 +12:00
Anant Narayanan 8b54c4dcbe Bug 745069 - Add methods to DOMApplicationRegistry for AitC support; r=fabrice 2012-04-28 00:10:08 -07:00
Anant Narayanan a8e51fd3da Bug 745425 - Move Utils.encodeBase64url to CommonUtils; r=gps 2012-04-17 15:42:33 -07: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
Gregory Szorc 21d847d841 Bug 741670 - Don't sync hotfix extensions; r=rnewman, Unfocused 2012-04-03 08:55:58 -07:00
Gregory Szorc fdc865b2f2 Bug 739320 - Handle title in received "display URI" Sync commands; r=rnewman 2012-03-28 12:53:57 -07:00
Richard Newman 17bac6e477 Bug 739892 - correct type comparison error and typo in 7703db949571 (Bug 739339). a=borkage 2012-03-27 22:21:22 -07:00
Marina Samuel 7f2e3ee5c2 Bug 739320 - Send title in display URI command; r=gps 2012-03-27 10:13:52 -07:00
Richard Newman 13e28683e0 Bug 739339 - make desktop Sync more robust against malformed bookmark records. r=gps 2012-03-26 18:40:28 -07:00
Richard Newman dd67cb8f33 Bug 733886 - Ensure that tabs engine always uploads integer timestamps, not strings. r=gps 2012-03-13 16:45:26 -07:00
Marco Bonardo 25870338d7 Bug 613588 (Sync) - Load-on-demand livemarks.
r=rnewman
2012-02-24 13:42:32 +01:00
Gregory Szorc a107ebbc0d Bug 712542 - Apply add-on state before install when installing through Sync; r=Unfocused, r=rnewman 2012-02-20 14:53:03 -08:00
Geoff Lankow c59ab7ad07 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg 2012-01-18 23:23:28 +13:00
Gregory Szorc 53b8801ca8 Bug 725083 - Handle undefined sourceURI when installing add-ons; r=rnewman 2012-02-07 14:14:41 -08:00