Branch: Tag:

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

2022-11-05 14:33:42 by Martin Nilsson <nilsson@fastmail.com>

Fixed syntax error.

2022-11-05 12:00:40 by Martin Nilsson <nilsson@fastmail.com>

Show fallthrough.

2022-10-25

2022-10-25 08:32:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.InputStream: Add read_function() to the API.

Fixes warnings in Standards.IIM.

2022-10-22

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

Crypto.Hash: Deprecate use of negative lengths to hash().

2022-10-14

2022-10-14 11:43:36 by Chris Angelico <rosuav@gmail.com>

Fix a couple of docs typos

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 12:55:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

8.0::Stdio: Make 7.8::Stdio happy.

7.8::Stdio inherits 8.0::Stdio.module, and expects to
find stuff like _Stdio there. Inherit 8.1::Stdio.module
so that 7.8::Stdio finds the expected symbols.

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

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

Testsuite [7.8::Crypto]: Fix some tests.

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

2022-09-22 09:04:29 by Tobias S. Josefowitz <tobij@tobij.de>

Debug: added functions to generate perf map files

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

2022-09-17 10:07:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.HMAC: Fix some warnings.

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

Nettle.Hash: Adjust type of block_size() to match __builtin.Nettle.Hash.

2022-09-16

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

Documentation [Protocols.HTTP]: Prefix StatusCode descriptions with code.

This makes it easier to find out that eg Protocols.HTTP.HTTP_NOT_FOUND
should be used to generate error code 404.

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

Protocols.HTTP: Updated the set of known status codes.

The set of status codes should now be up to date with
http://www.iana.org/assignments/http-status-codes/http-status-codes.txt .

Also adds the enum StatusCode for grouping the status codes and
autodoc markup with rfc references for all the symbols.

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

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

Compiler: Adjust approach to lfun::create() fallback.

Instead of having a fallback at lookup time, the compiler now
adds lfun::create() as an alias for lfun::__create__() if
there is no explicitly defined lfun::create(). This should
be (much) more robust and backward-compatible.

Fixes some fall-out from the #10086 changes.

2022-09-06

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

Compiler: Add lfun::__create__().

This lfun is intended to hold the code previously inlined
in lfun::create() for the implicit create syntax.

Preparation for implementing the implicit create case(s) of #10086.

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

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

ADT.Sequence: Update to new iterator API.

2022-08-22

2022-08-22 11:00:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [ADT.Sequence]: Remove remaining references to adapters.

The module was renamed ADT.Sequence almost 20 years ago, so
fix the remaining places that refer to it as an array adapter.

2022-08-19

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

Parser.RCS: Update to new iterator API.

Fixes some of #10085.

2022-08-18

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

ADT.List: Updated to new iterator API.

Fixes some of #10085.

2022-08-12

2022-08-12 09:09:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.CircularList: Update iterator to new API.

Also adds testsuite and fixes some documentation errors.

2022-08-10

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

Iterators: Add 8.0::get_iterator().

Add wrapper that implements the 8.0 and earlier iterator API.

Also update the testsuite to match the current iterator behavior.

2022-08-07

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

Sql.sql_result: Fix compilation error.

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-08-05 09:33:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.sql_result: Base this class on __builtin.Sql.Result.

Reduces code-duplication.

2022-08-03

2022-08-03 13:32:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Relation.Binary: Updated implementation of lfun::_get_iterator().

Also added some documentation.

2022-08-02

2022-08-02 08:53:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Iterators: Changed iterator API.

Runtime:

* Iterators now start at the position before the first element.

* foreach() calls lfun::_iterator_next() on entry. This means
that the loop will skip the element the iterator was on (if any).

* Removed lfun::`+(), lfun::`+=() and lfun::`!() from the builtin
iterators to simplify the semantics.

* Implementing just lfun::_iterator_next() is now sufficient
to make a working iterator.

Compiler:

* The Pike compiler will add a wrapper lfun::_iterator_next()
for code that uses the original API.

TODO:

* There are more iterators that need to be adjusted to the new API.

Fixes some of #10085.

2022-07-29

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

Documentation [Stdio.Readline]: Document {enable,get}_history().

2022-07-28

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

Documentation [Stdio.Readline]: Add doc for set_{non,}blocking().

2022-07-27

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

Documentation [Stdio.Readline]: Add doc for read() and write() et al.

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

2022-07-17 08:24:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

7.8::Crypto.DSA: Stricter handling of zero.

Fixes multiple warnings.

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

2022-06-15 13:40:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Update code generator to support F_SSCANF_80.

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 14:31:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Add some missing prototypes to Stdio.NonblockingStream.

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:52:12 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-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 14:40:29 by Marcus Comstedt <marcus@mc.pp.se>

Protocols.HTTP: Allow async callbacks to be zero

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

Removed redundant and out of sync type declarations.

2022-05-07 13:38:50 by Marcus Comstedt <marcus@mc.pp.se>

Protocols.HTTP: Allow callbacks to be zero

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

Stdio.File: Allow callbacks to be zero

2022-04-22

2022-04-22 11:46:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [_Roxen.HeaderParser]: Improved some doc.

2022-04-14

2022-04-14 12:15:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Program: Fixed some warnings with respect to defined().

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-03-09 11:09:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

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

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

GC: Support remaining types in Pike.count_memory().

Users of Pike.count_memory() typically do not want to bother
filtering its arguments, so perform filtering in count_memory()
rather than throwing errors.

Also adds support for counting memory for objects referenced
via functions.

2022-01-30

2022-01-30 14:52:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SSL]: Fix typo in previous commit.

2022-01-29

2022-01-29 23:15:56 by H William Welliver <william@welliver.org>

doc: fixing some autodoc markup

2022-01-26

2022-01-26 15:28:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.mysql: Clean up character set handling.

Adds helper functions fix_{query,result}_charset() that contain
code that used to be in the QUERY_BODY() macro. This makes the
code quite a bit easier to read.

Adds charset wrappers to list_{dbs,tables,fields}() that previously
changed behavior depending on what the send_charset was.

Remove some now obsoleted character set handling from Mysql.SqlTable.

Potential fix for intermittent failures for Mysql.SqlTable to handle
tables with wide characters in the table name.

2022-01-13

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

Sql.Sql: Added query_db() to the API.

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

Mysql: Added query_db().

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

Mysql: Add query_db() and reset().

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 15:40:04 by Martin Nilsson <nilsson@fastmail.com>

Added String.bits to give the number of actually used character bits.

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

Added convenience function to drop process privileges.

2021-11-02

2021-11-02 09:28:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

CritBit: Fixed prototype for `[]=().

2021-10-29

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

Doc [Nettle.BlockCipher16.KW]: Add note from RFC 6931.

Also removes obsolete note about using the AEAD APIs.

Minor code clean up.

2021-10-27

2021-10-27 14:02:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Improved support for Edwards curves.

Default to using Edwards curves for ECDH(E) if possible.

Also adds experimental support for x448-curves analogous
to the support for x25519-curves.

2021-10-27 00:35:34 by Martin Nilsson <nilsson@fastmail.com>

Bugfixed diff_namespaces. Added character encoding to render_xml.

2021-10-21

2021-10-21 12:47:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Protocols.LysKOM]: Some minor changes.

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.

2021-10-14

2021-10-14 11:06:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [SSL.Packet]: Use Autodoc markup.

2021-09-17

2021-09-17 13:54:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System.Memory: Updated API for lfun::`[]=() to current.

It now no longer complains about getting the context.

Removed support for assigning to ranges as it (AFAIK)
never has worked, and there is no corresponding lfun.

Fixes some testsuite failures.

2021-09-16

2021-09-16 12:39:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Add {query,set}_timeout().

This adds an API to set an optional timeout to be used
for blocking operations. When the timeout expires it is
handled as if the peer sent a fatal internal error alert.

2021-09-16 12:32:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Change API of handle_alert() and make it visible.

handle_alert() is useful to eg simulate external alerts,
so make it easier to use.

2021-09-15

2021-09-15 10:57:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Add {query,set}_timeout().

This adds an API to set an optional timeout to be used
for blocking operations. When the timeout expires it is
handled as if the peer sent a fatal internal error alert.

2021-09-14

2021-09-14 16:14:04 by Martin Nilsson <nilsson@fastmail.com>

Make it possible to not load dumped files.

2021-09-13

2021-09-13 11:26:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System.TM: Support initialization with bignums.

Fixes post-2038 support on ILP32 architectures with 64-bit time_t.

2021-09-11

2021-09-11 20:58:33 by Tobias S. Josefowitz <tobij@tobij.de>

Concurrent: Fix Future()->timeout()

call_callback() may use call_out(cb, 0, ...) to call a callback. This
means that if we call multiple callbacks wie call_callback(), they mæy
be executed in arbitrary order. The implementation of
Future()->timeout() was subject to races in this regard, leading to the
Future returned by ->timeout() to resolve with 0 instead of the result
or instead of rejecting with the same reason as the original
Promise/Future was rejected before the timeout triggered.

Using less abstractions, we save on such races, Future objects, and even
lambdas while getting arguably eaiser to read code.

2021-09-08

2021-09-08 17:03:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Int: Make ninf visible.

2021-09-03

2021-09-03 17:15:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Array]: Improved doc for dwim_sort_func().

2021-08-29

2021-08-29 23:10:04 by Martin Nilsson <nilsson@fastmail.com>

Backported fragment helper methods.

2021-08-25

2021-08-25 08:13:36 by Chris Angelico <rosuav@gmail.com>

Protocols.TCP: Add autodoc everywhere

2021-08-25 07:36:10 by Chris Angelico <rosuav@gmail.com>

Protocols.TCP: Begin implementation of Happy Eyeballs (RFC 8305).

Code formatting not sorted out, lots of bugs, this is not ready to
use yet.

2021-08-19

2021-08-19 21:50:51 by Chris Angelico <rosuav@gmail.com>

WebSocket: Provide a query_id() function to parallel Stdio.File

2021-08-09

2021-08-09 14:42:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Thread]: Added some more notes about fallback classes.

2021-08-05

2021-08-05 10:26:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Thread]: Removed broken reference.

2021-08-04

2021-08-04 14:18:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread: Added MUTEX_SUPPORTS_SHARED_LOCKS recognition constant.

2021-08-03

2021-08-03 09:41:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Thread]: Added description of the module.

2021-08-02

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

Doc [Thread.Thread]: Improved doc for status().

2021-08-01

2021-08-01 11:59:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Threads]: Ignore implementation details of fallbacks.

2021-07-31

2021-07-31 13:17:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Thread.Condition]: Added a note about signalling.

2021-07-30

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

Threads.MutexKey: Added timeout to upgrade().

2021-07-29

2021-07-29 06:23:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Thread.Mutex]: Added note about shared locks.

2021-07-28

2021-07-28 05:39:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread: Removed redundant and obsolete classes RWMutex and RWKey.

Their functionality is provided by Thread.Mutex and Thread.MutexKey.

2021-07-27

2021-07-27 06:23:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Image.ColorTable]: Fix markup typos.

2021-07-26

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

Doc [Stdio]: Document some more constants.

2021-07-24

2021-07-24 09:57:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Thread.MutexKey]: Fix some markup typos.

2021-07-20

2021-07-20 11:11:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc: Fixed AutoDoc markup typo.

2021-07-18

2021-07-18 11:51:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Builtin.__master]: Document the class.

2021-07-02

2021-07-02 20:42:55 by Tobias S. Josefowitz <tobij@tobij.de>

Merge branch 'security/decode_value' into 8.0

* security/decode_value:
decode_value(): Allow to restrict decoding to simple types

2021-07-02 20:42:19 by Tobias S. Josefowitz <tobij@tobij.de>

Merge branch 'security/decode_value'

* security/decode_value:
decode_value(): Allow to restrict decoding to simple types

2021-07-02 20:27:26 by Tobias S. Josefowitz <tobij@tobij.de>

decode_value(): Allow to restrict decoding to simple types

The encoded value has quite a bit of control over our process. Allow to
restrict decoding to primitive types by passing coding as -1.

2021-07-02 11:34:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

MIME: Stricter types.

2021-06-30

2021-06-30 13:19:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Ffmpeg]: Fixed some markup issues.

2021-06-27

2021-06-27 07:13:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Constants: Remove obsolete (draft-only) constant.

2021-06-25

2021-06-25 07:19:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [SSL]: Adjusted some documentation.

2021-06-20

2021-06-20 23:40:54 by Chris Angelico <rosuav@gmail.com>

Merge branch 'rosuav/http-multi-connect'

2021-06-17

2021-06-17 10:32:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Charset: Strict types.

2021-06-16

2021-06-16 22:13:47 by Chris Angelico <rosuav@gmail.com>

Protocols.DNS: Return host_to_ip to its former state of IPv4-only

2021-06-16 20:59:18 by Chris Angelico <rosuav@gmail.com>

Protocols.DNS: Add host_to_ips (plural) to parallel host_to_ip

2021-06-09

2021-06-09 13:32:58 by Chris Angelico <rosuav@gmail.com>

Val.Range: Fix autodoc markup

2021-06-07

2021-06-07 13:16:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Add __cast().

2021-06-01

2021-06-01 10:40:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Adjusted some more return types to include zero.

2021-05-30

2021-05-30 15:16:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Adjusted return types for lots of functions to include zero.

2021-05-27

2021-05-27 12:20:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Crypto.DSA]: Fix typo.

2021-05-24

2021-05-24 17:11:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc [Gmp.mpf]: Fix AutoDoc markup typo.

2021-05-16

2021-05-16 07:33:08 by Stephen R. van den Berg <srb@cuci.nl>

Protocols.DNS: Cleanup interface, allow arbitrary numbers of restargs.

2021-05-15

2021-05-15 17:25:41 by Stephen R. van den Berg <srb@cuci.nl>

Protocol.DNS: Windows has a hosts file too.

2021-05-15 17:25:41 by Stephen R. van den Berg <srb@cuci.nl>

Protocols.DNS: Add a resolver compatible generic_query().

2021-05-12

2021-05-12 14:52:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

CPP: Added #elifdef and #elifndef from C2x.

2021-05-09

2021-05-09 17:29:37 by Stephen R. van den Berg <srb@cuci.nl>

DNS.client: Expose match_etc_hosts.

2021-05-09 17:29:37 by Stephen R. van den Berg <srb@cuci.nl>

Protocols.DNS: Extend rcode constant list.

2021-05-08

2021-05-08 16:23:35 by Martin Nilsson <nilsson@fastmail.com>

Implemented Promise variants of async lookup.

2021-05-08 16:23:35 by Martin Nilsson <nilsson@fastmail.com>

Improved documentation.

2021-05-07

2021-05-07 04:09:31 by Martin Nilsson <nilsson@fastmail.com>

async_connect using promises.

2021-05-01

2021-05-01 14:18:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc: Fix some documentation typos.

2021-04-24

2021-04-24 10:57:40 by Stephen R. van den Berg <srb@cuci.nl>

Shuffler: Add freerun parameter, to avoid bulkmode/TCP_CORK.

2021-04-21

2021-04-21 09:22:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.DSA: Fix a few warnings.

2021-04-18

2021-04-18 23:35:43 by Martin Nilsson <nilsson@fastmail.com>

Fixed warnings.

2021-03-30

2021-03-30 09:05:37 by Stephen R. van den Berg <srb@cuci.nl>

Stdio.Buffer: Fix docs.

2021-03-29

2021-03-29 13:00:17 by Stephen R. van den Berg <srb@cuci.nl>

Shuffler: Update docs.

2021-03-28

2021-03-28 15:52:17 by Stephen R. van den Berg <srb@cuci.nl>

Shuffler: done_cb is called on every pause.

2021-03-27

2021-03-27 09:39:42 by Stephen R. van den Berg <srb@cuci.nl>

Shuffler: dup() the filedescriptor to avoid conflicts with a read-fd_box.

2021-03-27 09:39:42 by Stephen R. van den Berg <srb@cuci.nl>

Stdio.Pipe: Add set_nonblocking_keep_callbacks() member.

2021-03-19

2021-03-19 23:39:43 by Stephen R. van den Berg <srb@cuci.nl>

Shuffler: Support wrap_cb on array sources.

2021-03-18

2021-03-18 11:11:11 by Stephen R. van den Berg <srb@cuci.nl>

Shuffler: Add autopause mode.

2021-03-18 11:11:11 by Stephen R. van den Berg <srb@cuci.nl>

Fix typos.

2021-03-18 11:11:11 by Stephen R. van den Berg <srb@cuci.nl>

Shuffler: Add support for array sources.

2021-03-18 11:11:11 by Stephen R. van den Berg <srb@cuci.nl>

Stdio.Buffer: Autocopy it when reallocing a locked buffer.

2021-03-18 11:11:11 by Stephen R. van den Berg <srb@cuci.nl>

Shuffler: Add support for a single-byte source.

2021-03-18 11:11:11 by Stephen R. van den Berg <srb@cuci.nl>

Debug: Add map_all_strings() to trace memory leaks.

2021-03-17

2021-03-17 12:22:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

LFUNs: Update the types for lfun::`+(), lfun::``+() and lfun::`+=().

These lfuns are no longer called with multiple arguments, so update
the types and documentation accordingly.

2021-03-02

2021-03-02 09:03:37 by Martin Nilsson <nilsson@fastmail.com>

Fix typo.

2021-03-02 09:03:29 by Martin Nilsson <nilsson@fastmail.com>

Added set_text() to update the contents of a text node.

2021-02-23

2021-02-23 12:08:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Master: Added predef::zero.

2021-02-16

2021-02-16 18:04:38 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify SQL logging.

2021-02-16 18:03:34 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify SQL logging.

2021-02-03

2021-02-03 15:38:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: add_watch() now returns -1 on some failures.

This is to simplify differentiation between failures due to
the filesystem being in flux (eg races), and failures due to
resource limits.

Fixes race condition (time of check, time of use) in
Filesystem.Monitor.basic.InotifyMonitor()->register_path().

Fixes #10059.

2021-02-03 15:35:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug10059'

* patches/bug10059:
Inotify: add_watch() now returns -1 on some failures.

2021-02-03 15:34:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: add_watch() now returns -1 on some failures.

This is to simplify differentiation between failures due to
the filesystem being in flux (eg races), and failures due to
resource limits.

Fixes race condition (time of check, time of use) in
Filesystem.Monitor.basic.InotifyMonitor()->register_path().

Fixes #10059.

2021-01-28

2021-01-28 04:38:34 by H William Welliver <william@welliver.org>

Documentation: fix markup errors

2021-01-27

2021-01-27 20:50:05 by H William Welliver <william@welliver.org>

Program.annotations: invert recursion flag to make more sense for the default case.

2021-01-12

2021-01-12 16:35:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [LFUNs]: Added some compat notes.

2021-01-11

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

Documentation [LFUNs]: Added some doc for the _iterator_*() lfuns.

2020-12-15

2020-12-15 17:52:34 by H William Welliver <william@welliver.org>

Documentation: fix markup errors

2020-12-09

2020-12-09 19:42:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.RWMutex: Added current_locking_{thread,key}s().

2020-12-07

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

ADT: Use new iterator LFUNs in more places.

2020-11-29

2020-11-29 14:59:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Added efuns for accessing iterator state.

2020-11-25

2020-11-25 15:35:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.List: Use the new iterator LFUNs.

Fixes multiple warnings on start.

2020-11-21

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

Iterators: Use the new LFUN names.

Fixes lots of warnings.

2020-11-16

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

LFUNs: Support atomic get and set with lfun::`->=() and lfun::`[]=().

`->=() and `[]=() should now return the previous value.

Also alters ::`->=() accordingly.

