Branch: Tag:

2020-05-11

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

Stdio: Convert file.c into a cmod.

2020-05-10

2020-05-10 13:29:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Removed some now obsolete code.

2020-05-06

2020-05-06 13:43:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Fd_ref: This class is now created via proxy_factory().

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-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-02

2020-04-02 11:08:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio.File]: Enabled some Autodoc markup.

2020-02-28

2020-02-28 11:44:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling' into 8.0

* grubba/pty-handling:
I/O [NT]: Fixed typo.
Stdio [NT]: Fixed compilation error when no struct termios.
Diagnostics [NT]: Fixed multiple issues with FD_DEBUG.
I/O [NT]: Enable some termios functions on NT.
I/O [NT]: Implemented TIOCGWINSZ and TIOCSWINSZ ioctls.
I/O: Make termios code dependent on presence of tcgetattr().
Stdio: Fix get_all_args() call to support Pike 8.0 and earlier.
Stdio.File: Added tcdrain() and tcsetsize().

2020-02-28 10:46:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
Diagnostics [NT]: Fixed multiple issues with FD_DEBUG.
I/O [NT]: Enable some termios functions on NT.
I/O [NT]: Implemented TIOCGWINSZ and TIOCSWINSZ ioctls.
I/O: Make termios code dependent on presence of tcgetattr().

2020-02-28 10:41:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O [NT]: Enable some termios functions on NT.

Fixes #10013.

2020-02-28 10:34:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O: Make termios code dependent on presence of tcgetattr().

Preparation for supporting some termios operations on NT.

Preparation for #10013.

2020-02-26

2020-02-26 16:02:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
Stdio.File: Added tcdrain() and tcsetsize().

2020-02-26 15:49:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Added tcdrain() and tcsetsize().

It is now possible to set the window size for a pty or other terminal.

Also adds documentation for them as well as tcflush() and tcsendbreak(),
and moves it and the documentation for tc{get,set}attr() from Stdio.File
to Stdio.Fd.

Also some fixes to make the code work on systems with <sys/termios.h>
but no <termios.h>, and preparation to make some of it work on NT.

Fixes some of #10013.

2020-02-17

2020-02-17 16:09:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling' into 8.0

* grubba/pty-handling:
I/O [NT]: Fixed typo.
Documentation [Stdio]: Added some more notes regarding PROP_TTY.

2020-02-17 16:08:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
I/O [NT]: Fixed typo.

2020-02-17 16:08:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O [NT]: Fixed typo.

2020-02-16

2020-02-16 18:26:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio]: Even more PROP_TTY doc.

2020-02-16 18:25:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
Documentation [Stdio]: Added some more notes regarding PROP_TTY.

2020-02-16 18:25:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio]: Added some more notes regarding PROP_TTY.

2020-02-14

2020-02-14 17:05:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling' into 8.0

* grubba/pty-handling:
I/O [NT]: Make Stdio.PROP_TTY indicate availability of ptys.

2020-02-14 17:05:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
I/O [NT]: Make Stdio.PROP_TTY indicate availability of ptys.

2020-02-14 17:02:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O [NT]: Make Stdio.PROP_TTY indicate availability of ptys.

Only provide Stdio.PROP_TTY on NT if OpenPseudoConsole() is available.

2020-02-14 13:56:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling' into 8.0

* grubba/pty-handling: (23 commits)
I/O [NT]: Fixed typo in FD_DEBUG code.
I/O [NT]: Updated note.
I/O [NT]: Added some notes about pty handling.
I/O [NT]: More pty handling fixes.
I/O [NT]: Keep track of processes using ConPTY slaves.
I/O [NT]: Do not attempt to read too much data from ptys.
I/O [NT]: Changed calling convention for close_pty().
I/O [NT]: debug_fd_openpty() now returns ENOTSUPP when no ConPTY.
I/O [NT]: Fixed some issues with debug_fd_openpty().
Process [NT]: Fix process creation.
I/O [NT]: More debug_fd_openpty() fixes:
I/O [NT]: Fixed multiple isses with debug_fd_openpty().
I/O [NT]: Adjusted preprocessor conditionals.
I/O [NT]: Fixed typo.
I/O [NT]: Fixed some issues with debug_fd_openpty().
Process [NT]: Fixed some typos in recent commits.
Process.create_process [NT]: First go at attempting to support ptys.
I/O [NT]: Make Pike_NT_* available to the rest of Pike.
Process[NT]: Switch to using STARTUPINFOEXW.
I/O [NT]: Added debug_fd_openpty().
...

2020-02-10

2020-02-10 11:14:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
Process.create_process [NT]: First go at attempting to support ptys.
I/O [NT]: Make Pike_NT_* available to the rest of Pike.
Process[NT]: Switch to using STARTUPINFOEXW.
I/O [NT]: Added debug_fd_openpty().
I/O [NT]: Reading from the console on NT may fail with ENOMEM.
I/O [NT]: Restructured debug_fd_read() somewhat.
I/O: Added fd_*-wrapper for openpty().

