Commit Graph

38 Commits

Author SHA1 Message Date
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
84999b62be More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-12 01:28:51 +00:00
shaver%mozilla.org
ac5b3c1b77 Fix MODULE_NAME to match the code, patch from abwillis@comcast.net. 2005-06-14 16:57:44 +00:00
shaver%mozilla.org
a6edb973e3 If we are not already building xmlextras, make sure to build it here.
r=pavlov.  (Wanted: explicit extension-dependency system.)
2005-06-07 00:43:55 +00:00
bsmedberg%covad.net
be30b2f533 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-04 18:38:19 +00:00
dmose%mozilla.org
165b6aeac0 Make WebDAV resolve hrefs with relative URLs. rs=shaver. Not part of the default build. 2005-01-29 02:03:14 +00:00
dmose%mozilla.org
2d9556a6cf Don't crash if we get a native DOM element back. sr=shaver 2005-01-11 21:16:56 +00:00
vladimir%pobox.com
1094342527 fix non-debug build bustage (FORCE_PR_LOG moved to Internal.h), notpartofthebuild, r=shaver 2005-01-10 17:59:30 +00:00
dmose%mozilla.org
96d73ea68d More PR_LOGGING ifdef fixes; not part of the build. 2005-01-06 20:17:52 +00:00
dmose%mozilla.org
3d5fc07399 Fix attempting use of log in non-logging builds. This was causing the
.so to fail to register.  Not part of the build.
2005-01-06 20:12:57 +00:00
dmose%mozilla.org
bbe43d19cc Implement WebDAV REPORT method (bug 275741); not part of default build. 2005-01-04 23:03:11 +00:00
dmose%mozilla.org
535860133a Fix getToOutputStream to call with the right number of parameters 2005-01-02 03:11:21 +00:00
shaver%mozilla.org
fe61a3b265 fix for SetXMLDeclaration change, non-debug builds 2004-12-17 22:12:39 +00:00
dmose%mozilla.org
105d7f3740 Make sure that our channels have VALIDATE_ALWAYS in the loadFlags so that we don't get stale data after puts. Not part of the build. 2004-12-14 01:57:26 +00:00
pavlov%pavlov.net
4920652665 changing virtual nsresult to NS_IMETHOD so that it builds on windows 2004-12-10 01:14:42 +00:00
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
gerv%gerv.net
670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +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
dmose%mozilla.org
9a577efa0d Fix MinGW linkage (not part of build) 2004-11-05 06:10:34 +00:00
shaver%mozilla.org
97d651742f Implement MoveTo and CopyTo. (NPOTB) 2004-11-03 00:16:53 +00:00
shaver%mozilla.org
eba1bc9fa3 fix dumb prototype/impl mismatch (npotb) 2004-11-02 21:44:51 +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
1ea5ef52b0 WebDAV, NPOTB: Refactor simple stream reader, because every line of reuse
reduces the amount of C++ I have to read.
2004-10-15 07:58:56 +00:00
shaver%mozilla.org
62cc94df8a WebDAV, NPOTB.
Refactor the parse-and-list-responses code so that upcoming multiresult
work for non-PROPFIND operations can use it.
2004-10-15 07:48:12 +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
68c683d7fe WebDAV, NPOTB.
DELETE can return a multistatus, so enhance the API a bit to convey that data.

We don't call the detailed-report facet yet at all, but it's there for when
we do!
2004-10-13 23:36:51 +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
ee1db06bac (WebDAV, NPOTB)
Flush the output stream when the GET is complete, to aid scripted callers in
getting the results they probably expect.
2004-10-13 20:46:24 +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
shaver%mozilla.org
d6a4d0f76c Beginnings of WebDAV support, starting with (nonconformant but mildly
usable) PROPFIND service.
2004-10-01 05:59:55 +00:00