Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 4 checkins (+31/-5) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 2 checkins (+26/-6) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 2 checkins (+5/-3) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+34/-23) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 8 checkins (+66/-38) by 2 people : 5 checkins (+35/-9) by 3 people : 5 checkins (+88/-8) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+36/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 7 checkins (+180/-9) by 2 people : 11 checkins (+465/-303) by 3 people : 4 checkins (+17/-4) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 16 checkins (+843/-228) by 4 people : 4 checkins (+17/-3) by 3 people : 9 checkins (+19/-67) by 3 people : 7 checkins (+31/-11) by 2 people : 7 checkins (+84/-85) by 3 people : 1 checkin (+13/-7) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+2/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 5 checkins (+13/-6) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 10 checkins (+20/-10) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 9 checkins (+33/-92) by 2 people : 3 checkins (+7/-5) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 12 checkins (+70/-15) by 2 people : 5 checkins (+51/-7) by 3 people : 6 checkins (+155/-119) by 3 people : 4 checkins (+12/-9) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 7 checkins (+15/-14) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 11 checkins (+255/-377) by 2 people : 4 checkins (+7/-250) by 2 people : 1 checkin (+3/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+27/-7) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 19 checkins (+9/-6) by 2 people : 11 checkins (+126/-43) by 3 people : 7 checkins (+157/-122) by 3 people : 4 checkins (+173/-17) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 7 checkins (+151/-2) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 14 checkins (+234/-25) by 2 people : 4 checkins (+27/-0) by 2 people : 12 checkins (+66/-12) by 3 people : 35 checkins (+488/-2070) by 4 people Lines added/removed recently

Yesterday; Monday 25 September 2017

