Branch: Tag:

2023-09-09

2023-09-09 09:52:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Reporter: The Stdio.stderr fallback for report() now UTF-8 encodes its output.

2023-08-27

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

Builtin [NT]: Remove some dead variables.

Also use CryptReleaseContext() instead of CloseHandle()
to release the NT crypto context.

Fixes some warnings.

2023-07-28

2023-07-28 06:49:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc: Improve documentation for __empty_program()

2023-06-21

2023-06-21 09:52:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Nettle]: Add some notes about required version of Nettle.

2023-06-20

2023-06-20 08:23:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.BlockCipher16.OCB: Check availability in both headers and lib.

2023-06-07

2023-06-07 10:03:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve448: Add module.

2023-06-02

2023-06-02 08:14:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.ECC: Initial support for GOSTDSA.

2023-05-19

2023-05-19 09:17:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.SM3: Add cipher.

2023-05-14

2023-05-14 07:53:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process.Process: Support using Stdio.Fd for "cwd" and "chroot" on OSes with fchdir(2).

Fixes #10118.

2023-05-11

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

Stdio.Fd: Add cd().

Fixes #10119.

2023-05-07

2023-05-07 12:13:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System [NT]: Support inhibiting expansion of REG_EXPAND_SZ values in RegGetValue() et al.

2023-05-02

2023-05-02 10:32:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System [NT]: Fix UTF8/UTF16 handling in {Get,Set}FileAttributes().

2023-05-01

2023-05-01 12:00:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [System] [NT]: Improved doc of LookupAccountName() and the SID class.

2023-04-20

2023-04-20 10:17:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Fd: Add low-level hooks for error callback.

Needed for #10108.

2023-04-17

2023-04-17 09:29:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cpp: Support function-style macros in define_macro() et al.

This also adds support for defining function-style macros via
the -D command line option.

Fixes #10109.

2023-04-06

2023-04-06 10:26:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Use pike_strptime() to implement predef::strptime().

predef::strptime() should now exist on all platforms (ie including NT).

2023-03-31

2023-03-31 11:17:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System: Adjust type for normalize_path().

System.normalize_path() only accepts 8-bit strings as argument,
and always returns a utf8_string.

Also fixes related testsuite case.

2023-01-28

2023-01-28 13:31:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [ADT.CircularList]: Fix AutoDoc markup error.

2023-01-27

2023-01-27 12:45:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SSL.Port]: Some documentation updates.

2023-01-27 09:45:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Port: Add set_accept_callback().

Also alters the accept callback API slightly to be more in line
with that of Stdio.Port:

* The accept callback now gets a single argument; the id as
set by set_id().

* Installation of the internal accept callback (ie ssl_callback())
is now delayed until the first call of accept() if no external
accept callback has been installed (ie with any of bind(),
listen_fd() or set_accept_callback()). This allows for altering
the context between binding and starting to accept connections.

2023-01-26

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

Stdio.Port: Add set_accept_callback().

2023-01-10

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

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

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

Fixes multiple testsuite failures.

2023-01-05

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

Stdio.File: Add isatty().

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

Stdio.File: Add isatty().

2022-12-21

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

Parser.Tabular: Use Pike.DestructImmediate.

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

2022-11-06

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

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

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

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

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

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

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

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

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

2022-09-28

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

Shuffler.Shuffle: The wrap callback may return zero.

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

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

Sql.sql_result: Fix compilation error.

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

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

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

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

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

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

2021-11-06

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

Added convenience function to load letsencrypt certificate.

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

Added convenience function to drop process privileges.

2021-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-21

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

Doc [Protocols.LysKOM]: Some minor changes.

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

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

Doc [Thread]: Added description of the module.

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

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

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

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

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

Implemented Promise variants of async lookup.

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

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 support for a single-byte source.

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

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

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

EFUNs: Added efuns for accessing iterator state.

2020-10-28

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

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

2020-10-22

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-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-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-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: Add very basic autodoc markup to Renderer

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

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

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

ADT.OrderedMapping: Improve docs.

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:24:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Toggle cache_autoprepared_statements default.

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

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

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-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: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-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 15:44:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Some pty-handling cleanup.

Add wrappers emulating missing libc functions.

2019-12-29

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

Fix docs formatting

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

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

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

Pike: Move DestructImmediate to the Pike module.

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

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

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

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

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

Documentation [Locale]: Some minor adjustments.

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

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

Pike: Move DestructImmediate to the Pike module.

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

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

Documentation [SSL.Constants]: Updated AutoDoc.

2019-05-26

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

SSL.Constants: Fixed typo.

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

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

Implemented MD5-sess algorithm.

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-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-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 16:04:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Protect lots of lfuns.

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

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

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

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

2019-02-28

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

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

Compiler: Fix autodoc typo

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

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

Thread: Mark simulated MutexKey objects for immediate destruction.

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-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-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-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-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:18:14 by Arne Goedeke <el@laramies.com>

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

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

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

CHANGES: Added note about inherit of CompilerEnvironment.

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

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

2018-05-03 09:40:01 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-01

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

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

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

Filesystem.Monitor: Clean up rescheduling of backend_check().

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-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 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:36:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Readding primitive auto-reconnect logic.

2018-01-25

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

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

2018-01-18 22:55:22 by Tobias S. Josefowitz <tobij@tobij.de>

MPI: Fix documentation for Init() and Finalize().

2018-01-18 14:49:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Debug: Added find_all_clones().

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

2017-12-28

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: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 10:32:28 by Chris Angelico <rosuav@gmail.com>

Update GTK2 docs from source

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

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-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:04:07 by Stephen R. van den Berg <srb@cuci.nl>

Range: Reuse Math.inf etc; Use NetUtils.

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-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-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 16:56:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

master: Document the resolver some more.

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

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

2017-11-27 14:57:37 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Cleanup.

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

2017-11-24 22:13:11 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 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-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 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: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 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>

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

2017-11-15 15:53:03 by Stephen R. van den Berg <srb@cuci.nl>

Debug.Inspect: Allow forced dumps.

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 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 02:30:23 by Stephen R. van den Berg <srb@cuci.nl>

Change destroy() to _destruct().

2017-11-05

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

2017-10-31 09:52:34 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.Checksum: Update docs.

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

2017-10-06 12:51:49 by Karl Gustav Sterneberg <kg@roxen.com>

Removed trailing spaces.

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

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

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

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

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

2017-07-10 12:17:31 by Stephen R. van den Berg <srb@cuci.nl>

Rename Debug.Peek to Debug.Inspect.

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

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

2017-03-01 12:28:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2016-12-29

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

2016-12-25 14:09:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.Point: Allow creation without arguments again.

Points now default to 'g'.

Fixes several testsuite failures.

2016-12-24

2016-12-24 09:44:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.ECC_Curve.Point: Require coordinate.

Nettle doesn't provide a default coordinate on initialization,
which means that Points created without arguments are likely
to be off the Curve. Don't allow this for now.

Possible alternatives would be to initialize to 'g' or infinity.

2016-12-23

2016-12-23 14:27:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve: Added some more support for JOSE.

Added jose_name(), which returns the RFC 7518 name for the curve.

It is now possible to initialize a Point from a JWK.

2016-12-22

2016-12-22 17:20:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Support initialization from a JWK mapping.

2016-12-21

2016-12-21 23:08:40 by Jonas Walldén <jonasw@roxen.com>

Add _sprintf() to Thread.Mutex() that prints current locking thread. Switch to
hex-based thread IDs in _sprintf() for Thread.Thread() for easier reading.

2016-12-20

2016-12-20 22:40:32 by Martin Nilsson <nilsson@fastmail.com>

Make it possible to replace a node with multiple nodes.

2016-12-20 18:54:00 by Jonas Walld?n <jonasw@roxen.com>

Add _sprintf() to Thread.Mutex() that prints current locking thread. Switch to
hex-based thread IDs in _sprintf() for Thread.Thread() for easier reading.

2016-12-18

2016-12-18 21:47:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: The DefaultCompilerEnvironment is a CompilerEnvironment.

2016-12-17