2020-02-07

2020-02-07 15:32:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O: Added fd_*-wrapper for openpty().

Preparation for supporting ptys on NT.

2020-02-07 12:39:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling' into 8.0

* grubba/pty-handling:
Process [NT]: Fixed typo in previous commit.
Process [NT]: Support UTF-8 in create_process().
I/O [NT]: Added low_dwim_utf8_to_utf16().
I/O [NT]: Fixed some typos.
I/O [NT]: Added dynamic lookup of symbols needed for pty handling.
I/O [NT]: Added fallbacks for some stuff needed for pty handling.
Build [Stdio]: Make systems without termios.h (ie NT) happy again.
Stdio: Make Coverity happy. [CID 1457890]
Stdio: Fixed some inverted tests in my_openpty().
Stdio: Removed extraneous and broken #include of <pty.h>.
Stdio: Added support for PROP_TTY to pipe().
Stdio: Some pty-handling cleanup.

2020-02-07 12:19:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/fdlib' into grubba/pty-handling-new

* grubba/fdlib: (55 commits)
I/O [NT]: Use read-write locking for fd_busy and fd_to_{socket,handle()}.
I/O [NT]: Fixed typo.
I/O [NT]: Avoid blocking on read from pipes with data.
Added some paranoia
System [NT]: Normalize the drive letter explicitly in normalize_path().
System [NT]: More normalize_path() fixes.
Configure [Solaris]: Fixed quoting level issue.
System [NT]: Fixed trailing slashes from normalize_path().
I/O [Solaris]: Fix getcwd() on Solaris.
I/O [NT]: Fixed a few warnings.
I/O [NT]: Moved bulk of normalize_path() to fdlib.
System [NT]: Update normalize_path() to use UTF8.
I/O [NT]: Get rid of DO_NOT_WARN().
I/O [NT]: Added some more FD_DEBUG.
I/O [NT]: Fixed typo in FD_DEBUG code.
Build [NT]: Always use or own implementation of _dosmaperr().
Build [NT]: Improved support for MSVC 2010 (aka MSC 1600).
I/O [NT]: Fixed deadlock.
I/O [NT]: Updated FD_DEBUG diagnostics.
I/O [NT]: Survive invalid UTF-16 surrogate pairs.
...

2020-02-07 12:17:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Stdio]: Make systems without termios.h (ie NT) happy again.

2020-02-07 12:17:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Make Coverity happy. [CID 1457890]

2020-02-07 12:17:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fixed some inverted tests in my_openpty().

2020-02-07 12:16:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Removed extraneous and broken #include of <pty.h>.

Fixes building on multiple architectures.

2020-02-07 12:15:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Added support for PROP_TTY to pipe().

2020-02-07 12:15:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Some pty-handling cleanup.

Add wrappers emulating missing libc functions.

2020-02-05

2020-02-05 11:02:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/fdlib' into grubba/pty-handling

* grubba/fdlib: (55 commits)
I/O [NT]: Use read-write locking for fd_busy and fd_to_{socket,handle()}.
I/O [NT]: Fixed typo.
I/O [NT]: Avoid blocking on read from pipes with data.
Added some paranoia
System [NT]: Normalize the drive letter explicitly in normalize_path().
System [NT]: More normalize_path() fixes.
Configure [Solaris]: Fixed quoting level issue.
System [NT]: Fixed trailing slashes from normalize_path().
I/O [Solaris]: Fix getcwd() on Solaris.
I/O [NT]: Fixed a few warnings.
I/O [NT]: Moved bulk of normalize_path() to fdlib.
System [NT]: Update normalize_path() to use UTF8.
I/O [NT]: Get rid of DO_NOT_WARN().
I/O [NT]: Added some more FD_DEBUG.
I/O [NT]: Fixed typo in FD_DEBUG code.
Build [NT]: Always use or own implementation of _dosmaperr().
Build [NT]: Improved support for MSVC 2010 (aka MSC 1600).
I/O [NT]: Fixed deadlock.
I/O [NT]: Updated FD_DEBUG diagnostics.
I/O [NT]: Survive invalid UTF-16 surrogate pairs.
...

2020-01-31

2020-01-31 11:50:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Stdio]: Make systems without termios.h (ie NT) happy again.

2020-01-31 11:49:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Stdio]: Make systems without termios.h (ie NT) happy again.

2020-01-22

2020-01-22 16:36:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
Stdio: Make Coverity happy. [CID 1457890]
Stdio: Fixed some inverted tests in my_openpty().

2020-01-22 09:37:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Make Coverity happy. [CID 1457890]

2020-01-22 09:36:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fixed some inverted tests in my_openpty().

2020-01-21

2020-01-21 11:58:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
Stdio: Removed extraneous and broken #include of <pty.h>.

