Branch: Tag:

2023-06-01

2023-06-01 10:43:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.Hash: Fix AutoDoc syntax for balloon().

Also adds some related headerfile/lib paranoia.

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

Crypto.ECC: Add curves GOST_GC256B and GOST_GC512A.

2023-05-27

2023-05-27 09:44:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.SHAKE_256: Add Crypto.Hash API for SHAKE_256.

2023-05-25

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

Nettle.SHA3_256: Add support for SHAKE-256.

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

2023-03-18 13:11:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cpp [Haiku]: Add OS detection macro __HAIKU__.

Also documents the macro __APPLE__.

2023-01-31

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

Testsuite [Protocols.WebSocket.SSLPort]: Reduce size of {R,D}SA keys in test.

Fixes testsuite timeouts on old and slow machines.

2023-01-30

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

Documentation [ADT.CircularList]: Added some cross-references.

2023-01-27

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

2023-01-20 12:23:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.CircularList: Add force argument to add() and push_{front,back}().

This makes it possible to take advantage of it being circular.

2023-01-05

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

Stdio.File: Add isatty().

2022-11-05

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

Show fallthrough.

2022-10-25

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

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

Fixes warnings in Standards.IIM.

2022-10-14

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

Fix a couple of docs typos

2022-10-10

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

Stdio: Added InputStream et al.

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

2022-10-07

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

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

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

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

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

Tools.AutoDoc: Improved support for array length information.

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

2022-09-07

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

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

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

Fixes some fall-out from the #10086 changes.

2022-09-06

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

Compiler: Add lfun::__create__().

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

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

2022-08-28

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

Misc: Fix incorrect syntax in autodoc

2022-08-10

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

Iterators: Add 8.0::get_iterator().

Add wrapper that implements the 8.0 and earlier iterator API.

Also update the testsuite to match the current iterator behavior.

2022-08-07

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

Sql.sql_result: Fix compilation error.

2022-08-05

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

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

Reduces code-duplication.

2022-08-03

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

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

Also added some documentation.

2022-07-29

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

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

2022-07-28

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

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

2022-07-27

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

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

2022-07-25

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

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

2022-07-17

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

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

Fixes multiple warnings.

2022-07-14

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

EFUNs: Restructuring of the sprintf() typechecker.

2022-07-09

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

Pike: get_return_type() now supports the state mapping.

2022-07-08

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

Pike: Support state mapping in low_check_call().

2022-07-03

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

Remote: Stricter handling of zero.

2022-06-18

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

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

2022-06-15

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

Compiler: Update code generator to support F_SSCANF_80.

2022-06-14

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

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

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

2022-06-11

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

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

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

2022-06-02

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

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

2022-05-25

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

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

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

Switch to using

Authorization: Bearer <access_token>

by default.

Also updates Web.Api.Github accordingly.

2022-05-21

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

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

2022-05-11

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

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

2022-03-09

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

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

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

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

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

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

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

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

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

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

2022-01-29

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

doc: fixing some autodoc markup

2022-01-26

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

Sql.mysql: Clean up character set handling.

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

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

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

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

2022-01-13

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

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

2021-11-06

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

decode_value: Fix "Calling undefined function __INIT()"

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

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

Added convenience function to load letsencrypt certificate.

2021-10-27

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

Bugfixed diff_namespaces. Added character encoding to render_xml.

2021-10-14

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

Doc [SSL.Packet]: Use Autodoc markup.

2021-09-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-08-29

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

Backported fragment helper methods.

2021-08-19

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

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

2021-08-09

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

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

2021-08-02

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

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

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

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

Doc [Image.ColorTable]: Fix markup typos.

2021-07-26

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

Doc [Stdio]: Document some more constants.

2021-07-24

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

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

2021-07-20

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

Doc: Fixed AutoDoc markup typo.

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

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

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

2021-06-20

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

Merge branch 'rosuav/http-multi-connect'

2021-06-17

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

Charset: Strict types.

2021-06-16

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

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

2021-05-27

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

Doc [Crypto.DSA]: Fix typo.

2021-05-16

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

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

2021-05-15

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

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

2021-05-09

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

DNS.client: Expose match_etc_hosts.

2021-05-07

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

async_connect using promises.

2021-05-01

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

Doc: Fix some documentation typos.

2021-04-24

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

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

2021-04-21

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

Crypto.DSA: Fix a few warnings.

2021-04-18

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

Fixed warnings.

2021-03-28

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

Shuffler: done_cb is called on every pause.

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

Debug: Add map_all_strings() to trace memory leaks.

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

Shuffler: Add autopause mode.

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

Shuffler: Add support for array sources.

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

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

Master: Added predef::zero.

2021-01-27

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

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

2021-01-11

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

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

2020-12-07

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

ADT: Use new iterator LFUNs in more places.

2020-11-29

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

EFUNs: Added efuns for accessing iterator state.

2020-11-21

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

Iterators: Use the new LFUN names.

Fixes lots of warnings.

2020-11-16

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

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

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

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

2020-11-12

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

CHANGES: updates in preparation for release

2020-11-09

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

EFUNs: Add predef::atomic_get_set().

2020-10-31

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

Documentation: Improved doc for search().

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

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

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

2020-08-26

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

Concurrent.Promise: Refactored the dependency handling.

Get rid of multiple cases of circular referencing via AggregateState.

Removes the AggregateState class.

The folding function no longer gets called with failure values.