2016-12-17 13:41:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [LFUNs]: Improved doc for lfun::`->=() et al.

2016-12-16

2016-12-16 03:31:21 by Chris Angelico <rosuav@gmail.com>

Merge branch 'rosuav/gtk2-drag-drop' into 8.1

2016-12-14

2016-12-14 12:37:33 by Jonas Walld?n <jonasw@roxen.com>

Fix refdoc typo.

2016-12-13

2016-12-13 05:41:47 by Chris Angelico <rosuav@gmail.com>

GTK2: Improve documentation

2016-12-13 05:41:47 by Chris Angelico <rosuav@gmail.com>

GTK2: Implement TreeView drag-and-drop

2016-12-13 05:41:47 by Chris Angelico <rosuav@gmail.com>

GTK2: Implement TreeView drag-and-drop functions

2016-12-10

2016-12-10 17:44:16 by Martin Nilsson <nilsson@fastmail.com>

Documentation fixes. No need to push 0 on void functions.

2016-12-08

2016-12-08 18:20:31 by Martin Nilsson <nilsson@fastmail.com>

Calling crypt() now crypts a random string. Useful as a quick way of generating passwords.

2016-12-07

2016-12-07 01:20:26 by Martin Nilsson <nilsson@fastmail.com>

Have Charset.Encoder->set_replacement_callback return the object for call chaining.

2016-12-06

2016-12-06 14:25:03 by Martin Nilsson <nilsson@fastmail.com>

If a character can't be encoded in the selected charset, XML-encode it instead of exception. Allow for user override of character encoding in render_xml.

2016-12-05

2016-12-05 13:42:16 by Martin Nilsson <nilsson@fastmail.com>

Added Nettle.version()

2016-12-03

2016-12-03 19:03:29 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Support creating promises from traditional methods with callbacks.

2016-12-03 01:58:08 by Stephen R. van den Berg <srb@cuci.nl>

Parser.XML: node_to_struct() convenience function.

2016-12-01

2016-12-01 22:22:09 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: then() and thencatch() support smart mapping, improve docs.

2016-11-29

2016-11-29 15:56:00 by Stephen R. van den Berg <srb@cuci.nl>

EngineIO/SocketIO: Minor cosmetic fix and adjust reference in CHANGES.

2016-11-27

2016-11-27 02:18:50 by Stephen R. van den Berg <srb@cuci.nl>

SocketIO/EngineIO: Packetised queues, increment protocol versions for both.

SocketIO/EngineIO: Drop id parameter, it's better solved using inheritance.
EngineIO: Prioritise PING/PONG messages.

2016-11-19

2016-11-19 18:47:45 by Martin Nilsson <nilsson@fastmail.com>

Added example uses.

2016-11-19 17:14:36 by Martin Nilsson <nilsson@fastmail.com>

Expanded on failure condition on async_connect.

2016-11-17

2016-11-17 11:52:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [sscanf]: Fixed some typos and markup.

2016-11-15

2016-11-15 16:44:13 by Pontus Östlund <ponost@roxen.com>

Major redesign of the refdoc. Also removed some obsolete stuff.

2016-11-14

2016-11-14 07:59:26 by Pontus Östlund <ponost@roxen.com>

Major redesign of the refdoc. Also removed some obsolete stuff.

2016-11-14 07:59:26 by Pontus Östlund <ponost@roxen.com>

Major redesign of the refdoc. Also removed some obsolete stuff.

2016-11-09

2016-11-09 14:52:11 by Stephen R. van den Berg <srb@cuci.nl>

SOAP: SOAP glue functions including a limited wsdl parser.

2016-11-09 14:52:01 by Stephen R. van den Berg <srb@cuci.nl>

Fix doc prototype.

2016-11-05

2016-11-05 16:01:22 by Martin Nilsson <nilsson@fastmail.com>

More narrow documentation.

2016-11-05 15:56:51 by Martin Nilsson <nilsson@fastmail.com>

More documentation.

2016-11-05 11:04:38 by Arne Goedeke <el@laramies.com>

WebSocket: finish the extension support revert

Some changes had not been reverted

2016-11-05 11:04:38 by Arne Goedeke <el@laramies.com>

WebSocket: finish the extension support revert

Some changes had not been reverted

2016-11-05 10:54:21 by Martin Nilsson <nilsson@fastmail.com>

Revert EngineIO and SocketIO from 8.0 for now.

2016-11-05 10:54:21 by Martin Nilsson <nilsson@fastmail.com>

Revert EngineIO and SocketIO from 8.0 for now.

2016-11-05 10:49:05 by Martin Nilsson <nilsson@fastmail.com>

Revert sprintf %m.

2016-10-30

2016-10-30 13:08:38 by Marcus Comstedt <marcus@mc.pp.se>

Revert "Add Unicode support to MIME.Message via a subclass."

This reverts commit 5d65d4d56ddbfea827045c8aa690ea7a5654abaa.

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

MIME.UnicodeMessage: Decode the message body according to the charset

2016-10-30 12:02:58 by Chris Angelico <rosuav@gmail.com>

Add Unicode support to MIME.Message via a subclass.

* Minor refactoring that should have no visible external effect
* One new constant, _is_unicode_message, which changes how create()
parses the headers
* An additional (optional) parameter to parse_headers()
* New class MIME.UnicodeMessage, documented as being 21-bit Unicode
everywhere, with deviations from such considered to be bugs.

2016-10-26

2016-10-26 12:56:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent: Improved thread safety for Results and Fold.

2016-10-26 10:21:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Future: Support multiple concurrent callbacks.

Multiple success and failure callbacks may now be registered
concurrently. This is needed to avoid surprises when implicit
callbacks are installed by eg flat_map().

Also some related documentation updates.

Fixes [bug 7816 (#7816)].

2016-10-26 10:07:19 by Chris Angelico <rosuav@gmail.com>

Fix docs typo

2016-10-19

2016-10-19 15:44:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Added low_pop().

This function is analogous to low_peek().

2016-10-18

2016-10-18 13:43:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Added low_pop().

This function is analogous to low_peek().

2016-10-18 09:25:51 by Arne Goedeke <el@laramies.com>

Protocols.WebSocket: refactored WebSocket extension support

Added a new API which allows implementing Extensions as
Protocols.WebSocket.Extension subclasses. This is used both
for real WebSocket extensions, as well as defragmentation and
conformance checks. Updated the documentation accordingly.

2016-10-12

2016-10-12 17:19:29 by Martin Nilsson <nilsson@fastmail.com>

The start parameter to search() has no effect on mappings.

2016-10-12 13:42:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Documented optional further args to search().

Also fixes the types for search() and lfun::_search().

2016-10-11

2016-10-11 14:47:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Improved doc for search().

2016-10-10

2016-10-10 15:38:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Added _search().

2016-10-09

2016-10-09 18:27:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Nettle]: Improved doc for Curve25519.

2016-10-08

2016-10-08 14:33:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Added support for Curve25519 and EdDSA25519.

CAVEAT: API subject to change!

Note that these have a different API than the other ECC curves
due to a different low-level API.

2016-10-04

2016-10-04 15:29:06 by Pontus Östlund <ponost@roxen.com>

Query: timed_async_fetch() didn't support chunked transfer encoding.

Promise: Some pikedoc fixes.

2016-10-03

2016-10-03 09:54:25 by Pontus Östlund <ponost@roxen.com>

Some Pike-doc fixes.

2016-09-29

2016-09-29 01:11:04 by Stephen R. van den Berg <srb@cuci.nl>

WebSocket/EngineIO/SocketIO: Simplify specifying options per packet.

2016-09-27

2016-09-27 23:30:28 by Stephen R. van den Berg <srb@cuci.nl>

EngineIO: Drop named inherits. binary frames, make compression overridable.

2016-09-27 23:30:27 by Stephen R. van den Berg <srb@cuci.nl>

SocketIO: Streamline Universe API, events run in their own threads.

Add onclose(), various cleanups.

2016-09-27 23:30:27 by Stephen R. van den Berg <srb@cuci.nl>

SocketIO: Streamline Universe API, events run in their own threads.

Add onclose(), various cleanups.

2016-09-27 09:40:54 by Stephen R. van den Berg <srb@cuci.nl>

SocketIO: Streamline Universe API, events run in their own threads.

2016-09-27 09:40:54 by Stephen R. van den Berg <srb@cuci.nl>

SocketIO: Streamline Universe API, events run in their own threads.

2016-09-26

2016-09-26 11:59:38 by Stephen R. van den Berg <srb@cuci.nl>

EngineIO: Rename options to lower visibility outside the class.

2016-09-26 11:25:53 by Stephen R. van den Berg <srb@cuci.nl>

EngineIO: Tune deflate compressionparameters.

2016-09-26 10:18:56 by Stephen R. van den Berg <srb@cuci.nl>

EngineIO: Tune deflate compressionparameters.

2016-09-26 10:18:56 by Stephen R. van den Berg <srb@cuci.nl>

Gz.deflate: Add clone() method; allows for testing compression.

Gz.File: Support setting the window_size in setparams().
Gz: Support Z_BLOCK and Z_FULL_FLUSH.

2016-09-23

2016-09-23 18:08:17 by Stephen R. van den Berg <srb@cuci.nl>

EngineIO/SocketIO: Improve documentation.

2016-09-23 18:08:17 by Stephen R. van den Berg <srb@cuci.nl>

EngineIO/SocketIO: Improve documentation.

2016-09-22

2016-09-22 16:03:56 by Stephen R. van den Berg <srb@cuci.nl>

SocketIO/EngineIO:

Define PDT() debugging macro.
Define DUSERERROR() macro.
Throw proper errors with backtraces.
Link statically as far as possible.
Provide sid and lastrequest members on SocketIO.Server.
Pass up ERROR messages from the protocol.

2016-09-20

2016-09-20 16:30:20 by Chris Angelico <rosuav@gmail.com>

GTK2: Document GdkPixbufLoader stubbily so the magic happens

(Do the magic! Do the magic!)

2016-09-20 08:34:43 by Arne Goedeke <el@laramies.com>

Protocols.WebSocket: added API for continuation frames

2016-09-17

2016-09-17 08:34:33 by Martin Nilsson <nilsson@fastmail.com>

Increase default compression level to 9.

2016-09-15

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

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

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

Document the link between set_keepalive and setsockopt

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

Implement Stdio.File()->setsockopt()

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

Stdio: added getprotobyname()

2016-09-15 11:31:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added CompilerEnvironment()->lock().

This is a class that exposes the compiler internal lock.

Fixes some of [bug 7783 (#7783)].

2016-09-10

2016-09-10 10:12:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [cpp]: Fixed warning generated by example.

2016-08-27

2016-08-27 10:08:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Multiset]: Added minimal description.

2016-08-25

2016-08-25 10:48:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Debug: Added hexdump().

2016-08-22

2016-08-22 13:36:21 by Martin Nilsson <nilsson@fastmail.com>

Allow for only specific tags to be parsed and the rest ignored.

2016-08-22 13:36:07 by Martin Nilsson <nilsson@fastmail.com>

Reuse the tag parsing loop.

2016-08-20

2016-08-20 10:10:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Constants: Added enum Extension.

Fixes some documentation references.

2016-08-14

2016-08-14 12:39:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SSL]: Improved AutoDoc mk II markup somewhat.

2016-08-11

2016-08-11 13:44:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.DH [SSL]: Updated with references to RFC 7919.

2016-08-06

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

Documented some of the new Randomness subsystem.

2016-08-05

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

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

Also adds corresponding documentation.

Fixes some broken documentation references.

2016-08-04

2016-08-04 10:10:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.AutoDoc: Added support for @enum/@endenum.

It should now be possible to document enums at the C-level.

2016-08-03

2016-08-03 10:21:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SSL]: Document the fmt_*() functions.

2016-07-29

2016-07-29 13:19:08 by Martin Nilsson <nilsson@fastmail.com>

Fixed autodoc

2016-07-28

2016-07-28 10:43:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.LDAP: Support passing an SSL.Context to get_connection().

Sometimes the default SSL.Context isn't appropriate, so support
passing a custom one along to Protocols.LDAP.client().

2016-07-14

2016-07-14 08:23:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Calendar [FAQ]: Removed references to localization.h.

localization.h is no more, so don't refer to it.

2016-07-10

2016-07-10 17:56:54 by Martin Nilsson <nilsson@fastmail.com>

Added Int class used to case argument to integer. Made Default type agnostic.

2016-07-07

2016-07-07 10:54:31 by Chris Angelico <rosuav@gmail.com>

GTK: Fix docs typo

2016-07-07 10:54:05 by Chris Angelico <rosuav@gmail.com>

GTK: Fix docs typo

2016-07-04

2016-07-04 18:08:17 by Martin Nilsson <nilsson@fastmail.com>

It's tedious to write trim_all_whites. Make trim the canonical name.

2016-07-04 15:14:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.PKCS: Added some support for PKCS#10.

2016-06-29

2016-06-29 13:00:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Efuns: Fixed multiple issues with the new hash().

It now follows the same API as the old hash() (ie the second argument
is a modulo). It now also has the same value range as the old hash (eg
it no longer returns negative values), and returns the same value on
both 32-bit and 64-bit platforms.

As a side-effect this fixes a buffer read overrun when the second argument
was larger than the length of the string.

It no longer leaves droppings on the stack.

Updated the testsuite.

2016-06-21

2016-06-21 16:51:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS.PFX: Added minimal AutoDoc markup.

2016-06-16

2016-06-16 07:38:40 by Arne Goedeke <el@laramies.com>

Protocols.HTTP.Server: fixed handling of range requests

- The content-length header must contain the length of the
entity body, not the full length of the resource
- The instance-length part of the content-range header should be the
full length of the resource, if known, or '*'

2016-06-14

2016-06-14 13:41:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gmp.mpz: Simplify `**().

