Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 10 checkins (+32/-15) by 4 people : 17 checkins (+228/-44) by 4 people : 10 checkins (+242/-24) by 3 people : 8 checkins (+42/-20) by 2 people : 15 checkins (+67/-25) by 2 people : 37 checkins (+420/-97) by 4 people : 29 checkins (+380/-99) by 2 people : 2 checkins (+6/-1) by 2 people : 2 checkins (+73/-68) by 2 people : 14 checkins (+28/-9) by 3 people : 31 checkins (+231/-176) by 2 people : 3 checkins (+8/-2) by 2 people : 7 checkins (+154/-134) by 3 people : 7 checkins (+74/-30) by 4 people : 12 checkins (+77/-22) by 4 people : 1 checkin (+27/-5) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 6 checkins (+151/-10) by 3 people : 1 checkin (+1/-5) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 2 checkins (+33/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 4 checkins (+32/-5) by 3 people : 3 checkins (+11/-5) by 2 people : 3 checkins (+10/-2) by 2 people : 42 checkins (+882/-614) by 4 people : 77 checkins (+871/-806) by 4 people : 118 checkins (+1582/-1417) by 4 people : 8 checkins (+121/-194) by 3 people : 15 checkins (+346/-67) by 4 people : 6 checkins (+144/-229) by 2 people : 15 checkins (+109/-24) by 2 people : 1 checkin (+16/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 9 checkins (+85/-59) by 2 people : 2 checkins (+30/-11) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 3 checkins (+10/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 8 checkins (+47/-11) by 3 people : 25 checkins (+98/-59) by 3 people : 4 checkins (+68/-12) by 2 people : 3 checkins (+58/-2) by 2 people : 2 checkins (+470/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+95/-28) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 4 checkins (+40/-18) by 2 people : 6 checkins (+30/-21) by Henrik Grubbström (Grubba) <grubba@grubba.org> Lines added/removed recently

Today; Monday 16 January 2017

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

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

Yesterday; Sunday 15 January 2017

2017-01-15 23:16:17 (17 hours ago) by Jeff Hungerford <hungerf3@house.ofdoom.com>

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

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

Compiler [amd64]: More disassembler opcodes.

Saturday 14 January 2017

2017-01-14 17:12:44 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [amd64]: Multiple fixes of the disassembler.

Friday 13 January 2017

2017-01-13 18:46:51 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [amd64]: First go at implementing DISASSEMBLE_CODE().

Work in progress; disassembly of SIB not yet implemented,
argument order is not correct in some cases, but it does disassemble
some opcodes correctly.

Thursday 12 January 2017

2017-01-12 18:31:18 (4 days ago) by Jonas Wallden <jonasw@roxen.com>

release number bumped to 8.0.395 by export.pike
release number bumped to 8.0.394 by export.pike

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

String.Buffer: Added _search().

It is now possible to search a String.Buffer.

Wednesday 11 January 2017

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

Mysql.SqlTable: Added _sizeof().

sizeof() on an SqlTable now returns the (cached) number
of rows in the table.

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

Mysql.SqlTable: Added _sizeof().

sizeof() on an SqlTable now returns the (cached) number
of rows in the table.

2017-01-11 01:38:37 (6 days ago) by Martin Nilsson <nilsson@fastmail.com>

Removed last use of ctype function.
Some DIGIT cleanup

Tuesday 10 January 2017

2017-01-10 23:10:06 (6 days ago) by Martin Nilsson <nilsson@fastmail.com>

Some minor optimizations. Most importantly misleadingly named WIDE_ISLOWER has been removed.

2017-01-10 22:46:25 (6 days ago) by Martin Nilsson <nilsson@fastmail.com>

Removed some includes.

2017-01-10 22:43:54 (6 days ago) by Martin Nilsson <nilsson@fastmail.com>

Use isprint to decide what characters to escape in debug.
Use isprint to decide what characters to escape in debug.
Use wide_isspace.

2017-01-10 17:02:00 (6 days ago) by Martin Nilsson <nilsson@fastmail.com>

Changed name from is8bitalnum to isidchar as it contains non-alnum characters (e.g. underscore). Drop 8bit as the wide versions are prefixed as such.
Don't allow a0 to be both alnum and whitespace. I guess someone wanted to be able to write obfuscation better.

2017-01-10 15:42:51 (6 days ago) by Jonas Wallden <jonasw@roxen.com>

release number bumped to 8.0.393 by export.pike
release number bumped to 8.0.392 by export.pike

2017-01-10 14:29:21 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [VCDiff]: iostream wants __dso_handle from crtbeginS.o.

Fixes [bug 7827]/[PIKE-2].
Build [VCDiff]: iostream wants __dso_handle from crtbeginS.o.

Fixes [bug 7827]/[PIKE-2].

2017-01-10 01:02:49 (7 days ago) by Martin Nilsson <nilsson@fastmail.com>

isalnum doesn't recognize characters in Latin-1 supplement, so replace with is8bitalnum. This only matters for CPP prefixes.

Monday 09 January 2017

2017-01-09 23:16:21 (7 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: API change for docode.c:do_code_block().

Propagate identifier_flags explicitly to do_code_block().

2017-01-09 18:39:51 (7 days ago) by Jonas Wallden <jonasw@roxen.com>

release number bumped to 8.0.391 by export.pike
release number bumped to 8.0.390 by export.pike

2017-01-09 18:23:29 (7 days ago) by Martin Nilsson <nilsson@fastmail.com>

Added Unicode.is_whitespace.

Sunday 08 January 2017

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

Compiler: __ARGS__ is now a macro expanding to __args__.

This ensures that the symbol was reserved in prior versions of Pike,
and also makes it possible to check support via #ifdef.

Saturday 07 January 2017

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

Export: Survive system pikes that aren't recent 8.1.

Fixes Pikefarm export.

2017-01-07 12:55:27 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed warning for implicit lambdas without return.

Fixes testsuite failure.

Friday 06 January 2017

2017-01-06 17:09:41 (1 week ago) by Martin Nilsson <nilsson@fastmail.com>

Operator LFUNs now get consistent number of arguments.

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

Compiler: Added support for arguments to implicit lambdas.

Thursday 05 January 2017

2017-01-05 13:33:18 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed propagation of varargs property in dooptcode().

do_code_block() looks at current_function_number to determine
whether to generate varargs code or not. This variable seems
to be set correctly in all cases except for implicit lambdas.

Wednesday 04 January 2017

2017-01-04 18:02:29 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

It's 2017.

2017-01-04 17:51:59 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

It's 2017.
Some trim_all_whites -> trim replacements.

2017-01-04 17:27:59 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Added note on addition lfun change.
Returning UNDEFINED from addition lfuns is now an error.

2017-01-04 14:51:41 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Precompiler]: Put the UID in the temporary file name.

Some extra paranoia to avoid filename clashes between users.

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

Build [Precompiler]: Attempt to avoid leaving droppings on user abort.

The name space for the temporary file used by precompile.sh is small,
and droppings may cause builds by other users to fail.

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

Configure: Potential fix for dynamic modules on FreeBSD 10.1.

The LDSHARED test attempted to link the shared object with crt1.o,
which failed due to relocation errors. As we don't want to link
with the startup files anyway, make sure to ask gcc to not do it.

Tuesday 03 January 2017

2017-01-03 20:17:21 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Document + operator update for complex types.

2017-01-03 20:02:35 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Instead of skipping the first UNDEFINED, skip all UNDEFINED when adding arrays, mappings and multisets.

2017-01-03 19:17:59 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

String addition code from per/simplified-operators branch.

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

Nettle.Curve25519.Point: Improved support for Stdio.Buffer.

Only read as many bytes as needed from Stdio.Buffer objects.

Monday 02 January 2017

2017-01-02 17:41:19 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Added right hand side operator tests.

2017-01-02 17:14:18 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

More testcases.
Added note about operator bugfix.

2017-01-02 15:46:40 (2 weeks ago) by Arne Goedeke <el@laramies.com>

Bz2: allocate buffer size exactly

This also fixes a warning about an ignored return value

2017-01-02 15:41:29 (2 weeks ago) by Arne Goedeke <el@laramies.com>

byte_buffer: fixed uninitialized variable

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

Build: Fixed warnings from STATIC_ASSUME().

Fixes warnings like "empty body in an if-statement" with
compilers without __builtin_unreachable() and __builtin_assume().

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

Build [C99]: Removed #include of <stdint.h>.

It doesn't seem to be used.

Fixes compilation issues on Solaris 8.

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

CHANGES: Added some notes about recent changes.

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

Build: Fixed compilation error on systems without readdir_r(2).

2017-01-02 03:56:45 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

A few more + tests.
Whitespace changes.

2017-01-02 03:38:20 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Landed the pair_add refactoring from per/simplified-operators branch. This fixes a bug where addition of more than two objects will ignore all but the first two objects.

2017-01-02 01:44:45 (2 weeks ago) by Peter Bortas <bortas@gmail.com>

CHANGES: Header for new release.

2017-01-02 01:04:24 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Fix warning.

Sunday 01 January 2017

2017-01-01 18:51:41 (2 weeks ago) by Arne Goedeke <el@laramies.com>

Stdio.File()->read: optimize buffer size

This change makes sure that the read buffer size will always exactly be
as big as the data we want to read. This usually saves one realloc().
byte_buffer: added API for exact allocation size

In some situations we know almost for sure how much data we will write
into the buffer. In those situations we do not want to always allocate
power of 2 sized buffer. Instead, this new API allows growing the buffer
by exactly as many bytes as needed.

Some other small changes:
* added a bit of documentation.
* generate a fatal on size overflow only in debug mode.
Stdio.File(): simplify do_recvmsg

do_recvmsg() had two code paths, one for big reads using dynamic buffer,
one for small reads which used a new string directly. Since we split
string headers and data, this split is not needed anymore. We create
pike strings from buffers directly without reallocation.

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

CHANGES: Some minor fixes.

Also removes note about the new string literal syntax, since it
is already present in Pike 8.0.

2017-01-01 06:19:19 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Remove float sorting in +. It is not supported consistently in throughout Pike.

2017-01-01 00:30:16 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Testing the float promotion. The current behaviour feels a bit random.

Saturday 31 December 2016

2016-12-31 23:37:42 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Whitespace changes.

2016-12-31 23:27:45 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Convert unary operations to use call_lhs_lfun and retire CALL_OPERATOR.

2016-12-31 22:30:37 (2 weeks ago) by Peter Bortas <bortas@gmail.com>

BUILD_VERSION is supposed to be uneven for everything that is not a release.

2016-12-31 22:17:19 (2 weeks ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.1.7 by export.pike
release number bumped to 8.1.8 by export.pike

2016-12-31 21:41:59 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Dedup lfun call code from cast operator code.

2016-12-31 20:09:26 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

The includes are probably not needed.

2016-12-31 18:12:23 (2 weeks ago) by Arne Goedeke <el@laramies.com>

Tools.Markdown: fixed warning
Interpreter: deinline the tracing code
create_process: fixed pike string leak in AmigaOS

The command line arguments of create_process leaked as a pike string.
This was probably because of the confusing API naming in the dynamic
buffer API: low_free_buf() did not free the buffer, but instead it
freed the buffer and created a pike string.
Replace dynamic_buffer API everywhere

This change should be purely cosmetic. It replaces the old
dynamic_buffer API by the corresponding byte_buffer API everywhere.
The wrapper definitions in dynamic_buffer.h will remain for now.
buffer: avoid one copy when building string
buffer: added buffer_get_string

buffer_get_string returns a zero terminated string. This is used when
e.g. printing from a buffer to stderr.
New byte buffer

This new byte buffer implements a simple dynamic buffer. It aims to

* Provide a clean API.
* Convince the compiler to generate good code. In particular it tries
to avoid unnecessary loads and stores which are otherwise generated
due to the C aliasing rules. This is done using the STATIC_ASSUME(X)
macro, which declare !X as unreachable.
* Have the fast path (when the buffer has enough space) completely
inlined to allow the compiler to batch single byte writes to the
buffer into larger stores.
Stdio.File: simplified read()
type_to_string: do not use global buffer

This removed the use of the global buffer from type_to_string.
dynamic_buffer: use new buffer internally

The API of dynamic_buffer is now a slim swapper around the new buffer
API. This changes many places where the dynamic_buffer internals were
directly used.
dynamic_buffer: removed global buffer
buffer: do not include pike_error

Including pike_error.h from within buffer.h creates all kinds of
problems. Since we only use it with debug enabled, we can move that code
into buffer.c.
buffer: added _nothrow variants

This variant of buffer_ensure_space() will return 0 instead of
throwing an exception in OOM situation. It is sometimes easier to
handle this explicitly, than registering an exception handler.
encode_value: take advantage of buffer features

Some cases, e.g. encoding (wide) strings is significantly faster now.
describe_svalue: do not use global buffer

This commit removes the dynamic buffer from describe_svalue and related
funtions.
buffer: added buffer_advance()
describe_svalue: remove global variables step 1

This is a simple refactoring which starts removing the use
of the global buffer.

2016-12-31 14:20:22 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve: Fixed decoding of JWKs.

Fixes several testsuite failures.

2016-12-31 04:05:25 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Fixed error message for modulo as well.

2016-12-31 03:45:41 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Made errors a bit more consistent.

2016-12-31 02:48:34 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

File name and line number hasn't been used in new_error since 1998. Remove.

Friday 30 December 2016

2016-12-30 23:39:50 (2 weeks ago) by William Welliver <william@welliver.org>

build: smartlink chooses better deployment options on new releases OSX, should help with C++ library compatibility

2016-12-30 20:39:45 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Converted all but unary uses of CALL_OPERATOR to call_lfun.

2016-12-30 20:23:13 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

No need to hadle objects in f_multiply as o_multiply does that.

2016-12-30 20:14:10 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

No need to handle objects in f_or/f_and/f_xor as the o-verison does that.

2016-12-30 19:56:28 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Some small improvements from per/simplified-operators

2016-12-30 19:40:26 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Back out the disabled destructive multiset operations code completely.

2016-12-30 14:42:27 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

String.Buffer: Allocate a constant program id.
String.Buffer: Allocate a constant program id.
Stdio.Buffer: Allocate a constant program id.

2016-12-30 14:39:36 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Allocate a constant program id.

2016-12-30 12:03:26 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC: Unified the APIs for Curve and Curve25519.

new_scalar(), get_x() and get_y() now return coordinates in the
preferred representation for the curve (ie either as a Gmp.mpz
or as a string(8bit)).

create(), set() and `*() accept that same value as argument.

Added get_{x,y}_{num,str}() to get a specific representation.

jose_name() now has a default implementation that returns UNDEFINED.

Added default implementation of get_curve().

Curve25519 now has a Point subclass.

2016-12-30 10:29:46 (2 weeks ago) by Arne Goedeke <el@laramies.com>

create_process: fixed pike string leak in AmigaOS

The command line arguments of create_process leaked as a pike string.
This was probably because of the confusing API naming in the dynamic
buffer API: low_free_buf() did not free the buffer, but instead it
freed the buffer and created a pike string.
Interpreter: deinline the tracing code
Tools.Markdown: fixed warning
Replace dynamic_buffer API everywhere

This change should be purely cosmetic. It replaces the old
dynamic_buffer API by the corresponding byte_buffer API everywhere.
The wrapper definitions in dynamic_buffer.h will remain for now.
type_to_string: do not use global buffer

This removed the use of the global buffer from type_to_string.
dynamic_buffer: removed global buffer
describe_svalue: do not use global buffer

This commit removes the dynamic buffer from describe_svalue and related
funtions.

Thursday 29 December 2016

2016-12-29 18:26:58 (3 weeks ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.389 by export.pike
release number bumped to 8.0.388 by export.pike

2016-12-29 18:05:09 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Removed unused argument.
Documented finish.

2016-12-29 16:03:02 (3 weeks ago) by Arne Goedeke <el@laramies.com>

buffer: added buffer_get_string

buffer_get_string returns a zero terminated string. This is used when
e.g. printing from a buffer to stderr.
buffer: do not include pike_error

Including pike_error.h from within buffer.h creates all kinds of
problems. Since we only use it with debug enabled, we can move that code
into buffer.c.
encode_value: take advantage of buffer features

Some cases, e.g. encoding (wide) strings is significantly faster now.
describe_svalue: remove global variables step 1

This is a simple refactoring which starts removing the use
of the global buffer.
Stdio.File: simplified read()
buffer: avoid one copy when building string
buffer: added _nothrow variants

This variant of buffer_ensure_space() will return 0 instead of
throwing an exception in OOM situation. It is sometimes easier to
handle this explicitly, than registering an exception handler.
buffer: added buffer_advance()
dynamic_buffer: use new buffer internally

The API of dynamic_buffer is now a slim swapper around the new buffer
API. This changes many places where the dynamic_buffer internals were
directly used.
New byte buffer

This new byte buffer implements a simple dynamic buffer. It aims to

* Provide a clean API.
* Convince the compiler to generate good code. In particular it tries
to avoid unnecessary loads and stores which are otherwise generated
due to the C aliasing rules. This is done using the STATIC_ASSUME(X)
macro, which declare !X as unreachable.
* Have the fast path (when the buffer has enough space) completely
inlined to allow the compiler to batch single byte writes to the
buffer into larger stores.

2016-12-29 11:23:54 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved backward compat for ::_indices() et al.

Removes the deprecation warning when using the old-style syntax.

The return value for ::`->=() is no longer void.

2016-12-29 10:41:47 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Added decode_jwk{,_set}().

These decode JOSE keys coded according to RFC 7515.

Wednesday 28 December 2016

2016-12-28 21:06:54 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Fixed a surprise-deprecation.

2016-12-28 11:50:56 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.Point: Added jose_name().

Also fixes typo in result of Crypto.ECC.SECP_256R1.jose_name().

Tuesday 27 December 2016

2016-12-27 12:57:19 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Fixed typo.

2016-12-27 12:38:19 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed multiple warnings.

Fixes several testsuite failures.

2016-12-27 02:09:51 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Fix typo

Monday 26 December 2016

2016-12-26 20:49:03 (3 weeks ago) by Peter Bortas <bortas@gmail.com>

CHANGES: Fixed some typos.

2016-12-26 15:04:47 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Documentation updates

2016-12-26 10:35:51 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.ECC_Curve.Point: Fixed freeing of unallocated scalar.

Fixes SIGSEGV in the testsuite.

Sunday 25 December 2016

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

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

Points now default to 'g'.

Fixes several testsuite failures.

Saturday 24 December 2016

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

__builtin.Nettle.ECC_Curve.Point: Require coordinate.

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

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

Friday 23 December 2016

2016-12-23 22:12:34 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Added a few Gz.File tests.
Only level 0..9 will produce legal gzip files.

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

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

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

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

2016-12-23 13:46:01 (3 weeks ago) by Jonas Wallden <jonasw@roxen.com>

release number bumped to 8.0.387 by export.pike
release number bumped to 8.0.386 by export.pike

Thursday 22 December 2016

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

Crypto.RSA: Support initialization from a JWK mapping.

2016-12-22 00:28:55 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Fix fallout from improved types on ::`[]= and ::_indices

2016-12-22 00:21:15 (4 weeks ago) by unknown <unknown user@unknown>

Use push_text() consistently.

2016-12-22 00:18:07 (4 weeks ago) by unknown <unknown user@unknown>

Use push_static_text() consistently.

2016-12-22 00:08:40 (4 weeks ago) by unknown <unknown user@unknown>

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

Wednesday 21 December 2016

2016-12-21 16:24:42 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web.decode_jwt: Assume JWT if no type set in header.

Fixes decoding of JWTs from Google OpenIDConnect.

2016-12-21 16:22:15 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web.decode_jwt: Assume JWT if no type set in header.

Fixes decoding of JWTs from Google OpenIDConnect.

2016-12-21 15:09:53 (4 weeks ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.385 by export.pike
release number bumped to 8.0.384 by export.pike

2016-12-21 14:44:01 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Removed redundant tests.

2016-12-21 14:39:07 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Note about the empty string addition bug.

Tuesday 20 December 2016

2016-12-20 23:40:32 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Make it possible to replace a node with multiple nodes.

2016-12-20 19:54:00 (4 weeks ago) by unknown <unknown user@unknown>

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 15:51:06 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web.Auth.OAuth2: Cleaned up get_token_from_jwt() a bit.

Use the convenience functions instead of doing lots of stuff by hand.

As a side effect: Support DSA and ECDSA signatures in addition to RSA.

As a side effect: Issued tokens now have the "jti" claim set.

2016-12-20 09:29:01 (4 weeks ago) by Karl Gustav Sterneberg <kg@roxen.com>

release number bumped to 8.0.383 by export.pike
release number bumped to 8.0.382 by export.pike

Monday 19 December 2016

2016-12-19 20:33:32 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Preprocessor: Fixed SIGSEGV on invalid macro expansion.

2016-12-19 13:53:27 (4 weeks ago) by Karl Gustav Sterneberg <kg@roxen.com>

release number bumped to 8.0.381 by export.pike
release number bumped to 8.0.380 by export.pike

2016-12-19 11:49:09 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Preprocessor: Fixed SIGSEGV on invalid macro expansion.

2016-12-19 10:49:39 (4 weeks ago) by Martin Karlgren <marty@roxen.com>

release number bumped to 8.0.379 by export.pike
release number bumped to 8.0.378 by export.pike

2016-12-19 10:34:02 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

mkpackage: Added kludge for [bug 7826].

Make sure that the first string in the mkdirhier loop has the
correct character range by preloading the initial non-empty string.

Needed by the Roxen build system.

Sunday 18 December 2016

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

Documentation: The DefaultCompilerEnvironment is a CompilerEnvironment.

2016-12-18 18:19:12 (4 weeks ago) by Jonas Wallden <jonasw@roxen.com>

release number bumped to 8.0.377 by export.pike
release number bumped to 8.0.376 by export.pike

2016-12-18 00:00:50 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Revert "Retired all the WIDE_* macros except WIDE_ISALNUM"

This reverts commit 8d564e44ad50772ea768815a2c82042ee5e4de1b.
Revert "No need calling isxdigit when we have our own lookup table."

This reverts commit 1c6fbc0240147c5404f31fe20309ef913782add8.

Saturday 17 December 2016

2016-12-17 23:06:24 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

No need calling isxdigit when we have our own lookup table.

2016-12-17 22:52:46 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Retired all the WIDE_* macros except WIDE_ISALNUM

2016-12-17 17:50:28 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Document ph:s sscanf %O extensions.

2016-12-17 17:42:42 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Fixed bug when sscanfing multisets.

2016-12-17 14:56:45 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Identifiers can no longer contain non-ascii whitespaces. wide_isidchar can now also easily be upgraded to disallow other special characters.

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

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

2016-12-17 14:05:44 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Removed WC_ISSPACE macro indirection.
Skip non-ascii whitespaces before floats as well.

2016-12-17 03:16:52 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Inlined some wide_isspace code.

2016-12-17 02:53:25 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Corrected WIDE_ISSPACE to actually work on all Unicode white spaces.

Friday 16 December 2016

2016-12-16 18:48:55 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Strings [`+]: Fixed handling of empty string.

Don't propagate the min range from the empty string when adding strings.

Code that triggered the bug:

string res = "";
foreach(a, string segment) {
res += segment + "/"; // Adds "" + segment + "/".
// res here got min set to 0 (kept from "").
// ...
}

This caused string_has_null() to return true for the above string res.

Fixes [bug 7826].
Strings: Get rid of magic numeric constant ~15 in string handling.

2016-12-16 18:37:48 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Strings [`+]: Fixed handling of empty string.

Don't propagate the min range from the empty string when adding strings.

Code that triggered the bug:

string res = "";
foreach(a, string segment) {
res += segment + "/"; // Adds "" + segment + "/".
// res here got min set to 0 (kept from "").
// ...
}

This caused string_has_null() to return true for the above string res.

Fixes [bug 7826].
Strings: Backported STRING_CHECKED_MASK from Pike 8.1.

Get rid of magic numeric constant ~15 in string handling.

2016-12-16 13:16:21 (1 month ago) by Karl Gustav Sterneberg <kg@roxen.com>

release number bumped to 8.0.375 by export.pike
release number bumped to 8.0.374 by export.pike

2016-12-16 04:31:21 (1 month ago) by Chris Angelico <rosuav@gmail.com>

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

Thursday 15 December 2016

2016-12-15 13:58:22 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Image]: Survive without some submodules.

Fixes testsuite failures for pikes without eg Image.JPEG.

2016-12-15 13:40:39 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Syntax fixes.

Wednesday 14 December 2016

2016-12-14 13:37:33 (1 month ago) by unknown <unknown user@unknown>

Fix refdoc typo.

2016-12-14 12:51:56 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Hide the expected shift/reduce warning from yacc.

Tuesday 13 December 2016

2016-12-13 14:58:27 (1 month ago) by Chris Angelico <rosuav@gmail.com>

Document the limit in a user-facing way

2016-12-13 14:54:28 (1 month ago) by Chris Angelico <rosuav@gmail.com>

Use fixed-size array rather than alloca()

2016-12-13 12:26:56 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed propagation of CFLAGS in the main Makefile.

Potential fix for building issues with older gcc.

2016-12-13 06:41:47 (1 month ago) by Chris Angelico <rosuav@gmail.com>

GTK2: Implement TreeView drag-and-drop functions
GTK2: Add a couple more argument checks
Allow GTK2.SelectionData to be passed as a parameter
GTK2: POC implementation of Widget->drag_{source,dest}_set()

Should be broadly coherent but may not work correctly
Fix DragContext creation by removing code (sweet)
Remove remaining C99isms
De-C99 where easy
Simplify API by removing the need for a length parameter
GTK2: Add get/set_text methods to SelectionData
Specify that the drag type should be a MIME type
GTK2: Implement TreeView drag-and-drop
GTK2: Improve documentation
GTK2: Require that drag types be ASCII printable
GTK2: Rename Function to avoid clash with the Function module

Monday 12 December 2016

2016-12-12 22:56:23 (1 month ago) by Chris Angelico <rosuav@gmail.com>

GTK2: Implement TreeView drag-and-drop
Specify that the drag type should be a MIME type
Allow GTK2.SelectionData to be passed as a parameter
GTK2: Require that drag types be ASCII printable
GTK2: Improve documentation
Fix DragContext creation by removing code (sweet)
GTK2: Implement TreeView drag-and-drop functions
De-C99 where easy
GTK2: Add a couple more argument checks
GTK2: Add get/set_text methods to SelectionData
Simplify API by removing the need for a length parameter
GTK2: POC implementation of Widget->drag_{source,dest}_set()

Should be broadly coherent but may not work correctly

2016-12-12 22:50:26 (1 month ago) by Chris Angelico <rosuav@gmail.com>

De-C99 where easy

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

SSL.Cipher: More ECC-related fixes.
SSL.Cipher: More ECC-related fixes.

2016-12-12 18:29:27 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Cipher: Fixed debug output.

2016-12-12 18:25:45 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Cipher: Fixed debug output.

2016-12-12 17:10:28 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Removed some redundant push_int(0)

2016-12-12 17:06:40 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Bugfix for the unlikely event of a computer without name or user.

2016-12-12 16:26:15 (1 month ago) by Peter Bortas <bortas@gmail.com>

Moved CHANGE entries for things that didn't make it in time for rel 6.

2016-12-12 12:49:29 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Pike 8.0.370 is Pike 8.0 release 6.

Adds header for the next set of entries.

2016-12-12 12:06:59 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL [Client]: Support disabling of some ECC curves via Context.

Fixes remainder of [bug 7825].

2016-12-12 12:04:56 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Survive Context()->ecc_curves being empty.

Fixes some more of [bug 7825].

2016-12-12 11:59:35 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL [Client]: Support disabling of some ECC curves via Context.

Fixes remainder of [bug 7825].

2016-12-12 11:55:41 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Survive Context()->ecc_curves being empty.

Fixes some more of [bug 7825].

2016-12-12 11:50:46 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC: Survive use with old Pike 8.0 binaries.

Fixes some of [bug 7825].

2016-12-12 00:32:01 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Backported XML serialization charset fix.
Removed a few redundant push_int(0)

2016-12-12 00:23:27 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Fix charset encoding for render_to_file as well.

Sunday 11 December 2016

2016-12-11 19:35:07 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [SDL]: Propagate settings from configure explicitly.
Build [C++]: Fixed warning about unsupported option.

The option -Wimplicit-function-declaration is not supported with
C++ (as it is required behavior).
Build [C++]: Improved support for modules written in C++.

Differentiate between CFLAGS and CXXFLAGS.

Saturday 10 December 2016

2016-12-10 20:44:20 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Late update about the XML parser fix.

2016-12-10 18:45:13 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Fix fallout from improved types on ::`[]= and ::_indices
Documentation fixes. No need to push 0 on void functions.

2016-12-10 17:57:56 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

crypt() tests.

2016-12-10 17:45:57 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Fixed crypt() to work on purpose and not just by accident.

2016-12-10 17:29:07 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Another use of UNREACHABLE.

2016-12-10 15:44:33 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Tar: Use a deterministic file name order.

Use the order from the tar file.

Fixes spurious testsuite failures due to the "mapping-sort"
behavior of get_dir().

Friday 09 December 2016

2016-12-09 16:17:44 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gc: Added some notes about the GC states.

2016-12-09 15:40:01 (1 month ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.372 by export.pike
release number bumped to 8.0.373 by export.pike

2016-12-09 12:00:46 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

MasterObject: Survive older pike 8.0 binaries.

DefaultCompilerEnvironment->lock() doesn't exist
in older versions of Pike 8.0.

Potential fix for such binaries failing with recent master.pike.

2016-12-09 01:06:07 (1 month ago) by Pontus Östlund <ponost@roxen.com>

Fixed the bug (I think) that didn't print out the Pike version and extraction date in the refdoc when Tools.AutoDoc.FLAG_NO_DYNAMIC is set.

E.g. fixes the refdoc on the Pike site.

Did some more aesthetical fixes to the refdoc, mainly for mobiles.
Changed the "hamburger" in mobile mode.

Added the image copying stuff in module_modref in the Makefile since that most likely will fail since the image dir in this case i empty. This should be fixed properly, but I know too little about the confusing syntax in the makefile.

2016-12-09 00:55:01 (1 month ago) by Pontus Östlund <ponost@roxen.com>

Fixed the bug (I think) that didn't print out the Pike version and extraction date in the refdoc when Tools.AutoDoc.FLAG_NO_DYNAMIC is set.

E.g. fixes the refdoc on the Pike site.

Did some more aesthetical fixes to the refdoc, mainly for mobiles.

Thursday 08 December 2016

2016-12-08 21:49:01 (1 month ago) by Pontus Östlund <ponost@roxen.com>

Changed the "hamburger" in mobile mode.

Added the image copying stuff in module_modref in the Makefile since that most likely will fail since the image dir in this case i empty. This should be fixed properly, but I know too little about the confusing syntax in the makefile.

2016-12-08 20:14:27 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

One more o_range -> o_range2 conversion.

2016-12-08 20:09:58 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Bugfix decoding of UTF-8 encoded BOM.
Bugfix decoding of UTF-8 encoded BOM.

2016-12-08 19:42:55 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

VERBOSE_XMLDEBUG works again.

2016-12-08 19:32:21 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

%m has been removed from sprintf.

2016-12-08 19:20:31 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

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

2016-12-08 12:13:37 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Added note about VCDiff.

2016-12-08 12:11:40 (1 month ago) by Martin Karlgren <marty@roxen.com>

VCDiff.Decoder: Fix argument type for decode_chunk().

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

Testsuite: Fix warning caused by ::`->() now returning void.

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

Testsuite: Fix warning caused by ::`->() now returning void.

Wednesday 07 December 2016

2016-12-07 23:46:18 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

This is a cooler way of iterating over a sorted mapping.

2016-12-07 16:19:31 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Arg: Sort the options in the usage output.

The output from usage() should now be deterministic.

Previously in mapping-order...

2016-12-07 11:42:03 (1 month ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.371 by export.pike
release number bumped to 8.0.370 by export.pike

2016-12-07 11:14:01 (1 month ago) by Stephen R. van den Berg <srb@cuci.nl>

Moved CHANGES to the correct section.

2016-12-07 02:20:26 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

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

2016-12-07 01:33:05 (1 month ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.369 by export.pike
release number bumped to 8.0.368 by export.pike

[permalink]

Bugs mentioned

  2017RESOLVEDFailed to decode "favicon.ico"
  7826RESOLVEDstring_has_null() fails sometimes in Pike 8.0.28.
  7827RESOLVEDCan't build Pike 8.0 in Distmaker
Bugs? Suggestions?