The successful array result no longer contains failed values.

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

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

2020-07-29

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

Val.Range: Fixed multiple warnings.

Also adds some FIXMEs regarding the API.

2020-06-29

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

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

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

2020-06-22

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

Thread.Thread: Add gethrvtime().

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: Allow replacement of the lexers and parser

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

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

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

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

2020-05-25

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

MIME: Move decode_/encode_headerfield_params functions here.

2020-05-24

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

Arg: Document the help/usage system.

2020-05-23

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

Thread.ResourceCount: Provide fallback implementation

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

Thread.ResourceCount: Provide fallback implementation

2020-05-19

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

Arg: Fix docs.

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

Crypto: Update bcrypt docs.

2020-05-17

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

Documentation [_Stdio]: Added some doc.

2020-05-15

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

Documentation [Stdio.Buffer]: Fixed markup typo.

2020-04-28

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

Stdio.UDP: Added dup().

2020-04-27

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

Stdio.UDP: Added support for write callbacks.

2020-04-24

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

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

2020-04-11

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

SSL.DTLSState: Implemented sliding window for sequence numbers.

Needed for DTLS (#10032).

2020-04-09

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

SSL.Packet: Added seq_num to Packet.

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

2020-04-02

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

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

2020-03-22

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

Inotify: Improved handling of invalid event callbacks.

The events are now buffered until the callback becomes valid.

Fixes #8042.

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

Inotify: Improved handling of invalid event callbacks.

The events are now buffered until the callback becomes valid.

Fixes #8042.

2020-03-19

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

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

Fixes #10021.

2020-03-17

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

Added JavaScript to cgrep

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

CHANGES: Added note about pty handling on NT.

Fixes #10008.

2020-03-13

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

ADT.OrderedMapping: Improve docs.

2020-03-12

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

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

2020-03-07

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

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

2020-03-06

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

pgsql: Toggle cache_autoprepared_statements default.

2020-02-28

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

Merge branch 'grubba/pty-handling' into 8.0

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

2020-02-26

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

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

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

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

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

Fixes some of #10013.

2020-02-25

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

Documentation [Standards.X509]: Fixed some typos.

Fixes #10012.

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

Documentation [Standards.X509]: Fixed some typos.

Fixes #10012.

2020-02-24

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

Standard.X509: Make signature algorithms configurable

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

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

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

2020-02-19

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

Merge branch 'grubba/pty-handling' into 8.0

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

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

Merge branch 'grubba/pty-handling'

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

2020-02-17

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

Merge branch 'grubba/pty-handling' into 8.0

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

2020-02-16

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

Merge branch 'grubba/pty-handling'

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

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

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

2020-02-07

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

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

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

2020-02-07 12:15: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-01

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

SSL.Context: Fix autodoc typo

2020-01-01

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

Fix documentation for next_prime

2019-12-31

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

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

2019-12-11

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

Crypto.Password: Fixed some warnings.

2019-12-04

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

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

Server side support for session tickets.

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

Implementation verified against OpenSSL's s_client.

Backported from 372b2a05d05fa0d0e052e6634d2acf8d03629ed4 by Tobias
Josefowitz.

2019-11-24

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

Documentation [Image.TIFF]: Enabled some doc.

2019-11-22

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

ADT.List: Added _reverse().

2019-11-21

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

MIME: Added decode_crypt64().

This is the inverse of encode_crypt64().

2019-11-20

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

LFUNs: Added lfun::_reverse().

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

2019-11-18

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

Documentation tweaks.

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

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

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

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

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

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

2019-10-16

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

Pike: Move DestructImmediate to the Pike module.

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

Merge branch 'patches/pike197'

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

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

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

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

Fixes testsuite failure.

Fixes PIKE-197 (#8197).

2019-07-11

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

Compiler: Warn about indexing of deprecated values.

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

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

ADT.Stack: Added pop_to().

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

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

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

2019-06-23

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

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

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

2019-06-21

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

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

2019-06-20

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

Sass: Create pike -x sass SCSS compilation tool.

2019-06-15

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

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

2019-06-14

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

Stdio.Buffer: Stricter types.

Use string(8bit) in more places.

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

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

2019-06-10

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

FakePipe: Numerous bugfixes; it actually works now.

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

2019-06-03

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

Documentation [Nettle]: Fixed typo in doc.

2019-06-02

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

Stdio.File: Support openat with a single argument.

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

2019-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-26 10:48:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.constants: Added some entries from RFC 8422.

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:13:36 by Martin Nilsson <nilsson@fastmail.com>

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

2019-05-04

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

Pike.ProxyFactory: Added new function.

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

2019-05-01

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

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

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

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

2019-04-29

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

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

2019-04-26

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

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

2019-04-24

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

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

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

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

Pike.Annotations: Added Override annotation.

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

2019-02-28

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

Concurrent.Future: Added wait().

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

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

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

Concurrent.Future: Added promise_factory().

This makes propagating state to new Promises easier.

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

2019-02-15

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

Concurrent.Future: Added internal function call_callback().

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

2019-02-13

2019-02-13 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-02 09:20:01 by Tobias S. Josefowitz <tobij@tobij.de>

GSSAPI: Autodoc typo fixes

2019-01-24

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

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

2019-01-21

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

Fix a couple of docs typos

2019-01-06

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

Master: Support __HAVE_COMPILER_NO_HANDLERS__.

Implement support for handlers by overloading the CompilerEnvironment.

2019-01-04

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

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

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

2018-12-28

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

AutoDoc: Added some support for parsing annotations.

2018-12-27

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

Documentation [Master]: Added some minimal AutoDoc markup.

2018-12-19

2018-12-19 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-13

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

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

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

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

2018-12-09

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

EFUNs: Added m_add().

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

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

2018-12-08

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

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

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

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

2018-12-07

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

Thread.Condition: Improve docs.

2018-12-06

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

Thread.Condition: Improve docs.

2018-12-03

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

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

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

Also adds some minimal documentation for some undocumented lfuns.

2018-12-01

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

EFUNs: Added predef::annotations().

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

Also adds lfun::_annotations().

2018-11-19

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

Pike.Annotations.Implements: Added initial implementation.

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

2018-11-17

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

Compiler: Added Pike.Annotation.

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

2018-11-04

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

if -> else if

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

Merge branch 'buffer_mode_proposal_wip'

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

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

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

Stdio.Buffer: added allocate() and advance()

2018-11-03

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

Added program.h to module.h

2018-10-12

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

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

2018-10-10

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

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

2018-10-09

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

Fix refdoc typo.

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

Fix refdoc typo.

2018-09-23

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

Threads.Mutex: Added cond().

This creates a Thread.Condition bound to the mutex.

2018-08-31

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

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

2018-08-13

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

Documentation [Cpp]: Fix documentation markup error.

Fixes remainder of LysLysKOM 22790861.

2018-08-09

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

Cpp: Simplified base implementation of report().

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

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

2018-08-05

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

Whitespace changes.

2018-07-07

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

Compiler: Cleaned up the resolv() calling conventions.

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

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

2018-07-02

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

Merge branch 'pike-modules/sass' into 8.1

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

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

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

2018-06-28

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

Added method sass2scss to convert Sass syntax to SCSS syntax.

2018-06-26

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

Merge branch 'pike-modules/sass' into 8.0

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

2018-06-25

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

Added the option "sass_syntax".

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

Also wrapped an unused argument in UNUSED().

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

Added the option "sass_syntax".

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

Also wrapped an unused argument in UNUSED().

2018-06-17

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

ADT.Stack: Added peek().

2018-05-19

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

2018-05-06 17:36:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Result: Added increment_index().

2018-05-03

2018-05-03 09:40:01 by Karl Gustav Sterneberg <kg@roxen.com>

MIME: Setter for message boundary prefix.

2018-05-02

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

Merge branch 'pike-modules/sass' into 8.0

* pike-modules/sass: (91 commits)
Sass: Use ONERROR to free sass contexts on error.
Sass: Unlink stale JMPBUF.
Sass: Fixed indentation.
Added some tests for Sass compilation errors.
Just some cleanup of a simple test.
Transfered "ownership" of error message from libsass to Pike.
Fixed stupid Emacs indentation.:wq
Testsuite [Sass]: Fixed detection of Web.Sass some more.
Testsuite [Sass]: Updated testsuite to the moved module.
Sass: Move module to Web.Sass.
Sass: Hide the module when not available.
Install: Added Tools.Sass to the feature list.
Testsuite [Sass]: Check that Tools.Sass is available.
Sass: Hide the s8 symbol.
Sass: Use HAVE_LIBSASS instead of HAVE_SASS_H.
Sass: Clean up configure script.
Sass: Clean up acheader.h.
Sass: Removed redundant cast.
Sass: Adjusted debug message.
Sass: Fixed a few C99-isms.
...

2018-05-01

2018-05-01 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-18

2018-04-18 15:06:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Added some support for generating JWK Thumbprints.

Cf RFC 7638.

2018-04-13

2018-04-13 08:49:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'pike-modules/sass' into 8.1

* pike-modules/sass:
Sass: Move module to Web.Sass.
Sass: Hide the module when not available.

2018-04-11

2018-04-11 11:20:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sass: Cleaned up documentation a bit.

2018-04-05

2018-04-05 13:00:32 by Martin Karlgren <marty@roxen.com>

Filesystem.Monitor: Add set_stable_time() function.

2018-04-04

2018-04-04 12:40:22 by Jonas Walld?n <jonasw@roxen.com>

Added Thread.Farm()->set_thread_name_cb() to help applications that monitor
thread creation and termination for the purpose of tracking thread names.

2018-04-02

2018-04-02 14:46:22 by Martin Nilsson <nilsson@fastmail.com>

Added convenience function to decrypt private key.

2018-03-06

2018-03-06 17:41:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Document some more of the master.

2018-03-04

2018-03-04 11:24:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [ADT.Stack]: Fixed some typos.

2018-02-19

2018-02-19 17:54:08 by Martin Nilsson <nilsson@fastmail.com>

Remove some stale code and update documentatin.

2018-02-18

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

Somewhat more flexible opportunistic TLS implementation.

2018-02-17

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

Documentation [Crypto.Password]: Fixed typo.

2018-02-09

2018-02-09 18:34:48 by Martin Nilsson <nilsson@fastmail.com>

Put cp() in the global scope, as rm() and mv() are already there.

2018-02-09 14:08:14 by Martin Nilsson <nilsson@fastmail.com>

Fix documentation.

2018-02-09 12:05:48 by Stephen R. van den Berg <srb@cuci.nl>

Improve docs.

2018-02-08

2018-02-08 13:02:44 by Stephen R. van den Berg <srb@cuci.nl>

Fix typos and docs.

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

2018-01-27 11:32:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Nettle.BlockCipher]: Adjusted some references.

2018-01-25

2018-01-25 15:31:49 by Stephen R. van den Berg <srb@cuci.nl>

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

2018-01-19 15:28:07 by Per Cederqvist <cederp@opera.com>

Always name the 4th argument of bind reuse_port instead of share

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

Debug.find_all_clones(): Fixed off by one issue.

It now seems to work as intended also when include_subclasses is true.

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

Debug.find_all_clones(): Fixed off by one issue.

It now seems to work as intended also when include_subclasses is true.

2018-01-18

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

MPI: Document MPI typed arrays.

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

Debug: Added find_all_clones().

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

Debug: Added find_all_clones().

2018-01-12

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

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

We do not support OS/2

2018-01-10

2018-01-10 11:40:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Added doc for Builtin._take_over_initial_predefines().

2018-01-08

2018-01-08 18:57:48 by Stephen R. van den Berg <srb@cuci.nl>

Val.Timestamp,Date: Support strftime()/strptime().

2017-12-28

2017-12-28 01:14:21 by Stephen R. van den Berg <srb@cuci.nl>

Val.Range: Salvage SQL syntax for use in SQL subsystems.

2017-12-28 00:24:10 by Martin Nilsson <nilsson@fastmail.com>

Move to ISO date format to avoid mm/dd, dd/mm confusion.

2017-12-22

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

Nettle: Fix AES128_CTR_DRBG on ILP32 architectures.

1L<<48 is zero on ILP32...

Also some related ILP32 fixes for the reseed_interval getter/setter.

2017-12-22 02:35:04 by Martin Nilsson <nilsson@fastmail.com>

Convert Val to a directory and move the last pieces from builtin to it.

2017-12-21

2017-12-21 15:10:23 by Martin Nilsson <nilsson@fastmail.com>

Moved out time-code from __builtin to Val. Reduces start overhead and prevents clobber of System.Time.

2017-12-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 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-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 11:41:00 by Stephen R. van den Berg <srb@cuci.nl>

Val.nan: Introduce new Val values and native lightweight Date/Time/Inet/Range types.

2017-12-06

2017-12-06 21:11:26 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Transparent automatic backend enable/disable.

2017-12-06 14:38:17 by Martin Nilsson <nilsson@fastmail.com>

Back out the thin convenience wrapper hash and hash_hmac. Replacements:
Crypto.hash(Crypto.SHA1, true)(x) -> Crypto.SHA1.hash(x)
Crypto.hash(Crypto.SHA1) -> sprintf("%x", Crypto.SHA1.hash(x))
Crypto.hash_hmac(Crypto.SHA1,k)(x, true) -> Crypto.SHA1.HMAC(k)(x)

2017-12-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 15:31:35 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Slight optimisation and typo fix.

2017-12-04 15:22:32 by Stephen R. van den Berg <srb@cuci.nl>

Promise: Update docs again.

2017-12-04 14:52:35 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Improve docs.

2017-12-04 13:47:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

master: Added some documentation.

2017-12-02

2017-12-02 12:52:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Support bignums in add_int{8,16,32}().

add_int8() and add_int16() now support getting called
with a bignum.

add_int32() with a bignum now ignores any bits outside
the 32-bit range.

2017-12-01

2017-12-01 00:48:06 by Stephen R. van den Berg <srb@cuci.nl>

HTTP.Promise2: Proposed changes/optimisation/simplification of HTTP.Promise.

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

2017-11-26 20:22:07 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Add map_with() as an alias for flat_map().

2017-11-26 01:30:25 by Martin Nilsson <nilsson@fastmail.com>

Added support for automatic entropy underflow management.

2017-11-25

2017-11-25 22:29:30 by Martin Nilsson <nilsson@fastmail.com>

Added minimal AES128 CTR DRBG random generator from NIST SP800-90Ar1

2017-11-25 17:26:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Replaced resolv_program() with resolv_type().

The function resolv_program() (not to be confused with
resolve_program()) is no longer used, so remove it.

Move some inlined code from language.yacc to a function
called resolv_type().

2017-11-24

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.FutureResult: Add a Concurrent.Promise interface to Sql.Connection.

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>

pgsql: Simplify and bolster the code by using Thread.ResourceCount.

2017-11-21 01:26:02 by Stephen R. van den Berg <srb@cuci.nl>

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

SSL.File: Implement query_fd().

2017-11-18

2017-11-18 12:41:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.Hash.HMAC: Fix non-default block_sizes().

Fall back to the default (generic) HMAC implementation if
a non-standard block_size() is requested.

Fixes [LysLysKOM 22249286].

Thanks to Stephen R. van den Berg <srb@cuci.nl> for reporting the issue.

Also adds some related documentation.

2017-11-16

2017-11-16 00:41:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Update docs.

2017-11-16 00:38:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Update docs.

2017-11-15

2017-11-15 14:58:41 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rip out fundamentally flawed reconnect logic, make failures consistent.

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

2017-11-05 15:53:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/rename_lfun_destroy' into 8.1

* grubba/rename_lfun_destroy:
Modules: Fixed logts of warnings.
Testsuite: Updated for LFUN::_destruct().
Compiler: Don't complain about LFUN::destroy() in compat mode.
Fix multiple warnings.
Runtime: LFUN::destroy() has been renamed to _destruct().
Compiler: Rename LFUN::destroy() to LFUN::_destruct().

2017-11-05 15:49:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Modules: Fixed logts of warnings.

More fall out from the LFUN::destroy ==> LFUN::_destruct rename.

2017-11-05 15:05:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix multiple warnings.

LFUN::destroy() has been renamed to _destruct().

2017-11-05 12:08:17 by Per Hedbor <ph@opera.com>

Add GL.GLSL and GL.GLSLUtil.

This was a project by Per Hedbor that he intended to prepare for
inclusion in Pike and shared as a separate repository on the pike-git
server, albeit yet in the form of an external module. We have now
performed the integration into Pike as a post_module.

2017-11-01

2017-11-01 13:53:30 by Stephen R. van den Berg <srb@cuci.nl>

time: Clarify and correct documentation.

2017-11-01 11:18:29 by Arne Goedeke <el@laramies.com>

push_*: handle possible evaluation errors

Always evaluate the macro arguments before incrementing the stack
pointer.

2017-10-27

2017-10-27 13:47:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Standards.PEM]: Some minor clarifications.

