ObjFW  History of src/resolver.m of 0b07c8fcfaffe8b0

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

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
OFDNSResolver: Improve error reporting file: [aa220e27b3] check-in: [647ec47eda] user: js, branch: trunk, size: 7178 [annotate] [blame] [check-ins using] [diff]
2018-07-28
20:21
Add of_socket_address_ip_string()

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

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

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

2018-01-03
19:49
Update copyright notice file: [7ddc4e62c4] check-in: [7e5c81e186] user: js, branch: trunk, size: 8766 [annotate] [blame] [check-ins using] [diff]
2017-05-21
20:03
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. file: [9669c4a7c7] check-in: [c658e97994] user: js, branch: trunk, size: 8743 [annotate] [blame] [check-ins using] [diff]

2017-05-17
00:13
Add in_addr_t for MorphOS file: [a07fe0ff30] check-in: [c7a45d0140] user: js, branch: trunk, size: 8709 [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
Small code style change

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

2017-04-02
01:06
Add OF_CONSTRUCTOR() / OF_DESTRUCTOR() file: [e5254d8f80] check-in: [d07c56a8bb] user: js, branch: trunk, size: 8687 [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
Update copyright

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

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-10-24
20:53
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. file: [1cedbc2973] check-in: [952af5f0aa] user: js, branch: trunk, size: 8716 [annotate] [blame] [check-ins using] [diff]

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

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

11:11
Special cases for the Wii's weird network stack

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

2015-10-01
20:45
Minor cosmetic changes file: [995660e003] check-in: [cd62cbdac5] user: js, branch: trunk, size: 8617 [annotate] [blame] [check-ins using] [diff]
2015-02-16
08:39
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. file: [32d271bf6a] check-in: [62e2de30b9] user: js, branch: trunk, size: 8618 [annotate] [blame] [check-ins using] [diff]

2015-02-01
14:42
of_resolve_host(): Place inet_addr() inside mutex file: [65cb318889] check-in: [2e176bc500] user: js, branch: trunk, size: 8460 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [5a537c9df8] check-in: [cfd374b906] user: js, branch: trunk, size: 8413 [annotate] [blame] [check-ins using] [diff]
2014-05-14
20:28
Always use __foo__ instead of foo for attributes file: [444e71a5a9] check-in: [e35b10115e] user: js, branch: trunk, size: 8407 [annotate] [blame] [check-ins using] [diff]
2014-04-26
00:40
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. file: [f9485d971c] check-in: [4e59d2692f] user: js, branch: trunk, size: 8403 [annotate] [blame] [check-ins using] [diff]

2014-03-04
23:53
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. file: [d1d2c810b6] check-in: [898f8c7072] user: js, branch: trunk, size: 8392 [annotate] [blame] [check-ins using] [diff]

2014-02-27
22:40
Allow thread-unsafe getaddrinfo() with locks

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

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

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

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

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