Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 21 checkins (+842/-263) by 3 people : 4 checkins (+88/-5) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 7 checkins (+655/-29) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 8 checkins (+364/-88) by 2 people : 3 checkins (+59/-5) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 6 checkins (+40/-26) by 2 people : 5 checkins (+27/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 8 checkins (+35/-7) by 2 people : 26 checkins (+602/-83) by 3 people : 12 checkins (+113/-78) by 3 people : 5 checkins (+78/-18) by 2 people : 11 checkins (+108/-19) by 4 people : 8 checkins (+36/-32) by 2 people : 5 checkins (+87/-9) by 2 people : 5 checkins (+37/-47) by 2 people : 23 checkins (+564/-85) by 3 people : 7 checkins (+92/-12) by 3 people : 14 checkins (+202/-120) by 2 people : 4 checkins (+33/-46) by 3 people : 2 checkins (+54/-49) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 30 checkins (+585/-147) by 3 people : 14 checkins (+114/-58) by 3 people : 2 checkins (+4/-2) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+7/-3) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 3 checkins (+143/-79) by 2 people : 1 checkin (+10/-7) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 5 checkins (+20/-4) by 2 people : 2 checkins (+18/-7) by 2 people : 24 checkins (+210/-122) by 3 people : 9 checkins (+196/-53) by 4 people : 6 checkins (+164/-6) by 3 people : 5 checkins (+206/-48) by 3 people : 13 checkins (+561/-99) by 3 people : 1 checkin (+4/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+17/-21) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+15/-6) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 9 checkins (+96/-20) by 4 people : 1 checkin (+20/-10) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 3 checkins (+37/-24) by 2 people : 1 checkin (+2/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> Lines added/removed recently

Yesterday; Saturday 28 May 2016

2016-05-28 15:08:37 (22 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Fixed NULL-dereference in set_buffer_mode().

Friday 27 May 2016

2016-05-27 16:02:27 (2 days ago) by Per Hedbor <ph@opera.com>

(0..255) -> 8bit and similar changes

This means that buffer.cmod now needs a pike 8.0 (or newer)
precompiler.

2016-05-27 15:58:50 (2 days ago) by Per Hedbor <ph@opera.com>

int(range) is now stored in a native integer if the range will fit.

Since "large" is stored as INT32 max/min it tends to always fit if the
range is not unbound.

This means that a variable set as int(0..255) will no longer be able
to store values bigger than or smaller than the size of the native
integer, which is an incomatible change, albeit a fairly logical one.

2016-05-27 14:06:02 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Standalone.precompile: Support non-beeding edge Parser.Pike.

Thursday 26 May 2016

2016-05-26 17:27:35 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Diagnostics [Sockets]: Added macro SOCKWERR().

SOCKWERR() is enabled via SOCK_DEBUG.

Converted quite a few disabled debug outputs to using SOCKWERR().

Wednesday 25 May 2016

2016-05-25 19:19:19 (4 days ago) by Per Hedbor <ph@opera.com>

The precompiler now surives 8bit being parsed as a single token.

Also write a syntax error instead of throwing an error if parsing fails.

We might want to fix this in more locations..

Getting a huge backtrace from the internals of the precompiler is
usually not that helpful.
Updated Parser.Pike.tokenize

It now supports <x>bit, `** and the "new" getter/setter syntax.
Added knowledge about the new lfuns to the precompiler.

2016-05-25 19:07:07 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Support non-empty buffers in set_buffer_mode().

Stdio.File()->set_buffer_mode() now has a defined behaviour for
adding and removing buffers that aren't empty.

The behaviour is the same as for set_buffer_mode() in SSL.File.

2016-05-25 16:25:57 (4 days ago) by Anders Johansson <anders@roxen.com>

release number bumped to 8.0.249 by export.pike
release number bumped to 8.0.248 by export.pike

2016-05-25 15:53:36 (4 days ago) by Pontus Östlund <ponost@roxen.com>

Tools.Standalone.pike_to_html: Better handling of macros. Added the keyword auto and added some new root modules

2016-05-25 10:36:31 (4 days ago) by Anders Johansson <anders@roxen.com>

release number bumped to 8.0.247 by export.pike
release number bumped to 8.0.246 by export.pike

Tuesday 24 May 2016

2016-05-24 12:30:58 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Handle non-empty buffers in set_buffer_mode().

Monday 23 May 2016

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

Stdio.Buffer: Some cosmetic changes.

Sunday 22 May 2016

2016-05-22 22:42:18 (7 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [SSL.File]: Document get_server_name().

Also fixes a documentation typo.

Saturday 21 May 2016

2016-05-21 19:33:08 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.File: Added support for set_buffer_mode().

Adds support for user provided buffers in both directions.

Updates the {read,write,close}_callbacks to the current conventions of
Stdio.File (this includes defaulting the callback_id to this_object()).

Also adds some corresponding tests to the testsuite.

2016-05-21 12:37:55 (1 week ago) by Marcus Agehall <agehall@gmail.com>

Let's use variants for the callbacks to avoid having different names for them.

2016-05-21 12:28:31 (1 week ago) by Marcus Agehall <agehall@gmail.com>

More verbose %O formatting.
Run SSLPort connections without buffer mode.

2016-05-21 11:49:57 (1 week ago) by Marcus Agehall <agehall@gmail.com>

Better typing in functionn signatures.

Patch from frigolit@frigolit.net

2016-05-21 10:37:38 (1 week ago) by Marcus Agehall <agehall@gmail.com>

Added client mode to Websockets.
Don't use arrays in funny ways - just output the headers.
Removed unused class.
Make full use of buffers when parsing incoming frames.

2016-05-21 08:54:02 (1 week ago) by Martin Nilsson <nilsson@fastmail.com>

Compat and test for glob changes.

Friday 20 May 2016

2016-05-20 22:04:28 (1 week ago) by Pontus Östlund <ponost@roxen.com>

Protocols.HTTP.Promise: The arguments are now passes as an object of class Arguments for better type cheking and more coherent method signatures for the request methods.
Also some refactoring.

Web.Api.Api: Using Protocols.HTTP.Promise for the requests if available and applicable.

2016-05-20 17:57:55 (1 week ago) by Marcus Agehall <agehall@gmail.com>

Added WebSocket ports to the known port numbers.

2016-05-20 16:17:21 (1 week ago) by Pontus Östlund <ponost@roxen.com>

Protocols.HTTP.Session: Added the port to the host header if the port isn't the standard port. Redirects on non-standard ports broke.

2016-05-20 15:49:18 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.IIM: Fixed typo.

Also adds some minor documentation.

Thursday 19 May 2016

2016-05-19 17:37:32 (1 week ago) by Marcus Agehall <agehall@gmail.com>

Added client mode for WebSocket module.
Added WebSocket ports to the known port numbers.

2016-05-19 15:45:30 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Math: Fixed typo.

2016-05-19 15:31:10 (1 week ago) by Martin Nilsson <nilsson@fastmail.com>

Only allow pow on int|float|object. CID 1362005

2016-05-19 14:51:08 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.245 by export.pike
release number bumped to 8.0.244 by export.pike

Wednesday 18 May 2016

2016-05-18 20:42:10 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Fix error message.

2016-05-18 18:15:38 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Documentation of FIND_LFUN.

2016-05-18 17:51:22 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Concurrent]: Fixed a few typos.

2016-05-18 16:50:22 (2 weeks ago) by Per Hedbor <ph@opera.com>

Added pow and rpow to Gmp.mpf, even if mpfr libary is missing.

However, non-integer powers are only supported if you do have mpfr.
More correct handling of various cases for **
Tweaked the pow function in bignums/mpz

o If the exponent is a float, the result will now be a float
(ie, 1000000000000**0.5 is now 1000000.0, not 1)

o Added ``**

o Removed arbitrary size limit entirely.
It's up to the programmer to avoid 999 ** 9999999999999999999999.

You still get an error if the result is too large for your memory.

2016-05-18 16:17:42 (2 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

[Gmp] set correct subtype in debug_get_mpz()

Somewhat helpful with not segfaulting...
Build [Parser]: Compilefix for issue with Pike 7.8 precompiler.

This is actually pretty ugly, ideas welcome.

2016-05-18 15:47:36 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Fix for sqrt on objects without _sqrt. CID 1361928.

Tuesday 17 May 2016

2016-05-17 21:47:44 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Remove incorrect comments.

2016-05-17 17:37:21 (2 weeks ago) by Per Hedbor <ph@opera.com>

mp()->size can now handle more than 2Bn. Allow bigger shifts for numbers.

2016-05-17 16:54:47 (2 weeks ago) by Per Hedbor <ph@opera.com>

Keep pow(float,float) as float even when the calculation overflows

2016-05-17 16:53:55 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Potential fix for [bug 7684].

Avoid recursive mutex locks from destroy() by only locking
on explicit destruct().
Filesystem.Monitor: Potential fix for [bug 7684].

Avoid recursive mutex locks from destroy() by only locking
on explicit destruct().

2016-05-17 16:47:56 (2 weeks ago) by Per Hedbor <ph@opera.com>

Use the same exponentiation result size limit in both locations, and set it to 1G
make _sqrt a "fake" lfun

2016-05-17 16:14:25 (2 weeks ago) by Per Hedbor <ph@opera.com>

Renamed pow lfun from pow to `**.

This is somewhat incompatible, previously pow(X,3) called X->pow,
now it will call X->`**.
Added ** as the exponentiation operator.

2016-05-17 14:30:14 (2 weeks ago) by Per Hedbor <ph@opera.com>

Allow larger exponents. These days 1Mb is not that much

Monday 16 May 2016

2016-05-16 18:21:26 (2 weeks ago) by Per Hedbor <ph@opera.com>

Allow [auto] in softcasts.

Currently only useful for assignments.

Also, does not yet check if the softcast is really possible or not.

Basically only a way to silence warnings in strict_types mode.

2016-05-16 18:13:12 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Constants: Added EXTENSION_draft_version.

Sunday 15 May 2016

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

Start changelog for release 4

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

Optimizer: Fixed special case whenn optimizing logical and.
Optimizer: Fixed special case when optimizing logical or.

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

Optimizer: Fixed special case whenn optimizing logical and.

2016-05-15 16:01:39 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Optimizer: Fixed special case when optimizing logical or.

Saturday 14 May 2016

2016-05-14 16:24:20 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed remaining reduce/reduce conflicts.

Friday 13 May 2016

2016-05-13 14:44:53 (2 weeks ago) by Per Hedbor <ph@opera.com>

Extended glob pattern syntax:
o \ can now be used to quote special characters in the pattern
o [ can be used for ranges of characters ([bx] [a-c0-9] [^a] etc).

Also changed glob to return the matching glob instead of 1 when an
array is passed as the first (pattern) argument.

This can be used to remove some loops where you want to do different
things depending on which pattern matched.

Both these changes are incompatible.

2016-05-13 14:29:00 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Reduce code duplication somewhat.

Adds productions save_{locals,block_level}.

Thursday 12 May 2016

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

Compiler: Pop temporary variables after use.

Wednesday 11 May 2016

2016-05-11 12:55:48 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Fixed typo in FILESYSTEM_MONITOR_DEBUG.
Filesystem.Monitor: Fixed typo in FILESYSTEM_MONITOR_DEBUG.

Tuesday 10 May 2016

2016-05-10 18:26:32 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Don't propagate all errors.

Errors thrown by check() on deletion could cause other deletion
notifications to be lost, as the errors were rethrown before
the rest of the notifications were handled.

Those errors are now instead sent directly to the master.
Filesystem.Monitor: Improved FILESYSTEM_MONITOR_DEBUG diagnostics.
Filexyxtem.Monitor: Got rid of update_monitor().

The function didn't work, and if it had worked it would've messed
with the internal state of monitors and caused stuff to break.
Filesystem.Monitor: Improved error handling somewhat.

Errors were hidden in some cases.

2016-05-10 17:22:18 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Don't propagate all errors.

Errors thrown by check() on deletion could cause other deletion
notifications to be lost, as the errors were rethrown before
the rest of the notifications were handled.

Those errors are now instead sent directly to the master.
Filesystem.Monitor: Improved FILESYSTEM_MONITOR_DEBUG diagnostics.

2016-05-10 17:00:56 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filexyxtem.Monitor: Got rid of update_monitor().

The function didn't work, and if it had worked it would've messed
with the internal state of monitors and caused stuff to break.

2016-05-10 16:58:39 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Improved error handling somewhat.

Errors were hidden in some cases.

2016-05-10 14:41:22 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.RCS: Added feature detection constant "max_revisions_supported".

2016-05-10 14:32:17 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.RCS: Added feature detection constant "max_revisions_supported".

2016-05-10 12:30:09 (3 weeks ago) by Martin Karlgren <marty@roxen.com>

Parser.RCS: Bugfix in create().
Parser.RCS: Add optional max_revisions parameter to the API.

2016-05-10 10:41:01 (3 weeks ago) by Marcus Wellhardh <wellhardh@roxen.com>

release number bumped to 8.0.243 by export.pike
release number bumped to 8.0.242 by export.pike

2016-05-10 00:45:37 (3 weeks ago) by Pontus Östlund <poppanator@gmail.com>

Accidentally forgot to remove some debug defines in the previous commit.

2016-05-10 00:21:49 (3 weeks ago) by Pontus Östlund <poppanator@gmail.com>

Protocols.HTTP.Query: Fixed an old bug (https://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=7676) where basically the timeout in timed_async_fetch wasn't reset each new data read.
This timeout had it's own property (data_timeout) which now is "deprecated" since the property "timeout" pretty much serves the same purpose, but on connection. So now timeout is the default value to use unless data_timeout is explicitly set, in which case that value will be used.
Since there was no proper way to set a max time for the entire operation (well, that was by accident and not intention how the data_timeout in timed_async_fetch worked) the new property "maxtime" has been added. If this is set (default is 0=indefinetly) the request will be aborted after maxtime second even if data is still being read.

So in short:

data_timeout = 0 // unless explicitly set
timeout = 120 // connection timeout, and then data read timeout
maxtime = 0 // 0 = off, otherwise the entire operation must be done within maxtime seconds or else the request is aborted

Protocols.HTTP.Session: Added some documentation

Protocols.HTTP.Promise: New module which utilise the new Concurrent.Promise/Future stuff for HTTP requests. Internally uses Protcols.HTTP.Session for the actual HTTP stuff.

Web.Api.Api: Now fetches data asynchronously when async calls are made.

Concurrent: on_success and on_fail now returns the object being called so that they can be chained.

Parser.Markdown: Fixed the #require macro directive.

Monday 09 May 2016

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

LONGEST is just INT64, so use that instead.

2016-05-09 17:35:44 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

ulongest_from_bignum isn't used.

2016-05-09 16:14:10 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed a few shift/reduce conflicts.

Sunday 08 May 2016

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

Compiler: Broke out literal_expr from expr4.

This makes the grammar somewhat easier to read.

2016-05-08 20:34:42 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Master: Improved type for bool.

2016-05-08 01:34:22 (3 weeks ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.241 by export.pike
release number bumped to 8.0.240 by export.pike

Saturday 07 May 2016

2016-05-07 21:09:53 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Use read_ints to read array.

2016-05-07 14:10:59 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Cleaned up function return type handling somewhat.

It is now start_function and start_lambda that set the return type
for the frame. This reduces the amount of code duplication a bit,
and makes the type handling a little clearer.

Friday 06 May 2016

2016-05-06 15:43:50 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added INHERIT_{SELF,GLOBAL,ALL}.

Clean up find_inherited_identifier() somewhat by using symbolic
constants.

2016-05-06 14:15:09 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Added note about JOSE.

2016-05-06 13:20:36 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Noted some SSL fixes.

2016-05-06 13:06:13 (3 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Don't pretend jwa is a variable, to be consistent with name(), digest_size() etc.
Don't pretend jwa is a variable, to be consistent with name(), digest_size() etc.

2016-05-06 13:02:31 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Got rid of test that was always true.

This was a remnant of the Pike 7.6 compat layer.

2016-05-06 12:48:26 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: this_function now obeys the inherit specifier.

2016-05-06 01:13:13 (3 weeks ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.238 by export.pike
release number bumped to 8.0.239 by export.pike

2016-05-06 00:53:54 (3 weeks ago) by Peter Bortas <bortas@gmail.com>

More CHANGES.

Thursday 05 May 2016

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

Compiler: Improved handling of inherit ::this_program.

2016-05-05 10:45:34 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Use find_inherited_identifier() for ::this_program.

2016-05-05 08:14:37 (3 weeks ago) by Pontus Östlund <poppanator@gmail.com>

Concurrent.pmod: The Result class was always stuck in a PENDING state since new copies of the result and state arrays was created in the loop in the contructor. Moved the initiation of these arrays outside of the loop.

Wednesday 04 May 2016

2016-05-04 15:28:13 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.MAC: Fixed some warnings.

2016-05-04 15:25:09 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.None: Added the plaintext algorithm.
Crypto.AE: Added class.
Nettle: Added __builtin.Nettle.AE.

This is Authenticated Encryption without Authenticated Data.

2016-05-04 15:21:36 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash [HMAC]: Somewhat stricter type for `jwa().

Also adds some documentation.
__builtin.Nettle.MAC: Added support for HMAC-based JWS signatures.
Documentation [__builtin.Nettle.Sign]: Improved JOSE doc.

2016-05-04 15:19:28 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Implemented HMAC jwa with a little less code.

2016-05-04 12:50:40 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.None: Added the plaintext algorithm.
Crypto.AE: Added class.

2016-05-04 12:05:58 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Updated {en,de}code_jwt() to support HMAC signatures.

2016-05-04 12:01:31 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash [HMAC]: Somewhat stricter type for `jwa().

Also adds some documentation.

2016-05-04 11:58:11 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.MAC: Added support for HMAC-based JWS signatures.

2016-05-04 11:44:11 (4 weeks ago) by Marcus Wellhardh <wellhardh@roxen.com>

release number bumped to 8.0.237 by export.pike
release number bumped to 8.0.236 by export.pike

Tuesday 03 May 2016

2016-05-03 19:10:43 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash [HMAC]: Implement init().

The init() function in the HMAC State object now actually works
as documented.
__builtin.Nettle.Hash [HMAC]: Implement init().

The init() function in the HMAC State object now actually works
as documented.

2016-05-03 15:13:58 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Use find_inherited_identifier().

2016-05-03 10:01:55 (4 weeks ago) by Arne Goedeke <el@laramies.com>

cpp: correctly handle unterminated strings in macro arguments

Previously, when passing an unterminated string as an argument to a
macro with 'stringify'-flag, the code would read past the end of the
string. This could result in out of bounds memory access.
cpp: correctly handle unterminated strings in macro arguments

Previously, when passing an unterminated string as an argument to a
macro with 'stringify'-flag, the code would read past the end of the
string. This could result in out of bounds memory access.

Monday 02 May 2016

2016-05-02 19:35:15 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed some bugs in find_inherited_identifier().

2016-05-02 18:37:15 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added helper function find_inherited_identifier().

This function is intended to be used to reduce some of
the duplicated code in language.yacc.

2016-05-02 13:27:47 (4 weeks ago) by Marcus Wellhardh <wellhardh@roxen.com>

release number bumped to 8.0.234 by export.pike
release number bumped to 8.0.235 by export.pike

Sunday 01 May 2016

2016-05-01 13:26:33 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Auto bignum is always true

2016-05-01 13:21:24 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Less build output.

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

Compiler [auto]: Fixed multiple issues.

The PIKE_T_AUTO type node now always has a child type.

gc_check_type() now knows about PIKE_T_AUTO.

{debug_,}push_auto_typed_type() is no more.

Fixed issue with low_describe_type() appending to the wrong
buffer when describing the auto type.

Fixes some related type reference counting errors.

2016-05-01 01:13:31 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

--with-security is no more.

Saturday 30 April 2016

2016-04-30 13:48:27 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [__builtin.Sql.Connection]: Fixed minor typo.

2016-04-30 13:26:58 (4 weeks ago) by Pontus Östlund <ponost@roxen.com>

Refdoc: Had accidentally removed a date instantiation

2016-04-30 13:07:37 (4 weeks ago) by Pontus Östlund <poppanator@gmail.com>

Refdoc: Added modfiers to methods, variables and constants. Fixed a Pike doc error in Nettle.Sign.

Friday 29 April 2016

2016-04-29 17:06:02 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [__builtin.Nettle.Sign]: Improved JOSE doc.

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

Inotify: Fixed typo in previous commit.
Inotify: Simulate events for directory content at watch creation.

This reduces the race window for tracking directory content.
It also simplifies code that does such tracking.

Also updates Filesystem.Monitor.basic accordingly.

2016-04-29 12:10:14 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Micro-optimization. Use Date.now() instead of cloning new objects.

2016-04-29 00:41:46 (1 month ago) by Pontus Östlund <ponost@roxen.com>

Refdoc: Disabled the menu cache if the pages are viewed directly from the filesystem and not via a web server.

Thursday 28 April 2016

2016-04-28 23:11:35 (1 month ago) by Pontus Östlund <ponost@roxen.com>

Refdoc: Fixed the bug where the menu got duplicate entries when the cache had expired. Fixed the bug where the scroll got stuck if the main content area was shorter than the window height but the navigation menu taller than the window height.

2016-04-28 17:39:27 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.ClientConnection: Added compatibility note.

2016-04-28 17:15:05 (1 month ago) by Chris Angelico <rosuav@gmail.com>

Docs formatting to fix build error

2016-04-28 17:10:51 (1 month ago) by Chris Angelico <rosuav@gmail.com>

Tag IMAP docs for autodoc detection, and fix trivial typos

Wednesday 27 April 2016

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

Implemented HMAC jwa with a little less code.

2016-04-27 21:01:24 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Added Function.composite.

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

Added documentation of array as second argument to map().

2016-04-27 16:44:28 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto.RSA]: Fixed cut and paste error.
Documentation [Crypto.RSA]: Fixed cut and paste error.

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

__builtin.Nettle.Sign: Added JOSE default implementation.

Fixes some warnings in SSL.Context.

Adds default implementation of jose_{sign,decode}() for signature
algorithms that JOSE doesn't support (eg Crypto.DSA).
Web: Added {en,de}code_jwt(). Fixes most of [bug 7671].

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

Test HMAC jwa constants.
SHA256 is assumed due to Nettle version requirements. SHA384 and SHA512 are not.

2016-04-27 16:35:51 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Added some tests of JOSE JWS.

Test vectors taken from RFC 7515 A.2.1 and A.3.1.
Crypto.ECC.Curve.ECDSA: Added support for jose_{sign,decode}().
Crypto.RSA: Some API changes for jose_sign().

Changed argument order and added defaults for the hash algorithm.
Documentation [RSA]: Minor doc change for jose_decode().
Crypto.RSA: Add some support for JOSE JWS signatures.
MIME: Improved types for {en,de}code_base64url().
Crypto: Added algorithm identifiers from JWA (RFC 7518:3.1).

Fixes some of [bug 7671].

2016-04-27 05:30:39 (1 month ago) by Chris Angelico <rosuav@gmail.com>

Fix docs typo

2016-04-27 01:15:43 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Some blowfish keys are weak, for which an exception is thrown. Make the test deterministic to avoid rare failures because of this.

Tuesday 26 April 2016

2016-04-26 18:58:34 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed a few NULL dereferences in previous commit.

2016-04-26 17:25:49 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Survive deprecated efuns returning void.

The compiler didn't handle attributed returned void values correctly,
and assumed that they would return a value.

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

Testsuite [Random]: Added test triggering a runtime or compiler bug.

As far as I can see, the compiler generates the correct byte code,
but for some reason it looks like a local variable gets overwritten
by a value pushed onto the stack.

Monday 25 April 2016

2016-04-25 20:09:32 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed extraneous entries on type mark stack.

pop_type() restores the stack mark when done (which often isn't
what you want or expect...).
Compiler: Fixed extraneous entries on type mark stack.

pop_type() restores the stack mark when done (which often isn't
what you want or expect...).

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

decode_value: Fixed double free on error in cleanup.

Sunday 24 April 2016

2016-04-24 20:03:44 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

git_export_autodoc: Only export doc for the main branches.

This works around the problem that git-fast-import fails when
a branch has been rebased.

2016-04-24 17:11:37 (1 month ago) by Arne Goedeke <el@laramies.com>

Interpreter: cleanup
Interpreter: simplified object initializers

2016-04-24 17:09:09 (1 month ago) by Arne Goedeke <el@laramies.com>

Interpreter: added more debug checks
Interpreter: fix potential ref leak in frame_setup_from_fun

2016-04-24 17:06:46 (1 month ago) by Arne Goedeke <el@laramies.com>

Interpreter: fix unlink_previous_frame

Saturday 23 April 2016

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

Testsuite [Random]: Updated expected values.

After the my_log2() fix, the results in the 64 bit range
changed (as intended).

2016-04-23 14:30:02 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent: Fixed some typos.

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

__builtin.Nettle.Sign: Added JOSE default implementation.

Fixes some warnings in SSL.Context.

Adds default implementation of jose_{sign,decode}() for signature
algorithms that JOSE doesn't support (eg Crypto.DSA).

Friday 22 April 2016

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

Apple.Keychain: Don't validate the certificates here.

Many of the certificates in the default keychain files are
expired or unsuitable for use with TLS, but may be useful
for other stuff, so leave it to the user to perform validation.

Also improves the parser and diagnostics somewhat.
Standards.X509: Added X509_VALIDATION_DEBUG.

The above macro is intended to be used to debug why certificates
fail to validate, without drowning in other debug.

Also adds some more stuff to TBSCertificate()->_sprintf().
Standards.X509 [MacOS X]: Try a few more keychain files.

It seems the files "X509Anchors" and "X509Certificates" are obsolete,
and have been replaced by "SystemRootCertificates.keychain" and
"SystemCACertificates.keychain".

Also makes sure to validate the certificates from Apple.Keychain.

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

Standards.X509 [MacOS X]: Try a few more keychain files.

It seems the files "X509Anchors" and "X509Certificates" are obsolete,
and have been replaced by "SystemRootCertificates.keychain" and
"SystemCACertificates.keychain".

Also makes sure to validate the certificates from Apple.Keychain.
Standards.X509: Added X509_VALIDATION_DEBUG.

The above macro is intended to be used to debug why certificates
fail to validate, without drowning in other debug.

Also adds some more stuff to TBSCertificate()->_sprintf().
Apple.Keychain: Don't validate the certificates here.

Many of the certificates in the default keychain files are
expired or unsuitable for use with TLS, but may be useful
for other stuff, so leave it to the user to perform validation.

Also improves the parser and diagnostics somewhat.

2016-04-22 14:05:31 (1 month ago) by Pontus Östlund <ponost@roxen.com>

Web.Api.Api: Fixed so that POST actions actually works.

It now also tries to detect if a file is being uploaded. This works by looking at the parameter values and if a value contains "filename=..." a multipart message will be created. So in short this would look something like:

string file = "the-file.png";
string data = Stdio.read_file(file);
mapping params = ([ "the_file_param" : "filename=" + file ]);

api->post("method/endpoint", params, data);

2016-04-22 13:41:33 (1 month ago) by Pontus Östlund <ponost@roxen.com>

Web.Api.Api: Fixed so that POST actions actually works.

It now also tries to detect if a file is being uploaded. This works by looking at the parameter values and if a value contains "filename=..." a multipart message will be created. So in short this would look something like:

string file = "the-file.png";
string data = Stdio.read_file(file);
mapping params = ([ "the_file_param" : "filename=" + file ]);

api->post("method/endpoint", params, data);

Thursday 21 April 2016

2016-04-21 18:05:41 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.X509: Missed a line during forward porting.

2016-04-21 18:01:19 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.X509: load_authorities() now knows about ca-bundle.crt.

The certificate bundle file seems to have been split up and had
a change of names in RHEL 7.

Fixes validation of SSL certificates on RHEL 7.

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

Standards.X509: load_authorities() now knows about ca-bundle.crt.

The certificate bundle file seems to have been split up and had
a change of names in RHEL 7.

Fixes validation of SSL certificates on RHEL 7.

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

Standards.X509: load_authorities() now knows about Apple.Keychain.

Improves likelyhood that the SSL root certificates will be found on MacOS X.
Apple.Keychain: Added initial parser of Keychain files.

CAVEAT: This is a VERY limited implementation, and is only
intended to be used to extract root certificates
from "/Library/Keychains/X509Anchors".

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

Standards.X509: load_authorities() now knows about Apple.Keychain.

Improves likelyhood that the SSL root certificates will be found on MacOS X.

2016-04-21 16:50:30 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Apple.Keychain: Added initial parser of Keychain files.

CAVEAT: This is a VERY limited implementation, and is only
intended to be used to extract root certificates
from "/Library/Keychains/X509Anchors".

Wednesday 20 April 2016

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

Random: Use unsigned integers.

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

Stuff: Support 64 bit integers in my_log2().

Fixes some issues with random() on values larger than 32 bits.

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

Web: Added {en,de}code_jwt(). Fixes most of [bug 7671].

2016-04-20 00:49:30 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Test HMAC jwa constants.

Tuesday 19 April 2016

2016-04-19 21:23:17 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

SHA256 is assumed due to Nettle version requirements.

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

SHA256 is assumed due to Nettle version requirements. SHA384 and SHA512 are not.

2016-04-19 16:55:52 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Added some tests of JOSE JWS.

Test vectors taken from RFC 7515 A.2.1 and A.3.1.
Crypto.ECC.Curve.ECDSA: Added support for jose_{sign,decode}().

2016-04-19 16:52:05 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Some API changes for jose_sign().

Changed argument order and added defaults for the hash algorithm.

2016-04-19 14:25:05 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [RSA]: Minor doc change for jose_decode().

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

Crypto.RSA: Add some support for JOSE JWS signatures.

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

MIME: Improved types for {en,de}code_base64url().

2016-04-19 09:08:58 (1 month ago) by Pontus Östlund <ponost@roxen.com>

Refdoc: Fixed the bug where the module/classes/methods menu failed to load occationally. And some other aesthetical improvements.

[permalink]

Bugs mentioned

  7671NEWImplement support for JWT
  7684NEWFeed: Recursive mutex locks
Bugs? Suggestions?