2017-10-10

2017-10-10 10:58:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve25519.EdDSA: Fixed documentation.

2017-10-04

2017-10-04 13:50:46 by Chris Angelico <rosuav@gmail.com>

Fix docs typo in Image.Image()->make_ascii()

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

Web [Crypto]: Added encode_jwk().

This is the reverse of Web.decode_jwk().

Note that no actual encodings are generated yet.

Fixes some of PIKE-39 (#8039).

2017-09-21

2017-09-21 15:51:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash._HMAC.State: Implement jwk().

Web.encode_jwk() should now support generating JWKs for HMACs.

Fixes remainder of PIKE-39 (#8039).

2017-09-21 13:27:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web [Crypto]: Added encode_jwk().

This is the reverse of Web.decode_jwk().

Note that no actual encodings are generated yet.

Fixes some of PIKE-39 (#8039).

2017-09-02

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

Mysql.result: Renamed seek() to low_seek().

This function performs absolute positioning (rather than the
relative positioning of __builtin.Sql.Result()->seek()), and
was shadowed by a generic (relative) implementation in previous
versions of Pike.

CAVEAT: Old code that used sql_res->master_res->seek() will
break and need to be updated. Any such code will trigger
warnings as master_res has been declared deprecated.
It is also unlikely that any such code exists, since the
function didn't comply with its documented behavior.

Fixes some testsuite failures.

2017-09-01

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

Stdio.File(): close() fixes.

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

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

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

Fix documentation for the return value of close().

Potential fix for testsuite failures on FreeBSD.

2017-08-31

2017-08-31 08:48:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compat [__builtin.Sql.Result]: Added getter for master_sql.

Fixes testsuite failure.

2017-08-29

2017-08-29 13:16:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve25519.EdDSA: Fixed API for set_private_key().

It now returns the current object.

2017-08-23

2017-08-23 09:39:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS: Fixed decoding of PKCS#8 public keys.

The public key data is for some reason kept in a BIT STRING
(and not in an OCTET STRING)...

2017-08-22

2017-08-22 14:03:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS: Fixed decoding of PKCS#8 public keys.

The public key data is for some reason kept in a BIT STRING
(and not in an OCTET STRING)...

2017-08-21

2017-08-21 16:45:45 by Martin Nilsson <nilsson@fastmail.com>

Abstract lazy resolving into the Pike.Lazy module.

2017-08-11

2017-08-11 11:40:09 by Chris Angelico <rosuav@gmail.com>

Fix spelling of 'necessary' in comments and docs

2017-08-08

2017-08-08 22:28:15 by Martin Nilsson <nilsson@fastmail.com>

Last major release of Irix was in 1998 with support updates until 2006 and declared unsupported 2013. Remove support.

2017-08-01

2017-08-01 21:56:39 by Martin Nilsson <nilsson@fastmail.com>

Fixed digest_info.

2017-07-25

2017-07-25 11:12:23 by Pontus Östlund <ponost@roxen.com>

Pikedoc fixes.

2017-07-21

2017-07-21 09:18:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto]: Add more references to useful stuff.

Mention MACs and AEADs.

Make it easier to find some of the more popular modules (like AES.GCM
and SHA1.HMAC).

Also removes some references to obsolete algorithms.

2017-07-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-06-28

2017-06-28 22:16:32 by Martin Nilsson <nilsson@fastmail.com>

Fix autodoc reference.

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

2017-06-13 09:37:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Survive the same Element being pushed multiple times.

Calling push() with an Element already present on the heap is
now equivalent to calling adjust() with the same element.

Previously the heap got corrupted in the above case.

2017-06-13 09:32:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Survive the same Element being pushed multiple times.

Calling push() with an Element already present on the heap is
now equivalent to calling adjust() with the same element.

Previously the heap got corrupted in the above case.

2017-06-04

2017-06-04 19:49:45 by Stephen R. van den Berg <srb@cuci.nl>

Debug.Peek: Introduce Debug.globals and fix some cosmetics.

2017-05-28

2017-05-28 17:22:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.X509: Reduce code duplication.

Use a common function for adding certificates in load_authorities().

Also some minor documentation updates.

2017-05-27

2017-05-27 11:59:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto]: Fixed some references.

2017-05-24

2017-05-24 15:51:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Minor clarification.

2017-05-22

2017-05-22 22:37:00 by Martin Nilsson <nilsson@fastmail.com>

Essentially white space changes.

2017-05-07

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

2017-03-26 14:45:52 by Martin Nilsson <nilsson@fastmail.com>

5x faster encode_base64url() and 50% faster decode_base64url().

2017-03-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-22 10:47:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Added {en,de}code_jws().

These simplify handling of JWSes other than JWTs.

Also cleans up {en,de}code_jwt() by using the new functions.

Also fixes a typo in the type for decode_jwt().

2017-03-12

2017-03-12 14:54:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.mysql: Reduce code duplication somewhat.

2017-03-09

2017-03-09 14:32:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.Sql: Sql.Sql() is now a function and not a class.

Now that __builtin.Sql.Connection exists and is used, the wrapper
class should no longer be needed.

The wrapper class has moved to 8.0::Sql.Sql.

2017-03-04

2017-03-04 12:07:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SQLite]: Fixed AutoDoc markup typo.

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

