[commits] Horde branch http-client-adapters updated. e355291c5e8de6ce99bb0a996a2b0a1d6bde8147

Chuck Hagenbuch chuck at horde.org
Tue Sep 15 03:40:15 UTC 2009


The branch "http-client-adapters" has been updated.
The following is a summary of the commits.

from: b83d45d714e97f65edb57597f15640406825273d

deea181... Add Horde_Support_StringStream and the supporting Horde_Stream_Wrapper_String class
51bf8e0... start adding response objects
88f5fd6... new usage pattern for requests
ce9117f... include the abstract send() method
0b6c8ad... using streams with curl is broken in PHP 5.3.0
4dfca46... pecl_http, cURL, and fopen requests all work for the basics now
8038a84... make Stream_Wrapper a required dependency since StringWrapper won't work without it
e355291... add Horde_Support as a dependency

-----------------------------------------------------------------------

commit deea181902fc91992730534fc05bdf246608e8d4
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:45:27 2009 -0400

    Add Horde_Support_StringStream and the supporting Horde_Stream_Wrapper_String class
    
    Provides a way to treat a string variable as a stream without duplicating it or
    using global scope.

 framework/Stream_Wrapper/lib/Horde/Stream/Wrapper/String.php |  139 ++++++++++
 framework/Stream_Wrapper/package.xml                         |   70 +++++
 framework/Support/lib/Horde/Support/StringStream.php         |   67 +++++
 framework/Support/package.xml                                |    9 +
 4 files changed, 285 insertions(+), 0 deletions(-)
 create mode 100644 framework/Stream_Wrapper/lib/Horde/Stream/Wrapper/String.php
 create mode 100644 framework/Stream_Wrapper/package.xml
 create mode 100644 framework/Support/lib/Horde/Support/StringStream.php

http://git.horde.org/co.php/framework/Stream_Wrapper/lib/Horde/Stream/Wrapper/String.php?rt=horde-git&r=deea181902fc91992730534fc05bdf246608e8d4
http://git.horde.org/co.php/framework/Stream_Wrapper/package.xml?rt=horde-git&r=deea181902fc91992730534fc05bdf246608e8d4
http://git.horde.org/co.php/framework/Support/lib/Horde/Support/StringStream.php?rt=horde-git&r=deea181902fc91992730534fc05bdf246608e8d4
http://git.horde.org/diff.php/framework/Support/package.xml?rt=horde-git&r1=80ddb0a4a936611c84eaf657d36e893ced5d6dd7&r2=deea181902fc91992730534fc05bdf246608e8d4

-----------------------------------------------------------------------

commit 51bf8e0b31cb7075d9ddf423e2f012cebe554c68
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:47:00 2009 -0400

    start adding response objects

 framework/Http/lib/Horde/Http/Response/Base.php |   28 +++++++-----
 framework/Http/lib/Horde/Http/Response/Curl.php |   50 +++++++++++++++++++++++
 framework/Http/package.xml                      |   12 +++++
 3 files changed, 78 insertions(+), 12 deletions(-)

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Base.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=51bf8e0b31cb7075d9ddf423e2f012cebe554c68
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Curl.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=51bf8e0b31cb7075d9ddf423e2f012cebe554c68
http://git.horde.org/diff.php/framework/Http/package.xml?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=51bf8e0b31cb7075d9ddf423e2f012cebe554c68

-----------------------------------------------------------------------

commit 88f5fd6f9d9ef0bda74e263e1dbd1412d511cac0
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:47:18 2009 -0400

    new usage pattern for requests

 framework/Http/lib/Horde/Http/Client.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Client.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=88f5fd6f9d9ef0bda74e263e1dbd1412d511cac0

-----------------------------------------------------------------------

commit ce9117ff9aebbb5138552e8ebe57dfd9c34382e9
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:47:41 2009 -0400

    include the abstract send() method

 framework/Http/lib/Horde/Http/Request/Base.php |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Request/Base.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=ce9117ff9aebbb5138552e8ebe57dfd9c34382e9

-----------------------------------------------------------------------

commit 0b6c8ad09fa87a0ef0c78b004b52a26b393b7834
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 22:48:14 2009 -0400

    using streams with curl is broken in PHP 5.3.0

 framework/Http/lib/Horde/Http/Request/Curl.php |   33 +++++++++++++-----------
 1 files changed, 18 insertions(+), 15 deletions(-)

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Request/Curl.php?rt=horde-git&r1=b83d45d714e97f65edb57597f15640406825273d&r2=0b6c8ad09fa87a0ef0c78b004b52a26b393b7834

-----------------------------------------------------------------------

commit 4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 23:38:30 2009 -0400

    pecl_http, cURL, and fopen requests all work for the basics now

 framework/Http/lib/Horde/Http/Request/Curl.php      |    2 +-
 framework/Http/lib/Horde/Http/Request/Peclhttp.php  |    2 +-
 framework/Http/lib/Horde/Http/Response/Base.php     |   54 +++++-------------
 framework/Http/lib/Horde/Http/Response/Curl.php     |   49 +++++++++++++---
 framework/Http/lib/Horde/Http/Response/Fopen.php    |   57 +++++++++++++++++++
 framework/Http/lib/Horde/Http/Response/Mock.php     |   19 ++++++
 framework/Http/lib/Horde/Http/Response/Peclhttp.php |   48 ++++++++++++++++
 7 files changed, 181 insertions(+), 50 deletions(-)
 create mode 100644 framework/Http/lib/Horde/Http/Response/Mock.php

http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Request/Curl.php?rt=horde-git&r1=0b6c8ad09fa87a0ef0c78b004b52a26b393b7834&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Request/Peclhttp.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Base.php?rt=horde-git&r1=51bf8e0b31cb7075d9ddf423e2f012cebe554c68&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Curl.php?rt=horde-git&r1=51bf8e0b31cb7075d9ddf423e2f012cebe554c68&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Fopen.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/co.php/framework/Http/lib/Horde/Http/Response/Mock.php?rt=horde-git&r=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140
http://git.horde.org/diff.php/framework/Http/lib/Horde/Http/Response/Peclhttp.php?rt=horde-git&r1=258ede7c54e605174c9ff7976039b607f6707b36&r2=4dfca4614d1acdedb7741e9e37f2f9bc6dd4c140

-----------------------------------------------------------------------

commit 8038a84c18301cca9c6e0b8ed51ef694eae24f93
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 23:40:03 2009 -0400

    make Stream_Wrapper a required dependency since StringWrapper won't work without it

 framework/Support/package.xml |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

http://git.horde.org/diff.php/framework/Support/package.xml?rt=horde-git&r1=deea181902fc91992730534fc05bdf246608e8d4&r2=8038a84c18301cca9c6e0b8ed51ef694eae24f93

-----------------------------------------------------------------------

commit e355291c5e8de6ce99bb0a996a2b0a1d6bde8147
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Mon Sep 14 23:40:21 2009 -0400

    add Horde_Support as a dependency

 framework/Http/package.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

http://git.horde.org/diff.php/framework/Http/package.xml?rt=horde-git&r1=51bf8e0b31cb7075d9ddf423e2f012cebe554c68&r2=e355291c5e8de6ce99bb0a996a2b0a1d6bde8147




More information about the commits mailing list