ObjFW  History of src/OFHTTPRequest.m of e49548ce0f29cda9

History of the file that is called src/OFHTTPRequest.m at check-in e49548ce0f29cda9

2024-04-03
02:16
[bea32a7b3c] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 6674) [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
[ac81e4f125] part of check-in [7324ec8590] Update copyright (check-in: [7324ec8590] user: js, branch: 1.0, size: 6179) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[3110dfe070] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 6466) [annotate] [blame] [check-ins using] [diff]
2023-10-15
14:55
[7d8bd2c275] part of check-in [12c09ef41e] Add OFHTTPRequestMethodString()

This deprecates OFHTTPRequestMethodName(), which returns a C string.
APIs should avoid C strings as much as possible.

This function was initially only used internally, where this was fine.
However, when it was made public, it should have been converted to
OFString at the same time.

Adds OFHTTPRequestMethodParseString() for consistency, which behaves the
same as OFHTTPRequestMethodParseName() and deprecates it. (check-in: [12c09ef41e] user: js, branch: trunk, size: 6466) [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
[f630f4e80b] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 6179) [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
[05069741cd] part of check-in [23272e6d43] Rename OFURI to OFIRI (check-in: [23272e6d43] user: js, branch: trunk, size: 6179) [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
[c85955ea02] part of check-in [e7ab06503c] Rename OFUR{L -> I} in preparation for URI support (check-in: [e7ab06503c] user: js, branch: trunk, size: 6179) [annotate] [blame] [check-ins using] [diff]
2022-09-25
20:14
[faac6100ad] part of check-in [5a4e00df9a] Document more exceptions (check-in: [5a4e00df9a] user: js, branch: trunk, size: 6179) [annotate] [blame] [check-ins using] [diff]
2022-08-30
00:48
[e5f40fde4a] part of check-in [4ad0c363f3] OFObject: Small API change (check-in: [4ad0c363f3] user: js, branch: trunk, size: 6181) [annotate] [blame] [check-ins using] [diff]
2022-06-13
20:37
[723c374a89] part of check-in [9b38dfc914] Fix -[OFHTTPRequest copy] (check-in: [9b38dfc914] user: js, branch: trunk, size: 6169) [annotate] [blame] [check-ins using] [diff]
2022-06-05
09:44
[46404a5b3d] part of check-in [a2872b719a] OFHTTPRequest: Remove init without URL (check-in: [a2872b719a] user: js, branch: trunk, size: 6175) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[31af8cb418] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 6257) [annotate] [blame] [check-ins using] [diff]
2021-04-18
15:55
[44128a59e9] part of check-in [7392685ffc] Rename all functions in macros.h (check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 6257) [annotate] [blame] [check-ins using] [diff]
2021-04-17
14:33
[ef85fc1d98] part of check-in [83d8f3e5f6] Rename of_http_* (check-in: [83d8f3e5f6] user: js, branch: new-naming-convention, size: 6263) [annotate] [blame] [check-ins using] [diff]
13:58
[46acd12d86] part of check-in [e3c5bb70dd] of_socket_address_t -> OFSocketAddress (check-in: [e3c5bb70dd] user: js, branch: new-naming-convention, size: 6383) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[c73164e676] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 6415) [annotate] [blame] [check-ins using] [diff]
2020-10-10
21:54
[517654630c] part of check-in [ac004e624d] More type cleanups (check-in: [ac004e624d] user: js, branch: trunk, size: 6504) [annotate] [blame] [check-ins using] [diff]
14:27
[5fbba85cad] part of check-in [aeb403a1ed] OFObject: Change type of -[hash] to unsigned long

The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (check-in: [aeb403a1ed] user: js, branch: trunk, size: 6484) [annotate] [blame] [check-ins using] [diff]

2020-10-03
21:46
[2b2b69fc08] part of check-in [8d78a77f79] OFHTTPRequest: Fix handling of remoteAddress (check-in: [8d78a77f79] user: js, branch: trunk, size: 6479) [annotate] [blame] [check-ins using] [diff]
2020-08-11
19:45
[a65b94e9ae] part of check-in [b6ee372b98] OFString: Rework number parsing API