2020-11-12

2020-11-12 02:19:45 by H William Welliver <william@welliver.org>

CHANGES: updates in preparation for release

2020-11-10

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

Documentatation: Document lfun::_atomic_get_set().

Also adds FIXMEs for some undocumented lfuns.

2020-11-09

2020-11-09 17:39:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Add predef::atomic_get_set().

2020-10-31

2020-10-31 18:50:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Sass]: Fixed AutoDoc mk II markup.

2020-10-31 15:55:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Improved doc for search().

2020-10-28

2020-10-28 12:06:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Reduce run-time argument strictness in _search().

Searching for values that aren't possible isn't an error,
so avoid the precompiler generating errors for such parameters.

Fixes testsuite failure searching for character -1.

2020-10-28 12:06:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer [search]: Support searching for substrings.

2020-10-28 12:06:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer [search]: Support specifying the end position.

It is now possible to inform the Stdio.Buffer lfun::_search() that
it shouldn't scan past a certain position.

Also removes an unused variable.

2020-10-28 12:06:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Added _search().

2020-10-28 12:06:19 by Arne Goedeke <el@laramies.com>

Stdio.Buffer: added truncate()

2020-10-22

2020-10-22 20:50:14 by Marcus Comstedt <marcus@mc.pp.se>

Gettext: Prevent argument of textdomain from being empty

2020-10-22 20:46:16 by Marcus Comstedt <marcus@mc.pp.se>

Gettext: Prevent argument of textdomain from being empty

2020-10-22 20:18:32 by Marcus Comstedt <marcus@mc.pp.se>

strftime: Remove non-standard conversions %k and %l from doc and testsuite

These are not part of any C standard, not even C2x. Thus libc can
not be expected to implement them.

2020-10-22 20:12:11 by Marcus Comstedt <marcus@mc.pp.se>

strftime: Remove non-standard conversions %k and %l from doc and testsuite

These are not part of any C standard, not even C2x. Thus libc can
not be expected to implement them.

2020-10-10

2020-10-10 17:56:27 by H William Welliver <william@welliver.org>

Program: add Program.annotations() for retrieving annotations defined on a program.

2020-10-01

2020-10-01 13:12:49 by Martin Nilsson <nilsson@fastmail.com>

More documentation of HeaderParser->feed

2020-09-13

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

SSL.ServerConnection: Added API clarification.

2020-09-08

2020-09-08 20:50:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent: Move handling of aggregated promises to AggregatePromise.

This simplifies the code for promises that do not use aggregation,
and avoids bugs when aggregation functions are used in combination
with non-aggregation functions.

2020-08-28

2020-08-28 08:56:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added try_get().

2020-08-28 08:56:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added query_{success,failure}_callbacks().

2020-08-26

2020-08-26 15:44:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Promise: Refactored the dependency handling.

Get rid of multiple cases of circular referencing via AggregateState.

Removes the AggregateState class.

The folding function no longer gets called with failure values.

The successful array result no longer contains failed values.

References between Promises and Futures should now strictly be only
in the result notification direction.

API-compatible, user level code should not notice any differences.

2020-07-29

2020-07-29 10:00:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Val.Range: Fixed multiple warnings.

Also adds some FIXMEs regarding the API.

2020-06-29

2020-06-29 11:17:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.Mutex: Improved behavior for {try_,}shared_lock().

If the current thread already holds a shared lock, a new one
is created without waiting. This avoids some dead locks.

2020-06-28

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

Threads.Mutex: Added {try_,}shared_lock().

2020-06-23

2020-06-23 11:18:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.RWMutex: Added try_{read,write}_lock().

Also adds Thread.RWKey()->try_upgrade().

2020-06-22

2020-06-22 11:51:40 by Stephen R. van den Berg <srb@cuci.nl>

Thread.Thread: Add gethrvtime().

2020-06-14

2020-06-14 14:58:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.RWKey: Added support for down- and upgrading write locks.

Also fixes a build error.

2020-06-13

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

Threads.RWMutex: Use the same Key class for both read and write.

Reduces code duplication and complexity a fair bit.

2020-06-12

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

Thread.RWMutex: Removed remnants of support for recursive locks.

2020-06-10

2020-06-10 21:48:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Fd: Convert read() into a PIKEFUN.

2020-06-07

2020-06-07 14:03:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Reduce run-time argument strictness in _search().

Searching for values that aren't possible isn't an error,
so avoid the precompiler generating errors for such parameters.

Fixes testsuite failure searching for character -1.

2020-06-07 06:57:38 by Stephen R. van den Berg <srb@cuci.nl>

HTTP.Server: Expose filename_to_extension().

2020-06-03

2020-06-03 14:38:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Fd: This is now a PIKECLASS.

2020-06-01

2020-06-01 15:15:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Termios]: Minor namespace adjustment.

2020-05-31

2020-05-31 15:44:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread: Mark simulated MutexKey objects for immediate destruction.

2020-05-29

2020-05-29 07:38:37 by Chris Angelico <rosuav@gmail.com>

Move Markdown into Parser and leave a stub behind in Tools

2020-05-29 07:38:37 by Chris Angelico <rosuav@gmail.com>

markdown: Allow replacement of the lexers and parser

2020-05-29 07:38:37 by Chris Angelico <rosuav@gmail.com>

markdown: Carry attributes from the lexer to the renderer

2020-05-29 07:38:37 by Chris Angelico <rosuav@gmail.com>

markdown: Fix docs typos

2020-05-29 07:38:37 by Chris Angelico <rosuav@gmail.com>

markdown: Add very basic autodoc markup to Renderer

2020-05-29 00:06:19 by Tobias S. Josefowitz <tobij@tobij.de>

SSL.Context: Context commits to tickets via offers_tickets()

In certain situations, i.e. after receiving an empty Session Ticket
extension (client supports, but does not yet have a ticket), by
including the Session Ticket extension in the server hello commits us to
providing a ticket later.

As SSL.Context would simply return 0 in encode_ticket() when use_cache
was zero (not the default), we used to break the protocol on such
occasions. Instead, we now use SSL.Context()->offers_tickets() to signal
whether Session Tickets should be supported on the connection (and
whether the Context commits to encoding a session as ticket later on).

2020-05-28

2020-05-28 23:49:01 by Tobias S. Josefowitz <tobij@tobij.de>

SSL.Context: Context commits to tickets via offers_tickets()

In certain situations, i.e. after receiving an empty Session Ticket
extension (client supports, but does not yet have a ticket), by
including the Session Ticket extension in the server hello commits us to
providing a ticket later.

As SSL.Context would simply return 0 in encode_ticket() when use_cache
was zero (not the default), we used to break the protocol on such
occasions. Instead, we now use SSL.Context()->offers_tickets() to signal
whether Session Tickets should be supported on the connection (and
whether the Context commits to encoding a session as ticket later on).

2020-05-25

2020-05-25 12:25:43 by Stephen R. van den Berg <srb@cuci.nl>

HTTP.Server.Request: Add response member for log_cb.

2020-05-25 07:38:16 by Stephen R. van den Berg <srb@cuci.nl>

MIME: Move decode_/encode_headerfield_params functions here.

2020-05-24

2020-05-24 14:32:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio]: Fixed some typos.

2020-05-24 09:18:43 by Stephen R. van den Berg <srb@cuci.nl>

HTTP: Add params_encode() and params_decode().

2020-05-24 00:54:10 by Stephen R. van den Berg <srb@cuci.nl>

Val.Inet: Add >> and << operators modeled after PostgreSQL.

2020-05-24 00:18:39 by Stephen R. van den Berg <srb@cuci.nl>

Arg: Document the help/usage system.

2020-05-23

2020-05-23 13:13:58 by Marcus Comstedt <marcus@mc.pp.se>

Thread.ResourceCount: Provide fallback implementation

2020-05-23 13:10:51 by Marcus Comstedt <marcus@mc.pp.se>

Thread.ResourceCount: Provide fallback implementation

2020-05-19

2020-05-19 17:45:16 by Stephen R. van den Berg <srb@cuci.nl>

Arg: Fix docs.

2020-05-19 07:42:28 by Stephen R. van den Berg <srb@cuci.nl>

Crypto: Update bcrypt docs.

2020-05-17

2020-05-17 10:52:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [_Stdio]: Added some doc.

2020-05-15

2020-05-15 15:09:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio.Buffer]: Fixed markup typo.

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

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

Stdio.UDP: Added `_fd().

2020-04-29

2020-04-29 16:41:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio.Port]: Improved doc for fd_factory().

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: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-19

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

SSL.Connection: Filter duplicate DTLS packets.

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.

2020-04-11

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

SSL.DTLSState: Implemented sliding window for sequence numbers.

Needed for DTLS (#10032).

2020-04-09

2020-04-09 13:22:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Packet: Added seq_num to Packet.

This is in preparation for implementing DTLS (#10032).

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

2020-03-23 19:51:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Fixed autodoc syntax for bcrypt_{hash,verify}().

Fixes #10022.

2020-03-23 12:00:55 by Stephen R. van den Berg <srb@cuci.nl>

Crypt.Password: Support bcrypt hashing.

2020-03-22

2020-03-22 16:59:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: Improved handling of invalid event callbacks.

The events are now buffered until the callback becomes valid.

Fixes #8042.

2020-03-22 15:28:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: Improved handling of invalid event callbacks.

The events are now buffered until the callback becomes valid.

Fixes #8042.

2020-03-19

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

Operators: `|() now supports UNDEFINED with multisets.

Fixes #10021.

2020-03-17

2020-03-17 21:31:39 by Martin Nilsson <nilsson@fastmail.com>

Added JavaScript to cgrep

2020-03-17 09:54:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Added note about pty handling on NT.

Fixes #10008.

2020-03-13

2020-03-13 01:37:21 by Stephen R. van den Berg <srb@cuci.nl>

ADT.OrderedMapping: Improve docs.

2020-03-12

2020-03-12 23:52:35 by Stephen R. van den Berg <srb@cuci.nl>

ADT.OrderedMapping: Fix duplicate entries, optimise and add substract.

2020-03-07

2020-03-07 13:55:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio.Port]: Documented changed set_id(). #4312

2020-03-06

2020-03-06 02:25:34 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Toggle cache_autoprepared_statements default.