Let ``**() convert its argument to a bignum and call `**() in it.

Also adds some special cases.

This fixes some remaining testsuite failures.

2016-06-10

2016-06-10 17:37:49 by Martin Nilsson <nilsson@fastmail.com>

Documentation.

2016-06-09

2016-06-09 16:06:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Support some bignums in add_int32().

FIXME: Ought not to care about the high order bits of the bignum.

FIXME: Add similar support to the other add_int*() as well.

Thanks to Per Cederqvist <ceder@lysator.liu.se> for the report.

Fixes [bug 7712 (#7712)].

2016-06-03

2016-06-03 16:15:32 by Per Hedbor <ph@opera.com>

Several more ** cases implemented:

int ** mpq -> mpq or float
float ** mpq -> float
mpq ** int -> mpq
mpq ** float -> mpq or float
mpq ** mpq -> mpq or float
mpz ** mpf -> float

I am open for suggestions on whether or not the type promoting going
on is sane or not.

It's at least slightly logical.

2016-06-03 14:02:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

_Roxen.HeaderParser: Inverted meaning of last argument to feed().

This makes the default value follow the usual calling conventions
where UNDEFINED is equivalent to a left out value.

2016-06-01

2016-06-01 13:51:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Promise: Added maybe_failure().

2016-05-31

2016-05-31 08:52:28 by Magnus Holmgren <holmgren@lysator.liu.se>

Documentation breakage

When preparing a new Debian package of 8.0.240, I noticed that some
documentation disappeared, apparently due to the following. The error
in Nettle.Sign is already corrected but not the others, AFAICT, and
I'm guessing that @exp should be @expr. Patch below, which I home
someone can apply right away.

ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/src/modules/Gmp/mpz_glue.c, lines: 668..668), "DocParser", "@exp cannot be used like this: @exp{ ... @}")>

ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/lib/modules/__builtin.pmod/Nettle.pmod/Sign.pike, lines: 102..102), "DocParser", "@item is not allowed inside @array (allowed children are: @elem)")>

ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/lib/modules/Crypto.pmod/ECC.pmod, lines: 286..286), "DocParser", "@item is not allowed inside @array (allowed children are: @elem)")>

ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/lib/modules/Crypto.pmod/RSA.pmod, lines: 368..368), "DocParser", "@item is not allowed inside @array (allowed children are: @elem)")>

2016-05-30

2016-05-30 15:56:48 by Grzegorz Malachowski <gmalachowski@opera.com>

Allow preservation of case in headers in HeaderParser.

This is needed when acting as a proxy sine some servers treat headers
as case-sensitive.

2016-05-30 15:55:10 by Grzegorz Malachowski <gmalachowski@opera.com>

Allow preservation of case in headers in HeaderParser.

This is needed when acting as a proxy sine some servers treat headers
as case-sensitive.

2016-05-25

2016-05-25 17:07:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Support non-empty buffers in set_buffer_mode().

Stdio.File()->set_buffer_mode() now has a defined behaviour for
adding and removing buffers that aren't empty.

The behaviour is the same as for set_buffer_mode() in SSL.File.

2016-05-24

2016-05-24 10:30:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Handle non-empty buffers in set_buffer_mode().

2016-05-21

2016-05-21 08:37:37 by Marcus Agehall <agehall@gmail.com>

Removed unused class.

2016-05-21 08:37:37 by Marcus Agehall <agehall@gmail.com>

Make full use of buffers when parsing incoming frames.

2016-05-17

2016-05-17 14:53:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Potential fix for [bug 7684 (#7684)].

Avoid recursive mutex locks from destroy() by only locking
on explicit destruct().

2016-05-17 14:53:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Potential fix for [bug 7684 (#7684)].

Avoid recursive mutex locks from destroy() by only locking
on explicit destruct().

2016-05-17 14:14:25 by Per Hedbor <ph@opera.com>

Renamed pow lfun from pow to `**.