SQLite: Use __builtin.Sql.

Also some AutoDoc markup adjustments.

2017-03-01

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

Oracle: Use __builtin.Sql.

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

2017-02-14 15:56:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.HTTP.Server.Request: Added some AutoDoc markup.

2017-02-12

2017-02-12 08:41:49 by Chris Angelico <rosuav@gmail.com>

Mention the equivalence of Port("stdin") and listen_fd

2017-02-11

2017-02-11 12:28:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Msql: Updated to provide the standard Sql-API.

2017-02-01

2017-02-01 13:34:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Updated syntax in doc for lfun::create().

2017-01-27

2017-01-27 17:13:53 by Martin Nilsson <nilsson@fastmail.com>

Support multiple instances of the same option.

2017-01-16

2017-01-16 13:34:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Make #pragma disassemble available --without-debug.

2017-01-15

2017-01-15 22:16:17 by Jeff Hungerford <hungerf3@house.ofdoom.com>

Protocols.DNS: fix decoding and add encoding of LOC RRs.

2017-01-12

2017-01-12 16:15:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

String.Buffer: Added _search().

It is now possible to search a String.Buffer.

2017-01-09

2017-01-09 17:23:29 by Martin Nilsson <nilsson@fastmail.com>

Added Unicode.is_whitespace.

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