2017-09-25 21:24:14 (15 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Updated with all changes since 8.0.466.

Also rewords, reorders and regroups several entries.

2017-09-25 19:20:03 (17 hours ago) by Arne Goedeke <el@laramies.com>

MsgPack: typo in error message
Added encoding test for tree-like structures

2017-09-25 19:02:51 (18 hours ago) by Martin Nilsson <nilsson@fastmail.com>

Added missing documentation note of month_days

2017-09-25 18:05:44 (19 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.487 by export.pike
release number bumped to 8.0.486 by export.pike

2017-09-25 17:55:16 (19 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.2.55 by buildsystem.

2017-09-25 17:04:55 (20 hours ago) by Karl Gustav Sterneberg <kg@roxen.com>

JS and CSS cache busting [CMS-205]

First stab on this...

2017-09-25 17:02:30 (20 hours ago) by Karl Gustav Sterneberg <kg@roxen.com>

Removed trailing spaces.

2017-09-25 16:45:34 (20 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Removed a few more obsolete betas.

2017-09-25 16:41:30 (20 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Removed quite a few obsolete betas.

2017-09-25 16:35:07 (20 hours ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated manifest for 7.8.116 and 7.8.316.
Pike 8.0.466 has been released as Pike 8.0 stable release 10.

2017-09-25 12:18:51 (1 day ago) by Martin Nilsson <nilsson@fastmail.com>

Minor fixes

2017-09-25 12:07:23 (1 day ago) by Martin Nilsson <nilsson@fastmail.com>

Quick summary of latest changes.

2017-09-25 11:42:36 (1 day ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

mkpackage: Fix propagation of extra platform test error code.

Reorder the assignments of EXIT and EXITCODE, so that the
assignment of EXIT doesn't clear $? before it is used for
the assignment of EXITCODE.

Fixes [PIKE-40].

2017-09-25 11:39:15 (1 day ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

mkpackage: Fix propagation of extra platform test error code.

Reorder the assignments of EXIT and EXITCODE, so that the
assignment of EXIT doesn't clear $? before it is used for
the assignment of EXITCODE.

Fixes [PIKE-40].

Sunday 24 September 2017

2017-09-24 21:50:40 (2 days ago) by Arne Goedeke <el@laramies.com>

CHANGES: document Stdio.Buffer bugfixes

2017-09-24 20:54:17 (2 days ago) by Peter Bortas <bortas@gmail.com>

CHANGES: Fresh template for next release

2017-09-24 19:47:18 (2 days ago) by Peter Bortas <bortas@gmail.com>

release number bumped to 8.0.485 by export.pike
release number bumped to 8.0.484 by export.pike

2017-09-24 11:14:53 (2 days ago) by Arne Goedeke <el@laramies.com>

MsgPack.encode_to(): call fd output function

2017-09-24 11:00:33 (2 days ago) by Arne Goedeke <el@laramies.com>

Stdio.Buffer: added more missing io_trigger_output calls

add_padding() and add_bignum() did not trigger the fd output callback.
Stdio.Buffer: added more missing io_trigger_output calls

add_padding() and add_bignum() did not trigger the fd output callback.

2017-09-24 10:54:33 (2 days ago) by Arne Goedeke <el@laramies.com>

Stdio.Buffer: trigger fd output in add_int*() and input_from()

The add_int family of methods and input_from() did not trigger a call
to the fd output function, which could result in write() never being
called when using Stdio.File buffer mode.

2017-09-24 10:51:29 (2 days ago) by Arne Goedeke <el@laramies.com>

Stdio.Buffer: trigger fd output in add_int*() and input_from()

The add_int family of methods and input_from() did not trigger a call
to the fd output function, which could result in write() never being
called when using Stdio.File buffer mode.

2017-09-24 09:34:46 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Efuns: Improved comparison of programs in equal().

Equal now regards programs (that use parent pointers) that are
the same class, but have differing parent objects as the same.

Saturday 23 September 2017

2017-09-23 21:53:04 (3 days ago) by Martin Nilsson <nilsson@fastmail.com>

US date formatting, m/d/y.

2017-09-23 14:10:38 (3 days ago) by Martin Nilsson <nilsson@fastmail.com>

Added month_days() that returns the number of days in the month.

2017-09-23 11:41:01 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.ECDSA: Support strings in set_private_key().

Convenience variant for setting the ECDSA private key from
a binary string.

Fixes testsuite failure.

Friday 22 September 2017

2017-09-22 15:58:45 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [Crypto]: Test JWK-codec.
Crypto.ECC.Curve.ECDSA: Added get_point().
__builtin.Nettle.ECC_Curve.Point: Added _equal().
Web: decode_jwk() now returns an ECDSA object for private keys.
__builtin.Nettle.Hash._HMAC.State: Implement jwk().

Web.encode_jwk() should now support generating JWKs for HMACs.

Fixes remainder of [PIKE-39].
Crypto.ECC.Curve.ECDSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from ECDSA objects.

Fixes more of [PIKE-39].

2017-09-22 15:03:31 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from RSA objects.

Fixes some of [PIKE-39].

2017-09-22 14:58:42 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web [Crypto]: Added encode_jwk().

This is the reverse of Web.decode_jwk().

Note that no actual encodings are generated yet.

Fixes some of [PIKE-39].

2017-09-22 14:27:10 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web: Work around variant dispatcher bug in decode_jwk()

For some reason the variant dispatcher doesn't handle string(7bit)
correctly, so relax the type somewhat.
Testsuite [Crypto]: Test JWK-codec.
Web: decode_jwk() now returns an ECDSA object for private keys.
Crypto.RSA.State: Fix bugs in LFUN::_equal().

Crypto.RSA.PSSState()->_equal() interfered with _equal()
for the other states.

2017-09-22 12:39:18 (4 days ago) by Chris Angelico <rosuav@gmail.com>

Improve function signature in debug mode (eliminates warning)

Thursday 21 September 2017

2017-09-21 17:51:23 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash._HMAC.State: Implement jwk().

Web.encode_jwk() should now support generating JWKs for HMACs.

Fixes remainder of [PIKE-39].

2017-09-21 17:49:19 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.Hash._HMAC: Propagate password to inherited implementation.

2017-09-21 15:34:19 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve.ECDSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from ECDSA objects.

Fixes more of [PIKE-39].

2017-09-21 15:31:49 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from RSA objects.

Fixes some of [PIKE-39].

2017-09-21 15:27:30 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Web [Crypto]: Added encode_jwk().

This is the reverse of Web.decode_jwk().

Note that no actual encodings are generated yet.

Fixes some of [PIKE-39].

2017-09-21 09:56:14 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA.OAEP: Fixed typo.

Wednesday 20 September 2017

2017-09-20 14:10:23 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Added some optional consistency checks.

Defining SEARCH_DB_CONSISTENCY_CHECKS will now cause the module
to perform some extra SQL queries to make sure that the modified
entries are consistent.
Search.Database.MySQL: Fixed truncation of word_hit.hits.

word_hit.hits should now lose its padding on the last write.

Also some related code cleanup.

2017-09-20 14:06:37 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Added some optional consistency checks.

Defining SEARCH_DB_CONSISTENCY_CHECKS will now cause the module
to perform some extra SQL queries to make sure that the modified
entries are consistent.

2017-09-20 14:03:02 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Fixed truncation of word_hit.hits.

word_hit.hits should now lose its padding on the last write.

Also some related code cleanup.

Tuesday 19 September 2017

2017-09-19 16:36:16 (7 days ago) by Pontus Östlund <ponost@roxen.com>

PikeDoc fixes only to make the PikeDoc parser stop complaining.

2017-09-19 15:28:08 (7 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Fixed bugs in store_to_db().

Work around for MySQL/MariaDB interpreting

INSERT('ABC', 3, 3, 'DEF')

as equivalent to just 'ABC' (and NOT 'ABCDEF').

Note that

INSERT('ABCX', 3, 3, 'DEF')

does result in 'ABCDEF'.

Also some code clean up to reduce the number of special cases.

2017-09-19 15:24:11 (7 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Fixed bugs in store_to_db().

Work around for MySQL/MariaDB interpreting

INSERT('ABC', 3, 3, 'DEF')

as equivalent to just 'ABC' (and NOT 'ABCDEF').

Note that

INSERT('ABCX', 3, 3, 'DEF')

does result in 'ABCDEF'.

Also some code clean up to reduce the number of special cases.

2017-09-19 14:31:42 (7 days ago) by Tobias Liin <liin@roxen.com>

Added support for configuring paths in the periodic fetcher config file.

If a line in the text file contains a path instead of a URL, a module
setting "Base URL" will be prepended to the path to construct a full
URL. This allows for frontend specific crawl url:s.

(cherry picked from commit 48e4dfbb624365ff22a8c2580f1e8fb6b8275023)

2017-09-19 14:17:25 (7 days ago) by Tobias Liin <liin@roxen.com>

Added support for configuring paths in the periodic fetcher config file.

If a line in the text file contains a path instead of a URL, a module
setting "Base URL" will be prepended to the path to construct a full
URL. This allows for frontend specific crawl url:s.

2017-09-19 10:46:55 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Moved PIKE_DEBUG check some more.

Second attempt at fixing erroneous fatal "Stack failure in
POP_PIKE_FRAME "..." 0!" when compiling --with-debug.

Monday 18 September 2017

2017-09-18 23:44:26 (1 week ago) by Tobias S. Josefowitz <tobij@tobij.de>

Protocols.DNS: Add support for CAA records.

Certificate Authorities are actually required to check for them since
this month as mandated by the CA/Browser Forum.

2017-09-18 12:34:46 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Moved PIKE_DEBUG check.

Fixes erroneous fatal "Stack failure in POP_PIKE_FRAME "..." 0!",
when compiling --with-debug.

2017-09-18 09:57:31 (1 week ago) by Pontus Östlund <ponost@roxen.com>

Minor touches on the pike and request profiling pages.

Minor aesthetical changes.

2017-09-18 09:55:04 (1 week ago) by Pontus Östlund <ponost@roxen.com>

Disabled the install/unistall buttons if the lists are empty.
Added disabled attribute to <submit-gbutton2 />

Sunday 17 September 2017

2017-09-17 13:02:49 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Parser.Pike: Converted C module to CMOD.

2017-09-17 12:17:43 (1 week ago) by Pontus Östlund <ponost@roxen.com>

Merge branch 'devel' into ponost/admin-if-17

Saturday 16 September 2017

2017-09-16 14:15:57 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

PollDeviceBackend [kqueue]: Fixes related to PIKE_FD_FS_EVENT.

Updating the FS_EVENT notification flags should now work better.

Friday 15 September 2017

2017-09-15 13:00:35 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [kqueue]: Fixed typo in chmod test.

Octal numbers need to be prefixed with 0...

Also increases the test paranoia by forcing the umask, and testing
by removing read for other (instead of adding rwx for all).

Fixes chmod failing for "Unknown reason" on FreeBSD.

Thursday 14 September 2017

2017-09-14 23:39:26 (2 weeks ago) by Arne Goedeke <el@laramies.com>

Compiler [arm64]: do not modify instrs array
ARM: remove opcode statistics

There is a similar feature already available when compiling
with debug.

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

Compiler [ia32]: Don't modify the instrs array.

Fixes compilation error.

Wednesday 13 September 2017

2017-09-13 19:05:10 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [kqueue]: Fixed another typo.

2017-09-13 15:54:04 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [kqueue]: Fixed typo.

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

Testsuite [kqueue]: Improved diagnostics.

Log the test that is in progress, and the tests that fail.

Also don't abort the kqueue test program after the first failed test.

2017-09-13 07:18:26 (2 weeks ago) by Arne Goedeke <el@laramies.com>

Compiler: removed unused instr_names[]

Since instrs[] is now generate during compile time, the instr_names[]
array is not used, anymore.

2017-09-13 07:12:08 (2 weeks ago) by Arne Goedeke <el@laramies.com>

Compiler: remove instrs_checksum

This value has not been used anymore since portable bytecode was turned
always on.

2017-09-13 06:59:00 (2 weeks ago) by Arne Goedeke <el@laramies.com>

Compiler: generate opcode arrays at compile time

This commit generates the opcode enum and all static opcode
arrays at compile time. All those arrays are constant now, too.
Compiler: do not modify instrs array

Tuesday 12 September 2017

2017-09-12 11:56:52 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.483 by export.pike
release number bumped to 8.0.482 by export.pike
Stdio.File: Don't preallocate huge read buffers.

It is common for code to attempt to read huge (typically on
the order of 2GB) amounts of data from sources which are
expected to be much smaller. Don't fail the read() due to
there being no memory for the huge buffer.

Fixes multiple build failures.

2017-09-12 11:48:30 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.1.215 by buildsystem.

2017-09-12 11:20:32 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/patchsystem' into 6.1

* grubba/patchsystem:
git-rxnpatch: Fixed .distignore handling.
Merge branch 'grubba/patchsystem' into devel

* grubba/patchsystem:
git-rxnpatch: Fixed .distignore handling.

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

git-rxnpatch: Fixed .distignore handling.

Empty .distignore files are noops; NOT directives to ignore the
entire directory.

Fixes issues with patches missing some files.

Monday 11 September 2017

2017-09-11 13:00:33 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.2.54 by buildsystem.

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

DVB: Improved support for non-Linux OSes.

FreeBSD apparently has DVB, but not the Linux-specific
typedef __u16, so use unsigned INT16 instead.

2017-09-11 11:22:59 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws62' into devel

* patches/ws62:
Testsuite [html_wash]: Adjust tests for quoting change.
Replaced ' with " in href attribute when linkifying.
Changed from '' to "" in tagdoc for coherency with the existing doc.
Added attribute link-rel='' to <wash-html>.

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

Testsuite [html_wash]: Adjust tests for quoting change.

The quotes for the generated href attributes have been changed from ' to ".

Fixes [WS-62].

Sunday 10 September 2017

2017-09-10 23:03:22 (2 weeks ago) by Arne Goedeke <el@laramies.com>

Stdio.File(): allow reading more than 2GB at once

* use size_t instead of int for the number of bytes to read
* use flags to control the read behavior
* in blocking mode the interpreter lock is only released and re-aquired
once per call

These changes apply both to read(2) and recvmsg(2).

2017-09-10 13:20:46 (2 weeks ago) by Marcus Comstedt <marcus@mc.pp.se>

Compiler: Add support for abbreviated function definitions

2017-09-10 13:08:20 (2 weeks ago) by Marcus Comstedt <marcus@mc.pp.se>

Compiler: Fix old bug that root tree node is never typechecked

2017-09-10 12:33:20 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.odbc: Removed some redundant and obsolete code.

Saturday 09 September 2017

2017-09-09 20:18:33 (2 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

Test case and CHANGES for void changes.

2017-09-09 12:36:40 (2 weeks ago) by Marcus Comstedt <marcus@mc.pp.se>

Compiler: Allow return void expression from void function

Fixes [LysLysKOM 22188815].

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

Build [Protocols.DNS.SD]: Improved support for FreeBSD.

Include sufficient headerfiles to get htons() et al.

Friday 08 September 2017

2017-09-08 16:14:37 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.2.53 by buildsystem.

2017-09-08 16:08:46 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws46' into devel

* patches/ws46:
DBManager: Improved robustness.
DBManager: Fixed broken error 185/190 detection.
DBManager: Improved robustness.

2017-09-08 16:05:32 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Fixed broken error 185/190 detection.

Don't throw zeros...

Fixes [WS-61].

2017-09-08 15:36:34 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/mariadb' into 6.1

* patches/mariadb:
DBManager: Improved robustness of DB upgrade code.

2017-09-08 14:19:43 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle [Curve25519]: Improved detection of X25519 support.

Don't implement Curve25519 if nettle_ed25519_sha512_sign()
isn't available.

Improves robustness against mismatching header files and libraries.

2017-09-08 14:14:57 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.480 by export.pike
release number bumped to 8.0.481 by export.pike

2017-09-08 14:05:58 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.2.52 by buildsystem.

2017-09-08 14:02:09 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/mariadb' into devel

* patches/mariadb:
DBManager: Improved robustness of DB upgrade code.

2017-09-08 13:49:49 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Improved robustness of DB upgrade code.

When upgrading from MySQL 5.0 to MariaDB 10.1, the mysql_upgrade
script apparently forgets to flush something, which causes the
database to complain, and the upgrade to fail (verbose mode):

[...]
| Phase 3/7: Fixing views
| Processing databases
| information_schema
| mysql
| Phase 4/7: Running 'mysql_fix_privilege_tables'
| [TIMESTAMP] [ERROR] Column count of mysql.db is wrong. Expected 22, found 21. The table is probably corrupted
| [TIMESTAMP] [ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
| ERROR 1408 (HY000) at line 542: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
| FATAL ERROR: Upgrade failed

Rerunning the mysql_upgrade script immediately after completes
without further complaints (still verbose mode):

[...]
| Phase 3/7: Fixing views
| Processing databases
| information_schema
| mysql
| performance_schema
| Phase 4/7: Running 'mysql_fix_privilege_tables'
| Phase 5/7: Fixing table and database names
[...]

check_upgrade_mysql() now reruns mysql_upgrade once if it failed the
first time. It also throws an error if it also fails the second time.

Fixes [WS-60].

2017-09-08 08:46:10 (3 weeks ago) by Erik Allemann <erik@roxen.com>

Version bumped to 6.2.51 by buildsystem.

Thursday 07 September 2017

2017-09-07 12:54:04 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Removed some debug.

2017-09-07 12:51:30 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Nettle]: Fixed yet another C99-ism.

2017-09-07 12:10:06 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.1.214 by buildsystem.

Wednesday 06 September 2017

2017-09-06 18:24:15 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.1.213 by buildsystem.

2017-09-06 16:13:04 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.478 by export.pike
release number bumped to 8.0.479 by export.pike

2017-09-06 16:04:17 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.1.212 by buildsystem.

2017-09-06 14:54:42 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backend: Reduce code duplication in callback wrapping code.

Unifies the common code of WRAP() and WRAP2() into LOW_WRAP()
and LOW_WRAP_SET_CB().

This makes the difference between WRAP() and WRAP2() more visible.

2017-09-06 14:09:37 (3 weeks ago) by Karl Gustav Sterneberg <kg@roxen.com>

release number bumped to 8.0.476 by export.pike
release number bumped to 8.0.477 by export.pike

2017-09-06 14:00:51 (3 weeks ago) by Karl Gustav Sterneberg <kg@roxen.com>

Version bumped to 6.2.50 by buildsystem.

2017-09-06 11:34:31 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.1.211 by buildsystem.

Tuesday 05 September 2017

2017-09-05 16:07:45 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.474 by export.pike
release number bumped to 8.0.475 by export.pike

2017-09-05 15:59:26 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.1.210 by buildsystem.

2017-09-05 14:55:11 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql: Fixed typo in mysql_config detection.
Mysql: Fixed typo in mysql_config detection.

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

release number bumped to 8.0.473 by export.pike
release number bumped to 8.0.472 by export.pike

2017-09-05 13:58:09 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.1.209 by buildsystem.

2017-09-05 10:56:31 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Mysql]: Fix issues with detection if mariadb_config.

Potential fix for build system issues [PIKE-35].
Build [Mysql]: Fix issues with detection if mariadb_config.

Potential fix for build system issues [PIKE-35].

Monday 04 September 2017

2017-09-04 19:29:56 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

release number bumped to 8.0.470 by export.pike
release number bumped to 8.0.471 by export.pike

2017-09-04 19:21:48 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.1.208 by buildsystem.

2017-09-04 14:22:20 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Standalone.test_pike: Improved logging.

Make sure to always log something when a subtestsuite fails.

2017-09-04 12:45:35 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cache.Storage.MySQL: Fixed deprecation warning.

Fixes testsuite failures on platforms with Mysql.

Sunday 03 September 2017

2017-09-03 12:46:36 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Search.Database.MySQL: Updated type.

Fixes deprecation warning.

Fixes testsuite failures on platforms that have Mysql.

Saturday 02 September 2017

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

Mysql.result: Renamed seek() to low_seek().

This function performs absolute positioning (rather than the
relative positioning of __builtin.Sql.Result()->seek()), and
was shadowed by a generic (relative) implementation in previous
versions of Pike.

CAVEAT: Old code that used sql_res->master_res->seek() will
break and need to be updated. Any such code will trigger
warnings as master_res has been declared deprecated.
It is also unlikely that any such code exists, since the
function didn't comply with its documented behavior.

Fixes some testsuite failures.

Friday 01 September 2017

2017-09-01 15:45:33 (4 weeks ago) by Karl Gustav Sterneberg <kg@roxen.com>

AFS post_files: Prevent full local path as filename. [CMS-247]

Specifying filename when using FormData.append() prevents browsers
(like IE) from using full local path as filename.

2017-09-01 14:43:28 (4 weeks ago) by Martin Karlgren <marty@roxen.com>

Merge branch 'feature/CMS-247-prevent-full-local-path-as-filename' into devel

* feature/CMS-247-prevent-full-local-path-as-filename:
AFS post_files: Prevent full local path as filename. [CMS-247]
AFS post_files: Prevent full local path as filename. [CMS-247]

2017-09-01 14:10:56 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File(): close() fixes.

Unify low level calls close_fd() and close_fd_quietly() to reduce
code duplication.

Fix error handling in close_fd() and do_close_fd(). POSIX says that
fds are closed on all errors except EINTR, where it is unspecified.
Don't complain about close(2) failing with EBADF if it previously
failed with EINTR.

Ignore close(2) failing with ECONNRESET. This happens on eg FreeBSD
when there is still data pending to be sent and the peer has already
closed the connection.

Fix documentation for the return value of close().

Potential fix for testsuite failures on FreeBSD.

Thursday 31 August 2017

2017-08-31 15:53:07 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/chaining_http' into devel

* grubba/chaining_http:
HTTP: Simplify hand over of connection to other protocols.

2017-08-31 15:46:45 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP: Simplify hand over of connection to other protocols.

The variable chained_to is now the notification function instead
of an object containing a my_fd_released() function.

2017-08-31 14:43:51 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Result: Adjusted type for master_res.

Fixes type conflict with Sql.sql_array_result and Sql.null.

2017-08-31 13:40:12 (4 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

System.Inotify: Compilefix, can't check for inotify_config.h

2017-08-31 10:48:19 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compat [__builtin.Sql.Result]: Added getter for master_sql.

Fixes testsuite failure.

Wednesday 30 August 2017

2017-08-30 22:53:50 (4 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

System.Inotify: Compilefix, can't check for inotify_config.h

2017-08-30 14:10:56 (4 weeks ago) by Martin Nilsson <nilsson@fastmail.com>

sys/types.h has been part of POSIX since issue 1. It was randomly guarded in configure tests, so lets use it without ifdef.

2017-08-30 11:38:02 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Image.TTF]: Removed remaining use of DOUBLE_TO_INT().

Tuesday 29 August 2017

2017-08-29 15:16:56 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.ECC.Curve25519.EdDSA: Fixed API for set_private_key().

It now returns the current object.

2017-08-29 13:21:06 (4 weeks ago) by Marcus Agehall <agehall@roxen.com>

Version bumped to 6.2.49 by buildsystem.

2017-08-29 08:39:44 (4 weeks ago) by Karl Gustav Sterneberg <kg@roxen.com>

AFS post_files: Prevent full local path as filename. [CMS-247]

Update of minified files. Should have been included in commit
e8ea8cef129b3175ae8144a1bb4fde0960c38b24.

Monday 28 August 2017

2017-08-28 23:19:33 (4 weeks ago) by Per Cederqvist <cederp@opera.com>

Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror. By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.
Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror. By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.

2017-08-28 23:11:31 (4 weeks ago) by Per Cederqvist <cederp@opera.com>

Add extensible error handling in Protocols.DNS.server

Some servers might want to report errors during other mechanisms than
werror. By moving the error reporting to the new
report_decode_error() method, it is easy to override that method and
do something else.

Likewise, some servers might want to not reply to malformed requests.
Move that code to the new handle_decode_error() method.

2017-08-28 21:57:16 (4 weeks ago) by Marcus Agehall <agehall@roxen.com>

Refactoring after suggestions from Grubba.

2017-08-28 15:15:43 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [__builtin.Nettle]: Survive without SHA512.

2017-08-28 14:24:36 (4 weeks ago) by Marcus Agehall <agehall@roxen.com>

Added WebSocket support to Roxen.

2017-08-28 13:08:27 (4 weeks ago) by Karl Gustav Sterneberg <kg@roxen.com>

Merge branch 'devel' into feature/CMS-247-prevent-full-local-path-as-filename

Sunday 27 August 2017

2017-08-27 14:50:03 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Stdio]: Prefer <termios.h> to <sys/termios.h>.

Use the same header file consistently.

Fixes compilation warnings on FreeBSD 10.3.

Saturday 26 August 2017

2017-08-26 19:08:44 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

We don't build a hilfe binary anymore.

2017-08-26 18:49:45 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Remove the GCC patch workaround for Solaris.

2017-08-26 18:09:19 (1 month ago) by Marcus Agehall <agehall@roxen.com>

Added WebSocket support to Roxen.

2017-08-26 11:44:56 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [GSSAPI]: Fix linking issues on FreeBSD 10.3.

On FreeBSD 10.3 -lgssapi contains gss_wrap(), but the definitions
for GSS_KRB5_NT_PRINCIPAL_NAME are in -lgssapi_krb5 (which doesn't
contain gss_wrap()).

Fixes multiple testsuite failures due to failing to load the GSSAPI
module (due to the missing symbol).

Friday 25 August 2017

2017-08-25 12:46:08 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/patchsystem' into 6.1

* grubba/patchsystem:
git-rxnpatch: Fixed some option name typos.
git-rxnpatch: Add support for filename remapping.
git-rxnpatch: Added option --path-remap-rule.

2017-08-25 12:38:53 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/patchsystem' into devel

* grubba/patchsystem:
git-rxnpatch: Fixed some option name typos.
git-rxnpatch: Add support for filename remapping.
git-rxnpatch: Added option --path-remap-rule.
git-rxnpatch: Fixed some option name typos.

The --path-remap-rule option should now work.

Fixes [WS-58] some more.

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

git-rxnpatch: Add support for filename remapping.

The "make" command now rewrites relevant parts of the generated diffs
to support remapping of filenames.

Fixes remainder of [WS-58].

2017-08-25 11:54:32 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

git-rxnpatch: Added option --path-remap-rule.

This option is used to edit the path_remapping_rules.txt file.

It will in turn be used to perform custom remapping of files to
handle files that have been moved by the build system.

Fixes some of [WS-58].

2017-08-25 11:28:10 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Define __BSD_VISIBLE to make FreeBSD 10.3 happy.

2017-08-25 09:18:55 (1 month ago) by Karl Gustav Sterneberg <kg@roxen.com>

AFS post_files: Prevent full local path as filename. [CMS-247]

Specifying filename when using FormData.append() prevents browsers
(like IE) from using full local path as filename.

Thursday 24 August 2017

2017-08-24 11:39:10 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Enable X Open Group (XPG) extensions.

Wednesday 23 August 2017

2017-08-23 15:17:47 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.sqlite: Throw an error in list_fields() if no such table.

Fixes testsuite failures.

2017-08-23 12:25:23 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Moved some prototypes.

Fixes compilation issues --without-machine-code.

2017-08-23 11:39:07 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.PKCS: Fixed decoding of PKCS#8 public keys.

The public key data is for some reason kept in a BIT STRING
(and not in an OCTET STRING)...
Parser.PKCS: Added some support for PKCS#10.

2017-08-23 00:21:31 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Lazy load MIME module as well.

Tuesday 22 August 2017

2017-08-22 20:24:32 (1 month ago) by Marcus Agehall <agehall@gmail.com>

The id variable will be overridden by the local variable, so the id
passed to onopen() will be the Stdio.File object which seems wrong.

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

Standards.PKCS: Fixed decoding of PKCS#8 public keys.

The public key data is for some reason kept in a BIT STRING
(and not in an OCTET STRING)...

2017-08-22 01:38:41 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Use Pike.Lazy

Monday 21 August 2017

2017-08-21 18:48:10 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Don't test Lazy.pmod

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

Abstract lazy resolving into the Pike.Lazy module.

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

__builtin.Nettle.MAC: Reduce circular dependencies on JSON.

Standards.JSON.encode() and Standards.JSON.decode() are now resolved
on demand at runtime to reduce the number of dependencies.

Sunday 20 August 2017

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

Gmp.mpz: Support negative exponents in `**() and ``**().

Saturday 19 August 2017

2017-08-19 11:45:24 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Types: Fixed off by one errors in traversal of the type hash table.

The value pike_type_hash_size is misnamed as it is the mask
(and thus one less than the size) of the type hash table.

This fixes a few loops that missed traversing the last bucket of
the type hash table due to handling pike_type_hash_size as a size.

Friday 18 August 2017

2017-08-18 14:21:50 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle [Blowfish]: Don't throw errors in make_key().

Let make_key() generate a new key if the generated key isn't
accepted by set_encrypt_key().

Fixes issue where eg Nettle.Blowfish()->make_key() intermittently
threw errors due to the generated key being weak.

Thursday 17 August 2017

2017-08-17 15:00:00 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improve recovery after some syntax errors.

Recovers from issue where the compiler context could come out of
sync due to syntax errors in nested classes. This could in turn
lead to various obscure errors, some of which were fatal.

2017-08-17 11:28:24 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

String: Fix issue where substrings lost their contents.

Adds new string flag STRING_IS_LOCKED to lock the string data memory.

If a dynamically allocated string (eg "Random.Deterministic") that had
an active substring (eg "Deterministic") later got replaced with a
statically allocated string, the substring would point to freed memory.

Fixes intermittent failures to resolve "Random.Deterministic" in from
Image.Image()->test(), as well as the fatal "Shared string is not zero
terminated properly." from eg _verify_internals().

FIXME: There are most likely still lots of thread race-conditions hiding
with eg I/O operations and this reallocation behavior.

[permalink]

Bugs mentioned

  1408RESOLVEDForgotten constant definition leads to fatal
Bugs? Suggestions?