This is somewhat incompatible, previously pow(X,3) called X->pow,
now it will call X->`**.

2016-05-10

2016-05-10 15:00:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filexyxtem.Monitor: Got rid of update_monitor().

The function didn't work, and if it had worked it would've messed
with the internal state of monitors and caused stuff to break.

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

Parser.RCS: Added feature detection constant "max_revisions_supported".

2016-05-10 10:30:00 by Martin Karlgren <marty@roxen.com>

Parser.RCS: Add optional max_revisions parameter to the API.

2016-05-09

2016-05-09 22:21:49 by Pontus Östlund <poppanator@gmail.com>

Protocols.HTTP.Query: Fixed an old bug (https://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=7676) where basically the timeout in timed_async_fetch wasn't reset each new data read.
This timeout had it's own property (data_timeout) which now is "deprecated" since the property "timeout" pretty much serves the same purpose, but on connection. So now timeout is the default value to use unless data_timeout is explicitly set, in which case that value will be used.
Since there was no proper way to set a max time for the entire operation (well, that was by accident and not intention how the data_timeout in timed_async_fetch worked) the new property "maxtime" has been added. If this is set (default is 0=indefinetly) the request will be aborted after maxtime second even if data is still being read.

So in short:

data_timeout = 0 // unless explicitly set
timeout = 120 // connection timeout, and then data read timeout
maxtime = 0 // 0 = off, otherwise the entire operation must be done within maxtime seconds or else the request is aborted

Protocols.HTTP.Session: Added some documentation

Protocols.HTTP.Promise: New module which utilise the new Concurrent.Promise/Future stuff for HTTP requests. Internally uses Protcols.HTTP.Session for the actual HTTP stuff.

Web.Api.Api: Now fetches data asynchronously when async calls are made.

Concurrent: on_success and on_fail now returns the object being called so that they can be chained.

Parser.Markdown: Fixed the #require macro directive.

2016-05-06

2016-05-06 11:06:13 by Martin Nilsson <nilsson@fastmail.com>

Don't pretend jwa is a variable, to be consistent with name(), digest_size() etc.

2016-05-06 11:06:13 by Martin Nilsson <nilsson@fastmail.com>

Don't pretend jwa is a variable, to be consistent with name(), digest_size() etc.

2016-05-06 11:05:35 by Martin Nilsson <nilsson@fastmail.com>

Don't pretend jwa is a variable, to be consistent with name(), digest_size() etc.

2016-05-04

2016-05-04 13:25:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.None: Added the plaintext algorithm.

2016-05-04 13:24:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.AE: Added class.

2016-05-04 13:23:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Added __builtin.Nettle.AE.

This is Authenticated Encryption without Authenticated Data.

2016-05-04 13:21:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.MAC: Added support for HMAC-based JWS signatures.

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

Documentation [__builtin.Nettle.Sign]: Improved JOSE doc.

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

Documentation [__builtin.Nettle.Sign]: Improved JOSE doc.

2016-05-04 13:19:28 by Martin Nilsson <nilsson@fastmail.com>

Implemented HMAC jwa with a little less code.

2016-05-04 13:19:28 by Martin Nilsson <nilsson@fastmail.com>

Implemented HMAC jwa with a little less code.

2016-05-04 10:50:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.None: Added the plaintext algorithm.

2016-05-04 10:05:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Updated {en,de}code_jwt() to support HMAC signatures.

2016-05-04 09:58:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.MAC: Added support for HMAC-based JWS signatures.

2016-04-30

2016-04-30 11:07:37 by Pontus Östlund <poppanator@gmail.com>

Refdoc: Added modfiers to methods, variables and constants. Fixed a Pike doc error in Nettle.Sign.

2016-04-29

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

Documentation [__builtin.Nettle.Sign]: Improved JOSE doc.

2016-04-29 14:37:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: Simulate events for directory content at watch creation.

This reduces the race window for tracking directory content.
It also simplifies code that does such tracking.

Also updates Filesystem.Monitor.basic accordingly.

2016-04-29 14:37:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: Simulate events for directory content at watch creation.

This reduces the race window for tracking directory content.
It also simplifies code that does such tracking.

Also updates Filesystem.Monitor.basic accordingly.

2016-04-27

2016-04-27 14:44:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto.RSA]: Fixed cut and paste error.

2016-04-27 14:44:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto.RSA]: Fixed cut and paste error.

2016-04-27 14:36:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Sign: Added JOSE default implementation.

Fixes some warnings in SSL.Context.

Adds default implementation of jose_{sign,decode}() for signature
algorithms that JOSE doesn't support (eg Crypto.DSA).

2016-04-27 14:36:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Sign: Added JOSE default implementation.

Fixes some warnings in SSL.Context.

Adds default implementation of jose_{sign,decode}() for signature
algorithms that JOSE doesn't support (eg Crypto.DSA).

2016-04-27 14:36:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Added {en,de}code_jwt(). Fixes most of [bug 7671 (#7671)].

2016-04-27 14:36:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Added {en,de}code_jwt(). Fixes most of [bug 7671 (#7671)].

2016-04-27 14:35:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.ECDSA: Added support for jose_{sign,decode}().

2016-04-27 14:35:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Some API changes for jose_sign().

Changed argument order and added defaults for the hash algorithm.

2016-04-27 14:35:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Add some support for JOSE JWS signatures.

2016-04-27 14:35:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Add some support for JOSE JWS signatures.

2016-04-27 14:34:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Added algorithm identifiers from JWA (RFC 7518:3.1).

Fixes some of [bug 7671 (#7671)].

2016-04-22

2016-04-22 11:41:33 by Pontus Östlund <ponost@roxen.com>

Web.Api.Api: Fixed so that POST actions actually works.

It now also tries to detect if a file is being uploaded. This works by looking at the parameter values and if a value contains "filename=..." a multipart message will be created. So in short this would look something like:

string file = "the-file.png";
string data = Stdio.read_file(file);
mapping params = ([ "the_file_param" : "filename=" + file ]);

api->post("method/endpoint", params, data);

2016-04-21

2016-04-21 14:50:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Apple.Keychain: Added initial parser of Keychain files.

CAVEAT: This is a VERY limited implementation, and is only
intended to be used to extract root certificates
from "/Library/Keychains/X509Anchors".

2016-04-20

2016-04-20 09:50:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Added {en,de}code_jwt(). Fixes most of [bug 7671 (#7671)].

2016-04-19

2016-04-19 14:54:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.ECDSA: Added support for jose_{sign,decode}().

2016-04-19 10:31:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Add some support for JOSE JWS signatures.

2016-04-18

2016-04-18 10:08:36 by Marcus Comstedt <marcus@mc.pp.se>

Tools.Shoot: Add an optional prepare function to create test vectors

This removes the need to put huge constants into the test program,
greatly reducing the memory requirements to run the benchmarks.

2016-04-18 10:05:37 by Marcus Comstedt <marcus@mc.pp.se>

Tools.Shoot: Add an optional prepare function to create test vectors

This removes the need to put huge constants into the test program,
greatly reducing the memory requirements to run the benchmarks.

2016-04-17

2016-04-17 18:57:18 by Martin Nilsson <nilsson@fastmail.com>

Remove deprecated cast_to_int, cast_to_string and cast_to_float.

2016-04-17 18:29:39 by Martin Nilsson <nilsson@fastmail.com>

Fixed the early out when random limit is 2^x and !(x%8). Also some document fixes.

2016-04-15

2016-04-15 15:40:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.KW: This is an AE and not an AEAD.

2016-04-15 15:38:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Added __builtin.Nettle.AE.

This is Authenticated Encryption without Authenticated Data.

2016-04-14

2016-04-14 17:27:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.BlockCipher16.KW: Changed API to AEAD.

2016-04-14 15:36:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Added BlockCipher16.KW.

This is the AES Key Wrapping algorithm from RFC 3394.

2016-04-06

2016-04-06 14:25:09 by Pontus Östlund <ponost@roxen.com>

Web.Api.Api: When running async the requests gets stored so that they can be forcefully closed if something goes wrong. The public method "close_connections()" will close all open connections.

2016-04-04

2016-04-04 21:28:49 by Martin Nilsson <nilsson@fastmail.com>

There is no CVS id string in Hilfe anymore

2016-04-01

2016-04-01 15:45:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Nettle.Hash]: Fixed typo.

2016-03-27

2016-03-27 14:56:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql: Moved and renamed Mysql.mysql_result to Mysql.mysql.Result.

This is in preparation for allowing overloading of the Result class.

2016-03-26

2016-03-26 13:29:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Result: Removed remains of master_res.

This is a base class and not a wrapper...

2016-03-23

2016-03-23 12:52:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Threads: Some minor documentation cheanges.

2016-03-18

2016-03-18 18:04:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.sql_util [Mysql]: Don't depend on the Mysql module.

This makes both MySQLUnicodeWrapper and MySQLBrokenUnicodeWrapper
always available, which fixes issues with dumped Sql.sql_util and
updating the Mysql module.

Also adds some documentation for the MySQLBrokenUnicodeWrapper.

2016-03-18 14:37:37 by Martin Nilsson <nilsson@fastmail.com>

Doc fix.

2016-03-14

2016-03-14 16:15:06 by Martin Nilsson <nilsson@fastmail.com>

Use random_string instead of Crypto.Random.random_string

2016-03-14 11:15:04 by Martin Nilsson <nilsson@fastmail.com>

Documentation fixes.

2016-03-14 00:29:22 by Chris Angelico <rosuav@gmail.com>

Fix spelling of composite[d]_changed signal

2016-03-14 00:29:22 by Chris Angelico <rosuav@gmail.com>

Fix spelling of composite[d]_changed signal

2016-03-14 00:29:21 by Chris Angelico <rosuav@gmail.com>

Fix GTK2.SourceBuffer undo/redo signal names

2016-03-14 00:28:28 by Chris Angelico <rosuav@gmail.com>

Fix spelling of composite[d]_changed signal

2016-03-14 00:28:28 by Chris Angelico <rosuav@gmail.com>

Fix spelling of composite[d]_changed signal

2016-03-14 00:26:44 by Chris Angelico <rosuav@gmail.com>

Fix GTK2.SourceBuffer undo/redo signal names

2016-03-13

2016-03-13 21:40:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Random: Updated some types and AutoDoc.

2016-03-11

2016-03-11 17:43:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Added note about some failure modes of rm().

2016-03-04

2016-03-04 13:59:59 by Per Hedbor <ph@opera.com>

Addressed code review issues

2016-03-02

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

Roxen: Added decoding of surrogates to http_decode_string().

Some javascript code sends %u-encoded surrogate pairs.

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

Roxen: Added decoding of surrogates to http_decode_string().

Some javascript code sends %u-encoded surrogate pairs.

2016-03-02 13:18:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Added low_peek().

2016-03-01

2016-03-01 11:49:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC [arrays]: Added do_gc_weak_array().

It is now possible to request a quick gc of an array with weak references.

2016-02-29

2016-02-29 14:46:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [GC]: Fixed typo.

2016-02-23

2016-02-23 10:03:23 by Chris Angelico <rosuav@gmail.com>

GTK2: Fix typo

2016-02-23 06:49:48 by Chris Angelico <rosuav@gmail.com>

GTK2: Fix method name linkage

2016-02-23 06:17:52 by Chris Angelico <rosuav@gmail.com>

GTK2: Fix typo

2016-02-16

2016-02-16 13:48:33 by Martin Nilsson <nilsson@fastmail.com>

Added Nettle.version

2016-02-15

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

Filesystem.Monitor: Improved thread safety.

ADT.Heap is NOT thread-safe (especially not pop()), so use
a Thread.Mutex to control access to the monitor_queue.

Potential fix for [bug 7644 (#7644)] (where the top element becomes zero
instead of an ADT.Heap()->Element).

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

Filesystem.Monitor: Improved thread safety.

ADT.Heap is NOT thread-safe (especially not pop()), so use
a Thread.Mutex to control access to the monitor_queue.

Potential fix for [bug 7644 (#7644)] (where the top element becomes zero
instead of an ADT.Heap()->Element).

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

Filesystem.Monitor: Improved thread safety.

ADT.Heap is NOT thread-safe (especially not pop()), so use
a Thread.Mutex to control access to the monitor_queue.

Potential fix for [bug 7644 (#7644)] (where the top element becomes zero
instead of an ADT.Heap()->Element).

2016-02-08

2016-02-08 17:24:47 by Peter Bortas <bortas@gmail.com>

Revert "Added the Markdown module and the standalone pike_to_html.pike from 8.1."

This reverts commit 2706a62c3c72b296a0c77b418f1e186c682c7ac5.

2016-02-08 17:24:47 by Peter Bortas <bortas@gmail.com>

Revert "Added the Markdown module and the standalone pike_to_html.pike from 8.1."

This reverts commit 2706a62c3c72b296a0c77b418f1e186c682c7ac5.

2016-02-07

2016-02-07 08:02:06 by Chris Angelico <rosuav@gmail.com>

IRC: More properly implement the Channel class and add docs

2016-02-03

2016-02-03 17:22:22 by Martin Nilsson <nilsson@fastmail.com>

Added creation method raw to put binary data directly in an image object without adaptation.

2016-02-03 13:54:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [HTTPAccept]: Fix all references to HTTPLoop.

HTTPLoop installs itself as HTTPAccept, so fix the documentation
to reflect this.

Thanks to Eiichiro ITANI <emu@ceres.dti.ne.jp> for the report.

2016-02-03 13:54:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [HTTPAccept]: Fix all references to HTTPLoop.

HTTPLoop installs itself as HTTPAccept, so fix the documentation
to reflect this.

Thanks to Eiichiro ITANI <emu@ceres.dti.ne.jp> for the report.

2016-02-03 13:54:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [HTTPAccept]: Fix all references to HTTPLoop.

HTTPLoop installs itself as HTTPAccept, so fix the documentation
to reflect this.

Thanks to Eiichiro ITANI <emu@ceres.dti.ne.jp> for the report.

2016-02-03 13:50:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [HTTPAccept]: Fix all references to HTTPLoop.

HTTPLoop installs itself as HTTPAccept, so fix the documentation
to reflect this.

Thanks to Eiichiro ITANI <emu@ceres.dti.ne.jp> for the report.

2016-01-26

2016-01-26 23:56:01 by Martin Nilsson <nilsson@fastmail.com>

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

2016-01-26 18:57:11 by Martin Nilsson <nilsson@fastmail.com>

Added Fast random generator.

2016-01-23

2016-01-23 14:29:47 by Chris Angelico <rosuav@gmail.com>

Update GTK2.Notebook docos

2016-01-23 14:29:47 by Chris Angelico <rosuav@gmail.com>

Update GTK2.Notebook docos

2016-01-20

2016-01-20 22:36:32 by Pontus Östlund <ponost@roxen.com>

Merge branch 'new-pikedoc' into 8.1

* new-pikedoc:
New doc layout done! (well, as far as I can tell anyway). It now also works on local modules with module_modref as build target.
Start of new layout for the Pike refdoc

2016-01-20 22:36:32 by Pontus Östlund <ponost@roxen.com>

Merge branch 'new-pikedoc' into 8.1

* new-pikedoc:
New doc layout done! (well, as far as I can tell anyway). It now also works on local modules with module_modref as build target.
Start of new layout for the Pike refdoc

2016-01-20 18:09:54 by Pontus Östlund <ponost@roxen.com>

New doc layout done! (well, as far as I can tell anyway). It now also works on local modules with module_modref as build target.

2016-01-20 18:09:54 by Pontus Östlund <ponost@roxen.com>

New doc layout done! (well, as far as I can tell anyway). It now also works on local modules with module_modref as build target.

2016-01-20 13:10:12 by Pontus Östlund <ponost@roxen.com>

Added the Markdown module and the standalone pike_to_html.pike from 8.1.

2016-01-18

2016-01-18 00:52:56 by Martin Nilsson <nilsson@fastmail.com>

Documentation.

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

Make random_seed() a noop and deprecate.

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

Remove now unused random() implementations.

2016-01-15

2016-01-15 17:32:31 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.

2016-01-04

2016-01-04 14:58:57 by Per Hedbor <ph@opera.com>

strlen is for strings only these days

2015-12-29

2015-12-29 21:04:25 by Martin Nilsson <nilsson@fastmail.com>

Documentation

2015-12-29 20:45:13 by Martin Nilsson <nilsson@fastmail.com>

Move pike compat handling into the Testsuite object.

2015-12-27

2015-12-27 00:31:56 by Martin Nilsson <nilsson@fastmail.com>

Less mementos of CVS.

2015-12-23

2015-12-23 12:19:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Nettle]: Some minor cleanups.

2015-12-20

2015-12-20 14:16:18 by Martin Nilsson <nilsson@fastmail.com>

Fixed the _sprintf code.

2015-12-19

2015-12-19 18:18:37 by Tobias S. Josefowitz <tobij@tobij.de>

Debug: added functions to generate perf map files

2015-12-14

2015-12-14 17:52:10 by Martin Nilsson <nilsson@fastmail.com>

Readded type information as comments.

2015-12-14 17:49:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Added block cipher mode IGE (Infinite Garble Extension).

2015-12-10

2015-12-10 15:37:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Standards.X509]: Fixed typo.

2015-12-09

2015-12-09 16:36:19 by Martin Nilsson <nilsson@fastmail.com>

Move compilation to the test object.

2015-12-06

2015-12-06 13:11:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Context: Deprecated variable require_trust.

Setting of this variable is now equivalent to setting the
auth_level to AUTHLEVEL_require.

2015-12-01

2015-12-01 08:56:27 by Martin Nilsson <nilsson@fastmail.com>

Stop supporting compression by default.

2015-12-01 08:56:27 by Martin Nilsson <nilsson@fastmail.com>

Stop supporting compression by default.

2015-12-01 08:55:12 by Martin Nilsson <nilsson@fastmail.com>

Stop supporting compression by default.

2015-12-01 01:27:32 by Martin Nilsson <nilsson@fastmail.com>

Made hex2string more permissive, as any non-hex characters are now allowed outside hex tuples. It is also less permissive, as non-hex characters will produce an error when in tuples, whereas they were previously treated as 0.

2015-11-30

2015-11-30 21:46:13 by Martin Nilsson <nilsson@fastmail.com>

Moved parsing of tests to Testsuite objects.

2015-11-27

2015-11-27 07:04:20 by Martin Karlgren <marty@roxen.com>

Parser.RCS: Add optional max_revisions parameter to the API.

2015-11-24

2015-11-24 16:15:49 by Arne Goedeke <el@laramies.com>

Stdio.Buffer: added truncate()

2015-11-24 14:52:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS.RSA: Added oaep_algorithm_id().

Also adjusts the RFC reference for pss_signature_algorithm_id().

2015-11-23

2015-11-23 14:13:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Added support for RSAES-OAEP (RFC 3447:7.1).

2015-11-22

2015-11-22 12:21:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash: Added eme_oeap_{encode,decode}().

These two functions implement the encoding used in RSAES-OAEP.

2015-11-21

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

Crypto.RSA: Added pkcs_signature_algorithm_id() for PSS.

2015-11-16

2015-11-16 05:21:22 by Martin Nilsson <nilsson@fastmail.com>

Removed remnants of Pike.Security

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

Don't clean up the stack in void functions.

2015-11-14

2015-11-14 14:55:46 by Pontus Östlund <ponost@roxen.com>

Added an example of how to use an OAuth2 derived module

2015-11-14 14:54:36 by Pontus Östlund <ponost@roxen.com>

Added an example of how to use an OAuth2 derived module

2015-11-14 12:42:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Cleaned up RSASSA-PSS API.

It is now possible to get a PSS signature object from an RSA state by
indexing it with "PSS". Eg

Crypto.RSA.State rsa = ...;
string(8bit) sign = rsa->PSS->pkcs_sign(message, hash);
int(0..1) ok = rsa->PSS->pkcs_verify(message, hash, sign);

Also adds a corresponding symbol "PKCS1_5" for the traditional (and
default) PKCS#1 1.5 style signatures.

2015-11-11

2015-11-11 01:36:32 by Martin Nilsson <nilsson@fastmail.com>

Added CRC32C

2015-11-10

2015-11-10 23:16:16 by Pontus Östlund <ponost@roxen.com>

Added a tool for converting a Pike file into a syntax highlighted HTML file.

Usage: pike -x pike_to_html source.pike > source.html

This will create a full HTML page.

The class also has a public method for converting a string of code into highlighted HTML. This will leave out the <html>...<body> parts in the result.

2015-11-09

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

Crypto.RSA: Added pss_{sign,verify}() implementing RSASSA-PSS.

Note: This is a temporary API as it is not compatible with
the __builtin.Nettle.Sign API.

2015-11-09 00:53:23 by Martin Nilsson <nilsson@fastmail.com>

Removed no longer needed check_all_args. Removed glob argument from list_fields documentation, which was never supported.

2015-11-08

2015-11-08 13:52:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash: Added emsa_pss_{encode,verify}().

These are algorithms specified in RFC 3447 section 9.1,
and are primitives used in signatures with RSASSA-PSS.

2015-11-08 13:52:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash: Added emsa_pss_{encode,verify}().

These are algorithms specified in RFC 3447 section 9.1,
and are primitives used in signatures with RSASSA-PSS.

2015-11-08 03:14:49 by Martin Nilsson <nilsson@fastmail.com>

Functions can not return void|string or void|object.

2015-11-08 03:14:49 by Martin Nilsson <nilsson@fastmail.com>

Functions can not return void|string or void|object.

2015-11-08 02:27:23 by Martin Nilsson <nilsson@fastmail.com>

Don't push 0 in void methods. Don't clean the stack in void methods. Fixed a _sprintf prototype. Converted some code to use RETURN.

2015-11-06

2015-11-06 10:22:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Encrypt then MAC mode is an RFC now...

2015-11-06 10:22:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Encrypt then MAC mode is an RFC now...

2015-11-01

2015-11-01 17:56:56 by Martin Nilsson <nilsson@fastmail.com>

Rename HASH_sha to HASH_sha1.

2015-10-25

2015-10-25 21:54:03 by Martin Nilsson <nilsson@fastmail.com>

Documentation fix.

2015-10-25 21:54:03 by Martin Nilsson <nilsson@fastmail.com>

Documentation fix.

2015-10-25 17:12:19 by Martin Nilsson <nilsson@fastmail.com>

We can't store UNDEFINED in arrays. Clear up some confusion.

2015-10-25 17:12:19 by Martin Nilsson <nilsson@fastmail.com>

We can't store UNDEFINED in arrays. Clear up some confusion.

2015-10-25 16:48:09 by Martin Nilsson <nilsson@fastmail.com>

Allow read_cstring to have a different end sentinel than null.

2015-10-25 16:48:09 by Martin Nilsson <nilsson@fastmail.com>

Allow read_cstring to have a different end sentinel than null.

2015-10-22

2015-10-22 09:49:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio.sendfile]: Document risk of SIGPIPE.

Make sure that users of sendfile() are aware of [bug 7582 (#7582)] behavior.

2015-10-22 09:49:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Stdio.sendfile]: Document risk of SIGPIPE.

Make sure that users of sendfile() are aware of [bug 7582 (#7582)] behavior.

2015-10-21

2015-10-21 23:21:43 by Martin Nilsson <nilsson@fastmail.com>

A very, very small fix.

2015-10-15

2015-10-15 09:58:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: API fix mk II.

ADT.Scheduler()->get() now works as documented and intended again.

Reverts the testsuite changes from c2535027a79c958d5355686026e12ff78007b598.

2015-10-14

2015-10-14 20:47:56 by Martin Nilsson <nilsson@fastmail.com>

Backported encode/decode base64url

2015-10-14 20:47:56 by Martin Nilsson <nilsson@fastmail.com>

Backported encode/decode base64url

2015-10-14 20:45:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.TreeScheduler: Updated to new Heap API.

2015-10-14 20:34:23 by Martin Nilsson <nilsson@fastmail.com>

Backport from 8.1

2015-10-14 20:20:02 by Martin Nilsson <nilsson@fastmail.com>

Remove time_elapsed, as it has nothing to do with Web.Api per se.

2015-10-14 19:30:58 by Peter Bortas <bortas@gmail.com>

Revert "Don't suggest writing files in /."

This reverts commit 4905c255eeda543c7a80e451fc75432ae27f57ea.

2015-10-14 19:30:30 by Peter Bortas <bortas@gmail.com>

Revert "Don't suggest writing files in /."

This reverts commit 5d07baf3780523d7fb8c2117aa9c63fd2fd19dfe.

2015-10-14 19:30:30 by Peter Bortas <bortas@gmail.com>

Revert "Don't suggest writing files in /."

This reverts commit 5d07baf3780523d7fb8c2117aa9c63fd2fd19dfe.

2015-10-14 19:08:58 by Peter Bortas <bortas@gmail.com>

Don't suggest writing files in /.

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

Inotify: Renamed get_fd() to query_fd().

Also removes some obsolete documentation.

2015-10-13

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

Stdio.UDP: Increased paranoia in bind().

Fixes handling of close(2) failure.

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

Stdio.UDP: Increased paranoia in bind().

Fixes handling of close(2) failure.

2015-10-12

2015-10-12 23:57:47 by Martin Nilsson <nilsson@fastmail.com>

Documentation fixes.

2015-10-12 23:57:47 by Martin Nilsson <nilsson@fastmail.com>

Documentation fixes.

2015-10-12 23:24:57 by Martin Nilsson <nilsson@fastmail.com>

UNRESERVED_CHARS is not used.

2015-10-12 20:46:59 by Pontus Östlund <ponost@roxen.com>

Start of new layout for the Pike refdoc

2015-10-12 20:46:59 by Pontus Östlund <ponost@roxen.com>

Start of new layout for the Pike refdoc

2015-10-12 20:20:15 by Martin Nilsson <nilsson@fastmail.com>

Some comments.

2015-10-12 18:41:45 by Martin Nilsson <nilsson@fastmail.com>

Some argument cleanup.

2015-10-12 13:27:19 by Pontus Östlund <ponost@roxen.com>

Updated all references since the modules were moved from root namespace to the Web namespace

2015-10-12 12:53:37 by Pontus Östlund <ponost@roxen.com>

Updated all references since the modules were moved from root namespace to the Web namespace

2015-10-11

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

Merge branch '8.1' into grubba/typechecker-mk3

* 8.1: (51 commits)
Compiler [Types]: Got rid of my_describe_type().
Compiler [Types]: Fixed wide strings in nested types.
Compiler [Types]: low_describe_type() now uses string_builder.
string_builder_sprintf: Fixed '+' for floats.
string_builder_sprintf: Added support for %T.
Calendar.mkrules: Improved backward compat.
Auth.OAuth.Client: Fixed AutoDoc markup issue.
New modules for communicating with different (RESTful) web apis (including OAuth and OAuth2 client modules) .
Documentation [%]: Added some clarifications and improved markup.
Inotify: Minor code cleanup. Potential fix for [CID 1325796].
Inotify: Removed some debug output.
Filesystem.Monitor [Inotify]: Improved support for blocking mode.
Inotify: Don't reference count immediate circular references.
Inotify: Removed some dead code.
System.Inotify, Filesystem.Monitor: Updates to use new Inotify API.
Inotify: Use fd_callback_boxes, internal event parsing.
Search.Database.MySQL: Censor the SQL-url.
Sql: Added censor_sql_url().
Search.Database.MySQL: Avoid long lived database connections.
Inotify: Don't throw errors in rm_watch() on invalid watch descriptor.
...

2015-10-09

2015-10-09 11:50:13 by Pontus Östlund <ponost@roxen.com>

New modules for communicating with different (RESTful) web apis (including OAuth and OAuth2 client modules) .

Implemented APIs are (that is, you can authenticate against them and all have basic methods for doing generic get, post, put and so on requests)

* Facebook
* Github
* Google
* Analuytics
* Plus
* Instagram
* LinkedIn
* Twitter

2015-10-08

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

Documentation [%]: Added some clarifications and improved markup.

Fixes [LysLysKOM 21477516] reported by Per Cederqvist. Thanks.

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

Documentation [%]: Added some clarifications and improved markup.

Fixes [LysLysKOM 21477516] reported by Per Cederqvist. Thanks.

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

Documentation [%]: Added some clarifications and improved markup.

Fixes [LysLysKOM 21477516] reported by Per Cederqvist. Thanks.

2015-10-07

2015-10-07 16:24:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: Removed some dead code.

2015-10-07 16:24:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: Removed some dead code.

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

Inotify: Removed some dead code.

2015-10-07 15:43:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: Use fd_callback_boxes, internal event parsing.

Inotify instances are now hooked directly into the backend,
so the need to expose an fd object is gone.

Parsing of the event stream is now buffered and parsed internally.

Also fixes minor bug on close.

2015-10-07 15:38:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

System.Inotify, Filesystem.Monitor: Updates to use new Inotify API.

System.Inotify.Instance now inherits _Instance directly. This
simplifies the code and caused some functions to become redundant.

Filesystem.Monitor now has some support for Inotify in blocking mode.

2015-10-07 15:30:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: Use fd_callback_boxes, internal event parsing.

Inotify instances are now hooked directly into the backend,
so the need to expose an fd object is gone.

Parsing of the event stream is now buffered and parsed internally.

Also fixes minor bug on close.

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

Sql: Added censor_sql_url().

2015-10-07 12:33:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql: Added censor_sql_url().

2015-10-05

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

Filesystem.Monitor.debug: Added get_monitors().

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

Filesystem.Monitor.debug: Added get_monitors().

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

Filesystem.Monitor.symlinks: Inherit DefaultMonitor.

This means that the symlinks class (and debug class) now take advantage
of accellerated monitors.

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

Filesystem.Monitor: Added DefaultMonitor.

This class alias simplifies other code by reducing the need for
preprocessor checks.

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

Filesystem.Monitor.debug: Added get_monitors().

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

Filesystem.Monitor.symlinks: Inherit DefaultMonitor.

This means that the symlinks class (and debug class) now take advantage
of accellerated monitors.

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

Filesystem.Monitor.symlinks: Inherit DefaultMonitor.

This means that the symlinks class (and debug class) now take advantage
of accellerated monitors.

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

Filesystem.Monitor: Added DefaultMonitor.

This class alias simplifies other code by reducing the need for
preprocessor checks.

2015-10-03

2015-10-03 13:01:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Swiched character encoding to UTF-8.

The datatypes documentation source file is now in UTF-8.

2015-09-24

2015-09-24 02:24:30 by Martin Nilsson <nilsson@fastmail.com>

Missed a sentence.

2015-09-24 02:21:11 by Martin Nilsson <nilsson@fastmail.com>

Allow fine grained control over what extensions to use.

2015-09-23

2015-09-23 15:39:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS.ECDSA: Added variant of parse_ec_parameters().

When parsing ASN.1 it is not unusual to have the ASN.1 objects
rather than their DER representation.

2015-09-23 15:39:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS.ECDSA: Added variant of parse_ec_parameters().

When parsing ASN.1 it is not unusual to have the ASN.1 objects
rather than their DER representation.

2015-09-22

2015-09-22 14:49:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Standards.UUID]: Improved AutoDoc markup.

2015-09-21

2015-09-21 15:47:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Protocols.LDP]: Added some RFC markup.

2015-09-19

2015-09-19 10:15:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Standards.PKCS]: Minimal history of PKCS.

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

Standards.PKCS: Added support for decoding PKCS#8 private keys.

2015-09-19 10:09:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS: Added support for decoding PKCS#8 private keys.

2015-09-19 10:09:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS: Added support for decoding PKCS#8 private keys.

2015-09-19 10:09:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS: Added support for decoding PKCS#8 private keys.

2015-09-18

2015-09-18 14:47:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Refactored the accellerated filesystem monitors.

This is to improve compatibility with older code, and to support
extending the monitor system to monitor virtual files (like eg
http URLs), and also to reduce the complexity of the code.

Also fixes issue with Inotify not supporting monitoring of
non-existing paths.

2015-09-18 14:43:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Added adjust_monitor().

2015-09-18 14:43:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Added adjust_monitor().

2015-09-18 14:43:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Added check_all().

2015-09-18 14:43:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Added check_all().

2015-09-18 14:43:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Added check_all().

2015-09-18 13:48:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Refactored the accellerated filesystem monitors.

This is to improve compatibility with older code, and to support
extending the monitor system to monitor virtual files (like eg
http URLs), and also to reduce the complexity of the code.

Also fixes issue with Inotify not supporting monitoring of
non-existing paths.

2015-09-18 13:48:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Refactored the accellerated filesystem monitors.

This is to improve compatibility with older code, and to support
extending the monitor system to monitor virtual files (like eg
http URLs), and also to reduce the complexity of the code.

Also fixes issue with Inotify not supporting monitoring of
non-existing paths.

2015-09-18 10:00:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Added check_all().

2015-09-15

2015-09-15 14:18:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.HTTP2: Added Frame class.

2015-09-14

2015-09-14 12:30:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc: Fixed documentation of random(float).

Fixes [LysLysKOM 21443522] reported by Per Cederqvist. Thanks.

2015-09-14 12:27:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc: Fixed documentation of random(float).

Fixes [LysLysKOM 21443522] reported by Per Cederqvist. Thanks.

2015-09-11

2015-09-11 16:02:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

7.8::GTK: The GTK1 module is no more...

2015-09-10

2015-09-10 13:45:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Use the new ADT.Heap adjust() API.

Improve performance by using the new ADT.Heap adjust() API.

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

ADT.Heap: Added ADT.Heap.Element.

This adds one level of indirection, but is needed to get a
reasonable performance in code that needs to call adjust().

Also corresponding updates to ADT.Priority_queue.

Also removes the LFUN::`==() operator from ADT.Priority_queue.elem,
as it doesn't serve any purpose.

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