2016-12-26 14:04:47 by Martin Nilsson <nilsson@fastmail.com>

Documentation updates

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 0

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: POC implementation of Widget->drag_{source,dest}_set()

Should be broadly coherent but may not work correctly

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

GTK2: Add get/set_text methods to SelectionData

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

Simplify API by removing the need for a length parameter

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

Specify that the drag type should be a MIME type

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

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

Arg: Moved handling of --help to a standard option.

This allows for having overriding the name of the --help option,
and for having multiple aliases for it (eg also -h).

Also adds a default help description string for --help.

2016-11-19

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

Added example uses.

2016-11-18

2016-11-18 13:12:22 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: Doc fixes and simplify code.

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

2016-11-04 09:51:09 by Arne Goedeke <el@laramies.com>

Function: several doc fixes

2016-10-31

2016-10-31 09:26:31 by Chris Angelico <rosuav@gmail.com>

Link to RFCs in both places, not just one (oops)

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 13:08:16 by Marcus Comstedt <marcus@mc.pp.se>

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

This reverts commit 94c5393bc0ebea8e6eb0701c5c04b6554d627159.

2016-10-26

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

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

Documentation [Nettle]: Improved doc for Curve25519.

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

2016-09-28 20:10:20 by Martin Nilsson <nilsson@fastmail.com>