2020-01-21 11:55:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Removed extraneous and broken #include of <pty.h>.

Fixes building on multiple architectures.

2020-01-20

2020-01-20 16:29:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
Stdio: Added support for PROP_TTY to pipe().
Stdio: Some pty-handling cleanup.

2020-01-20 16:24:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Added support for PROP_TTY to pipe().

2020-01-20 15:44:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Some pty-handling cleanup.

Add wrappers emulating missing libc functions.

2019-06-02

2019-06-02 14:53:24 by Stephen R. van den Berg <srb@cuci.nl>

Stdio.File: Support openat with a single argument.

Also fixes:
- Avoid a SEGV when supplied with a single argument.
- Synchronise low level implementation with pike level by setting the
default mask to 0777 everywhere.

2019-06-02 14:48:39 by Stephen R. van den Berg <srb@cuci.nl>

Stdio.File: Support openat with a single argument.

Also fixes:
- Avoid a SEGV when supplied with a single argument.
- Synchronise low level implementation with pike level by setting the
default mask to 0777 everywhere.

2019-05-04

2019-05-04 09:12:19 by Arne Goedeke <el@laramies.com>

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

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-18

2019-03-18 22:27:31 by Tobias S. Josefowitz <tobij@tobij.de>

Stdio: Silence compiler warnings

At least GCC 8.2 does not seem to accept integers standing in for void*
at any level with function pointers.

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

2019-02-06

2019-02-06 22:25:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio.File]: Fixed some markup issues.

2019-01-24

2019-01-24 15:05:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio.File]: Fixed some markup issues.

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-04 11:19:35 by Arne Goedeke <el@laramies.com>

Merge branch 'buffer_mode_proposal_wip'

2018-11-04 11:18:14 by Tobias S. Josefowitz <tobij@deuso.de>

Stdio.File: update errno correctly

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

Stdio.File()->read: add optional offset argument and documentation

2018-11-04 10:57:13 by Arne Goedeke <el@laramies.com>

fixup! Stdio.File()->read: add optional offset argument and documentation

2018-11-04 10:52:26 by Arne Goedeke <el@laramies.com>

Stdio.File()->read: add optional offset argument and documentation

2018-11-04 10:52:26 by Tobias S. Josefowitz <tobij@deuso.de>

Stdio.File: update errno correctly

2018-11-04 10:50:40 by Tobias S. Josefowitz <tobij@tobij.de>

Stdio.File()->read(): advance buffer if possible

This commit also removed Stdio.Buffer()->advance() because it
is a bad API. It allows one to 'validate' uninitialized memory
inside of Stdio.Buffer objects.

Instead, we now try to advance the write offset in Buffer objects
in Stdio.File()->read(), instead. This is done using a new internal
API which can be extended to advance other buffer types in the future.

2018-11-04 10:03:17 by Arne Goedeke <el@laramies.com>

Stdio.File()->read(): support reading into buffer objects

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-10-23

2018-10-23 09:10:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: get_dir("") is now an alias for get_dir(".").

This is a convenience when recursing with eg dirname().

Also removes a stray debug output.

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 10:33:29 by Martin Nilsson <nilsson@fastmail.com>

Simplify error messages and avoid sending function name to get_all_args

2018-05-19

2018-05-19 10:23:00 by Tobias S. Josefowitz <tobij@tobij.de>

Revert "Stdio: Fix debug code."

This actually triggers the Pike_fatal() from within the Stdio testsuite
now, so apparently this was not quite the fix you were hoping for.

This reverts commit 9271a86a1cd90b2dd969e2b929590695e244d4ab.

2018-05-19 09:59:57 by Tobias S. Josefowitz <tobij@tobij.de>

Revert "Stdio: Fix debug code."

This actually triggers the Pike_fatal() from within the Stdio testsuite
now, so apparently this was not quite the fix you were hoping for.

This reverts commit 9a18f566167bf18256ee58c66c524a0b9e18863a.

2018-05-17

2018-05-17 15:49:53 by Stephen R. van den Berg <srb@cuci.nl>

Stdio: Fix debug code.

2018-05-17 13:44:04 by Stephen R. van den Berg <srb@cuci.nl>

Stdio: Fix debug code.

2018-05-08

2018-05-08 09:36:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/fdlib' into 8.0

* grubba/fdlib: (36 commits)
I/O [NT]: Updated FD_DEBUG diagnostics.
I/O [NT]: Moved FD_SETSIZE definition to global.h.
I/O [NT]: Use new low-level functions from Process.
I/O [NT]: Added some assertions.
I/O [NT]: Added serialization of access to fd handles.
I/O [NT]: Use the new low-level functions.
I/O [NT]: Added some low-level fd handling functions.
Build [NT]: Fix typo of EACCES.
I/O [NT]: Document some internal data structures.
Stdio: Cleanup File()->truncate().
Configure: Moved tests for truncate64() and ftruncate64().
Stdio [NT]: Fixed warning on NT.
Stdio [NT]: Added detection constant __HAVE_UTF8_FS__.
I/O [NT]: Added note about the intent of fdlib.
Stdio [NT]: Update get_dir() to accept/return UTF8.
Stdio [NT]: Cleanup filesystem_stat().
Stdio [NT]: Clean up getcwd().
I/O [NT]: Added fd_get_current_dir_name().
Configure: Check for getwd() and get_current_dir_name().
Stdio [NT]: Clean up cd().
...

