Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 17 checkins (+889/-859) by 2 people : 37 checkins (+912/-675) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 40 checkins (+247/-380) by 2 people : 14 checkins (+149/-136) by 2 people : 15 checkins (+164/-198) by 2 people : 23 checkins (+291/-305) by 2 people : 15 checkins (+290/-102) by 3 people : 18 checkins (+112/-75) by 2 people : 16 checkins (+101/-44) by 2 people : 15 checkins (+184/-121) by 5 people : 17 checkins (+187/-577) by 2 people : 4 checkins (+27/-19) by 2 people : 11 checkins (+92/-142) by 2 people : 20 checkins (+750/-694) by 3 people : 28 checkins (+413/-137) by 2 people : 33 checkins (+287/-241) by 2 people : 19 checkins (+350/-238) by 2 people : 3 checkins (+17/-9) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 3 checkins (+18/-15) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 12 checkins (+209/-16) by 2 people : 6 checkins (+33/-15) by 2 people : 5 checkins (+11/-8) by 2 people : 9 checkins (+53/-58) by 4 people : 4 checkins (+19/-15) by 2 people : 1 checkin (+38/-44) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 4 checkins (+12/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 8 checkins (+36/-10) by 2 people : 6 checkins (+14/-8) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+3/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 5 checkins (+47/-10) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 15 checkins (+99/-24) by 2 people : 21 checkins (+195/-73) by 3 people : 2 checkins (+30/-33) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 4 checkins (+88/-36) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 17 checkins (+137/-176) by 2 people : 4 checkins (+26/-3) by 2 people : 20 checkins (+96/-60) by 2 people : 9 checkins (+77/-17) by 2 people : 5 checkins (+26/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+37/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> Lines added/removed recently

Yesterday; Sunday 24 May 2015

2015-05-24 20:41:15 (4 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.DNS: Added some constants from the DNSSEC RFCs.

2015-05-24 00:38:50 (1 day ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [sparc]: Added kludge to fix the code-generator for sparc.

Some of the branch opcodes were broken on sparc when PIKE_DEBUG
wasn't active. This is a temporary workaround.

Saturday 23 May 2015

2015-05-23 13:25:17 (1 day ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Enabled some debug for a specific host.

For some reason it seems the watchdog doesn't like this test
when run from Xenofarm, so let's add some code to see just
how far it comes.

Friday 22 May 2015

2015-05-22 19:27:48 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.AVS: Protect against buffer overruns. Fixes [CID 1294667].

2015-05-22 19:12:59 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.DSI: Protect against buffer overruns. Fixes [CID 1294668].

2015-05-22 15:40:26 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure: Attempt to support non-POSIX file(1).

Some implementations of file(1) default to not following symbolic links,
and just say that the file is a symbolic link. This is usually not what
we want (or expect), so detect the broken behaviour and attempt to work
around it.

Fixes lost -R directives on Solaris 8 and BSD file 4.07.
Configure: Attempt to support non-POSIX file(1).

Some implementations of file(1) default to not following symbolic links,
and just say that the file is a symbolic link. This is usually not what
we want (or expect), so detect the broken behaviour and attempt to work
around it.

Fixes lost -R directives on Solaris 8 and BSD file 4.07.

2015-05-22 14:58:10 (2 days ago) by Martin Nilsson <nilsson@opera.com>

Address CID 742721 and 742722 by using the ugly strncat instead of the ugly strcat.

2015-05-22 11:25:17 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.AutoDoc.PikeParser: Support the version scope syntax.

The syntax

7.8::Crypto.RSA rsa = 7.8::Crypto.RSA();

is valid and useful, so make sure that the AutoDoc parser understands it.

Fixes [LysLysKOM 21309217].

Thanks to Per Cederqvist <cederp@opera.com> for the report.

2015-05-22 11:20:18 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.AutoDoc.PikeParser: Support the version scope syntax.

The syntax

7.8::Crypto.RSA rsa = 7.8::Crypto.RSA();

is valid and useful, so make sure that the AutoDoc parser understands it.

Fixes [LysLysKOM 21309217].

Thanks to Per Cederqvist <cederp@opera.com> for the report.

Thursday 21 May 2015

2015-05-21 19:30:57 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [NT]: Removed some remnants of the security system.
Build: Fixed compilation error on systems without readdir_r(2).

2015-05-21 19:27:08 (3 days ago) by Tobias S. Josefowitz <tobij@tobij.de>

f_zero_type: cleanup
f_zero_type: cleanup

2015-05-21 19:23:53 (3 days ago) by Tobias S. Josefowitz <tobij@tobij.de>

destructedp, zero_type: detect trampolines referencing destructed objects

2015-05-21 19:20:40 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [NT]: Improved portability somewhat.

Some compilers (cl) don't like preprocessor directives in macro arguments.

2015-05-21 19:18:33 (3 days ago) by Tobias S. Josefowitz <tobij@tobij.de>

destructedp, zero_type: detect trampolines referencing destructed objects
destructedp, zero_type: detect trampolines referencing destructed objects

2015-05-21 18:47:36 (3 days ago) by Tobias S. Josefowitz <tobij@tobij.de>

IS_DESTRUCTED(): fix brackets.

Sorry about that.
IS_DESTRUCTED(): fix brackets.

Sorry about that.
IS_DESTRUCTED(): fix brackets.

Sorry about that.

2015-05-21 18:25:51 (3 days ago) by Tobias S. Josefowitz <tobij@tobij.de>

IS_DESTRUCTED(): only detect LFUN_CALL as destructed in trampolines
IS_DESTRUCTED(): only detect LFUN_CALL as destructed in trampolines

2015-05-21 18:22:16 (3 days ago) by Tobias S. Josefowitz <tobij@tobij.de>

IS_DESTRUCTED(): only detect LFUN_CALL as destructed in trampolines

2015-05-21 17:32:41 (3 days ago) by Tobias S. Josefowitz <tobij@tobij.de>

IS_DESTRUCTED(): detect trampolines in destructed objects
IS_DESTRUCTED(): detect trampolines in destructed objects

2015-05-21 17:29:35 (3 days ago) by Tobias S. Josefowitz <tobij@tobij.de>

IS_DESTRUCTED(): detect trampolines in destructed objects

Wednesday 20 May 2015

2015-05-20 23:07:02 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Export: Update the configure scripts on export.

The export targets only required the main configure script to exist;
it didn't need to be up to date... This broke incremental exports
where the bundled configure scripts got increasingly stale.

2015-05-20 19:31:27 (4 days ago) by Per Hedbor <ph@opera.com>

SSL.Constants.CertificatePair: Be rather permissive.

Allow the certificates to be specified in the reverse order.

This is the order stunnel wants, and out of six different .der files
from three different authorities three are reversed to begin with.

So, I think it makes sense to just reverse the order when needed.
SSL.Constants.CertificatePair: Be rather permissive.

Allow the certificates to be specified in the reverse order.

This is the order stunnel wants, and out of six different .der files
from three different authorities three are reversed to begin with.

So, I think it makes sense to just reverse the order when needed.

2015-05-20 19:14:34 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure: Make sure that the same ABI is selected in the modules.

Quite a few configuration settings used to be propagated via
the configure cache, and this seems to have been one of them.

Potential fix for building on Solaris 10/sun4u.

Tuesday 19 May 2015

2015-05-19 22:56:30 (5 days ago) by Martin Nilsson <nilsson@opera.com>

do_deflate dosn't need nor use args.

2015-05-19 22:52:28 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Simplified use of unary &

2015-05-19 22:48:11 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Simnplified dynamic buffer management.

2015-05-19 21:42:01 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Trimmed add_handle a bit.

2015-05-19 21:38:27 (5 days ago) by Martin Nilsson <nilsson@opera.com>

realloc -> xrealloc

2015-05-19 20:05:25 (5 days ago) by Martin Nilsson <nilsson@opera.com>

Allocation failure fixes.
POLY1305 required for ChaCha20
Changed two malloc to xcalloc.

2015-05-19 18:06:06 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved stack robustness against compiler errors.

Some syntax errors leave droppings on the stack, and this could confuse
other code.

Fixes fatal "yyparse() left 2 droppings on the stack!" for a testsuite test.

2015-05-19 18:02:03 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved stack robustness against compiler errors.

Some syntax errors leave droppings on the stack, and this could confuse
other code.

Fixes fatal "yyparse() left 2 droppings on the stack!" for a testsuite test.

Monday 18 May 2015

2015-05-18 18:12:07 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Port: Added some missing documentation of query_fd().

Also moved the implementation to be closer to the rest of the functions.
Stdio.Port: Added some missing documentation of query_fd().

Also moved the implementation to be closer to the rest of the functions.

2015-05-18 18:05:32 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Improved robustness of the async_tls_close test.

The test is run four times in succession, and attempted to use
the same (fixed) port number every time. This would cause the
test to fail if something else already had claimed the port
(unlikely), or if the OS had a too long grace period (common).

The test now lets the OS allocate a port.

Also adds a timeout if the TLS connection doesn't wake up when
the port is closed.

This should fix intermittent testsuite failures on several platforms,
where the testsuite watchdog killed the SSL testsuite.

2015-05-18 17:57:18 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Improved robustness of the async_tls_close test.

The test is run four times in succession, and attempted to use
the same (fixed) port number every time. This would cause the
test to fail if something else already had claimed the port
(unlikely), or if the OS had a too long grace period (common).

The test now lets the OS allocate a port.

Also adds a timeout if the TLS connection doesn't wake up when
the port is closed.

This should fix intermittent testsuite failures on several platforms,
where the testsuite watchdog killed the SSL testsuite.

Sunday 17 May 2015

2015-05-17 16:42:07 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL [testsuite]: Keep the watchdog alert.

The SSL version interop test can take quite a while on some older
machines, so make sure that the watchdog doesn't kill us.

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

SSL.File: Removed obsolete macro CHECK_CB_MODE().

Saturday 16 May 2015

2015-05-16 15:07:02 (1 week ago) by Arne Goedeke <el@laramies.com>

Stdio.Buffer: io_ensure_malloced: use size_t type for 'bytes' input parameter.

Also adds an overflow check.
Stdio.Buffer: use round_up*() functions to enlarge buffer.

Fixes an infinity loop due to overflow. Also changed the round_up*() functions
to return 0 on overflow and made 1 the next power of two after 0.

2015-05-16 15:02:23 (1 week ago) by Arne Goedeke <el@laramies.com>

Stdio.Buffer: io_ensure_malloced: use size_t type for 'bytes' input parameter.

Also adds an overflow check.
Stdio.Buffer: use round_up*() functions to enlarge buffer.

Fixes an infinity loop due to overflow. Also changed the round_up*() functions
to return 0 on overflow and made 1 the next power of two after 0.

2015-05-16 15:02:23 (1 week ago) by Tobias S. Josefowitz <tobij@tobij.de>

Stdio.Buffer: xrealloc() now throws on realloc() failure.

2015-05-16 14:57:11 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Debug: Added empty testsuite.

2015-05-16 14:51:36 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.ChaCha20.POLY1305 [testsuite]: Updated to RFC 7539.

Updated testvector to the one from RFC 7539 section 2.8.2, and
deleted the (incompatible) one from draft-agl-tls-chacha20poly1305-04.

Added detection of the draft implementation.
Nettle.ChaCha20.POLY1305 [testsuite]: Updated to RFC 7539.

Updated testvector to the one from RFC 7539 section 2.8.2, and
deleted the (incompatible) one from draft-agl-tls-chacha20poly1305-04.

Added detection of the draft implementation.

2015-05-16 11:00:16 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Memory: xstrdup() now throws errors on failure.

Changed API for xstrdup() to behave analogous to xalloc() and xcalloc().
Memory: xrealloc() now throws errors on failure.

Changed API for xrealloc() to behave analogous to xalloc() and xcalloc().
Compiler: Added some error handling for aliases.

Fixes [CID 1298215].

2015-05-16 02:24:09 (1 week ago) by Tobias S. Josefowitz <tobij@tobij.de>

Stdio.Buffer: undo erroneous change of allocation behaviour

2015-05-16 02:19:22 (1 week ago) by Tobias S. Josefowitz <tobij@tobij.de>

Stdio.Buffer: undo erroneous change of allocation behaviour

Friday 15 May 2015

2015-05-15 20:43:14 (1 week ago) by Tobias S. Josefowitz <tobij@tobij.de>

Stdio.Buffer: throw on realloc() failures
Stdio.Buffer(): add_padding() now adds padding.
Stdio.Buffer(): Don't allow negative padding to be added.
Stdio.Buffer(): Don't allow negative padding to be added.
Stdio.Buffer(): add_padding() now adds padding.
Stdio.Buffer: throw on realloc() failures

2015-05-15 17:19:57 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Fixed race-condition in is_open().

If the peer had sent some data and closed the connection, is_open()
would in some cases return 0 even though there was data pending.

Fixes intermittent testsuite failures "Client connection was closed.".

2015-05-15 14:58:37 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Hide a warning.

2015-05-15 13:40:01 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved types for negative constants.

Some unary integer expressions are now evaluated by the compiler
during parsing.

Before:

typeof(-17) ==> int

Now:

typeof(-17) ==> int(-17..-17)

2015-05-15 13:27:56 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Fixed some prototype tests to use equal().

2015-05-15 13:22:46 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Arrays of functions may contain prototypes...

An array with a prototype is now equal to an array with a zero.

2015-05-15 11:15:41 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed typo in prototype reference fix.

Fixes various compilation issues with the Crypto modules.

2015-05-15 10:36:27 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Revert "Fixed issue with calling prototype function."

This "fix" broke handling of SimpleRootNode:s and the testsuite,
and is now no longer needed.

This reverts commit 7ecfc316b7e1bb0e51e1a8eb1229d6cb907e4954.
Revert "Parser.XML.Tree: Added some explicit inherit references."

This change is no longer needed.

This reverts commit 09cec086fb31891c12e09cf62e1887ec424e7193.

2015-05-15 10:24:10 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Don't reference inherited prototypes.

Having local references to inherited prototype functions is not
useful, as they can never become anything else than a prototype.

It also confuses code that uses mixins and attempts to use the
anonymous inherit specifier to access the base implementation
in one inherited class when there's a corresponding prototype
in another inherited class, in which case both functions were
returned. This typically caused "Calling undefined function.".

As a bonus this also improves code generation somewhat.

Thursday 14 May 2015

2015-05-14 16:25:04 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed decode_value() for GTK1-related objects.

The base module for GTK1 has been renamed from ___GTK to ___GTK1...

Fixes "Decode failed: Decode error: Failed to get program from ID 1035.".

2015-05-14 15:31:29 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Array: Fixed NULL-dereference in uniq_array() on certain content.

Fixes SIGSEGV in String testsuite.

2015-05-14 12:36:09 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

equal() now regards all false values as equal.

Also updates the documentation somewhat.

2015-05-14 10:42:24 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML.Tree: Added some explicit inherit references.

Potential fix for "Calling undefined function.".

Wednesday 13 May 2015

2015-05-13 17:10:57 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Added fallback marker. Fixes [CID 742611].

Tuesday 12 May 2015

2015-05-12 15:52:28 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Fixed typo in log message.
Testsuite: Fixed typo in log message.
Tools.Install: _PGSql is no more.

There's no point in searching for a module that has been obsoleted
and removed...

2015-05-12 15:49:47 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Install: _PGSql is no more.

There's no point in searching for a module that has been obsoleted
and removed...
Configure: Fixed svalue size test.
Configure: Fixed svalue size test.

Monday 11 May 2015

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

release number bumped to 8.0.87 by export.pike
release number bumped to 8.0.86 by export.pike

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

Multisets: Improved handling of unorderable values. Fixes [bug 7494].

It's not a good idea to pretend that values that don't have an order
relation do...

Fixes a bug that was introduced ~4 years ago.

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

Multisets: Improved handling of unorderable values. Fixes [bug 7494].

It's not a good idea to pretend that values that don't have an order
relation do...

Fixes a bug that was introduced ~4 years ago.

2015-05-11 09:17:05 (2 weeks ago) by unknown <unknown user@unknown>

release number bumped to 8.0.84 by export.pike
release number bumped to 8.0.85 by export.pike

Sunday 10 May 2015

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

Image.PCX: Added missing break. Fixes [CID 742629].

Decoding of single-bitplane pcx files always failed.
Image.PCX: Added missing break. Fixes [CID 742629].

Decoding of single-bitplane pcx files always failed.

2015-05-10 10:28:32 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.PCX: Added missing break. Fixes [CID 742629].

Decoding of single-bitplane pcx files always failed.

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

Stdio: Added some fallbacl markers. Fixes [CID 742644].

Saturday 09 May 2015

2015-05-09 14:39:29 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bz: Removed some dead and/or redundant code. Fixes [CID 1294600].

Friday 08 May 2015

2015-05-08 17:10:07 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Builtins: Fixed lost reference in longest_ordered_sequence().

2015-05-08 12:31:43 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.Layers: Removed some dead code. Fixes [CID 742491].

The case of l != NULL has been handled early in img_lay_stroke(),
so l is always NULL in the later part of the function.

2015-05-08 02:45:12 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

No white spaces in front of CPP directives please.

2015-05-08 01:33:41 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed more stack-adjustment code from the rest of the non-efuns.

2015-05-08 01:24:52 (2 weeks ago) by Martin Nilsson <nilsson@opera.com>

Don't leak dsa_params bignums on parameter errors.
Don't leak dsa_params bignums on parameter errors.

Thursday 07 May 2015

2015-05-07 22:52:59 (2 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

Stdio.Buffer: less leaking of rewind structs
Stdio.Buffer: less leaking of rewind structs

2015-05-07 15:26:20 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Coverity: Changed model file encoding to UTF-8.

This fixes "We're sorry, but something went wrong." on upload.

2015-05-07 12:55:13 (3 weeks ago) by Chris Angelico <rosuav@gmail.com>

Tidy up parenthesis usage around UNLIKELY() condition
Tidy up parenthesis usage around UNLIKELY() condition

Wednesday 06 May 2015

2015-05-06 20:43:54 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image: Third try at fixing [CID 742702].

Missed that the byte-order of int_from_32bit() is swapped in png.c and bmp.c.

2015-05-06 20:33:48 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image: Second try at fixing [CID 742702].

2015-05-06 16:37:50 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Simplified malloc+memset with xcalloc

Tuesday 05 May 2015

2015-05-05 20:02:37 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image: Cleaned up FLOAT_TO_COLORL(). Fixes [CID 1294676].

2015-05-05 19:08:35 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Improved robustness of low_read_file().

Survive lseek() failing with EINTR.

Fixes [CID 1296727].

2015-05-05 16:57:36 (3 weeks ago) by Chris Angelico <rosuav@gmail.com>

Add a non-ASCII character to the example to demo automatic UTF-8 encoding

2015-05-05 16:35:12 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.82 by export.pike
release number bumped to 8.0.83 by export.pike

2015-05-05 16:25:52 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Modules: Added some missing breaks. Fixes [CID 1294641] et al.

Monday 04 May 2015

2015-05-04 16:02:14 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Coverity: Fixed some typos of intrinsics.

2015-05-04 15:44:35 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.sendfile: Ensure that the initial seek doesn't fail.

Fixes [CID 742461].
Stdio.sendfile: Ensure that the initial seek doesn't fail.

Fixes [CID 742461].

2015-05-04 15:34:20 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Multiset: Simplified macros OFF2MSNODE() and MSNODE2OFF().

Potential fix for [CID 742376] et al.

2015-05-04 06:39:06 (3 weeks ago) by Chris Angelico <rosuav@gmail.com>

Add constants for IP Type Of Service settings

2015-05-04 06:29:07 (3 weeks ago) by Chris Angelico <rosuav@gmail.com>

Add a 'level' parameter to setsockopt(), and add more constants

2015-05-04 05:53:03 (3 weeks ago) by Chris Angelico <rosuav@gmail.com>

Implement Stdio.File()->setsockopt()
Add set_nodelay() function to Stdio.File objects to control Nagling
Document the link between set_keepalive and setsockopt

Sunday 03 May 2015

2015-05-03 21:02:47 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Object: Changed some continues to returns. Fixes [CID 1294677].

2015-05-03 20:49:30 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Program: Disabled some code when not PIKE_DEBUG. Fixes [CID 742547].

2015-05-03 20:43:48 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

RBTree: Enabled some debug permanently. Fixes [CID 742548].

Saturday 02 May 2015

2015-05-02 13:21:50 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.BMP: Avoid sign-extension. Fixes [CID 742702].

2015-05-02 13:15:48 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image: Removed some extraneous casts. Fixes [CID 742708] et al.

2015-05-02 13:01:51 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Avoid shift by negative. Fixes [CID 1294563].

2015-05-02 00:37:42 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.C: Added fall-through markers. Fixes [CID 742639] and others.

2015-05-02 00:32:24 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Charset [iso2022]: Adjusted breaks and added fall-through markers.

Fixes [CID 742643].

2015-05-02 00:26:15 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Operators: Removed some dead code. Fixes remainder of [CID 745880].

2015-05-02 00:21:01 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Program: Removed some dead code. Fixes [CID 1294593].

Friday 01 May 2015

2015-05-01 15:50:26 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Indentation fix.

2015-05-01 13:26:04 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTPLoop: Use fdlib wrappers in more places.

2015-05-01 12:04:17 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sprintf: Added a few fall-through markers.
Operators: Added some breaks. Fixes [CID 1296249].

2015-05-01 11:51:59 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to tzdata2015d.

2015-05-01 03:58:39 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Simplified code a bit, as the salt-update-loop will never happen when digest size is 32 or 64. CID 1294599

2015-05-01 03:55:03 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Deleted too much.

2015-05-01 03:42:32 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed unused code. CID 1294693

2015-05-01 03:33:27 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed dead code. CID 745880

2015-05-01 02:30:27 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Let's have the same indentation rules in all of o_cast.

2015-05-01 02:15:12 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed switch case that could never happen. CID 1294591

Thursday 30 April 2015

2015-04-30 18:24:13 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.81 by export.pike
release number bumped to 8.0.80 by export.pike

2015-04-30 18:14:49 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

VCDiff: We need to link the module with stdc++.

Also adds a minimal README.

2015-04-30 17:57:27 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Whitespace changes.

2015-04-30 17:52:02 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Document _gdb_breakpoint.
Always enable _gdb_breakpoint

2015-04-30 17:44:52 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved dump_backlog to Debug.

2015-04-30 17:19:26 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved gc_set_watch to Debug.
Moved describe to Debug.

2015-04-30 17:02:20 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Corrected return type.

2015-04-30 17:00:45 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

VCDiff: We need to link the module with stdc++.

Also adds a minimal README.

2015-04-30 16:54:05 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Moved locate_references to Debug.

2015-04-30 16:20:37 (3 weeks ago) by Martin Nilsson <nilsson@opera.com>

Fixed the generic implementation.

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

Working crypt_hash. Old code left for now.

Wednesday 29 April 2015

2015-04-29 19:22:18 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Now produces correct crypt hash up to the point where it is suffled and encoded.

2015-04-29 19:18:33 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Now produces correct crypt hash up to the point where it is suffled and encoded.

2015-04-29 17:37:46 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Added some tests for the unoverloaded __builtin.Nettle.Hash.
Correct typo.

2015-04-29 16:43:17 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.78 by export.pike
release number bumped to 8.0.79 by export.pike

2015-04-29 16:36:00 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

First experiment with new contract: Functions do not have to trim the stack before returning. Stack top is the return value and the rest is discarded.
Added a trivial test case.

2015-04-29 16:35:14 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O [NT]: Fixed some more typos.
I/O [NT]: Fixed some more typos.

2015-04-29 16:30:38 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gmp [NT]: Fixed storage class error for bignum_program.

2015-04-29 16:15:57 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O [NT]: More typos fixed.
I/O [NT]: More typos fixed.

2015-04-29 14:52:30 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.76 by export.pike
release number bumped to 8.0.77 by export.pike

2015-04-29 14:44:25 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O [NT]: Fixed a few warnings.
I/O [NT]: Fixed a few typos in a recent commit.
I/O [NT]: Fixed a few warnings.
I/O [NT]: Fixed a few typos in a recent commit.

2015-04-29 14:28:11 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Made create protected.

2015-04-29 14:23:54 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed some more warnings with old Nettle.

Fixes remainder of [bug 7469] and [bug 7477].
Crypto.RSA: Fixed some more warnings with old Nettle.

Fixes remainder of [bug 7469] and [bug 7477].

2015-04-29 13:44:13 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.75 by export.pike
release number bumped to 8.0.74 by export.pike

2015-04-29 12:45:01 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O [NT]: Fixed some races and bugs in fd_pipe().
I/O [NT]: Added multiple fd range checks. Fixes [bug 7476].
I/O [NT]: Fixed some races and bugs in fd_pipe().
I/O [NT]: Added multiple fd range checks. Fixes [bug 7476].

Tuesday 28 April 2015

2015-04-28 17:36:17 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.73 by export.pike
release number bumped to 8.0.72 by export.pike

2015-04-28 16:36:20 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Formatting changes.

2015-04-28 16:21:17 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

A few more trivial cases.
Marge from upstream.

2015-04-28 16:02:09 (4 weeks ago) by Jonas Walldén <jonasw@roxen.com>

Silence more compiler warnings by restoring the UNUSED() family of macros. If
this change exposes any invalid attributes, please remove them specifically
instead.
Silence a ton of warnings in clang since the UNUSED() family of macros now
depend on HAVE_FUNCTION_ATTRIBUTES being available, and the configure test
refused to set that if it detected __declspec before.

2015-04-28 15:56:46 (4 weeks ago) by Jonas Walldén <jonasw@roxen.com>

Silence a ton of warnings in clang since the UNUSED() family of macros now
depend on HAVE_FUNCTION_ATTRIBUTES being available, and the configure test
refused to set that if it detected __declspec before.
Silence more compiler warnings by restoring the UNUSED() family of macros. If
this change exposes any invalid attributes, please remove them specifically
instead.

2015-04-28 15:21:08 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Added a bit const

2015-04-28 14:41:24 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed warnings with old Nettle. Fixes remainder of [bug 7469].
Crypto.DSA: Fixed warning with old Nettle. Fixes some of [bug 7469].
Crypto.RSA: Fixed warnings with old Nettle. Fixes remainder of [bug 7469].
Crypto.DSA: Fixed warning with old Nettle. Fixes some of [bug 7469].

2015-04-28 14:13:34 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

const produces warning.

2015-04-28 12:24:11 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Port: Optional symbols should be optional...
Stdio.Port: Optional symbols should be optional...

Monday 27 April 2015

2015-04-27 22:52:38 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC: Exit do-while(0) loops with break instead of continue.

Fixes [CID 1294678] and others.

2015-04-27 20:03:49 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

register is deprected.

2015-04-27 16:52:45 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

pike_regsub isn't used.

2015-04-27 16:28:40 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

The excompat argument is always false.

2015-04-27 14:37:26 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.71 by export.pike
release number bumped to 8.0.70 by export.pike

2015-04-27 14:08:19 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Install: Accept constant-less programs as existing.

Fixes detection of Crypto.ECC.Curve in features().
Tools.Install: Accept constant-less programs as existing.

Fixes detection of Crypto.ECC.Curve in features().

Sunday 26 April 2015

2015-04-26 21:31:55 (4 weeks ago) by Peter Bortas <bortas@gmail.com>

Revert "Image: Fix use after free."

Incorrect analysys of crash. The real bug is somewhere else.

This reverts commit be679f8a09b75c16799a8f427d0f1edc1e054f90.
Revert "Image: Fix use after free."

Incorrect analysys of crash. The real bug is somewhere else.

This reverts commit a1284688d3f8a3bcf49463353bf84b5e966150f3.

2015-04-26 14:38:33 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Peep: Propagate constants past assignments.

This makes several peep hole rules redundant.

Also removes a few dead and/or redundant rules.

Fixes [CID 1294690].

2015-04-26 01:18:45 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Multisets: Removed remaining support for multisets with values.

Removes quite a bit of dead code.

Fixes [CID 1294596] and others.

Saturday 25 April 2015

2015-04-25 15:23:47 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Updates from RFC 7507.

The TLS Downgrade SCSV draft is now an RFC.

2015-04-25 15:10:23 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Fixed NULL-deref on UNDEFINED. Fixes [CID 1294611].

2015-04-25 14:13:30 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gmp.mpq: Added fall-though marker. Fixes [CID 1294636].

2015-04-25 14:07:44 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [amd64]: Added a few fall-though markers.

Fixes [CID 1294640].

2015-04-25 14:02:38 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Multisets: Added quite a few braces to rbtree macros.

Fixes [CID 1294649].

2015-04-25 11:45:13 (4 weeks ago) by Peter Bortas <bortas@gmail.com>

Image: Fix use after free.
Image: Fix use after free.

Fixes [AFL 1-C16], [AFL 1-C17] and [AFL 1-C18]

Friday 24 April 2015

2015-04-24 18:59:30 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Revert "Image: Fix use after free."

Fixes memory leaks.

This reverts commit 841b510de8101bfe9bdfbdbdc6ae1b087213f2ad.
Revert "Image: Fix use after free."

Fixes memory leak.

This reverts commit ac3f770de7a1c49619e95616dfdb6eab36a0d99d.

2015-04-24 18:12:27 (4 weeks ago) by Peter Bortas <bortas@gmail.com>

Image: Fix use after free.

2015-04-24 18:00:09 (4 weeks ago) by Peter Bortas <bortas@gmail.com>

Image: Fix use after free.

Fixes [AFL 1-C16], [AFL 1-C17] and [AFL 1-C18]

2015-04-24 17:30:45 (4 weeks ago) by Per Hedbor <ph@opera.com>

Handle session being destructed when callback is called.

2015-04-24 15:38:56 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.PNG: Restored ONERRORs.

Fixes memory leaks on decoding errors and out of memory.

2015-04-24 15:23:13 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Removed a bit more.

2015-04-24 15:08:31 (4 weeks ago) by Martin Nilsson <nilsson@opera.com>

Verify encoding parameters before decoding data. Avoids allocating memory for alpha for non-alpha images.

2015-04-24 14:36:18 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Always validate the linenumber information.

Fixes [CID 1294660].

2015-04-24 14:07:18 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.PNG: Protect against integer overflows. Fixes [CID 1294669].
Image.PNG: Protect against integer overflows. Fixes [CID 1294669].

2015-04-24 10:22:55 (1 month ago) by Martin Karlgren <marty@roxen.com>

release number bumped to 8.0.68 by export.pike
release number bumped to 8.0.69 by export.pike

Thursday 23 April 2015

2015-04-23 23:45:13 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Peep: Removed redundant rule.

This rule had a suffix that was identical to a full rule, so it could
never be triggered. The combined rule already existed.

Fixes [CID 1294690]

2015-04-23 18:31:43 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Misc: Added some missing fall-through markers and breaks.

2015-04-23 18:25:33 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Array: Added break for clarity. Fixes [CID 742614].

2015-04-23 17:31:30 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.JPEG: Fixed ref-count bug in _decode().

Also fixes lost type field for images with comments.

2015-04-23 17:26:32 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.JPEG: Fixed ref-count bug in _decode().

Also fixes lost type field for images with comments.

2015-04-23 16:36:52 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.ColorTable: Fixed multiple bugs in `-().

* Fixed two (unlikely) memory leaks on double rehash.

* Fixed copying of the new colortable on rehash.

* Fixed rehash halting the copying of the flat colortable on rehash.

* Removed redundant clearing of zeroed memory.

Fixes [CID 742693].

2015-04-23 16:28:34 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.ColorTable: Fixed multiple bugs in `-().

* Fixed two (unlikely) memory leaks on double rehash.

* Fixed copying of the new colortable on rehash.

* Fixed rehash halting the copying of the flat colortable on rehash.

* Removed redundant clearing of zeroed memory.

Fixes [CID 742693].

2015-04-23 16:15:16 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC: Added some more notes to identify_cycle().

2015-04-23 14:05:46 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sprintf: Added missing fall-thorough marker. Fixes [CID 742645].
Gz: Removed some dead code. Fixes [CID 1294597].
Svalue: Added fall-thorough marker. Fixes [CID 1294637].

2015-04-23 11:18:32 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Be less aggressive with when to prune old sessions.

Wednesday 22 April 2015

2015-04-22 19:00:03 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Type-checker: Fixed typos in match_type_svalue() for AND.

Fixes [CID 1294635].
Type-checker: Fixed typos in match_type_svalue() for AND.

Fixes [CID 1294635].

2015-04-22 18:48:45 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Lexer: Added fall-through marker. Fixes [CID 742662] and others.

2015-04-22 18:45:55 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Process: Added fall-through marker. Fixes [CID 742660].

2015-04-22 18:42:41 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Added some (unreached) breaks to make Coverity happy.

Fixes [CID 742647] and others.

2015-04-22 18:22:14 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pipe: Check that lseek() didn't fail. Fixes [CID 742681].

2015-04-22 18:06:13 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Postgres: Added fall-though marker. Fixes [CID 742642].

2015-04-22 18:01:53 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish: Removed some more dead code.

Fixes [CID 742496] and others.

2015-04-22 17:04:58 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Keep track of Session activity, so they can be removed when inactive, not just old.

2015-04-22 15:45:21 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Make rule collision an error.

2015-04-22 15:42:16 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix 7.8 compat tests.

2015-04-22 14:59:00 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Optimizer: Removed some conflicting peep rules.

Also added a few missing rules, and added use of the new error syntax.

2015-04-22 14:56:52 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

mkpeep: Added explicit support for generation of errors.

2015-04-22 13:44:38 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Remove duplicate rules.

2015-04-22 12:42:27 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix 8.0 compat.

2015-04-22 12:27:26 (1 month ago) by Martin Nilsson <nilsson@opera.com>

strlen returns size_t

2015-04-22 01:15:31 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Coverity: Fixed return values.

Tuesday 21 April 2015

2015-04-21 23:58:31 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

WhiteFish: Removed some dead code.

Also some minor cleanups.

Fixes [CID 742493] and others.

2015-04-21 19:49:40 (1 month ago) by Arne Goedeke <el@laramies.com>

Testsuite: added one fatal syntax error
Thread.Farm: pass exceptions to provide_error

In case an exception was thrown, the value of err ended up being
the Result object, while the error got lost.

2015-04-21 18:59:29 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Lexer: Use CONSTANT_STRLEN() in ISWORD(). Fixes [CID 1294652].

2015-04-21 17:33:13 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Coverity: Fixed some typos.

2015-04-21 16:25:33 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Readding guard for Regexp.match

2015-04-21 15:33:27 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.Pike: Added fall-through marker. Fixes [CID 742639].

2015-04-21 15:29:33 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

MIME: Added a few fall-through markers.

Fixes [CID 742636] and probably a few others.

2015-04-21 15:23:23 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Coverity: Added models for a few colortable functions.

2015-04-21 15:20:44 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Coverity: Initial modelling file.

Adds a model for inet_ntop(3N).

2015-04-21 11:21:27 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Fixed integer overflow. Fixes [CID 1294563].
Stdio.Buffer: Fixed integer overflow. Fixes [CID 1294563].

2015-04-21 10:53:55 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Updates to comments.
Align variable names with upstream.

Monday 20 April 2015

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

Image.BMP: Fixed NULL-deref. Fixes [CID 742534].

2015-04-20 22:50:10 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.BMP: Added some fall-through markers.

Fixes [CID 742628] and others.

2015-04-20 22:38:46 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTPLoop: Survive inet_ntop(3N) failing.

Fixes [CID 1295135] and [CID 1295136].
Image.PVR: Added some fall-through markers.

Fixes [CID 742632] and others.

2015-04-20 19:38:34 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.Font: Fixed range check. Fixes [CID 742685].
Image.Font: Fixed range check. Fixes [CID 742685].

2015-04-20 18:05:10 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Stat: Fixed potential use of uninitialized integer.

Fixed [CID 1294670].
Image.PSD: Added range check.

Addresses [CID 1294663], but is unlikely to make Coverity happy.

2015-04-20 14:47:07 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix negative seek.

2015-04-20 14:02:33 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Complain about identical peep matches. Not an error yet.

2015-04-20 12:43:00 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Export: Fixed typo in previous commit.
Export: Added some more fields to buildid.txt.

2015-04-20 12:03:25 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Export: Fixed typo in previous commit.

2015-04-20 11:55:14 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Export: Added some more fields to buildid.txt.

2015-04-20 10:27:10 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Add some breaks as a minor optimization. CID 742607
Use signed to allow for error condition return value from file_size. CID 742680
Adressed dereferencing null. CID 1294604
Adressed dereferencing null. CID 1294601

2015-04-20 10:24:43 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix out of bounds read. CID 1294651
Fix dereference before null check. CID 1294655
Backport of Bz2 from 8.1

2015-04-20 10:20:02 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Ensure bytes is not null rather than looking at args. Not an issue. CID 1294626.

Sunday 19 April 2015

2015-04-19 22:01:45 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Readded exception that was made silent.

2015-04-19 21:57:52 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Ported some optimizations from upstream. No functionality changes.

2015-04-19 21:26:23 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix a bunch of out-of-memory errors in regexp create. CID 1294654

2015-04-19 21:08:45 (1 month ago) by Martin Nilsson <nilsson@opera.com>

static is always static.

2015-04-19 21:05:13 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Test the NSUBEXP limit.

2015-04-19 20:58:01 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Removed some unneeded tests and syntax.

2015-04-19 20:46:59 (1 month ago) by Martin Nilsson <nilsson@opera.com>

__STDC__ is 1.

2015-04-19 20:45:19 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed potential NULL-deref. Fixes [CID 742527].

2015-04-19 20:37:09 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

I/O: Fixed handling of EINTR in query_nonblocking().

Fixes [CID 742483]

2015-04-19 08:23:55 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Coverity: Added some unreached breaks to make Coverity happy.

Fixes [CID 742617], [CID 1294625] and [CID 1294628].

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

Coverity: Added quite a few function annotations.

Hopefully Coverity will stop complaining about code after
errors being thrown.

Potential fix for [CID 1294628] and others.

2015-04-19 08:07:42 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Interpreter: Added fallback marker. Fixes [CID 742617].

2015-04-19 08:02:09 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Fixed some parser bugs.

Fixes [CID 742608], [CID 742609], [CID 742610] and [CID 742612].
Parser.XML: Fixed some parser bugs.

Fixes [CID 742608], [CID 742609], [CID 742610] and [CID 742612].

2015-04-19 07:59:44 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Fixed some parser bugs.

Fixes [CID 742608], [CID 742609], [CID 742610] and [CID 742612].

2015-04-19 01:21:17 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Don't cast null.

2015-04-19 00:24:00 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Add some breaks as a minor optimization. CID 742607

Saturday 18 April 2015

2015-04-18 23:58:00 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Changed some malloc to calloc.

2015-04-18 23:51:42 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Coverity: pike_throw() doesn't return...

Potential fix for [CID 1294625] (and probably others).

2015-04-18 23:49:49 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix typo.
Use signed to allow for error condition return value from file_size. CID 742680

2015-04-18 23:41:59 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Shuffler: Fixed NULL-dereference on UNDEFINED in add_source().

Fixes [CID 1294608].

2015-04-18 23:34:25 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Add a fallthrough comment. CID 1294638

2015-04-18 23:11:19 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Adressed dereferencing null. CID 1294604
Adressed dereferencing null. CID 1294601

2015-04-18 11:03:32 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.XML: Style change.

Exit a do-while(0) loop with break instead of continue to keep
Coverity happy.

Fixes [CID 1294688].

2015-04-18 10:48:25 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image: Removed some dead code in crop().

Fixes [CID 742485].

2015-04-18 10:08:38 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

DVB: NULL-terminate the ecminfo list.

Fixes [CID 745908].

Friday 17 April 2015

2015-04-17 19:33:36 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix out of bounds read. CID 1294651

2015-04-17 19:15:17 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix dereference before null check. CID 1294655

2015-04-17 18:57:13 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Some additional cleanup.

2015-04-17 18:50:22 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Cleaned up casting of union pointers.

It seems Coverity doesn't like casting a union pointer
to a pointer to one of the union components.

Clean up the code by explicitly accessing the union fields.

Potential fix for [CID 742362] and others.

2015-04-17 18:47:06 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Address null deref when calling with undefined. CID 1294606.
Replace malloc with xalloc/calloc/xcalloc

2015-04-17 18:37:54 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bz2.Deflate: Fix NULL-deref on UNDEFINED. Fixes [CID 1294603].

2015-04-17 18:31:13 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bz2.Deflate: Fix NULL-deref on UNDEFINED. Fixes [CID 1294603].

2015-04-17 18:18:26 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Clean up argument parsing a bit. CID 1294603. Not a real issue.

2015-04-17 18:07:24 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Ensure bytes is not null rather than looking at args. Not an issue. CID 1294626.

2015-04-17 18:00:31 (1 month ago) by Martin Nilsson <nilsson@opera.com>

No need to do init() on the hash context between each use. Digest will drain it.

2015-04-17 17:31:53 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Type checker: Fixed minor bug in match_type_svalue() for strings.

All strings matched the type string(zero) instead of just the empty string.

Fixes [CID 1294694].
Type checker: Fixed minor bug in match_type_svalue() for strings.

All strings matched the type string(zero) instead of just the empty string.

Fixes [CID 1294694].

2015-04-17 17:27:07 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Let's not use the terms old and new...

2015-04-17 17:02:15 (1 month ago) by Martin Nilsson <nilsson@opera.com>

nettle-meta.h is included through nettle.h
Not very useful comment, that doesn't apply anymore.

2015-04-17 16:48:48 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Make Nettle 1.13 (2005-10-06) minimum required verison. This makes MD4, MD2, RC2 and CTR always present.

2015-04-17 15:35:09 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Fix update/digest type warnings. Nettle type them with the actual struct, not with void*

2015-04-17 13:49:28 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.67 by export.pike
release number bumped to 8.0.66 by export.pike

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

Image: Fixed typo in factor 1/2 scaling.

For odd-width source images, the left-most line of pixels had the
blue-channel in the green-channel, and zeros in the blue-channel.

Fixes [CID 1294692].
Image: Fixed typo in factor 1/2 scaling.

For odd-width source images, the left-most line of pixels had the
blue-channel in the green-channel, and zeros in the blue-channel.

Fixes [CID 1294692].

2015-04-17 13:12:31 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image: Fixed typo in factor 1/2 scaling.

For odd-width source images, the left-most line of pixels had the
blue-channel in the green-channel, and zeros in the blue-channel.

Fixes [CID 1294692].

2015-04-17 12:27:30 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.65 by export.pike
release number bumped to 8.0.64 by export.pike

2015-04-17 11:30:28 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gmp.mpf: Fixed NULL-deref. Fixes [CID 1294612].

NULL-dereferenced on UNDEFINED.
Gmp.mpf: Fixed NULL-deref. Fixes [CID 1294612].

NULL-dereferenced on UNDEFINED.

2015-04-17 11:24:56 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Gmp.mpq: Fixed NULL-deref. Fixes [CID 1294617].

NULL was dereferenced on UNDEFINED.
Gmp.mpq: Fixed NULL-deref. Fixes [CID 1294617].

NULL was dereferenced on UNDEFINED.

2015-04-17 11:00:54 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bz2: Fixed NULL dereference in read(). Fixes [CID 1294629].

NULL was dereferenced on read(UNDEFINED).
Bz2: Fixed NULL dereference in read(). Fixes [CID 1294629].

NULL was dereferenced on read(UNDEFINED).

2015-04-17 10:18:05 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Removed extraneous nesting level. Fixes [CID 1294691].

2015-04-17 10:14:38 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Removed extraneous nesting level. Fixes [CID 1294691].

Thursday 16 April 2015

2015-04-16 14:52:26 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to tzdata2015c.

2015-04-16 14:47:08 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to tzdata2015c.

2015-04-16 14:45:06 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to tzdata2015c.

Wednesday 15 April 2015

2015-04-15 18:48:41 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Reindent.

2015-04-15 18:39:53 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Avoid single case switches. This will get rid of some intentation.

2015-04-15 17:52:33 (1 month ago) by Martin Nilsson <nilsson@opera.com>

Simplified handshake_packet a bit.

2015-04-15 15:38:11 (1 month ago) by Martin Nilsson <nilsson@opera.com>

TODO items.

2015-04-15 14:00:20 (1 month ago) by Martin Nilsson <nilsson@opera.com>

handshake_messages now use Buffer, and gets a small bit of abstraction also.

2015-04-15 13:59:06 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.Sql: res_obj_to_array() now knows about next_result().

Fixes issue where data and errors were lost when on multiple results.

Caveat: This also means that all the mappings in the array returned by
query() et al don't necessarily have the same fields.
Sql.sql_result: Added some more doc for next_result().

2015-04-15 13:53:01 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.Sql: res_obj_to_array() now knows about next_result().

Fixes issue where data and errors were lost when on multiple results.

Caveat: This also means that all the mappings in the array returned by
query() et al don't necessarily have the same fields.

2015-04-15 13:50:59 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.sql_result: Added some more doc for next_result().

2015-04-15 11:51:46 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Fixes for Nettle 3.1.

2015-04-15 11:24:49 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Fixes for Nettle 3.1.

2015-04-15 11:02:10 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Odbc: list_tables() now seems to work.

[permalink]

Bugs mentioned

  2005RESOLVEDBacktrace in Admin Interface
  7469RESOLVEDWarnings starting Roxen 6.0.30.
  7476RESOLVEDget_all_active_fd() causes debug_fd_stat() to index fd_type out of bounds.
  7494RESOLVEDSubtraction of multisets containing objects is broken in Pike 8.0.81.
  841RESOLVEDModule Preferred Language Analyzer
Bugs? Suggestions?