Bearnip
Lars
LDMud
LDMud 3.4
LDMud 3.4 History
|
save_value(), restore_value(), save_object(),
restore_object():
lfun closures are now saved with their inheritance path to
allow proper restoration under complex circumstances.
tls_check_certificate(): GEN_DNS, GEN_EMAIL and GEN_URI
certificates are supported.
hash(): Available if OpenSSL is supported, this efun calculates
hashes for various methods.
hmac(): Available if OpenSSL is supported, this efun calculates
HMACs for various methods.
tls_refresh_certs(): Reload the certificates and
certificate revocation information.
int i = to_int( ({float})0 ); compile correctly.
__OPENSSL__and __GNUTLS__offer insight as to
which TLS package is being used.
--tls-crlfile and --tls-crldirectory.
tls_refresh_certs(): Reload the certificates and
certificate revocation information.
--tls-crlfile and --tls-crldirectory.
add_verb(),
add_xverb(),
allocate_mapping(),
copy_mapping(),
efun308(),
extract(),
file_name(),
filter_array(),
filter_mapping(),
m_sizeof(),
map_array(),
map_mapping(),
mapping_contains(),
member_array(),
set_auto_include_string().
transfer().
copy(),
deep_copy(),
get_type_info(),
to_array(),
to_string():
Added struct support.
add_action(): Historical usage with just one argument
no longer supported.
assoc(), insert_alist(),
order_alist(), intersect_alist(): Optional
as package 'alists'.
call_out(): The minimum delay can now be 0, meaning:
as soon as possible.
catch(): If there is not enough time left (less than
__CATCH_EVAL_COST__), this is thrown as an error from inside
the catch instead of causing the catch to return 0.
catch(): Modifier reserve expr can
be used to specify a computing reserve different from
__CATCH_EVAL_COST__.
debug_info(): Option
DINFO_DUMP:"memory" to dump a list of all
allocated memory blocks (currently supported just by
smalloc).
debug_info(): Added more data to the option
DINFO_DATA:DID_MEMORY result.
debug_info(): DINFO_DATA:DID_ST_PACKETS_IN and
DID_ST_PACKET_SIZE_IN are the statistics for the incoming network
traffic.
deep_inventory(): The result can be restricted to a certain
depth.
filter(): The efun can now filter strings as well.
function_exists(): now also returns the filename and
linenumber of a function.
function_exists(): The 'FEXISTS_ALL' result also contains
information about the function's type, flags, and number of
arguments.
garbage_collection(): An optional flag argument allows to
change the name of the default GC log file.
get_type_info(): The name of the defining program of a
lfun or context closure, or the function name itself, can be
returned.
map(): The efun can now map strings as well.
make_shared_string(): Deprecated.
member(), rmember(): The start
position for the search can be specified.
mkmapping(): Convert structs to mappings, too.
pg_*(): Postgres efuns trigger a privilege violation
("pgsql", "efun name").
process_string(): Spaces are now allowed in function
arguments and no longer terminate the function specification.
regexp(), regexplode(): Optionally take RE
interpretation options.
regexplode(): New flag RE_OMIT_DELIM allows to omit the
matched delimiters from the result.
send_erq(): ERQ callback closures can now accept
the data as a string instead of an array.
sprintf(), printf(): Formats %O and %Q print
floats always with a decimal point.
say(),
tell_room(),
tell_object(): The efuns can now take a mapping,
an object or a struct instead of an array to use with the
catch_msg() mechanism.
transfer(): Available (in compat mode) only when
USE_DEPRECATED is in effect.
unique_array() The separator function can now be a
closure, and can also be given extra arguments.
wizlist_info(): Added the number of mappings to the
result.
write_file() Allowed to remove the file before writing.
restore_object(): An exception during the restore no
longer has the danger of leaking values and memory.
unique_array(): An exception during the process no longer
has the danger of leaking values and memory.
baseof(): Test the relation between two structs.
call_direct(), call_direct_resolved():
To perform calls which
are not resolved by a default method.
convert_charset(): Convert a string between character sets.
match_command(): Find all matching actions for a command.
md5_crypt(): Compute an Apache-compatible password
encryption using the MD5 message digest algorithm.
pg_connect(), pg_query(), pg_pending(), pg_close():
Optional: PostgreSQL support.
regmatch(): To match a string against a regexp and
optionally retrieve the match results for subexpressions.
regexp_package(): Returns the currently selected default
regexp package.
reverse(): Reverse the content of an integer, a string
or an array.
sha1(): Compute the SHA1 message digest.
struct_info(): Return information about a struct.
structp(): Predicate to detect struct values.
to_struct(): Convert an array into a struct.
runtime_warning() is called for runtime warnings.
privilege_violation(): For "set_limits" and "limited"
the requested limits are passed as argument.
walk_mapping() over a mapping
deleted elements from the very same mapping.
... to flatten array arguments in a
function call at runtime.
foreach() can loop over references, integers and
integer ranges.
nosave and catch(; nolog) are now
official features.
[>] to index either from
the beginning or
the end, depending on the sign of the index value.
range_check allows to check array range
indexing at runtime.
switch() is used on a value which is neither
a string nor a number, the driver no longer generates a runtime
error messge, but instead jumps to the default label.
| and |= can compute
the union of two arrays.
^ and ^= can compute
the symmetric difference of two arrays.
#'| and #'^ can take more than two arguments.
__LPC_STRUCTS__
is defined.
__PCRE__ is always defined.
__LPC_INLINE_CLOSURES__ is defined.
__BOOT_TIME__ expands to the time() the
driver was started.
__INIT(). Clone variables are usually
initialized the same way, however with the pragmas
share_variables and
init_variables the programmer can instruct the
driver on a pre-program basis to initialize the variables
of clone from the current values of the corresponding
variables in the blueprint.
foreach()
no longer gets confused by visibility flags.
H_DEFAULT_METHOD can be used to
resolve call_other()/call_resolved()s to
non-existing functions.
H_DEFAULT_PROMPT can be used to specify a
default prompt different from "> ".
H_PRINT_PROMPT can be used to do special magic
when printing the prompt.
no_)warn_missing_return'.
LIMIT_COST to control how much
a limited execution should cost.
--alarm-time and --heart-interval. The
values are available in LPC with the macros
__ALARM_TIME__ and
__HEART_BEAT_INTERVAL__.
--sync-heart and --async-heart; if
enabled, the macro __SYNCHRONOUS_HEART_BEAT__ is
defined.
--share-variables and
--init-variables to defined the default for clone
variable initialization.
--enable-malloc-sbrk
to selectively allow the memory allocator to use sbrk() instead of
malloc() where available (default is to allow sbrk()).
--tls-key and
--tls-cert to define the x509 key- and certfile for
the TLS package.
(Back to the top.)
tls_check_certificate() efun.
Bearnip
Lars
LDMud
LDMud 3.4
LDMud 3.4 History
|
Lars Düning () - PGP Key |