Pike 8.0.702 release 13 (build 8.0.702) is now out
Peter Bortas <[email protected]> Thu, 1 Nov 2018 17:08:11 +0100
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CA+NK+AB3sZpzPTb7ddEWq3-wz0wD+WL=tr7hZJXiu4o1grrokg@mail.gmail.com> |
Source:
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702.tar.gz
Binary builds:
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-Linux-4.18.12-aarch64_be
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-Linux-4.18.12-ppc
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-Linux-4.18.12-ppc64
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-Linux-4.18.12-ppc64le
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-Linux-4.19.0-rc6+-riscv64
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-Linux-4.4.159-aarch64
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-Linux-4.4.159-armv8l
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-MacOSX-10.12-x86_64
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-MacOSX-10.9-x86_64
https://pike.lysator.liu.se/pub/pike/all/8.0.702/Pike-v8.0.702-win32-oldlibs.msi
Changes since Pike 8.0.610 (release 12)
New Features
------------
o Sql.mysql
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).
Bug fixes
---------
o Runtime
- 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...
o Calendar
- Updated tzdata to 2018e.
o Compiler
- 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.
o Filesystem.Monitor
- Fix NULL-dereference in bump().
Survive st being zero in bump().
o Fuse
- 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.
o Gmp.mpq
Fix numbers between -1.0 and 1.0 sometimes missing a leading 0.
o Pike.identify_cycle
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.
- Leaked memory.
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().
o Protocols.HTTP.Server
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.
o Protocols.WebSocket
- 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.
o The nonce is now actually random.
o The http version, method and headers are validated.
o Header case-sensitivity issues have been fixed.
- The module now has a testsuite.
- Improved HTTP-header camel-case consistency.
o Sass
- 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.
o Sql.pgsql
- Fix regression bug since rel 12 that hangs queries returning over 1024
records.
- Fix all rare-deadlock-causes logged in the last two years.
o Stdio.Buffer
Eliminate race condition in read_cstring().
o Stdio.UDP
Fixed wait() failing with ENOTSOCK on NT.
o Thread.Farm
- Fixed lost error in provide_error() exception handling.
- Avoid delayed deallocation of jobs by clearing references immediately
after execution.
o Tools.Standalone
- extract_autodoc: Terminate on failure.
Reenable termination on extraction failure.
Building & Tools
----------------
o Java
- The location of libjvm is now detected on Ubuntu 18.04.
- Detect and support OpenJDK 10.
o Postgres
Support Postgresql 10 and later.
o Sass
Improved detection of C++ runtime library on MacOS X.
Regards,
--
Peter Bortas