Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 56 checkins (+434/-396) by 4 people : 20 checkins (+79/-40) by 2 people : 32 checkins (+239/-79) by 5 people : 38 checkins (+616/-514) by 2 people : 37 checkins (+900/-284) by 2 people : 8 checkins (+394/-170) by 2 people : 2 checkins (+98/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 10 checkins (+53/-56) by 2 people : 21 checkins (+220/-33) by 4 people : 73 checkins (+1997/-2718) by 5 people : 22 checkins (+151/-269) by 3 people : 34 checkins (+366/-472) by 4 people : 25 checkins (+325/-156) by 3 people : 9 checkins (+458/-379) by 3 people : 65 checkins (+2620/-2050) by 6 people : 50 checkins (+919/-576) by 3 people : 29 checkins (+236/-134) by 3 people : 14 checkins (+65/-19) by 2 people : 16 checkins (+285/-253) by 2 people : 6 checkins (+226/-63) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 33 checkins (+2583/-3172) by 2 people : 38 checkins (+297/-177) by 3 people : 13 checkins (+89/-38) by 3 people : 64 checkins (+1191/-783) by 5 people : 32 checkins (+330/-148) by 4 people : 14 checkins (+268/-162) by 2 people : 38 checkins (+467/-710) by 3 people : 32 checkins (+1433/-564) by 2 people : 23 checkins (+376/-270) by 4 people : 38 checkins (+790/-714) by 2 people : 12 checkins (+118/-61) by 4 people : 41 checkins (+460/-342) by 4 people : 9 checkins (+353/-204) by 4 people : 10 checkins (+155/-172) by 2 people : 7 checkins (+37/-14) by 2 people : 64 checkins (+926/-491) by 4 people : 43 checkins (+257/-235) by 4 people : 22 checkins (+183/-82) by 4 people : 8 checkins (+56/-16) by 2 people : 19 checkins (+221/-99) by 4 people Lines added/removed recently

Yesterday; Friday 28 November 2014

2014-11-28 22:59:22 (12 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Improved API for resuming sessions somewhat.

2014-11-28 20:09:14 (15 hours ago) by Arne Goedeke <el@laramies.com>

Image.PNG: do length check before checking for IEND
Image.GIF: Fix leak

Cloning of Image objects can throw exceptions. Push the colortable to
the stack early, to prevent it from leaking in case of an error.
Image.GIF: sanity check maxcode
Image.ANY: fix use after free
Image.ANY: fix use after free
Image.GIF: Fix leak

Cloning of Image objects can throw exceptions. Push the colortable to
the stack early, to prevent it from leaking in case of an error.
Image.GIF: sanity check maxcode
Image.PNG: do length check before checking for IEND

2014-11-28 18:14:44 (17 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.LDAP: Corrected doc for client().
Protocols.LDAP: Corrected doc for client().

2014-11-28 18:07:44 (17 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Fixed some state machine bugs in the SSL testsuite.

In some cases the when both the client and server have emptied their
send buffers, the last packet of data from the client may still be in
transit, so wait for all data to arrive at the server before closing
the server side of the connection.

Fixes issue with getting spurious truncated data in the SSL testsuite.

Also fixes bug where client->connect() detecting an expected
handshaking failure caused the threaded test to backtrace.
Testsuite: Added test of Stdio.Buffer()->_sprintf().

2014-11-28 17:23:17 (17 hours ago) by Martin Nilsson <nilsson@opera.com>

Support for decoding secret keys.

2014-11-28 17:06:55 (18 hours ago) by Martin Nilsson <nilsson@opera.com>

Rewrote decode_public_key to use Stdio.Buffer

2014-11-28 03:34:38 (1 day ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Timeout queries only when needed.

2014-11-28 03:29:10 (1 day ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Timeout queries only when needed.

Thursday 27 November 2014

2014-11-27 23:48:11 (1 day ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Fixed some state machine bugs in the SSL testsuite.

In some cases the when both the client and server have emptied their
send buffers, the last packet of data from the client may still be in
transit, so wait for all data to arrive at the server before closing
the server side of the connection.

Fixes issue with getting spurious truncated data in the SSL testsuite.

Also fixes bug where client->connect() detecting an expected
handshaking failure caused the threaded test to backtrace.

2014-11-27 15:56:16 (2 days ago) by Martin Nilsson <nilsson@opera.com>

Update comments.

2014-11-27 15:19:54 (2 days ago) by Martin Nilsson <nilsson@opera.com>

Use faster and better looking padding. This however limits us to 2147483648 bit RSA keys.

2014-11-27 13:40:50 (2 days ago) by Martin Nilsson <nilsson@opera.com>

Abort processing when fatal package is sent.
Type fix

2014-11-27 13:24:10 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Added test of Stdio.Buffer()->_sprintf().

Wednesday 26 November 2014

2014-11-26 22:24:58 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: LFUN::_sprintf() must not have side effects!

sprintf("%s", buf) and sprintf("%q", buf) had the side effect
of emptying the buffer (which is not what you expect when you
use them for debug output...).

2014-11-26 22:22:02 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: LFUN::_sprintf() must not have side effects!

sprintf("%s", buf) and sprintf("%q", buf) had the side effect
of emptying the buffer (which is not what you expect when you
use them for debug output...).

2014-11-26 17:00:07 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added #pragma {,no}disassemble.

When debugging the compiler it is is often useful to get
disassembly output for just a few functions in a specific
file. This pragma causes the compiler backend to dump the
result from the peep-hole optimizer to stderr for functions
defined in sections where #pragma disassemble is active.

Note that the pragma currently only has effect if pike
has been compiled --with-rtldebug (aka PIKE_DEBUG).

2014-11-26 13:48:52 (3 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: FETCH is eligible for parallelisation too.
pgsql: FETCH is eligible for parallelisation too.

2014-11-26 13:16:18 (3 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make better use of the Stdio.Buffer add/add_ints API.
pgsql: Make better use of the Stdio.Buffer add/add_ints API.

2014-11-26 13:01:42 (3 days ago) by Martin Nilsson <nilsson@opera.com>

Allow hash_messages to be called multiple times.

2014-11-26 12:18:29 (3 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Case insensitive regexps, but more readable.
pgsql: Case insensitive regexps, but more readable.

2014-11-26 11:47:31 (3 days ago) by Marcus Wellhardh <wellhardh@roxen.com>

release number bumped to 909 by export.pike
release number bumped to 908 by export.pike

2014-11-26 10:50:49 (3 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify regexps, add docs.
pgsql: Simplify regexps, add docs.

2014-11-26 09:45:57 (3 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make SET synchronous to avoid surprises with subsequent queries.
pgsql: Make SET synchronous to avoid surprises with subsequent queries.

Tuesday 25 November 2014

2014-11-25 17:03:38 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Interoperability fix.

The handshake messages are hashed twice, so avoid
zapping them too early.

The SSL module now interoperates with other implementations again.

FIXME: What about renegotiation?

2014-11-25 15:57:52 (4 days ago) by Martin Nilsson <nilsson@opera.com>

Allow buffer objects in handshake_packet() and hearbeat_packet().

2014-11-25 15:47:17 (4 days ago) by Martin Nilsson <nilsson@opera.com>

Narrower.

2014-11-25 15:06:48 (4 days ago) by Martin Nilsson <nilsson@opera.com>

Refactored send_streaming_data

2014-11-25 14:52:51 (4 days ago) by Martin Nilsson <nilsson@opera.com>

More OO.

2014-11-25 14:48:08 (4 days ago) by Martin Nilsson <nilsson@opera.com>

More OO.

2014-11-25 13:43:48 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Using howmuch with a sizeof compare of the Buffer does not work.

howmuch is the amount we need extra. It does not relate to the amount
already in the Buffer. To prevent a race/deadlock we need extra
signaling.

2014-11-25 13:41:39 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Using howmuch with a sizeof compare of the Buffer does not work.

howmuch is the amount we need extra. It does not relate to the amount
already in the Buffer. To prevent a race/deadlock we need extra
signaling.

2014-11-25 13:19:19 (4 days ago) by Martin Nilsson <nilsson@opera.com>

Renamed methods for consistency with Stdio.Buffer

2014-11-25 13:08:57 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cannot use add_hint() here, the types have already been set in stone.
pgsql: Cannot use add_hint() here, the types have already been set in stone.

2014-11-25 13:08:14 (4 days ago) by Martin Nilsson <nilsson@opera.com>

Removed bignum functions. Using them wouldn't do much.

2014-11-25 12:58:36 (4 days ago) by Martin Nilsson <nilsson@opera.com>

Better use of Stdio.Buffer APIs.

2014-11-25 12:48:14 (4 days ago) by Martin Nilsson <nilsson@opera.com>

put_fix_string() and add_data() converted to add().

2014-11-25 12:28:42 (4 days ago) by Martin Nilsson <nilsson@opera.com>

OO more.

2014-11-25 12:23:50 (4 days ago) by Martin Nilsson <nilsson@opera.com>

UUID v4 is essentially just an random string, so let's use random string directly instead.

2014-11-25 12:14:22 (4 days ago) by Martin Nilsson <nilsson@opera.com>

Remove handshake messages once they have been hashed. Saves 1-2k per connection.

2014-11-25 12:05:06 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Check for the desired buffer size before returning.
pgsql: Check for the desired buffer size before returning.

2014-11-25 11:55:49 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid race during buffer fill/read.
pgsql: Avoid race during buffer fill/read.

2014-11-25 11:53:37 (4 days ago) by Martin Karlgren <marty@roxen.com>

release number bumped to 8.0.35 by export.pike
release number bumped to 8.0.34 by export.pike

2014-11-25 11:39:09 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Preserve type information if PG_DEBUG is defined.
pgsql: Preserve type information if PG_DEBUG is defined.

2014-11-25 11:34:16 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Master: Removed erroneous mutex.

This mutex has survived since ~2000, and seems to never have been useful.

In Pike 8.0 and later it could cause a deadlock, due to locking order
together with the compilers internal mutex as used by decode_value():

Legend:

CM: master()->compilation_mutex (now removed).
IM: The compilers internal mutex.

Thread 1: Thread 2: Notes:
----------------------------------------------------------
decode_value()
compile() Lock IM.
low_cast_to_program()
findprog()
low_findprog()
CM->lock() Lock CM.
compile() Wait for IM.
low_cast_to_program()
findprog()
low_findprog()
CM->lock() Wait for CM.

This bug wasn't triggered before Pike 8.0 as then the compiler
forced threads to be disabled on entry.

FIXME: Do we need to retain the symbol "master()->compilation_mutex"?

Fixes [bug 7366].
Master: Removed erroneous mutex.

This mutex has survived since ~2000, and seems to never have been useful.

In Pike 8.0 and later it could cause a deadlock, due to locking order
together with the compilers internal mutex as used by decode_value():

Legend:

CM: master()->compilation_mutex (now removed).
IM: The compilers internal mutex.

Thread 1: Thread 2: Notes:
----------------------------------------------------------
decode_value()
compile() Lock IM.
low_cast_to_program()
findprog()
low_findprog()
CM->lock() Lock CM.
compile() Wait for IM.
low_cast_to_program()
findprog()
low_findprog()
CM->lock() Wait for CM.

This bug wasn't triggered before Pike 8.0 as then the compiler
forced threads to be disabled on entry.

FIXME: Do we need to retain the symbol "master()->compilation_mutex"?

Fixes [bug 7366].

2014-11-25 11:04:43 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slight speedup in column processing.

2014-11-25 10:59:23 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slight speedup in column processing.

2014-11-25 00:14:16 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Context: Ensure that session identifiers are unique.

Now uses Standards.UUID to generate the session identifiers.

This works around a bug in the testsuite where session identifiers
apparently could be reused.

Monday 24 November 2014

2014-11-24 20:02:50 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Context: purge_session() now works client-side too.

2014-11-24 19:11:35 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Use read_hbuffer where immediately possible.

2014-11-24 18:43:14 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Add signature_algorithms as Buffer instead of string.

2014-11-24 18:40:17 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Mark key exchange packets as 8bit.

2014-11-24 18:31:49 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Rewrote get_uint, put_uint, get_var_string and get_fix_string.

2014-11-24 18:22:30 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Replaced pop_data() with read() or direct buffer usage.

2014-11-24 18:02:08 (5 days ago) by Martin Nilsson <nilsson@opera.com>

put_var_string -> add_hstring

2014-11-24 17:48:10 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Deprecate ADT.struct

2014-11-24 17:29:55 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Use SSL.Buffer instead of ADT.struct

2014-11-24 17:15:23 (5 days ago) by Per Hedbor <ph@opera.com>

The buffer_error_program only takes one argument.

This could probably be handled better.

2014-11-24 17:10:25 (5 days ago) by Per Hedbor <ph@opera.com>

The buffer_error_program only takes one argument.

This could probably be handled better.
Significantly faster encoding of integers > INT32_MAX.

This version is about 200 times faster.

2014-11-24 16:07:57 (5 days ago) by Martin Nilsson <nilsson@opera.com>

read_ints exsists

2014-11-24 14:13:09 (5 days ago) by Stephen R. van den Berg <srb@cuci.nl>

Fix some more docs.
Fix some more docs.

2014-11-24 13:59:50 (5 days ago) by Stephen R. van den Berg <srb@cuci.nl>

Doc fixes.
Doc fixes.

2014-11-24 13:43:28 (5 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Docs tuned.
pgsql: Docs tuned.

2014-11-24 13:07:57 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Stdio.File compat test.

2014-11-24 13:05:31 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Possibly correct sybase compat.

2014-11-24 12:59:18 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Testcase for Parser.XML.Validating compat.

2014-11-24 12:54:29 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Test Locale.Charset compat.

2014-11-24 12:51:57 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Fixed Yabu compat code.

2014-11-24 12:47:32 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Fixed Crypto compat code.

2014-11-24 11:43:46 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compat: Added some symbols from 8.0.

2014-11-24 11:23:59 (5 days ago) by Stephen R. van den Berg <srb@cuci.nl>

SSL.ClientConnection: Added missing constant.

2014-11-24 10:57:26 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

8.0::Locale: No need for an inherit here.

Inheriting joinnodes (or for that matter dirnodes) is not a good idea.

As compatibility modules are automatically joined with their newer
versions, there's also no need for the inherit except for documentation
purposes.

Fixes [bug 7364].

2014-11-24 10:56:28 (5 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: /*semi*/final for efficiency.
pgsql: /*semi*/final for efficiency.

2014-11-24 10:30:48 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Readded #pike versions outside of defined reange.
Documentation update

2014-11-24 10:11:12 (5 days ago) by Stephen R. van den Berg <srb@cuci.nl>

Reinstate legacy hash functions for the benefit of legacy network protocols.

Sunday 23 November 2014

2014-11-23 18:14:20 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Don't purge sessions on close notify failure.

When closing the connection it is common that the peer has closed the
connection directly after sending its close notification packet without
waiting for a corresponding close notification from us. This is to be
expected, and is not a reason for us to purge the session.

2014-11-23 18:10:01 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added API for resuming sessions.

2014-11-23 03:30:07 (6 days ago) by Stephen R. van den Berg <srb@cuci.nl>

Workaround c?-> bug.

2014-11-23 03:27:47 (6 days ago) by Stephen R. van den Berg <srb@cuci.nl>

Workaround c?-> bug.

Saturday 22 November 2014

2014-11-22 14:10:33 (7 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ClientConnection: Added some support for resuming sessions.

2014-11-22 11:44:07 (7 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ClientConnection: Keep track of the session identity.

2014-11-22 03:19:51 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Off-by-one error.
pgsql: Off-by-one error.

2014-11-22 03:10:14 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rebalance threads, cut away some fat and unnecessary mutexes.

The benchmark performance is now within spitting distance of the
old pgsql driver for the unbatched single queries.
For large batches (>20), the new driver beats everyone pants down.
For single batches (==1), the new driver is about 2% slower than
the old 7.8 version.
pgsql: Rebalance threads, cut away some fat and unnecessary mutexes.

The benchmark performance is now within spitting distance of the
old pgsql driver for the unbatched single queries.
For large batches (>20), the new driver beats everyone pants down.
For single batches (==1), the new driver is about 2% slower than
the old 7.8 version.

Friday 21 November 2014

2014-11-21 21:09:16 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.SVG: Use features in RSVG 2.14 and later.

Many of the APIs that were used in the Image.SVG module have been
deprecated by more modern APIs. Most of the relevant new APIs
were added in RSVG 2.14.

With RSVG 2.14 and later SVGs are now rendered and scaled with Cairo.

Fixes all known compilation warnings for the Image.SVG module.

2014-11-21 19:26:28 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: reconnect robustness improved.

2014-11-21 17:47:32 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: reconnect robustness improved.

2014-11-21 16:08:37 (1 week ago) by Per Hedbor <ph@opera.com>

Fixed speed of bignum and 64bit integer encoding in encode_value

This fixes an issue we ran into in one of our servers where encoding a
reasonably sized list of crc32 hashes (unsigned 32 bit integers, so
50% would not fit in a signed 32bit integer) took 10+ seconds.

| Pike v8.1 release 0 running Hilfe v3.5 (Incremental Pike Frontend)
| > array ints = allocate(50000,random)(1<<32);
| > array bigs = allocate(50000,random)(1<<320);
| > set format bench

Before my fix:
| > encode_value(ints),0; ... Execution: 1.24s
| > encode_value(bigs),0; ... Execution: 121.31ms

After my fix:
| > encode_value(ints),0; ... Execution: 18.58ms
| > encode_value(b),0; ... Execution: 43.85ms

So. "normal" 64 bit integers are now encoded about 66 times faster.
Actual bignums are only 3x faster.

This makes me somewhat suspicious about the speed of various bignum
functions in pike, by the way, since the only thing that should really
have been done is to remove the function call + object
creation/destruction overhead.

And it does not take even close to 1.2 seconds to create and free
50.000 bignum objects (creating and reallocating the array 'b' above
takes about 50ms).

2014-11-21 13:44:59 (1 week ago) by Martin Nilsson <nilsson@opera.com>

Stdio.Buffer instead of ADT.struct

2014-11-21 11:42:24 (1 week ago) by Martin Nilsson <nilsson@opera.com>

Changed a few ADT.struct to Stdio.Buffer

2014-11-21 10:50:51 (1 week ago) by Martin Nilsson <nilsson@opera.com>

Test for 8.0::ADT.struct

2014-11-21 09:46:02 (1 week ago) by Martin Nilsson <nilsson@opera.com>

Sort zone order.

Thursday 20 November 2014

2014-11-20 23:23:05 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Coalesce packets to reduce overhead.
pgsql: Only assign _portalname once, small regressionfix.
pgsql: Coalesce packets to reduce overhead.

2014-11-20 23:20:44 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Only assign _portalname once, small regressionfix.

2014-11-20 17:28:08 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.URI: Support rel being absolute in combine_uri_path().

Roxen.fix_relative() calls combine_uri_path() with an empty base
and an absolute rel to get rid of path segments with "." and "..".

Fixes Roxen.fix_relative() getting a doubled initial "/".

Also adds a related FIXME in reparse_uri().
Standards.URI: Support rel being absolute in combine_uri_path().

Roxen.fix_relative() calls combine_uri_path() with an empty base
and an absolute rel to get rid of path segments with "." and "..".

Fixes Roxen.fix_relative() getting a doubled initial "/".

Also adds a related FIXME in reparse_uri().

2014-11-20 16:19:25 (1 week ago) by Martin Nilsson <nilsson@opera.com>

Added the aliases from RFC 5469.

2014-11-20 15:51:59 (1 week ago) by Martin Nilsson <nilsson@opera.com>

Even better looking.

2014-11-20 15:38:01 (1 week ago) by Martin Nilsson <nilsson@opera.com>

Small cleanup of point decoding using Stdio.Buffer features.
Work around precompiler type issue.

2014-11-20 14:48:21 (1 week ago) by Martin Nilsson <nilsson@opera.com>

Work around a compat resolver bug.

2014-11-20 13:22:04 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Rerun the precompiler when it has been changed.

Adds a dependency for the generated files on Tools.Standalone.precompile.

Also rewrites the Makefile rules to not use explicit dependencies
in implicit rules, as they seem to be ignored by at least gnu-make.
Build: Rerun the precompiler when it has been changed.

Adds a dependency for the generated files on Tools.Standalone.precompile.

Also rewrites the Makefile rules to not use explicit dependencies
in implicit rules, as they seem to be ignored by at least gnu-make.

2014-11-20 13:20:30 (1 week ago) by Martin Nilsson <nilsson@opera.com>

Use Context.random for IV generation.
Clamp ranges on both ints and strings. Make reversed range an error.

2014-11-20 12:19:57 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

precompile: Make sure to clamp the integer range correctly.

Fixes issue with Stdio.Buffer()->read_int32() having the type
function(:int(0..-1)).

Fixes [LysLysKOM 21057425]/[Pike mailinglist 14286].

NB: This bug also caused low_describe_type() to loop infinitely
when describing the return type.
precompile: Make sure to clamp the integer range correctly.

Fixes issue with Stdio.Buffer()->read_int32() having the type
function(:int(0..-1)).

Fixes [LysLysKOM 21057425]/[Pike mailinglist 14286].

NB: This bug also caused low_describe_type() to loop infinitely
when describing the return type.

2014-11-20 12:02:02 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

precompile: Make sure to clamp the integer range correctly.

Fixes issue with Stdio.Buffer()->read_int32() having the type
function(:int(0..-1)).

Fixes [LysLysKOM 21057425]/[Pike mailinglist 14286].

NB: This bug also caused low_describe_type() to loop infinitely
when describing the return type.

2014-11-20 10:26:08 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

Update CHANGES.

2014-11-20 10:03:12 (1 week ago) by Chris Angelico <rosuav@gmail.com>

Revert "Fix typo in pgsql's _processloop"

This reverts commit 22dbe66d3b3a9265038982ee3f0c56c992311f34.

OOPS! The error was mine, oops ooops ooooops.

2014-11-20 09:48:32 (1 week ago) by Chris Angelico <rosuav@gmail.com>

Fix typo in pgsql's _processloop

2014-11-20 09:14:42 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Disappearing filedescriptors need to be reported later sometimes.
pgsql: Disappearing filedescriptors need to be reported later sometimes.

2014-11-20 02:49:03 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Pull two Stdio.Buffers apart.
This kludges around a parser bug in Pike 8.1.

It's a bit difficult to create an isolated testcase out of this.
Somebody please look into this.

Without this patch, the following test results in the error below:

> object b=Sql.pgsql("");
/usr/local/pike/8.1.0/lib/modules/Sql.pmod/pgsql.pike:696:switch(): Conditional expression is void.

2014-11-20 02:46:23 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

This kludges around a parser bug in Pike 8.1.

It's a bit difficult to create an isolated testcase out of this.
Somebody please look into this.

Without this patch, the following test results in the error below:

> object b=Sql.pgsql("");
/usr/local/pike/8.1.0/lib/modules/Sql.pmod/pgsql.pike:696:switch(): Conditional expression is void.

2014-11-20 02:37:32 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Pull two Stdio.Buffers apart.

2014-11-20 00:20:01 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Image.SVG]: Fixed warning.
Image.SVG: Fixed leak on error in _decode().

The options mapping could leak in serveral error conditions.

Also adjusts some related error messages.
Image.SVG: Fixed leak on error in _decode().

The options mapping could leak in serveral error conditions.

Also adjusts some related error messages.

Wednesday 19 November 2014

2014-11-19 18:18:52 (1 week ago) by Anders Johansson <anders@roxen.com>

Build: Support Bison 3.

2014-11-19 17:34:02 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ServerConnection: Fixed support for resuming sessions.

It's not a good idea to send the CCS packet twice...
SSL.ServerConnection: Fixed support for resuming sessions.

It's not a good idea to send the CCS packet twice...

2014-11-19 17:06:21 (1 week ago) by Marcus Cromnow <marcusc@opera.com>

Delay setup of backend wakeup pipe.

This delays the wakeup pipe until after the backend is actually used.

The main reason is that after fork() all copies of the process always
have the same wakeup pipe.

Waiting until the first use of the backend makes wake_up_backend()
useful again in forked processes (as long as the backend has not been
used before the fork).

Fixes a bug in turboproxy, we use a master backend system where all
modules are loaded and partially initializes in a 'master' backend,
and new backends are then forked of from the master as needed.

2014-11-19 10:33:42 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Be less destructive, signal then clear instead.

2014-11-19 10:30:03 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Be less destructive, signal then clear instead.

2014-11-19 00:27:26 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move direct multiset to a permanent pmod.
pgsql: Move direct multiset to a permanent pmod.

2014-11-19 00:02:23 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Recouple mutexes for optimum performance.
pgsql: Recouple mutexes for optimum performance.

Tuesday 18 November 2014

2014-11-18 23:35:32 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Remove cruft and decouple one shortmux.
pgsql: Remove cruft and decouple one shortmux.

2014-11-18 23:10:48 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Merge shortlived mutexes to improve cache-locality.
pgsql: Merge shortlived mutexes to improve cache-locality.

2014-11-18 22:07:01 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve debugging output.
pgsql: Eliminate parsing race for very fast servers.

2014-11-18 22:03:17 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate parsing race for very fast servers.

2014-11-18 21:19:11 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve debugging output.

2014-11-18 17:59:18 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Discard data on portals that have already been closed.
pgsql: Discard data on portals that have already been closed.

2014-11-18 13:34:58 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Set preparedname earlier to eliminate a race with fast servers.
pgsql: Set preparedname earlier to eliminate a race with fast servers.

2014-11-18 13:18:23 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Show filedescriptor in %O.

2014-11-18 13:14:19 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Show filedescriptor in %O.

2014-11-18 13:01:21 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Do not bother to close unnamed statements.
pgsql: Do not bother to close unnamed statements.

2014-11-18 11:42:24 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: simple_describe_multiset() is only used in PIKE_DEBUG.
Build: simple_describe_multiset() is only used in PIKE_DEBUG.

2014-11-18 01:26:53 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move method closer to the data.

2014-11-18 01:23:53 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move method closer to the data.

Monday 17 November 2014

2014-11-17 23:51:49 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cleanup & ensure gotdatarowdesc runs at most once per query.

2014-11-17 23:49:46 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cleanup & ensure gotdatarowdesc runs at most once per query.

2014-11-17 22:32:49 (2 weeks ago) by Martin Karlgren <marty@roxen.com>

release number bumped to 8.0.33 by export.pike
release number bumped to 8.0.32 by export.pike

2014-11-17 22:03:31 (2 weeks ago) by Pontus Rodling <frigolit@frigolit.net>

Don't print errors for WSAEACCES when ports are reserved in Windows.

2014-11-17 19:02:31 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

precompile: Allow UNDEFINED for voidable arguments.
precompile: Allow UNDEFINED for voidable arguments.
precompile: Added some newlines in the generated code.

2014-11-17 19:00:18 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

precompile: Added some newlines in the generated code.

2014-11-17 16:50:05 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Destroy condition instead of the mutex for stability.
pgsql: Destroy condition instead of the mutex for stability.

2014-11-17 16:35:46 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate prepbuffer race (signal before wait and duplicate entries).

2014-11-17 16:33:02 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate prepbuffer race (signal before wait and duplicate entries).

2014-11-17 12:37:39 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate race while flushing output buffer.
pgsql: Eliminate race while flushing output buffer.

2014-11-17 11:05:06 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 906 by export.pike
release number bumped to 907 by export.pike

2014-11-17 06:36:12 (2 weeks ago) by Pontus Rodling <frigolit@frigolit.net>

Don't print errors for WSAEACCES when ports are reserved in Windows.

2014-11-17 06:24:20 (2 weeks ago) by Pontus Rodling <frigolit@frigolit.net>

Don't print errors for WSAEACCES when ports are reserved in Windows.

2014-11-17 02:08:56 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Reinstate legacy XML parsing modes until further notice.

2014-11-17 02:05:21 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Reinstate legacy XML parsing modes until further notice.

Sunday 16 November 2014

2014-11-16 22:35:37 (2 weeks ago) by Arne Goedeke <el@laramies.com>

ADT.Bloom.SValue: corrected comment

2014-11-16 22:17:48 (2 weeks ago) by Arne Goedeke <el@laramies.com>

ADT.Bloom.Simple: byte order independent hashing for wide strings
SipHash24: added byte order independent versions for wide strings

- the current siphash version does not know about wide strings, so
the hash value for wide strings depends on the byte order. added
versions for both 16 and 32 bit wide chars
- also replaced the manual little endian reading routines by the
get_unaligned_le64 macros, which generate much shorter code for
x86_64
- added siphash24_pike_string which will generate a byte order
independent hash value
- use siphash24_pike_string in ADT.Bloom.String

2014-11-16 14:58:15 (2 weeks ago) by Arne Goedeke <el@laramies.com>

ADT.Bloom.Simple: use byte order independent hashing

2014-11-16 14:35:31 (2 weeks ago) by Arne Goedeke <el@laramies.com>

add popcount32 and popcount64
Added ADT.Bloom

Added several different Bloom filters. They all use the same base class
but differ in what keys they accept and how the hash functions are
constructed. Consult the documentation for more information.

Bloom filters can be faster than hash tables However, this speed
advantage is hard to get to from pike, due to the extra cost of
calling lfuns vs mapping lookups. Therefore, the only advantage
these bloom filters have over pike mappings is the much lower
memory footprint.
siphash: make key and return value INT64

2014-11-16 13:37:44 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed some warnings in CritBit.
precompile: Reduce warnings in the generated code.
precompile: Reduce warnings in the generated code.

2014-11-16 13:27:38 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Added PIKE_UNUSED_ATTRIBUTE.
Build: Added PIKE_UNUSED_ATTRIBUTE.

2014-11-16 13:14:16 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed some warnings in CritBit.

2014-11-16 13:03:00 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed warnings about unused arguments in threads.c.
Build: Fixed warnings about unused arguments in threads.c.

2014-11-16 12:59:06 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Manual: Updated compatibility chapter for Pike 8.1 and later.

Removes the section about Pike 7.6.

Adds a place-holder section about Pike 8.0.

2014-11-16 12:53:13 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Manual: Updated the compatibility chapter.

2014-11-16 12:51:11 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Manual: Updated the compatibility chapter.

2014-11-16 00:13:06 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Add 8.0 compat and remove references to 7.0 and 7.2 compat.

2014-11-16 00:07:02 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use read_hint. It has to go through Gmp.mpz until all relevant interfaces are converted into int.
Use add_hint

Saturday 15 November 2014

2014-11-15 23:21:00 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Remove superfluous legacy compat support prior to 7.8.

2014-11-15 19:01:01 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Remove superfluous legacy compat support prior to 7.8.

2014-11-15 14:47:20 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Remove superfluous legacy compat support prior to 7.8.

2014-11-15 14:42:52 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Remove superfluous legacy compat support prior to 7.8.

2014-11-15 14:04:25 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Fix Stdio.File compat code.

2014-11-15 11:55:35 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Cipher [ecdh]: Added note about point validation.

There are attacks against ECDH/ECDHE that are based on providing
points that aren't on the negotiated curve, so add an explicit
note that the received points are validated in point_mul().
Nettle.ECC_Curve: Improved documentation about point_mul().

Added note that point_mul() validates that the coordinate
is valid for the curve.

2014-11-15 11:50:42 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Cipher [ecdh]: Added note about point validation.

There are attacks against ECDH/ECDHE that are based on providing
points that aren't on the negotiated curve, so add an explicit
note that the received points are validated in point_mul().

2014-11-15 11:48:08 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.ECC_Curve: Improved documentation about point_mul().

Added note that point_mul() validates that the coordinate
is valid for the curve.

2014-11-15 10:01:11 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Internal types only: enum -> macros.

2014-11-15 09:58:41 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Internal types only: enum -> macros.

2014-11-15 06:01:57 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Compile fix. I don't have GSSAPI

2014-11-15 05:50:39 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Some additional cleanup. Mostly renaming things.

2014-11-15 05:12:25 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

ADT.struct -> Stdio.Buffer

2014-11-15 02:21:44 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Update docs.
Update docs.

2014-11-15 01:59:42 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Properly terminate the connection if the database does not exist.
pgsql: Properly terminate the connection if the database does not exist.

Friday 14 November 2014

2014-11-14 19:13:32 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated C-level documentation of callbacks.
Updated C-level documentation of callbacks.

2014-11-14 19:04:25 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cosmetics.

2014-11-14 18:57:05 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cosmetics.

2014-11-14 17:45:52 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Release all locks early upon error.

2014-11-14 16:23:05 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Release all locks early upon error.

2014-11-14 10:39:51 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Connects failing due to insufficient resources handled more gracefully.

2014-11-14 10:34:29 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Connects failing due to insufficient resources handled more gracefully.

2014-11-14 02:28:57 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve backtrace clarity of PGassist.

2014-11-14 02:24:14 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve backtrace clarity of PGassist.

2014-11-14 00:34:53 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Finetuned behaviour upon initial connection failure.
pgsql: Finetuned behaviour upon initial connection failure.

Thursday 13 November 2014

2014-11-13 22:59:06 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Delay accepting a commit until all portals have completed.

2014-11-13 22:52:24 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Delay accepting a commit until all portals have completed.

2014-11-13 21:10:35 (2 weeks ago) by Arne Goedeke <el@laramies.com>

Strings: silence a warning

Using a function instead of a macro takes care of casting the first
argument to a signed type, which silences a warning when the macro
was used with unsigned types.
rename aligned_alloc to xalloc_aligned

C11 defines aligned_alloc. This can lead to all kinds of confusion, so
lets rename our internal function.
rename aligned_alloc to xalloc_aligned

C11 defines aligned_alloc. This can lead to all kinds of confusion, so
lets rename our internal function.
Strings: silence a warning

Using a function instead of a macro takes care of casting the first
argument to a signed type, which silences a warning when the macro
was used with unsigned types.

2014-11-13 16:48:22 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Notify callers early when connections are not possible.

2014-11-13 16:44:24 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Notify callers early when connections are not possible.

2014-11-13 15:40:58 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Close race between a parse in progress and a Sync.
pgsql: Reset session urgently and deadlockfree.
pgsql: Improve debugging output and release all locks upon error.
pgsql: Improve debugging output and release all locks upon error.
pgsql: Close race between a parse in progress and a Sync.
pgsql: Reset session urgently and deadlockfree.

2014-11-13 13:50:51 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Fixed race condition with alert callbacks.

to_write() could get called with the pending alert before
the alert callback had determined what to do about the alert.

This caused the http to https redirect fallback in Roxen to fail,
due to to_write() having closed the stream before the callback
could steal it.

2014-11-13 13:46:58 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Fixed race condition with alert callbacks.

to_write() could get called with the pending alert before
the alert callback had determined what to do about the alert.

This caused the http to https redirect fallback in Roxen to fail,
due to to_write() having closed the stream before the callback
could steal it.

2014-11-13 12:24:37 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process.spawn_pike: Added launcher argument.

2014-11-13 12:21:21 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process.spawn_pike: Added launcher argument.

2014-11-13 11:10:55 (2 weeks ago) by Jonas Wallden <jonasw@roxen.com>

release number bumped to 905 by export.pike
release number bumped to 904 by export.pike

2014-11-13 10:33:58 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reset prepared statement numbering upon cache invalidation.

2014-11-13 10:30:51 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reset prepared statement numbering upon cache invalidation.

2014-11-13 09:58:44 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slow down driver even further.

Statements eligible to be automatically preparsed and kept in the
statement cache have to be parsed synchronously too to prevent
accidental reordering of parsing order.

2014-11-13 09:55:17 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slow down driver even further.

Statements eligible to be automatically preparsed and kept in the
statement cache have to be parsed synchronously too to prevent
accidental reordering of parsing order.

2014-11-13 00:46:01 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

backzone has been added

2014-11-13 00:44:31 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to tzdata2014j.
Updated to tzdata2014j.
Updated to tzdata2014j.

Wednesday 12 November 2014

2014-11-12 23:03:00 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use Stdio.Buffer instead of ADT.struct. Since ADT.struct inherit Stdio.Buffer, this is backwards compatible unless the ADT.struct class was further extended or completely replaced.
Use Stdio.Buffer instead of ADT.struct. Fixes a bug where the code was stepping back in the buffer by reducing index, which isn't supported anymore in ADT.struct.

2014-11-12 23:00:40 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use Stdio.Buffer instead of ADT.struct. Fixes a bug where the code was stepping back in the buffer by reducing index, which isn't supported anymore in ADT.struct.

2014-11-12 22:52:05 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use String.Buffer instead of ADT.struct in Hilfe test.

2014-11-12 20:46:18 (2 weeks ago) by Martin Karlgren <marty@roxen.com>

SNMP: Re-fix the lookup table sent to simple_der_decode.
SNMP: Re-fix the lookup table sent to simple_der_decode.

2014-11-12 17:23:32 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 902 by export.pike
release number bumped to 903 by export.pike

2014-11-12 16:19:06 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Renamed internal function to avoid namespace conflicts.
ZXID: Fixed some memory leaks on Session destruct.
ZXID: Renamed internal function to avoid namespace conflicts.
ZXID: Fixed some memory leaks on Session destruct.

2014-11-12 16:04:28 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Renamed internal function to avoid namespace conflicts.
ZXID: Fixed some memory leaks on Session destruct.

2014-11-12 12:10:00 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

protected -> private where it makes sense.

2014-11-12 12:07:25 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

protected -> private where it makes sense.

2014-11-12 11:28:31 (2 weeks ago) by Per Hedbor <ph@opera.com>

Fundamental properties of empty strings corrected.

An empty string:
- IS lowercase
- IS uppercase

'STRING_IS_LOWERCASE' means the same string will be returned for
lower_case(str), and 'STRING_IS_UPPERCASE' means the same string will
be returned for upper_case(str).

Having this be wrong for the empty string is not really a good idea,
since when strings are constructed using += the bits will not be set
correctly if you start with the empty string.

Also note: All code using string ranges really needs a special case
for the empty string, since its range of characters, when checked
using check_string_range, will be 0..255 (loose check), or
-MAX_INT32..MAX_INT32 (non-loose check).

This is done correctly in the 'string_has_null' function, which is
what is supposed to be used to check if strings contain null
characters.

2014-11-12 11:24:24 (2 weeks ago) by Per Hedbor <ph@opera.com>

Fundamental properties of empty strings corrected.

An empty string:
- IS lowercase
- IS uppercase

'STRING_IS_LOWERCASE' means the same string will be returned for
lower_case(str), and 'STRING_IS_UPPERCASE' means the same string will
be returned for upper_case(str).

Having this be wrong for the empty string is not really a good idea,
since when strings are constructed using += the bits will not be set
correctly if you start with the empty string.

Also note: All code using string ranges really needs a special case
for the empty string, since its range of characters, when checked
using check_string_range, will be 0..255 (loose check), or
-MAX_INT32..MAX_INT32 (non-loose check).

This is done correctly in the 'string_has_null' function, which is
what is supposed to be used to check if strings contain null
characters.

2014-11-12 10:42:17 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

English grammar fix.
English grammar fix.

2014-11-12 10:39:41 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

English grammar fix.

Tuesday 11 November 2014

2014-11-11 22:54:09 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Fix formatcheck to accomodate for the optional 2nd argument.

2014-11-11 22:48:48 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Fix formatcheck to accomodate for the optional 2nd argument.
Fundamental properties of empty strings corrected.

An empty string:
- is NOT lowercase.
- is NOT uppercase.
- does NOT have a minimum and maximum equal to zero.
Elaborate error message about NULs in the string.

2014-11-11 22:42:26 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Fix formatcheck to accomodate for the optional 2nd argument.
Elaborate error message about NULs in the string.
Fundamental properties of empty strings corrected.

An empty string:
- is NOT lowercase.
- is NOT uppercase.
- does NOT have a minimum and maximum equal to zero.

2014-11-11 21:19:03 (3 weeks ago) by Martin Karlgren <marty@roxen.com>

Standards.ASN1.Decode.simple_der_decode requires combined tag ids in "types".
Standards.ASN1.Decode.simple_der_decode requires combined tag ids in "types".

2014-11-11 20:12:59 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed some warnings about freeing static memory.
Build: Fixed some warnings about freeing static memory.

Monday 10 November 2014

2014-11-10 23:52:03 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Hide GSSAPI when it isn't working.

2014-11-10 23:47:13 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Add documentation about the custom backend.

2014-11-10 23:42:45 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Add documentation about the custom backend.

2014-11-10 18:50:40 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure: Improved handling of empty ABI directories.
Configure: Improved handling of empty ABI directories.

2014-11-10 17:09:13 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reduce the number of dynamically created threads.

This patch pushes most of the dynamically created threads into the
running local_backend. It specifically does not push the gotdatarowdesc
one to avoid deadlocks.
pgsql: Reduce the number of dynamically created threads.

This patch pushes most of the dynamically created threads into the
running local_backend. It specifically does not push the gotdatarowdesc
one to avoid deadlocks.

2014-11-10 16:50:22 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Avoid ?-> operator for now.
Avoid ?-> operator for now.

2014-11-10 15:53:03 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Run callbacks in a separate thread to keep session afloat.
pgsql: Run callbacks in a separate thread to keep session afloat.

2014-11-10 15:27:45 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Doc fixes.

2014-11-10 15:22:03 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Doc fixes.

2014-11-10 14:51:21 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Fix docs.
Fix docs.

2014-11-10 13:11:01 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Fix code to match docs.

2014-11-10 13:08:44 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Fix code to match docs.
pgsql: #require required.

2014-11-10 13:05:33 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: #require required.

2014-11-10 13:00:51 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: #require Thread.Thread.

2014-11-10 12:54:50 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: #require Thread.Thread.

2014-11-10 10:51:23 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

ins_short isn't used.

2014-11-10 10:50:33 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slow down driver by default, async parsing only on request.

2014-11-10 10:45:15 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slow down driver by default, async parsing only on request.

2014-11-10 02:52:29 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Stricter types.
Stricter types.

2014-11-10 01:41:40 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Updated CHANGES.

Sunday 09 November 2014

2014-11-09 23:10:01 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make statusfunctions wait until the connection has been established.

The driver has survived moderate testing in production servers (Roxen),
it is ready for production release.
pgsql.resync interface fixed.
pgsql: Support Val.null.
pgsql: Missed a spot where a portal could be undefined.

2014-11-09 23:05:09 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make statusfunctions wait until the connection has been established.

The driver has survived moderate testing in production servers (Roxen),
it is ready for production release.
pgsql: Missed a spot where a portal could be undefined.
pgsql.resync interface fixed.
pgsql: Support Val.null.
pgsql: Fixed reconnect behaviour, fixed textqueries, eliminated one race.

All issues eliminated. I will run it in production servers as of now.
Stdio.Buffer: Support all types for add_hstring.
Stdio.Buffer: Support offset parameter for add_hstring/read_hstring.
Sql.pgsql: New and improved full threaded version.

Lower latencies, increased parallelism, theoretical
elimination of all race conditions, simplified code,
uses Stdio.Buffer, no C-helper anymore, less filling.

As a new feature, introduces: send_row(),
fetch_row_array() for increased efficiency,
set_result_callback() and set_result_array_callback()
for event driven database queries.
pgsql: Further finetuning, fix normal query() race condition, thread safe.

Make the result object threadsafe (e.g. calling fetch_fields() and
fetch_row() simultaneously from multiple threads on the same result
object is supported).
pgsql: finetuning, cleanup, improved error response behaviour.
pgsql: Support PostgreSQL 9.4 authentication quirks.

2014-11-09 20:33:48 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed warning about setjmp clobbering yyerrstatus.

2014-11-09 20:24:55 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed warning about setjmp clobbering yyerrstatus.

2014-11-09 00:13:19 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Added configure option --enable-werror.

The configure option --enable-werror now adds -Werror
to the set of WARN flags.

2014-11-09 00:11:02 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Added configure option --enable-werror.

The configure option --enable-werror now adds -Werror
to the set of WARN flags.

Saturday 08 November 2014

2014-11-08 14:41:54 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SANE: Fixed all warnings.
SANE: Fixed all warnings.

2014-11-08 12:00:56 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Cipher: Added KeyExchangeKRB (experimental).

This is a tentative implementation of the RFC 2712
Kerberos-based key exchange.

No interoperation tests have been performed, and the
corresponding suites are not enabled.

Friday 07 November 2014

2014-11-07 18:49:10 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Xenofarm: Fixed broken Makefile.
Xenofarm: Fixed broken Makefile.

2014-11-07 16:28:44 (3 weeks ago) by Erik Allemann <erik@roxen.com>

release number bumped to 8.0.31 by export.pike
release number bumped to 8.0.30 by export.pike

2014-11-07 16:14:04 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.JSON: Allow \' in strings.

Some JSON encoders (eg ZXID) add extraneous escaping of single quotes
in strings.
Standards.JSON: Allow \' in strings.

Some JSON encoders (eg ZXID) add extraneous escaping of single quotes
in strings.

2014-11-07 16:04:29 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.JSON: Allow \' in strings.

Some JSON encoders (eg ZXID) add extraneous escaping of single quotes
in strings.

Thursday 06 November 2014

2014-11-06 18:54:55 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Nettle]: Fixed all remaining warnings with Nettle 2.7.1/gcc 4.7.3.

2014-11-06 18:45:51 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Nettle]: Fixed all remaining warnings with Nettle 2.7.1/gcc 4.7.3.

2014-11-06 16:53:30 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Added Session()->get_auth_info().

An explicit getter is needed when proxying via Remote.
ZXID: Added Session()->get_auth_info().

An explicit getter is needed when proxying via Remote.
ZXID: Added Session()->get_auth_info().

An explicit getter is needed when proxying via Remote.

2014-11-06 07:16:53 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Let's go with a different lie.
Let's go with a different lie.

2014-11-06 06:56:01 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Fixed warnings.

2014-11-06 06:50:42 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Added some consts.

Wednesday 05 November 2014

2014-11-05 22:10:46 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [ssl]: Test the negotiated protocol version.

Test cipher-suite driven protocol downgrade for all client/server
combinations.

Test that the negotiated SSL/TLS version is the expected version.

2014-11-05 21:53:05 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [ssl]: Test the negotiated protocol version.

Test cipher-suite driven protocol downgrade for all client/server
combinations.

Test that the negotiated SSL/TLS version is the expected version.

2014-11-05 18:43:17 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Code reuse

2014-11-05 18:42:40 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Use cpp to remove some dead code in the ILP32 case.

This section of code isn't reached in the ILP32 case, as
asize then can't reach above 0xffffffffUL which is needed
to reach the code.

Also reorders the code for easier use of cpp.
Nettle: Use cpp to remove some dead code in the ILP32 case.

This section of code isn't reached in the ILP32 case, as
asize then can't reach above 0xffffffffUL which is needed
to reach the code.

Also reorders the code for easier use of cpp.

2014-11-05 18:03:41 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Address some warnings.
Address some warnings.

2014-11-05 16:30:55 (3 weeks ago) by Per Hedbor <ph@opera.com>

release number bumped to 8.0.28 by export.pike
release number bumped to 8.0.29 by export.pike

2014-11-05 16:27:38 (3 weeks ago) by Per Hedbor <ph@opera.com>

release number bumped to 8.0.26 by export.pike
release number bumped to 8.0.27 by export.pike

2014-11-05 15:57:23 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 900 by export.pike
release number bumped to 901 by export.pike

Tuesday 04 November 2014

2014-11-04 18:18:06 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed the NULL-deref some more.
Compiler: Fixed the NULL-deref some more.

2014-11-04 17:51:11 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Robustness against compat without default module.

2014-11-04 17:47:59 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Move deprecated code to compat. The compat resolver is broken, so this doesn't actually work.

2014-11-04 17:33:23 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use non-deprecated APIs

2014-11-04 17:20:40 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed NULL-deref.

Fixes [LysLysKOM 21034222].
Compiler: Fixed NULL-deref.

Fixes [LysLysKOM 21034222].

2014-11-04 16:23:13 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 899 by export.pike
release number bumped to 898 by export.pike

2014-11-04 16:13:29 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Move deprecated code to compat. The compat resolver is broken, so this doesn't actually work.

2014-11-04 16:07:47 (4 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

push_integer() -> push_int().

2014-11-04 16:07:45 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Move deprecated code to compat. Something is wrong with the method overloading / variant, so generate_key compat is disabled.

2014-11-04 16:07:12 (4 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

push_integer() -> push_int().

2014-11-04 15:50:05 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Move deprecated code to compat. The compat resolver is broken, so this doesn't actually work.

2014-11-04 15:47:12 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Move deprecated code to compat. The compat resolver is broken, so this doesn't actually work.
Move deprecated code to compat. The compat resolver is broken, so this doesn't actually work.

2014-11-04 15:43:57 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Move deprecated code to compat. The compat resolver is broken, so this doesn't actually work.

2014-11-04 15:38:27 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

2014-11-04 15:27:20 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

2014-11-04 15:20:12 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

2014-11-04 15:11:36 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

2014-11-04 14:37:42 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Added version().
ZXID: Added configuration option "IPPORT".
ZXID: Changed arguments to authenticate().

Recent versions of the zxid library have an extra parameter "uri_path"
that they want from the request. To avoid needing to pass this argument
via enviroment variables, we now use some lower level functions.

Fixes "null or empty cgi->uri_path=(null) qs(...) programming error".

2014-11-04 14:33:41 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Added version().
ZXID: Added configuration option "IPPORT".
ZXID: Changed arguments to authenticate().

Recent versions of the zxid library have an extra parameter "uri_path"
that they want from the request. To avoid needing to pass this argument
via enviroment variables, we now use some lower level functions.

Fixes "null or empty cgi->uri_path=(null) qs(...) programming error".
ZXID: Added version().

2014-11-04 14:30:49 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Added configuration option "IPPORT".
ZXID: Changed arguments to authenticate().

Recent versions of the zxid library have an extra parameter "uri_path"
that they want from the request. To avoid needing to pass this argument
via enviroment variables, we now use some lower level functions.

Fixes "null or empty cgi->uri_path=(null) qs(...) programming error".

2014-11-04 10:55:01 (4 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fixed reconnect behaviour, fixed textqueries, eliminated one race.

All issues eliminated. I will run it in production servers as of now.

Monday 03 November 2014

2014-11-03 20:12:27 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed deprecation markers.
Moved deprecated methods to compat.

2014-11-03 20:05:56 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

2014-11-03 19:58:11 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated modules to compat.

2014-11-03 19:54:18 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use error instead of local macro.

2014-11-03 19:52:09 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.
Removed deprecation markers.

2014-11-03 19:47:26 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

2014-11-03 19:17:26 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

2014-11-03 18:58:19 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

2014-11-03 18:49:18 (4 weeks ago) by Arne Goedeke <el@laramies.com>

Testsuite: very basic test of F_APPEND_MAPPING
Testsuite: very basic test of F_APPEND_MAPPING

2014-11-03 17:49:39 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed deprecation markers.
Moved deprecated methods to compat.

2014-11-03 17:44:09 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

2014-11-03 17:41:52 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed deprecation markers.
Moved deprecated methods to compat.

2014-11-03 16:07:18 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use the new PEM methods.

2014-11-03 16:03:31 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Added some convenience methods.

2014-11-03 15:35:18 (4 weeks ago) by Arne Goedeke <el@laramies.com>

F_APPEND_MAPPING: overwrite existing entries.

The new append mapping opcode did not overwrite existing entries in the
destructive case (when the mapping had only "1" reference).
F_APPEND_MAPPING: overwrite existing entries.

The new append mapping opcode did not overwrite existing entries in the
destructive case (when the mapping had only "1" reference).

2014-11-03 15:25:35 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Avoid using %O for 8-bit strings.
Avoid using %O for 8-bit strings.

2014-11-03 14:28:58 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Don't spam the console with random data.

2014-11-03 14:25:50 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Don't spam the console with random data.

2014-11-03 13:53:39 (4 weeks ago) by Chris Angelico <rosuav@gmail.com>

Enhance Process.run() to be able to accept handler functions for stdout/stderr

2014-11-03 13:53:17 (4 weeks ago) by Per Hedbor <ph@opera.com>

release number bumped to 8.0.25 by export.pike
release number bumped to 8.0.24 by export.pike

2014-11-03 13:31:23 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [ssl]: Fixed some special cases.

The certificates used by the testsuite don't support the
KE_dh_rsa and KE_ecdh_rsa suites in TLS 1.1 and earlier.
This means that the corresponding deprecated suites will
fail even after protocol version downgrade.

Fixes [LysLysKOM 21032408].

2014-11-03 13:25:30 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [ssl]: Fixed some special cases.

The certificates used by the testsuite don't support the
KE_dh_rsa and KE_ecdh_rsa suites in TLS 1.1 and earlier.
This means that the corresponding deprecated suites will
fail even after protocol version downgrade.

Fixes [LysLysKOM 21032408].

2014-11-03 12:56:34 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Recent changes.

2014-11-03 11:52:44 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use hashmem instead of internal crc32.

2014-11-03 11:34:44 (4 weeks ago) by Chris Angelico <rosuav@gmail.com>

Enhance Process.run() to be able to accept handler functions for stdout/stderr

2014-11-03 11:12:25 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

malloc -> calloc

2014-11-03 11:08:35 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

No longer scratch area. Fixed Pike case.

2014-11-03 09:48:35 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Test cipher-suite driven downgrade.

The full suite is now run when the minimum protocol version
is SSL 3.0 for both client and server, and the maximum
protocol version is the same for client and server.

This allows testing of downgrading to older protocol
versions due to the only common cipher suite being
removed in the common protocol version.

Also shortens "expected" to "exp" in lots of places to get past the
m4 4096 byte limit.
Testsuite: Test cipher-suite driven downgrade.

The full suite is now run when the minimum protocol version
is SSL 3.0 for both client and server, and the maximum
protocol version is the same for client and server.

This allows testing of downgrading to older protocol
versions due to the only common cipher suite being
removed in the common protocol version.

Also shortens "expected" to "exp" in lots of places to get past the
m4 4096 byte limit.

2014-11-03 03:12:48 (4 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support PostgreSQL 9.4 authentication quirks.

2014-11-03 00:42:18 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Changed some malloc to calloc.

Sunday 02 November 2014

2014-11-02 23:11:44 (4 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Further finetuning, fix normal query() race condition, thread safe.

Make the result object threadsafe (e.g. calling fetch_fields() and
fetch_row() simultaneously from multiple threads on the same result
object is supported).

2014-11-02 22:05:48 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed unused function.
CPP isn't applied to the doc extractor.
Show the #require documentation.

2014-11-02 08:44:53 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ServerConnection: Improved protocol fallback.

Some cipher suites have been removed in later versions of TLS.
If the client and server versions both were recent, but had
no common ciphers that weren't removed in the negotiated
version of TLS, the handshake used to fail. Now we instead
try downgrading to older versions of TLS to see if there's
a common implemented suite then.

This fixes one of the common reasons for clients attempting
protocol downgrades on connection failure.

2014-11-02 08:37:41 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ServerConnection: Improved protocol fallback.

Some cipher suites have been removed in later versions of TLS.
If the client and server versions both were recent, but had
no common ciphers that weren't removed in the negotiated
version of TLS, the handshake used to fail. Now we instead
try downgrading to older versions of TLS to see if there's
a common implemented suite then.

This fixes one of the common reasons for clients attempting
protocol downgrades on connection failure.

2014-11-02 00:05:07 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added query_version().

Added function to query the protocol version in use.
SSL.File: Added query_version().

Added function to query the protocol version in use.

Saturday 01 November 2014

2014-11-01 11:39:34 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Optimizer [treeopt]: Support operator call short-hand.

A short-hand notation may now be used to match operator calls.
Eg the following fragment:

F_APPLY(F_CONSTANT[TYPEOF($$->u.sval) == T_FUNCTION]
[SUBTYPEOF($$->u.sval) == FUNCTION_BUILTIN]
[$$->u.sval.u.efun->function == f_ge],
F_ARG_LIST(X, Y))

can now be written as:

F_GE(X, Y)
Optimizer [treeopt]: Cleaned up parser somewhat.
Optimizer [treeopt]: Support operator call short-hand.

A short-hand notation may now be used to match operator calls.
Eg the following fragment:

F_APPLY(F_CONSTANT[TYPEOF($$->u.sval) == T_FUNCTION]
[SUBTYPEOF($$->u.sval) == FUNCTION_BUILTIN]
[$$->u.sval.u.efun->function == f_ge],
F_ARG_LIST(X, Y))

can now be written as:

F_GE(X, Y)

2014-11-01 11:17:19 (4 weeks ago) by Arne Goedeke <el@laramies.com>

Gdbm: typo in error message
Gdbm: fix testsuite

Calling ->create() to open the database after close() is not supported
anymore. Change the testsuite to reflect that.
Gdbm: fix testsuite

Calling ->create() to open the database after close() is not supported
anymore. Change the testsuite to reflect that.
_Roxen.html_encode_string: optimization

Use string range information to skip the encoding step, if possible.
Gdbm: typo in error message

2014-11-01 11:13:58 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Optimizer [treeopt]: Cleaned up parser somewhat.

2014-11-01 03:28:40 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

register is irrelevant for all modern compilers. Removed from non 3rd party source.

Friday 31 October 2014

2014-10-31 18:44:21 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Move to GMP 4.1 (2002-05-23) as requirement. Import is always supported forward.

2014-10-31 18:40:49 (4 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: finetuning, cleanup, improved error response behaviour.

2014-10-31 18:26:11 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use mpz_init2 as identifier or GMP 4.0

2014-10-31 18:20:13 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

mpz_getlimbn works correctly in GMP 4.0 and forward.
mpz_set_si works in GMP 4.0 and forward.

2014-10-31 18:07:53 (4 weeks ago) by Arne Goedeke <el@laramies.com>

_Roxen.http_decode_string: dont leak on error

Move the check for correct hexadecimal sequences into the first loop,
which calculates the length. This prevents the string builder to leak
on error. Also, the length checks for hexadecimal sequences can be
removed from the second loop, as they are already done in the first.

2014-10-31 17:44:31 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Check GMP_NUMB_BITS only once in mpz_glue.

2014-10-31 17:39:58 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

mpz_export exists in GMP 4.0 and forward.

2014-10-31 17:03:54 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

qalloc isn't used.

2014-10-31 16:41:53 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Fixed error message.
Trimmed error messages.
Trimmed error messages.
Removed unused macro.

2014-10-31 16:26:17 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Added check for zxid_cgi.uri_path.
ZXID: Added check for zxid_cgi.uri_path.
ZXID: Added check for zxid_cgi.uri_path.

2014-10-31 15:38:53 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

backzone has been added
backzone has been added

2014-10-31 01:18:59 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Adjust to current _Roxen behavior. We may chose to reverse this later.
Make illegal percent encodings throw exception, as per testsuite.

Thursday 30 October 2014

2014-10-30 16:32:57 (4 weeks ago) by Per Hedbor <ph@opera.com>

Fixed for(i;i<x;i++); crash

The code will no longer generate invalid F_LT/GT etc nodes when asked
to, instead it will generate a function call to the correct efun.

I still do not know why this worked in pike 7.8.

Next step: Make treeopt.in F_LT match CALL(&f_lt,ARGS(...))

(cherry picked from commit 89424bfaa34ee5639b0ab2fedccebec96703ffa8)
Fixed for(i;i<x;i++); crash

The code will no longer generate invalid F_LT/GT etc nodes when asked
to, instead it will generate a function call to the correct efun.

I still do not know why this worked in pike 7.8.

Next step: Make treeopt.in F_LT match CALL(&f_lt,ARGS(...))

2014-10-30 14:44:39 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.22 by export.pike
release number bumped to 8.0.23 by export.pike

2014-10-30 14:36:38 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [win32]: Some compilers (eg cl) don't like __attribute__.
Build [win32]: Some compilers (eg cl) don't like __attribute__.

2014-10-30 13:46:48 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Some more forward compat.

The variable zx_debug was renamed to errmac_debug on 2013-11-13.

The fields wsp_localpdp_obl_req and wsc_localpdp_obl_accept in
struct zxid_conf are no longer strings but arrays.

These changes seem to be sufficient to be able to link against
current libzxid.
ZXID: Some more forward compat.

The variable zx_debug was renamed to errmac_debug on 2013-11-13.

The fields wsp_localpdp_obl_req and wsc_localpdp_obl_accept in
struct zxid_conf are no longer strings but arrays.

These changes seem to be sufficient to be able to link against
current libzxid.

2014-10-30 13:39:58 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Some more forward compat.

The variable zx_debug was renamed to errmac_debug on 2013-11-13.

The fields wsp_localpdp_obl_req and wsc_localpdp_obl_accept in
struct zxid_conf are no longer strings but arrays.

These changes seem to be sufficient to be able to link against
current libzxid.

2014-10-30 03:50:38 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed stray undef.

2014-10-30 03:41:42 (4 weeks ago) by Per Hedbor <ph@opera.com>

gmp.h defines c++ things if compiling with a c++ compiler.

However, pike include files have to be included inside an extern "C".

So, use extern "C++" when including gmp.h from pike includes.

2014-10-30 03:41:13 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Don't include gmp.h directly. Use bignum.h

2014-10-30 03:34:52 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

GMP is required for Pike.

2014-10-30 03:16:03 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Less AUTO_BIGNUM

Wednesday 29 October 2014

2014-10-29 20:27:10 (1 month ago) by Stephen R. van den Berg <srb@cuci.nl>

Sql.pgsql: New and improved full threaded version.

Lower latencies, increased parallelism, theoretical
elimination of all race conditions, simplified code,
uses Stdio.Buffer, no C-helper anymore, less filling.

As a new feature, introduces: send_row(),
fetch_row_array() for increased efficiency,
set_result_callback() and set_result_array_callback()
for event driven database queries.
Stdio.Buffer: Support offset parameter for add_hstring/read_hstring.
Simplify code.
Stdio.Buffer: Support all types for add_hstring.
Simplify code.

2014-10-29 19:54:21 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Inlining is_bignum_object is both faster and smaller.

2014-10-29 19:47:41 (1 month ago) by Martin Nilsson <nilsson@opera.com>

string_from_bignum wasn't used, and just a proxy for digits.

2014-10-29 19:30:47 (1 month ago) by Martin Nilsson <nilsson@opera.com>

push_longest is not better than push_int64. int128 doesn't work, as an example.

2014-10-29 19:19:44 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Move INT64 check into bignum.h for reduce_stack_top_bignum.

2014-10-29 19:01:19 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Remove get_auto_bignum_program

2014-10-29 18:55:47 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Access bignum_program directly.

2014-10-29 18:36:04 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Removed prototypes for removed functions.
Use bignum_program instead of auto_bignum_program.

2014-10-29 18:35:22 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Some support for ZXID 1.19 and later.

Some fields in struct zxid_conf changed names in ZXID 1.19:2013-12-04.
ZXID: Some support for ZXID 1.19 and later.

Some fields in struct zxid_conf changed names in ZXID 1.19:2013-12-04.
ZXID: Some support for ZXID 1.19 and later.

Some fields in struct zxid_conf changed names in ZXID 1.19:2013-12-04.

2014-10-29 17:27:16 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Removed get_auto_bignum_program_or_zero
Removed bignum include.

2014-10-29 17:13:50 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Whitespace changes.
Refactor away the hook_in_gmp_funcs, now that Gmp is a static module.
Clean up the init/exit of auto_bignum_program code.
No need to cleanup auto_bignum_program twice. It's also done in Gmp module, where it is set.
auto_bignum_program is always set when pike code is running.

2014-10-29 16:00:50 (1 month ago) by Martin Karlgren <marty@roxen.com>

Fix bug where the write callback could be dropped if 0 bytes were written.

Conflicts:
lib/modules/Protocols.pmod/HTTP.pmod/Query.pike
Fix bug where the write callback could be dropped if 0 bytes were written.

2014-10-29 15:57:54 (1 month ago) by Martin Karlgren <marty@roxen.com>

Fix bug where the write callback could be dropped if 0 bytes were written.

2014-10-29 15:31:31 (1 month ago) by Per Hedbor <ph@opera.com>

gmp.h defines c++ things if compiling with a c++ compiler.

However, pike include files have to be included inside an extern "C".

So, use extern "C++" when including gmp.h from pike includes.

2014-10-29 15:24:20 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Updated touch syntax. From Magnus Holmgren

2014-10-29 12:35:46 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.21 by export.pike
release number bumped to 8.0.20 by export.pike

2014-10-29 12:26:41 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: More build fixes.

Missed a few spots...
ZXID: More build fixes.

Missed a few spots...

2014-10-29 11:38:50 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.18 by export.pike
release number bumped to 8.0.19 by export.pike

2014-10-29 11:13:41 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

ZXID: Fixed some build issues.

One use of parent_storage() was missed when the API was changed.

Some places where missed when the precompiler started prefixing
symbols with the module name.

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

ZXID: Fixed some build issues.

One use of parent_storage() was missed when the API was changed.

Some places where missed when the precompiler started prefixing
symbols with the module name.

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

release number bumped to 8.0.17 by export.pike
release number bumped to 8.0.16 by export.pike

Tuesday 28 October 2014

2014-10-28 23:28:28 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Improved support for --disable-binary.

Don't attempt to make depend in post_modules when cross-compiling
or --disable-binary, since a fresh pike is needed to generate the
sources there.

Fixes issues with source dists generated with --disable-binary
and an old system pike, where broken files would show up in
the resulting archive and not be regenerated on actual build.

2014-10-28 23:24:39 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Improved support for --disable-binary.

Don't attempt to make depend in post_modules when cross-compiling
or --disable-binary, since a fresh pike is needed to generate the
sources there.

Fixes issues with source dists generated with --disable-binary
and an old system pike, where broken files would show up in
the resulting archive and not be regenerated on actual build.

2014-10-28 20:11:46 (1 month ago) by Per Hedbor <ph@opera.com>

Added minimal argument checking to cast()
Changed cast in Gmp.mpz from private to protected.
Added minimal argument checking to cast()

2014-10-28 20:05:28 (1 month ago) by Per Hedbor <ph@opera.com>

Changed cast in Gmp.mpz from private to protected.

2014-10-28 18:04:44 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.14 by export.pike
release number bumped to 8.0.15 by export.pike

2014-10-28 17:51:21 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fix compilation issues on OSes without dirfd(3C).

Some operating systems (like eg Solaris 10) do not have dirfd(3C).
Fallback to indexing the DIR with dd_fd or d_fd to get the fd.

2014-10-28 17:48:27 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fix compilation issues on OSes without dirfd(3C).

Some operating systems (like eg Solaris 10) do not have dirfd(3C).
Fallback to indexing the DIR with dd_fd or d_fd to get the fd.
Stdio: Fix linking issues with static libgmp.

Linking of Pike failed with "undefined reference to `__gmpz_import'"
when libgmp was a static library (due to the Gmp module being linked
into the pike binary before the _Stdio module).

This fixes the issue by also linking _Stdio with libgmp.

2014-10-28 17:46:21 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Fix linking issues with static libgmp.

Linking of Pike failed with "undefined reference to `__gmpz_import'"
when libgmp was a static library (due to the Gmp module being linked
into the pike binary before the _Stdio module).

This fixes the issue by also linking _Stdio with libgmp.

2014-10-28 16:03:44 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Updated touch syntax. From Magnus Holmgren

2014-10-28 15:07:31 (1 month ago) by Chris Angelico <rosuav@gmail.com>

Hilfe: Reference correct variable name in guard

2014-10-28 14:55:34 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.13 by export.pike
release number bumped to 8.0.12 by export.pike

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

Hilfe: Reference correct variable name in guard

Monday 27 October 2014

2014-10-27 19:13:13 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gdbm: Fixed minor leak on exit.

The Gdbm.Iterator program leaked on exit.
Gdbm: Fixed minor leak on exit.

The Gdbm.Iterator program leaked on exit.

2014-10-27 18:54:08 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.*.features: Fixed some feature checks.

Adds "Crypto.AES.GCM" and "Crypto.ECC.Curve" to Tools.Install.features.

Replaces the check for (the nonexistant) "Crypto.GCM" with "Crypto.AES.GCM"
in Tools.Standalone.features.
Tools.*.features: Fixed some feature checks.

Adds "Crypto.AES.GCM" and "Crypto.ECC.Curve" to Tools.Install.features.

Replaces the check for (the nonexistant) "Crypto.GCM" with "Crypto.AES.GCM"
in Tools.Standalone.features.

2014-10-27 18:05:51 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Remove remnants of aborted (stalled?) SHARED_NODES_MK2 project.

2014-10-27 18:01:26 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Canonical code generation.

2014-10-27 17:53:35 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Abstract the debug a bit, for more readable code.

2014-10-27 01:17:50 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Added simple, failing test.

Sunday 26 October 2014

2014-10-26 19:38:05 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backend: Added some C-level documentation.

All PMOD_EXPORTed functions in the backend should now have some
(minimal) documentation.

2014-10-26 19:31:52 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backend: Added some C-level documentation.

All PMOD_EXPORTed functions in the backend should now have some
(minimal) documentation.

Saturday 25 October 2014

2014-10-25 13:00:58 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backend: Make a few more internal functions static.

This makes several CFRUNLOOP-related functions static.

2014-10-25 12:58:37 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backend: Make a few more internal functions static.

This makes several CFRUNLOOP-related functions static.
Backend: Added some linebreaks.

Also rephrases some fatal errors.
Backend: Added some linebreaks.

Also rephrases some fatal errors.

2014-10-25 11:09:58 (1 month ago) by Arne Goedeke <el@laramies.com>

hash_value: fix hashing of trampolines

Two trampolines are equal if there are the same function and created in
the same scope. This patch makes sure hash_svalue is compatible and
trampolines can now be reliably used as hash keys.

Thanks to Stefan Gluszek <stefang@opera.com> for reporting this issue.
hash_value: fix hashing of trampolines

Two trampolines are equal if there are the same function and created in
the same scope. This patch makes sure hash_svalue is compatible and
trampolines can now be reliably used as hash keys.

Thanks to Stefan Gluszek <stefang@opera.com> for reporting this issue.

Friday 24 October 2014

2014-10-24 17:57:42 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to tzdata2014i.

2014-10-24 17:54:51 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to tzdata2014i.

2014-10-24 17:52:24 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to tzdata2014i.

2014-10-24 14:28:23 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.MAC: Added some function pointer casts to reduce warnings.

Gcc complains about function pointer variables with arguments wanting
void * being assigned with functions wanting specific struct pointers.

Typical example: A pike_nettle_hash_update_func variable being assigned
to umac64_update, which will be complained about because the former has
a void * as the first argument, and the latter a struct umac64_ctx *.

2014-10-24 14:20:37 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.MAC: Added some function pointer casts to reduce warnings.

Gcc complains about function pointer variables with arguments wanting
void * being assigned with functions wanting specific struct pointers.

Typical example: A pike_nettle_hash_update_func variable being assigned
to umac64_update, which will be complained about because the former has
a void * as the first argument, and the latter a struct umac64_ctx *.

2014-10-24 10:55:19 (1 month ago) by Arne Goedeke <el@laramies.com>

Nettle: compat with nettle < 2.7

the second argument of nettle_random_func was changed (along with many
other parameters) to size_t. Use the compat type pike_nettle_size_t.

2014-10-24 08:52:54 (1 month ago) by Arne Goedeke <el@laramies.com>

Nettle: compat with nettle < 2.7

the second argument of nettle_random_func was changed (along with many
other parameters) to size_t. Use the compat type pike_nettle_size_t.

Thursday 23 October 2014

2014-10-23 10:30:50 (1 month ago) by Arne Goedeke <el@laramies.com>

Standards.JSON: fix a ragel file

Commit 623497f223629c11556479c1f49b665a96a7e136 changed json_parser.c
and json_parser.rl inconsistently. I assume the compiled one was
actually tested, so this commit makes sure the .rl file compile into
the same code as before this commit.
Standards.JSON: keep the validation flag in a local variable
Standards.JSON: fix -Wuninitialized warnings

GCC complains about the variables m and a to be used uninitialized.
This is not correct, so we silence the warning.

2014-10-23 10:16:55 (1 month ago) by Arne Goedeke <el@laramies.com>

Standards.JSON: fix -Wuninitialized warnings

GCC complains about the variables m and a to be used uninitialized.
This is not correct, so we silence the warning.
Standards.JSON: fix a ragel file

Commit 623497f223629c11556479c1f49b665a96a7e136 changed json_parser.c
and json_parser.rl inconsistently. I assume the compiled one was
actually tested, so this commit makes sure the .rl file compile into
the same code as before this commit.

2014-10-23 09:56:28 (1 month ago) by Arne Goedeke <el@laramies.com>

Standards.JSON: keep the validation flag in a local variable

2014-10-23 08:59:43 (1 month ago) by Arne Goedeke <el@laramies.com>

Nettle.BlockCipher: make sure block_size is positive
Nettle.BlockCipher: make sure block_size is positive

2014-10-23 08:45:38 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Constants: Minor documentation change.
SSL.Constants: Minor documentation change.

2014-10-23 00:26:20 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fixed warning.

Wednesday 22 October 2014

2014-10-22 18:19:23 (1 month ago) by Arne Goedeke <el@laramies.com>

Fix -Wglobbered warnings.

One of them was actually legitimate.
Fix -Wglobbered warnings.

One of them was actually legitimate.

2014-10-22 17:39:21 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.URI: Reduce DWIM.

Fixes issues with Roxen.
Standards.URI: Reduce DWIM.

Fixes issues with Roxen.

2014-10-22 16:36:31 (1 month ago) by Arne Goedeke <el@laramies.com>

FSEvents: misplaced ifdef
FSEvents: misplaced ifdef

2014-10-22 16:07:08 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Calendar: Added some more doc.
Calendar: Added some more doc.

2014-10-22 15:35:18 (1 month ago) by Per Hedbor <ph@opera.com>

release number bumped to 8.0.11 by export.pike
release number bumped to 8.0.10 by export.pike

2014-10-22 14:25:28 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Added some more Autodoc.

2014-10-22 14:23:00 (1 month ago) by Jonas Wallden <jonasw@roxen.com>

release number bumped to 897 by export.pike
release number bumped to 896 by export.pike

2014-10-22 13:41:33 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Fix "Invalid description".

Some alerts were missing from ALERT_description.

2014-10-22 10:43:07 (1 month ago) by Per Hedbor <ph@opera.com>

Updated char tests
Allow character constants of any size
Bignumns always exists, step 1.

Always include gmp.h, it always exists now.

2014-10-22 10:40:58 (1 month ago) by Per Hedbor <ph@opera.com>

Updated char tests

2014-10-22 10:34:49 (1 month ago) by Per Hedbor <ph@opera.com>

Allow character constants of any size
Bignumns always exists, step 1.

Always include gmp.h, it always exists now.

2014-10-22 10:17:12 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Constants: Make the PROTOCOL_* constants forward compatible.

As these values have a tendency to get stuck in configuration files
and the like, make sure that they are forward-compatible with Pike 8.0.

2014-10-22 10:07:03 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.handshake: Support setting the minimum required version.

The SSL 3.0 protocol can now be disabled by setting min_version in
the context to SSL.Constants.PROTOCOL_TLS_1_0.

Backported API from Pike 8.0. Note that the constants differ
from Pike 8.0 and later, so use the provided symbolic values.

Tuesday 21 October 2014

2014-10-21 15:06:39 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 895 by export.pike
release number bumped to 894 by export.pike

2014-10-21 14:52:46 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Have division by zero constant be compilation error on all platforms and not just amd64.
Limit character constants to four bytes to be 32 bit architecture compatible.
Limit character constants to four bytes to be 32 bit architecture compatible.

2014-10-21 09:12:14 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.DES: Added notes about some temporary leaks.
Nettle.DES: Added notes about some temporary leaks.

2014-10-21 02:35:01 (1 month ago) by Martin Nilsson <nilsson@opera.com>

snprintf is used lower cased in several places. Use snprintf instead of SNPRINTF.

2014-10-21 02:20:59 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Safer STRCASECMP and VSNPRINTF macros.

2014-10-21 01:41:22 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Remove forgotten prototype.
Nothing here depends on stralloc.h

2014-10-21 01:39:18 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Different Nettle libs have very different limits on the different DSA parameters. Attempt harder to provoke illegal parameters.
Different Nettle libs have very different limits on the different DSA parameters. Attempt harder to provoke illegal parameters.

Monday 20 October 2014

2014-10-20 18:59:00 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Always generate compile time error when divide by zero.

2014-10-20 18:43:18 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Adjusted tests for new key size.

2014-10-20 18:40:02 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Adjusted tests for new key size.

2014-10-20 18:36:29 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.DES{,3}: Fixed parity in make_key().

Fixes semi-infinite loop in make_key() (loop on bad parity),
that tended to run out of Pike stack.
Nettle.DES{,3}: Fixed parity in make_key().

Fixes semi-infinite loop in make_key() (loop on bad parity),
that tended to run out of Pike stack.

2014-10-20 18:17:29 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Allow for even lower precision in the test.
Allow for even lower precision in the test.

2014-10-20 18:11:53 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Adjustable precision.

2014-10-20 18:09:28 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Adjustable precision.

2014-10-20 18:00:43 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix for systems without ECC.
Fix for systems without ECC.

2014-10-20 17:49:15 (1 month ago) by Per Hedbor <ph@opera.com>

Survive if Stdio.Buffer is compiled with an old precompile

This removes some of the tests if the compilation is done using a
precompile.pike that lacks support for mapping sub-struct members to
pike variables.

Or, as the tests were done previously, if the new precompiler was run
using a pike that lacks support for prefix-cpp mode.
Added explicit defines for some precompile features
Use the feature flag instead of api_version.

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

GTK2: gtk_scale_{add_mark,clear_marks}() were added in GTK 2.16.

Fixes linking issues with old gtk.
GTK2: gtk_scale_{add_mark,clear_marks}() were added in GTK 2.16.

Fixes linking issues with old gtk.

2014-10-20 17:34:45 (1 month ago) by Per Hedbor <ph@opera.com>

Fixed the name of the rewind_on_error and rewind_key functions

2014-10-20 17:29:58 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Oracle: Updated to the new parent_storage() API.
Oracle: Updated to the new parent_storage() API.

2014-10-20 17:27:48 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Oracle: Removed fallback code for Pike 7.1.
Oracle: Removed fallback code for Pike 7.1.

2014-10-20 17:11:39 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Survive some missing hashes and ciphers.
When assignment runs code you'll get weird bugs like this.
Nettle 2.0 have 489 bits as minimum key size.
Survive some missing hashes and ciphers.
When assignment runs code you'll get weird bugs like this.

2014-10-20 17:09:18 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

smartlink [sh]: Support Linux kernel 3 and later...
smartlink [sh]: Support Linux kernel 3 and later...

2014-10-20 16:55:57 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Nettle 2.0 have 489 bits as minimum key size.

2014-10-20 16:45:24 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix for systems without ECC
Fix for systems without SHA384 or SHA512
Fix for systems without ECC

2014-10-20 16:30:30 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix for systems without ECC
Fix for systems without SHA384 or SHA512
Fix for systems without ECC

2014-10-20 15:25:48 (1 month ago) by Martin Nilsson <nilsson@opera.com>

No need for hashprimes in stralloc.
count_bits doesn't exists.

2014-10-20 14:51:50 (1 month ago) by Per Hedbor <ph@opera.com>

release number bumped to 8.0.9 by export.pike
release number bumped to 8.0.8 by export.pike

2014-10-20 14:34:57 (1 month ago) by Martin Nilsson <nilsson@opera.com>

sqrt is C89 and 5x faster than my_sqrt.

2014-10-20 14:14:12 (1 month ago) by Per Hedbor <ph@opera.com>

Fixed the libsane configure test

(cherry picked from commit 5c5a796b72d295280d571f74ca58a2b0f2f839ef)
Fixed the libsane configure test

2014-10-20 13:48:48 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Use Math.log2

2014-10-20 13:48:48 (1 month ago) by Arne Goedeke <el@laramies.com>

Testsuite: test object _sprintf handling in sprintf()
Testsuite: test object _sprintf handling in sprintf()

2014-10-20 13:34:24 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Added Crypto.Random changes.

2014-10-20 13:29:12 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Mostly word wrapping.

2014-10-20 13:15:38 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Grammar
Backports

2014-10-20 01:59:53 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Added doxygen files to export list.

[permalink]

Bugs mentioned

  2002RESOLVEDInstallation fails on Redhat 7.1 box
  2712ASSIGNEDDBMANAGER: mysql 'use db' polutes cache
  5469NEWSNMP instrumentation for call_out()
  7364RESOLVEDCompat resolver can't handle module.pmod
  7366RESOLVEDCompilation deadlock
  896RESOLVEDAutobuild does not detect checkins.
  897ASSIGNEDinternal-docs not accessible from outside the Roxen network
  898RESOLVEDAccessing shadowed members of parent scope
  899RESOLVEDSimple XSL Transform barfs
  901RESOLVEDThe CVS browser lower-cases some filenames
  902RESOLVEDspider.XML dumps core
  903RESOLVEDPHP-4.0.5-dev gives "Internal server error".
  904RESOLVEDstealth_check_mapping_for_destruct can fail in the gc
  906RESOLVED<gtext> (with true type fonts)breaks if there is a line break in the container
  907RESOLVEDCalendar.Namedays does not compile
  908RESOLVEDcomment field has wrap=hard
  909RESOLVEDEmpty $referer in log does not set '-'.
Bugs? Suggestions?