2018-04-29

2018-04-29 15:02:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Revert "Stdio.Fd: Avoid direct circular references."

This reverts commit e21858ee3fee0ca3e8bc2bb55f2814b8fc9d79d2.

This was quite a bit more complicated than expected...

2018-04-28

2018-04-28 14:01:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Fd: Avoid direct circular references.

2018-04-25

2018-04-25 09:24:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/fdlib' into 8.1

* grubba/fdlib:
Stdio: Cleanup File()->truncate().
Configure: Moved tests for truncate64() and ftruncate64().

2018-04-25 09:20:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Cleanup File()->truncate().

File()->truncate() now always uses fd_ftruncate().

2018-04-24

2018-04-24 14:45:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/fdlib' into 8.1

* grubba/fdlib: (25 commits)
Stdio [NT]: Fixed warning on NT.
Stdio [NT]: Added detection constant __HAVE_UTF8_FS__.
I/O [NT]: Added note about the intent of fdlib.
Stdio [NT]: Update get_dir() to accept/return UTF8.
Stdio [NT]: Cleanup filesystem_stat().
Stdio [NT]: Clean up getcwd().
I/O [NT]: Added fd_get_current_dir_name().
Configure: Check for getwd() and get_current_dir_name().
Stdio [NT]: Clean up cd().
I/O [NT]: Added fd_chdir().
Stdio [NT]: Clean up mv().
I/O [NT]: Added fd_rename().
I/O [NT]: Added facility for dynamic lookup of library symbols.
Stdio [NT]: Clean up mkdir().
I/O [NT]: Added fd_mkdir().
Configure: Moved API test of mkdir().
Stdio [NT]: Clean up rm().
I/O [NT]: Added fd_unlink().
I/O [NT]: Added fd_rmdir().
Stdio [NT]: Clean up file_truncate().
...

2018-04-24 14:33:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio [NT]: Fixed warning on NT.

2018-04-24 14:33:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio [NT]: Added detection constant __HAVE_UTF8_FS__.

This constant indicates that the filesystem APIs expect
paths and filenames in UTF-8.

2018-04-24 14:19:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio [NT]: Fixed warning on NT.

2018-04-24 14:19:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio [NT]: Added detection constant __HAVE_UTF8_FS__.

This constant indicates that the filesystem APIs expect
paths and filenames in UTF-8.

2018-03-04

2018-03-04 10:35:04 by Arne Goedeke <el@laramies.com>

Stdio.File()->read(): support reading into buffer objects

2018-02-26

2018-02-26 19:24:26 by Arne Goedeke <el@laramies.com>

Stdio.File()->read(): access THIS only once

This is purely for cleanup and to help the compiler a bit.

2018-02-25

2018-02-25 19:02:43 by Arne Goedeke <el@laramies.com>

Stdio.File()->write: some refactoring and cleanup

Moved shared code out of the different write variants.

2018-02-25 19:02:42 by Arne Goedeke <el@laramies.com>

Stdio.File()->write(): added support for buffer arguments

This new API works like this:

int write(Stdio.Buffer|System.Memory|String.Buffer|... buffer, void|int(0..) offset)

will try to write data from the buffer at the given offset and return
the number of bytes written.

2018-02-25 19:02:42 by Arne Goedeke <el@laramies.com>

Stdio.File()->write: add documentation for buffer variant

2018-02-16

2018-02-16 15:58:20 by Martin Nilsson <nilsson@fastmail.com>

SIMPLE_BAD_ARG_ERROR -> SIMPLE_ARG_TYPE_ERROR

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-03

2018-02-03 09:48:55 by Peter Bortas <bortas@gmail.com>

Merge branch '8.1' into peter/travis

2018-01-12

2018-01-12 12:42:47 by Stephen R. van den Berg <srb@cuci.nl>

Rip out final remains of OS2 and AmigaOS.

2018-01-11

2018-01-11 23:22:03 by Martin Nilsson <nilsson@fastmail.com>

Trim stack after create.

2017-09-12

2017-09-12 09:56:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Don't preallocate huge read buffers.

It is common for code to attempt to read huge (typically on
the order of 2GB) amounts of data from sources which are
expected to be much smaller. Don't fail the read() due to
there being no memory for the huge buffer.

Fixes multiple build failures.

2017-09-10

2017-09-10 21:03:22 by Arne Goedeke <el@laramies.com>

Stdio.File(): allow reading more than 2GB at once

