Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 91 checkins (+705/-331) by 8 people : 19 checkins (+110/-63) by 2 people : 8 checkins (+109/-15) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 11 checkins (+116/-98) by 2 people : 6 checkins (+41/-2) by 2 people : 12 checkins (+27/-209) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+3/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+2/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 7 checkins (+18/-64) by 2 people : 1 checkin (+19/-0) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 1 checkin (+41/-3) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 15 checkins (+756/-14) by 2 people : 6 checkins (+132/-22) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 8 checkins (+128/-6) by 2 people : 1 checkin (+2/-1) by Henrik Grubbström (Grubba) <grubba@grubba.org> : 7 checkins (+78/-4) by 2 people : 8 checkins (+28/-6) by 3 people : 10 checkins (+30/-2) by 2 people : 8 checkins (+167/-10) by 2 people : 2 checkins (+12/-2) by 2 people : 3 checkins (+96/-2) by 2 people : 5 checkins (+72/-4) by 2 people : 2 checkins (+6/-1) by 2 people : 5 checkins (+11/-5) by 2 people : 48 checkins (+968/-201) by 4 people : 18 checkins (+367/-95) by 3 people : 14 checkins (+428/-34) by 4 people : 6 checkins (+254/-2) by 2 people : 2 checkins (+3/-7) by 2 people : 18 checkins (+384/-55) by 3 people : 7 checkins (+21/-10) by 2 people : 6 checkins (+92/-12) by 3 people : 7 checkins (+246/-1) by 3 people : 8 checkins (+84/-16) by 3 people : 13 checkins (+121/-15) by 3 people : 4 checkins (+45/-1) by 2 people : 2 checkins (+32/-1) by 2 people : 4 checkins (+21/-4) by 2 people : 2 checkins (+3/-77) by 2 people : 5 checkins (+47/-34) by 2 people : 2 checkins (+20/-11) by 2 people Lines added/removed recently

Today; Friday 14 December 2018

