Branch: Tag:

2023-01-26

2023-01-26 12:11:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Port: Add set_accept_callback().

2023-01-10

2023-01-10 09:49:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs [NT] [AIX]: Attempt to support dates before 1970-01-01T00:00:00.

gmtime(), localtime() and mktime() now attempt to support negative
timestamps on NT and AIX.

Fixes multiple testsuite failures.

2023-01-05

2023-01-05 11:04:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Add isatty().

2023-01-03

2023-01-03 09:58:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System.TM [NT]: Use string_builder_strftime().

We now use the same implementation of strftime() on all platforms.

Fixes issues with strftime() on NT not supporting eg %D, %e, %g, %G,
%r, %T, %u and %V.

Fixes testsuite failures on NT.

2022-12-21

2022-12-21 15:31:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.Tabular: Use Pike.DestructImmediate.

The parser gets confused and may end up in an infinite loop
if _checkpoint objects are not destructed when it expects
them to be.

2022-11-23

2022-11-23 12:10:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process [Doc]: Fix AutoDoc markup issue.

2022-11-20

2022-11-20 11:57:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.AutoDoc.PikeObjects.EnumConstant: Reduce code duplication.

2022-11-06

2022-11-06 10:33:06 by Peter Bortas <bortas@gmail.com>

Process.run: Fix documentation typo

2022-11-06 10:24:10 by Peter Bortas <bortas@gmail.com>

Process.run: Add example for redirecting output to stdout/stderr

2022-10-13

2022-10-13 09:02:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Iterators [Compat]: Add 8.0::{Array,Mapping,Multiset,String}.Iterator

This fixes compat for code that does stuff like

#pike 8.0
multiset l = (< "foo" >);
return Multiset.Iterator(l)->index(); // Return first element of l.

We assume that noone does inherit on Array.Iterator et al.

2022-10-10

2022-10-10 11:23:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Added InputStream et al.

These types can be used in places where files opened for reading
are accepted.

2022-10-07

2022-10-07 08:42:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

8.0::Stdio.FILE: Add missing symbol set_peek_file_before_read_callback().

Also mark it as optional and deprecated, and same for Stdio.File.

Move 8.0::Stdio.File to module.pmod to avoid conflict with
8.0::Stdio.FILE on case-insensitive filesystems.

Note that the symbol has been marked deprecated since Pike 7.8.

Fixes issues where eg Stdio.stdout wasn't compatible with 8.0::Stdio.File.

2022-09-28

2022-09-28 09:06:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Shuffler.Shuffle: The wrap callback may return zero.

2022-09-19

2022-09-19 10:46:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Fix some broken calls of predef::compile_string().

2022-09-15

2022-09-15 08:45:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Improved integer types for several math functions.

Improves the return types for predef::sqrt(), predef::min(),
predef::max(), predef::limit(), predef::abs() and predef::sgn()
when called with integer types.

2022-09-09

2022-09-09 10:03:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.AutoDoc: Improved support for array length information.

Fixes support for parsing and rendering of array types like
array(0..5:string).

2022-08-28

2022-08-28 20:28:30 by Martin Nilsson <nilsson@fastmail.com>

Parse new array type.

2022-08-28 17:01:54 by Peter Bortas <bortas@gmail.com>

Misc: Fix incorrect syntax in autodoc

2022-08-28 14:34:09 by Martin Nilsson <nilsson@fastmail.com>

Make ASN.1 secure_der_decode always catch decoding errors and return 0 instead. Make leading zero in integer encodings an error in secure mode.

2022-08-05

2022-08-05 10:39:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Iterators: Improve robustness of backward compatibility.

Move backward compat detection code from compiler to
predef::get_iterator(). Backward compatibility is now
handled by wrapping old iterators with CompatIterator.

2022-07-25

2022-07-25 08:34:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Readline]: Added an example of how to use.

2022-07-14

2022-07-14 13:15:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Restructuring of the sprintf() typechecker.

2022-07-09

2022-07-09 08:53:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike: get_return_type() now supports the state mapping.

2022-07-08

2022-07-08 11:04:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike: Support state mapping in low_check_call().

2022-07-03

2022-07-03 20:28:10 by Marcus Comstedt <marcus@mc.pp.se>

Remote: Stricter handling of zero.

2022-06-18

2022-06-18 11:59:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Password: Fix support for Django-style pbkdf2_sha256.

2022-06-14

2022-06-14 10:41:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Updated prototypes for __handle_{sprintf,sscanf}_format().

The second argument may be UNDEFINED, so declare the function
type accordingly, and do not complain if it is.

2022-06-11

2022-06-11 09:08:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Changed API for apply_type_attribute() et al.

They now get a mapping that they may use to keep state between arguments.

2022-06-02

2022-06-02 15:15:48 by Martin Nilsson <nilsson@fastmail.com>

Added zero to piek methods that returns 0 in the src folder.

2022-06-02 08:33:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Fix multiple warnings about passing of zero values.

2022-06-01

2022-06-01 11:42:47 by Martin Nilsson <nilsson@fastmail.com>

Updated types where documentation said 'or zero'.

2022-05-29

2022-05-29 08:59:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web.Api.Instagram: Allow post data to be zero.

Fixes several compilation errors.

2022-05-25

2022-05-25 12:42:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web.Api: Authenticate with the Authorization header by default.

Sending OAuth authorization information via query variables has been
deprecated by RFC6750 (and others), and some endpoints (eg GitHub)
do no longer support the old method.

Switch to using

Authorization: Bearer <access_token>

by default.

Also updates Web.Api.Github accordingly.

2022-05-23

2022-05-23 10:49:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.FakeFile: Improved function types.

This class needs to be compatible with both Stdio.BlockingFile and
Stdio.NonblockingStream.

Also fixes several broken prototypes in Stdio.NonblockingStream.

Fixes several testsuite failures.

2022-05-21

2022-05-21 09:46:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Geography.Country: Allow iso2 or fips10 code to be zero.

2022-05-19

2022-05-19 14:20:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

CommonLog: Fix type for callback function.

2022-05-12

2022-05-12 17:11:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.GIF: Updated type for _render_block().

2022-05-11

2022-05-11 11:12:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Improved type for sizeof() and strlen().

2022-05-07

2022-05-07 13:51:46 by Martin Nilsson <nilsson@fastmail.com>

Removed redundant and out of sync type declarations.

2022-05-07 12:14:44 by Marcus Comstedt <marcus@mc.pp.se>

Stdio.File: Allow callbacks to be zero

2022-03-09

2022-03-09 11:13:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/support-mixed-in-count_memory'

* patches/support-mixed-in-count_memory:
GC: Support remaining types in Pike.count_memory().

2022-01-13

2022-01-13 09:32:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Connection: Added query_db() and reset() to the API.

2021-11-06

2021-11-06 18:31:25 by Marcus Comstedt <marcus@mc.pp.se>

decode_value: Fix "Calling undefined function __INIT()"

The autogenerated __INIT calling through to inherited __INITs should
not be generated on decode_value, because it has already been
recovered from the dump.

2021-11-06 16:34:38 by Martin Nilsson <nilsson@fastmail.com>

Added convenience function to load letsencrypt certificate.

2021-11-06 14:36:51 by Martin Nilsson <nilsson@fastmail.com>

Added convenience function to drop process privileges.

2021-10-20

2021-10-20 16:03:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Traditional]: More sections and move around stuff.