This solves the old signed vs. unsigned problem and allows for more
bases than just 8, 10 and 16, as well as auto-detection of the base (if
base is 0). (check-in: [b6ee372b98] user: js, branch: trunk, size: 6168) [annotate] [blame] [check-ins using] [diff]

2020-03-22
16:15
[2d1b69a80f] part of check-in [a013a9d577] ofhttp: Allow all request methods (check-in: [a013a9d577] user: js, branch: trunk, size: 6166) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[db732e6dff] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 6143) [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
[e973ddf9ac] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 6140) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[8752774259] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 6170) [annotate] [blame] [check-ins using] [diff]
2018-11-17
22:46
[7c68bfbbc5] part of check-in [4ec7e46c8a] Improve property name consistency (check-in: [4ec7e46c8a] user: js, branch: trunk, size: 6164) [annotate] [blame] [check-ins using] [diff]
2018-08-11
14:00
[f2c9b5d838] part of check-in [8f810ecb7e] Change the layout of of_socket_address_t

Instead of containing a struct sockaddr_storage - which does not exist
on all supported platforms - it now contains a union of all struct
sockaddr_* types.

Additionally, if struct sockaddr_in6 does not exist, it is defined so
that an IPv6 can be stored even if the system does not support IPv6. (check-in: [8f810ecb7e] user: js, branch: trunk, size: 6168) [annotate] [blame] [check-ins using] [diff]

2018-02-25
02:55
[9ef3db2e96] part of check-in [629e8d915a] OFHTTPRequest: Remove body (check-in: [629e8d915a] user: js, branch: trunk, size: 5979) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[470b55b5f2] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 6735) [annotate] [blame] [check-ins using] [diff]
2017-11-11
23:27
[88ac73f99a] part of check-in [526feacebc] Small optimization for -[isEqual:] (check-in: [526feacebc] user: js, branch: trunk, size: 6712) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[33eb5fdd58] part of check-in [2f4e0df8be] Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 6675) [annotate] [blame] [check-ins using] [diff]

2017-07-22
20:50
[a914d1de62] part of check-in [c8f7b90082] Split OFDataArray into OFData and OFMutableData (check-in: [c8f7b90082] user: js, branch: trunk, size: 6643) [annotate] [blame] [check-ins using] [diff]
2017-07-20
22:28
[4701092438] part of check-in [3a5570ab20] Split OFURL into OFURL and OFMutableURL (check-in: [3a5570ab20] user: js, branch: trunk, size: 6686) [annotate] [blame] [check-ins using] [diff]
2017-05-15
21:41
[41b78f73e9] part of check-in [fedbbb2344] Remove cookies from OFHTTP{Request,Response}

These can just live in the headers. (check-in: [fedbbb2344] user: js, branch: trunk, size: 6687) [annotate] [blame] [check-ins using] [diff]

2017-05-07
20:10
[c7f95080da] part of check-in [4af49a13c3] Small code style change

Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 6728) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[2083545dd2] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 6720) [annotate] [blame] [check-ins using] [diff]

2017-01-06
23:42
[4f3aac88d0] part of check-in [ae340607fd] Several minor style fixes (check-in: [ae340607fd] user: js, branch: trunk, size: 6714) [annotate] [blame] [check-ins using] [diff]
2016-10-08
15:57
[d5d8e0508a] part of check-in [e7713d6300] Add cookies property to OFHTTP{Request,Response} (check-in: [e7713d6300] user: js, branch: trunk, size: 6716) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
[4edf404fac] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 7233) [annotate] [blame] [check-ins using] [diff]

00:41
[1e0b739883] part of check-in [2a27cf3000] Update copyright

While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 6675) [annotate] [blame] [check-ins using] [diff]

2015-11-29
11:43
[7383d317b4] part of check-in [48980f2297] Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). (check-in: [48980f2297] user: js, branch: trunk, size: 6671) [annotate] [blame] [check-ins using] [diff]