* use size_t instead of int for the number of bytes to read
* use flags to control the read behavior
* in blocking mode the interpreter lock is only released and re-aquired
once per call

These changes apply both to read(2) and recvmsg(2).

2017-09-01

2017-09-01 12:10:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File(): close() fixes.

Unify low level calls close_fd() and close_fd_quietly() to reduce
code duplication.

Fix error handling in close_fd() and do_close_fd(). POSIX says that
fds are closed on all errors except EINTR, where it is unspecified.
Don't complain about close(2) failing with EBADF if it previously
failed with EINTR.

Ignore close(2) failing with ECONNRESET. This happens on eg FreeBSD
when there is still data pending to be sent and the peer has already
closed the connection.

Fix documentation for the return value of close().

Potential fix for testsuite failures on FreeBSD.

2017-08-08

2017-08-08 22:13:04 by Martin Nilsson <nilsson@fastmail.com>

Remove AIX 3.2 workarounds.

2017-08-06

2017-08-06 13:04:20 by Arne Goedeke <el@laramies.com>

Stdio.File(): allow reading more than 2GB at once

* use size_t instead of int for the number of bytes to read
* use flags to control the read behavior
* in blocking mode the interpreter lock is only released and re-aquired
once per call

These changes apply both to read(2) and recvmsg(2).

2017-07-11

2017-07-11 17:42:09 by Martin Nilsson <nilsson@fastmail.com>

Removed redundant exit code.

2017-06-17

2017-06-17 21:03:24 by Martin Nilsson <nilsson@fastmail.com>

Use fast_clone_object instead of low_clone+call_c_initializers

2017-04-24

2017-04-24 09:57:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fixed error handling in do_read() some more.

Read data should not be thrown away due to a later error...

Potential fix for Process.popen() returning zero in some circumstances.

2017-04-23

2017-04-23 08:02:57 by Arne Goedeke <el@laramies.com>

file_read: fixed signal handling

Release interpreter lock later and require it earlier to make sure that
signals are handled correctly.

2017-02-26

2017-02-26 10:45:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Avoid using readdir_r(3C).

readdir_r() has been marked as deprecated in current glibc, and
is redundant in all modern libc's, where readdir(3C) is thread
safe as long as the same DIR/dirfd is not used in several threads.

2017-01-25

2017-01-25 15:22:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Break out sprintf-related stuff from stralloc.h to sprintf.h.

Minor header file cleanup.

2017-01-21

2017-01-21 22:27:53 by Arne Goedeke <el@laramies.com>

byte_buffer: added flags to control growth

The way the buffer growth (exponential or not) can now be controlled by
setting flags. Additionally there is a flag to toggle between standard
realloc and mexec_realloc. This will be used to allocate space for
generating machine code.

2017-01-01

2017-01-01 17:51:41 by Arne Goedeke <el@laramies.com>

Stdio.File(): simplify do_recvmsg

do_recvmsg() had two code paths, one for big reads using dynamic buffer,
one for small reads which used a new string directly. Since we split
string headers and data, this split is not needed anymore. We create
pike strings from buffers directly without reallocation.

2017-01-01 17:51:41 by Arne Goedeke <el@laramies.com>

Stdio.File()->read: optimize buffer size

This change makes sure that the read buffer size will always exactly be
as big as the data we want to read. This usually saves one realloc().

2016-12-31

2016-12-31 17:12:23 by Arne Goedeke <el@laramies.com>

Replace dynamic_buffer API everywhere

This change should be purely cosmetic. It replaces the old
dynamic_buffer API by the corresponding byte_buffer API everywhere.
The wrapper definitions in dynamic_buffer.h will remain for now.

2016-12-31 17:12:22 by Arne Goedeke <el@laramies.com>

Stdio.File: simplified read()

2016-12-31 17:12:22 by Arne Goedeke <el@laramies.com>

dynamic_buffer: use new buffer internally

The API of dynamic_buffer is now a slim swapper around the new buffer
API. This changes many places where the dynamic_buffer internals were
directly used.

2016-12-30

2016-12-30 09:29:45 by Arne Goedeke <el@laramies.com>

Replace dynamic_buffer API everywhere

This change should be purely cosmetic. It replaces the old
dynamic_buffer API by the corresponding byte_buffer API everywhere.
The wrapper definitions in dynamic_buffer.h will remain for now.

2016-12-29

2016-12-29 15:02:35 by Arne Goedeke <el@laramies.com>

Stdio.File: simplified read()

2016-12-29 15:02:35 by Arne Goedeke <el@laramies.com>

dynamic_buffer: use new buffer internally

The API of dynamic_buffer is now a slim swapper around the new buffer
API. This changes many places where the dynamic_buffer internals were
directly used.

2016-12-05

2016-12-05 12:49:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Survive setsockopt(SO_REUSEPORT) failing with EINVAL.

The Linux emulation layer in MS Windows 10 behaves this way.

