Commit Graph

11 Commits

Author SHA1 Message Date
4dbd3ea412 New memory subsystem.
All checks were successful
The build was successful.
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 #25.
2018-08-18 19:24:38 +02:00
Piotr Likoski
19f8cf2599 Comply with GCC extensions 2018-08-02 16:33:07 +02:00
6527b58b74 Fix ASM keyword in hash.c
See: https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html#Alternate-Keywords
2018-08-02 02:54:01 +02:00
a6a43b5f3b This is useless now 2018-07-27 21:19:59 +02:00
c24a9bc251 Our implementation of SyStrncpy() 2018-07-27 08:22:55 +02:00
e2aa774a6a Reimplement SyRealPath(); fix build. 2018-07-23 20:45:30 +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
d1b874b391 Fix segmentation fault 2018-07-21 14:44:36 +02:00
e394ce7d14 Divide libcox by Symisc into smaller logical chunks 2018-07-21 12:41:01 +02:00
abb91a9874 Reorganize the repository for new build system 2018-07-20 22:35:09 +02:00