Commit Graph

2660 Commits

Author SHA1 Message Date
Ehsan Akhgari
a95b6edeea Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Gregory Szorc
b188ce28e3 Bug 767023 - Change "deleted" to "hidden" per spec change; r=rnewman 2012-06-23 10:22:53 -07:00
Gregory Szorc
661ee76e84 Backed out changeset dd0d02c1ee7c (bug 766325) for xpcshell bustage 2012-06-23 18:38:41 -07:00
Gregory Szorc
f7d72872ec Bug 766325 - Change "deleted" to "hidden" per spec change; r=rnewman 2012-06-23 10:22:53 -07:00
Gregory Szorc
ce44ad1d0a Bug 765294 - Fix packaging of services components; r=ted 2012-06-22 09:27:01 -07:00
Gregory Szorc
d0b7c88511 Bug 754062 - Add skeleton for browser notifications service; r=gps
This is a reland. The original commit was c53f474c502b and was backed
out in 591fd1c696f0. The next commit is required to make xpcshell tests
not fail.
2012-06-22 09:24:39 -07:00
Gregory Szorc
65713e5736 Backout bug 754062 (c53f474c502b) for xpcshell breakage 2012-06-20 11:51:49 -07:00
Anant Narayanan
232c82da66 Bug 761877: Add correct UTF-8 handling to RESTRequest; r=gps 2012-06-15 14:49:11 -07:00
Anant Narayanan
73460e91a3 Bug 760906: Enable logging for AITC; r=gps 2012-06-15 14:47:33 -07:00
Jeff Balogh
e18b5571aa Bug 754062 - Add skeleton for browser notifications service; r=gps 2012-06-14 14:58:19 -07:00
Jens Hatlak
605a951436 Bug 758530 - Sync does not initialize automatically anymore. r=bsmedberg
Add SeaMonkey AppID to Weave component whitelist
2012-06-05 21:27:54 +02:00
Gregory Szorc
fbc6dd35c8 Bug 700000 - Bump Sync version to 1.18.0 2012-06-04 22:29:52 +02:00
Gregory Szorc
0a80032458 Bug 760905 - Disable problematic test for AITC; r=I
AITC is not enabled by default, so this test would just add overhead for
people tracking the tree.
2012-06-04 10:14:30 +02:00
Anant Narayanan
3feb2f1b42 Bug 757261: Apps in the Cloud Manager and Service; r=mconnor 2012-06-02 23:32:37 -07:00
Anant Narayanan
ae4a9b68bb Bug 745345: BrowserID support for Apps in the Cloud; r=khuey, r=gps 2012-06-02 22:08:54 -07:00
Anant Narayanan
aa4252c2f2 Bug 755375: Implement Apps in the Cloud storage layer; r=gps 2012-06-02 21:58:46 -07:00
Anant Narayanan
47aba0b043 Bug 754538 - Implement Apps in the Cloud REST client; r=gps, r=mconnor 2012-06-02 20:35:34 -07:00
Gregory Szorc
37a7c7ad5f Bug 760448 - Send result to CommonUtils.jsonSave's callback; r=rnewman 2012-06-01 18:35:38 +02:00
Gregory Szorc
00a3c3be28 Bug 749336 - JS implementation of AITC 1.0 server; r=rnewman 2012-06-01 15:12:43 +02:00
Gregory Szorc
03de775765 Bug 744323 - JS implementation of storage service 2.0 server; r=rnewman 2012-06-01 15:12:40 +02:00
Gregory Szorc
f1bad475d4 Bug 760105 - Add argument to CommonUtils.encodeBase64URL for padding; r=rnewman 2012-06-01 15:12:37 +02:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Gregory Szorc
da3ef15a1f Bug 756366 - Preserve Sync credentials during client wipe; r=rnewman 2012-05-22 10:17:53 +02:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gregory Szorc
6fd01e4b30 Merge services-central into mozilla-central 2012-05-15 09:39:11 -07:00
Raymond Lee
e9c89f61e2 Bug 721283 - TPS driver should unload observers on exit r=gps 2012-05-12 02:40:09 +08:00
Gregory Szorc
383b14f503 Merge m-c into s-c 2012-05-11 11:31:42 -07:00
Joe Drew
f71f46752d Merge last PGO-clean cset from inbound to central. 2012-05-10 21:25:37 -04: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
Rob Campbell
0226390b82 merge fx-team to m-c 2012-05-10 11:54:23 -03:00
Blair McBride
f7913f5587 Bug 746909 - Lazy load AddonRepository, and various other JS modules. r=dtownsend 2012-05-10 14:28:45 +12:00
Benjamin Smedberg
d1c11dffe5 Bug 737164 part C - switch various in-tree callers which are using fallible strings to keep using them
--HG--
extra : rebase_source : f5b42ba1f5745b256ba4e4ca67c883696904f9c1
2012-05-08 13:55:24 -04:00
Richard Newman
bc544dd5f3 Merge m-c to s-c. 2012-05-06 18:58:00 -07:00
Gregory Szorc
fdb09d5559 Merge m-c to s-c 2012-05-03 14:33:48 -07:00
Gregory Szorc
8702cdf9b5 Bug 749957; r=rnewman 2012-05-03 14:25:33 -07:00
Gregory Szorc
06f05b029a Bug 751291 - Rename CryptoUtils._sha1 -> CryptoUtils.UTF8AndSHA1; r=rnewman 2012-05-02 12:28:03 -07:00
Anant Narayanan
a13fc78774 Bug 745069 - Add methods to DOMApplicationRegistry for AitC support; r=fabrice 2012-04-28 00:10:08 -07:00
Anant Narayanan
cea4a920c0 Bug 745065: Backing out removal of Apps sync engine 2012-04-26 11:27:16 -07:00
Gregory Szorc
9d3c1863d6 Bug 700000 - Bump Sync version to 1.17.0 2012-04-24 14:50:39 -04:00
Richard Newman
51c4f5af7a Merge m-c to s-c. 2012-04-20 10:51:26 -07:00
Gregory Szorc
344436e858 Bug 746659 - Fix symlinks in services-common modules; r=rnewman 2012-04-18 11:26:04 -07:00
Gregory Szorc
2594a5674f Back out df780dfa7862 for xpcshell bustage on Windows and Linux 2012-04-17 16:49:40 -07:00
Gregory Szorc
0dfd030129 Bug 745425 - Fix bustage in test_prefs_tracker.js from previous commit; r=bustage 2012-04-17 16:45:32 -07:00
Anant Narayanan
40e445624c Bug 745425 - Move Utils.encodeBase64url to CommonUtils; r=gps 2012-04-17 15:42:33 -07:00
Anant Narayanan
59108c1314 Bug 745424 - Add TokenAuthenticatedRESTRequest; r=gps 2012-04-17 15:32:33 -07:00
Gregory Szorc
b7f1a09937 Bug 745885 - Improvements to CommonUtils.namedTimer; r=rnewman 2012-04-16 16:14:04 -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
Richard Newman
6302cbc2a6 Merge m-c to s-c. 2012-04-14 01:44:24 -07:00
Anant Narayanan
c3980e163e Bug 745065 - Remove sync engine for apps (superseded by AitC) 2012-04-13 11:13:01 -07:00
Gregory Szorc
2e4a84581a Bug 731494 - Use nsinstall properly in services/common/Makefile.in; r=bustage 2012-04-13 10:03:08 -07:00