Fixes [LysLysKOM 21915643].

2016-12-04

2016-12-04 13:48:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Survive setsockopt(SO_REUSEPORT) failing with EINVAL.

The Linux emulation layer in MS Windows 10 behaves this way.

Fixes [LysLysKOM 21915643].

2016-11-10

2016-11-10 16:38:44 by Arne Goedeke <el@laramies.com>

Stdio.File: simplified read()

2016-11-08

2016-11-08 12:46:01 by Arne Goedeke <el@laramies.com>

dynamic_buffer: use new buffer internally

The API of dynamic_buffer is now a slim swapper around the new buffer
API. This changes many places where the dynamic_buffer internals were
directly used.

2016-09-15

2016-09-15 14:51:21 by Chris Angelico <rosuav@gmail.com>

Add a 'level' parameter to setsockopt(), and add more constants

2016-09-15 14:51:12 by Chris Angelico <rosuav@gmail.com>

Add set_nodelay() function to Stdio.File objects to control Nagling

2016-09-15 14:51:03 by Chris Angelico <rosuav@gmail.com>

Document the link between set_keepalive and setsockopt

2016-09-15 14:45:40 by Chris Angelico <rosuav@gmail.com>

Implement Stdio.File()->setsockopt()

2016-09-15 14:41:52 by Arne Goedeke <el@laramies.com>

Stdio: added getprotobyname()

2016-08-05

2016-08-05 09:03:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Added enums File{Mode,Property}Flags.

Also adds corresponding documentation.

Fixes some broken documentation references.

2016-04-08

2016-04-08 19:48:49 by Martin Nilsson <nilsson@fastmail.com>

Removed PTRDIFF_T_TO_LONG

2016-02-24

2016-02-24 15:08:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fixed support for second argument to set_buffer().

Fixes [CID 1353480].

2016-02-24 11:47:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fixed support for second argument to set_buffer().

Fixes [CID 1353480].

2016-02-12

2016-02-12 13:50:54 by Martin Nilsson <nilsson@fastmail.com>

Removed PTRDIFF_T_TO_LONG

2016-02-11

2016-02-11 20:04:06 by Martin Nilsson <nilsson@fastmail.com>

Everyone have INT64 in C99-land.

2016-01-30

2016-01-30 22:03:07 by Martin Nilsson <nilsson@fastmail.com>

Rewrite MAP_VARIABLE to PIKE_MAP_VARIABLE.

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 23:56:01 by Martin Nilsson <nilsson@fastmail.com>

Removed << on file object. Has been deprecated a while and not properly working always.

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-25

2015-11-25 13:43:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed quite a few warnings about unused arguments.

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 21:25:02 by Martin Nilsson <nilsson@fastmail.com>

Use the existing PTRDIFF_T_TO_LONG

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

Removed Intel IA64 compiler specific DO_NOT_WARN.

2015-09-27

2015-09-27 04:26:33 by Martin Nilsson <nilsson@fastmail.com>

Start using __builtin_unreachable

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-05-04

2015-05-04 04:39:06 by Chris Angelico <rosuav@gmail.com>

Add constants for IP Type Of Service settings

2015-05-04 04:29:07 by Chris Angelico <rosuav@gmail.com>

Add a 'level' parameter to setsockopt(), and add more constants

2015-05-04 03:53:03 by Chris Angelico <rosuav@gmail.com>

Implement Stdio.File()->setsockopt()

2015-05-04 03:53:03 by Chris Angelico <rosuav@gmail.com>

Document the link between set_keepalive and setsockopt

2015-05-04 03:53:03 by Chris Angelico <rosuav@gmail.com>

Add set_nodelay() function to Stdio.File objects to control Nagling

2015-03-16

2015-03-16 17:27:53 by Martin Nilsson <nilsson@opera.com>

Remove deprecated security system.

2014-12-04

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

Stdio.File: Improved documentation of write().

Restructured and more details about behaviour in nonblocking mode.

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

Removed a few casts

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

Fixed some misfirings from Pers script.

2014-12-04 19:26:28 by Arne Goedeke <el@laramies.com>

Stdio: use -Os for file.c with gcc

gcc -O3 generates extremely bloated code for functions in file.c, even
though it makes no sense to unroll the loop around open(2).

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:26:01 by Martin Nilsson <nilsson@opera.com>

memset takes void* as first argument, no casting needed.

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

Free takes void* and doesn't need any cast anymore.

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

mallocs nowdays return void*, so no need to case.

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

Stdio: Added File()->get_dir().

Added function for getting the directory contents relative to an open
file.

2014-12-04 19:25:25 by Arne Goedeke <el@laramies.com>

undefined variable in debug mode

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

The query_X_callback functions are never added as functions in the low level file

2014-12-04 19:25:09 by Arne Goedeke <el@laramies.com>

Stdio.File: signed integers don't overflow in C

