33 Commits

Author SHA1 Message Date
f2116a6461
Always use HTTPS when possible. 2019-05-15 20:02:39 +02:00
d8f9db8f9a
Proper implementation of is_callback() & is_callable(). First one only performs a check if variable type is callback, while the second checks if function exists and if can be called. 2019-04-10 09:45:00 +02:00
243faf4373
Header cleanup. 2019-03-24 09:38:52 +01:00
accde59f9e
Cleanup header. 2019-03-24 09:32:27 +01:00
fa295b9437
It's callback, not callable. 2019-03-24 09:31:19 +01:00
a87471e1e3
The empty() function is useless in Aer. 2019-03-24 09:22:10 +01:00
9ee0f1954c
Do not omit the floating point.
Every modern hardware, including embedded devices, should support floating point numbers.
2018-09-07 06:38:32 +02:00
cb8ddaab5f
This is obsolete. 2018-09-05 21:54:52 +02:00
3887aa69a6
Never disable hash functions. 2018-09-05 21:46:25 +02:00
c3a4c8de77
Never disable builtin functions. 2018-09-05 20:47:07 +02:00
11ba0ce738
No need to store output length in VM. 2018-09-05 18:33:53 +02:00
d793d3ed70
Rename PH7_VmGenericError() to PH7_VmThrowError() 2018-09-04 08:54:48 +02:00
dc0a55c8c0
Cleanup old error handler. 2018-09-04 08:38:41 +02:00
fd4206a227
Remove error_log() builtin function and corresponding PH7_VM_CONFIG_ERR_LOG_HANDLER.
It was not fully implemented and such feature should be implemented in separate module or on developers own.
2018-09-03 19:03:05 +02:00
461ee00034
Allow to use PH7_CTX_DEPRECATED. 2018-08-30 13:47:01 +02:00
6a14e88973
Remove unused definition. 2018-08-27 20:22:23 +02:00
ab5ee94f99
API function rename. 2018-08-26 19:18:33 +02:00
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
c83d6e13fc
Removing xExec.
First of all, VFS is not a right place for this, finally it was not implemented anyway.
2018-08-16 21:37:34 +02:00
039fde099f
Compile Aer code or chunk of code. 2018-08-16 09:34:18 +02:00
f9946e9842
Reimplement filegroup() and fileowner() as builtin function, . 2018-08-15 21:58:21 +02:00
16ea44372f
Dictionary correction. 2018-08-15 21:35:44 +02:00
ac1dee48c9
Reimplement fileinode() as builtin function, . 2018-08-15 21:28:59 +02:00
b642858044
Add missing definition 2018-08-15 20:20:56 +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
ef2ea60a60
Treat whole file as P# source code. Fixes . 2018-07-28 18:28:19 +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
e7b78be8e5 Fix , merge from fix_debug_backtrace branch () 2018-07-22 19:24:00 +01:00
abb91a9874
Reorganize the repository for new build system 2018-07-20 22:35:09 +02:00