Branch: Tag:

2021-07-26

2021-07-26 07:01:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Stdio]: Document some more constants.

2020-05-13

2020-05-13 13:27:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio]: Document low-level classes.

2020-05-09

2020-05-09 12:20:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Return the top-level object from dup().

2020-05-08

2020-05-08 14:58:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Added `_fd().

2020-05-01

2020-05-01 12:12:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2020-04-28

2020-04-28 09:54:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Added dup().

2020-04-27

2020-04-27 16:42:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Added support for write callbacks.

2020-04-26

2020-04-26 13:37:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Support the default destination in send().

2020-04-25

2020-04-25 13:46:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Fixed typo in previous commit.

Fixes adjustment for IPv6.

2020-04-25 13:41:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Adjust query_mtu() to account for headers.

2020-04-24

2020-04-24 15:30:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Added query_mtu() to Stdio.File and Stdio.UDP.

2020-04-17

2020-04-17 18:28:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio.UDP]: Improved doc for some constants.

2019-03-19

2019-03-19 12:33:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '722771973bd' into patches/lyslyskom22891031

* commit '722771973bd': (6177 commits)
Verify that callablep responses are aligned with reality.
...

2019-03-14

2019-03-14 10:39:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap

* commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits)
Removed the old typechecker.
...

2018-11-04

2018-11-04 16:11:11 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

2018-09-13

2018-09-13 13:46:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike129' into 8.0

* patches/pike129:
Stdio.UDP [NT]: Fix wait() failing with ENOTSOCK on NT.

2018-09-13 13:03:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike129' into 8.1

* patches/pike129:
Stdio.UDP [NT]: Fix wait() failing with ENOTSOCK on NT.

2018-08-05

2018-08-05 14:46:11 by Martin Nilsson <nilsson@fastmail.com>

Avoid sending function name to check_all_args

2018-08-05 12:44:17 by Martin Nilsson <nilsson@fastmail.com>

Avoid sending function name to get_all_args

2018-02-22

2018-02-22 17:56:53 by Martin Nilsson <nilsson@fastmail.com>

Simplify error messages.

2018-02-15

2018-02-15 15:54:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63

* commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits)
...

2018-02-12

2018-02-12 21:49:35 by Marcus Comstedt <marcus@mc.pp.se>

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.

2016-11-05

2016-11-05 14:20:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.udp [NT]: Fixed syntax error without ENOTSOCK.

2016-09-08

2016-09-08 11:23:35 by Per Cederqvist <cederp@opera.com>

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.

2016-07-20

2016-07-20 07:51:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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().

2016-01-29

2016-01-29 23:41:58 by Martin Nilsson <nilsson@fastmail.com>

Since NO_PIKE_SHORTHAND doesn't do much anymore, it isn't needed anywhere.

2016-01-26

2016-01-26 21:08:15 by Martin Nilsson <nilsson@fastmail.com>

SIMPLE_TOO_FEW_ARGS_ERROR should be SIMPLE_WRONG_NUM_ARGS_ERROR since long ago. Replaced them and tighten up argument control in places.

2016-01-26 19:38:42 by Martin Nilsson <nilsson@fastmail.com>

SIMPLE_BAD_ARG_ERROR is only kept for compatibility, but we still had 500+ uses of it.

2015-11-16

2015-11-16 00:44:43 by Martin Nilsson <nilsson@fastmail.com>

Don't clean up the stack in void functions.

2015-10-18

2015-10-18 01:39:52 by Martin Nilsson <nilsson@fastmail.com>

dmalloc.h is included from global.h

2015-10-18 01:08:46 by Martin Nilsson <nilsson@fastmail.com>

sys/types.h is included from global.h

2015-10-14

2015-10-14 19:41:28 by Martin Nilsson <nilsson@fastmail.com>

Removed Intel IA64 compiler specific DO_NOT_WARN.

2015-10-13

2015-10-13 14:08:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Increased paranoia in bind().

Fixes handling of close(2) failure.

2015-10-13 14:05:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Increased paranoia in bind().

Fixes handling of close(2) failure.

2015-08-22

2015-08-22 18:35:10 by Per Hedbor <ph@opera.com>

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). :)

2015-08-18

2015-08-18 18:07:49 by Per Hedbor <ph@opera.com>

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). :)

2015-05-25

2015-05-25 15:33:02 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-03-16

2015-03-16 15:51:23 by Martin Nilsson <nilsson@opera.com>

Don't use .u.integer on a string.

2015-03-16 15:02:48 by Martin Nilsson <nilsson@opera.com>

Actually, this is probably a better looking solution.

2015-03-16 15:00:07 by Martin Nilsson <nilsson@opera.com>

Possible FreeBSD IPv6 fix for SOCK_RAW.

2014-12-04

2014-12-04 19:26:30 by Per Hedbor <ph@opera.com>

Removed a few casts

2014-12-04 19:26:26 by Per Hedbor <ph@opera.com>

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.

2014-12-04 19:25:23 by Per Hedbor <ph@opera.com>

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.

2014-12-04 19:24:53 by Per Hedbor <ph@opera.com>

Added set_fd and query_fd to Stdio.UDP.

2014-12-04 19:24:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Fixed some broken Autodoc markup.

Also fixes an Autodoc typo in udp.c.

2014-12-04 19:24:05 by Tobias S. Josefowitz <tobij@tobij.de>

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.

2014-12-04 19:23:51 by Jonas Walldén <jonasw@roxen.com>

Avoid synonyms for IPV6 constants (not found on OS X, and Linux declares them as obsolete).

2014-12-04 19:23:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Support IPv6 multicast.

enable_multicast() and set_multicast_ttl() now support IPv6.

Also improves documentation for the multicast-related functions.

2014-12-04 19:23:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Support IPv6 in {add,drop}_membership()

FIXME: The second argument (interface address) is not supported yet.

2014-12-04 19:23:37 by Martin Nilsson <nilsson@opera.com>

Changed some identifiers from files to stdio.

2014-12-04 19:23:37 by Martin Nilsson <nilsson@opera.com>

files -> _Stdio with minimal changes.

2014-09-04

2014-09-04 15:57:43 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/8.0' into string_alloc

Conflicts:
src/stralloc.c

2014-09-03

2014-09-03 17:53:37 by Martin Nilsson <nilsson@opera.com>

memset is C89 and 4.3BSD

2014-08-25

2014-08-25 18:29:35 by Martin Nilsson <nilsson@opera.com>

More consistent use of error macros.

2014-08-25 16:31:51 by Martin Nilsson <nilsson@opera.com>

Consistent formatting of function name parameter to get_all_args

2014-05-26

2014-05-26 15:31:21 by Per Hedbor <ph@opera.com>

Removed a few casts

2014-05-22

2014-05-22 16:49:17 by Per Hedbor <ph@opera.com>

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.

2014-02-25

2014-02-25 14:31:53 by Per Hedbor <ph@opera.com>

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.

2014-01-05

2014-01-05 15:14:13 by Marcus Comstedt <marcus@mc.pp.se>

Merge branch '8.0' into gobject-introspection

2013-12-06

2013-12-06 18:37:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Fixed some broken Autodoc markup.

Also fixes an Autodoc typo in udp.c.

2013-12-06 15:04:27 by Per Hedbor <ph@opera.com>

Added set_fd and query_fd to Stdio.UDP.

2013-09-03

2013-09-03 20:26:25 by Tobias S. Josefowitz <tobij@tobij.de>

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.

2013-07-06

2013-07-06 16:44:30 by Jonas Walldén <jonasw@roxen.com>

Avoid synonyms for IPV6 constants (not found on OS X, and Linux declares them as obsolete).

2013-07-04

2013-07-04 21:36:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Support IPv6 multicast.

enable_multicast() and set_multicast_ttl() now support IPv6.

Also improves documentation for the multicast-related functions.

2013-06-30

2013-06-30 11:25:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.UDP: Support IPv6 in {add,drop}_membership()

FIXME: The second argument (interface address) is not supported yet.

2013-06-21

2013-06-21 09:18:55 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/7.9' into pdf

2013-06-11

2013-06-11 23:50:34 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/7.9' into ba

2013-06-11 10:52:09 by Martin Nilsson <nilsson@opera.com>

Changed some identifiers from files to stdio.

2013-06-11 09:36:48 by Martin Nilsson <nilsson@opera.com>

files -> _Stdio with minimal changes.