2018-12-14 11:19:17 (1 hour ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Promise: Reduce number of complaints.

Don't complain about dropping promises that have no corresponding
future on the floor. As the promises have no future, nobody is
affected by them not being fulfilled.

2018-12-14 01:02:17 (11 hours ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.62 by buildsystem.

Yesterday; Thursday 13 December 2018

2018-12-13 11:51:08 (1 day ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Return an array(multiset) from predef::annotations().

A multiset is a more natural datatype for the set of annotations.

NB: The low-level code still uses arrays; this will most likely
be changed later.

2018-12-13 01:03:20 (1 day ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.61 by buildsystem.

Wednesday 12 December 2018

2018-12-12 11:14:02 (2 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Removed some now dead code.

2018-12-12 01:02:06 (2 days ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.60 by buildsystem.

Tuesday 11 December 2018

2018-12-11 12:29:12 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Annotations: Missed adjusting one place in previous commit.

Fixes duplicate annotations for inherits.

2018-12-11 10:45:21 (3 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Annotations: Only register annotations in the first pass.

Annotations are now created in the first pass, and kept
as is for later passes. This makes it possible to store
pass-persistent state in the annotations.

2018-12-11 01:02:18 (3 days ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.59 by buildsystem.

Monday 10 December 2018

2018-12-10 12:35:50 (4 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Added some tests of m_add() and m_delete() with multisets.

2018-12-10 01:02:08 (4 days ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.58 by buildsystem.

Sunday 09 December 2018

2018-12-09 11:45:39 (5 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Added m_add().

This function adds (as opposed to inserts) an element to a multiset.

Also adds corresponding (fake) lfun::_m_add().

2018-12-09 01:02:10 (5 days ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.57 by buildsystem.

Saturday 08 December 2018

2018-12-08 17:45:47 (6 days ago) by Marcus Comstedt <marcus@mc.pp.se>

Make werror() (and by extension exit()) respect current locale

This makes it possible to output non-ASCII text and still have it
legible in all environments. write() still outputs binary data,
and so will werror() and exit() in 8.0 compat mode.

Also, restore master.pike.in to ISO-8859-1 encoding, which is the only
one supported for the master, and remove the (now superfluous and)
aribitrary use of string_to_utf8() for the copyright message.

2018-12-08 17:04:52 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: m_clear() now supports multisets and objects.

Adds LFUN _m_clear().

2018-12-08 16:31:24 (6 days ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch '8.1'

* 8.1:
Thread.Condition: Improve docs.
pgsql: Avoid excessive latency on frequent ping()s.

2018-12-08 01:14:38 (6 days ago) by Automatic Build <autobuild@roxen.com>

release number bumped to 8.0.729 by export.pike
release number bumped to 8.0.728 by export.pike

2018-12-08 01:02:07 (6 days ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.56 by buildsystem.

Friday 07 December 2018

2018-12-07 11:41:55 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: m_delete() now supports operation on multisets.

2018-12-07 10:10:50 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.ResourceCount: Fixed mutex handling.

2018-12-07 10:10:50 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

Thread.Condition: Improve docs.
pgsql: Avoid excessive latency on frequent ping()s.

2018-12-07 01:14:15 (1 week ago) by Automatic Build <autobuild@roxen.com>

release number bumped to 8.0.727 by export.pike
release number bumped to 8.0.726 by export.pike

2018-12-07 01:02:26 (1 week ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.55 by buildsystem.

2018-12-07 00:50:35 (1 week ago) by Stephen R. van den Berg <srb@cuci.nl>

Thread.Condition: Improve docs.

Thursday 06 December 2018

2018-12-06 12:36:14 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike148' into 8.0

* patches/pike148:
Protocols.HTTP.Session: Don't attempt to reuse SessionQuery objects.
Protocols.HTTP.Session: Improved thread-safety.

2018-12-06 11:13:25 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/multisets'

* patches/multisets:
Multisets: Restore multiset_add().
Multisets: Restore multiset_add().

This function was lost in the comparator and values removal commit.

2018-12-06 01:02:18 (1 week ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.54 by buildsystem.

Wednesday 05 December 2018

2018-12-05 23:13:49 (1 week ago) by Marcus Comstedt <marcus@mc.pp.se>

Stdio.FILE.set_charset: Check all relevant locale variables

LC_ALL and LC_CTYPE should be used in (that order of) preference over
LANG if set.

2018-12-05 23:07:16 (1 week ago) by Marcus Comstedt <marcus@mc.pp.se>

Compiler: Fix handling of -V8.0

Trying to create a compilation for Pike version X.0 created one for
X.-1 instead. Fix this.

2018-12-05 18:03:16 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike148'

* patches/pike148:
Protocols.HTTP.Session: Don't attempt to reuse SessionQuery objects.
Protocols.HTTP.Session: Don't attempt to reuse SessionQuery objects.

give_me_connection() now always returns a new SessionQuery object
(albeit sometimes with a reused connection).

This should alleviate issues with stuff being left around from
previous queries.

Potential fix for [WS-389].

2018-12-05 11:17:02 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Added basic test of predef::annotations().

2018-12-05 01:02:23 (1 week ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.53 by buildsystem.

Tuesday 04 December 2018

2018-12-04 18:18:05 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike148'

* patches/pike148:
Protocols.HTTP.Session: Improved thread-safety.

2018-12-04 18:11:38 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.HTTP.Session: Improved thread-safety.

Fixes race-condition when multiple threads call give_me_connection()
with the same url at the same time.

Fixes [PIKE-148].

2018-12-04 13:03:21 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Fixed some argument handling bugs in annotations().

2018-12-04 13:00:21 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Fixed leak of arrays in annotations() on programs.

2018-12-04 11:36:09 (1 week ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Fixed bug in annotations() on objects.

The annotations were broken for identifiers that were not
declared in alphabetic order.

2018-12-04 01:02:24 (1 week ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.52 by buildsystem.

Monday 03 December 2018

2018-12-03 16:19:17 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Adjusted API for lfun::_annotations().

The API for lfun::_annotations() now aligns better with the
APIs for lfun::_indices(), lfun::_values() and lfun::_types().

Also adds some minimal documentation for some undocumented lfuns.

2018-12-03 05:38:40 (2 weeks ago) by William Welliver <william@welliver.org>

debugger: track stepping mode by thread, remove some debugging output

2018-12-03 05:33:22 (2 weeks ago) by William Welliver <william@welliver.org>

debugger: clean up debugger output a bit.

2018-12-03 04:09:34 (2 weeks ago) by William Welliver <william@welliver.org>

debugger: compile properly without debug

2018-12-03 03:23:15 (2 weeks ago) by William Welliver <william@welliver.org>

debugger: some documentation and clarification.

2018-12-03 03:23:15 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Removed some debug code.
EFUNs: Added predef::annotations().

This function returns the annotations (if any) corresponding to the
symbols returned by indices() on the same value.

Also adds lfun::_annotations().

2018-12-03 03:23:15 (2 weeks ago) by William Welliver <william@welliver.org>

debugger: start preparing for multi-thread stepping

2018-12-03 01:02:17 (2 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.51 by buildsystem.

Sunday 02 December 2018

2018-12-02 09:03:29 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Removed some debug code.

2018-12-02 01:02:13 (2 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.50 by buildsystem.

Saturday 01 December 2018

2018-12-01 15:28:36 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Added predef::annotations().

This function returns the annotations (if any) corresponding to the
symbols returned by indices() on the same value.

Also adds lfun::_annotations().

2018-12-01 01:02:11 (2 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.49 by buildsystem.

Friday 30 November 2018

2018-11-30 18:45:37 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure: Improved pkg-config handling on Solaris with 64-bit ABI.

2018-11-30 18:45:37 (2 weeks ago) by William Welliver <william@welliver.org>

debugger: allow creation of breakpoints on programs that haven't been created yet.

warning: this code almost certainly has a number of crashers. it works in the most
basic of situations but don't expect much more from it yet.

2018-11-30 18:45:37 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.Annotations.AutoCodec: New annotation.

This annotation causes a suitable _encode() function to be generated
in the annotated class if the class uses the implicit create() syntax.

2018-11-30 18:45:36 (2 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

Interpreter: Avoid branching on partially uninitialised memory

(Likely) no harm coming from this, as presumably even "partially
defined" cases cannnot not be equal to -1, but this helps to keep
valgrind quiet.
GC: Avoid ordering the mc_marker queue on uninitialized fields

Both Pike.count_memory() (sometimes) and Pike.identify_cycle() (always)
ordered the mc_marker queue on uninitialized data. While apparently not
inherently problematic, initializing helps to avoid valgrind false
positives.

2018-11-30 12:22:33 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.Annotations.AutoCodec: New annotation.

This annotation causes a suitable _encode() function to be generated
in the annotated class if the class uses the implicit create() syntax.

2018-11-30 01:02:27 (2 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.48 by buildsystem.

Thursday 29 November 2018

2018-11-29 22:38:41 (2 weeks ago) by William Welliver <william@welliver.org>

debugger: when debugger is enabled, pike will wait for a time for a debugger to connect.

2018-11-29 16:28:47 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.3.47 by buildsystem.

2018-11-29 14:51:44 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.3.46 by buildsystem.

2018-11-29 13:08:50 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.3.45 by buildsystem.

2018-11-29 12:42:55 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure: Improved pkg-config handling on Solaris with 64-bit ABI.

2018-11-29 11:48:52 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Version bumped to 6.3.44 by buildsystem.

2018-11-29 10:55:44 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Debugger: Cleaned up debugger_server handling somewhat.

Fixes:
* Unnecessary dynamic allocation of a single svalue.
* Double ref-counted svalue.
* Clean up on exit.

2018-11-29 04:13:19 (2 weeks ago) by William Welliver <william@welliver.org>

debugger: multiple breakpoint support, enable/disable support.

2018-11-29 01:03:07 (2 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.43 by buildsystem.

Wednesday 28 November 2018

2018-11-28 21:42:45 (2 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

GC: Avoid ordering the mc_marker queue on uninitialized fields

Both Pike.count_memory() (sometimes) and Pike.identify_cycle() (always)
ordered the mc_marker queue on uninitialized data. While apparently not
inherently problematic, initializing helps to avoid valgrind false
positives.

2018-11-28 21:33:22 (2 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

Interpreter: Avoid branching on partially uninitialised memory

(Likely) no harm coming from this, as presumably even "partially
defined" cases cannnot not be equal to -1, but this helps to keep
valgrind quiet.

2018-11-28 20:40:22 (2 weeks ago) by William Welliver <william@welliver.org>

debugger: include filename when setting breakpoint
debugger: more experimentation with locals setting
debugger: backtrace frame can now access and set locals when created by the debugger.
typo fix and crash fix courtesy of mkrawczuk
debugger: include the backtrace
debugger: finding offsets in a program composed of multiple files works more reliably.

2018-11-28 20:40:21 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure [NetBSD]: Search for paxctl.

Attempt to use paxctl to alter the PaX flags for the pike binary
to allow for generation of machine code.

Note that paxctl on NetBSD and Linux are incompatible.
Testsuite: Test low_get_line() some more.

Tests the [LysLysKOM 22997909] case.
Compiler: Improved propagation of optimizer flags for apply nodes.
Testsuite: Added some tests of annotations.
Compiler: Improved handling of local constants.
Compiler: Added support for Pike.Annotations.Inherited.

This attribute has the same semantics as the attribute
of the same name in Java.
Testsuite: Improved diagnostics in getcwd() test.
Revert "Compiler: Improved handling of local constants."

This reverts commit 41770a59a1b0d4a6b3005f383cb5d2c902fcd32f.

This broke program parent handling on some cases.
Compiler: Make apply_low_safe_and_stupid() survive in later passes.

apply_low_safe_and_stupid() sometimes attempts to add a temporary
identifier to the program. This does NOT work in later passes of
the Pike compiler. Attempt to survive without...

2018-11-28 20:36:52 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Fix file name in backtraces.

The file name for code where the next line number entry
switches to a different file was activated prematurely.

Fixes the rest of [LysLysKOM 22997909].
Configure [64-bit] [Solaris]: Fix search path for pkg-config.

Solaris 11.4 provides a single pkg-config binary, which by default
searches in /usr/lib/pkgconfig/ and /usr/share/pkgconfig/.
Unfortunately, /usr/lib/pkgconfig/ contains information for
the 32-bit packages (64-bit d:o is in /usr/lib/64/pkgconfig/).

This issue caused eg 32-bit headers for libffi to be used, causing
a SIGSEGV in ffi_closure_unix64_inner() due to the differing sizes
of ffi_closure in 32-bit and 64-bit abi.
Compiler: Moved class annotations to the inherits.

This adds semantics to having annotations on inherits.

2018-11-28 20:36:52 (2 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

Fix copyright notice in a few forgotten places

2018-11-28 20:36:52 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added Pike.Annotation.

The compiler now calls end_pass() in any annotations on the
program being compiled once each compiler pass.
Compiler: Keep track of the file name...

The file name for code being compiled sometimes got lost.

Fixes some of [LysLysKOM 22997909].
Pike.Annotations.Implements: Added initial implementation.

This annotation causes the compiler to validate that
the annotated class implements the specified API.
Compiler: Make Coverity happy.

Coverity doesn't like ending a do-while(0) loop with continue.

Fixes [CID 1441424].

2018-11-28 18:16:57 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Improved diagnostics in getcwd() test.

2018-11-28 13:14:51 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved propagation of optimizer flags for apply nodes.

2018-11-28 01:03:41 (2 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.42 by buildsystem.

Tuesday 27 November 2018

2018-11-27 15:55:32 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Revert "Compiler: Improved handling of local constants."

This reverts commit 41770a59a1b0d4a6b3005f383cb5d2c902fcd32f.

This broke program parent handling on some cases.

2018-11-27 10:47:44 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws386' into 6.2

* patches/ws386:
Tasks [NT]: Don't test the x mode-bit on NT.
Merge branch 'patches/ws386' into devel

* patches/ws386:
Tasks [NT]: Don't test the x mode-bit on NT.

2018-11-27 10:42:27 (2 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tasks [NT]: Don't test the x mode-bit on NT.

Some versions of NT apparently have a stat() that returns
file modes without the x mode-bit set.

Fixes extraneous warning about missing tar.exe and patch.exe
on some versions of NT.

Fixes [WS-386].

2018-11-27 01:02:38 (2 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.41 by buildsystem.

Monday 26 November 2018

2018-11-26 14:11:11 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved handling of local constants.

2018-11-26 01:02:33 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.40 by buildsystem.

Sunday 25 November 2018

2018-11-25 12:53:08 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure [NetBSD]: Search for paxctl.

Attempt to use paxctl to alter the PaX flags for the pike binary
to allow for generation of machine code.

Note that paxctl on NetBSD and Linux are incompatible.

2018-11-25 01:14:20 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

release number bumped to 8.0.724 by export.pike
release number bumped to 8.0.725 by export.pike

2018-11-25 01:02:33 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.39 by buildsystem.

Saturday 24 November 2018

2018-11-24 14:12:09 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Fixed backport incompatibility.

2018-11-24 13:18:39 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Added some tests of annotations.

2018-11-24 01:02:21 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.38 by buildsystem.

Friday 23 November 2018

2018-11-23 22:02:02 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.37 by buildsystem.

2018-11-23 13:02:55 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Make apply_low_safe_and_stupid() survive in later passes.

apply_low_safe_and_stupid() sometimes attempts to add a temporary
identifier to the program. This does NOT work in later passes of
the Pike compiler. Attempt to survive without...

Thursday 22 November 2018

2018-11-22 22:13:22 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

release number bumped to 8.0.723 by export.pike
release number bumped to 8.0.722 by export.pike

2018-11-22 22:01:49 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.36 by buildsystem.

2018-11-22 16:34:20 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added support for Pike.Annotations.Inherited.

This attribute has the same semantics as the attribute
of the same name in Java.

Wednesday 21 November 2018

2018-11-21 22:02:13 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.35 by buildsystem.

2018-11-21 13:09:51 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/lyslyskom22997909' into 8.0

* patches/lyslyskom22997909:
Testsuite: Test low_get_line() some more.
Runtime: Fix file name in backtraces.
Compiler: Keep track of the file name...
Merge branch 'patches/lyslyskom22997909'

* patches/lyslyskom22997909:
Testsuite: Test low_get_line() some more.
Runtime: Fix file name in backtraces.
Compiler: Keep track of the file name...

2018-11-21 13:05:45 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Test low_get_line() some more.

Tests the [LysLysKOM 22997909] case.

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

Runtime: Fix file name in backtraces.

The file name for code where the next line number entry
switches to a different file was activated prematurely.

Fixes the rest of [LysLysKOM 22997909].

2018-11-21 12:59:32 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Keep track of the file name...

The file name for code being compiled sometimes got lost.

Fixes some of [LysLysKOM 22997909].

Tuesday 20 November 2018

2018-11-20 22:12:59 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

release number bumped to 8.0.720 by export.pike
release number bumped to 8.0.721 by export.pike

2018-11-20 22:02:09 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.34 by buildsystem.

2018-11-20 18:04:02 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure [64-bit] [Solaris]: Fix search path for pkg-config.

Solaris 11.4 provides a single pkg-config binary, which by default
searches in /usr/lib/pkgconfig/ and /usr/share/pkgconfig/.
Unfortunately, /usr/lib/pkgconfig/ contains information for
the 32-bit packages (64-bit d:o is in /usr/lib/64/pkgconfig/).

This issue caused eg 32-bit headers for libffi to be used, causing
a SIGSEGV in ffi_closure_unix64_inner() due to the differing sizes
of ffi_closure in 32-bit and 64-bit abi.

2018-11-20 17:55:27 (3 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure [64-bit] [Solaris]: Fix search path for pkg-config.

Solaris 11.4 provides a single pkg-config binary, which by default
searches in /usr/lib/pkgconfig/ and /usr/share/pkgconfig/.
Unfortunately, /usr/lib/pkgconfig/ contains information for
the 32-bit packages (64-bit d:o is in /usr/lib/64/pkgconfig/).

This issue caused eg 32-bit headers for libffi to be used, causing
a SIGSEGV in ffi_closure_unix64_inner() due to the differing sizes
of ffi_closure in 32-bit and 64-bit abi.

2018-11-20 14:46:01 (3 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

Fix copyright notice in a few forgotten places

2018-11-20 14:01:56 (3 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.33 by buildsystem.

Monday 19 November 2018

2018-11-19 22:10:44 (4 weeks ago) by Automatic Build <autobuild@roxen.com>

release number bumped to 8.0.719 by export.pike
release number bumped to 8.0.718 by export.pike

2018-11-19 22:01:04 (4 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.32 by buildsystem.

2018-11-19 14:36:43 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure: Restore template for HAVE_INFNAN.

This was lost in the obsolete /proc API merge.

2018-11-19 14:17:17 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.Annotations.Implements: Added initial implementation.

This annotation causes the compiler to validate that
the annotated class implements the specified API.

2018-11-19 14:02:35 (4 weeks ago) by Automatic Build <autobuild@roxen.com>

Version bumped to 6.3.31 by buildsystem.

Sunday 18 November 2018

2018-11-18 19:06:44 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Make Coverity happy.

Coverity doesn't like ending a do-while(0) loop with continue.

Fixes [CID 1441424].

Saturday 17 November 2018

2018-11-17 16:08:07 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added Pike.Annotation.

The compiler now calls end_pass() in any annotations on the
program being compiled once each compiler pass.

2018-11-17 13:55:35 (4 weeks ago) by William Welliver <william@welliver.org>

add local setting support

Friday 16 November 2018

2018-11-16 16:49:57 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Moved class annotations to the inherits.

This adds semantics to having annotations on inherits.

Thursday 15 November 2018

2018-11-15 18:14:09 (4 weeks ago) by William Welliver <william@welliver.org>

debugger: abort if attempting to debug without RTL debug

2018-11-15 15:43:31 (4 weeks ago) by William Welliver <william@welliver.org>

preliminary proof of concept debugger. single breakpoint, single stepping, continue, local viewing but no local names.

2018-11-15 13:10:04 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Array: Make subtract_array_svalue() visibile.

Wednesday 14 November 2018

2018-11-14 15:19:50 (4 weeks ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed multi-counting of annotations.

Annotations were added in every pass of the compiler. They are
now cleared at the start of each pass.

Tuesday 13 November 2018

2018-11-13 15:48:36 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC: Make the GC aware about annotations.

Monday 12 November 2018

2018-11-12 14:06:25 (1 month ago) by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid excessive latency on frequent ping()s.

2018-11-12 11:30:53 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: The 'implement'-keyword is no more.

This functionality will be provided via the annotation syntax instead.

2018-11-12 11:05:52 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Fixed reference leak in types().

Sunday 11 November 2018

2018-11-11 17:29:26 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Fixed reference leak in types().

Saturday 10 November 2018

2018-11-10 11:32:07 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Make CompilerEnvironment available via _static_modules.

Friday 09 November 2018

2018-11-09 13:12:09 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.FreeType: Support recent versions of libfreetype.

Recent versions of libfreetype no longer provide the freetype-config
script, so attempt to use pkg-config before freetype-config.

Fixes [PIKE-146].

2018-11-09 13:03:38 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Image.FreeType: Support recent versions of libfreetype.

Recent versions of libfreetype no longer provide the freetype-config
script, so attempt to use pkg-config before freetype-config.

Fixes [PIKE-146].
Build [Configure]: Make result of PIKE_PKG_CONFIG easier to detect.

2018-11-09 12:40:22 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike144' into 8.0

* patches/pike144:
Core: Do not use the obsolete (~20 years) ioctl /proc API.
Merge branch 'patches/pike144'

* patches/pike144:
Core: Do not use the obsolete (~20 years) ioctl /proc API.

2018-11-09 12:27:47 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Core: Do not use the obsolete (~20 years) ioctl /proc API.

The ioctl-based /proc API was obsoleted in Solaris 2.6 (July 1997),
but to be supported "until the next major release". In Solaris 11.4
(August 2018) the support has now finally been removed.

Most of the removed code was from 1995, and was thus older than Pike...

Thursday 08 November 2018

2018-11-08 17:14:23 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike141' into 8.0

* patches/pike141:
Master: Multiple describe_backtrace() fixes.
Merge branch 'patches/pike141'

* patches/pike141:
Master: Multiple describe_backtrace() fixes.
Master: Multiple describe_backtrace() fixes.

Do not use value identifiers that have not been defined in
the visible backtrace.

Fix clipped/canclip propagation.

Fixes [PIKE-141].

2018-11-08 14:49:12 (1 month ago) by Karl Gustav Sterneberg <kg@roxen.com>

Version bumped to 6.2.215 by buildsystem.

2018-11-08 11:36:01 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Allocate some program id-numbers for the compiler.

Wednesday 07 November 2018

2018-11-07 18:14:08 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Improved errors.

2018-11-07 14:38:59 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

PikeCompiler: Move high-level classes to _static_modules.Builtin.

Top-level CMOD symbols in pike_compiler.cmod were previously lost
to the void unless explicitly handled. They now instead show up
in _static_modules.Builtin (as with similar symbols elsewhere).

2018-11-07 11:03:56 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added syntax for marking a class as constant.

The class annotation syntax

@constant;

now causes the class to have the PROGRAM_CONSTANT flag set.

This flag indicates that objects created from it may be regarded
as constant/immutable and shareable (ie they do not contain any
relevant state other than that passed to them at creation time).
The compiler and/or runtime may replace such objects with other
objects that they compare `== with at any time.

Tuesday 06 November 2018

2018-11-06 16:40:17 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added missing field for annotations.

2018-11-06 15:51:14 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: First go at storing annotations.

2018-11-06 10:59:47 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws375' into 6.2

* patches/ws375:
Cached-Href: Survive insufficient DB-permissions.
Merge branch 'patches/ws375' into devel

* patches/ws375:
Cached-Href: Survive insufficient DB-permissions.

2018-11-06 10:55:12 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cached-Href: Survive insufficient DB-permissions.

Do not attempt to inhibit backups for tables that do not exist.

Fixes [WS-375].

Monday 05 November 2018

2018-11-05 14:30:42 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Don't send function name to bad_arg_error when it isn't needed.

2018-11-05 14:23:49 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Make NULL to bad_arg_error look up the name of the function.

2018-11-05 14:08:34 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added syntax for annotations.

Note that the annotations are currently thrown away.

2018-11-05 12:54:44 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Removed questionable function name on index_error

2018-11-05 12:45:53 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Remove debug output using potentially null name.

2018-11-05 11:46:12 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Disable Concurrent test for now.
Arguents are already check by precompile code.
Run the tests in a new thread.

2018-11-05 10:59:28 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mailmap: Added some entries for Mateusz Krawczuk.
Merge branch 'grubba/mailmap'

* grubba/mailmap:
Mailmap: Added some entries for Mateusz Krawczuk.

2018-11-05 10:56:14 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mailmap: Added some entries for Mateusz Krawczuk.

Sunday 04 November 2018

2018-11-04 17:02:46 (1 month ago) by Tobias S. Josefowitz <tobij@tobij.de>

Gmp.mpq: Fix off by one out of bounds read

2018-11-04 17:02:12 (1 month ago) by Marcus Comstedt <marcus@mc.pp.se>

Testsuite [Protocols.Bittorrent.DHT]: Some performance improvements

* Don't create a second level of call_outs in FakdeUDPNet when the lag
is 0. Since the code is already executing in the backend, the
callback can be invoked directly.

* In the done callback of FindNode, don't call the state machine
directly, but defer it through a call out. This allows the
straggler responses from the current request to be processed before
the next request is started

Also remove the thread which is only used for the first request anyway

2018-11-04 16:47:42 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'master' of https://github.com/mkrawczuk/Pike

* 'master' of https://github.com/mkrawczuk/Pike:
if -> else if
Enable string import of single files. Throw error on failed import.

2018-11-04 16:37:24 (1 month ago) by Mateusz Krawczuk <209147@student.pwr.edu.pl>

if -> else if

2018-11-04 16:00:34 (1 month ago) by Martin Nilsson <nilsson@fastmail.com>

Test two different modes of promises.
Runs the tests in a call out.

2018-11-04 13:54:58 (1 month ago) by Tobias S. Josefowitz <tobij@tobij.de>

pike_types: Fix typo in fallthrough marker
pike_types: Make fallthrough marker GCC compatible

2018-11-04 13:47:39 (1 month ago) by Tobias S. Josefowitz <tobij@tobij.de>

Java: Advertise intended fall-throughs to compilers etc.
Interpreter: Advertise intended fallthrough cases

GCC >= 7 started being a bit verbose about this. Unfortunately from
inside macros our only option pretty much seems to be
__attribute__((fallthrough));, which we may not want to expose to other
compilers, hence using ADVERTISE_FALLTHROUGH macro.

For the general case, it seems to be the better option to stick with
/* FALLTHRU */ comments which GCC will also accept.

2018-11-04 13:40:05 (1 month ago) by Arne Goedeke <el@laramies.com>

Tools.Standalone.precompile: handle args < 0 in PIKEFUN

The 'args' variable is signed even though it is never negative. This
situation is confusing for the C compiler because negative values
are not usually handled. In order to improve this situation the
CMOD precompiler will now check that args is non-negative and either
fatal (in PIKE_DEBUG) or use __buildin_assume to allow the compiler
to optimize away all code path which assume args to be negative.

2018-11-04 13:03:44 (1 month ago) by Arne Goedeke <el@laramies.com>

Backend->get_stats(): do not pop arguments

Extra stack values are going to be removed by the function call code
in the interpreter. This also fixes a warning about undefined behavior
if args was negative.

2018-11-04 12:47:40 (1 month ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pikefarm: Use the branch name for snapshots.

2018-11-04 12:36:36 (1 month ago) by mkrawczuk <krawczukmat@gmail.com>

Enable string import of single files. Throw error on failed import.

Previously, string-style import would only work with pmod
directories. Now it also works with single-file pmods.
Additionally, the interpreter would be silent about invalid pathes.
Now it throws an error if it fails to stat a path.

2018-11-04 12:29:10 (1 month ago) by Marcus Comstedt <marcus@mc.pp.se>

GI: fix warnings

2018-11-04 12:19:35 (1 month ago) by Arne Goedeke <el@laramies.com>

Merge branch 'buffer_mode_proposal_wip'

2018-11-04 12:18:14 (1 month ago) by Tobias S. Josefowitz <tobij@deuso.de>

Stdio.File: update errno correctly

2018-11-04 12:18:14 (1 month ago) by Arne Goedeke <el@laramies.com>

Stdio.File()->read: add optional offset argument and documentation

2018-11-04 11:57:13 (1 month ago) by Arne Goedeke <el@laramies.com>

fixup! Stdio.File()->read: add optional offset argument and documentation

2018-11-04 11:52:26 (1 month ago) by Arne Goedeke <el@laramies.com>

Stdio.File()->read: add optional offset argument and documentation

2018-11-04 11:52:26 (1 month ago) by Tobias S. Josefowitz <tobij@deuso.de>

Stdio.File: update errno correctly
Stdio.File()->read(): advance buffer if possible

This commit also removed Stdio.Buffer()->advance() because it
is a bad API. It allows one to 'validate' uninitialized memory
inside of Stdio.Buffer objects.

Instead, we now try to advance the write offset in Buffer objects
in Stdio.File()->read(), instead. This is done using a new internal
API which can be extended to advance other buffer types in the future.

2018-11-04 11:27:39 (1 month ago) by Marcus Comstedt <marcus@mc.pp.se>

GI: Adapt to prefix added by precompile

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

Compiler: Reserve the "await" keyword for future use.

2018-11-04 11:13:21 (1 month ago) by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/master' into gobject-introspection

2018-11-04 11:05:38 (1 month ago) by Marcus Comstedt <marcus@mc.pp.se>

Tools.Standalone.precompile: Add support for unqualified class names

A PIKECLASS defined in a cmod can now be referenced by its unqualified
name while in scope. Only backwards references are supported.

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

Stdio.File()->read(): support reading into buffer objects
Stdio.Buffer: added allocate() and advance()
Internal: added API to get writable buffer space

The original API only allowed for getting the space inside of buffer
objects which contains data. This new API allows also for querying for
writeable space, too. This will be used in Stdio.read() to read
directly into a buffer.
Stdio.File(): use new APIs in buffer mode

[permalink]

Bugs mentioned

  1995RESOLVEDPostgres: Connextion Problem
  1997RESOLVEDString.pmod.o:-: Warning: Decode failed:
Bugs? Suggestions?