2020-03-06 02:24:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Toggle cache_autoprepared_statements default.

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

2020-02-25 13:21:05 by Per Hedbor <ph@opera.com>

Addressed code review issues

Forward port from Pike 8.0 as noted in #10012.

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

Documentation [Standards.X509]: Fixed some typos.

Fixes #10012.

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

Documentation [Standards.X509]: Fixed some typos.

Fixes #10012.

2020-02-24

2020-02-24 00:10:59 by Tobias S. Josefowitz <tobij@tobij.de>

Standard.X509: Make signature algorithms configurable

2020-02-24 00:10:59 by Tobias S. Josefowitz <tobij@tobij.de>

SSL: Do not accept MD2, MD5 and SHA1 signatures any longer

Web browsers and others have distrusted SHA1 a long while ago, MD2 and
MD5 are at this point simply dangerous to support. However, we now
support configuration of supported signature algorithms via
@[SSL.Context] in case any use case simply needs to support older
signature algorithms.

2020-02-24 00:09:58 by Tobias S. Josefowitz <tobij@tobij.de>

SSL: Do not accept MD2, MD5 and SHA1 signatures any longer

Web browsers and others have distrusted SHA1 a long while ago, MD2 and
MD5 are at this point simply dangerous to support. However, we now
support configuration of supported signature algorithms via
@[SSL.Context] in case any use case simply needs to support older
signature algorithms.

2020-02-24 00:09:58 by Tobias S. Josefowitz <tobij@tobij.de>

Standard.X509: Make signature algorithms configurable

2020-02-19

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

Merge branch 'grubba/pty-handling' into 8.0

* grubba/pty-handling:
Process.Process [NT]: Added modifier "conpty".

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

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
Process.Process [NT]: Added modifier "conpty".

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

Process.Process [NT]: Added modifier "conpty".

This modifier associates a ConPTY with the new process without
also setting any of stdin, stdout or stderr.

Fixes #10008.

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-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 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-10 11:06:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process.create_process [NT]: First go at attempting to support ptys.

2020-02-07

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: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-07 10:39:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/pty-handling'

* grubba/pty-handling:
Process [NT]: Support UTF-8 in create_process().
I/O [NT]: Added low_dwim_utf8_to_utf16().

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

2020-02-01 16:32:54 by Tobias S. Josefowitz <tobij@tobij.de>

SSL.Context: Fix autodoc typo

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.

2020-01-01

2020-01-01 22:13:56 by Peter Bortas <bortas@gmail.com>

Fix documentation for next_prime

2019-12-31

2019-12-31 22:51:17 by Peter Bortas <bortas@gmail.com>

Fix documentation for next_prime

2019-12-31 22:51:06 by Peter Bortas <bortas@gmail.com>

Fix function definition for next_prime and the documentation for next_prime and probably_prime_p

2019-12-31 21:55:04 by Peter Bortas <bortas@gmail.com>

Fix function definition for next_prime and the documentation for next_prime and probably_prime_p

2019-12-29

2019-12-29 15:15:52 by Chris Angelico <rosuav@gmail.com>

Fix docs formatting

2019-12-12

2019-12-12 10:35:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Password: Fixed verify() with NetBSD-style crypt_sha1 hashes.

Fixes several testsuite failures.

Also adds some related documentation.

2019-12-11

2019-12-11 11:42:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Password: Fixed some warnings.

2019-12-09

2019-12-09 16:50:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Password: Added support for NetBSD-style crypt_sha1().

2019-12-04

2019-12-04 21:10:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ServerConnection: Session tickets (RFC 4507 and RFC 5077).

Server side support for session tickets.

Note that the default ticket encoding is to use the session_id,
it thus uses server side state. The ticket encoding can be changed
by overriding {en,de}code_ticket() in SSL.Context.

Implementation verified against OpenSSL's s_client.

Backported from 372b2a05d05fa0d0e052e6634d2acf8d03629ed4 by Tobias
Josefowitz.

2019-11-24

2019-11-24 17:55:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Image.TIFF]: Enabled some doc.

2019-11-22

2019-11-22 15:47:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.List: Added _reverse().

2019-11-21

2019-11-21 10:41:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

MIME: Added decode_crypt64().

This is the inverse of encode_crypt64().

2019-11-20

2019-11-20 19:13:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

LFUNs: Added lfun::_reverse().

This is a function that is called by reverse() to generate
a reversed object.

2019-11-19

2019-11-19 14:27:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

MIME: Added encode_crypt64().

This is an encoding similar to base64 that is used by several
password hashing algorithms.

2019-11-18

2019-11-18 07:48:16 by Martin Nilsson <nilsson@fastmail.com>

Documentation tweaks.

2019-11-18 07:40:02 by Martin Nilsson <nilsson@fastmail.com>

Added support for SHA-512-256, userhash and utf-8.

2019-11-18 06:46:50 by Martin Nilsson <nilsson@fastmail.com>

Added support for SHA-256 HTTP Digest

2019-11-18 06:25:39 by Martin Nilsson <nilsson@fastmail.com>

Reworkd HTTP Authentication quite a bit. Supports client and server.

2019-11-17

2019-11-17 17:18:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Charset]: Fixed markup typo.

2019-11-16

2019-11-16 13:28:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [DVB]: Fixed some markup issues.

2019-11-08

2019-11-08 15:58:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

MIME: Added {de,en}code_base32{,hex}().

2019-11-07

2019-11-07 14:43:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

MIME: Added optional third argument to encode_base64{,url}().

The third argument controls use of padding.

2019-11-05

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

Crypto.Password: Added support for PHPass Portable Hashes.

Crypto.Password.hash() and Crypto.Password.verify() now
know about $P$ et al.

Also slightly stricter types and censoring of the password
argument from backtraces.

2019-11-03

2019-11-03 22:24:48 by Mateusz Krawczuk <krawczukmat@gmail.com>

Debugger: add WIP debugger pmod.

The module contains:
* High-level debugger logic,
* breakpoint representation,
* Debug Adapter Protocol object models,
* a debug server handling communication between the debugger and
an IDE via DAP

There are numerous TODOs, among them being:
* introduce autodoc-compliant documentation,
* untangle debugger logic from the server,
* extract the debugger interface that could be shared between other
* interfaces - DAP,gdb, ...

2019-11-03 18:43:44 by Mateusz Krawczuk <krawczukmat@gmail.com>

Make Profiling.pmod doc reflect the real state of things.

2019-11-03 10:19:12 by Marcus Comstedt <marcus@mc.pp.se>

Add "(?)" as the safe calling variant of "()"

2019-11-02

2019-11-02 12:20:15 by Tobias S. Josefowitz <tobij@tobij.de>

Nettle.Hash: Fix typo in autodoc

2019-11-02 12:17:04 by Tobias S. Josefowitz <tobij@tobij.de>

ADT.CritBit.BigNumTree: Disable autodoc more robustly.