ADT.Heap: Added ADT.Heap.Element.

This adds one level of indirection, but is needed to get a
reasonable performance in code that needs to call adjust().

Also corresponding updates to ADT.Priority_queue.

Also removes the LFUN::`==() operator from ADT.Priority_queue.elem,
as it doesn't serve any purpose.

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

ADT.Heap: Added ADT.Heap.Element.

This adds one level of indirection, but is needed to get a
reasonable performance in code that needs to call adjust().

Also corresponding updates to ADT.Priority_queue.

Also removes the LFUN::`==() operator from ADT.Priority_queue.elem,
as it doesn't serve any purpose.

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

ADT.Heap: Added ADT.Heap.Element.

This adds one level of indirection, but is needed to get a
reasonable performance in code that needs to call adjust().

Also corresponding updates to ADT.Priority_queue.

Also removes the LFUN::`==() operator from ADT.Priority_queue.elem,
as it doesn't serve any purpose.

2015-09-09

2015-09-09 14:36:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Threads: Added support for setting a thread time quanta.

This is mostly intended to be used to identify code that
inhibits other threads from running.

2015-09-09 14:36:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Threads: Added support for setting a thread time quanta.

This is mostly intended to be used to identify code that
inhibits other threads from running.

2015-09-09 14:20:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Threads: Added support for setting a thread time quanta.

This is mostly intended to be used to identify code that
inhibits other threads from running.

2015-09-09 14:20:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Threads: Added support for setting a thread time quanta.

This is mostly intended to be used to identify code that
inhibits other threads from running.

2015-09-02

2015-09-02 20:08:06 by Martin Nilsson <nilsson@fastmail.com>

Truncated HMAC may be a security issues, and isn't really supported by anyone else. Disable it by default.

2015-09-02 19:58:53 by Martin Nilsson <nilsson@fastmail.com>

Documentation updates.

2015-09-01

2015-09-01 11:53:57 by Per Hedbor <ph@opera.com>

Merge branch '8.1' into per/substrings

2015-08-30

2015-08-30 06:17:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Standards.HPack]: Added quite a bit of AutoDoc markup.

2015-08-30 06:17:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Standards.HPack]: Added quite a bit of AutoDoc markup.

2015-08-27

2015-08-27 13:22:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Initial implementation of Stdio.FakePipe.

This is a class that attempts to emulate a bi-directional pipe/socket,
but without using any fds.

The intended use is to simplify implementation of APIs that require
emulation of sockets (like eg SSL.File).

2015-08-27 13:22:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Initial implementation of Stdio.FakePipe.

This is a class that attempts to emulate a bi-directional pipe/socket,
but without using any fds.

The intended use is to simplify implementation of APIs that require
emulation of sockets (like eg SSL.File).

2015-08-25

2015-08-25 16:50:15 by Per Hedbor <ph@opera.com>

Merge remote-tracking branch 'origin/8.1' into per/substrings

2015-08-25 16:50:15 by Per Hedbor <ph@opera.com>

Merge remote-tracking branch 'origin/8.1' into per/substrings

2015-08-25 15:34:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Protocols.LMTP]: Moved some documentation.

2015-08-24

2015-08-24 17:42:42 by Martin Nilsson <nilsson@fastmail.com>

GTK1 is deprecated

2015-08-24 14:43:50 by Per Hedbor <ph@opera.com>

Merge remote-tracking branch 'origin/8.1' into per/substrings

2015-08-24 13:46:37 by Martin Nilsson <nilsson@fastmail.com>

Reuse the tag parsing loop.

2015-08-22

2015-08-22 18:54:15 by Martin Nilsson <nilsson@fastmail.com>

Support linking direct to RFC anchor.

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

Documentation [Crypto.Password]: Added some RFC markup.

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

Documentation [Crypto.Password]: Added some RFC markup.

2015-08-22 00:24:42 by Martin Nilsson <nilsson@fastmail.com>

Autodoc fixes.

2015-08-22 00:22:11 by Martin Nilsson <nilsson@fastmail.com>

Autodoc fixes.

2015-08-22 00:15:23 by Martin Nilsson <nilsson@fastmail.com>

Use @rfc{@} autodoc syntax.

2015-08-21

2015-08-21 23:56:32 by Martin Nilsson <nilsson@fastmail.com>

Use @rfc{@} autodoc syntax.

2015-08-21 14:53:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [MIME]: Use the new RFC reference markup.

2015-08-21 14:53:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [MIME]: Use the new RFC reference markup.

2015-08-21 14:52:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [MIME]: Use the new RFC reference markup.

2015-08-21 13:52:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [MIME]: Use the new RFC reference markup.

2015-08-20

2015-08-20 11:59:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.TreeScheduler: Added scheduler from RFC 7540 section 5.3.

2015-08-20 11:59:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.TreeScheduler: Added scheduler from RFC 7540 section 5.3.

2015-08-20 08:15:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.Thread [Documentation]: Adjusted return type of thread function.

The return value of the thread function is relevant (as it is returned
by wait())...

Fixes [LysLysKOM 21410113] reported by Per Cederqvist. Thanks.

Also adjusted the declared type of create() somewhat so that it requires
a thread function (ie the compiler will now complain if it is called
without arguments).

2015-08-20 08:15:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.Thread [Documentation]: Adjusted return type of thread function.

The return value of the thread function is relevant (as it is returned
by wait())...

Fixes [LysLysKOM 21410113] reported by Per Cederqvist. Thanks.

Also adjusted the declared type of create() somewhat so that it requires
a thread function (ie the compiler will now complain if it is called
without arguments).

2015-08-20 08:09:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.Thread [Documentation]: Adjusted return type of thread function.

The return value of the thread function is relevant (as it is returned
by wait())...

Fixes [LysLysKOM 21410113] reported by Per Cederqvist. Thanks.

Also adjusted the declared type of create() somewhat so that it requires
a thread function (ie the compiler will now complain if it is called
without arguments).

2015-08-20 08:09:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.Thread [Documentation]: Adjusted return type of thread function.

The return value of the thread function is relevant (as it is returned
by wait())...

Fixes [LysLysKOM 21410113] reported by Per Cederqvist. Thanks.

Also adjusted the declared type of create() somewhat so that it requires
a thread function (ie the compiler will now complain if it is called
without arguments).

2015-08-17

2015-08-17 13:26:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Context: Default to the FFDHE2048 group.

Changes the default DHE group from MODP group 24 to FFDHE2048.

This makes SMACKTest (http://smacktest.com/) happy, and reduces
the risk of precalculated attacks against the MODP group.

2015-08-17 13:26:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Context: Default to the FFDHE2048 group.

Changes the default DHE group from MODP group 24 to FFDHE2048.

This makes SMACKTest (http://smacktest.com/) happy, and reduces
the risk of precalculated attacks against the MODP group.

2015-08-13

2015-08-13 09:15:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [ADT.Heap]: Added some cross-references.

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

ADT.Heap: Added remove().

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

Documentation [ADT.Heap]: Added some cross-references.

2015-08-13 09:12:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Added remove().

2015-08-12

2015-08-12 15:50:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: Keep Consumer()->offset up to date.

This simplifies code that needs to check the priority of
potentially inactive consumers.

2015-08-10

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

ADT.Scheduler: First version.

This is a data type intended to be used to distribute quanta of
a resource fairly among a set of prioritized consumers.

2015-08-08

2015-08-08 20:55:52 by Martin Nilsson <nilsson@fastmail.com>

Support for WebP

2015-08-08 18:51:33 by Martin Nilsson <nilsson@fastmail.com>

Move the compat fallback for Dims.get into the compat module. Doesn't actually work currently, as the resolver in the image module doesn't know about compat resolvers.

2015-08-06

2015-08-06 12:08:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.HTTP2: Added the constants from RFC 7540.

2015-08-05

2015-08-05 12:31:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Added shutdown().

2015-08-02

2015-08-02 12:46:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Postgres: Fixed type for big_query().

Fixes compilation issue with Sql.postgres.

2015-07-31

2015-07-31 00:10:32 by Martin Nilsson <nilsson@fastmail.com>

Mark read and write as deprecated. Added documentation.

2015-07-24

2015-07-24 06:25:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.HPack: Added create().

create() can now be used to set the "hard" upper size limit
for the dynamic header table.

Also hides a few variables and adds quite a bit of related
(internal) documentation.

2015-07-15

2015-07-15 09:40:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.X509.TBSCertificate: Added `hash().

