Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 2 checkins (+22/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 2 checkins (+8/-6) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 4 checkins (+57/-12) by 2 people : 2 checkins (+18/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 4 checkins (+31/-5) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 2 checkins (+26/-6) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 2 checkins (+5/-3) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+34/-23) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 8 checkins (+66/-38) by 2 people : 5 checkins (+35/-9) by 3 people : 5 checkins (+88/-8) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+36/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+6/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 6 checkins (+11/-301) by 2 people : 4 checkins (+17/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 7 checkins (+103/-17) by 2 people : 1 checkin (+11/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 9 checkins (+19/-67) by 3 people : 4 checkins (+24/-5) by 2 people : 1 checkin (+76/-81) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+13/-7) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+2/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 4 checkins (+11/-5) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 8 checkins (+16/-8) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 5 checkins (+25/-88) by 2 people : 2 checkins (+5/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 3 checkins (+9/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 5 checkins (+51/-7) by 3 people : 6 checkins (+155/-119) by 3 people : 1 checkin (+2/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 3 checkins (+7/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 11 checkins (+255/-377) by 2 people : 4 checkins (+7/-250) by 2 people : 1 checkin (+3/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+27/-7) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 2 checkins (+9/-6) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 3 checkins (+37/-8) by 2 people : 3 checkins (+110/-112) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 4 checkins (+173/-17) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 7 checkins (+151/-2) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+2/-1) by Chris Angelico <rosuav@gmail.com> Lines added/removed recently

Today; Friday 22 September 2017

2017-09-22 12:39:18 (1 hour ago) by Chris Angelico <rosuav@gmail.com>

Improve function signature in debug mode (eliminates warning)

Yesterday; Thursday 21 September 2017

2017-09-21 17:51:23 (20 hours ago) 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].

2017-09-21 17:49:19 (20 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.Hash._HMAC: Propagate password to inherited implementation.

2017-09-21 15:34:19 (22 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.ECDSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from ECDSA objects.

Fixes more of [PIKE-39].

2017-09-21 15:31:49 (22 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from RSA objects.

Fixes some of [PIKE-39].

2017-09-21 15:27:30 (22 hours ago) 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].

2017-09-21 09:56:14 (1 day ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA.OAEP: Fixed typo.

Wednesday 20 September 2017

2017-09-20 14:10:23 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Added some optional consistency checks.

Defining SEARCH_DB_CONSISTENCY_CHECKS will now cause the module
to perform some extra SQL queries to make sure that the modified
entries are consistent.
Search.Database.MySQL: Fixed truncation of word_hit.hits.

word_hit.hits should now lose its padding on the last write.

Also some related code cleanup.

2017-09-20 14:06:37 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Added some optional consistency checks.

Defining SEARCH_DB_CONSISTENCY_CHECKS will now cause the module
to perform some extra SQL queries to make sure that the modified
entries are consistent.

2017-09-20 14:03:02 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Fixed truncation of word_hit.hits.

word_hit.hits should now lose its padding on the last write.

Also some related code cleanup.

Tuesday 19 September 2017

2017-09-19 15:28:08 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Fixed bugs in store_to_db().

Work around for MySQL/MariaDB interpreting

INSERT('ABC', 3, 3, 'DEF')

as equivalent to just 'ABC' (and NOT 'ABCDEF').

Note that

INSERT('ABCX', 3, 3, 'DEF')

does result in 'ABCDEF'.

Also some code clean up to reduce the number of special cases.

2017-09-19 15:24:11 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Fixed bugs in store_to_db().

Work around for MySQL/MariaDB interpreting

INSERT('ABC', 3, 3, 'DEF')

as equivalent to just 'ABC' (and NOT 'ABCDEF').

Note that

INSERT('ABCX', 3, 3, 'DEF')

does result in 'ABCDEF'.

Also some code clean up to reduce the number of special cases.

2017-09-19 10:46:55 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Moved PIKE_DEBUG check some more.

Second attempt at fixing erroneous fatal "Stack failure in
POP_PIKE_FRAME "..." 0!" when compiling --with-debug.

Monday 18 September 2017

2017-09-18 23:44:26 (4 days ago) by Tobias S. Josefowitz <tobij@tobij.de>

Protocols.DNS: Add support for CAA records.

Certificate Authorities are actually required to check for them since
this month as mandated by the CA/Browser Forum.

2017-09-18 12:34:46 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Moved PIKE_DEBUG check.

Fixes erroneous fatal "Stack failure in POP_PIKE_FRAME "..." 0!",
when compiling --with-debug.

Sunday 17 September 2017

2017-09-17 13:02:49 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.Pike: Converted C module to CMOD.

Saturday 16 September 2017

2017-09-16 14:15:57 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

PollDeviceBackend [kqueue]: Fixes related to PIKE_FD_FS_EVENT.

Updating the FS_EVENT notification flags should now work better.

Friday 15 September 2017

2017-09-15 13:00:35 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [kqueue]: Fixed typo in chmod test.

Octal numbers need to be prefixed with 0...

Also increases the test paranoia by forcing the umask, and testing
by removing read for other (instead of adding rwx for all).

Fixes chmod failing for "Unknown reason" on FreeBSD.

Thursday 14 September 2017

2017-09-14 23:39:26 (1 week ago) by Arne Goedeke <el@laramies.com>

ARM: remove opcode statistics

There is a similar feature already available when compiling
with debug.
Compiler [arm64]: do not modify instrs array

2017-09-14 15:07:26 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [ia32]: Don't modify the instrs array.

Fixes compilation error.

Wednesday 13 September 2017

2017-09-13 19:05:10 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [kqueue]: Fixed another typo.

2017-09-13 15:54:04 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [kqueue]: Fixed typo.

2017-09-13 15:01:27 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [kqueue]: Improved diagnostics.

Log the test that is in progress, and the tests that fail.

Also don't abort the kqueue test program after the first failed test.

2017-09-13 07:18:26 (1 week ago) by Arne Goedeke <el@laramies.com>

Compiler: removed unused instr_names[]

Since instrs[] is now generate during compile time, the instr_names[]
array is not used, anymore.

2017-09-13 07:12:08 (1 week ago) by Arne Goedeke <el@laramies.com>

Compiler: remove instrs_checksum

This value has not been used anymore since portable bytecode was turned
always on.

2017-09-13 06:59:00 (1 week ago) by Arne Goedeke <el@laramies.com>

Compiler: generate opcode arrays at compile time

This commit generates the opcode enum and all static opcode
arrays at compile time. All those arrays are constant now, too.
Compiler: do not modify instrs array

Tuesday 12 September 2017

2017-09-12 11:56:52 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.483 by export.pike
release number bumped to 8.0.482 by export.pike
Stdio.File: Don't preallocate huge read buffers.

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

Fixes multiple build failures.

Monday 11 September 2017

2017-09-11 11:50:45 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

DVB: Improved support for non-Linux OSes.

FreeBSD apparently has DVB, but not the Linux-specific
typedef __u16, so use unsigned INT16 instead.

Sunday 10 September 2017

2017-09-10 23:03:22 (2 weeks ago) by Arne Goedeke <el@laramies.com>

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

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

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

2017-09-10 13:20:46 (2 weeks ago) by Marcus Comstedt <marcus@mc.pp.se>

Compiler: Add support for abbreviated function definitions

2017-09-10 13:08:20 (2 weeks ago) by Marcus Comstedt <marcus@mc.pp.se>

Compiler: Fix old bug that root tree node is never typechecked

2017-09-10 12:33:20 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.odbc: Removed some redundant and obsolete code.

Saturday 09 September 2017

2017-09-09 20:18:33 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Test case and CHANGES for void changes.

2017-09-09 12:36:40 (2 weeks ago) by Marcus Comstedt <marcus@mc.pp.se>

Compiler: Allow return void expression from void function

Fixes [LysLysKOM 22188815].

2017-09-09 11:37:01 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Protocols.DNS.SD]: Improved support for FreeBSD.

Include sufficient headerfiles to get htons() et al.

Friday 08 September 2017

2017-09-08 14:19:43 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle [Curve25519]: Improved detection of X25519 support.

Don't implement Curve25519 if nettle_ed25519_sha512_sign()
isn't available.

Improves robustness against mismatching header files and libraries.

2017-09-08 14:14:57 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.481 by export.pike
release number bumped to 8.0.480 by export.pike

Thursday 07 September 2017

2017-09-07 12:54:04 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Removed some debug.

2017-09-07 12:51:30 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Nettle]: Fixed yet another C99-ism.

Wednesday 06 September 2017

2017-09-06 16:13:04 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.478 by export.pike
release number bumped to 8.0.479 by export.pike

2017-09-06 14:54:42 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backend: Reduce code duplication in callback wrapping code.

Unifies the common code of WRAP() and WRAP2() into LOW_WRAP()
and LOW_WRAP_SET_CB().

This makes the difference between WRAP() and WRAP2() more visible.

2017-09-06 14:09:37 (2 weeks ago) by Karl Gustav Sterneberg <kg@roxen.com>

release number bumped to 8.0.477 by export.pike
release number bumped to 8.0.476 by export.pike

Tuesday 05 September 2017

2017-09-05 16:07:45 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.474 by export.pike
release number bumped to 8.0.475 by export.pike

2017-09-05 14:55:11 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql: Fixed typo in mysql_config detection.
Mysql: Fixed typo in mysql_config detection.

2017-09-05 14:06:31 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.473 by export.pike
release number bumped to 8.0.472 by export.pike

2017-09-05 10:56:31 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Mysql]: Fix issues with detection if mariadb_config.

Potential fix for build system issues [PIKE-35].
Build [Mysql]: Fix issues with detection if mariadb_config.

Potential fix for build system issues [PIKE-35].

Monday 04 September 2017

2017-09-04 19:29:56 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.470 by export.pike
release number bumped to 8.0.471 by export.pike

2017-09-04 14:22:20 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Standalone.test_pike: Improved logging.

Make sure to always log something when a subtestsuite fails.

2017-09-04 12:45:35 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cache.Storage.MySQL: Fixed deprecation warning.

Fixes testsuite failures on platforms with Mysql.

Sunday 03 September 2017

2017-09-03 12:46:36 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Updated type.

Fixes deprecation warning.

Fixes testsuite failures on platforms that have Mysql.

Saturday 02 September 2017

2017-09-02 11:48:13 (3 weeks ago) 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.

Friday 01 September 2017

2017-09-01 14:10:56 (3 weeks ago) 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.

Thursday 31 August 2017

2017-08-31 14:43:51 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Result: Adjusted type for master_res.

Fixes type conflict with Sql.sql_array_result and Sql.null.

2017-08-31 13:40:12 (3 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

System.Inotify: Compilefix, can't check for inotify_config.h

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

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

Fixes testsuite failure.

Wednesday 30 August 2017

2017-08-30 22:53:50 (3 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

System.Inotify: Compilefix, can't check for inotify_config.h

2017-08-30 14:10:56 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

sys/types.h has been part of POSIX since issue 1. It was randomly guarded in configure tests, so lets use it without ifdef.

2017-08-30 11:38:02 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Image.TTF]: Removed remaining use of DOUBLE_TO_INT().

Tuesday 29 August 2017

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

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

It now returns the current object.

Monday 28 August 2017

2017-08-28 23:19:33 (4 weeks ago) by Per Cederqvist <cederp@opera.com>

Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror. By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.
Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror. By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.

2017-08-28 23:11:31 (4 weeks ago) by Per Cederqvist <cederp@opera.com>

Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror. By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.

2017-08-28 15:15:43 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [__builtin.Nettle]: Survive without SHA512.

Sunday 27 August 2017

2017-08-27 14:50:03 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Stdio]: Prefer <termios.h> to <sys/termios.h>.

Use the same header file consistently.

Fixes compilation warnings on FreeBSD 10.3.

Saturday 26 August 2017

2017-08-26 19:08:44 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

We don't build a hilfe binary anymore.

2017-08-26 18:49:45 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Remove the GCC patch workaround for Solaris.

2017-08-26 11:44:56 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [GSSAPI]: Fix linking issues on FreeBSD 10.3.

On FreeBSD 10.3 -lgssapi contains gss_wrap(), but the definitions
for GSS_KRB5_NT_PRINCIPAL_NAME are in -lgssapi_krb5 (which doesn't
contain gss_wrap()).

Fixes multiple testsuite failures due to failing to load the GSSAPI
module (due to the missing symbol).

Friday 25 August 2017

2017-08-25 11:28:10 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Define __BSD_VISIBLE to make FreeBSD 10.3 happy.

Thursday 24 August 2017

2017-08-24 11:39:10 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Enable X Open Group (XPG) extensions.

Wednesday 23 August 2017

2017-08-23 15:17:47 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.sqlite: Throw an error in list_fields() if no such table.

Fixes testsuite failures.

2017-08-23 12:25:23 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Moved some prototypes.

Fixes compilation issues --without-machine-code.

2017-08-23 11:39:07 (4 weeks ago) 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)...
Parser.PKCS: Added some support for PKCS#10.

2017-08-23 00:21:31 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Lazy load MIME module as well.

Tuesday 22 August 2017

2017-08-22 20:24:32 (1 month ago) by Marcus Agehall <agehall@gmail.com>

The id variable will be overridden by the local variable, so the id
passed to onopen() will be the Stdio.File object which seems wrong.

2017-08-22 16:03:07 (1 month ago) 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 01:38:41 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Use Pike.Lazy

Monday 21 August 2017

2017-08-21 18:48:10 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Don't test Lazy.pmod

2017-08-21 18:45:45 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Abstract lazy resolving into the Pike.Lazy module.

2017-08-21 11:35:10 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.MAC: Reduce circular dependencies on JSON.

Standards.JSON.encode() and Standards.JSON.decode() are now resolved
on demand at runtime to reduce the number of dependencies.

Sunday 20 August 2017

2017-08-20 15:20:12 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gmp.mpz: Support negative exponents in `**() and ``**().

Saturday 19 August 2017

2017-08-19 11:45:24 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Types: Fixed off by one errors in traversal of the type hash table.

The value pike_type_hash_size is misnamed as it is the mask
(and thus one less than the size) of the type hash table.

This fixes a few loops that missed traversing the last bucket of
the type hash table due to handling pike_type_hash_size as a size.

Friday 18 August 2017

2017-08-18 14:21:50 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle [Blowfish]: Don't throw errors in make_key().

Let make_key() generate a new key if the generated key isn't
accepted by set_encrypt_key().

Fixes issue where eg Nettle.Blowfish()->make_key() intermittently
threw errors due to the generated key being weak.

Thursday 17 August 2017

2017-08-17 15:00:00 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improve recovery after some syntax errors.

Recovers from issue where the compiler context could come out of
sync due to syntax errors in nested classes. This could in turn
lead to various obscure errors, some of which were fatal.

2017-08-17 11:28:24 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

String: Fix issue where substrings lost their contents.

Adds new string flag STRING_IS_LOCKED to lock the string data memory.

If a dynamically allocated string (eg "Random.Deterministic") that had
an active substring (eg "Deterministic") later got replaced with a
statically allocated string, the substring would point to freed memory.

Fixes intermittent failures to resolve "Random.Deterministic" in from
Image.Image()->test(), as well as the fatal "Shared string is not zero
terminated properly." from eg _verify_internals().

FIXME: There are most likely still lots of thread race-conditions hiding
with eg I/O operations and this reallocation behavior.

Wednesday 16 August 2017

2017-08-16 11:53:39 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Make sure that all types have markers at cleanup time.

Fixes fatal "Didn't find gc marker as expected" for some leaked types.

2017-08-16 11:36:04 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Make sure that all types have markers at cleanup time.

Fixes fatal "Didn't find gc marker as expected" for some leaked types.

Tuesday 15 August 2017

2017-08-15 21:07:09 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Clean up progress messages a bit.

2017-08-15 15:57:00 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

_Roxen.HeaderParser: Fixed leak of mapping in feed().

The mapping intended to hold the parsed headers from feed()
leaked if the HTTP headers were malformed.

2017-08-15 15:53:25 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

_Roxen.HeaderParser: Fixed leak of mapping in feed().

The mapping intended to hold the parsed headers from feed()
leaked if the HTTP headers were malformed.

2017-08-15 12:39:04 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Fixed memory leak.

Monday 14 August 2017

2017-08-14 11:04:10 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC: Don't attempt to get gc markers when the gc isn't active.

Fixes NULL-dereferences when running count_memory() --with-dmalloc.

2017-08-14 11:00:28 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC: Don't attempt to get gc markers when the gc isn't active.

Fixes NULL-dereferences when running count_memory() --with-dmalloc.

Sunday 13 August 2017

2017-08-13 14:20:44 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improve recovery after some syntax errors.

Recovers from issue where the compiler context could come out of
sync due to syntax errors in nested classes. This could in turn
lead to various obscure errors, some of which were fatal.

[permalink]

Bugs? Suggestions?