checking for signed overflow using (r<<1) < r does not work. the purpose
of these checks is a mystery to me, though.

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

Stdio.File: Fix grantpt() on Solaris (and others?)

grantpt(3C) on Solaris is implemented as fork + exec of
"/usr/lib/pt_chmod". Unfortunately the libc function doesn't bother
clearing the FD_CLOEXEC flag before the exec, so the fd never got
to the helper binary, which caused grantpt(3C) to fail with EPERM.

2014-12-04 19:24:01 by Marcus Comstedt <marcus@mc.pp.se>

_Stdio: Don't use PIPE_CAPABILITIES if non-existing

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

Removed auto bignum checks.

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

Some tweaks that removes both _Stdio and files from the documentation.

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

Rewrite Locale.Charset to Charset

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

_Stdio: Fixed documentation to be more correct.

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

Doc fixes.

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

Move documentation to _Stdio.

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

files -> _Stdio with minimal changes.

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

Changed some identifiers from files to stdio.

2014-11-15

2014-11-15 13:42:52 by Stephen R. van den Berg <srb@cuci.nl>

Remove superfluous legacy compat support prior to 7.8.

2014-11-03

2014-11-03 10:12:25 by Martin Nilsson <nilsson@opera.com>

malloc -> calloc

2014-10-28

2014-10-28 16:51:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fix compilation issues on OSes without dirfd(3C).

Some operating systems (like eg Solaris 10) do not have dirfd(3C).
Fallback to indexing the DIR with dd_fd or d_fd to get the fd.

2014-10-28 16:48:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fix compilation issues on OSes without dirfd(3C).

Some operating systems (like eg Solaris 10) do not have dirfd(3C).
Fallback to indexing the DIR with dd_fd or d_fd to get the fd.

2014-10-19

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

Stdio.Fd: Fixed minor race in write().

There were some (uncommon) cases where the backend poll flags
weren't reset after a successful write.

2014-10-19 12:20:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Fd: Fixed minor race in write().

There were some (uncommon) cases where the backend poll flags
weren't reset after a successful write.

2014-10-05

2014-10-05 11:59:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: output_to() et al now support functions.

This reduces the need for proxy objects in higher level code
using Stdio.Buffer internally.

Also adds support for subtyped objects and multiple inheritance
of Stdio.Fd et al.

2014-10-05 11:24:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: output_to() et al now support functions.

This reduces the need for proxy objects in higher level code
using Stdio.Buffer internally.

Also adds support for subtyped objects and multiple inheritance
of Stdio.Fd et al.

2014-10-03

2014-10-03 16:16:13 by Per Hedbor <ph@opera.com>

Removed security system (on this branch)

2014-10-02

2014-10-02 16:36:41 by Per Hedbor <ph@opera.com>

Removed MAX_FD configure test

It only returns the current max anyway, which is usually
smaller than the max if you are running as root, and can
also be changed at any time at runtime.

Instead, use sysconf(_SC_OPEN_MAX) when available if needed, and as a
last resort a hardcoded value (on Windows), but as a secondary change
all uses except two was removed:

o Stdio.get_all_active_fd - On systems without /dev/fd and
/proc/self/fd.

o On NT, the size of FD_SET is now set to a hardcoded value (64k).

The rewrite of get_all_active_fd also speeds it up a lot. Not that it
is a frequently used function.