2015-05-23
11:21
[e92c282719] part of check-in [c8877fd278] OFHTTPRequest: Rename entity to body (check-in: [c8877fd278] user: js, branch: trunk, size: 7229) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[b4e7571ab2] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 7276) [annotate] [blame] [check-ins using] [diff]
2014-07-05
09:14
[1713156fde] part of check-in [5109a3e7e4] OFHTTPRequest: Add -[setEntityFromString:] (check-in: [5109a3e7e4] user: js, branch: trunk, size: 7270) [annotate] [blame] [check-ins using] [diff]
2014-06-21
21:43
[fa66100730] part of check-in [13ee56edf3] Move all macros from OFObject.h to macros.h

This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. (check-in: [13ee56edf3] user: js, branch: trunk, size: 6776) [annotate] [blame] [check-ins using] [diff]

2014-04-14
00:45
[7522c047c2] part of check-in [9da9b2b64c] Coding style

No functional change intended. (check-in: [9da9b2b64c] user: js, branch: trunk, size: 6820) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[cd6a2290d9] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 6788) [annotate] [blame] [check-ins using] [diff]
2013-09-28
15:25
[703332cbc9] part of check-in [7be34d8c40] OFHTTP{Client,Server}: Handle all request methods. (check-in: [7be34d8c40] user: js, branch: trunk, size: 6782) [annotate] [blame] [check-ins using] [diff]
01:50
[e321453562] part of check-in [c76896d937] Improve HTTP request method handling. (check-in: [c76896d937] user: js, branch: trunk, size: 7154) [annotate] [blame] [check-ins using] [diff]
2013-08-15
17:40
[5824c67d6a] part of check-in [7efd17523d] OFHTTPRequest: Conform to OFCopying. (check-in: [7efd17523d] user: js, branch: trunk, size: 6166) [annotate] [blame] [check-ins using] [diff]
17:39
[ee350c6f2d] part of check-in [7cb70e45cf] OFHTTPRequest: Add -[isEqual:] and -[hash]. (check-in: [7cb70e45cf] user: js, branch: trunk, size: 5780) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[a21b81861e] part of check-in [3d16a30f41] Rework exceptions.

This mostly removes the argument for the class in which the exception
occurred. As backtraces were recently added for all platforms, the
passed class does not give any extra information on where the exception
occurred anymore.