clone() is not referenced, so define it away for now.

2016-09-27

2016-09-27 23:31:08 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:42:33 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 16:28:09 by Stephen R. van den Berg <srb@cuci.nl>

SocketIO: Support creation of multiple Universes (Yes, we think BIG :-).

2016-09-26 15:55:55 by Stephen R. van den Berg <srb@cuci.nl>

SocketIO: Support creation of multiple Universes (Yes, we think BIG :-).

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

WebSocket: Support for permessage-deflate compression.

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

EngineIO: Tune deflate compressionparameters.

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-22 16:01:35 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-21

2016-09-21 18:38:43 by Stephen R. van den Berg <srb@cuci.nl>

EngineIO:

_sprintf() includes protocol revision.
Add lastrequest member.
Consolidate setting callbacks to a single function.
Binary frames have their type in binary sometimes too.
Run the close_cb just prior to shutting down the write channel.
Use the faster sprintf in favour of Buffers for %c%s type situations.
Add accessible close() method.
Avoid circular references in id.
Close Transport without destructing.
Tie up dangling refences when closing is forced.

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

Protocols.WebSocket: added defragment()

defragment() can be used to automatically recombine fragmented frames.

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

Protocols.WebSocket: added API for continuation frames

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

Clean-room Engine.IO implementation.

2016-09-18

2016-09-18 19:33:51 by Chris Angelico <rosuav@gmail.com>

Reference correct function in docs

2016-09-18 19:33:22 by Chris Angelico <rosuav@gmail.com>

Reference correct function in docs

2016-09-16

2016-09-16 09:34:06 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-15

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

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

2016-09-15 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-28

2016-08-28 13:35:32 by Martin Nilsson <nilsson@fastmail.com>

Allow sprintf %x on a string.

2016-08-25

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

Debug: Added hexdump().

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

2016-07-30 10:23:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Protocols.HTTP]: Fixed typo.

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

