Doc [Stdio]: Document some more constants.
Documentation [Stdio]: Document low-level classes.
Stdio.UDP: Return the top-level object from dup().
Stdio.UDP: Added `_fd().
Stdio: query_mtu() is now guarded by IP_MTU. IP_MTU seems to be Linux-specific, and I haven't been able to find corresponding code for other OSes. Fixes build failures on multiple platforms.
Stdio.UDP: Added dup().
Stdio.UDP: Added support for write callbacks.
Stdio.UDP: Support the default destination in send().
Stdio.UDP: Fixed typo in previous commit. Fixes adjustment for IPv6.
Stdio.UDP: Adjust query_mtu() to account for headers.
Stdio: Added query_mtu() to Stdio.File and Stdio.UDP.
Documentation [Stdio.UDP]: Improved doc for some constants.
Merge commit '722771973bd' into patches/lyslyskom22891031 * commit '722771973bd': (6177 commits) Verify that callablep responses are aligned with reality. ...
Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap * commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits) Removed the old typechecker. ...
Merge remote-tracking branch 'origin/master' into new_utf8
Merge remote-tracking branch 'origin/8.1' into gobject-introspection
Merge branch 'patches/pike129' into 8.0 * patches/pike129: Stdio.UDP [NT]: Fix wait() failing with ENOTSOCK on NT.
Merge branch 'patches/pike129' into 8.1 * patches/pike129: Stdio.UDP [NT]: Fix wait() failing with ENOTSOCK on NT.
Avoid sending function name to check_all_args
Avoid sending function name to get_all_args
Simplify error messages.
Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63 * commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits) ...
Fix spelling of FALLTHRU directive The non-standard spelling "FALL_THROUGH" is not recognized by gcc 7.3. Also, the comment must not contain any other text, or be placed inside braces.
Stdio.udp [NT]: Fixed syntax error without ENOTSOCK.
Stdio.UDP()->query_fd: fix prototype The function takes no arguments and returns int, but was declared to take an int and return an object.
Stdio.UDP: Throw less errors in send(). Don't throw errors in send() for reasons that aren't permanent. Also fixed updating of the object errno in send().
Since NO_PIKE_SHORTHAND doesn't do much anymore, it isn't needed anywhere.
SIMPLE_TOO_FEW_ARGS_ERROR should be SIMPLE_WRONG_NUM_ARGS_ERROR since long ago. Replaced them and tighten up argument control in places.
SIMPLE_BAD_ARG_ERROR is only kept for compatibility, but we still had 500+ uses of it.
Don't clean up the stack in void functions.
dmalloc.h is included from global.h
sys/types.h is included from global.h
Removed Intel IA64 compiler specific DO_NOT_WARN.
Stdio.UDP: Increased paranoia in bind(). Fixes handling of close(2) failure.
Static:ified a lot of strings. This is more or less all instances of push_text(static data here). Left to do: make_shared_X_string(static data here). :)
Removed trailing spaces.
Don't use .u.integer on a string.
Actually, this is probably a better looking solution.
Possible FreeBSD IPv6 fix for SOCK_RAW.
Removed a few casts
Binary size: push_constant_text -> push_text when not time-critical. Especially in error handling, and code that does a lot of other string operations anyway the speed gain is not wort the 100+ bytes code size of each instance of push_constant_text This saves about 20K of code size (main pike binary), while not really changing the speed much. push_constant_text that seemed to be in at least pseudo-time-critical code was kept as they were. On a related note, push_constant_text(":") four times in a row creates four different string variables, for obvious reasons. Some of the remaining push_constant_text really should have a module/file local string variable, even though that is more bothersome to create. It might be nice to have this in .cmod files automatically.
Silenced some compiler warnings. One minor actual but very unimportant fix: The backend wakeup callback could fail to read the data from the wkeup pipe if it received a very well (for values of well) timed signal. However, the only effect would be that the backend is immediately woken up again the next time it is started, and clear the pipe buffer then instead.
Added set_fd and query_fd to Stdio.UDP.
Nettle: Fixed some broken Autodoc markup. Also fixes an Autodoc typo in udp.c.
Stdio.UDP: bind now has an additional no_reuseaddr parameter so that users can opt out of setting SO_REUSEADDR. It turns out that with newer Linux kernels at least, setting SO_REUSEADDR on UDP is not such a good idea. It probably never was very helpful even before the change in Linux. Setting it as a default is a bit cumbersome.
Avoid synonyms for IPV6 constants (not found on OS X, and Linux declares them as obsolete).
Stdio.UDP: Support IPv6 multicast. enable_multicast() and set_multicast_ttl() now support IPv6. Also improves documentation for the multicast-related functions.
Stdio.UDP: Support IPv6 in {add,drop}_membership() FIXME: The second argument (interface address) is not supported yet.
Changed some identifiers from files to stdio.
files -> _Stdio with minimal changes.
Merge remote-tracking branch 'origin/8.0' into string_alloc Conflicts: src/stralloc.c
memset is C89 and 4.3BSD
More consistent use of error macros.
Consistent formatting of function name parameter to get_all_args
Merge branch '8.0' into gobject-introspection
Merge remote-tracking branch 'origin/7.9' into pdf
Merge remote-tracking branch 'origin/7.9' into ba