Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 1 checkin (+3/-2) by Martin Nilsson <nilsson@opera.com> : 19 checkins (+309/-88) by 3 people : 27 checkins (+168/-677) by 2 people : 21 checkins (+158/-58) by 2 people : 54 checkins (+3317/-462) by 2 people : 31 checkins (+370/-245) by 3 people : 5 checkins (+186/-77) by 2 people : 8 checkins (+31/-15) by 2 people : 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 : 6 checkins (+114/-170) by Stephen R. van den Berg <srb@cuci.nl> Lines added/removed recently

Today; Saturday 22 November 2014

2014-11-22 03:19:51 (8 hours 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 (8 hours 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.

Yesterday; Friday 21 November 2014

2014-11-21 21:09:16 (14 hours 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 (16 hours ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: reconnect robustness improved.

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

pgsql: reconnect robustness improved.

2014-11-21 16:08:37 (19 hours 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 (21 hours ago) by Martin Nilsson <nilsson@opera.com>

Stdio.Buffer instead of ADT.struct

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

Changed a few ADT.struct to Stdio.Buffer

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

Test for 8.0::ADT.struct

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

Sort zone order.

Thursday 20 November 2014

2014-11-20 23:23:05 (1 day 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 day ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Only assign _portalname once, small regressionfix.

2014-11-20 17:28:08 (2 days 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 (2 days ago) by Martin Nilsson <nilsson@opera.com>

Added the aliases from RFC 5469.

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

Even better looking.

2014-11-20 15:38:01 (2 days 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 (2 days ago) by Martin Nilsson <nilsson@opera.com>

Work around a compat resolver bug.

2014-11-20 13:22:04 (2 days 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 (2 days 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 (2 days 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 (2 days 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 (2 days ago) by Stephen R. van den Berg <srb@cuci.nl>

Update CHANGES.

2014-11-20 10:03:12 (2 days 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 (2 days ago) by Chris Angelico <rosuav@gmail.com>

Fix typo in pgsql's _processloop

2014-11-20 09:14:42 (2 days 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 (2 days 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 (2 days 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 (2 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Pull two Stdio.Buffers apart.

2014-11-20 00:20:01 (2 days 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 (3 days ago) by Anders Johansson <anders@roxen.com>

Build: Support Bison 3.

2014-11-19 17:34:02 (3 days 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 (3 days 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 (3 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Be less destructive, signal then clear instead.

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

pgsql: Be less destructive, signal then clear instead.

2014-11-19 00:27:26 (3 days 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 (3 days 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 (3 days 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 (3 days 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 (4 days 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 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate parsing race for very fast servers.

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

pgsql: Improve debugging output.

2014-11-18 17:59:18 (4 days 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 (4 days 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 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Show filedescriptor in %O.

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

pgsql: Show filedescriptor in %O.

2014-11-18 13:01:21 (4 days 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 (4 days 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 (4 days ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move method closer to the data.

2014-11-18 01:23:53 (4 days 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 (4 days 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 (4 days 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 (5 days 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 (5 days 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 (5 days 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 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

precompile: Added some newlines in the generated code.

2014-11-17 16:50:05 (5 days 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 (5 days 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 (5 days 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 (5 days 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 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2014-11-17 06:36:12 (5 days 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 (5 days 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 (5 days ago) by Stephen R. van den Berg <srb@cuci.nl>

Reinstate legacy XML parsing modes until further notice.

2014-11-17 02:05:21 (5 days 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 (6 days ago) by Arne Goedeke <el@laramies.com>

ADT.Bloom.SValue: corrected comment

2014-11-16 22:17:48 (6 days 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 (6 days ago) by Arne Goedeke <el@laramies.com>

ADT.Bloom.Simple: use byte order independent hashing

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

add popcount32 and popcount64
siphash: make key and return value INT64
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.

2014-11-16 13:37:44 (6 days 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 (6 days 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 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed some warnings in CritBit.

2014-11-16 13:03:00 (6 days 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 (6 days 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 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Manual: Updated the compatibility chapter.

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

Manual: Updated the compatibility chapter.

2014-11-16 00:13:06 (6 days 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 (6 days ago) by Martin Nilsson <nilsson@opera.com>

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

Saturday 15 November 2014

2014-11-15 23:21:00 (6 days 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 (7 days 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 (7 days 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 (7 days 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 (7 days ago) by Stephen R. van den Berg <srb@cuci.nl>

Fix Stdio.File compat code.

2014-11-15 11:55:35 (7 days 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 (7 days 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 (7 days 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 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

Internal types only: enum -> macros.

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

Internal types only: enum -> macros.

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

Compile fix. I don't have GSSAPI

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

Some additional cleanup. Mostly renaming things.

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

ADT.struct -> Stdio.Buffer

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

Update docs.
Update docs.

2014-11-15 01:59:42 (1 week 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 (1 week 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 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cosmetics.

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

pgsql: Cosmetics.

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

pgsql: Release all locks early upon error.

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

pgsql: Release all locks early upon error.

2014-11-14 10:39:51 (1 week 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 (1 week 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 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve backtrace clarity of PGassist.

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

pgsql: Improve backtrace clarity of PGassist.

2014-11-14 00:34:53 (1 week 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 (1 week 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 (1 week 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 (1 week 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 (1 week 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 (1 week 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 (1 week 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: 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.

2014-11-13 13:50:51 (1 week 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 (1 week 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 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process.spawn_pike: Added launcher argument.

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

Process.spawn_pike: Added launcher argument.

2014-11-13 11:10:55 (1 week 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 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reset prepared statement numbering upon cache invalidation.

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

pgsql: Reset prepared statement numbering upon cache invalidation.

2014-11-13 09:58:44 (1 week 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 (1 week 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 (1 week ago) by Martin Nilsson <nilsson@opera.com>

backzone has been added

2014-11-13 00:44:31 (1 week 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 (1 week 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 (1 week 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 (1 week ago) by Martin Nilsson <nilsson@opera.com>

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

2014-11-12 20:46:18 (1 week 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 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2014-11-12 16:19:06 (1 week 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 (1 week 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 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

protected -> private where it makes sense.

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

protected -> private where it makes sense.

2014-11-12 11:28:31 (1 week 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 (1 week 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 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

English grammar fix.
English grammar fix.

2014-11-12 10:39:41 (1 week 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 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

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.
Fix formatcheck to accomodate for the optional 2nd argument.
Elaborate error message about NULs in the string.

2014-11-11 21:19:03 (2 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 (2 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 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Hide GSSAPI when it isn't working.

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

Add documentation about the custom backend.

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

Add documentation about the custom backend.

2014-11-10 18:50:40 (2 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 (2 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 (2 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 (2 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 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Doc fixes.

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

Doc fixes.

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

Fix docs.
Fix docs.

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

Fix code to match docs.

2014-11-10 13:08:44 (2 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 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: #require required.

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

pgsql: #require Thread.Thread.

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

pgsql: #require Thread.Thread.

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

ins_short isn't used.

2014-11-10 10:50:33 (2 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 (2 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 (2 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

Stricter types.
Stricter types.

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

pgsql: Updated CHANGES.

Sunday 09 November 2014

2014-11-09 23:10:01 (2 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: Support Val.null.
pgsql: Missed a spot where a portal could be undefined.
pgsql.resync interface fixed.

2014-11-09 23:05:09 (2 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.
pgsql: finetuning, cleanup, improved error response behaviour.
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).
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: Support PostgreSQL 9.4 authentication quirks.
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.

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

Build: Fixed warning about setjmp clobbering yyerrstatus.

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

Build: Fixed warning about setjmp clobbering yyerrstatus.

2014-11-09 00:13:19 (2 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 (2 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 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2014-11-08 12:00:56 (2 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 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2014-11-07 16:28:44 (2 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 (2 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 (2 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 (2 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 (2 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 (2 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 (2 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 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Fixed warnings.

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

Added some consts.

Wednesday 05 November 2014

2014-11-05 22:10:46 (2 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 (2 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 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Code reuse

2014-11-05 18:42:40 (2 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 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Address some warnings.
Address some warnings.

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

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

2014-11-05 16:27:38 (2 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 (2 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 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Robustness against compat without default module.

2014-11-04 17:47:59 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Use non-deprecated APIs

2014-11-04 17:20:40 (3 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 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2014-11-04 16:13:29 (3 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 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

push_integer() -> push_int().

2014-11-04 16:07:45 (3 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 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

push_integer() -> push_int().

2014-11-04 15:50:05 (3 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 (3 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 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved deprecated methods to compat.

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

Moved deprecated methods to compat.

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

Moved deprecated methods to compat.

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

Moved deprecated methods to compat.

2014-11-04 14:37:42 (3 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 (3 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 (3 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 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed deprecation markers.
Moved deprecated methods to compat.

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

Moved deprecated methods to compat.

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

Moved deprecated modules to compat.

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

Use error instead of local macro.

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

Moved deprecated methods to compat.
Removed deprecation markers.

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

Moved deprecated methods to compat.

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

Moved deprecated methods to compat.

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

Moved deprecated methods to compat.

2014-11-03 18:49:18 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed deprecation markers.
Moved deprecated methods to compat.

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

Moved deprecated methods to compat.

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

Removed deprecation markers.
Moved deprecated methods to compat.

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

Use the new PEM methods.

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

Added some convenience methods.

2014-11-03 15:35:18 (3 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 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Don't spam the console with random data.

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

Don't spam the console with random data.

2014-11-03 13:53:39 (3 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 (3 weeks ago) by Per Hedbor <ph@opera.com>

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

2014-11-03 13:31:23 (3 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 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Recent changes.

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

Use hashmem instead of internal crc32.

2014-11-03 11:34:44 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

malloc -> calloc

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

No longer scratch area. Fixed Pike case.

2014-11-03 09:48:35 (3 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 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support PostgreSQL 9.4 authentication quirks.

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

Changed some malloc to calloc.

Sunday 02 November 2014

2014-11-02 23:11:44 (3 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 (3 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 (3 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 (3 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 (3 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 (3 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 (3 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.
_Roxen.html_encode_string: optimization

Use string range information to skip the encoding step, if possible.
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.

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

Optimizer [treeopt]: Cleaned up parser somewhat.

2014-11-01 03:28:40 (3 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 (3 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 (3 weeks ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: finetuning, cleanup, improved error response behaviour.

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

Use mpz_init2 as identifier or GMP 4.0

2014-10-31 18:20:13 (3 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 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Check GMP_NUMB_BITS only once in mpz_glue.

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

mpz_export exists in GMP 4.0 and forward.

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

qalloc isn't used.

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

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

2014-10-31 16:26:17 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

backzone has been added
backzone has been added

2014-10-31 01:18:59 (3 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 (3 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 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2014-10-30 14:36:38 (3 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 (3 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 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed stray undef.

2014-10-30 03:41:42 (3 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

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

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

GMP is required for Pike.

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

Less AUTO_BIGNUM

Wednesday 29 October 2014

2014-10-29 20:27:10 (3 weeks 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.
Simplify code.
Stdio.Buffer: Support offset parameter for add_hstring/read_hstring.
Stdio.Buffer: Support all types for add_hstring.
Simplify code.

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

Inlining is_bignum_object is both faster and smaller.

2014-10-29 19:47:41 (3 weeks 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 (3 weeks 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Move INT64 check into bignum.h for reduce_stack_top_bignum.

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

Remove get_auto_bignum_program

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

Access bignum_program directly.

2014-10-29 18:36:04 (3 weeks 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 (3 weeks 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 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed get_auto_bignum_program_or_zero
Removed bignum include.

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

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

2014-10-29 16:00:50 (3 weeks 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 (3 weeks 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 (3 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-29 15:24:20 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Updated touch syntax. From Magnus Holmgren

2014-10-29 12:35:46 (3 weeks 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 (3 weeks 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 (3 weeks 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 (3 weeks 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 (3 weeks 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 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

Tuesday 28 October 2014

2014-10-28 23:28:28 (3 weeks 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 (3 weeks 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 (4 weeks 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 (4 weeks ago) by Per Hedbor <ph@opera.com>

Changed cast in Gmp.mpz from private to protected.

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

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

2014-10-28 17:51:21 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Updated touch syntax. From Magnus Holmgren

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

Hilfe: Reference correct variable name in guard

2014-10-28 14:55:34 (4 weeks 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 (4 weeks ago) by Chris Angelico <rosuav@gmail.com>

Hilfe: Reference correct variable name in guard

Monday 27 October 2014

2014-10-27 19:13:13 (4 weeks 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 (4 weeks 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 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Remove remnants of aborted (stalled?) SHARED_NODES_MK2 project.

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

Canonical code generation.

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

Abstract the debug a bit, for more readable code.

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

Added simple, failing test.

Sunday 26 October 2014

2014-10-26 19:38:05 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to tzdata2014i.

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

Updated to tzdata2014i.

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

Updated to tzdata2014i.

2014-10-24 14:28:23 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks 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 (4 weeks 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.
Standards.JSON: keep the validation flag in a local variable

2014-10-23 10:16:55 (4 weeks 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 (4 weeks ago) by Arne Goedeke <el@laramies.com>

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

2014-10-23 08:59:43 (4 weeks 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 (4 weeks 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.10 by export.pike
release number bumped to 8.0.11 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>

Use the feature flag instead of api_version.
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

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 Arne Goedeke <el@laramies.com>

Testsuite: test object _sprintf handling in sprintf()

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

Use Math.log2

2014-10-20 13:48:10 (1 month ago) by Arne Goedeke <el@laramies.com>

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.

Sunday 19 October 2014

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

Updated the source export dependencies.
--wihtout-bignums/--without-gmp isn't possible.
Whitespace changes.

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

Stdio.Fd: Fixed minor race in write().

There were some (uncommon) cases where the backend poll flags
weren't reset after a successful write.

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

Stdio.Fd: Fixed minor race in write().

There were some (uncommon) cases where the backend poll flags
weren't reset after a successful write.

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

Stdio.Buffer: Fixed some documentation typos.
Stdio.Buffer: Fixed some documentation typos.

Saturday 18 October 2014

2014-10-18 23:25:30 (1 month ago) by Chris Angelico <rosuav@gmail.com>

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

2014-10-18 22:48:22 (1 month ago) by Chris Angelico <rosuav@gmail.com>

GTK2: Implement TreeView()->set_model()

Thanks to Pawel Tomak for the patch.

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

Doc: Added some Doxygen markup for C-level APIs.

2014-10-18 08:41:36 (1 month ago) by Chris Angelico <rosuav@gmail.com>

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

2014-10-18 08:32:48 (1 month ago) by Chris Angelico <rosuav@gmail.com>

Fix docs typos in Process.run()

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

sprintf: fix last argument handling with _sprintf lfuns

Since I broke this in 7fdf942f6b5344b7d52c141441913f283661006a, sprintf
did not properly keep track of the last argument when calling _sprintf
lfuns.
sprintf: fix last argument handling with _sprintf lfuns

Since I broke this in 7fdf942f6b5344b7d52c141441913f283661006a, sprintf
did not properly keep track of the last argument when calling _sprintf
lfuns.

Friday 17 October 2014

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

Tools.Standalone.autodoc_to_html: Improved robustness.

Fixed NULL-deref in output_from_type().
Tools.Standalone.autodoc_to_html: Improved robustness.

Fixed NULL-deref in output_from_type().

2014-10-17 20:40:45 (1 month ago) by Arne Goedeke <el@laramies.com>

String.Buffer: completed the removal of addat
String.Buffer: completed the removal of addat

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

Tools.Standalone.git_export_autodoc: Improved robustness.
Tools.Standalone.git_export_autodoc: Improved robustness.

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

Stdio.Buffer: Use the correct macro...

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

Build: Fixed some typos in pervious commit.
Build: Fixed some typos in pervious commit.

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

Build: SOL_TCP is called IPPROTO_TCP in Solaris.

Fixes compilation issues on Solaris 11.
Build: SOL_TCP is called IPPROTO_TCP in Solaris.

Fixes compilation issues on Solaris 11.

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

Tools.Standalone.git_export_autodoc: Speed up repeated runs.

Persisting of the export state for commits lacking documentation was
lost in the non-doc detection commit. This caused some commits lacking
documentation to be reprocessed every run of the extractor, and slowed
down such runs from completing in a few seconds to taking ~ an hour.
Tools.Standalone.git_export_autodoc: Speed up repeated runs.

Persisting of the export state for commits lacking documentation was
lost in the non-doc detection commit. This caused some commits lacking
documentation to be reprocessed every run of the extractor, and slowed
down such runs from completing in a few seconds to taking ~ an hour.

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

SSL: Added some notes about destroy().
SSL: Added some notes about destroy().

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

_Roxen: Fixed buffer overrun in http_decode_string().

Also increases the strictness of a few related testsuite tests.

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

_Roxen: Fixed buffer overrun in http_decode_string().

Also increases the strictness of a few related testsuite tests.

2014-10-17 09:32:52 (1 month ago) by Jonas Wallden <jonasw@roxen.com>

release number bumped to 892 by export.pike
release number bumped to 893 by export.pike

Thursday 16 October 2014

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

Calendar: Added some further tzdata files.

The tzdata directory should now be fully in sync with the tzdata2014h dist.
Calendar: Added some further tzdata files.

The tzdata directory should now be fully in sync with the tzdata2014h dist.

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

Updated to tzdata2014h.

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

Calendar.mkrules: Added some more files to ignore.

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

Updated to tzdata2014h.
Calendar.mkrules: Added some more files to ignore.
Updated to tzdata2014h.

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

Calendar.mkrules: Added some more files to ignore.

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

decode_value: fix memory leak in PIKE_DEBUG

free_decode_data() might throw errors in PIKE_DEBUG with
!free_after_error, so keep the error handler around to prevent decode
data from leaking.

This is currently triggered when decoding SSL.State and SSL.Session.

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

typo in testsuite comment

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

_Roxen.http_decode_string: do not overflow

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

Image.PNG: Fixed leak of arrays in __decode().
Image.PNG: Minor change.

Use the proper SET_SVALUE_ macro instead of accessing the fields directly.
Image.PNG: Fixed leak of arrays in __decode().

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

Image.PNG: Fixed leak of arrays in __decode().

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

Stdio.File: Fixed autodoc markup error.

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

Stdio.File: Fixed autodoc markup error.

Wednesday 15 October 2014

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

Testsuite: SSL 3.0 doesn't support ECC...
SSL.Session: Survive the client asking for ECC without curves.
SSL.ClientConnection: Don't send extensions in SSL 3.0.

SSL 3.0 doesn't have the concept of protocol extensions,
so don't send any.

In the ServerConnection case, we assume that a client
that has sent extensions will accept extensions regardless
of the negotiated protocol version.
Testsuite: SSL 3.0 doesn't support ECC...

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

SSL.Session: Survive the client asking for ECC without curves.

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

SSL.ClientConnection: Don't send extensions in SSL 3.0.

SSL 3.0 doesn't have the concept of protocol extensions,
so don't send any.

In the ServerConnection case, we assume that a client
that has sent extensions will accept extensions regardless
of the negotiated protocol version.

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

Removed a few GMP tests.
Some backports from 8.1

2014-10-15 17:55:30 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Removed a few GMP tests.

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

Ignore generated file wnotify_config.h.in.
Ignore generated file wnotify_config.h.in.

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

SSL: Support TLS_fallback_scsv in SSLv2 handshake too.

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

SSL: Added server-side support for TLS_fallback_scsv.

This implements some protection against TLS 1.0 ==> SSL 3.0
downgrade attacks. cf "This POODLE Bites: Exploiting The
SSL 3.0 Fallback": https://www.openssl.org/~bodo/ssl-poodle.pdf

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

SSL.File: Fix several issues in destroy().

destroy() still had several workarounds for the old backend approach
(with update_internal_state() et al), when attempting to close the
connection. Remove the workarounds and update the code to the new
backend approach.

Fixes issue with destroy() hanging in the local backend/throwing errors
due to non-existant local backend.

Also fixes a "Cannot access variables in destructed object." when
a read_callback destructs the SSL.File object.

Thanks to Tobias S. Josefowitz <tobij@tobij.de> for the report.

Fixes [LysLysKOM 21005505].

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

SSL.File: Fix several issues in destroy().

destroy() still had several workarounds for the old backend approach
(with update_internal_state() et al), when attempting to close the
connection. Remove the workarounds and update the code to the new
backend approach.

Fixes issue with destroy() hanging in the local backend/throwing errors
due to non-existant local backend.

Also fixes a "Cannot access variables in destructed object." when
a read_callback destructs the SSL.File object.

Thanks to Tobias S. Josefowitz <tobij@tobij.de> for the report.

Fixes [LysLysKOM 21005505].

Tuesday 14 October 2014

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

The PRIME_LIMIT is assumed to be 1024 in other parts of the code. Make it constant.

2014-10-14 18:13:28 (1 month ago) by Martin Nilsson <nilsson@opera.com>

UX improvements.

2014-10-14 18:09:00 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Require GMP 4.0 or newer to be installed.

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

SSL.File: Propagate fatal alerts to close and write callbacks.

SSL did not call the close_callback on SSL.File()s that connect outgoing
and abort the handshake by sending fatal alerts to the server.

Fatal alerts generated locally (ie due to broken data from peer)
are now signalled on the close and write callbacks with errno set
to ECONNABORTED and fatal alerts received from the peer have errno
set to ECONNRESET.

Thanks to Tobias S. Josefowitz <tobij@tobij.de> for the report.

Tentative fix for [LysLysKOM 21005266].
SSL.File: Propagate fatal alerts to close and write callbacks.

SSL did not call the close_callback on SSL.File()s that connect outgoing
and abort the handshake by sending fatal alerts to the server.

Fatal alerts generated locally (ie due to broken data from peer)
are now signalled on the close and write callbacks with errno set
to ECONNABORTED and fatal alerts received from the peer have errno
set to ECONNRESET.

Thanks to Tobias S. Josefowitz <tobij@tobij.de> for the report.

Tentative fix for [LysLysKOM 21005266].

2014-10-14 16:38:00 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Some bugfixes and optimizations of small_factor().

2014-10-14 16:32:08 (1 month ago) by Martin Nilsson <nilsson@opera.com>

p is always larger than 2. Don't add 1.

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

Removed support for non-fPic-compiled libgcc on 1997-era Solaris.

2014-10-14 13:48:39 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Make TLS 1.0 loweset default TLS in Pike 8.0 too.

2014-10-14 13:11:37 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Document rsa_unpad return value.

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

SSL.State: The AEAD length field is gone in TLS 1.3.

Monday 13 October 2014

2014-10-13 18:02:42 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Some trivial TLS 1.3 changes.

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

ADT.struct: Added missing deprecated symbols buffer and index.
ADT.struct: Added missing deprecated symbols buffer and index.

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

TLS 1.3 renames NamedCurve into NamedGroup
Simple tests of DH groups.

2014-10-13 12:34:02 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Updated rsa_unpad doc.

2014-10-13 12:21:08 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Removed sscanf flags tendrils.

2014-10-13 11:52:59 (1 month ago) by Jonas Wallden <jonasw@roxen.com>

release number bumped to 890 by export.pike
release number bumped to 891 by export.pike

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

Put the default lower version at TLS 1.0. IE users on pre XP need to upgrade.

[permalink]

Bugs mentioned

  1024RESOLVEDInitial variables broken
  1997RESOLVEDString.pmod.o:-: Warning: Decode failed:
  2002RESOLVEDInstallation fails on Redhat 7.1 box
  2712ASSIGNEDDBMANAGER: mysql 'use db' polutes cache
  5469NEWSNMP instrumentation for call_out()
  890RESOLVEDAdmin manual lacks description of module level security
  891RESOLVEDWrapped lines.
  892RESOLVEDCreator manual lacks alpha sorted tag index
  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
Bugs? Suggestions?