This makes it much easier to get the hash algoritm from a TBS.

2015-07-13

2015-07-13 15:12:43 by Per Hedbor <ph@opera.com>

Rewrote buffer growth strategy

It is now 1.625x old size instead of 2.0 x old size + bytes_added,
with some exception.

Also added a shrink strategy, by default it's close to the reverse: If
more than 61.5% of the buffer is empty space, shrink it down
(1/1.625).

(cherry picked from commit 917184b64444098f8b84c79cdd1de89ccaa467f6)

Conflicts:
src/modules/_Stdio/buffer.cmod

2015-07-13 14:57:48 by Per Hedbor <ph@opera.com>

Rewrote buffer growth strategy

It is now 1.625x old size instead of 2.0 x old size + bytes_added,
with some exception.

Also added a shrink strategy, by default it's close to the reverse: If
more than 61.5% of the buffer is empty space, shrink it down
(1/1.625).

2015-07-13 14:57:48 by Per Hedbor <ph@opera.com>

Rewrote buffer growth strategy

It is now 1.625x old size instead of 2.0 x old size + bytes_added,
with some exception.

Also added a shrink strategy, by default it's close to the reverse: If
more than 61.5% of the buffer is empty space, shrink it down
(1/1.625).

2015-07-10

2015-07-10 17:41:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HPack: Added module.

