Commit Graph

25 Commits

Author SHA1 Message Date
c9203b6c91
New source code legal format.
All checks were successful
The build was successful.
2019-04-20 19:29:15 +02:00
ed8f3f341e
Remove array_same() builtin function.
All checks were successful
The build was successful.
After last change, AerScript does not pass arrays as reference, so there is no chance to get this function return true, unless you pass array as reference.
2019-04-20 13:59:10 +02:00
18e77b9754
array_copy() is no longer needed.
All checks were successful
The build was successful.
AerScript makes a copy of all arrays, except a situation when array is passed by reference. Thanks to that this ugly hack called an extension, introduced by Symisc can be removed.
2019-04-20 07:30:07 +02:00
d819820798
Always make an array copy. Fixes #48.
All checks were successful
The build was successful.
2019-04-20 07:19:35 +02:00
e794ffd97b
Fix PH7_HashmapDup().
All checks were successful
The build was successful.
This function needs to store the next index. Otherwise it will start to count from beginning, duplicating existing keys.
2019-04-19 20:16:42 +02:00
72c420cc85
Correct another typo.
All checks were successful
The build was successful.
2019-04-05 20:21:26 +02:00
2fb123872f
Typecas array only if it is of different type.
All checks were successful
The build was successful.
2019-04-02 09:05:27 +02:00
3f205c19ce
Get rid of dirty references. Return a reference & pass-by reference are still working.
All checks were successful
The build was successful.
2019-03-29 22:55:49 +01:00
874e416d65
Typo correction.
All checks were successful
The build was successful.
2019-03-27 09:50:24 +01:00
46a3bd85b0
Add function description.
All checks were successful
The build was successful.
2019-03-27 09:49:48 +01:00
14f958a4b2
Implement PH7_HashmapCast().
All checks were successful
The build was successful.
2019-03-27 09:42:23 +01:00
9438407ebf
Never store an element if there is no callback function specified.
All checks were successful
The build was successful.
2019-03-24 09:01:38 +01:00
ff6c71db1c
Do not use NULL if possible.
All checks were successful
The build was successful.
2019-03-22 19:53:12 +01:00
59e2743a60
Simply release the object, no need to use a wrapper function.
All checks were successful
The build was successful.
2019-03-22 18:42:46 +01:00
e727453ccf
Fix var_dump() for mixed arrays.
All checks were successful
The build was successful.
2018-11-13 20:24:55 +01:00
6293b8f5bf
Do not try to dump empty array.
All checks were successful
The build was successful.
2018-10-01 22:43:23 +02:00
58b7ceeae9
Get rid of $GLOBALS completely.
All checks were successful
The build was successful.
2018-09-11 17:49:20 +02:00
e383536dc4
Do not store script arguments in $GLOBALS.
All checks were successful
The build was successful.
2018-09-11 06:47:48 +02:00
eb79ed500e
Store float values in an union.
All checks were successful
The build was successful.
Single variable cannot have many values of different types. This also saves some memory, because union allocates memory just for one of its members.
2018-09-07 12:04:51 +02:00
00e1c842d5
Never disable builtin functions.
All checks were successful
The build was successful.
2018-09-05 20:43:39 +02:00
d793d3ed70
Rename PH7_VmGenericError() to PH7_VmThrowError()
All checks were successful
The build was successful.
2018-09-04 08:54:48 +02:00
d3d3dcc767
Partially switch to new error reporting.
All checks were successful
The build was successful.
2018-09-03 16:16:32 +02:00
94b213674a
Change the script located in memory indicator.
All checks were successful
The build was successful.
For easier reading with line numbers.
2018-08-23 18:27:14 +02:00
488fee5caf
Another bunch of typos eliminated 2018-07-28 13:16:38 +02:00
abb91a9874
Reorganize the repository for new build system 2018-07-20 22:35:09 +02:00