7df7b02014-10-03Per Hedbor Pike 8.1: Changes since Pike 8.0 (scratch area for future release notes)
949f722016-07-22Henrik Grubbström (Grubba) ------------------------------------------------------------------------
2ac4992011-03-09Martin Stjernholm 
dca6762014-11-03Martin Nilsson New language features --------------------- o Unlimited character constant size. There is no longer any limit to the size of character constants, e.g. 'acdefghijk' creates the bignum 0x61636465666768696a6b.
a72ec62016-01-04Per Hedbor o 'auto' type added. This is much like a strict typed mixed. The actual type is deduced compile-time.
8e10492016-01-31Henrik Grubbström (Grubba)  Typical use is as the type for variables in foreach when looping over complexly typed values, or as the type in macro-defined functions and similar.
a72ec62016-01-04Per Hedbor  auto can be used as return type for a function, it will be the
2ee8bd2017-01-01Henrik Grubbström (Grubba)  type-union of all the types of the return statements in the
a72ec62016-01-04Per Hedbor  function. o typeof(X) can now be used as a type. The main use case is in macros, but it might be useful for other things as well (as an example in a typedef). typedef typeof(Val.true)|typeof(Val.false) bool; typeof, when used like this, behaves very much like the C++ decltype() expression.
c2663a2020-03-05Henrik Grubbström (Grubba) o Shorthand for int(val..val) added: int(val) .
b878692019-12-21Henrik Grubbström (Grubba)  A syntax for when the range of an integer type only contains a single value.
c2663a2020-03-05Henrik Grubbström (Grubba) o Shorthand for string(val..val) added: string(val) .
8ddaac2019-12-24Henrik Grubbström (Grubba)  A syntax for when the range of a string type only contains a single value.
1bcfb72020-01-09Henrik Grubbström (Grubba) o Syntax for specifying the length of array and string types. Eg string(4bit: 8bit) is 8-bit strings of lengths 0-15.
854a972016-06-03Per Hedbor o ** operator added. It's exponentiation and works with most combination of numerical types (int,float,Gmp.mpq,Gmp.mpf,Gmp.mpz) `** and ``** operator overloading functions added. This introduces one incompatible change: Previously the "pow" function called a "_pow" function in the first argument if it was an object. It has now been changed to also use `** (or, rather, pow()
56daad2016-06-05Henrik Grubbström (Grubba)  is now implemented using predef::`**()).
854a972016-06-03Per Hedbor 
1ec97e2020-03-21Henrik Grubbström (Grubba) * Binary or between a multiset and UNDEFINED is now behaves like binary or between the multiset and the empty multiset.
e805942017-12-31Henrik Grubbström (Grubba) o Three pass compiler. An extra pass of the compiler has been added. It is used to properly resolve types in forward referring expressions, and is only run when needed.
866ddb2016-11-02Henrik Grubbström (Grubba) o #pragma disassemble
fdde6b2017-01-16Henrik Grubbström (Grubba)  This directive is now available even in pikes compiled --without-debug.
866ddb2016-11-02Henrik Grubbström (Grubba)  The byte code output is now interleaved with the generated machine code on selected architectures. o Complain about redundant backslash escapes.
1911322016-11-05Henrik Grubbström (Grubba) o '__weak__' modifier added. It is now possible to declare object variables to have weak references.
866ddb2016-11-02Henrik Grubbström (Grubba) 
cbe1302017-01-06Henrik Grubbström (Grubba) o Support for arguments to implicit lambdas added. Implicit lambdas now behave as if they were declared as lambda(mixed ... __ARGS__).
4398bf2017-09-28Henrik Grubbström (Grubba)  Support for this feature can be detected with #ifdef __ARGS__.
866ddb2016-11-02Henrik Grubbström (Grubba) o Function local function declarations are now statements (and not expressions). This means that there is no longer any need to terminate them with a semicolon.
058aa42017-02-24Henrik Grubbström (Grubba) o Anonymous class definitions are now always expressions. o Function local class definitions are now statements (and not expressions). This means that there is no longer any need to terminate them with a semicolon.
eeb5812019-10-24Henrik Grubbström (Grubba) o The inherit statement's argument is now a proper constant expression. This means that it is possible to dynamically (at compile-time) generate the value to be inherited, eg with Pike.ProxyFactory().
866ddb2016-11-02Henrik Grubbström (Grubba) o Complain about shadowed variant functions.
2fbcab2019-09-19Henrik Grubbström (Grubba) o Syntax for generator functions added. continue is now treated as a modifier, and causes such functions to become generator functions, where calling the function sets up a restartable function context. continue may also preceed return statements, which causes the generator function state to be saved before returning. Alternatively the "function" Pike.yield() may be used to return a value, and restart with a value from the restarter. Restartable functions get the type signature X fun(mixed|void value, function(mixed|void: void)|void resume_cb) where X is the declared return type of the generator function, value is the value to be returned by Pike.yield(), and resume_cb
8d78072019-12-26Henrik Grubbström (Grubba)  is a function that will be called at the yield point. resume_cb may be used to eg behave as if Pike.yield() had thrown an error.
2fbcab2019-09-19Henrik Grubbström (Grubba) 
866ddb2016-11-02Henrik Grubbström (Grubba) o Machine code support for more architectures. There's now machine code support for arm32 and arm64. o Fixed multiple integer over- and underflow bugs.
2566ef2016-12-17Martin Nilsson o Extended sscanf %O sscanf() is now able to parse all base types that sprintf %O can output. It can now also parse most literal constants pike accepts, including integers prefixed with 0x and 0b, and floating point numbers in scientific notation.
4939132017-09-09Martin Nilsson o Returning void It is now possible to return void responses from void functions. void a() { return; } void b() { return a(); }
4398bf2017-09-28Henrik Grubbström (Grubba) 
0dafc82017-01-02Martin Nilsson Bug fixes ---------
5f27fb2020-03-15Henrik Grubbström (Grubba) o Compiler
7d14062020-03-25Henrik Grubbström (Grubba)  - Constant integers outside the 32-bit signed range not longer get their types mapped to int(-0x80000000) or int(0x7fffffff), (depending on sign) but instead keep the generic int type. This fixes issues where the type resolution system derived erroneous types from the truncated types. - Under some circumstances the compiler would insert erroneous F_ESCAPE_CATCH opcodes. This could cause very strange runtime errors.
5f27fb2020-03-15Henrik Grubbström (Grubba) 
3e91212019-12-25Henrik Grubbström (Grubba) o Runtime The runtime could get confused by PROGRAM_DESTRUCT_IMMEDIATE objects having destruct callbacks under some circumstances.
0dafc82017-01-02Martin Nilsson o Operator functions Calling operator functions with more than two arguments will now work correctly for objects, where previously only the first two objects where added.
a6c4852017-01-03Martin Nilsson  When adding arrays, multisets and mappings, UNDEFINED will now always be ignored. Previously it was only ignored when first in the argument list, otherwise an exception would be thrown.
509c8c2017-01-06Martin Nilsson  The LFUNs will now be called with a consistent number of arguments. Pike implementations rarely implemented varargs on operator LFUNs, so this change should address many potential hidden errors.
3e91212019-12-25Henrik Grubbström (Grubba) o Pike.Backend Backend callbacks throwing errors could cause backends to enter a state where they got stuck throwing "Backend already running - cannot reenter.". This was typically triggered via the Stdio.sendfile() result callback.
5724022018-04-08Martin Nilsson o Protocols.HTTP.Server The server module will now read payloads for HTTP PUT requests, just
6bd2732018-04-09Martin Nilsson  as any other method. Previously it would stop reading the body and it was up to the caller to read enough data from the socket and combine with already read data. Setting "connection" header in the "extra_heads" to Request object method response_and_finish() will now control if keep-alive should be used or not. Otherwise it will be decided by the clients request headers, as previously. The headers "content-type", "content-range", "content-length", "server", "date" and "last-modified" will not be added or overwritten if provided in the "extra_heads". Header names in "extra_heads" will not have their case modified.
5724022018-04-08Martin Nilsson 
207d832020-03-13Stephen R. van den Berg o ADT.OrderedMapping Adding duplicate keys now replaces the existing keys.
0dafc82017-01-02Martin Nilsson 
866ddb2016-11-02Henrik Grubbström (Grubba) Incompatible changes --------------------
8f82ce2017-03-11Henrik Grubbström (Grubba) o Sql.Sql is no longer a wrapper class, but a function. The wrapper class has been obsoleted by introduction of the new base class __builtin.Sql.Connection. Note that it is still possible to use Sql.Sql as the type of connection objects.
2f3fef2020-03-07Henrik Grubbström (Grubba) o Stdio.Port now has a default id of itself (as documented). Previously the default id for Stdio.Port objects was 0.
5ce94e2019-10-23Henrik Grubbström (Grubba) o Named classes are always statements. As mentioned above, it is no longer possible to define a named class in an expression. Such code has been observed, but none where the name was actually used. Use an anonymous class instead. o Anonymous classes are always expressions. It used to be possible (but typically not useful) to define an anonymous class as a statement. Add a name for the class.
866ddb2016-11-02Henrik Grubbström (Grubba) o Gz.crc32 and Nettle.crc32c now only return positive results. o glob() has changed. The main incompatibilities are that [ and \ are now special characters in the pattern, and if you check the return value against 1 instead of checking if it's true, and use an array as the first argument you will have to change your code. This is in order to extend the glob function to cover what 'standard' glob functions do: glob() now accepts quotes (\* to match a single *, as an example) and handles ranges ([abc] for a, b or c, [a-z0-9] for a single character between a and z or 0-9 You can also negate a range using ^ or ! ([^a-zA-Z] as an example). When the first argument (the pattern) to glob is an array, glob now returns which pattern in the array matched. o hash() has been changed to use siphash. The old hash function is available under the name hash_8_0(). Note that this is not a cryptographic hash function. o Stdio.UDP()->send() no longer throws errors on EMSGSIZE and EWOULDBLOCK.
44910d2019-12-30Henrik Grubbström (Grubba) o When a thread exits by throwing, the thrown value is propagated to wait(). Previously it was sent directly to master()->handle_error().
866ddb2016-11-02Henrik Grubbström (Grubba)  o String.trim_all_whites() renamed String.trim().
f750692017-01-01Martin Nilsson o Floats are no longer by default sorted before added. This may reduce the precision but increases the speed of adding large number of floats by a factor of 500. Applications handling floats with large
e052312017-10-13Chris Angelico  differences in magnitude need to apply the appropriate sorting
f750692017-01-01Martin Nilsson  before arithmetics. As `+ was the only operator that performed sorting, and functions like Array.sum did not, this was already a concern.
866ddb2016-11-02Henrik Grubbström (Grubba) 
64d25f2017-01-04Martin Nilsson o Returning UNDEFINED from `+ and ``+ is not allowed and will cause an exception.
7a05c52018-02-09Martin Nilsson o RegGetValue(), RegGetKeyNames(), RegGetKeyValues(), openlog(), syslog() and closelog() have been moved to System.
2ee8bd2017-01-01Henrik Grubbström (Grubba) 
f474c72019-12-27Henrik Grubbström (Grubba) New modules and functions ------------------------- o predef::m_add() This function adds (as opposed to inserts) an element to a multiset.
866ddb2016-11-02Henrik Grubbström (Grubba) 
3e6a542016-11-21Henrik Grubbström (Grubba) o ADT.Scheduler & ADT.TreeScheduler These are variants of ADT.Heap where elements typically aren't removed from the heap.
866ddb2016-11-02Henrik Grubbström (Grubba) o Apple.Keychain
3e6a542016-11-21Henrik Grubbström (Grubba)  Parser for Apple Keychain format files (like the ones in /System/Library/Keychains/).
866ddb2016-11-02Henrik Grubbström (Grubba) o __builtin.Sql
3e6a542016-11-21Henrik Grubbström (Grubba)  Generic base classes for Sql API modules.
866ddb2016-11-02Henrik Grubbström (Grubba) o Filesystem.Zip o Function.bind()
3e6a542016-11-21Henrik Grubbström (Grubba)  Partially evaluate a function. Similar to Function.curry, but with better granularity.
866ddb2016-11-02Henrik Grubbström (Grubba) o Standards.HPack (RFC 7541) o Stdio.FakePipe
3e6a542016-11-21Henrik Grubbström (Grubba)  A simulated Stdio.Pipe.
866ddb2016-11-02Henrik Grubbström (Grubba) o Parser.Markdown o Crypto.Checksum This module collect non-cryptographic checksums. Support for crc32, adler32 and Castagnoli CRC (CRC32C). NB: In the future these may be amended to support the Crypto.Hash API.
9c06a92018-05-15Martin Nilsson o Parser.ECMAScript This module simply provides a token splitter for ECMAScript/JavaScript.
2125882020-02-24Henrik Grubbström (Grubba) o Pike.Annotations Multiple common annotations are available.
b8ba892019-12-31Henrik Grubbström (Grubba) o Pike.DestructImmediate Objects of classes that inherit Pike.DestructImmediate will be destructed immediately on their references reaching zero (rather than at some arbitrary time "soon"). This class should be used for any classes that are (or hold) locks or similar. o Pike.InhibitDestruct Objects of classes that inherit Pike.InhibitDestruct may control whether explicit destruct() calls should succeed (or be delayed until later). Note that this class is just a convenience API, and that this functionality may also be implemented by hand. The intended use is for C-classes that do not want their storage to be zapped eg during library calls. Note that it is not possible to inhibit destruction due to running out of references or by the gc.
15273e2019-12-28Henrik Grubbström (Grubba) o Pike.LiveBacktraceFrame This is similar to Pike.BacktraceFrame, but refers two-way to an active (or not) execution context. It can be used to eg examine (and change) local variables, and is intended for debugger use.
c7bf562020-03-03Henrik Grubbström (Grubba) o Pike.ProxyFactory() This is a function that generates a proxy class for objects of the given class. o Web.Auth & Web.Api
9ab7d02016-11-27Stephen R. van den Berg o Web.EngineIO & Web.SocketIO
866ddb2016-11-02Henrik Grubbström (Grubba) o Protocols.HTTP2 o Bittorrent.DHT o Standards.MsgPack
0565522020-02-21Henrik Grubbström (Grubba) o Thread.RWMutex This class implements a multiple reader / single writer mutex.
866ddb2016-11-02Henrik Grubbström (Grubba)  New features ------------
15273e2019-12-28Henrik Grubbström (Grubba) o predef::backtrace() predef::backtrace() now takes an optional argument that causes it to return LiveBacktraceFrames (instead of BacktraceFrames), which may be used to access local variables for the frame while they are still in use. This is intended for debugger use.
e175942020-01-01Henrik Grubbström (Grubba) o predef::destruct() lfun::_destruct() may now inhibit explicit destruction.
3c8e372017-10-07Henrik Grubbström (Grubba) o predef::equal()
c2663a2020-03-05Henrik Grubbström (Grubba)  equal() on functions now checks if their definitions are the same identifier in the same program.
3c8e372017-10-07Henrik Grubbström (Grubba) 
866ddb2016-11-02Henrik Grubbström (Grubba) o predef::gc() gc() called with a weak mapping as argument now removes weak references that are only held by that mapping.
0d19ec2020-02-22Henrik Grubbström (Grubba) o predef::m_clear() m_clear() now supports operation on multisets and objects. o predef::m_delete() m_delete() now supports operation on multisets.
866ddb2016-11-02Henrik Grubbström (Grubba) o ADT.Heap - An indirection object ADT.Heap.Element has been added to make it possible to optimize several heap operations. - Added low_pop().
338b0b2020-03-04Henrik Grubbström (Grubba) o Calendar - The timezone expert system has been updated for the first time in quite a while.
866ddb2016-11-02Henrik Grubbström (Grubba) o Crypto & Nettle
24e9e82020-03-01Henrik Grubbström (Grubba)  - Added Curve25519 with EdDSA. - Added support for CMAC.
866ddb2016-11-02Henrik Grubbström (Grubba)  o Filesystem.Monitor The filesystem monitoring system now uses accelleration via Inotify et al. o Gmp - mpf is now implemented using gmpf if the library is available. - Improved support for GMP 5.0 and later. o GTK2 Multiple runtime fixes. o JOSE (JSON Object Signing and Encryption) Some low-level API support has been added to the Crypto and Web modules to support parts of RFC 7515 - 7520. o MasterObject - Protect against the same file being compiled concurrently in multiple threads. - cast_to_program() and cast_to_object() should now be thread safe.
f4b14d2017-06-18Martin Nilsson o CompilerEnvironment()->lock() Access to the compiler lock. o Crypto.ECC.Curve.Point A point on an ECC curve.
866ddb2016-11-02Henrik Grubbström (Grubba) o Parser.Pike Support new language features.
15c17e2017-08-28Per Cederqvist 
dc92e32019-12-29Henrik Grubbström (Grubba) o Protocols.DNS - Protocols.DNS now supports encoding and decoding CAA RRs.
15c17e2017-08-28Per Cederqvist 
dc92e32019-12-29Henrik Grubbström (Grubba)  - Classes derived from Protocols.DNS.server may now override report_decode_error() and handle_decode_error() to change how errors while decoding a DNS packet are reported and handled.
866ddb2016-11-02Henrik Grubbström (Grubba)  o Protocols.WebSocket Multiple API changes.
7a82ac2016-01-26Martin Nilsson o Random rewrite The random functions have been rewritten to ensure security by
f8800b2016-01-26Henrik Grubbström (Grubba)  default. random_string() and random() now get their data directly from the operating system random generator, i.e. /dev/urandom on most unixen. This is about half the speed compared with the random_string function in Pike 8.0, but is now as secure as the system random generator.
7a82ac2016-01-26Martin Nilsson  For consumers of random data that have additional requirements, different random generators are exposed in the new module
f8800b2016-01-26Henrik Grubbström (Grubba)  Random. The module has the following generators:
7a82ac2016-01-26Martin Nilsson  - Random.Interface This is not actually a generator, but an interface class that is inherited into all the other generators. It contains code that can turn the output from the random_string method into random numbers with different limits without introducing bias. It also contains code for all the different variants of random() on different types. This is currently not possible to implement in Pike code, as the typing is too complicated and it is not possible to access private/protected _random methods in objects. - Random.System This generator maps directly on top of the system random generator. This is the default generator used for random() and random_string(). - Random.Deterministic
f8800b2016-01-26Henrik Grubbström (Grubba)  This generator creates the same sequence of random numbers for a
7a82ac2016-01-26Martin Nilsson  given seed, with good pseudo random properties. - Random.Hardware
f8800b2016-01-26Henrik Grubbström (Grubba)  This generator accesses the hardware random generator, when
7a82ac2016-01-26Martin Nilsson  available. - Random.Fast This generator takes entropy from the Random.System, but feeds
f8800b2016-01-26Henrik Grubbström (Grubba)  it into a cryptographic pseudo random number generator to be
7a82ac2016-01-26Martin Nilsson  able to output data fast. This is not the default random number
8aa0f52016-03-19Martin Nilsson  generator to avoid loading crypto code on every startup.
7a82ac2016-01-26Martin Nilsson 
f8800b2016-01-26Henrik Grubbström (Grubba)  Comparing the different generators with each other gives the following approximate speeds on a Linux system with hardware random support:
7a82ac2016-01-26Martin Nilsson  Random.System 1.0 Pike 8.0 random_string 0.45 Random.Hardware 0.25 Random.Fast 0.20 Random.Deterministic 0.20
8aa0f52016-03-19Martin Nilsson  Objects implementing the _random lfun now get two arguments, the current random_string() and random() functions. This is convenient
c2663a2020-03-05Henrik Grubbström (Grubba)  for C-level functions in that they don't need to look up functions
8aa0f52016-03-19Martin Nilsson  themselves. Note that it is possible for a user to replace these with non-conforming functions (returning values of the wrong type, strings of the wrong length or shift size, and values outside the given range) or even non-functions.
c2663a2020-03-05Henrik Grubbström (Grubba)  All code in Pike that use random numbers now use the current random
8aa0f52016-03-19Martin Nilsson  functions (though in some cases fixed at object creation). This allows for repeatable results if the random functions are replaced with a deterministic random generator, such as Random.Deterministic. Example: Random.Deterministic rnd = Random.Deterministic( seed ); add_constant( "random_string", rnd->random_string ); add_constant( "random", rnd->random );
866ddb2016-11-02Henrik Grubbström (Grubba) o Sql
b7ac832016-07-10Henrik Grubbström (Grubba) 
866ddb2016-11-02Henrik Grubbström (Grubba)  - Most Sql C-modules converted to cmod.
b7ac832016-07-10Henrik Grubbström (Grubba) 
89a5a22020-02-23Henrik Grubbström (Grubba)  - All Sql driver modules have __builtin.Sql.Connection as a common base class. - Added next_result() to support queries returning multiple resultsets.
7a82ac2016-01-26Martin Nilsson 
866ddb2016-11-02Henrik Grubbström (Grubba)  - ODBC & tds: Support more datatypes.
9654e02015-10-15Martin Nilsson 
866ddb2016-11-02Henrik Grubbström (Grubba)  - ODBC: Support big_typed_query().
9654e02015-10-15Martin Nilsson 
866ddb2016-11-02Henrik Grubbström (Grubba)  - pgsql: Lots of changes and fixes.
781fcd2016-05-13Per Hedbor 
6e598e2020-03-04Stephen R. van den Berg  - pgsql: Toggle cache_autoprepared_statements default to off; turning it on triggers a bug in PostgreSQL sometimes that causes spikes in CPU usage of the database.
866ddb2016-11-02Henrik Grubbström (Grubba) o SSL
781fcd2016-05-13Per Hedbor 
866ddb2016-11-02Henrik Grubbström (Grubba)  - Support session tickets.
781fcd2016-05-13Per Hedbor 
866ddb2016-11-02Henrik Grubbström (Grubba)  - Support Negotiated FF-DHE.
781fcd2016-05-13Per Hedbor 
24e9e82020-03-01Henrik Grubbström (Grubba)  - Support Curve25519 key exchange.
866ddb2016-11-02Henrik Grubbström (Grubba)  - Support client certificates.
781fcd2016-05-13Per Hedbor 
866ddb2016-11-02Henrik Grubbström (Grubba)  - Support ALPN.
781fcd2016-05-13Per Hedbor 
866ddb2016-11-02Henrik Grubbström (Grubba)  - Prefer AEAD suites to CBC suites.
920fe52016-07-01Martin Nilsson 
866ddb2016-11-02Henrik Grubbström (Grubba)  - SSL.File supports set_buffer_mode(). o Standards.PKCS Support PKCS#8 private keys. o String.Buffer & Stdio.Buffer Added _search(). o The self testing framework now supports *.test-files.
8271012016-12-20Jonas Walldén o Thread
9c0bc12018-04-04Jonas Walldén  - _sprintf() improvements: Thread.Mutex now prints the ID of the thread holding the lock, and thread IDs are shown as hexadecimal numbers. - Thread.Farm now supports a callback for thread creation and termination for the purpose of tracking thread names.
8271012016-12-20Jonas Walldén 
f3bbb82020-02-29Henrik Grubbström (Grubba)  - Thread.Condition are now bound to the first Thread.Mutex object that they are used together with. This ensures that the correct Thread.Mutex is aways used.
c4a0c92017-07-20Martin Nilsson o sprintf %x %X and %x can now be used on 8-bit wide strings to get a hexadecimal representation of their contents. Just calling sprintf("%x",data) is the same as calling String.string2hex(data).
cde6142017-06-21Martin Nilsson o Unicode 10.0.0.
949f722016-07-22Henrik Grubbström (Grubba) 
2a42f92017-01-09Martin Nilsson o Unicode.is_whitespace()
c2663a2020-03-05Henrik Grubbström (Grubba)  This new function returns whether a unicode character is a whitespace character or not.
2a42f92017-01-09Martin Nilsson 
35e4fd2016-02-01Henrik Grubbström (Grubba) 
32323f2016-03-27Henrik Grubbström (Grubba) Deprecated symbols and modules ------------------------------ o Sql.mysql_result and Sql.mysqls_result have been deprecated. Use Sql.Result instead.
866ddb2016-11-02Henrik Grubbström (Grubba) o call_function() has been deprecated. Use `()() instead.
32323f2016-03-27Henrik Grubbström (Grubba) 
2ee8bd2017-01-01Henrik Grubbström (Grubba) 
dca6762014-11-03Martin Nilsson Removed features and modules ---------------------------- o Compatibility for Pike versions before 7.8 is no longer available.
c2663a2020-03-05Henrik Grubbström (Grubba) o GTK1 library is deprecated, so glue code has been removed.
a72ec62016-01-04Per Hedbor 
83a8f52015-11-09Martin Nilsson C-level API changes ------------------- o The contract for functions is now changed so that a function is no longer required to clean the stack. The topmost value of the stack will be regarded as the return value and the rest of the items on the stack, compared to before the function arguments were pushed, will be popped and discarded. Efuns still have to clean their stack as previously.
d6d66b2019-10-22Henrik Grubbström (Grubba) o Object destructor callbacks may now run during pop_stack() and pop_n_elems(). This means that code must be prepared for arbitrary state changes after having called them.
83a3202016-01-29Martin Nilsson o Removed add_function, pike_add_function, pike_add_function2,
4903e82016-01-30Martin Nilsson  simple_add_variable, map_variable and MAP_VARIABLE. This removes the remaining few API:s where text types were used. Use ADD_FUNCTION and
f1dbf02016-01-29Martin Nilsson  PIKE_MAP_VARIABLE instead.
83a3202016-01-29Martin Nilsson 
1180002016-03-19Martin Nilsson o Removed the functions my_rand and my_srand. Use the random functions
8aa0f52016-03-19Martin Nilsson  on the stack for _random lfuns, the push_random_string or look up
1180002016-03-19Martin Nilsson  the random function from get_builtin_constants(). For deterministic pseudo random, create a private Random.Deterministic object.
8aa0f52016-03-19Martin Nilsson 
866ddb2016-11-02Henrik Grubbström (Grubba) o The preprocessor has been converted into a cmod, and been modified to use more standard Pike datatypes. o The preprocessor-specific hashtable implementation has been removed. o The gdb_backtraces() function is now available also --without-debug. o There's now support to block mapping hashtables from being shrunk on map_delete().
35992b2018-01-18Martin Nilsson o guaranteed_memset() is replaced with secure_zero() which fills a buffer with zero. On x86 SSE2 is used to zero the memory without loading it into the CPU cache, as this function is typically used before calling free() on memory with cryptographic key data.
d6d66b2019-10-22Henrik Grubbström (Grubba) o The GC marker hash table has been removed. For types which require GC markers, they are now allocated as part of the data type. Such structures must now start with GC_MARKER_MEMBERS (which includes eg the refs field). See "gc_header.h" for details. This change significantly improves GC performance (up to a factor of 2 in some situations).
866ddb2016-11-02Henrik Grubbström (Grubba)  Documentation ------------- o RFC references added. o Character encoding issues fixed. o Added @enum/@endenum markup. o Support undocumented enums with documented constants.
35e4fd2016-02-01Henrik Grubbström (Grubba) 
dca6762014-11-03Martin Nilsson Building and installing ----------------------- o GMP 4.1 or later is now required.
9721ab2016-01-11Martin Nilsson 
24e9e82020-03-01Henrik Grubbström (Grubba) o Nettle 3.5 is now supported.
9721ab2016-01-11Martin Nilsson o C99 assumed The configure tests will not check for functions defined in C99 anymore and C99 compiler support is assumed.