This module is intended to implement RFC 7541 (HPACK).

Currently it only implements huffman_{en,de}code(), which is
the huffman encoding used in the RFC.

2015-07-08

2015-07-08 15:54:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added query_application_protocol().

This is needed for protocols using ALPN.

2015-07-08 13:01:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Hash: Added mgf1() from RFC 3447 B.2.1.

2015-07-06

2015-07-06 13:52:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ClientConnection: Support ALPN being accepted.

Fixes [LysLysKOM 21365565].

2015-07-06 13:52:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ClientConnection: Support ALPN being accepted.

Fixes [LysLysKOM 21365565].

2015-07-06 13:36:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ClientConnection: Support ALPN being accepted.

Fixes [LysLysKOM 21365565].

2015-06-26

2015-06-26 15:15:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Some markup changes to some efuns.

Improves the documentation of indices(), values() and types().

2015-06-23

2015-06-23 12:57:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

unicode_to_string: Support UTF8LE without BOM.

Adds an optional second argument to unicode_to_string() to
specify the default byte order (an initial BOM in the input
string overrides this argument).

2015-06-23 12:54:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_to_unicode: Support outputting UTF8LE.

Adds an optional second argument to string_to_unicode() to
specify the wanted byte order.

2015-06-22

2015-06-22 05:14:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Standalone.precompile: Fixed typo in description.

