Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 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> : 14 checkins (+234/-25) by 2 people : 4 checkins (+27/-0) by 2 people : 12 checkins (+66/-12) by 3 people : 9 checkins (+122/-38) by 3 people : 4 checkins (+14/-6) by 2 people : 1 checkin (+11/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+4/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 3 checkins (+31/-2) by 2 people : 1 checkin (+6/-8) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+8/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 4 checkins (+82/-66) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 13 checkins (+379/-111) by 2 people : 10 checkins (+102/-18) by 2 people : 12 checkins (+72/-17) by 4 people : 6 checkins (+36/-9) by 3 people : 14 checkins (+62/-2) by 3 people : 7 checkins (+370/-260) by 3 people : 8 checkins (+22/-6) by 3 people : 3 checkins (+6/-3) by 2 people : 9 checkins (+195/-156) by 3 people : 6 checkins (+178/-29) by 2 people : 15 checkins (+164/-14) by 2 people : 9 checkins (+93/-5) by 2 people : 1 checkin (+21/-2) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 2 checkins (+23/-3) by Henrik Grubbström (Grubba) <grubba@grubba.org> Lines added/removed recently

Today; Monday 16 October 2017

2017-10-16 11:59:49 (12 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mappings: Use sub_ref() when we know that we have extra refs.

Fixes some more of [CID 742747] and [CID 742750].

2017-10-16 10:00:38 (14 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Whitefish]: Use the standard VPATH.

Don't add the root source directory the VPATH as it causes eg buffer.o
in the root source directory to inhibit building Whitefish's buffer.o.

Potential fix for building issues on NT.

Yesterday; Sunday 15 October 2017

2017-10-15 13:29:37 (1 day ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mappings: Use sub_ref() when we know that we have extra refs.

Fixes [CID 742747] and [CID 742750].

Saturday 14 October 2017

2017-10-14 13:18:44 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

size_object(): Added some assertions.

Make Coverity happy...

Fixes [CID 1294650].

2017-10-14 03:54:15 (3 days ago) by William Welliver <william@welliver.org>

smartlink: NetBSD uses the Darwin convention for rpath.
smartlink: shift past -L arguments so that they aren't duplicated on the outgoing command-line.
smartlink: support Darwin-style rpath
smartlink: update the shell version of smartlink to include Darwin rpath

2017-10-14 03:51:25 (3 days ago) by William Welliver <william@welliver.org>

smartlink: update the shell version of smartlink to include Darwin rpath
smartlink: NetBSD uses the Darwin convention for rpath.

Friday 13 October 2017

2017-10-13 21:33:06 (3 days ago) by Chris Angelico <rosuav@gmail.com>

Support precompilation with Pike 8.1

2017-10-13 13:23:05 (3 days ago) by Chris Angelico <rosuav@gmail.com>

Hilfe: Show documentation for programs
Hilfe: Show help documentation for functions
Per TODO, suppress quit/exit from history
Hilfe: Add the beginnings of a help() function
Add history pop function to Readline for Hilfe's benefit
Hilfe: Show help info for more types
Fix typo in CHANGES

2017-10-13 12:18:30 (3 days ago) by Chris Angelico <rosuav@gmail.com>

Hilfe: Show help info for more types

2017-10-13 12:12:44 (3 days ago) by Chris Angelico <rosuav@gmail.com>

Hilfe: Show documentation for programs
Hilfe: Show help documentation for functions

2017-10-13 11:59:11 (3 days ago) by Chris Angelico <rosuav@gmail.com>

Hilfe: Add the beginnings of a help() function

2017-10-13 11:51:12 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Added assertion to make Coverity happy.

Fixes [CID 742539].

2017-10-13 11:30:02 (4 days ago) by Chris Angelico <rosuav@gmail.com>

Per TODO, suppress quit/exit from history

2017-10-13 11:26:34 (4 days ago) by Chris Angelico <rosuav@gmail.com>

Add history pop function to Readline for Hilfe's benefit

Thursday 12 October 2017

2017-10-12 11:11:41 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTPLoop: Improved concurrency of log_as_array() and log_size().

Release the interpeter lock before locking the log_lock.
Image.Image: Improved argument checking in apply_curve().

Non-integer array values lead to use of uninitialized curve values.

Fixes [CID 1400857].
HTTPLoop: Get the log_lock before messing with log_head.

Fixes unlikely race in cleanup code on accept(2) failing with EBADF.

Fixes [CID 742665].

2017-10-12 11:01:50 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTPLoop: Improved concurrency of log_as_array() and log_size().

Release the interpeter lock before locking the log_lock.
HTTPLoop: Get the log_lock before messing with log_head.

Fixes unlikely race in cleanup code on accept(2) failing with EBADF.

Fixes [CID 742665].

2017-10-12 08:54:03 (5 days ago) by Arne Goedeke <el@laramies.com>

ARM32: added DUP, SWAP and NOT

Wednesday 11 October 2017

2017-10-11 12:07:28 (5 days ago) by Karl Gustav Sterneberg <kg@roxen.com>

Fixed a null pointer exception.

2017-10-11 12:04:43 (5 days ago) by Karl Gustav Sterneberg <kg@roxen.com>

Fixed a null pointer exception.

2017-10-11 11:46:01 (6 days ago) by Karl Gustav Sterneberg <kg@roxen.com>

Disabled debug message.

Disabled 'werror("Unknown segment marker: 0x%02x\n"' since it spams
the log.

2017-10-11 11:40:54 (6 days ago) by Karl Gustav Sterneberg <kg@roxen.com>

Disabled debug message.

Disabled 'werror("Unknown segment marker: 0x%02x\n"' since it spams
the log.

2017-10-11 11:03:36 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.Image: Improved argument checking in apply_curve().

Non-integer array values lead to use of uninitialized curve values.

Fixes [CID 1400857].

2017-10-11 08:56:50 (6 days ago) by Arne Goedeke <el@laramies.com>

MsgPack: decode utf8 directly from buffer
utf8_to_string: make decoder reusable

This change makes it possible to reuse the decoder without creating
a pike string first.

Tuesday 10 October 2017

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

Crypto.ECC.Curve25519.EdDSA: Fixed documentation.

2017-10-10 08:43:59 (7 days ago) by Stefan Wallström <stewa@roxen.com>

release number bumped to 8.0.504 by export.pike
release number bumped to 8.0.505 by export.pike

Monday 09 October 2017

2017-10-09 20:08:07 (1 week ago) by Martin Karlgren <marty@roxen.com>

X86-64: Check C stack margin before adding stub stack frames.

2017-10-09 17:22:27 (1 week ago) by Stefan Wallström <stewa@roxen.com>

release number bumped to 8.0.503 by export.pike
release number bumped to 8.0.502 by export.pike

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

Multisets: Improved robustness of equal().

Fixes potential (but probably impossible) NULL-deref.

Fixes [CID 1418981].

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

release number bumped to 8.0.501 by export.pike
release number bumped to 8.0.500 by export.pike

Sunday 08 October 2017

2017-10-08 19:23:41 (1 week ago) by Martin Nilsson <nilsson@fastmail.com>

Fix broken test

2017-10-08 18:43:23 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Strings: Use the size_shift enum in more places.

2017-10-08 13:53:17 (1 week ago) by Arne Goedeke <el@laramies.com>

utf8_to_string: use local variables

Due to C aliasing rules, the compiler has to reload the string pointer
and length in every iteration. Use local variables to make the generated
code better.

This new version of utf8_to_string is significantly faster than the
previous 8.1 baseline:

utf8/code.pike#decode_7bit | 1.8 G 2.5 % | 24.2 G 3.5 % |
utf8/code.pike#decode_8bit | 350.0 M 1.8 % | 552.2 M 1.1 % |
utf8/code.pike#decode_arabic | 325.7 M 0.8 % | 438.0 M 1.0 % |
utf8/code.pike#decode_bulgarian | 321.8 M 0.9 % | 378.8 M 2.2 % |
utf8/code.pike#decode_estonian | 375.6 M 1.1 % | 503.0 M 0.9 % |
utf8/code.pike#decode_hebrew | 325.8 M 0.8 % | 438.8 M 0.9 % |
utf8/code.pike#decode_japanese | 391.3 M 1.9 % | 517.5 M 1.8 % |
utf8/code.pike#decode_polish | 371.9 M 0.9 % | 583.2 M 3.8 % |
utf8/code.pike#decode_thai | 377.8 M 0.8 % | 510.6 M 1.0 % |
utf8/code.pike#decode_yiddish | 326.2 M 1.1 % | 443.3 M 0.7 % |

This are the results on my i7.

2017-10-08 13:37:20 (1 week ago) by Arne Goedeke <el@laramies.com>

utf8_to_string: implement 7bit fast path

Implement a fast path for the length calculation for 7 bit strings.

Saturday 07 October 2017

2017-10-07 23:04:32 (1 week ago) by Martin Karlgren <marty@roxen.com>

Merge branch 'marty/call_frames' into 8.1

This introduces the --with-mc-stack-frames configure option, which will
instruct the machine code generator to insert proper stack frames (currently
only supported on X86-64). This is useful for profiling, especially in
combination with Debug.generate_perf_map() on Linux.

2017-10-07 22:52:58 (1 week ago) by Martin Nilsson <nilsson@fastmail.com>

Print cipher suite in hex.

2017-10-07 13:26:27 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

equal() on functions.

equal() on functions now checks if their definitions are the same identifier
in the same program.

Friday 06 October 2017

2017-10-06 15:52:10 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS.Identifiers: Added more ECC identifiers.

2017-10-06 14:51:49 (1 week ago) by Karl Gustav Sterneberg <kg@roxen.com>

Fixed bug in Monitor->update().

When checking if class was initialized code looked at the variable
"next_pol", this behaviour caused a bug if a subclass set "next_pol" to
0. This resulted in poll every second.
Removed trailing spaces.
Fixed bug in Monitor->update().

When checking if class was initialized code looked at the variable
"next_pol", this behaviour caused a bug if a subclass set "next_pol" to
0. This resulted in poll every second.

2017-10-06 14:31:50 (1 week ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.499 by export.pike
release number bumped to 8.0.498 by export.pike

Thursday 05 October 2017

2017-10-05 19:44:29 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

You compare with equal(), not _equal().

2017-10-05 17:08:09 (2 weeks ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.496 by export.pike
release number bumped to 8.0.497 by export.pike

2017-10-05 17:03:40 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Minor shuffling.

2017-10-05 16:03:54 (2 weeks ago) by Per Cederqvist <cederp@opera.com>

Document the signal handler fix of 127b9080b in CHANGES

2017-10-05 15:08:58 (2 weeks ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.495 by export.pike
release number bumped to 8.0.494 by export.pike

2017-10-05 14:53:41 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.Blob: Fixed warning.
WhiteFish.Blob: Fixed warning.

2017-10-05 14:48:43 (2 weeks ago) by Per Cederqvist <cederp@opera.com>

Invoke signal handlers in the correct process after fork

When using fork() from Pike, the child needs to have its own pipe to
send pending signals over. If it is shared with the parent, either
the child or the parent may receive the signal.

Close the pipe and create a new one in the child after a fork. Do the
same for the process wait info.

2017-10-05 12:57:41 (2 weeks ago) by Per Cederqvist <cederp@opera.com>

Invoke signal handlers in the correct process after fork

When using fork() from Pike, the child needs to have its own pipe to
send pending signals over. If it is shared with the parent, either
the child or the parent may receive the signal.

Close the pipe and create a new one in the child after a fork. Do the
same for the process wait info.

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

CHANGES: Added some notes about WhiteFish.

Wednesday 04 October 2017

2017-10-04 16:38:32 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.Blob: Fixed typo in diagnostic.
WhiteFish: Added some paranoia.

Make sure that the read position is never past the write position.
WhiteFish.Blob: Added some more consistency checks.

2017-10-04 16:35:07 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.Blob: Validate input a bit more in merge().

Corrupted inputs corrupted the result even more...

2017-10-04 16:32:03 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish: Added some paranoia.

Make sure that the read position is never past the write position.
WhiteFish.Blob: Added some more consistency checks.
WhiteFish.Blob: Validate input a bit more in merge().

Corrupted inputs corrupted the result even more...

2017-10-04 15:50:46 (2 weeks ago) by Chris Angelico <rosuav@gmail.com>

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

Tuesday 03 October 2017

2017-10-03 19:19:16 (2 weeks ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.492 by export.pike
release number bumped to 8.0.493 by export.pike

2017-10-03 14:47:39 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [WhiteFish]: Added some tests of _WhiteFish.Blob and Blobs.

2017-10-03 14:45:01 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.Blob: Added some implementation notes.

WhiteFish.Blob()->data() calls exit_blob_struct() directly,
which means that the struct needs to have been cleared when
exit_blob_struct() gets called when the object is freed, or
it will attempt to access/free stale pointers.

Also fixes KR-style function declaration and a warning
about unused arguments.

2017-10-03 14:40:20 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.Blob: Minor code cleanup.

2017-10-03 14:31:42 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.ResultSet: Fixed multiple memory leaks.
WhiteFish.ResultSet: Fixed operations to work as documented.

Fixes issues with merging of empty sets.

Fixes rank calculation on intersection of sets.

Fixes multiple testsuite failures.

2017-10-03 14:26:24 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [WhiteFish]: Hook into normal testsuite.
Testsuite [WhiteFish]: Updated some tests to reality.

2017-10-03 12:55:57 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [WhiteFish]: Added some tests of _WhiteFish.Blob and Blobs.

2017-10-03 11:51:02 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.Blob: Fixed multiple free.

WhiteFish.Blob()->data() calls exit_blob_struct() directly,
which means that exit_blob_struct() will attempt to access/free
stale pointers when it gets called when the object is freed.

Also fixes KR-style function declaration and a warning
about unused arguments.

Potential fix for [PIKE-41].

2017-10-03 11:06:07 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.ResultSet: Fixed multiple memory leaks.

Monday 02 October 2017

2017-10-02 17:06:39 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish.ResultSet: Fixed operations to work as documented.

Fixes issues with merging of empty sets.

Fixes rank calculation on intersection of sets.

Fixes multiple testsuite failures.
Testsuite [WhiteFish]: Hook into normal testsuite.

2017-10-02 16:50:36 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [WhiteFish]: Updated some tests to reality.

Sunday 01 October 2017

2017-10-01 14:18:02 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added some more syntax errors.

Saturday 30 September 2017

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

SSL.Cipher: Use get_x_str() for the ECC secrets.

Improves support for curves where the native point representation
isn't an integer, but a string of bytes (like eg Crypto.ECC.Curve25519).

Friday 29 September 2017

2017-09-29 15:36:18 (2 weeks ago) by Stefan Wallström <stewa@roxen.com>

release number bumped to 8.0.491 by export.pike
release number bumped to 8.0.490 by export.pike

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

Crypto.ECC.Curve25519.EdDSA: Added jwk().

Support generating JWKs for Ed25519 keys.

Thursday 28 September 2017

2017-09-28 16:58:35 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Some more notes about __ARGS__.

Wednesday 27 September 2017

2017-09-27 14:42:35 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Efuns: Some fixes of equal() with respect to programs/objects.

Having equal() cast objects to programs and then comparing them
is not a good idea...

Fixes some testsuite failures.

Tuesday 26 September 2017

2017-09-26 15:51:57 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [JWK]: Updated JWK ECC test.

JWK private keys are now decoded to Crypto.ECC.Curve.ECDSA
(and NOT Crypto.ECC.Curve.Point) objects...

Fixes some testsuite failures.

2017-09-26 15:49:19 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.488 by export.pike
release number bumped to 8.0.489 by export.pike

2017-09-26 15:45:38 (3 weeks ago) by Peter Bortas <bortas@gmail.com>

CHANGES: Fixed spello

Monday 25 September 2017

2017-09-25 21:24:14 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Updated with all changes since 8.0.466.

Also rewords, reorders and regroups several entries.

2017-09-25 19:20:03 (3 weeks ago) by Arne Goedeke <el@laramies.com>

MsgPack: typo in error message

2017-09-25 19:02:51 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Added missing documentation note of month_days

2017-09-25 18:05:44 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.487 by export.pike
release number bumped to 8.0.486 by export.pike

2017-09-25 12:18:51 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Minor fixes

2017-09-25 12:07:23 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Quick summary of latest changes.

2017-09-25 11:42:36 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

mkpackage: Fix propagation of extra platform test error code.

Reorder the assignments of EXIT and EXITCODE, so that the
assignment of EXIT doesn't clear $? before it is used for
the assignment of EXITCODE.

Fixes [PIKE-40].

2017-09-25 11:39:15 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

mkpackage: Fix propagation of extra platform test error code.

Reorder the assignments of EXIT and EXITCODE, so that the
assignment of EXIT doesn't clear $? before it is used for
the assignment of EXITCODE.

Fixes [PIKE-40].

Sunday 24 September 2017

2017-09-24 21:50:40 (3 weeks ago) by Arne Goedeke <el@laramies.com>

CHANGES: document Stdio.Buffer bugfixes

2017-09-24 20:54:17 (3 weeks ago) by Peter Bortas <bortas@gmail.com>

CHANGES: Fresh template for next release

2017-09-24 19:47:18 (3 weeks ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.485 by export.pike
release number bumped to 8.0.484 by export.pike

2017-09-24 11:14:53 (3 weeks ago) by Arne Goedeke <el@laramies.com>

MsgPack.encode_to(): call fd output function

2017-09-24 11:00:33 (3 weeks ago) by Arne Goedeke <el@laramies.com>

Stdio.Buffer: added more missing io_trigger_output calls

add_padding() and add_bignum() did not trigger the fd output callback.
Stdio.Buffer: added more missing io_trigger_output calls

add_padding() and add_bignum() did not trigger the fd output callback.

2017-09-24 10:54:33 (3 weeks ago) by Arne Goedeke <el@laramies.com>

Stdio.Buffer: trigger fd output in add_int*() and input_from()

The add_int family of methods and input_from() did not trigger a call
to the fd output function, which could result in write() never being
called when using Stdio.File buffer mode.

2017-09-24 10:51:29 (3 weeks ago) by Arne Goedeke <el@laramies.com>

Stdio.Buffer: trigger fd output in add_int*() and input_from()

The add_int family of methods and input_from() did not trigger a call
to the fd output function, which could result in write() never being
called when using Stdio.File buffer mode.

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

Efuns: Improved comparison of programs in equal().

Equal now regards programs (that use parent pointers) that are
the same class, but have differing parent objects as the same.

Saturday 23 September 2017

2017-09-23 21:53:04 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

US date formatting, m/d/y.

2017-09-23 14:10:38 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Added month_days() that returns the number of days in the month.

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

Crypto.ECC.Curve.ECDSA: Support strings in set_private_key().

Convenience variant for setting the ECDSA private key from
a binary string.

Fixes testsuite failure.

Friday 22 September 2017

2017-09-22 15:58:45 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Test JWK-codec.
Crypto.ECC.Curve.ECDSA: Added get_point().
__builtin.Nettle.ECC_Curve.Point: Added _equal().
Web: decode_jwk() now returns an ECDSA object for private keys.
__builtin.Nettle.Hash._HMAC.State: Implement jwk().

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

Fixes remainder of [PIKE-39].
Crypto.ECC.Curve.ECDSA: Implemented jwk().

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

Fixes more of [PIKE-39].

2017-09-22 15:03:31 (3 weeks 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-22 14:58:42 (3 weeks 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-22 14:27:10 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Work around variant dispatcher bug in decode_jwk()

For some reason the variant dispatcher doesn't handle string(7bit)
correctly, so relax the type somewhat.
Testsuite [Crypto]: Test JWK-codec.
Web: decode_jwk() now returns an ECDSA object for private keys.
Crypto.RSA.State: Fix bugs in LFUN::_equal().

Crypto.RSA.PSSState()->_equal() interfered with _equal()
for the other states.

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

Improve function signature in debug mode (eliminates warning)

Thursday 21 September 2017

2017-09-21 17:51:23 (4 weeks 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 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2017-09-21 15:34:19 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA.OAEP: Fixed typo.

Wednesday 20 September 2017

2017-09-20 14:10:23 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks 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 weeks 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 weeks 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 (4 weeks 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 (4 weeks 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 month 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 month ago) by Arne Goedeke <el@laramies.com>

Compiler [arm64]: do not modify instrs array
ARM: remove opcode statistics

There is a similar feature already available when compiling
with debug.

2017-09-14 15:07:26 (1 month 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 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [kqueue]: Fixed another typo.

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

Testsuite [kqueue]: Fixed typo.

2017-09-13 15:01:27 (1 month 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 month 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 month 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 month 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 month 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 (1 month 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 (1 month 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 (1 month ago) by Marcus Comstedt <marcus@mc.pp.se>

Compiler: Add support for abbreviated function definitions

2017-09-10 13:08:20 (1 month 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 (1 month 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 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Test case and CHANGES for void changes.

2017-09-09 12:36:40 (1 month 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 (1 month 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 (1 month 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 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

Thursday 07 September 2017

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

Nettle: Removed some debug.

2017-09-07 12:51:30 (1 month 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 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2017-09-06 14:54:42 (1 month 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 (1 month ago) by Karl Gustav Sterneberg <kg@roxen.com>

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

[permalink]

Bugs? Suggestions?