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

14 Коммитов

Автор SHA1 Сообщение Дата
shaver%mozilla.org d19bcfd556 Add putFromString sibling to put (cousin of getToString).
a=dbaron for closed-tree checkin. Gimme an N! Gimme a P!  Oh, forget it.
2004-12-08 20:07:20 +00:00
shaver%mozilla.org a1d56454ee Add getToString for convenience of callers.
a=dbaron for closed-tree checkin, npotb, ymmv, hand.
2004-12-08 19:54:24 +00:00
dmose%mozilla.org a0b14f4e2b Add closure params to everything except get. Not part of build 2004-12-02 01:41:03 +00:00
shaver%mozilla.org 3f1e669858 add GET_string and PUT_string helpers 2004-11-24 20:24:03 +00:00
shaver%mozilla.org b64fa152b4 (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.)
2004-11-19 09:12:41 +00:00
shaver%mozilla.org 97d651742f Implement MoveTo and CopyTo. (NPOTB) 2004-11-03 00:16:53 +00:00
shaver%mozilla.org 1abdd2a93a 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.
2004-10-30 22:13:11 +00:00
shaver%mozilla.org f5f6159e3a 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.
2004-10-29 20:20:54 +00:00
shaver%mozilla.org 6f09cd34e9 WebDAV, NPOTB.
Streamline operation-listener interface.

Report HTTP status correctly to listener.
2004-10-15 00:01:47 +00:00
shaver%mozilla.org 4ad3836fae 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.
2004-10-13 22:14:51 +00:00
shaver%mozilla.org d13ae59f95 WebDAV, NKOTB.
DELETE support (named 'remove' in IDL to avoid pain for JS consumers).

(...step by step...)
2004-10-13 21:54:33 +00:00
shaver%mozilla.org b9f243f10c WebDAV, NPOTB.
Don't propagatge NS_BINDING_ABORTED to put() callers.

PUT() test wrapper and findErr helper.
2004-10-13 21:30:21 +00:00
shaver%mozilla.org 4b184ac2af WebDAV micro-checkpoint, NPOTB.
Use buffered streams for getToOutputStream, and document that requirement.

Make sure we QI correctly for nsIRequestObserver in our
OperationStreamListener.
2004-10-13 18:35:33 +00:00
shaver%mozilla.org 6c340a24d6 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?
2004-10-12 04:13:04 +00:00