2014-10-02 13:24:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: More race fixes in connect() [bug 7293 (#7293)].

It seems the backend on Linux sometimes may trigger before the connect(2)
is done with POLLIN and a state where read(2) fails with ENOTCONN.

Reduce the race condition by inhibiting backend callbacks on the
fd during connect(2).

2014-10-01

2014-10-01 16:29:23 by Martin Nilsson <nilsson@opera.com>

Fix warnings

2014-10-01 14:38:48 by Martin Nilsson <nilsson@opera.com>

Stdio.IOBuffer -> Stdio.Buffer (part 2)

2014-10-01 13:51:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Fixed race condition in nonblocking connect().

Potential fix for [bug 7293 (#7293)].

2014-09-28

2014-09-28 19:11:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Fd: Map _errno.

Make it possible to set the errno for a Stdio.File from Pike code.

Also added some minimal documentation for the other mapped fields
in Stdio.Fd, as well as moving the documentation for the low-level
functions from Stdio.File to Stdio.Fd.

2014-09-27

2014-09-27 13:03:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Support UNDEFINED as the first argument to read().

2014-09-23

2014-09-23 16:04:59 by Arne Goedeke <el@laramies.com>

Stdio.File: removed notify()

This API has never been completed and does not work as advertised.
Also, dnotify has has been superseded by inotify in 2005 which is
supported as System.Inotify.

2014-09-23 10:54:37 by Per Hedbor <ph@opera.com>

Added more direct mapping to seek.

Also added SEEK_DATA and SEEK_HOLE support if they are supported by
the OS (solaris, freebsd, linux).

In order to keep compatibility the SEEK_<whatever> constants are
actually strings.

Deprecated the old seek( offset, multiplier, adder ) version of seek
(which was, according to the documentation, obsolete before year
2000).

2014-09-19

2014-09-19 17:18:23 by Martin Nilsson <nilsson@opera.com>

&x[0] -> x

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-04 14:31:05 by Martin Nilsson <nilsson@opera.com>

perror test is not used.

2014-09-03

2014-09-03 18:14:04 by Martin Nilsson <nilsson@opera.com>

memcpy is C89 and 4.3BSD

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

memset is C89 and 4.3BSD

2014-08-28

2014-08-28 16:52:34 by Chris Angelico <rosuav@gmail.com>

Add set_nodelay() function to Stdio.File objects to control Nagling

2014-08-28 16:46:46 by Chris Angelico <rosuav@gmail.com>

Document the link between set_keepalive and setsockopt

2014-08-28 16:44:12 by Chris Angelico <rosuav@gmail.com>

Implement Stdio.File()->setsockopt()

2014-08-28 13:03:26 by Chris Angelico <rosuav@gmail.com>

Add nodelay() function to Stdio.File objects to control Nagling

2014-08-28 12:03:12 by Per Hedbor <ph@opera.com>

Moved __builtin.IOBuffer to Stdio.IOBuffer (for now)

2014-08-26

2014-08-26 10:24:50 by Per Hedbor <ph@opera.com>

Fixed an issue with the connect argument parsing

2014-08-26 09:37:07 by Per Hedbor <ph@opera.com>

Added support for TCP_FASTOPEN (server and client)

The server support is always enabled if possible, on the client side
it is enabled if you pass an additional argument to connect (see the documentation).

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-07-12

2014-07-12 09:11:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Improved documentation of write().

Restructured and more details about behaviour in nonblocking mode.

2014-05-26

2014-05-26 16:37:00 by Martin Nilsson <nilsson@opera.com>

Fixed some misfirings from Pers script.

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

Removed a few casts

2014-05-23

2014-05-23 19:48:31 by Arne Goedeke <el@laramies.com>

Stdio: use -Os for file.c with gcc

gcc -O3 generates extremely bloated code for functions in file.c, even
though it makes no sense to unroll the loop around open(2).

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-05-12

2014-05-12 21:08:22 by Arne Goedeke <el@laramies.com>

Stdio: use -Os for file.c with gcc

gcc -O3 generates extremely bloated code for functions in file.c, even
though it makes no sense to unroll the loop around open(2).

2014-04-27

2014-04-27 21:18:05 by Martin Nilsson <nilsson@opera.com>

memset takes void* as first argument, no casting needed.

2014-04-27 20:37:42 by Martin Nilsson <nilsson@opera.com>

mallocs nowdays return void*, so no need to case.

2014-04-27 18:31:29 by Martin Nilsson <nilsson@opera.com>

Free takes void* and doesn't need any cast anymore.

2014-03-03

2014-03-03 19:47:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Added File()->get_dir().

Added function for getting the directory contents relative to an open
file.

2014-02-26

2014-02-26 12:41:33 by Per Hedbor <ph@opera.com>

Merge branch '8.0' into per/rdrnd

2014-02-26 10:47:23 by Arne Goedeke <el@laramies.com>

undefined variable in debug mode

2014-02-25

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

The query_X_callback functions are never added as functions in the low level file

2014-01-12

2014-01-12 02:07:06 by Arne Goedeke <el@laramies.com>

Stdio.File: signed integers don't overflow in C

checking for signed overflow using (r<<1) < r does not work. the purpose
of these checks is a mystery to me, though.

2014-01-05

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

Merge branch '8.0' into gobject-introspection

2013-11-13

2013-11-13 16:59:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Fix grantpt() on Solaris (and others?)

grantpt(3C) on Solaris is implemented as fork + exec of
"/usr/lib/pt_chmod". Unfortunately the libc function doesn't bother
clearing the FD_CLOEXEC flag before the exec, so the fd never got
to the helper binary, which caused grantpt(3C) to fail with EPERM.

2013-08-14

2013-08-14 09:24:50 by Marcus Comstedt <marcus@mc.pp.se>

_Stdio: Don't use PIPE_CAPABILITIES if non-existing

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-17

2013-06-17 21:40:00 by Martin Nilsson <nilsson@opera.com>

Removed auto bignum checks.

2013-06-17 17:14:35 by Martin Nilsson <nilsson@opera.com>

Some tweaks that removes both _Stdio and files from the documentation.

2013-06-17 14:15:28 by Martin Nilsson <nilsson@opera.com>

Rewrite Locale.Charset to Charset

2013-06-14

2013-06-14 15:32:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

_Stdio: Fixed documentation to be more correct.

2013-06-14 09:40:17 by Martin Nilsson <nilsson@opera.com>

Doc fixes.

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

Move documentation to _Stdio.

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.