2015-06-17

2015-06-17 16:57:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Added reference to `==() from equal().

2015-06-17 16:56:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Removed duplicate doc for hash_7_4().

Also fixes some obsolete documentation references.

2015-06-13

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

Msql: Converted module to using cmod precompiler.

2015-06-07

2015-06-07 19:09:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql: Added module.

This is intended to become the base module for the Sql modules.

2015-06-07 19:09:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql: Added module.

This is intended to become the base module for the Sql modules.

2015-06-05

2015-06-05 11:49:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

unicode_to_string: Support UTF8LE without BOM.

Adds an optional second argument to unicode_to_string() to
specify the default byte order (an initial BOM in the input
string overrides this argument).

2015-06-05 11:48:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_to_unicode: Support outputting UTF8LE.

Adds an optional second argument to string_to_unicode() to
specify the wanted byte order.

2015-06-05 11:48:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

string_to_unicode: Support outputting UTF8LE.

Adds an optional second argument to string_to_unicode() to
specify the wanted byte order.

2015-06-04

2015-06-04 12:59:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.DH: Avoid circular dependency on Crypto.DSA.

Adds __builtin.Nettle.DH_Params.

2015-06-04 12:59:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.DH: Avoid circular dependency on Crypto.DSA.

Adds __builtin.Nettle.DH_Params.

2015-06-02

2015-06-02 17:31:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.DSA: Added some variants handling Crypto.DH.Parameters.

set_public_key() and generate_key() now have variants that accept
a Crypto.DH.Parameters object instead of the separated values.

2015-06-02 17:31:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.DSA: Added some variants handling Crypto.DH.Parameters.

set_public_key() and generate_key() now have variants that accept
a Crypto.DH.Parameters object instead of the separated values.

2015-06-01

2015-06-01 15:36:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added gethrdtime().

2015-06-01 15:34:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added gethrdtime().

2015-05-27

2015-05-27 20:26:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.ECC_Curve: Allow uninitialized Points.

This is used by eg the ECDSA module where the public key
is set after initialization.

2015-05-27 20:26:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.ECC_Curve: Allow uninitialized Points.

This is used by eg the ECDSA module where the public key
is set after initialization.

2015-05-27 20:24:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle [ECDSA]: Fixed parent pointer information.

The Point must be inherited by hand, as the parent pointer information
otherwise gets lost.

2015-05-26

2015-05-26 10:33:42 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-05-26 10:33:42 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-05-26 10:33:42 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-05-25

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

Removed trailing spaces.

2015-05-25 12:53:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process.create_process [doc]: Improved documentation.

Make it clearer that the "cwd" parameter is affected by "chroot".

2015-05-25 12:52:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process.create_process [doc]: Added some clarifications.

Make it clearer that the process callback function is called in
a signal handler context.

Fixes [LysLysKOM 21312841].

2015-05-25 12:52:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process.create_process [doc]: Added some clarifications.

Make it clearer that the process callback function is called in
a signal handler context.

Fixes [LysLysKOM 21312841].

2015-05-18

2015-05-18 16:12:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Port: Added some missing documentation of query_fd().

Also moved the implementation to be closer to the rest of the functions.

2015-05-18 16:12:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Port: Added some missing documentation of query_fd().

Also moved the implementation to be closer to the rest of the functions.

2015-05-18 16:10:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Port: Added some missing documentation of query_fd().

Also moved the implementation to be closer to the rest of the functions.

2015-05-15

2015-05-15 18:43:13 by Tobias S. Josefowitz <tobij@tobij.de>