ObjFW  History of src/resolver.m of 696bc0d8907b20fd

History of the file that is called src/resolver.m at check-in 696bc0d8907b20fd

2018-10-07
02:06
Deleted: Remove resolver.m

Instead, OFDNSResolver is used for everything now. (check-in: [6e9ee122eb] user: js, branch: trunk, size: 0)

2018-08-04
23:43
[aa220e27b3] part of check-in [647ec47eda] OFDNSResolver: Improve error reporting (check-in: [647ec47eda] user: js, branch: trunk, size: 7178) [annotate] [blame] [check-ins using] [diff]
2018-07-28
20:21
[de3749afa6] part of check-in [8aeee6680a] Add of_socket_address_ip_string()

This replaces of_address_to_string_and_port(). (check-in: [8aeee6680a] user: js, branch: trunk, size: 6815) [annotate] [blame] [check-ins using] [diff]

2018-04-22
17:48
[444cb9ff29] part of check-in [0b07c8fcfa] Make ObjFW compile for AmigaOS 3 (check-in: [0b07c8fcfa] user: js, branch: trunk, size: 8783) [annotate] [blame] [check-ins using] [diff]
2018-03-10
19:41
[fa7a0544ce] part of check-in [cd9635897c] resolver.m: Cast h_addr_list to char **

On AmigaOS 4, this is __BYTE **, causing a warning without the cast. (check-in: [cd9635897c] user: js, branch: trunk, size: 8784) [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
[7ddc4e62c4] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 8766) [annotate] [blame] [check-ins using] [diff]
2017-05-21
20:03
[9669c4a7c7] part of check-in [c658e97994] Cast several socket-related arguments to void *

This is required to make it work on MorphOS with -noixemul, as socket
functions take UBYTE * arguments instead then, resulting in a warning
about signedness because char is signed. (check-in: [c658e97994] user: js, branch: trunk, size: 8743) [annotate] [blame] [check-ins using] [diff]

2017-05-17
00:13
[a07fe0ff30] part of check-in [c7a45d0140] Add in_addr_t for MorphOS (check-in: [c7a45d0140] user: js, branch: trunk, size: 8709) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[1e35fdb00e] 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: 8694) [annotate] [blame] [check-ins using] [diff]

2017-04-02
01:06
[e5254d8f80] part of check-in [d07c56a8bb] Add OF_CONSTRUCTOR() / OF_DESTRUCTOR() (check-in: [d07c56a8bb] user: js, branch: trunk, size: 8687) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[9302e3897c] 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: 8726) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
[e9337f9c0c] part of check-in [cec0f072f8] Update copyright

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

00:41
[72f38b4cde] part of check-in [2a27cf3000] Update copyright

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

2015-10-24
20:53
[1cedbc2973] part of check-in [952af5f0aa] OFSystemInfo.h: Use OF_X86 rather than OF_X86_ASM

The availability of the interface should not depend on whether inline
assembly is available or not, but rather on the CPU architecture.

In case no inline assembly is available, false is returned for
everything. (check-in: [952af5f0aa] user: js, branch: trunk, size: 8716) [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
[b2c14c203d] part of check-in [1ba08eebc5] Add platform.h & make platform defines consistent (check-in: [1ba08eebc5] user: js, branch: trunk, size: 8715) [annotate] [blame] [check-ins using] [diff]
2015-10-04
11:12
[0dc8fe2ab1] part of check-in [3f87c28a33] Special cases for the Wii's weird network stack

This fixes the tests on Wii. (check-in: [3f87c28a33] user: js, branch: 0.8, size: 8718) [annotate] [blame] [check-ins using] [diff]

11:11
[fe41dbfdaa] part of check-in [4cecf82254] Special cases for the Wii's weird network stack

This fixes the tests on Wii. (check-in: [4cecf82254] user: js, branch: trunk, size: 8717) [annotate] [blame] [check-ins using] [diff]

2015-10-01
20:45
[995660e003] part of check-in [cd62cbdac5] Minor cosmetic changes (check-in: [cd62cbdac5] user: js, branch: trunk, size: 8617) [annotate] [blame] [check-ins using] [diff]
2015-02-16
08:39
[32d271bf6a] part of check-in [62e2de30b9] Explicitly pass errno to exceptions

The old behaviour where the exception would access errno directly on
creation of the exception was very fragile. The two main problems with
it were that sometimes it would pick up an errno even though none had
been set and in other cases that when the exception was created errno
had already been overridden.

This also greatly increases errno handling on Win32, especially in
conjunction with sockets. It can still be improved further, though. (check-in: [62e2de30b9] user: js, branch: trunk, size: 8618) [annotate] [blame] [check-ins using] [diff]

2015-02-01
14:42
[65cb318889] part of check-in [2e176bc500] of_resolve_host(): Place inet_addr() inside mutex (check-in: [2e176bc500] user: js, branch: trunk, size: 8460) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[5a537c9df8] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 8413) [annotate] [blame] [check-ins using] [diff]
2014-05-14
20:28
[444e71a5a9] part of check-in [e35b10115e] Always use __foo__ instead of foo for attributes (check-in: [e35b10115e] user: js, branch: trunk, size: 8407) [annotate] [blame] [check-ins using] [diff]
2014-04-26
00:40
[f9485d971c] part of check-in [4e59d2692f] Fix a few issues on LLP64 and Win64

