Fix a few type issues.
Stdio.Buffer: Decrease memory footprint for non PIKE_DEBUG.
Testsuite [Stdio.Buffer]: Removed some search() tests. These variants of search() are only valid in Pike 8.1 and later. Fixes several testsuite failures.
Return -1 when failing to find a hit with search(Stdio.Buffer).
Some search(Stdio.Buffer) tests. Results doesn't match documentation it appears.
Testsuite [Stdio.Buffer]: Restored search test. Searching for an out of range value is no longer a runtime error.
Testsuite [Stdio.Buffer]: Fixed search test with bad argument
Merge remote-tracking branch 'origin/master' into new_utf8
Testsuite: Protect lots of lfuns.
Merge commit '722771973bd' into patches/lyslyskom22891031 * commit '722771973bd': (6177 commits) Verify that callablep responses are aligned with reality. ...
Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap * commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits) Removed the old typechecker. ...
Merge remote-tracking branch 'origin/8.1' into gobject-introspection
Testsuite [Stdio.Buffer]: Fixed typo.
Stdio.Buffer: Added support for escapes to read_cstring().
Testsuite [Stdio.Buffer] [NT]: Survive without mmap(2).
Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63 * commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits) ...
Stdio.Buffer: fix unread() The documentation promises that unread() will always succeed until new data is added to the buffer. This contract was broken when the new growth strategy was added by commit 2c4241823. That commit added a possible trim to every read operation, which would try to shrink the buffer and make a future unread() fail. Also, the max_waste check contained a typo, which made it always succeed. This issue does not affect rewind keys.
Added basic little endian support to reading Stdio.Buffer.
Use ifefun where possible and needed.
Allow read_cstring to have a different end sentinel than null.
Testsuite [Stdio.Buffer]: Updated testsuite to new buffer strategy.
Stdio [testsuite]: Attempt to recover from Inotify droppings.
Removed trailing spaces.
Some rewind key tests.
Testsuite: added a socket test in buffer mode This test currently does not terminate. Also replaced all constant strings by random strings.
Testsuite: Moved the async TLS close tests. The async TLS close tests are now run from the main SSL testsuite, to avoid missing them when running restricted tests. FIXME: Consider moving the async_tls_close_test.pike script somewhere else (Tools.Standalone?).
Now works without SelectBackend.
files -> _Stdio with minimal changes.
cast tests.
Testsuite: Added test of Stdio.Buffer()->_sprintf().
Survive if Stdio.Buffer is compiled with an old precompile This removes some of the tests if the compilation is done using a precompile.pike that lacks support for mapping sub-struct members to pike variables. Or, as the tests were done previously, if the new precompiler was run using a pike that lacks support for prefix-cpp mode.
Stdio.IOBuffer -> Stdio.Buffer (part 2)
Stdio.IOBuffer -> Stdio.Buffer (part 1)
Eliminate add_short from testsuite.
We object to objekt.
Removed add_byte. We have add_int8.
Since IOBuffer::_size_object now show the actual memory used a test had to be changed
IOBuffer: Added some more tests and fixed errors found At least almost all functions in IOBuffer have some basic tests now..
Fixed tests for IOBuffer to actually do something
Some IOBuffer work o Made all (I think) functions atomic. Either they work or they do nothing (except throw an error or return 0). o One minor optimization to avoid copies when strings/system.memory object etc are added to an empty buffer. Unless you add more data the buffer is just moved to point to the object that was just added. The malloced buffer is still kept around, however. o Added a very very basic testsuite for IOBuffer. More to come.
Merge branch '8.0' into gobject-introspection
Merge remote-tracking branch 'origin/7.9' into pdf
Merge remote-tracking branch 'origin/7.9' into ba