18 Commits

Author SHA1 Message Date
mattwillis%gmail.com
001de9fb57 bug 372573 - Replace invalid error codes with NS_ERROR_NO_INTERFACE. r1=ctalbert, r2=jminta
git-svn-id: svn://10.0.0.236/trunk@221415 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 22:53:39 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
dmose%mozilla.org
f2a7922f02 Implement WebDAV REPORT method (bug 275741); not part of default build.
git-svn-id: svn://10.0.0.236/trunk@167272 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 23:03:11 +00:00
dmose%mozilla.org
77f2787430 Fix getToOutputStream to call with the right number of parameters
git-svn-id: svn://10.0.0.236/trunk@167176 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-02 03:11:21 +00:00
shaver%mozilla.org
11ba3b7c20 Add putFromString sibling to put (cousin of getToString).
a=dbaron for closed-tree checkin. Gimme an N! Gimme a P!  Oh, forget it.


git-svn-id: svn://10.0.0.236/trunk@166445 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 20:07:20 +00:00
shaver%mozilla.org
5785b65776 Add getToString for convenience of callers.
a=dbaron for closed-tree checkin, npotb, ymmv, hand.


git-svn-id: svn://10.0.0.236/trunk@166443 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 19:54:24 +00:00
dmose%mozilla.org
75e3c2d28a Add closure params to everything except get. Not part of build
git-svn-id: svn://10.0.0.236/trunk@166119 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 01:41:03 +00:00
shaver%mozilla.org
cf2a83a7e4 add GET_string and PUT_string helpers
git-svn-id: svn://10.0.0.236/trunk@165729 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 20:24:03 +00:00
shaver%mozilla.org
fc43fb1972 (NPOTB).
Change interfaces to use nsIURL to specific resources, instead of UTF8 strings.

Don't cap the storage stream (and therefore the generated PROPFIND request
body) at 256K.

Don't leak a ref on the resource's URL if we can't QI the channel we create
to nsIHttpChannel.  (Honestly, though, that really shouldn't happen.)


git-svn-id: svn://10.0.0.236/trunk@165509 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 09:12:41 +00:00
shaver%mozilla.org
fc546dd372 Implement MoveTo and CopyTo. (NPOTB)
git-svn-id: svn://10.0.0.236/trunk@164821 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 00:16:53 +00:00
shaver%mozilla.org
df6fe78af1 WebDAV, NPOTB.
- Simplify interfaces by losing implicit parameterization through data on
  subtypes.
- Add ResourceWithLock for manipulating locked resources.
- Lose the thinnest OSL-creation wrapper functions; they were just dead
  boilerplate weight.


git-svn-id: svn://10.0.0.236/trunk@164678 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 22:13:11 +00:00
shaver%mozilla.org
c4e2cf2d70 WebDAV, NPOTB:
- Unify listeners better, with parameterized operation types for both
  completion and detail.
- Unify propfind and general-listener code for big ole code-sharing win.


git-svn-id: svn://10.0.0.236/trunk@164622 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 20:20:54 +00:00
shaver%mozilla.org
8f2f6c9e63 WebDAV, NPOTB.
Streamline operation-listener interface.

Report HTTP status correctly to listener.


git-svn-id: svn://10.0.0.236/trunk@163791 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 00:01:47 +00:00
shaver%mozilla.org
7a564e7cda WebDAV: the beat goes on.
MKCOL support.  No MKCOL-with-data support, because I have no idea what that's
really supposed to do, so I can't design a good interface for it.


git-svn-id: svn://10.0.0.236/trunk@163679 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 22:14:51 +00:00
shaver%mozilla.org
b394416633 WebDAV, NKOTB.
DELETE support (named 'remove' in IDL to avoid pain for JS consumers).

(...step by step...)


git-svn-id: svn://10.0.0.236/trunk@163675 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 21:54:33 +00:00
shaver%mozilla.org
fc2d63f2b0 WebDAV, NPOTB.
Don't propagatge NS_BINDING_ABORTED to put() callers.

PUT() test wrapper and findErr helper.


git-svn-id: svn://10.0.0.236/trunk@163673 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 21:30:21 +00:00
shaver%mozilla.org
903cb27ef7 WebDAV micro-checkpoint, NPOTB.
Use buffered streams for getToOutputStream, and document that requirement.

Make sure we QI correctly for nsIRequestObserver in our
OperationStreamListener.


git-svn-id: svn://10.0.0.236/trunk@163660 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 18:35:33 +00:00
shaver%mozilla.org
145d3f4fb2 WebDAV checkpoint (NPOTB, I feel so dirty).
- return properties for propname results, as well as properties proper.
  (Depends on 263957 to actually be useful.)
- ACString > string.
- remove vestigial ChildListener interface.
- OperationListener is also used for get and put.
- put needs a content-type.
- getToOutputStream for somewhat easier use from script.
- implement put, getToOutputStream
- much refactoring of propfind stuff for reuse and clarity
- "davshell" xpcshell test framework
- honestly, did we lose a string-API bet with someone?


git-svn-id: svn://10.0.0.236/trunk@163577 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 04:13:04 +00:00