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
Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63
* commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits)
dmalloc.h is included from global.h
Static:ified a lot of strings.
This is more or less all instances of push_text(static data here).
Left to do: make_shared_X_string(static data here). :)
ZXID: Survive zxid from before 20121020-142800.
The number of arguments to zxid_parse_cgi() changed in version
ZXID: Renamed internal function to avoid namespace conflicts.
ZXID: Fixed some memory leaks on Session destruct.
ZXID: Added version().
ZXID: Added configuration option "IPPORT".
ZXID: Changed arguments to authenticate().
Recent versions of the zxid library have an extra parameter "uri_path"
that they want from the request. To avoid needing to pass this argument
via enviroment variables, we now use some lower level functions.
Fixes "null or empty cgi->uri_path=(null) qs(...) programming error".
ZXID: Some more forward compat.
The variable zx_debug was renamed to errmac_debug on 2013-11-13.
The fields wsp_localpdp_obl_req and wsc_localpdp_obl_accept in
struct zxid_conf are no longer strings but arrays.
These changes seem to be sufficient to be able to link against
ZXID: Some support for ZXID 1.19 and later.
Some fields in struct zxid_conf changed names in ZXID 1.19:2013-12-04.
ZXID: More build fixes.
Missed a few spots...
ZXID: Fixed some build issues.
One use of parent_storage() was missed when the API was changed.
Some places where missed when the precompiler started prefixing
symbols with the module name.
Removed unused defines.
ZXID: Fixed warning about redefined symbol.
GETTIMEOFDAY is defined in both port.h and <zxid/errmac.h>.
We don't use either in the ZXID module, so just undef the
Binary size: push_constant_text -> push_text when not time-critical.
Especially in error handling, and code that does a lot of other string
operations anyway the speed gain is not wort the 100+ bytes code size
of each instance of push_constant_text
This saves about 20K of code size (main pike binary), while not really
changing the speed much.
push_constant_text that seemed to be in at least pseudo-time-critical
code was kept as they were.
On a related note, push_constant_text(":") four times in a row creates
four different string variables, for obvious reasons.
Some of the remaining push_constant_text really should have a
module/file local string variable, even though that is more bothersome
It might be nice to have this in .cmod files automatically.
Runtime: Improved robustness of parent_storage().
Under some circumstances parent_storage() could return
a storage pointer to a class that had inherited the
parent program. Fix this by making sure that we get the
storage for the program that we expect to find as parent.
Merge branch '8.0' into gobject-introspection
Merge remote-tracking branch 'origin/7.9' into pdf
ZXID: Update the zxid_conf::path_len field.
The path_len field needs to reflect the length of the path string.
If it doesn't, some configfiles will not be found (notably the log
directory, which will cause storing of assertion data to fail).
Fixes [roxen.com #16333] where assertion data was lost after the redirect.
Merge branch '7.9' into gobject-introspection
Merge remote branch 'origin/7.9' into rblock_alloc
ZXID: Improved thread-safety.
Merge remote branch 'origin/7.9' into breaking_into_pieces
ZXID: Allow the session id to be set on session creation.
ZXID: Added some support for dmalloc.
ZXID.Configuration: Updated to more recent ZXID and fixed some bugs.
ZXID: Fixed SEGV on exit from ZXID.Configuration.Session.
ZXID: Skip subtypes on strings.
ZXID: Removed some duplicate code.
ZXID: Release the interpreter lock during processing.
ZXID: Configuration()->idp_list() now actually works.
ZXID: Take advantage of my patches to libzxid.
ZXID: Added Session class and changed success output to JSON.
Autodoc: Fixed some markup errors.
ZXID: idp_list() now returns a mapping with the known IdPs.
ZXID: Added Configuration()->idp_list().
ZXID: Now initializes the curl bindings properly.
Fixes SEGV with old curl.
ZXID: Fixed memory leak and added workaround for broken header file.
Fixes malloc memory corruption caused by zxid_init_conf().
ZXID: fixed autodoc
ZXID: Avoid freeing some statically allocated strings.
ZXID: Initial implementation.