CExtractor now actually errors about spurious @endclass directives,
which means we need to use DOCSTART() and DOCEND() around them in
{tree,iterator}_source.H as we define DOCSTART() to /* in
bignumtree.cmod to disable autodoc generation.

2019-11-01

2019-11-01 12:27:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash: crypt_php() is now API-compatible with crypt_hash().

2019-10-31

2019-10-31 12:45:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash: Added crypt_php().

This is a password hashing algorithm compatible with
PHP Portable Passwords (when used with Crypto.MD5).

2019-10-25

2019-10-25 16:19:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Password: Added support for PBKDF2 password hashes.

These are hashes generated by Python PassLib and Phpass.

2019-10-16

2019-10-16 13:57:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.RWMutex: Support recursive locking.

2019-10-16 09:06:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.ResourceCountKey: Survive being used with old pike binaries.

Old pike 8.0 binaries do not have Pike.DestructImmediate, and it is
not meaningful to attempt to kludge around it, as the corresponding
program flag is not propagated with them anyway.

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

Pike: Move DestructImmediate to the Pike module.

2019-10-16 08:58:31 by Marcus Comstedt <marcus@mc.pp.se>

Thread.ResourceCountKey: Make destruct immediate

2019-10-15

2019-10-15 12:10:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.Farm: Use Pike.ProxyFactory in ResultWrapper.

2019-09-26

2019-09-26 11:10:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/sprintf-linebreak-mode-fixes'

* grubba/sprintf-linebreak-mode-fixes:
Sprintf: Cleanup linebreak mode.

2019-09-26 11:03:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sprintf: Cleanup linebreak mode.

The sprintf "%/s" and "%=s" modes now break at the column width
(defaulting it to the field width) and not the field width. This
makes it possible to use formats like eg "%;*-=s" (instead of
"%*-=s") to not get every line padded to the full column width.

2019-09-23

2019-09-23 14:10:28 by Kevin O'Rourke <kevinor@opera.com>

TURBO2-1398: Allow disabling of wrapping of describe_backtrace output.

The wrapping can add lots of spaces to the end of lines to pad
them, resulting in enormous backtrace files in some circumstances.

2019-09-21

2019-09-21 07:46:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SSL]: Fixed typo.

2019-09-12

2019-09-12 10:03:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [generators]: Added yield().

2019-09-08

2019-09-08 11:25:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added try_get().

2019-08-28

2019-08-28 13:38:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Fixed some AutoDoc markup errors.

The documentation for String.Replace et al should now be in the
correct place again, and the documentation for System.Time et al
should no longer get lost.

2019-08-21

2019-08-21 12:43:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.RWMutex: Added read/write mutexes.

2019-08-17

2019-08-17 10:08:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Traditional]: Added Compression chapter.

2019-08-14

2019-08-14 12:36:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Updated type for predef::types().

2019-08-14 12:36:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Gmp]: Fixed markup issue.

2019-08-12

2019-08-12 12:17:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Added support for CMAC.

2019-08-07

2019-08-07 10:09:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Traditional]: Added chapter regarding introspection.

2019-08-05

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

Documentation [Traditional]: Added chapter about cryptography.

2019-07-25

2019-07-25 01:28:38 by Martin Nilsson <nilsson@fastmail.com>

Added change_namespace to move all elements from one namespace to a different one.

2019-07-24

2019-07-24 23:19:46 by Martin Nilsson <nilsson@fastmail.com>

Better selection of quote charactes.

2019-07-24 04:09:00 by Martin Nilsson <nilsson@fastmail.com>

Fix typo.

2019-07-24 04:07:37 by Martin Nilsson <nilsson@fastmail.com>

Significantly improved output.

2019-07-24 04:07:37 by Martin Nilsson <nilsson@fastmail.com>

Added set_text() to update the contents of a text node.

2019-07-18

2019-07-18 10:24:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Traditional]: Some more Sql details.

2019-07-17

2019-07-17 13:44:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Result: Added a default implementation of eof().

This fixes an issue where eg _sprintf() throws errors for some drivers.

2019-07-15

2019-07-15 10:24:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike197'

* patches/pike197:
Mysql.Result: Update the index counter when fetching rows.

2019-07-15 10:22:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql.Result: Update the index counter when fetching rows.

Call Sql.Result::increment_index() at relevant places.

Fixes testsuite failure.

Fixes PIKE-197 (#8197).

2019-07-11

2019-07-11 13:08:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SQLite]: Fixed some AutoDoc markup issues.

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

Compiler: Warn about indexing of deprecated values.

2019-07-08

2019-07-08 09:43:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Traditional]: Extended the graphics chapters.

2019-07-07

2019-07-07 10:57:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Dokumentation [Traditional]: Added chapter "Threads".

2019-07-06

2019-07-06 10:01:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Traditional]: Added some sections.

2019-07-05

2019-07-05 10:45:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Traditional]: Sectioned the DB access chapter.

2019-07-04

2019-07-04 12:45:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Traditional]: Added some structure to the I/O chapter.

2019-07-02

2019-07-02 10:43:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Traditional]: Move SQLite to the Database page.

2019-07-01

2019-07-01 11:01:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Move operators to the Operators chapter.

They were hidden in the "The rest" chapter...

Also adds some minimal documentation of the **-operator.

2019-06-26

2019-06-26 16:16:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Sybase]: Fixed broken AutoDoc markup.

Fixes the inheritance graph for predef::...

2019-06-26 15:55:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Mysql]: Fixed some Autodoc markup typos.

2019-06-24

2019-06-24 21:48:45 by Stephen R. van den Berg <srb@cuci.nl>

SSL.File: Add support for set_nodelay().

2019-06-24 16:25:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Stack: Added pop_to().

This is useful to undo an unknown number of push()es.

2019-06-24 12:54:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Constants: Renamed some EdDSA-related constants for consistency.

2019-06-23

2019-06-23 22:31:55 by Tobias S. Josefowitz <tobij@tobij.de>

Merge branch 'tobij/fix-precompile-get-storage_2'

* tobij/fix-precompile-get-storage_2:
Tools.Standalone.precompile: Fix storage offset handling

2019-06-23 21:56:56 by Tobias S. Josefowitz <tobij@tobij.de>

Tools.Standalone.precompile: Fix storage offset handling

Programs using their parent may store parent information in the
beginning of ->storage, thus we need to add
p->inherits[0].storage_offset when trying to reach an object's storage.
The compiler/runtime correctly takes care of this in THIS, but the OBJ2_
and GET_..._STORAGE macros did not take this into account.

2019-06-23 18:44:22 by Tobias S. Josefowitz <tobij@tobij.de>

Locale: Reintroduce deprecated Charset alias

This reverts commit f64cba1ff832383ac7a46b4bbe8a0264700de976.
This reverts commit ffedb3787383db78beddce529eda0bde7e24d40b.

In Pike 8.0.* and below, no deprecation warnings were issued by the
compiler when accessing Locale.Charset, as the deprecated status of
Locale.Charset was hidden from the compiler by a joinnode. In 8.1, the
master will now issue deprecation warnings in such cases. Hence,
re-adding the deprecated Locale.Charset alias seems like a good idea for
users to have a good chance of noticing the deprecated status with an
8.1 release etc. before final removal of the alias in a future release.

2019-06-22

2019-06-22 09:49:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Web.Sass]: Make the doc appear in the correct place.

2019-06-21

2019-06-21 09:07:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Pike.InhibitDestruct]: Added some cross-references.

2019-06-20

2019-06-20 16:22:08 by Stephen R. van den Berg <srb@cuci.nl>

Sass: Create pike -x sass SCSS compilation tool.

2019-06-20 12:07:05 by Stephen R. van den Berg <srb@cuci.nl>

Doc fix.

2019-06-18

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

HTTP.Server.Request: Restore backward compatibility and fixes to Shuffler.

Changes to HTTP.Server.Request:
- Support set_mode() in HTTP.Server.Request to optionally enable
Shuffler to output the data on the wire. Without setting it, it
will revert to the old buffered-output method.
- Reinstate write-timeout on HTTP.Server.Request, make sure it works
in both classic and Shuffler modes.

Changes to Shuffler:
- Add automatic TCP_CORK support.
- Clean up code duplication between shuffler and sendfile.
- Move wrap_callback from a separate member to an optional argument
to add_source().
- Add support for Stdio.Buffer.
- Adding empty sources works consistently now.
- Fix broken cornercases when adding strings or memory regions.
- Fix dataloss when using non-blocking io on input files.
- Support starting in a file at the spot where the filepointer is.
- Add start/length arguments to the main Shuffle object, to skip and
limit in the entire concatenated output (needed for HTTP-range support).

2019-06-18 13:54:58 by Stephen R. van den Berg <srb@cuci.nl>

Pipe.Gzip: Moved and renamed to a more generic spot.

2019-06-18 12:57:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Locale]: Some minor adjustments.

2019-06-15

2019-06-15 02:25:00 by Stephen R. van den Berg <srb@cuci.nl>

Gz.Pipe.Uncompress/Transmogrify: Add parent class and Uncompress pipe.

2019-06-14

2019-06-14 14:16:33 by Stephen R. van den Berg <srb@cuci.nl>

Gz: Put classes in separate files to lower memory footprint.

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

Stdio.Buffer: Stricter types.

Use string(8bit) in more places.

2019-06-14 12:07:25 by Stephen R. van den Berg <srb@cuci.nl>

Gz.Pipe.Compress: New non-blocking compression pipe.

2019-06-14 11:50:17 by Stephen R. van den Berg <srb@cuci.nl>

Shuffler.Shuffle: Numerous fixes and add set_wrap_callback().

The fixes include:
- Fixed broken end-of-stream detection for d_source_pikestream.c.
- Reduce memory footprint of source-structs by half.
- Fixed memory corruption issues because a memcpy was used on
overlapping regions.
- Eliminated all dynamic memory allocations in the shuffler.
For file-descriptor based streams it still has a fixed overhead of 16KB
per stream, for all other streams the overhead now is close to zero.

Still TODO:
- Reduce the memory overhead for fd-based streams by half; it uses
double buffering now, it could trivially be reduced to use a single
buffer.

2019-06-14 11:50:17 by Stephen R. van den Berg <srb@cuci.nl>

HTTP.Server.Request: Use Shuffler to send and support sending chunked data.

2019-06-12

2019-06-12 09:17:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike: Move DestructImmediate to the Pike module.

2019-06-11

2019-06-11 18:09:09 by Stephen R. van den Berg <srb@cuci.nl>

FakePipe: Optimise and allow internal sockets to be destructed independently.

2019-06-10

2019-06-10 22:25:31 by Stephen R. van den Berg <srb@cuci.nl>

FakePipe: Numerous bugfixes; it actually works now.

Fixes include:
- Callback handling rationalised, fixed and optimised.
- Eliminate double inheritance which caused subtle conflicts.
- Changes the API to use ->other instead of ->get_other().
- Use single references to mux and cond variables.

2019-06-10 13:50:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Constants: Added some constants for RSA PSS signatures.

2019-06-04

2019-06-04 11:26:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve25519: Added pkcs_eddsa_id().

This is useful for finding the correct curve to use, given
an eddsa_id, as it differs from the corresponding curve_id.

Also updates some RFC references to reference RFC 8410.

2019-06-03

2019-06-03 15:39:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Nettle]: Fixed typo in doc.

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

2019-05-29 14:52:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SSL.Constants]: Updated AutoDoc.

2019-05-28

2019-05-28 11:38:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Use SignatureScheme instead of array({Hash,Signature}Algorithm).

2019-05-28 09:25:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Renumbered HASH_* in preparation for using SignatureScheme.

2019-05-26

2019-05-26 17:15:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Constants: Fixed typo.

2019-05-26 10:48:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.constants: Added some entries from RFC 8422.

2019-05-25

2019-05-25 14:10:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS: Updated with references to RFC 8410.

2019-05-24

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

Web.Api: Add and rewrite support for all Google APIs (past/present/future).

2019-05-23

2019-05-23 14:36:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added query_{success,failure}_callbacks().

2019-05-22

2019-05-22 15:42:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Standalone.precompile: Improved doc.

2019-05-12

2019-05-12 21:43:44 by Tobias S. Josefowitz <tobij@tobij.de>

Compiler: Export state of no_deprecation_warnings

... in the active compilation to Pike.

2019-05-12 21:43:44 by Tobias S. Josefowitz <tobij@tobij.de>

EFUNs: Add typeof_identifier()

typeof_identifier(prog, identifier) returns the type of a named
identifier in the program.

2019-05-12 21:43:44 by Tobias S. Josefowitz <tobij@tobij.de>

EFUNs: Add deprecated_typep() efun.

2019-05-12 21:43:44 by Tobias S. Josefowitz <tobij@tobij.de>

Compiler: export current_{line,file}

2019-05-05

2019-05-05 00:21:38 by Martin Nilsson <nilsson@fastmail.com>

Implemented MD5-sess algorithm.

2019-05-05 00:13:36 by Martin Nilsson <nilsson@fastmail.com>

Support verifying that the nonce used actually came from the server.

2019-05-04

2019-05-04 16:36:45 by Martin Nilsson <nilsson@fastmail.com>

Added support for Digest MD5

2019-05-04 12:37:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.ProxyFactory: Added new function.

This is a factory for creating classes that act as a proxy
for the specified program.

2019-05-01

2019-05-01 13:40:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Master: Re-hook global constants on replace_master().

replace_master() sets the variable is_pike_master in the object
that is to be the new master to 1. Catch this with a setter so
that global functions implemented by the master are actually
implemented by the active master.

This mostly affects the test suite, which replaces and restores
master objects several times.

2019-04-30

2019-04-30 23:34:34 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent.Promise: Introduce delay() and optimise timeout().

2019-04-29

2019-04-29 21:55:41 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent.Promis: Fix/optimise delay() and timeout().

2019-04-26

2019-04-26 15:22:37 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent.Promise: Add delay() member to delay the future.

2019-04-24

2019-04-24 14:34:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Toole.Standalone.test_pike: Complain about calls of handle_error().

2019-04-12

2019-04-12 09:48:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System.Memory: Stricter types for p{read,write}*().

Also fixes the typo in the type for pread{16,32}n().

2019-04-11

2019-04-11 18:23:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT: Protect even more lfuns.

2019-04-11 18:21:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: get_iterator() now passes extra args to lfun::_get_iterator().

2019-04-11 17:00:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT: Protect lots of lfuns.

2019-04-11 16:04:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Protect lots of lfuns.

2019-04-06

2019-04-06 15:05:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.InhibitDestruct: New API for inhibiting destruction.

2019-04-05

2019-04-05 18:20:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: lfun::_destruct() may now inhibit explicit destruction.

lfun::_destruct() returning 1 now causes the object to survive
an explicit destruct() call. Note that the object will still
be destructed if the destruct is for any other reason.

2019-04-02

2019-04-02 11:42:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Support arrays in program_from_svalue() et al.

They now handle arrays in the same manner as inherit.

2019-03-30

2019-03-30 17:48:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Pike.Backend]: Improved markup.

Pike.Backend and Pike.SmallBackend are now documented as
classes (instead of as constants).

This makes the documentation show up where people expect it.

2019-03-20

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

Documentation [master]: Added some AutoDoc mk II markup.

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-19 09:53:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/thread-farm'

* grubba/thread-farm:
Thread.Farm: Added ResultWrapper.

2019-03-19 09:50:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.Farm: Added ResultWrapper.

This is a wrapper for the Result class to detect when the user
loses its reference to it, in order to not lose reports of any
errors from the worker threads.

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

2019-03-09 12:24:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.Annotations: Added Override annotation.

This annotation verifies that the annotated symbol also
exists in one of the inherited programs.

2019-03-08

2019-03-08 17:36:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Call end_pass_identifier() for identifier annotations.

2019-02-28

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

Concurrent.Future: Added wait().

This differs from get() in that it will not throw on failure.

2019-02-28 15:02:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added wait().

This differs from get() in that it will not throw on failure.

2019-02-27

2019-02-27 15:53:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Promise: Reduce number of complaints.

Don't complain about dropping promises that have no corresponding
future on the floor. As the promises have no future, nobody is
affected by them not being fulfilled.

2019-02-26

2019-02-26 12:15:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: backtrace() now takes an optional argument.

Calling backtrace() with an argument of 1 now causes
it to return an array(LiveBacktraceFrame) instead of
an array(BacktraceFrame).

2019-02-24

2019-02-24 20:47:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Builtin.LiveBacktraceFrame: Initial implementation.

NB: Some features are still missing.

2019-02-18

2019-02-18 13:28:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Concurrent]: Note where backend state isn't propagated.

2019-02-18 13:28:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added promise_factory().

This makes propagating state to new Promises easier.

New Promises are now created with the same backend as
the Promise they originated from.

2019-02-18 10:38:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Concurrent]: Note where backend state isn't propagated.

2019-02-18 10:35:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added promise_factory().

This makes propagating state to new Promises easier.

New Promises are now created with the same backend as
the Promise they originated from.

2019-02-15

2019-02-15 14:07:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Concurrent]: Added note about backend disabled mode.

2019-02-15 14:07:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added {get,set}_backend().

This makes it possible to have a custom Pike.Backend handle
the callbacks for the Future.

2019-02-15 14:07:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added internal function call_callback().

This makes it possible to adjust the way that callbacks are
called via overloading. The typical use case is for wanting
callbacks to be called by some other thread than the backend.

2019-02-13

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

Documentation [Concurrent]: Added note about backend disabled mode.

2019-02-13 09:58:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added {get,set}_backend().

This makes it possible to have a custom Pike.Backend handle
the callbacks for the Future.

2019-02-13 09:52:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Added internal function call_callback().

This makes it possible to adjust the way that callbacks are
called via overloading. The typical use case is for wanting
callbacks to be called by some other thread than the backend.

2019-02-02

2019-02-02 16:33:53 by Marcus Comstedt <marcus@mc.pp.se>

Merge branch 'marcus/exif_sanitization'

2019-02-02 15:47:49 by Marcus Comstedt <marcus@mc.pp.se>

Merge branch 'marcus/exif_sanitization' into 8.0

2019-02-02 15:28:09 by Marcus Comstedt <marcus@mc.pp.se>

Image: Add convenience functions applying EXIF decoding and rotation

The functions Image.Dims.exif_get() and Image.exif_decode() work like
Image.Dims.get() and Image._decode(), except that if the image happens
to be JPEG the EXIF aware functions Image.Dims.exif_get_JPEG and
Image.JPEG.exif_decode are used.

2019-02-02 15:25:44 by Marcus Comstedt <marcus@mc.pp.se>

Image.Dims: Revert EXIF flipping of dimensions in get_JPEG

Like for JPEG._decode, add a specific exif_get_JPEG which does the
flipping instead.

2019-02-02 09:30:19 by Tobias S. Josefowitz <tobij@tobij.de>

Stdio: Buffer mode now uses ->write(Stdio.Buffer()) API

As part of this change, the Stdio.Buffer()->__fd_set_output() API got
replaced by Stdio.Buffer()->__set_on_write(), and users (File and
SSL.File) have been adopted to use it.

2019-02-02 09:20:01 by Tobias S. Josefowitz <tobij@tobij.de>

GSSAPI: Autodoc typo fixes

2019-02-01

2019-02-01 22:53:33 by Tobias S. Josefowitz <tobij@tobij.de>

Compiler: Fix autodoc typo

2019-01-26

2019-01-26 14:06:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Moved doc for {base,dir}name().

2019-01-24

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

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

2019-01-21

2019-01-21 12:58:28 by Chris Angelico <rosuav@gmail.com>

Fix a couple of docs typos

2019-01-21 12:57:32 by Chris Angelico <rosuav@gmail.com>

Fix a couple of docs typos

2019-01-06

2019-01-06 14:48:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Master: Support __HAVE_COMPILER_NO_HANDLERS__.

Implement support for handlers by overloading the CompilerEnvironment.

2019-01-04

2019-01-04 14:33:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs [Master]: get_active_{compilation,error}_handler() moved to master.

This is in preparation for moving all handler stuff to the master.

2019-01-02

2019-01-02 10:21:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread: Mark simulated MutexKey objects for immediate destruction.

2019-01-01

2019-01-01 14:00:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Master: Mark Describer objects for immediate destruction.

2018-12-29

2018-12-29 14:56:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Master]: Added some more doc.

2018-12-28

2018-12-28 14:09:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

AutoDoc: Added some support for parsing annotations.

2018-12-27

2018-12-27 13:39:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Master]: Added some minimal AutoDoc markup.

2018-12-19

2018-12-19 12:11:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

LFUNs: Added magic lfun ::_annotations().

2018-12-19 09:37:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike156' into 8.0

* patches/pike156:
EFUNs: Hide mutex keys and crypto contexts from backtraces.

2018-12-18

2018-12-18 17:47:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike156'

* patches/pike156:
EFUNs: Hide mutex keys and crypto contexts from backtraces.

2018-12-18 17:10:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Hide mutex keys and crypto contexts from backtraces.

Having unexpected references to mutex keys may cause hangs and
complaints about attempting to lock mutexes recursively.

Fixes PIKE-156 (#8156).

2018-12-14

2018-12-14 10:19:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Promise: Reduce number of complaints.

Don't complain about dropping promises that have no corresponding
future on the floor. As the promises have no future, nobody is
affected by them not being fulfilled.

2018-12-13

2018-12-13 10:51:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Return an array(multiset) from predef::annotations().

A multiset is a more natural datatype for the set of annotations.

NB: The low-level code still uses arrays; this will most likely
be changed later.

2018-12-09

2018-12-09 10:45:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Added m_add().

This function adds (as opposed to inserts) an element to a multiset.

Also adds corresponding (fake) lfun::_m_add().

2018-12-08

2018-12-08 16:45:47 by Marcus Comstedt <marcus@mc.pp.se>

Make werror() (and by extension exit()) respect current locale

This makes it possible to output non-ASCII text and still have it
legible in all environments. write() still outputs binary data,
and so will werror() and exit() in 8.0 compat mode.

Also, restore master.pike.in to ISO-8859-1 encoding, which is the only
one supported for the master, and remove the (now superfluous and)
aribitrary use of string_to_utf8() for the copyright message.

2018-12-08 16:04:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: m_clear() now supports multisets and objects.

Adds LFUN _m_clear().

2018-12-08 15:31:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch '8.1'

* 8.1:
Thread.Condition: Improve docs.
pgsql: Avoid excessive latency on frequent ping()s.

2018-12-07

2018-12-07 10:41:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: m_delete() now supports operation on multisets.

2018-12-07 09:10:50 by Stephen R. van den Berg <srb@cuci.nl>

Thread.Condition: Improve docs.

2018-12-06

2018-12-06 23:50:35 by Stephen R. van den Berg <srb@cuci.nl>

Thread.Condition: Improve docs.

2018-12-03

2018-12-03 15:19:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Adjusted API for lfun::_annotations().

The API for lfun::_annotations() now aligns better with the
APIs for lfun::_indices(), lfun::_values() and lfun::_types().

Also adds some minimal documentation for some undocumented lfuns.

2018-12-01

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

EFUNs: Added predef::annotations().

This function returns the annotations (if any) corresponding to the
symbols returned by indices() on the same value.

Also adds lfun::_annotations().

2018-11-19

2018-11-19 13:17:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.Annotations.Implements: Added initial implementation.

This annotation causes the compiler to validate that
the annotated class implements the specified API.

2018-11-17

2018-11-17 15:08:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added Pike.Annotation.

The compiler now calls end_pass() in any annotations on the
program being compiled once each compiler pass.

2018-11-04

2018-11-04 15:47:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'master' of https://github.com/mkrawczuk/Pike

* 'master' of https://github.com/mkrawczuk/Pike:
if -> else if
Enable string import of single files. Throw error on failed import.

2018-11-04 15:37:24 by Mateusz Krawczuk <209147@student.pwr.edu.pl>

if -> else if

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 Arne Goedeke <el@laramies.com>

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

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.Buffer: added allocate() and advance()

2018-11-03

2018-11-03 15:16:32 by Martin Nilsson <nilsson@fastmail.com>

Added program.h to module.h

2018-10-28

2018-10-28 13:24:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

sprintf: Support floats in %p.

2018-10-12

2018-10-12 13:23:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Threads]: Some notes about interrupt() and kill().

2018-10-10

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

Stdio.Buffer: Added support for escapes to read_cstring().

2018-10-09

2018-10-09 14:47:17 by Jonas Walld?n <jonasw@roxen.com>

Fix refdoc typo.

2018-10-09 14:46:30 by Jonas Walld?n <jonasw@roxen.com>

Fix refdoc typo.

2018-09-26

2018-09-26 11:32:56 by Per Cederqvist <cederp@opera.com>

Array.sum_arrays: Fix autodoc typo

The function is called "sum_arrays", with a trailing "s", but the
example in the documentation said "sum_array".

2018-09-25

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

Protocols.WebSocket: Added low_{connect,websocket_accept}().

Backport from Pike 8.1:

This breaks out the generation of WebSocket HTTP headers to
separate functions, which makes the modules easier to instrument
for testing.

Also adds the symbolic constant websocket_version.

2018-09-23

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

Threads.Mutex: Added cond().

This creates a Thread.Condition bound to the mutex.

2018-09-20

2018-09-20 14:29:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML.Tree.XMLParser: Improved support for node factories.

The node_factory() function(s) in unclosed element nodes (aka container
nodes) will now be called to create the contained nodes. This allows
for having different node factories in different parts of the XML-tree.

CAVEAT EMPTOR:
This changes the creation order for container nodes; they are
now created BEFORE the contained nodes, previously they were
created AFTER the contained nodes.

Also fixes NULL-dereference in obscure case.

2018-09-16

2018-09-16 09:54:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Threads.Cond: Validate that the expected mutex is used.

2018-09-14

2018-09-14 15:27:01 by Jonas Walld?n <jonasw@roxen.com>

Fix copy-paste error in refdoc.

2018-09-14 15:25:07 by Jonas Walld?n <jonasw@roxen.com>

Fix copy-paste error in refdoc.

2018-09-12

2018-09-12 09:21:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cpp: Added some optional parameters to define_macro().

Renumber the CPP_MACRO_* values, so that the ones useful for
users (CPP_MACRO_VARARGS and CPP_MACRO_KEEP_NL) come first.

define_macro() now accepts two additional optional arguments;
numargs and flags.

2018-09-11

2018-09-11 10:47:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cpp: Use less magic for __VERSION__ et al.

__VERSION__, __MAJOR__, __MINOR__, __COUNTER__ and __DIR__ are
now implemented with pike-level functions.

2018-09-03

2018-09-03 11:52:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Added m_clear().

2018-08-31

2018-08-31 10:59:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cpp: Macro expansion failure is now indicated by returning 0.

2018-08-30

2018-08-30 13:02:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Added note about inherit of CompilerEnvironment.

2018-08-17

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

Cpp: Added cpp_error().

2018-08-13

2018-08-13 13:54:23 by Per Cederqvist <cederp@opera.com>

Documentation [Cpp]: Fix documentation markup error.

Fixes remainder of LysLysKOM 22790861.

2018-08-09

2018-08-09 09:27:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cpp: Simplified base implementation of report().

The base implementation of CompilerEnvironment.CPP::report()
now just calls CompilerEnvironment::report() in its parent.

The handling of handler and compat_handler in report()
is moved to the implementation in the master.

2018-08-05

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

Whitespace changes.

2018-08-05 10:04:47 by Marcus Comstedt <marcus@mc.pp.se>

Thread.ResourceCountKey: Make destruct immediate

2018-07-18

2018-07-18 12:43:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Added get_active_compiler().

This function could be used to implement get_active_error_handler()
and get_active_compilation_handler().

API clean up in preparation for moving handling of handlers
to code written in Pike.

2018-07-10

2018-07-10 13:13:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

CompilerEnvironment: Added handle_import().

2018-07-07

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

Compiler: Cleaned up the resolv() calling conventions.

CompilerEnvironment()->PikeCompiler()->resolv() now takes a single
argument, and looks up the current file and handlers from the
PikeCompiler object, and then calls CompilerEnvironment()->resolv().

The actual calling of resolv() in the handlers is now performed
by CompilerEnvironment()->resolv().

2018-07-02

2018-07-02 09:48:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'pike-modules/sass' into 8.0

* pike-modules/sass:
Documentation [Sass]: Some clarifications regarding sass2scss().
Added method sass2scss to convert Sass syntax to SCSS syntax.

2018-07-02 09:47:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'pike-modules/sass' into 8.1

* pike-modules/sass:
Documentation [Sass]: Some clarifications regarding sass2scss().
Added method sass2scss to convert Sass syntax to SCSS syntax.

2018-07-02 09:39:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Sass]: Some clarifications regarding sass2scss().

2018-06-28

2018-06-28 08:14:07 by Pontus Östlund <ponost@roxen.com>

Added method sass2scss to convert Sass syntax to SCSS syntax.

2018-06-26

2018-06-26 09:38:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'pike-modules/sass' into 8.0

* pike-modules/sass:
Added the option "sass_syntax".
Fixed broken indentation

2018-06-25

2018-06-25 12:18:40 by Pontus Östlund <ponost@roxen.com>

Added the option "sass_syntax".

This option will parse the input as having indented Sass syntax. This option only has effect in compile_string().

Also wrapped an unused argument in UNUSED().

2018-06-25 11:43:09 by Pontus Östlund <ponost@roxen.com>

Added the option "sass_syntax".

This option will parse the input as having indented Sass syntax. This option only has effect in compile_string().

Also wrapped an unused argument in UNUSED().

2018-06-17

2018-06-17 13:51:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Stack: Added peek().

2018-06-08

2018-06-08 13:22:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.get_runtime_info: Report the size of time_t too.

Adds the entry "time_size" to the result from Pike.get_runtime_info().

2018-06-01

2018-06-01 11:06:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

MasterObject: Validate utf8_string contents in -rt mode.

2018-05-25

2018-05-25 12:20:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike111' into 8.0

* patches/pike111:
Sql.mysql / Mysql.SqlTable: Use UTF-8 encoded UTF-16 in a couple of other applicable cases.
Sql.mysql: Use/support UTF-8 encoded UTF-16.
Testsuite [utf8_to_string]: Fixed typo.
EFUNs: Support encoding to UTF-8 encoded UTF-16 in string_to_utf8().

2018-05-24

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

Merge branch 'patches/pike111' into 8.1

* patches/pike111:
EFUNs: Support encoding to UTF-8 encoded UTF-16 in string_to_utf8().

2018-05-24 09:40:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Support encoding to UTF-8 encoded UTF-16 in string_to_utf8().

string_to_utf8() now supports the same extensions as utf8_to_string().

Fixes PIKE-111 (#8111).

2018-05-19

2018-05-19 18:33:28 by Arne Goedeke <el@laramies.com>

CPP: fixed refdoc comment

2018-05-19 15:54:23 by Arne Goedeke <el@laramies.com>

Documentation: corrected documentation on set operators

The operators |, &, - and ^ on arrays rely on the content having an
ordering which is compatible with `==. Mention this in the
documentation, as this will otherwise lead people to writte buggy
code.

2018-05-19 15:46:46 by Arne Goedeke <el@laramies.com>

master: fixed refdoc comment

2018-05-18

2018-05-18 12:27:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Rewrite of validate_utf8().

Changed validation approach in validate_utf8() to simplify
the code, and make it easier to read/understand.

Also adds some corresponding testsuite tests.

2018-05-17

2018-05-17 15:33:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Added validate_utf8().

This efun checks whether a string is valid UTF-8 or not.

2018-05-16

2018-05-16 11:30:09 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add streaming_typed_query() method to avoid emulate_bindings().

2018-05-15

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

Debug.Rapidlog: New module for loggingfloods with minimal latency.

2018-05-14

2018-05-14 22:47:25 by Martin Nilsson <nilsson@fastmail.com>

Simple code to support javascript

2018-05-13

2018-05-13 10:30:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Efuns: Support little-endian input in string2hex().

2018-05-11

2018-05-11 22:54:24 by Stephen R. van den Berg <srb@cuci.nl>

sprintf: Officially support %p to display addresses.

2018-05-11 15:29:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate rare deadlock on heavy interleaved queries tuned.

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

pgsql: Eliminate rare deadlock on heavy interleaved queries tuned.

2018-05-10

2018-05-10 12:21:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/fdlib' into 8.0

* grubba/fdlib:
System [NT]: Update normalize_path() to use UTF8.

2018-05-10 12:17:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/fdlib' into 8.1

* grubba/fdlib:
System [NT]: Update normalize_path() to use UTF8.

2018-05-10 12:15:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System [NT]: Update normalize_path() to use UTF8.

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

2018-05-07 08:51:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: affected_rows() now preserves as of yet unfetched rows.

2018-05-07 08:44:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: affected_rows() now preserves as of yet unfetched rows.

2018-05-07 08:44:10 by Stephen R. van den Berg <srb@cuci.nl>

Sql: Tighten up documentation.

2018-05-06

2018-05-06 17:36:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Result: Added increment_index().

2018-05-03

2018-05-03 09:40:01 by Karl Gustav Sterneberg <kg@roxen.com>

MIME: Setter for message boundary prefix.

2018-05-03 09:39:05 by Karl Gustav Sterneberg <kg@roxen.com>

MIME: Setter for message boundary prefix.

2018-05-02

2018-05-02 21:24:26 by Stephen R. van den Berg <srb@cuci.nl>

Sql: Formalise blocking nature of affected_rows(), improve docs.

2018-05-02 09:31:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'pike-modules/sass' into 8.0

* pike-modules/sass: (91 commits)
Sass: Use ONERROR to free sass contexts on error.
Sass: Unlink stale JMPBUF.
Sass: Fixed indentation.
Added some tests for Sass compilation errors.
Just some cleanup of a simple test.
Transfered "ownership" of error message from libsass to Pike.
Fixed stupid Emacs indentation.:wq
Testsuite [Sass]: Fixed detection of Web.Sass some more.
Testsuite [Sass]: Updated testsuite to the moved module.
Sass: Move module to Web.Sass.
Sass: Hide the module when not available.
Install: Added Tools.Sass to the feature list.
Testsuite [Sass]: Check that Tools.Sass is available.
Sass: Hide the s8 symbol.
Sass: Use HAVE_LIBSASS instead of HAVE_SASS_H.
Sass: Clean up configure script.
Sass: Clean up acheader.h.
Sass: Removed redundant cast.
Sass: Adjusted debug message.
Sass: Fixed a few C99-isms.
...

2018-05-01

2018-05-01 09:01:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make affected_rows() and status_command_complete() wait for a meaningful result.

2018-05-01 08:55:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make affected_rows() and status_command_complete() wait for a meaningful result.

2018-04-26

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

I/O [NT]: Use new low-level functions from Process.

2018-04-22

2018-04-22 20:50:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Efuns: Use utf8_string in string_to_utf8() and utf8_to_string().

2018-04-18

2018-04-18 15:06:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Added some support for generating JWK Thumbprints.

Cf RFC 7638.

2018-04-13

2018-04-13 08:49:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'pike-modules/sass' into 8.1

* pike-modules/sass:
Sass: Move module to Web.Sass.
Sass: Hide the module when not available.

2018-04-13 08:45:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sass: Move module to Web.Sass.

2018-04-12

2018-04-12 09:26:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'pike-modules/sass' into 8.1

* pike-modules/sass: (79 commits)
Testsuite [Sass]: Check that Tools.Sass is available.
Sass: Hide the s8 symbol.
Sass: Use HAVE_LIBSASS instead of HAVE_SASS_H.
Sass: Clean up configure script.
Sass: Clean up acheader.h.
Sass: Removed redundant cast.
Sass: Adjusted debug message.
Sass: Fixed a few C99-isms.
Sass: Don't throw pike errors through the libsass layer.
Sass: Error messages need to end with a line feed.
Sass: Cleaned up documentation a bit.
Sass: Fix building in a separate build tree.
Sass: Generate config.h.in from acconfig.h.
Sass: Removed obsolete stuff from Makefile.in.
Sass: Removed quite a bit of stuff.
...

2018-04-11

2018-04-11 11:20:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sass: Cleaned up documentation a bit.

2018-04-11 09:58:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge github.com:poppa/pike-libsass into patches/pike89

* github.com:poppa/pike-libsass: (64 commits)
[...]

2018-04-08

2018-04-08 18:11:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Stat: Added lfun::_equal().

2018-04-05

2018-04-05 13:03:50 by Martin Karlgren <marty@roxen.com>

Filesystem.Monitor: Add set_stable_time() function.

2018-04-05 13:02:42 by Martin Karlgren <marty@roxen.com>

Filesystem.Monitor: Fix race condition on file deletion.

This fixes a race that could occur on rapid exists => delete => exists
transitions, where the directory monitor never noticed the change but the
sub monitor was removed from the monitor lookup mapping. The directory
monitor is now notified on sub-monitor release.

2018-04-05 13:00:32 by Martin Karlgren <marty@roxen.com>

Filesystem.Monitor: Add set_stable_time() function.

2018-04-05 12:57:21 by Martin Karlgren <marty@roxen.com>

Filesystem.Monitor: Fix race condition on file deletion.

This fixes a race that could occur on rapid exists => delete => exists
transitions, where the directory monitor never noticed the change but the
sub monitor was removed from the monitor lookup mapping. The directory
monitor is now notified on sub-monitor release.

2018-04-04

2018-04-04 12:40:22 by Jonas Walld?n <jonasw@roxen.com>

Added Thread.Farm()->set_thread_name_cb() to help applications that monitor
thread creation and termination for the purpose of tracking thread names.

2018-04-04 12:37:07 by Jonas Walld?n <jonasw@roxen.com>

Added Thread.Farm()->set_thread_name_cb() to help applications that monitor
thread creation and termination for the purpose of tracking thread names.

2018-04-02

2018-04-02 14:46:22 by Martin Nilsson <nilsson@fastmail.com>

Added convenience function to decrypt private key.

2018-03-30

2018-03-30 15:56:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Cpp]: Added some minimal documentation.

2018-03-08

2018-03-08 14:56:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cpp: Added C-implementation of a stack.

This class is API-compatible with ADT.Stack, and is intended to be used
by the preprocessor.

2018-03-07

2018-03-07 17:55:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto.ECC]: Added reference to rfc.

2018-03-06

2018-03-06 17:41:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Document some more of the master.

2018-03-04

2018-03-04 11:24:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [ADT.Stack]: Fixed some typos.

2018-02-25

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

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

2018-02-19

2018-02-19 17:54:08 by Martin Nilsson <nilsson@fastmail.com>

Remove some stale code and update documentatin.

2018-02-18

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

Somewhat more flexible opportunistic TLS implementation.

2018-02-17

2018-02-17 13:22:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto.Password]: Fixed typo.

2018-02-16

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

Improved type of Array.everynth

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

2018-02-09 18:34:48 by Martin Nilsson <nilsson@fastmail.com>

Put cp() in the global scope, as rm() and mv() are already there.

2018-02-09 14:08:14 by Martin Nilsson <nilsson@fastmail.com>

Fix documentation.

2018-02-09 12:05:48 by Stephen R. van den Berg <srb@cuci.nl>

Improve docs.

2018-02-09 11:54:50 by Stephen R. van den Berg <srb@cuci.nl>

Improve docs.

2018-02-08

2018-02-08 13:08:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Restore the @namespace directives in master.pike.

These were lost in the previous commit.

2018-02-08 13:02:44 by Stephen R. van den Berg <srb@cuci.nl>

Fix typos and docs.

2018-02-08 12:44:04 by Stephen R. van den Berg <srb@cuci.nl>

Fix typos and docs.

2018-02-07

2018-02-07 16:28:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Clean up rescheduling of backend_check().

2018-02-07 16:27:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Remove co_id == 1 special case.

The special case is no longer used as it was broken, so there's
no need to keep the code around.

2018-02-07 16:20:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Clean up rescheduling of backend_check().

2018-02-07 16:10:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Remove co_id == 1 special case.

The special case is no longer used as it was broken, so there's
no need to keep the code around.

2018-02-05

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

String.Buffer: Moved implementation.

Moves implementation of String.Buffer from builtin.cmod to
string_builder.cmod.

Adds initialization of the module to happen before that of cpp.
This will allow cpp.cmod to rely on String.Buffer to exist at
compile time.

2018-02-03

2018-02-03 13:32:56 by Martin Nilsson <nilsson@fastmail.com>

Deprecate RegGet*_76 and move RegGet* from efun to System.

2018-02-02

2018-02-02 16:12:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Compiler]: Test indices() values() on programs.

Symbols should only be listed once...

2018-02-01

2018-02-01 19:21:20 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Various improvements, bugfixes, backported from 8.1.

Add map_with() as an alias for flat_map().
Reduce lock contention and cleanup superfluous catches.
Clarify docs.
Free callbacks after use, frees memory and references.
Add convenience variant to zip() and extend testsuite.
Transparent automatic backend enable/disable.

2018-01-31

2018-01-31 19:13:26 by Stephen R. van den Berg <srb@cuci.nl>

strptime/strftime: Added at global level; rip out special strptime/strftime in Val.*.

2018-01-31 15:15:17 by Stephen R. van den Berg <srb@cuci.nl>

Sql: Make big_typed_query fallback to big_query.

2018-01-31 14:57:05 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Connection: Fallback big_typed_query() to big_query(), and streamline docs.

2018-01-29

2018-01-29 11:37:04 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Readding primitive auto-reconnect logic.

2018-01-29 11:36:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Readding primitive auto-reconnect logic.

2018-01-27

2018-01-27 11:32:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Nettle.BlockCipher]: Adjusted some references.

2018-01-25

2018-01-25 15:31:49 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Connection: Fix docs and prototypes.

2018-01-25 15:31:49 by Stephen R. van den Berg <srb@cuci.nl>

Sql: Fix several drivers to conform to new API.

2018-01-25 15:31:49 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Promise: Add support for eventbased mapping of resultrows.

2018-01-25 14:43:30 by Martin Nilsson <nilsson@fastmail.com>

HKDF rewrite. Should now be possible to use in TLS 1.3

2018-01-20

2018-01-20 12:52:48 by Stephen R. van den Berg <srb@cuci.nl>

Whitespace and doc fixes.

2018-01-20 12:46:32 by Stephen R. van den Berg <srb@cuci.nl>

Whitespace and doc fixes.

2018-01-19

2018-01-19 15:28:07 by Per Cederqvist <cederp@opera.com>

Always name the 4th argument of bind reuse_port instead of share

2018-01-19 10:12:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Debug.find_all_clones(): Fixed off by one issue.

It now seems to work as intended also when include_subclasses is true.

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

Debug.find_all_clones(): Fixed off by one issue.

It now seems to work as intended also when include_subclasses is true.

2018-01-18

2018-01-18 22:55:22 by Tobias S. Josefowitz <tobij@tobij.de>

MPI: Fix documentation for Init() and Finalize().

2018-01-18 22:55:22 by Tobias S. Josefowitz <tobij@tobij.de>

MPI: Add documentation.

2018-01-18 22:55:22 by Tobias S. Josefowitz <tobij@tobij.de>

MPI: Document MPI typed arrays.

2018-01-18 22:55:22 by Tobias S. Josefowitz <tobij@tobij.de>

MPI: mark callback lfuns as protected in MPI typed arrays.

2018-01-18 22:55:22 by Tobias S. Josefowitz <tobij@tobij.de>

MPI: Declare function type explicitly in refdoc comments

not providing the function signature produced function(:void), which was
misleading.

2018-01-18 22:55:22 by Tobias S. Josefowitz <tobij@tobij.de>

MPI: doc fix

2018-01-18 14:49:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Debug: Added find_all_clones().

2018-01-18 14:47:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Debug: Added find_all_clones().

2018-01-15

2018-01-15 11:07:07 by Martin Karlgren <marty@roxen.com>

Sql.sql_util.UnicodeWrapper: Inherit Sql.Result.

This avoids code duplication for fetch_row_array() and enables the
iterator API to work correctly.

2018-01-13

2018-01-13 17:40:48 by Martin Nilsson <nilsson@fastmail.com>

Fix yarrow sources type.

2018-01-13 17:38:47 by Martin Nilsson <nilsson@fastmail.com>

Improved types.

2018-01-13 17:30:43 by Martin Nilsson <nilsson@fastmail.com>

Improved types.

2018-01-12

2018-01-12 18:55:45 by Stephen R. van den Berg <srb@cuci.nl>

Restore part of AmigaOS support.

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

Missed a typo.

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-12 12:11:05 by Stephen R. van den Berg <srb@cuci.nl>

Equvivalent and equivalent are not equivalent.

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

Equvivalent and equivalent are not equivalent.

2018-01-12 06:45:52 by Martin Karlgren <marty@roxen.com>

Sql.sql_util.UnicodeWrapper: add fetch_row_array().

For compatibility with newer Sql.Result API.

2018-01-11

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

We do not support OS/2

2018-01-10

2018-01-10 11:40:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Added doc for Builtin._take_over_initial_predefines().

2018-01-08

2018-01-08 18:57:48 by Stephen R. van den Berg <srb@cuci.nl>

Val.Timestamp,Date: Support strftime()/strptime().

2018-01-06

2018-01-06 17:44:39 by Bill Welliver <bill@welliver.org>

JSON5: add flags to control quotation mark usage and identifier encoding in keys

2017-12-28

2017-12-28 01:14:21 by Stephen R. van den Berg <srb@cuci.nl>

Val.Range: Salvage SQL syntax for use in SQL subsystems.

2017-12-28 00:24:10 by Martin Nilsson <nilsson@fastmail.com>

Move to ISO date format to avoid mm/dd, dd/mm confusion.

2017-12-26

2017-12-26 23:48:46 by Stephen R. van den Berg <srb@cuci.nl>

Val.Range: Add !, <<, >>, isempty(), merge() and contains().

2017-12-26 10:54:41 by Stephen R. van den Berg <srb@cuci.nl>

mktime: Clarify docs.

2017-12-26 10:53:01 by Stephen R. van den Berg <srb@cuci.nl>

mktime: Clarify docs.

2017-12-26 08:59:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System.TM: Support initialization with bignums.

Fixes post-2038 support on ILP32 architectures with 64-bit time_t.

2017-12-23

2017-12-23 00:56:27 by Bill Welliver <bill@welliver.org>

JSON5: new module, not quite complete (missing proper symbolic numbers.)

2017-12-22

2017-12-22 16:40:48 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Clarify docs.

2017-12-22 16:39:28 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Clarify docs.

2017-12-22 10:32:28 by Chris Angelico <rosuav@gmail.com>

Update GTK2 docs from source

2017-12-22 10:32:28 by Chris Angelico <rosuav@gmail.com>

GTK2: Update docs to clarify intended style now that destroy() isn't a method

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

Nettle: Fix AES128_CTR_DRBG on ILP32 architectures.

1L<<48 is zero on ILP32...

Also some related ILP32 fixes for the reseed_interval getter/setter.

2017-12-22 02:35:04 by Martin Nilsson <nilsson@fastmail.com>

Convert Val to a directory and move the last pieces from builtin to it.

2017-12-21

2017-12-21 15:10:23 by Martin Nilsson <nilsson@fastmail.com>

Moved out time-code from __builtin to Val. Reduces start overhead and prevents clobber of System.Time.

2017-12-18

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

Documentation [Filesystem.Monitor]: Some clarifications.

2017-12-15

2017-12-15 01:38:11 by Stephen R. van den Berg <srb@cuci.nl>

TimeTZ: Add docs, finetune constructors.

2017-12-14

2017-12-14 12:25:58 by Stephen R. van den Berg <srb@cuci.nl>

Val.Timestamp: Polish docs.

2017-12-14 11:27:41 by Stephen R. van den Berg <srb@cuci.nl>

Val.TimeTZ: More testsuite entries, docs and fixes.

2017-12-14 03:14:45 by Stephen R. van den Berg <srb@cuci.nl>

Val.Time/Date: Small fixes, increased orthogonality of operators.

2017-12-14 02:12:24 by Stephen R. van den Berg <srb@cuci.nl>

Enhance docs.

2017-12-14 02:10:40 by Stephen R. van den Berg <srb@cuci.nl>

Enhance docs.

2017-12-14 02:03:17 by Stephen R. van den Berg <srb@cuci.nl>

Change constants into inherited classes to make them show up in refdoc. Performance penalties?

2017-12-14 01:36:19 by Stephen R. van den Berg <srb@cuci.nl>

Val.Timestamp et al: Moved the presence of the new types from the root to Val for now.

2017-12-14 00:00:26 by Stephen R. van den Berg <srb@cuci.nl>

Timestamp/Date/Range/Inet: Operator orthogonality improved, testsuite expanded accordingly.

2017-12-13

2017-12-13 22:16:05 by Stephen R. van den Berg <srb@cuci.nl>

Timestamp/Date/Inet/Range: Documentation updates and fixes.

Enhance orthogonality of the operators.
Simplify the implementation of the operators (reduce codesize).

2017-12-13 12:40:32 by Stephen R. van den Berg <srb@cuci.nl>

Timestamp/Date/Inet/Range: First stab at proper documentation.

2017-12-13 10:41:07 by Stephen R. van den Berg <srb@cuci.nl>

Daylight 'savings' spelling corrections.

2017-12-13 10:39:56 by Stephen R. van den Berg <srb@cuci.nl>

Daylight 'savings' spelling corrections.

2017-12-12

2017-12-12 13:41:02 by Martin Nilsson <nilsson@fastmail.com>

Sparse list of version support added.

2017-12-11

2017-12-11 21:31:18 by Martin Nilsson <nilsson@fastmail.com>

Added SHA512/224 and SHA512/256

2017-12-11 21:04:07 by Stephen R. van den Berg <srb@cuci.nl>

Range: Reuse Math.inf etc; Use NetUtils.

2017-12-11 14:45:10 by Stephen R. van den Berg <srb@cuci.nl>

Add missing global types.

2017-12-11 13:19:37 by Stephen R. van den Berg <srb@cuci.nl>

Val: Cleanup references.

2017-12-11 13:12:16 by Stephen R. van den Berg <srb@cuci.nl>

Val.NaN: Move definitions from __builtin to Val to avoid circularities.

2017-12-11 11:42:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make use of the new Date/Time/Inet/Range datatypes to support them in binary transfer.

2017-12-11 11:41:00 by Stephen R. van den Berg <srb@cuci.nl>

Val.nan: Introduce new Val values and native lightweight Date/Time/Inet/Range types.

2017-12-10

2017-12-10 01:14:30 by Martin Nilsson <nilsson@fastmail.com>

Added some new 1.3 constants.

2017-12-08

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

master: Added some minimal doc of describe_*().

2017-12-08 09:57:51 by Martin Nilsson <nilsson@fastmail.com>

Tumblr oauth URLs

2017-12-07

2017-12-07 13:58:07 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Timebase: Adjust SQL-native types to support nanosecond resolution.

2017-12-07 01:22:42 by Stephen R. van den Berg <srb@cuci.nl>

Sql: Add support for native Inet data type.

2017-12-06

2017-12-06 21:11:26 by Stephen R. van den Berg <srb@cuci.nl>

Sql: Add native support for Time, Date, Timestamp, Interval and TimeTZ types.

2017-12-06 21:11:26 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Transparent automatic backend enable/disable.

2017-12-06 16:56:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

master: Document the resolver some more.

2017-12-06 14:38:17 by Martin Nilsson <nilsson@fastmail.com>

Back out the thin convenience wrapper hash and hash_hmac. Replacements:
Crypto.hash(Crypto.SHA1, true)(x) -> Crypto.SHA1.hash(x)
Crypto.hash(Crypto.SHA1) -> sprintf("%x", Crypto.SHA1.hash(x))
Crypto.hash_hmac(Crypto.SHA1,k)(x, true) -> Crypto.SHA1.HMAC(k)(x)

2017-12-06 14:21:47 by Martin Nilsson <nilsson@fastmail.com>

RC4 is alias for Arcfour

2017-12-05

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

master: Added some documentation about the master filesystem.

2017-12-04

2017-12-04 19:20:58 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Reduce stackdepth, minimise catch() breadth.

2017-12-04 15:31:35 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Slight optimisation and typo fix.

2017-12-04 15:22:32 by Stephen R. van den Berg <srb@cuci.nl>

Promise: Update docs again.

2017-12-04 15:04:19 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Improve more docs.

2017-12-04 14:52:35 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Improve docs.

2017-12-04 14:13:30 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Add convenience variant to zip() and extend testsuite.

2017-12-04 13:47:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

master: Added some documentation.

2017-12-02

2017-12-02 12:52:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Support bignums in add_int{8,16,32}().

add_int8() and add_int16() now support getting called
with a bignum.

add_int32() with a bignum now ignores any bits outside
the 32-bit range.

2017-12-01

2017-12-01 07:58:56 by Stephen R. van den Berg <srb@cuci.nl>

Promise: Replace Promise with Promise2, slightly updated interface.

Most notable differences between HTTP.Promise2 and HTTP.Promise:
- Less filling (20% smaller compiled object file).
- Instead of two result objects, we simply have a single
HTTP.Promise.Result object which is passed both on_success()
and on_failure(). Why does the original separate this in a
Promise.Success and Promise.Failure type?
- Various code optimisations, that do not change the interface.
- The Result object lacks the ok() method. What use was/is it?
You should normally already know if you are a success or a failure
callback.
- The Result object returns the raw body through "data", and the decoded
body through get() (to conform more to standard Future objects).

2017-12-01 01:11:18 by Stephen R. van den Berg <srb@cuci.nl>

HTTP.Promise2: Offer get() instead of data in the Result object.

2017-12-01 00:48:06 by Stephen R. van den Berg <srb@cuci.nl>

HTTP.Promise2: Proposed changes/optimisation/simplification of HTTP.Promise.

2017-11-30

2017-11-30 12:19:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Hash: Stricter string types.

2017-11-30 12:09:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Hash.SCRAM: Moved class.

Move Crypto.SCRAM to __builtin.Nettle.Hash()->SCRAM analogous to
other similar APIs.

Crypto.SCRAM(Crypto.SHA256) is now Crypto.SHA256.SCRAM().

Also updates the testsuite and Sql.pgsql_util accordingly.

2017-11-30 11:52:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Hash.SCRAM: Moved class.

Move Crypto.SCRAM to __builtin.Nettle.Hash()->SCRAM analogous to
other similar APIs.

Crypto.SCRAM(Crypto.SHA256) is now Crypto.SHA256.SCRAM().

Also updates the testsuite and Sql.pgsql_util accordingly.

2017-11-28

2017-11-28 12:56:51 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Clarify docs.

2017-11-28 01:27:33 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Add use_backend() to allow promises without a running backend.

2017-11-27

2017-11-27 14:57:37 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Cleanup.

2017-11-27 14:57:37 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent.Promise: Reduce mutex contention, memory usage, simplify code, fix a few races.

2017-11-27 12:37:43 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent.Promise: Harmonise method names (failed -> failures).

2017-11-27 12:29:04 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent.Promise: Improve docs.

2017-11-27 11:42:48 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent.Promise: depend() fixes.

Rename apply_fold() to fold().
Add first_completed().
Add min_failed(), max_failed(), any_results().

2017-11-26

2017-11-26 20:22:07 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Add map_with() as an alias for flat_map().

2017-11-26 01:30:25 by Martin Nilsson <nilsson@fastmail.com>

Added support for automatic entropy underflow management.

2017-11-25

2017-11-25 22:29:30 by Martin Nilsson <nilsson@fastmail.com>

Added minimal AES128 CTR DRBG random generator from NIST SP800-90Ar1

2017-11-25 17:26:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Replaced resolv_program() with resolv_type().

The function resolv_program() (not to be confused with
resolve_program()) is no longer used, so remove it.

Move some inlined code from language.yacc to a function
called resolv_type().

2017-11-25 02:47:24 by Stephen R. van den Berg <srb@cuci.nl>

Sql.FutureResult: Rename raw_data -> data, and data -> get().

2017-11-24

2017-11-24 22:15:14 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Improve docs.

2017-11-24 22:13:11 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Improve docs.

2017-11-24 20:54:29 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Improve docs.

2017-11-24 20:53:28 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Improve docs.

2017-11-24 12:54:51 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Promise: Improve docs.

2017-11-24 11:23:59 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Promise: New & improved interface.

2017-11-24 09:21:17 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent.Future: depend(),fold() and apply_fold(); interfacechange.

2017-11-23

2017-11-23 11:16:20 by Stephen R. van den Berg <srb@cuci.nl>

Sql.FutureResult: Polish docs and internals; uses status_command_complete instead of exception.

2017-11-23 10:41:49 by Chris Angelico <rosuav@gmail.com>

Add history pop function to Readline for Hilfe's benefit

2017-11-23 09:19:16 by Stephen R. van den Berg <srb@cuci.nl>

Promise: Rename fold_finish() to apply_fold().

2017-11-23 01:31:17 by Stephen R. van den Berg <srb@cuci.nl>

Promise: Fix docs.

2017-11-22

2017-11-22 22:43:39 by Stephen R. van den Berg <srb@cuci.nl>

Promise: Add depend(), fold() and fold_finish() methods.

2017-11-22 20:04:58 by Stephen R. van den Berg <srb@cuci.nl>

Sql.FutureResult: Module was missing from the commits.

2017-11-22 14:54:23 by Stephen R. van den Berg <srb@cuci.nl>

Sql.FutureResult: Add a Concurrent.Promise interface to Sql.Connection.

2017-11-22 14:54:23 by Stephen R. van den Berg <srb@cuci.nl>

Fix docs.

2017-11-22 14:54:23 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Connection: Added missing methods (amongst others: asynchronous callbacks).

2017-11-21

2017-11-21 10:02:34 by Stephen R. van den Berg <srb@cuci.nl>

Doc fixes.

2017-11-21 09:58:25 by Stephen R. van den Berg <srb@cuci.nl>

Doc fixes.

2017-11-21 09:08:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added support for set_buffer_mode().

Adds support for user provided buffers in both directions.

Updates the {read,write,close}_callbacks to the current conventions of
Stdio.File (this includes defaulting the callback_id to this_object()).

Also adds some corresponding tests to the testsuite.

2017-11-21 09:04:20 by Stephen R. van den Berg <srb@cuci.nl>

SSL.File: Fix docs.

2017-11-21 01:26:52 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Create proxy object to avoid circular references.

2017-11-21 01:26:02 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify and bolster the code by using Thread.ResourceCount.

2017-11-21 01:26:02 by Stephen R. van den Berg <srb@cuci.nl>

Thread.ResourceCount: New module to implement resource counters.

2017-11-21 01:26:02 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: New module.

2017-11-21 00:58:08 by Stephen R. van den Berg <srb@cuci.nl>

SSL.File: Implement query_fd().

2017-11-21 00:46:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Update documentation.

2017-11-20

2017-11-20 23:48:05 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Sql: Support error(void|int clear).

2017-11-20 23:48:05 by Stephen R. van den Berg <srb@cuci.nl>

SSL.File: Implement query_fd().

2017-11-18

2017-11-18 12:41:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.Hash.HMAC: Fix non-default block_sizes().

Fall back to the default (generic) HMAC implementation if
a non-standard block_size() is requested.

Fixes [LysLysKOM 22249286].

Thanks to Stephen R. van den Berg <srb@cuci.nl> for reporting the issue.

Also adds some related documentation.

2017-11-16

2017-11-16 00:41:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Update docs.

2017-11-16 00:38:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Update docs.

2017-11-15

2017-11-15 15:53:03 by Stephen R. van den Berg <srb@cuci.nl>

Debug.Inspect: Allow forced dumps.

2017-11-15 15:53:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rip out fundamentally flawed reconnect logic, make failures consistent.

2017-11-15 14:58:41 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rip out fundamentally flawed reconnect logic, make failures consistent.

2017-11-15 10:04:20 by Stephen R. van den Berg <srb@cuci.nl>

Debug.Inspect: Allow forced dumps.

2017-11-13

2017-11-13 16:05:44 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: Made robust against rogue input and fix caching mechanism.

2017-11-13 13:48:20 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: Streamline API and update docs.

2017-11-13 13:04:20 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: Update docs.

2017-11-13 12:38:02 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: API updated, implemented serverside and testsuite.

2017-11-12

2017-11-12 22:06:23 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: New module.

2017-11-10

2017-11-10 00:27:26 by Stephen R. van den Berg <srb@cuci.nl>

Thread.ResourceCount: New module to implement resource counters.

2017-11-10 00:27:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify and bolster the code by using Thread.ResourceCount.

2017-11-09

2017-11-09 09:07:00 by Stephen R. van den Berg <srb@cuci.nl>

Spelling fixes.

2017-11-09 09:05:23 by Stephen R. van den Berg <srb@cuci.nl>

Spelling fixes.

2017-11-09 02:30:23 by Stephen R. van den Berg <srb@cuci.nl>

Change destroy() to _destruct().

2017-11-05

2017-11-05 15:53:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/rename_lfun_destroy' into 8.1

* grubba/rename_lfun_destroy:
Modules: Fixed logts of warnings.
Testsuite: Updated for LFUN::_destruct().
Compiler: Don't complain about LFUN::destroy() in compat mode.
Fix multiple warnings.
Runtime: LFUN::destroy() has been renamed to _destruct().
Compiler: Rename LFUN::destroy() to LFUN::_destruct().

2017-11-05 15:49:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Modules: Fixed logts of warnings.

More fall out from the LFUN::destroy ==> LFUN::_destruct rename.

2017-11-05 15:05:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix multiple warnings.

LFUN::destroy() has been renamed to _destruct().

2017-11-05 14:35:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Rename LFUN::destroy() to LFUN::_destruct().

As decided at Pike Conference 2017.

2017-11-05 12:08:17 by Per Hedbor <ph@opera.com>

Add GL.GLSL and GL.GLSLUtil.

This was a project by Per Hedbor that he intended to prepare for
inclusion in Pike and shared as a separate repository on the pike-git
server, albeit yet in the form of an external module. We have now
performed the integration into Pike as a post_module.

2017-11-01

2017-11-01 16:36:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Some type and documentation updates.

2017-11-01 13:53:30 by Stephen R. van den Berg <srb@cuci.nl>

time: Clarify and correct documentation.

2017-11-01 13:50:36 by Stephen R. van den Berg <srb@cuci.nl>

time: Clarify and correct documentation.

2017-11-01 11:18:29 by Arne Goedeke <el@laramies.com>

push_*: handle possible evaluation errors

Always evaluate the macro arguments before incrementing the stack
pointer.

2017-10-31

2017-10-31 09:52:34 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.Checksum: Update docs.

2017-10-30

2017-10-30 23:05:26 by Stephen R. van den Berg <srb@cuci.nl>

crc32c: Add optional seed to chain invocations.

2017-10-29

2017-10-29 18:08:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.Blobs: Minor code cleanup.

Get rid of a cast by using a different function.

Also some documentation cleanup.

2017-10-28

2017-10-28 12:42:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.Lazy: Improved typing.

Also some documentation updates.

2017-10-27

2017-10-27 13:47:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Standards.PEM]: Some minor clarifications.

2017-10-22

2017-10-22 18:12:45 by Martin Nilsson <nilsson@fastmail.com>

Have the #(#), #[#], #{#} documentation show up.

2017-10-17

2017-10-17 11:33:44 by Pontus Östlund <ponost@roxen.com>

Added some helper methods to Crypto.

string md5(string data, void|bool raw)
string sha1(string data, void|bool raw)
string sha256(string data, void|bool raw)

These methods return a hexadecimal string unless `raw` is given. These methods are composed via the helper method `hash()`.

string hmac_md5(string secret, string data)
string hmac_sha1(string secret, string data)
string hmac_sha256(string secret, string data)

These methods return a hexadecimal string. These methods are composed via the helper method `hash_hmac()` which can be used to construct new hmac hashing functions.

2017-10-10

2017-10-10 10:58:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve25519.EdDSA: Fixed documentation.

2017-10-06

2017-10-06 12:51:49 by Karl Gustav Sterneberg <kg@roxen.com>

Removed trailing spaces.

2017-10-04

2017-10-04 13:50:46 by Chris Angelico <rosuav@gmail.com>

Fix docs typo in Image.Image()->make_ascii()

2017-09-29

2017-09-29 09:37:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve25519.EdDSA: Added jwk().

Support generating JWKs for Ed25519 keys.

2017-09-25

2017-09-25 17:02:51 by Martin Nilsson <nilsson@fastmail.com>

Added missing documentation note of month_days

2017-09-23

2017-09-23 19:53:04 by Martin Nilsson <nilsson@fastmail.com>

US date formatting, m/d/y.

2017-09-23 09:41:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.ECDSA: Support strings in set_private_key().

Convenience variant for setting the ECDSA private key from
a binary string.

Fixes testsuite failure.

2017-09-22

2017-09-22 13:58:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash._HMAC.State: Implement jwk().

Web.encode_jwk() should now support generating JWKs for HMACs.

Fixes remainder of PIKE-39 (#8039).

2017-09-22 13:58:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.ECDSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from ECDSA objects.

Fixes more of PIKE-39 (#8039).

2017-09-22 13:03:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from RSA objects.

Fixes some of PIKE-39 (#8039).

2017-09-22 12:58:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web [Crypto]: Added encode_jwk().

This is the reverse of Web.decode_jwk().

Note that no actual encodings are generated yet.

Fixes some of PIKE-39 (#8039).

2017-09-21

2017-09-21 15:51:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash._HMAC.State: Implement jwk().

Web.encode_jwk() should now support generating JWKs for HMACs.

Fixes remainder of PIKE-39 (#8039).

2017-09-21 13:34:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.ECDSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from ECDSA objects.

Fixes more of PIKE-39 (#8039).

2017-09-21 13:31:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from RSA objects.

Fixes some of PIKE-39 (#8039).

2017-09-21 13:27:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web [Crypto]: Added encode_jwk().

This is the reverse of Web.decode_jwk().

Note that no actual encodings are generated yet.

Fixes some of PIKE-39 (#8039).

2017-09-18

2017-09-18 21:44:26 by Tobias S. Josefowitz <tobij@tobij.de>

Protocols.DNS: Add support for CAA records.

Certificate Authorities are actually required to check for them since
this month as mandated by the CA/Browser Forum.

2017-09-02

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

Mysql.result: Renamed seek() to low_seek().

This function performs absolute positioning (rather than the
relative positioning of __builtin.Sql.Result()->seek()), and
was shadowed by a generic (relative) implementation in previous
versions of Pike.

CAVEAT: Old code that used sql_res->master_res->seek() will
break and need to be updated. Any such code will trigger
warnings as master_res has been declared deprecated.
It is also unlikely that any such code exists, since the
function didn't comply with its documented behavior.

Fixes some testsuite failures.

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

2017-08-31 08:48:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compat [__builtin.Sql.Result]: Added getter for master_sql.

Fixes testsuite failure.

2017-08-29

2017-08-29 13:16:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve25519.EdDSA: Fixed API for set_private_key().

It now returns the current object.

2017-08-28

2017-08-28 21:19:33 by Per Cederqvist <cederp@opera.com>

Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror. By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.

2017-08-28 21:17:42 by Per Cederqvist <cederp@opera.com>

Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror. By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.

2017-08-28 21:11:31 by Per Cederqvist <cederp@opera.com>

Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror. By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.

2017-08-23

2017-08-23 09:39:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS: Fixed decoding of PKCS#8 public keys.

The public key data is for some reason kept in a BIT STRING
(and not in an OCTET STRING)...

2017-08-23 09:39:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.PKCS: Added some support for PKCS#10.

2017-08-22

2017-08-22 14:03:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS: Fixed decoding of PKCS#8 public keys.

The public key data is for some reason kept in a BIT STRING
(and not in an OCTET STRING)...

2017-08-21

2017-08-21 16:45:45 by Martin Nilsson <nilsson@fastmail.com>

Abstract lazy resolving into the Pike.Lazy module.

2017-08-20

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

Gmp.mpz: Support negative exponents in `**() and ``**().

2017-08-18

2017-08-18 12:21:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle [Blowfish]: Don't throw errors in make_key().

Let make_key() generate a new key if the generated key isn't
accepted by set_encrypt_key().

Fixes issue where eg Nettle.Blowfish()->make_key() intermittently
threw errors due to the generated key being weak.

2017-08-11

2017-08-11 11:49:26 by Chris Angelico <rosuav@gmail.com>

Fix spelling of 'necessary' in comments and docs

2017-08-11 11:40:09 by Chris Angelico <rosuav@gmail.com>

Fix spelling of 'necessary' in comments and docs

2017-08-08

2017-08-08 22:28:15 by Martin Nilsson <nilsson@fastmail.com>

Last major release of Irix was in 1998 with support updates until 2006 and declared unsupported 2013. Remove support.

2017-08-01

2017-08-01 21:56:39 by Martin Nilsson <nilsson@fastmail.com>

Fixed digest_info.

2017-07-25

2017-07-25 11:12:23 by Pontus Östlund <ponost@roxen.com>

Pikedoc fixes.

2017-07-22

2017-07-22 04:32:51 by Martin Nilsson <nilsson@fastmail.com>

Added short module description.

2017-07-21

2017-07-21 11:36:32 by Pontus Östlund <ponost@roxen.com>

There was an XML syntax error in this file.

2017-07-21 09:18:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto]: Add more references to useful stuff.

Mention MACs and AEADs.

Make it easier to find some of the more popular modules (like AES.GCM
and SHA1.HMAC).

Also removes some references to obsolete algorithms.

2017-07-18

2017-07-18 12:50:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Added report().

This provides an API to simplify targeting tracing of the
Filesystem.Monitor operation.

Fixes PIKE-17 (#8017).

2017-07-18 12:49:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Added report().

This provides an API to simplify targeting tracing of the
Filesystem.Monitor operation.

Fixes PIKE-17 (#8017).

2017-07-16

2017-07-16 16:05:44 by Martin Nilsson <nilsson@fastmail.com>

NTLM hash added

2017-07-16 14:33:41 by Martin Nilsson <nilsson@fastmail.com>

Reference Float.isnan from Math.nan

2017-07-15

2017-07-15 09:55:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Added some minimal documentation.

2017-07-10

2017-07-10 12:20:49 by Stephen R. van den Berg <srb@cuci.nl>

Rename Debug.Peek to Debug.Inspect.

2017-07-10 12:17:31 by Stephen R. van den Berg <srb@cuci.nl>

Rename Debug.Peek to Debug.Inspect.

2017-07-10 10:30:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Manual: Extended the data types chapter with void & mixed.

Added some elaboration on the difference between compile-time
and run-time types, as well as some about the types void & mixed
and how they are used.

Fixes [bug 1656 (#1656)].

2017-07-02

2017-07-02 00:07:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress errors if the server gets lost.

2017-07-02 00:01:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress errors if the server gets lost.

2017-06-28

2017-06-28 22:16:32 by Martin Nilsson <nilsson@fastmail.com>

Fix autodoc reference.

2017-06-28 11:47:57 by Stephen R. van den Berg <srb@cuci.nl>

Debug.Peek: New class for interactive debugging and live data inspection.

2017-06-27

2017-06-27 11:58:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Fixed some typos.

2017-06-26

2017-06-26 13:01:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System.FSEvents: Fixed Autodoc mk II markup.

2017-06-25

2017-06-25 02:30:21 by Martin Nilsson <nilsson@fastmail.com>

Linewrap

2017-06-21

2017-06-21 10:15:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Fixed some typos.

2017-06-19

2017-06-19 13:43:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: filesystem_stat() on Linux should now set fstype.

2017-06-18

2017-06-18 17:11:37 by Martin Nilsson <nilsson@fastmail.com>

Added Concurrent, and moved changes not in the next release to next beta.

2017-06-16

2017-06-16 13:41:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Charset: Improved Autodoc mk II markup.

2017-06-13

2017-06-13 09:37:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Survive the same Element being pushed multiple times.

Calling push() with an Element already present on the heap is
now equivalent to calling adjust() with the same element.

Previously the heap got corrupted in the above case.

2017-06-13 09:32:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Survive the same Element being pushed multiple times.

Calling push() with an Element already present on the heap is
now equivalent to calling adjust() with the same element.

Previously the heap got corrupted in the above case.

2017-06-04

2017-06-04 19:49:45 by Stephen R. van den Berg <srb@cuci.nl>

Debug.Peek: Introduce Debug.globals and fix some cosmetics.

2017-06-03

2017-06-03 21:24:44 by Stephen R. van den Berg <srb@cuci.nl>

Debug.Peek: New class for interactive debugging and live data inspection.

2017-05-29

2017-05-29 22:36:15 by Martin Nilsson <nilsson@fastmail.com>

Add note about the added optional fields.

2017-05-29 12:18:55 by Martin Nilsson <nilsson@fastmail.com>

Revert MAC changes and fix MIME instead.

2017-05-28

2017-05-28 17:22:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.X509: Reduce code duplication.

Use a common function for adding certificates in load_authorities().

Also some minor documentation updates.

2017-05-27

2017-05-27 11:59:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto]: Fixed some references.

2017-05-24

2017-05-24 15:51:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Minor clarification.

2017-05-22

2017-05-22 22:37:00 by Martin Nilsson <nilsson@fastmail.com>

Essentially white space changes.

2017-05-20

2017-05-20 12:03:31 by Martin Nilsson <nilsson@fastmail.com>

Documented HMAC block size argument.

2017-05-18

2017-05-18 09:26:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Fixed multiple issues with read_le_int().

The threshold for using io_read_number() instead of io_read_bignum()
was off by one (on the safe side).

Fixes broken use of mpz_import() in io_read_bignum().

Fixed typo in documentation.

2017-05-16

2017-05-16 15:39:08 by Peter Bortas <bortas@gmail.com>

Fixed documentation for Image.Color's HSV color space parser.

2017-05-07

2017-05-07 14:14:26 by Martin Nilsson <nilsson@fastmail.com>

Decoding of negative integers was broken. Remove pike implementation completely and always use the C version.

2017-05-07 12:25:56 by Martin Nilsson <nilsson@fastmail.com>

Added basic little endian support to reading Stdio.Buffer.

2017-04-28

2017-04-28 10:32:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backend.PollDeviceBackend: Make set_signal_event_callback() optional.

Fixes "Warning: An expression of type function({ Backend =
object(implements _static_modules.Builtin()->DefaultBackendClass) } :
void) cannot be assigned to a variable of type function({ Backend =
object(implements _static_modules.Builtin()->Backend) } : void)."

Thanks to Per Cederqvist <cederp@opera.com> for the report.

Fixes [LysLysKOM 22067696].

2017-04-28 10:28:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backend.PollDeviceBackend: Make set_signal_event_callback() optional.

Fixes "Warning: An expression of type function({ Backend =
object(implements _static_modules.Builtin()->DefaultBackendClass) } :
void) cannot be assigned to a variable of type function({ Backend =
object(implements _static_modules.Builtin()->Backend) } : void)."

Thanks to Per Cederqvist <cederp@opera.com> for the report.

Fixes [LysLysKOM 22067696].

2017-04-05

2017-04-05 12:12:27 by Chris Angelico <rosuav@gmail.com>

Add a little docs to Protocols.WebSocket

2017-04-05 03:45:26 by Chris Angelico <rosuav@gmail.com>

Add minimal autodoc as the create() signature changed in the inherit

2017-04-02

2017-04-02 20:36:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

search: Fixed end of range condition.

Fixes testsuite failure.

2017-03-30

2017-03-30 14:44:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

8.0::Sql: Added some missing stuff.

8.0::Sql.Sql now seems to work.

2017-03-26

2017-03-26 14:45:52 by Martin Nilsson <nilsson@fastmail.com>

5x faster encode_base64url() and 50% faster decode_base64url().

2017-03-25

2017-03-25 13:10:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve25519: Implement more of the standard API.

2017-03-22

2017-03-22 12:10:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web.encode_jws(): Make the media_type argument optional.

RFC 7515 4.1.9 says that the header field "typ" is optional,
so make it possible to generate such JWSes.

2017-03-22 12:07:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web.encode_jws(): Make the media_type argument optional.

RFC 7515 4.1.9 says that the header field "typ" is optional,
so make it possible to generate such JWSes.

2017-03-22 10:52:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Added {en,de}code_jws().

These simplify handling of JWSes other than JWTs.

Also cleans up {en,de}code_jwt() by using the new functions.

Also fixes a typo in the type for decode_jwt().

2017-03-22 10:47:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Added {en,de}code_jws().

These simplify handling of JWSes other than JWTs.

Also cleans up {en,de}code_jwt() by using the new functions.

Also fixes a typo in the type for decode_jwt().

2017-03-21

2017-03-21 15:18:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.Curve25519: Improved support for JOSE.

Implements some parts of RFC 8037.

2017-03-20

2017-03-20 14:23:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web.decode_jwk: Added support for decoding of symmetric keys.

Decoding of JWK encoded keys for SHA256/HMAC, etc is now supported.

Also adds some convenience variants.

2017-03-20 13:14:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web.decode_jwk: Added support for decoding of symmetric keys.

Decoding of JWK encoded keys for SHA256/HMAC, etc is now supported.

Also adds some convenience variants.

2017-03-19

2017-03-19 18:49:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.sqlite: Added big_typed_query() et al.

The SQLite glue should now use the same conventions as the others.

2017-03-17

2017-03-17 14:20:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [MasterObject]: Documented some more stuff.

Also restructures the markup a bit.

2017-03-16

2017-03-16 14:32:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Function]: Some Autodoc markup cleanup.

2017-03-15

2017-03-15 15:46:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.pgsql: Update to new Sql API.

Inherit __builtin.Sql.Connection and __builtin.Sql.Result as appropriate.

2017-03-12

2017-03-12 14:54:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.mysql: Reduce code duplication somewhat.

2017-03-10

2017-03-10 14:37:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Sql.mysql]: Some minor updates.

2017-03-09

2017-03-09 14:32:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.Sql: Sql.Sql() is now a function and not a class.

Now that __builtin.Sql.Connection exists and is used, the wrapper
class should no longer be needed.

The wrapper class has moved to 8.0::Sql.Sql.

2017-03-04

2017-03-04 12:07:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SQLite]: Fixed AutoDoc markup typo.

2017-03-04 12:03:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SQLite: Use __builtin.Sql.

Also some AutoDoc markup adjustments.

2017-03-01

2017-03-01 12:28:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Oracle: Use __builtin.Sql.

2017-02-28

2017-02-28 14:01:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Odbc: Use __builtin.Sql.

2017-02-27

2017-02-27 11:28:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Nettle]: Fixed cut'n'paste typo.

2017-02-24

2017-02-24 12:14:42 by Martin Nilsson <nilsson@fastmail.com>

Added a global on_failure to capture errors not handled in individual promises.

2017-02-18

2017-02-18 18:37:46 by Chris Angelico <rosuav@gmail.com>

Fix docs typo

2017-02-15

2017-02-15 12:04:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

search: Added end argument for the string and array cases.

2017-02-14

2017-02-14 15:56:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.HTTP.Server.Request: Added some AutoDoc markup.

2017-02-12

2017-02-12 08:41:49 by Chris Angelico <rosuav@gmail.com>

Mention the equivalence of Port("stdin") and listen_fd

2017-02-11

2017-02-11 12:28:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Msql: Updated to provide the standard Sql-API.

2017-02-01

2017-02-01 13:34:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Updated syntax in doc for lfun::create().

2017-02-01 10:18:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Added decode_jwk{,_set}().

These decode JOSE keys coded according to RFC 7515.

Backported from Pike 8.1.

Fixes PIKE-3 (#8003)

2017-01-31

2017-01-31 17:06:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Updated {en,de}code_jwt() to support HMAC signatures.

2017-01-27

2017-01-27 17:13:53 by Martin Nilsson <nilsson@fastmail.com>

Support multiple instances of the same option.

2017-01-18

2017-01-18 12:16:21 by Pontus Östlund <ponost@roxen.com>

Added the content_type getter to Protocols.HTTP.Promise.Success and added automatic decoding of gzipped data. This means the explicit decoding in Web.SOAP isn't neccessary anymore.

2017-01-18 11:55:21 by Pontus Östlund <ponost@roxen.com>

Renamed `content_encoding() to `charset() since that is what's returned. Also fixed a bug where `content_type() wouldn't return anything if no charset is defined in the content-type header.

2017-01-16

2017-01-16 13:34:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Make #pragma disassemble available --without-debug.

2017-01-15

2017-01-15 22:16:17 by Jeff Hungerford <hungerf3@house.ofdoom.com>

Protocols.DNS: fix decoding and add encoding of LOC RRs.

2017-01-12

2017-01-12 16:15:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

String.Buffer: Added _search().

It is now possible to search a String.Buffer.

2017-01-09

2017-01-09 17:23:29 by Martin Nilsson <nilsson@fastmail.com>

Added Unicode.is_whitespace.

2016-12-30

2016-12-30 11:03:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC: Unified the APIs for Curve and Curve25519.

new_scalar(), get_x() and get_y() now return coordinates in the
preferred representation for the curve (ie either as a Gmp.mpz
or as a string(8bit)).

create(), set() and `*() accept that same value as argument.

Added get_{x,y}_{num,str}() to get a specific representation.

jose_name() now has a default implementation that returns UNDEFINED.

Added default implementation of get_curve().

Curve25519 now has a Point subclass.

2016-12-29

2016-12-29 17:05:09 by Martin Nilsson <nilsson@fastmail.com>

Documented finish.

2016-12-29 09:41:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Added decode_jwk{,_set}().

These decode JOSE keys coded according to RFC 7515.

2016-12-26

2016-12-26 14:04:47 by Martin Nilsson <nilsson@fastmail.com>

Documentation updates

2016-12-25

2016-12-25 14:09:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>