This also removes a few other arguments which were not too helpful. In
the past, the idea was to pass as many arguments as possible so that it
is easier to find the origin of the exception. However, as backtraces
are a much better way to find the origin, those are not useful anymore
and just make the exception more cumbersome to use. The rule is now to
only pass arguments that might help in recovering from the exception or
provide information that is otherwise not easily accessible. (check-in: [3d16a30f41] user: js, branch: trunk, size: 4743) [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
[24712e6afd] part of check-in [c5ef582958] Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. (check-in: [c5ef582958] user: js, branch: trunk, size: 4821) [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
[67ed2116e0] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 4811) [annotate] [blame] [check-ins using] [diff]
2013-01-26
00:13
[69b973a377] part of check-in [bdf9c4d96b] Make OFHTTPRequestReply a stream.

This also implements chunked transfer encoding for OFHTTPServer and adds
a property for the protocol version to OFHTTPRequest(Reply).

Additionally, this makes it possible to add an async version of
OFHTTPClient. (check-in: [bdf9c4d96b] user: js, branch: trunk, size: 4804) [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
[ca52e82353] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 3239) [annotate] [blame] [check-ins using] [diff]
2012-12-26
20:55
[78847a2802] part of check-in [75f187cef5] OFHTTPRequestResult -> OFHTTPRequestReply.

The class also has its own file now. (check-in: [75f187cef5] user: js, branch: trunk, size: 3233) [annotate] [blame] [check-ins using] [diff]

2012-12-20
15:11
[d06c8c8136] part of check-in [4d636a1d00] OFHTTPRequestResult: Fix a missing release. (check-in: [4d636a1d00] user: js, branch: trunk, size: 4569) [annotate] [blame] [check-ins using] [diff]
2012-12-15
20:35
[617ad3d55d] part of check-in [b8d3e09eff] OFHTTPRequest: Add property remoteAddress. (check-in: [b8d3e09eff] user: js, branch: trunk, size: 4543) [annotate] [blame] [check-ins using] [diff]
19:44
[2b89bc9ca2] part of check-in [a7e0ceee3a] Get rid of a wrongful GCC warning. (check-in: [a7e0ceee3a] user: js, branch: trunk, size: 4326) [annotate] [blame] [check-ins using] [diff]
2012-12-14
01:46
[1a3fb9a7bd] part of check-in [c3d536d43c] Add -[description] for OFHTTPRequest(Result). (check-in: [c3d536d43c] user: js, branch: trunk, size: 4319) [annotate] [blame] [check-ins using] [diff]
01:42
[4a757213a5] part of check-in [fbb9df7439] Rename -[OFHTTPRequest postData] to POSTData. (check-in: [fbb9df7439] user: js, branch: trunk, size: 2678) [annotate] [blame] [check-ins using] [diff]
2012-12-11
12:12
[af5623a848] part of check-in [020cedb44b] Make creating OFHTTPRequestResults public. (check-in: [020cedb44b] user: js, branch: trunk, size: 2678) [annotate] [blame] [check-ins using] [diff]
2012-12-09
12:13
[3e1f9b1751] part of check-in [2b7a70e246] Split OFHTTPRequest into OFHTTP{Client,Request}. (check-in: [2b7a70e246] user: js, branch: trunk, size: 2460) [annotate] [blame] [check-ins using] [diff]
2012-12-06
16:20
[21c09ca66b] part of check-in [c64cb4c5f2] OFHTTPRequestDelegate: Method name improvement. (check-in: [c64cb4c5f2] user: js, branch: trunk, size: 12855) [annotate] [blame] [check-ins using] [diff]
2012-10-14
00:59
[2442ea8723] part of check-in [f38744df74] OF_INVALID_INDEX -> OF_NOT_FOUND. (check-in: [f38744df74] user: js, branch: trunk, size: 12851) [annotate] [blame] [check-ins using] [diff]
00:54
[997525c718] part of check-in [c9433ea60d] range.start -> range.location. (check-in: [c9433ea60d] user: js, branch: trunk, size: 12855) [annotate] [blame] [check-ins using] [diff]
2012-10-13
20:02
[bc400146e4] part of check-in [5209390938] indexOfFirstOccurrenceOfString -> rangeOfString. (check-in: [5209390938] user: js, branch: trunk, size: 12849) [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
[5b57ee93bc] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 12839) [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:20
[8854292a15] part of check-in [7261ba5bd1] More property cleanup. (check-in: [7261ba5bd1] user: js, branch: trunk, size: 12811) [annotate] [blame] [check-ins using] [diff]
11:05
[b8e1935f38] part of check-in [991ced5333] OFHTTPRequestFailedException: Naming consistency (check-in: [991ced5333] user: js, branch: trunk, size: 12839) [annotate] [blame] [check-ins using] [diff]
2012-09-29
10:51
[4435d73c99] part of check-in [294346482d] OFHTTPRequest: Force "Connection: close".

This should not be part of the headers dictionary as it would allow the
user to remove it, but the implementation requires it. (check-in: [294346482d] user: js, branch: trunk, size: 12839) [annotate] [blame] [check-ins using] [diff]

10:49
[cb00731d28] part of check-in [7a8056d3ed] OFHTTPRequest: Fix too early release.

The result was released before it was passed to the exception. (check-in: [7a8056d3ed] user: js, branch: trunk, size: 12820) [annotate] [blame] [check-ins using] [diff]

2012-09-26
20:11
[ad751773f4] part of check-in [fb064dae9a] Don't assume length == 0 means closed. (check-in: [fb064dae9a] user: js, branch: trunk, size: 12816) [annotate] [blame] [check-ins using] [diff]
2012-08-10
20:08
[c7bd138f6a] part of check-in [1255f3a11a] Directly use the runtime's autorelease pools.

This greatly improves performance, as it gets rid of the overhead of
OFAutoreleasePool. (check-in: [1255f3a11a] user: js, branch: trunk, size: 12782) [annotate] [blame] [check-ins using] [diff]

2012-07-31
11:27
[435afd59fe] part of check-in [7008aeed34] OFHTTPRequest: Use OFUnsupportedVersionException. (check-in: [7008aeed34] user: js, branch: trunk, size: 12701) [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
[222aca0da5] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 12425) [annotate] [blame] [check-ins using] [diff]
2012-06-07
12:03
[bba59f52c5] part of check-in [0d4059306a] Rework OFStream API. (check-in: [0d4059306a] user: js, branch: trunk, size: 12275) [annotate] [blame] [check-ins using] [diff]
2012-06-06
13:09
[456aec5d03] part of check-in [d5ddb2cb48] Rework OFDataArray API.

Also adds more checks. (check-in: [d5ddb2cb48] user: js, branch: trunk, size: 12261) [annotate] [blame] [check-ins using] [diff]

2012-03-21
17:51
[4b826a148e] part of check-in [3a983475bc] Always pass a char for copy to objc_setProperty(). (check-in: [3a983475bc] user: js, branch: trunk, size: 12253) [annotate] [blame] [check-ins using] [diff]
2012-03-14
15:47
[707c786975] part of check-in [8cf554bd32] gcc is stupid... (check-in: [8cf554bd32] user: js, branch: trunk, size: 12259) [annotate] [blame] [check-ins using] [diff]
2012-03-12
14:04
[d6e43a2de8] part of check-in [ffb4484d97] OFHTTPRequest: Add Connection: close to the request headers. (check-in: [ffb4484d97] user: js, branch: trunk, size: 12255) [annotate] [blame] [check-ins using] [diff]
12:58
[2f0fcffd8a] part of check-in [77b8ffc1e0] OFHTTPRequest: Always close the connection after we received everything. (check-in: [77b8ffc1e0] user: js, branch: trunk, size: 12226) [annotate] [blame] [check-ins using] [diff]
2012-03-08
18:04
[65e7fe1190] part of check-in [59a1fd63eb] OFHTTPRequest: Handle OFInvalidEncodingException due to incorrect reply. (check-in: [59a1fd63eb] user: js, branch: trunk, size: 11949) [annotate] [blame] [check-ins using] [diff]
16:30
[96bd1084f3] part of check-in [9dd8014c27] OFHTTPRequest: HTTP/1.1 introduces 307, handle it. (check-in: [9dd8014c27] user: js, branch: trunk, size: 11061) [annotate] [blame] [check-ins using] [diff]
2012-03-07
22:33
[b10e234803] part of check-in [326634c95d] Implement HTTP/1.1 in OFHTTPRequest. (check-in: [326634c95d] user: js, branch: trunk, size: 10989) [annotate] [blame] [check-ins using] [diff]
22:22
[d53d806d31] part of check-in [a5933a2224] Fix a missing (auto)release. (check-in: [a5933a2224] user: js, branch: 0.6, size: 9949) [annotate] [blame] [check-ins using] [diff]
2012-03-02
16:37
[4bbd6ecaac] part of check-in [152fac94a7] @finally { [pool release]; } is a bad idea when throwing exceptions.
The exception is released before it is ever caught.
(check-in: [152fac94a7] user: js, branch: 0.6, size: 9906) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[29dc6862f8] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 10182) [annotate] [blame] [check-ins using] [diff]
2011-12-13
15:01
[1e96eca6f0] part of check-in [b02b668f81] Add -[request:didCreateSocket:] to OFHTTPRequestDelegate. (check-in: [b02b668f81] user: js, branch: trunk, size: 10176) [annotate] [blame] [check-ins using] [diff]
2011-10-24
18:28
[58e168ad78] part of check-in [87cd99ff88] Don't retain delegates to prevent reference cycles. (check-in: [87cd99ff88] user: js, branch: trunk, size: 10035) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[66f489833f] part of check-in [e1e7ffa903] Exceptions are now autoreleased.

This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.

So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (check-in: [e1e7ffa903] user: js, branch: trunk, size: 10086) [annotate] [blame] [check-ins using] [diff]

2011-09-15
11:01
[7c931c50fb] part of check-in [7f93f420b5] Specify the encoding for HTTP POST request data. (check-in: [7f93f420b5] user: js, branch: trunk, size: 10041) [annotate] [blame] [check-ins using] [diff]
2011-09-12
19:57
[cc46fb2dcd] part of check-in [e6fd39d11e] Rename -[cString] to -[UTF8String]. (check-in: [e6fd39d11e] user: js, branch: trunk, size: 10013) [annotate] [blame] [check-ins using] [diff]
2011-08-07
16:57
[3269a913de] part of check-in [927dbf6e7d] Add -[makeImmutable] to all mutable classes and use it. (check-in: [927dbf6e7d] user: js, branch: trunk, size: 9995) [annotate] [blame] [check-ins using] [diff]
2011-08-04
16:48
[205f214213] part of check-in [f977192a23] Get rid of -[*FromIndex:toIndex:]. (check-in: [f977192a23] user: js, branch: trunk, size: 10220) [annotate] [blame] [check-ins using] [diff]
2011-06-06
16:05
[739e92f9e0] part of check-in [265ebf1d85] Add missing imports to make gcc from trunk happy. (check-in: [265ebf1d85] user: js, branch: 0.5, size: 7922) [annotate] [blame] [check-ins using] [diff]
2011-06-05
18:53
[6cdf31afd0] part of check-in [1940d72ec7] Rename -[connetToHost:onPort:] to -[connectToHost:port:]. (check-in: [1940d72ec7] user: js, branch: trunk, size: 10219) [annotate] [blame] [check-ins using] [diff]
2011-05-21
18:05
[bfdcb9668e] part of check-in [35fb680226] Make use of isalnum() safe in case isalnum() is a lookup table.
Fixes build with Clang on NetBSD.
(check-in: [35fb680226] user: js, branch: trunk, size: 10219) [annotate] [blame] [check-ins using] [diff]
2011-04-30
15:26
[1fb93fc8c1] part of check-in [5854471001] Include the complete result in an OFHTTPRequestFailedException. (check-in: [5854471001] user: js, branch: trunk, size: 10213) [annotate] [blame] [check-ins using] [diff]
2011-04-28
18:44
[8d29aa8502] part of check-in [9575887d67] Optimize sending of headers in OFHTTPRequest. (check-in: [9575887d67] user: js, branch: trunk, size: 9985) [annotate] [blame] [check-ins using] [diff]
2011-04-25
11:35
[4f74296a47] part of check-in [12617ef944] Add +[OFDataArray dataArray] with a default item size of 1. (check-in: [12617ef944] user: js, branch: trunk, size: 9882) [annotate] [blame] [check-ins using] [diff]
2011-04-22
20:19
[908217ca1f] part of check-in [e76a7f52c1] More style improvements. (check-in: [e76a7f52c1] user: js, branch: trunk, size: 9897) [annotate] [blame] [check-ins using] [diff]
15:00
[97fcaf53fd] part of check-in [838246b066] OFHTTPRequest: Fix missing release of delegate. (check-in: [838246b066] user: js, branch: trunk, size: 9813) [annotate] [blame] [check-ins using] [diff]
14:56
[b21eb615c3] part of check-in [7f52d7f931] OFHTTPRequest: Normalize server header keys. (check-in: [7f52d7f931] user: js, branch: trunk, size: 9788) [annotate] [blame] [check-ins using] [diff]
14:35
[0e781dce42] part of check-in [1cc6f3659f] OFHTTPRequest: Make it possible to not store the data in an OFDataArray.

This way, it's possible to do downloads without keeping the whole file
in memory. (check-in: [1cc6f3659f] user: js, branch: trunk, size: 9433) [annotate] [blame] [check-ins using] [diff]

14:13
[f1713b1a20] part of check-in [9ed387bacb] Add OFHTTPRequestDelegate.
This allows status updates etc.
(check-in: [9ed387bacb] user: js, branch: trunk, size: 9190) [annotate] [blame] [check-ins using] [diff]
2011-04-10
12:18
[c8b35b7eac] part of check-in [548596813b] Apple GCC 4.0.1 thinks this variable might be uninitialized.
It can't, but let's make GCC happy.
(check-in: [548596813b] user: js, branch: 0.5, size: 7898) [annotate] [blame] [check-ins using] [diff]
2011-03-30
00:36
[5637b3f014] part of check-in [46881c3773] OFHTTPRequest: Disallow redirects from HTTPS to HTTP by default.
Still works when setting redirectsFromHTTPSToHTTPAllowed.
(check-in: [46881c3773] user: js, branch: trunk, size: 7891) [annotate] [blame] [check-ins using] [diff]
2011-03-29
17:51
[43e2c90ca2] part of check-in [bfcd3875fe] Add +[requestWithURL:] to OFHTTPRequest. (check-in: [bfcd3875fe] user: js, branch: trunk, size: 7575) [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
[52aa44a3ac] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 7334) [annotate] [blame] [check-ins using] [diff]
2011-03-22
00:55
[e7e3c34220] part of check-in [6d4dfb5bc7] Add -Wshorten-64-to-32. (check-in: [6d4dfb5bc7] user: js, branch: trunk, size: 7160) [annotate] [blame] [check-ins using] [diff]
2011-03-11
13:02
[1e129050da] part of check-in [2c72efb4e7] Make it easier to generate getters and setters. (check-in: [2c72efb4e7] user: js, branch: trunk, size: 7157) [annotate] [blame] [check-ins using] [diff]
2011-02-27
00:35
[498ef03a59] part of check-in [53213f1d41] Rename -[result] to -[perform] in OFHTTPRequest. (check-in: [53213f1d41] user: js, branch: trunk, size: 7268) [annotate] [blame] [check-ins using] [diff]
00:09
[f906f98e49] part of check-in [3d041cd4bf] OFURL: Include the / in the path for http(s). (check-in: [3d041cd4bf] user: js, branch: trunk, size: 7264) [annotate] [blame] [check-ins using] [diff]
2011-02-26
19:40
[238deadfe5] part of check-in [06f539766f] Use class swizzling as an optimization. (check-in: [06f539766f] user: js, branch: trunk, size: 7257) [annotate] [blame] [check-ins using] [diff]
2011-02-25
16:05
[a6525bb066] part of check-in [7b6a706687] OFHTTPRequest: Send a proper request in case path is nil. (check-in: [7b6a706687] user: js, branch: trunk, size: 7002) [annotate] [blame] [check-ins using] [diff]
15:22
[063245d810] part of check-in [70e1297f87] Fix a stupid bug in OFHTTPRequest. (check-in: [70e1297f87] user: js, branch: trunk, size: 6965) [annotate] [blame] [check-ins using] [diff]
12:14
[be1d7818d7] part of check-in [9e647a2ddd] OFHTTPRequest: Check Content-Length if present to check for truncation. (check-in: [9e647a2ddd] user: js, branch: trunk, size: 6970) [annotate] [blame] [check-ins using] [diff]
12:02
[af54b95e34] part of check-in [73c723bf39] OFHTTPRequest: Work around a bug in lighttpd with HTTPS. (check-in: [73c723bf39] user: js, branch: trunk, size: 6635) [annotate] [blame] [check-ins using] [diff]
2011-02-24
18:27
[5c79012c43] part of check-in [c64d88f50f] Make it possible to specify a TLS socket class for OFHTTPRequest.

This way, OFHTTPRequest will support HTTPS using a third party TLS
library. (check-in: [c64d88f50f] user: js, branch: trunk, size: 6401) [annotate] [blame] [check-ins using] [diff]

2011-02-10
17:19
[a21896a236] part of check-in [a3e03981ea] Use ports instead of services in OFTCPSocket. (check-in: [a3e03981ea] user: js, branch: trunk, size: 6044) [annotate] [blame] [check-ins using] [diff]
2011-02-09
22:12
[ef4afd4934] part of check-in [a5ab6bf63b] Add -Wwrite-strings. (check-in: [a5ab6bf63b] user: js, branch: trunk, size: 6079) [annotate] [blame] [check-ins using] [diff]
16:16
Added: [38ccb7c9e6] part of check-in [3beecbace3] Add OFHTTPRequest class. (check-in: [3beecbace3] user: js, branch: trunk, size: 6073) [annotate] [blame] [check-ins using]