LLP64 was mostly fast enumeration using an unsigned long for the state,
which can't store a pointer or a size_t on LLP64. This is now solved by
either throwing an OFOutOfRangeException if the value of the size_t is
bigger than ULONG_MAX or storing the pointer in the extra field (copied
using memcpy, as it's an array of unsigned long, which again would be
too small to store a pointer).

Win64 was mostly Microsoft not being able to decide whether a length is
a size_t, a DWORD, an int or an unsigned int (thus the different types
in places that seem to be almost the same). But since that would not be
confusing enough, a file descriptor is an int if it's for a file, but a
long long if it is for a socket. But of course, for ReadFile and friends
it's a DWORD instead of an int then. (check-in: [4e59d2692f] user: js, branch: trunk, size: 8403) [annotate] [blame] [check-ins using] [diff]

2014-03-04
23:53
[d1d2c810b6] part of check-in [898f8c7072] resolver.m: Fix locking

A lock for thread-unsafe getaddrinfo was missing and not all locks were
unlocked / all buffers free'd if an error occurred. (check-in: [898f8c7072] user: js, branch: trunk, size: 8392) [annotate] [blame] [check-ins using] [diff]

2014-02-27
22:40
[f6383b3c0c] part of check-in [fae85e954f] Allow thread-unsafe getaddrinfo() with locks

Before, getaddrinfo() would not be used at all if it is not thread-safe. (check-in: [fae85e954f] user: js, branch: trunk, size: 7805) [annotate] [blame] [check-ins using] [diff]

2014-02-12
03:17
[1037374b48] part of check-in [fab07a40ca] Fix compilation with mingw32 (check-in: [fab07a40ca] user: js, branch: trunk, size: 7506) [annotate] [blame] [check-ins using] [diff]
2014-01-31
13:07
[028e90eddf] part of check-in [60cb25ab50] Minor fixes (missing ifdefs, etc.) (check-in: [60cb25ab50] user: js, branch: trunk, size: 7477) [annotate] [blame] [check-ins using] [diff]
2014-01-30
12:26
[5111ebd364] part of check-in [fb590316ba] Rename +[UDPSocket hostForAddress:port:]

It is now called +[getHost:andPort:forAddress:]. This makes it much
clearer from the selector alone what it actually does. (check-in: [fb590316ba] user: js, branch: trunk, size: 7491) [annotate] [blame] [check-ins using] [diff]

2014-01-29
09:54
[03983c4b06] part of check-in [dfd8e14567] resolver.h: Rename private to private_ for C++ (check-in: [dfd8e14567] user: js, branch: trunk, size: 7393) [annotate] [blame] [check-ins using] [diff]
2014-01-27
12:34
[de483104d4] part of check-in [44c595058b] of_address_to_string: Add a way to get the port (check-in: [44c595058b] user: js, branch: trunk, size: 7422) [annotate] [blame] [check-ins using] [diff]
2014-01-26
22:38
Added: [cc5718b725] part of check-in [49b1989b63] Move resolving functionality to resolver.m

This is in preparation for UDP sockets, so that they can share the
resolving functionality with TCP sockets. (check-in: [49b1989b63] user: js, branch: trunk, size: 6919) [annotate] [blame] [check-ins using]