Pike 8.0.702 Release notes
Changes since Pike 8.0.610 (release 12)
In unicode decode mode, characters outside the BMP are now encoded as UTF-8 encoded UTF-16. This works around that MySQL/MariaDB don’t allow characters outside the BMP in utf8 strings (and instead require the character set to be declared as utf8mb4, which has quite a few side effects).
Fixed NULL dereference (SIGSEGV) in _disable_threads() if another thread is holding the compiler lock.
Fixed loss of Pike_interpreter_pointer (race, –with-debug only).
The Pike_interpreter_pointer must not be altered by threads not holding the interpreter lock…
- Updated tzdata to 2018e.
The machine code generator for ppc64 now generates correct code under ABI v2 (ppc64le)
Fixed an incompatibility between the machine code generator on ppc and GCC 7.
Support inherit of CompilerEnvironment.
Fix some bugs triggered in the supporter subsystem when executing in an inherited CompilerEnviroment.
Fix NULL-dereference in bump().
Survive st being zero in bump().
Switched the Fuse module to use a different libfuse API.
The way we used to use libfuse got first deprecated and support for it is now removed from the libfuse git repository entirely. In addition, our previous use of said libfuse API triggered a bug resulting in a segmentation fault in at least libfuse 2.9.2 and 2.9.7. We now use libfuse in a less elegant but more usual way, and do not trigger the bug anymore.
Handle errors in Fuse operations (i.e. Pike code implementing FUSE filesystems) gently by reporting ENOSYS instead of exiting the process.
Fix numbers between -1.0 and 1.0 sometimes missing a leading 0.
Fix various issues with LFUNs throwing errors.
LFUNs used by mapping operations may throw errors; this caused identify_loop_visit_leave() to also throw errors. The rest of the identify_cycle code was not happy about this and
Forgot to unlock the mc_mutex. This caused all following calls to Pike.identify_cycle() and Pike.count_memory() to hang.
The above issues are now avoided by instead using the addresses of objects as indices in the affected mapping. It also fixes the issue with hangs if there are objects with lfuns calling Pike.identify_cycle() or Pike.count_memory().
Fix an issue with accounting of sent bytes that caused responses to requests over HTTPS to not finish on success, but instead the whole connection to time out. Data for the first request was usually fully written, but the connection neither was properly closed nor re-used.
Added low_connect() and low_websocket_accept().
These make it easier to test the error handling in the module, and to replace the HTTP-layer.
Improved compliance with RFC 6455 section 4.1.
The nonce is now actually random.
The http version, method and headers are validated.
Header case-sensitivity issues have been fixed.
The module now has a testsuite.
Improved HTTP-header camel-case consistency.
Errors thrown by handle_sass_import() can now be caught and handled by the caller of compile_file() and compile_string().
Added the option “sass_syntax”.
This option will parse the input as having indented Sass syntax. This option only has effect in compile_string().
Added method sass2scss() to convert Sass syntax to SCSS syntax.
Fix regression bug since rel 12 that hangs queries returning over 1024 records.
Fix all rare-deadlock-causes logged in the last two years.
Eliminate race condition in read_cstring().
Fixed wait() failing with ENOTSOCK on NT.
Fixed lost error in provide_error() exception handling.
Avoid delayed deallocation of jobs by clearing references immediately after execution.
extract_autodoc: Terminate on failure.
Reenable termination on extraction failure.
Building & Tools
The location of libjvm is now detected on Ubuntu 18.04.
Detect and support OpenJDK 10.
Support Postgresql 10 and later.
Improved detection of C++ runtime library on MacOS X.