Debian Codegraph @

CHANGES

raw
1 2025-04-15 : 2.4.1
2 ssl : fixed certificate verification failure on windows (#293)
3 all : fixed build issues on BSD based systems (#296 #297 #298 #299)
4 std : fixed double close when using process_stdin_close (#300)
5 all : fixed for c standards with builtin bool
6 all : fixed thread usage causing global cleanup crashes (#304)
7 cmake : updated zlib and mariadb-connector-c for newer cmake compatibility (#309)
8 cmake : updated mariadb-connector-c for compatibility with new clang on arm64 (#309)
9
10 2024-07-18 : 2.4.0
11 all : deprecated neko (see README)
12 std : fixed put_env when null is passed in (#229 https://github.com/HaxeFoundation/haxe/issues/10395)
13 std : added sys_cpu_arch (#275)
14 std : fixed sys_is64 returning false on 64 bit Windows (#276)
15 std : fixed $int to respect whitespace and signs in hex notation and to ignore trailing text (#258)
16 all : fixed various build issues on macOS Catalina and Big Sur
17 cmake : update all dependencies
18 all : added arm64 binaries for Linux and macOS, and universal binaries for macOS
19 regexp : migrated to pcre2, fixing matches with null characters (#249)
20 regexp : fixed stack overflow with large strings (#262)
21 regexp : added regexp_matched_num function (#257)
22 nekotools : allowed custom 404 handler for server (#278)
23 nekotools : added `nekotools boot -c *.n` option to help output (#273)
24 ui : migrated to gtk3 on Linux (#220)
25 sqlite : fixed early finalizer call (#200)
26 cmake : fixed loading error when installing to /usr/local on Unix (#271)
27 gc : fixed "GetThreadContext failed" error on Windows (#264)
28 std : fixed date_format crash on windows (#279)
29 vm : added more detailed errors for failed stack checks (#284)
30 ssl : migrated to mbedtls 3 (#290)
31 ssl : ignored MBEDTLS_ERR_SSL_WANT_READ and MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET (#291)
32
33 2019-10-19 : 2.3.0
34 std : added socket_set_broadcast function (#190)
35 std : fixed sha1_update call (#194)
36 std : fixed 0x7F detection in utf8 functions
37 std : changed date_get_tz to take an argument (a timestamp), and to return minutes instead of seconds (#195)
38 std : added date_utc_format, date_get_utc_day, and date_get_utc_hours - all variants of existing functions,
39 but using gmtime_r instead of localtime_r (#195)
40
41 2017-12-19 : 2.2.0
42 nekotools : added `nekotools boot -c *.n`, which generates a C file that contains the input Neko bytecode (#130)
43 nekotools : fixed `nekotools boot` not able to find neko when a value in PATH does not have a trailing slash (#148)
44 cmake : recognize common install location variables by using GNUInstallDirs
45 cmake : fixed various build issues, particularly for FreeBSD (Thanks, ppenzin!), and cygwin
46 cmake : added NekoConfig.cmake to ease building ndll or native program using Neko with CMake
47 cmake : replaces WITH_NDLLS with WITH_* (#157)
48 cmake : does not recompile nekoc/nekoml unless RECOMPILE_NEKOC_NEKOML (#171)
49 all : added NEKO_MODULE_PATH in neko.h that points to the installation path of the ndll files
50 std : bugfix in utf8_compare (https://github.com/HaxeFoundation/haxe/issues/5308)
51 ssl : handle MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY (#150)
52 ssl : allow partial failure on loading certificates (#160)
53 mysql : use eof terminated string when appropriated (#159)
54 jit : disable jit for win64, which never worked
55 all : introduced NEKO_BIG_ENDIAN and NEKO_LITTLE_ENDIAN to replace IS_BIG_ENDIAN, IS_LITTLE_ENDIAN, LITTLE_ENDIAN, BIG_ENDIAN, and BYTE_ORDER
56 all : renamed TAG_BITS to NEKO_TAG_B1ITS
57 all : add NEKO_JIT_DISABLE and NEKO_JIT_DEBUG CMake options
58 all : VS2015 and 2017 compatiblity (#133 #172)
59 sqlite : fixed reading 32-bit int from sqlite (#167)
60
61 2016-05-08 : 2.1.0
62 all : switched to use CMake for building (#122)
63 mod_neko/tora : use remote_ip (fixes Apache 2.2 returning 0.0.0.0 in 64 bits ?)
64 std : added buffer_get_length
65 std : added socket_send_to and socket_recv_from for UDP, added socket_set_keepalive
66 all : increased max codesize from 65K opcodes to 1M
67 nekoc : allow break/continue in try/catch
68 std : bugfix in utf8_compare
69 vm : added $sget16/$sget32/$sgetf/$sgetd, $sset16/$sset32/$ssetf/$ssetd, and $itof/$itod/$ftoi/$dtoi
70 vm : bugfix with arrays/strings having length >128MB
71 jit : bugfix on some GCC versions causing invalid array access
72 std : fixed escaping of arguments in process_run
73 all : nekotools boot executable can now be safely striped on Linux (#86)
74 all : nekotools boot now looks for the Neko VM binary in cwd, $loader.path, and PATH in order (#110)
75 std : added epoll support (#67)
76 all : libneko can now be loaded from current directory
77 all : libneko is now versioned
78 vm : comparisons with NaN and Int/Float now always returns false
79 api : added kind_lookup (#6)
80 mod_neko/tora : distribute ndlls compiled against Apache 2.4 (can still manually compile against Apache 2.2)
81 mysql : use MariaDB's LGPL connector/c instead of MySQL's GPL connector/c (can still use MySQL for compilation)
82 all : copyright to Haxe Foundation instead of Nicolas and other license clean up (#102)
83
84 2013-02-23 : 2.0.0
85 all : changed license to MIT
86 mod_neko+mod_tora : fixed issue with get_client_ip in 64 bits mode /gcc
87 mysql : added support for timestamp to date conversion
88 std : added merge_sort native implementation
89 std : added mem_local_size
90 regexp : fix in regexp_match, ^ no longer match if pos > 0
91 tools : don't abort server on invalid http request
92 std : fixed sys_command error code (was <<8 on Linux/OSX)
93 nekoc : added -version which adds Loop opcode and ensure correct $array evaluation order
94 vm : support for bytecode version and new Loop/MakeArray2 opcodes
95 mod_neko/tora : only mix POST with GET params if content-type contains 'urlencoded'
96 mysql5 : added charset support check for escape()
97 nekoc : fixed bug with switch tables where max >= 256
98 neko : int32 is now a first class value
99 std : md5 and hashing now takes the int32 value into account
100 neko : max array/string size is now 256MB instead of 512MB
101 std : date_new("YYYY-MM-DD") now uses localtime instead of UTC (same as Y-M-D H:M:S)
102 neko : fixed missing stack for array write in interp mode with invalid index
103 neko : added "-version" to print version and exit
104
105 2011-09-10 : 1.8.2
106 vm : use 15 digits (instead of 10) for float display
107 std : allow up to 512MB array/string size in serialize (instead of 1MB)
108 std : bugfix in utf8 (with 4 bytes codes)
109 vm : finalizers bugfix on Windows
110 std : added sys_thread_cpu_time()
111 vm : use VEXTERN for neko_kind_module and neko_id_module
112 std : hide process console in process_run
113 nekoml : added Math core module
114 std : fixed timeout error for sockets on Windows
115 mod_tora : added PROXY_MODE configuration
116 std : fixed timeout error for sockets on Linux
117 vm : fixed $int and $float - return null on invalid strings
118 mysql : added result_get_fields_names
119 gc : prevent issues with AV softs / GoogleDesktop which inject threads
120 vm : use sse2 for fp calculus on gcc (double precision, same as msvc/flash)
121 removed in updated build (some CPU are not compatible)
122 mysql : added support for BINARY(size) type
123 vm : keep stack infos for object/array ops (interp)
124 std : added thread_stack
125 vm : added $fasthash
126 mysql5 : fixed 5.5 protocol change
127 std : fixed sha1 for 64-bits (also fix mysql5 auth)
128 std : added make_sha1
129 mysql : added set_conv_funs for string + bytes wrapping support
130
131 2009-07-26 : 1.8.1
132 nekoc : small fix in evaluation of using jump tables for switch on integers
133 regexp : use a recursion limit to prevent stack overflows in pcre
134 mysql5 : completely rewrote mysql client
135 mod_tora : complete rearchitecture with abstract protocol
136 std : added socket_set_fast_send
137 mod_tora : use socket fast send to optimize timing
138 mod_tora : fixed bug when .n file does not exists
139 mod_tora : fix for Apache 2.x - does not set the content-type if declined
140 mod_tora : added port range configuration (for random tora server)
141 std, mod_tora : propagate jit mode to created threads
142 nekoc : optimization for debug infos : precompute file table at compile-time
143 threads : added neko_gc_register_thread (but buggy, so not used)
144 mysql5 : added 5 hours network timeout while waiting for an answer
145 mysql5 : fixed some additional errors handling
146 mysql5 : allow big requests (more than 16MB)
147 vm : optimize object table - one word and one memory block saved per object
148 jit : one more crash fix for the + operation and unexisting overloaded operator
149 nekoml : added Sys.is_directory, Sys.read_directory and Regexp.split
150 nekoml : don't allow empty match
151 vm : create pthreads in detached mode (prevent leak on osx/linux)
152 std : added math_fceil,math_ffloor,math_fround,math_int,process_kill
153 nekoc : forbidden usage of 'var' outside blocks
154
155 2008-09-23 : 1.8.0
156 added mod_tora (neko application server)
157 changed mod_neko get_host_name : return the http host instead of the server IP
158 bugfix in nekoml : fixed usage of nekoml.std + added -nostd
159 std : added EINTR handling in send/recv socket operations and fread/fwrite
160 gc : upgraded windows version to 7.1
161 vm : fixed comparison of bool
162 vm : moved threads stuff into threads.c
163 nekoml : fixed lexing engine, allow escape sequences in char groups
164 mysql : link with thread_safe version on linux
165 std : fixed threads issues with host_resolve and host_reverse
166 libs : compile with -pthread on linux/osx to ensure thread safety
167 main : turned ON jit by default for bootable executables
168 std : added set_trusted primitive
169 gc : use alloc_ignore_off_page for large blocks
170 gc : use finalizers with no_order (prevent cycles)
171 mysql : prevent hashing the fields that looks like inner requests
172 vm : optimized global fields cache
173 std : string_split doesn't copy the string anymore if the pattern is not found
174 vm : added neko_vm_dump_stack
175 std : use per-thread locale on POSIX systems
176 std : url_encode does not encode anymore - and . chars
177 std : fixed sleep() for unix (more accurate and deal with signals)
178 std : added module_read_string and module_set_name
179 std : fixed some file descriptor issues with processes and threads
180 jit : fixed crash whith unsupported OO overloading
181 vm : added $getkind and $iskind builtins
182 std : added same_closure for closure comparison
183
184 2008-07-28 : 1.7.1
185 nekotools : fixed set_return_code in web server
186 std : display windowed application in process_run
187 mod_neko : allowed to uncache module with set_main(null)
188 mod_neko : use strmcpi for set_header("Content-Type")
189 nekoc : one last fix for big arrays (first element was not compiled)
190 mod_neko : added get_http_method
191 nekoml : minor fixes in lexer
192 nekoml : added -pack and -use, auto build nekoml.std
193 include nekoml as part of standard distribution
194 vm/security : $smake now fills the string with 0
195 std/int32 : fixed need_32_bits macro (negative values)
196 bugfix : >> and >>> were reversed in JIT
197 bugfix : date functions are now MT-safe
198 removed context.h and context.c
199 added lock and tls multithread API to neko.h
200 std : added date_get_tz()
201 mod_neko : added log_message
202 regexp : fix for unmatched optional groups, return null instead of empty string
203 threads : for windows, use critical_section instead of mutex for locks
204 threads : for posix, use a recursive mutex which match windows behavior
205 std : added mutex and deque api (threads)
206
207 2008-03-16 : 1.7.0
208 nekoc : allow binary ast format with -p, don't allow inline nxml
209 std : allow int32_new float parameter
210 vm : reduce debug infos memory size by 16
211 vm : fixed $int in case of overflow
212 regexp : upgraded windows ndll to use pcre 7.3 with utf8 support
213 fixed : math_round(0.5) is now 1
214 fixed : date_set_hour and date_set_day crash with invalid dates
215 fixed : bug in vm/callback.c when stack address is >2GB
216 sockets : added support for socket_poll for Windows
217 sockets : added socket_poll_prepare and socket_poll_events
218 thread : added tls_create, tls_set, tls_get
219 vm : threaded interpreter (gcc only)
220 vm : always use COMPACT_TABLE for objects
221 mod_neko : log some errors into apache log
222 neko+vm : added perf statistics hooks (-stats)
223 mod_neko : scriptable configuration and statistics
224 regexp : allow more than 10 matches
225 std : added process_close
226 vm : added $aconcat
227 nekoc : fixed big arrays declarations
228 std : added sys_is64
229
230 2007-07-25 : 1.6.0
231 display error message when uncaught exception in neko thread
232 fix bug in long run JIT programs : no C functions callable anymore
233 use a smarter way to prevent C stack overflow
234 nekoc : stack align error message
235 set max-stack-per-function to 128 and default-stack-size to 256
236 jit now check stack overflow on function entry and not on every push
237 mod_neko2 set MOD_NEKO=2 env var (for version detection)
238 mod_neko2 : remove Apache 2.0 error message, use 302 http code for redirect
239 fixed fallback of interp operator overloading
240 fix for 64-bit CPU
241 minor optimization for [0] jit array access
242 gnuk/freebsd support
243 fixed thread messages on Windows (do not use system queue)
244 thread_current returns unique value
245 remove kind_import, kind_export, added kind_share
246 added ui library
247 added libs/std/process api functions
248 new binary ast format (faster than nxml)
249
250 2007-01-28 : 1.5.3
251 minor fixes in mod_neko multipart and POST data handling
252 fixed $objremove result (was always true)
253 fixed one-last-bug when using more-than-five-arguments method call return value
254 fixed bug in dev webserver when accessing a directory
255 added xcross support
256 fixed bug with $setresolver in bytecode interpreter
257 changed bootable vm implementation (easier, allow compressed bin)
258 added .mode in sys_stat
259 change in $version format
260
261 2006-11-22 : 1.5.2
262 fixed std math_pow float
263 minor thread cleanup
264 added MySQL5.ndll for Windows
265 fields hash cache is now global (instead of per-thread)
266 socket_select retry on EINTR
267 fixed under-second lock timeout for Linux/OSX
268 added socket_poll for Linux/OSX (emulate with select() on Windows)
269 fixed compilation bug when accessing 'this' in arguments and more than 5 args
270 fixed string_split with empty string (was causing infinite loop)
271 fixes in more-than-five-arguments-calls
272 added $varargs
273
274 2006-10-29 : 1.5
275 neko web server : get_client_header is now case-insensitive
276 std : new thread and lock api
277 neko : when run from commandline, SEGV on Linux are turned into exceptions
278 + added mod_neko2 error if used with Apache 2.0.x
279
280 2006-10-09 : 1.4.5
281 sqlite : added BOOL handling
282 jit : added mmap support (for execution protection)
283 jit : fixed bug when unsupported operation exception
284 vm : fixed bug in debug infos reading when nfiles > 255
285 vm : fixed bug in interp -> jit call
286 vm : default NEKOPATH is now the same on OSX/Linux
287 vm : optimized debug infos runtime memory size
288 std : added misc.c (float & double bytes manipulations + gc/vm functions)
289 std : fixed buf in sys_read_dir on windows (directory not closed correctly)
290 std : added sys_getch, sys_get_pid
291 std : fixed socket_host (was returning the same as socket_peer)
292 std : improved performances of serialize/unserialize
293 allowed break & continues in try/catch if they don't break outside
294 nekoml : fixed bug in lexer allocating too bug memory when small reads
295 nekotools : bugfixes in server, added static file streaming
296 nekotools : fixed boot for universal binaries
297 mod_neko : minor updates for better memory handling
298 mod_neko : use soft timeout for Apache 1.3
299
300 2006-08-02 : 1.4
301 std : added a SO_REUSEADDR before socket_bind (except windows)
302 nekoc/nekovm : allowed more than 127 filenames in debug infos
303 nekotools server : added -rewrite for mod_rewrite'style urls
304 added zlib wrapper
305 mod_neko for apache 2.0
306 added sqlite wrapper
307 std : fixed socket_set_timeout (changed unit from millisec to seconds)
308 std : fixed math_pow (integer overflow) , fixed readdir (missing closedir on Linux)
309 added PPC registers
310 neko.h : added NEKO_* OS/CPU flags
311 added JIT for x86
312 vm : (int mod 0) is now an exception (and not NaN)
313 neko.h : added kind_import and kind_export to share abstracts between libraries
314 std : handle signals in socket send and recv
315 allowed OSX universal build
316 added $setresolver for unknown object field handling
317
318 2006-05-11 : 1.3
319 neko : fixed endianness bug needed to boot, exported neko_is_big_endian
320 neko : fixed bug on Linux x86 gcc with object operators (eax get overwritten)
321 neko : fixed bug : error when __string or __compare does not exist
322 neko : allowed runtime printer redirection (+ added std@print_redirect)
323 neko : defined a default NEKOPATH when not specified (less configuration)
324 neko : fixed int32 calculus bug (need_32_bits macro)
325 neko : fixed calls with a lot of arguments (some cases were failing)
326 neko : fixed preservation of 'this' through tailcall, if changed inside the call
327 neko : added unary operator minus parsing
328 neko : fixed error reporting of unclosed parenthesis
329 nekoml : added Net core module for sockets
330 nekoml : when catching Neko errors, wrap them using Neko_error constructor
331 std : supported serialization of C primitives and __serialize/__unserialize overrides
332 added nekotools (merged nekoboot and neko webserver)
333 std : fixed math_round, fixed math docs
334 std : fixed bug in utf8_resize, utf8_get and utf8_iter.
335 regexp : added regexp_new_options for matching options and regexp_replace_fun
336 regexp : fixed invalid matched length when not index 0
337 added some benchmarks in src/benchs
338 neko : fixed $ablit and $sblit (when used with same array/string)
339 neko : fixed multithread win32 support
340 mod_neko : changed Content-Type handling for POST data
341 std : added blocking sockets support
342 std : changed sys_time to sys_cpu_time, added sys_time (local time).
343 std : fixed put_env on Linux (GC issue)
344 cleanup of some stuff needed by experimental JIT
345 std : added memory module
346
347 2006-01-09 : 1.2
348 nekoc:
349 added linker : provide linked versions of neko & nekoml compilers
350 added tail calls optimization
351 nekoml:
352 little improved nekoml->neko patterns generator
353 libs:
354 added md5 digest , utf8 api and base_encode/base_decode in std
355 some changes in mod_neko api
356 mysql api now threat tinyint(1) as booleans
357 improved xml parser : support for doctype
358 some fixes for OSX and C++ compilation
359 neko:
360 renamed 'nekovm' to 'neko'
361 experimental jit support
362 object prototypes
363 moved args from builtin ($args) to loader ($loader.args)
364 makeboot can create standalone binaries
365 runtime errors on :
366 - calls with invalid number of arguments
367 - field accesses of not-an-object
368 - binary operations on invalid types
369 - array accesses on not-an-array and not-an-object
370 license change : from GPL to LGPL
371
372 2005-11-10 : 1.1
373 vm :
374 ports PPC (big endian) and AMD64
375 added stack conservation check at bytecode loadtime : faster VM runtime
376 some more opcodes for better speed
377 added exception and call stack traces
378 added debug informations for bytecode
379 added dispatch tables (for integer switchs)
380 tuned GC usage
381 reorganized VM apis
382 neko:
383 added labels in the language specification
384 added $goto and $apply
385 added switchs
386 added documentation generator
387 nekoml:
388 added NekoML
389 bootstrapped the language (no more need for ocaml)
390 libs:
391 rewrote and completed standard library
392 added generated documentation
393
394 2005-08-17 : 1.0
395 compiler in ocaml
396 virtual machine
397 mod_neko
398 some small libraries