11 Commits

Author SHA1 Message Date
4dbd3ea412
New memory subsystem.
This is a new memory subsystem implementing heap calculations as well as new builtin functions:
 * get_memory_usage()
 * get_memory_peak_usage()
 * get_memory_limit()
It also allows to set an upper memory limit, ensuring that processed script will not be able to allocate more memory from OS.
New subsystem is based on work done in 'memory_limit' branch. Big thanks to devnexen!
This finally fixes .
2018-08-18 19:24:38 +02:00
b94a23d580
Get rid of PH7 ident 2018-08-15 20:03:39 +02:00
26b1675021
API function rename 2018-08-14 17:43:43 +02:00
ece036b214
Rework the entry point
* some functions were not used and have been removed
 * some parameters seemed to be useless and have been removed
 * code cleanup
2018-08-14 13:45:27 +02:00
7e3c79d3c5
Functions naming cleanup 2018-08-13 20:16:37 +02:00
63b0f450d3
Move VM initialization into separate step to enable errors reporting earlier. 2018-07-25 18:15:40 +02:00
a9637d2c8a
This partially implements - currently only for entry file. 2018-07-24 09:06:35 +02:00
965f19b9b7
Add scripts directory to the include path. This fixes . 2018-07-24 08:05:08 +02:00
52d9616503
Revert d937d0c825 2018-07-23 19:39:21 +02:00
dba8e5098f fixing in the vm context instead, making the feature available in case realpath could be implemented as well 2018-07-23 06:07:27 +01:00
abb91a9874
Reorganize the repository for new build system 2018-07-20 22:35:09 +02:00