2016-07-25 20:37:28 by Martin Nilsson <nilsson@fastmail.com>

Even more specific types of crypt in documentation.

2016-07-07

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

GTK: Fix docs typo

2016-07-07 10:54:31 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-07-03

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

Documentation improvement.

2016-07-02

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

Efuns: Renamed hash_7_8() to hash_8_0() for consistency.

Also made the hash_*() types somewhat stricter.

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

2016-06-24 09:49:17 by Per Hedbor <ph@opera.com>

Renamed 'hash' to 'hash_7_8'

Hopefully it will not be used now (this is triggered by yet another
person thinking it's a good string hashing function).

The function is not really suitable for use. The returned values are
higly likely to be the same for similar strings, something that is not
optimal for hashing.

Also added comments about what to use instead (hash_value or one of
the cryptographic hash functions).

It might make sense to add a hash() that actually works, perhaps
siphash?

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

Crypto.NTLM: Added some primitives from [MS-NLMP].

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

2016-06-15 14:11:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Promise: Fixed potential backtrace in destroy().

destroy() now uses unlocked_failure() to avoid potential recursive
mutex locks.

Also converted some comments to AutoDoc.

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

2016-06-04 07:07:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gmp.mpq: Allow initialization with Gmp.mpz objects.

2016-06-03

2016-06-03 14:05:20 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-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-02

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

Concurrent.Future: Added timeout().

2016-06-01

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

Concurrent.Promise: Added maybe_failure().

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

2016-05-20 20:04:28 by Pontus Östlund <ponost@roxen.com>

Protocols.HTTP.Promise: The arguments are now passes as an object of class Arguments for better type cheking and more coherent method signatures for the request methods.
Also some refactoring.

Web.Api.Api: Using Protocols.HTTP.Promise for the requests if available and applicable.

2016-05-18

2016-05-18 14:50:22 by Per Hedbor <ph@opera.com>

Tweaked the pow function in bignums/mpz

o If the exponent is a float, the result will now be a float
(ie, 1000000000000**0.5 is now 1000000.0, not 1)

o Added ``**

o Removed arbitrary size limit entirely.
It's up to the programmer to avoid 999 ** 9999999999999999999999.

You still get an error if the result is too large for your memory.

2016-05-17

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

2016-05-13 12:44:53 by Per Hedbor <ph@opera.com>

Extended glob pattern syntax:
o \ can now be used to quote special characters in the pattern
o [ can be used for ranges of characters ([bx] [a-c0-9] [^a] etc).

Also changed glob to return the matching glob instead of 1 when an
array is passed as the first (pattern) argument.

This can be used to remove some loops where you want to do different
things depending on which pattern matched.

Both these changes are incompatible.

2016-05-10

2016-05-10 16:26:20 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 16:26:20 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:41:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

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

__builtin.Nettle.Hash [HMAC]: Somewhat stricter type for `jwa().

Also adds some documentation.

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

Crypto.AE: Added class.

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

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

Auto bignum is always true

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

Concurrent: Added some more functions.

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

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

Crypto.RSA [SSL.Context]: Fixed some warnings.

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

__builtin.Nettle.__Hash: Some minor fixes.

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

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

Mysql: Use the new __builtin.Sql API.

2016-04-06

2016-04-06 14:26:11 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-06 14:26:11 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-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-02

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

Sql.sql_array_result: Fixed multiple issues.

Some of the functions in Sql.sql_result assemed that they were
in Sql.sql_object_result. This broke eg next_result().

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

Sql.sql_array_result: Fixed multiple issues.

Some of the functions in Sql.sql_result assemed that they were
in Sql.sql_object_result. This broke eg next_result().

2016-04-02 10:22:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Connection: Use variants for big_query() et al.

This simplifies overloading by the various drivers.

2016-04-02 10:16:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Connection: Added emulate_bindings().

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

2016-03-25 11:19:56 by Chris Angelico <rosuav@gmail.com>

Add an example to the IRC docs

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

Fix GTK2.SourceBuffer undo/redo signal names

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

Fix GTK2.SourceBuffer undo/redo signal names

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

2016-03-09 21:07:25 by Martin Nilsson <nilsson@fastmail.com>

Change the _random interface to provide rnadom_string and random from the called random object.

2016-03-09 21:07:25 by Martin Nilsson <nilsson@fastmail.com>

Change the _random interface to provide rnadom_string and random from the called random object.

2016-03-08

2016-03-08 17:20:08 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-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 13:18:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Added low_peek().

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

ADT.Heap: Added low_peek().

2016-02-29

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

Documentation [GC]: Fixed typo.

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

GC [mappings]: Added do_gc_weak_mapping().

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

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

GC [mappings]: Added do_gc_weak_mapping().

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

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

GC [mappings]: Added do_gc_weak_mapping().

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

2016-02-23

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

GTK2: Fix method name linkage

2016-02-21

2016-02-21 23:34:02 by Martin Nilsson <nilsson@fastmail.com>

Provide URL to documentation.

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

2016-02-06 21:53:47 by Tobias S. Josefowitz <tobij@tobij.de>

a few autodoc fixes

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

2016-02-02 20:35:41 by Martin Nilsson <nilsson@fastmail.com>

More documentation.

2016-01-27

2016-01-27 16:48:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Git: Added convenience function try_git().

Also updates the documentation somewhat.

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

2016-01-25 22:19:52 by Martin Nilsson <nilsson@fastmail.com>

Added support for hardware random generator.

2016-01-23

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:12:03 by Pontus Östlund <ponost@roxen.com>

Added the posibility to define the HTTP request timeout in async queries.

Fixed a typo in pike_to_html.pike

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-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 12:48:20 by Martin Nilsson <nilsson@fastmail.com>

Removed f_random[string,seed] from module API.

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

Documentation.

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>

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

2016-01-17 01:43:09 by Martin Nilsson <nilsson@fastmail.com>

Don't call f_random directly.

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-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-15 14:07:20 by Martin Nilsson <nilsson@fastmail.com>

Documentation.

2016-01-15 05:42:50 by Martin Nilsson <nilsson@fastmail.com>

Added HMAC-based One-Time Password generator.

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-29 20:19:38 by Martin Nilsson <nilsson@fastmail.com>

Move M4Test into M4Testsuite

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

Moved testsuite parsing to M4Testsuite.

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

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

Move compilation to the test object.

2015-12-05

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

Gmp.mpf: Added quite a few functions in the MPFR case.

2015-12-04

2015-12-04 11:14:27 by Martin Nilsson <nilsson@fastmail.com>

Added AUTHLEVEL_verify to documentation and compat.

2015-12-02

2015-12-02 12:47:32 by Martin Nilsson <nilsson@fastmail.com>

Added AUTHLEVEL_verify that will not require any optional certificates, but will verify any it gets.

2015-12-01

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

2015-11-29 18:30:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gmp.mpf: Use mpfr if available.

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

2015-11-19 16:34:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Context: Added some references to RFCs.

2015-11-18

2015-11-18 17:56:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Context: Added some documentation for trusted_issuers_cache.

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

2015-11-15 18:20:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed multiple typing errors.

Values of type Crypto.RSA.LowState should be possible to
assign to variables declared as Crypto.RSA.State without
drowning in warnings...

Also restores the default return value of name() to "RSA".

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

Standards.PKCS.Identifiers: Fixed typo.

"mfg1_id" ==> "mgf1_id".

Also adds "pspecified_id" and some RFC references.

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-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-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 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-08 01:27:58 by Martin Nilsson <nilsson@fastmail.com>

Fix documentation issue.

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

Updated documentation to mention that verify_certificate_chain also can return CERT_UNAUTHORIZED_CA and CERT_EXCEEDED_PATH_LENGTH.

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

Comment fixes.

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

Rename HASH_sha to HASH_sha1.

2015-10-30

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

SSL: Added some constants from RFC 4681.

2015-10-25

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 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-22 09:47:12 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:47:12 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-16

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

Documentation [JSON]: Added RFC markup.

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

ADT.TreeScheduler: Updated to new Heap API.

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

Backport from 8.1

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

Backport from 8.1

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

Backport from 8.1

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

Autodoc fix.

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: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 19:08:15 by Peter Bortas <bortas@gmail.com>

Don't suggest writing files in /.

2015-10-14 17:01:06 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: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: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 18:41:45 by Martin Nilsson <nilsson@fastmail.com>

Some argument cleanup.

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

Some argument cleanup.

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

Added some protected modifiers.

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-12 11:51:56 by Pontus Östlund <ponost@roxen.com>

Moving Auth.pmod to Web.pmod/Auth.pmod and WebApi.pmod to Web.pmod/Api.pmod

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

Inotify: Removed some dead code.

2015-10-07 15:43:07 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: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-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: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: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: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:21:11 by Martin Nilsson <nilsson@fastmail.com>

Allow fine grained control over what extensions to use.

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

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

2015-09-21 15:48:17 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:15:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

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

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

Operators: The shift operators now also work on floats.

Also improves argument checking in the shift operators.

2015-09-15

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

Protocols.HTTP2: Added Frame class.

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

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

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

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

2015-09-07 17:12:00 by Per Hedbor <ph@opera.com>

[amd64] Fixed compilation of F_CONSTANT in decoded programs.

Note that the code used for decode_value decoded programs is
significantly slower than the one that is generated for programs
compiled from pike code.

This is sort of unfortunate since most modules are dumped.

2015-09-07 17:12:00 by Per Hedbor <ph@opera.com>

[amd64] Fixed compilation of F_CONSTANT in decoded programs.

Note that the code used for decode_value decoded programs is
significantly slower than the one that is generated for programs
compiled from pike code.

This is sort of unfortunate since most modules are dumped.

2015-09-06

2015-09-06 02:29:55 by Per Hedbor <ph@opera.com>

Added the gnu %m extension to sprintf

This is a fairly specific format: It inserts strerror(errno())

Useful for things like

if(!read_file(file))
exit(1,"Failed to read %s: %m\n", file);

and not much more.

2015-09-06 02:29:55 by Per Hedbor <ph@opera.com>

Added the gnu %m extension to sprintf

This is a fairly specific format: It inserts strerror(errno())

Useful for things like

if(!read_file(file))
exit(1,"Failed to read %s: %m\n", file);

and not much more.

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

2015-08-31 14:56:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Added some more RFC markup.

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

Documentation [HPack]: Added some RFC markup.

2015-08-22

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

Support linking direct to RFC anchor.

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 00:24:42 by Martin Nilsson <nilsson@fastmail.com>

Autodoc fixes.

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 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: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:54:45 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 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-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-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-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-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-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-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 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-10

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

HPack: Added module.

This modul