Roberto Ierusalimschy
|
8f25d08637
'invalidateTMcache' not needed in all 'settable' uses
|
10 år sedan |
Roberto Ierusalimschy
|
3b795541c4
fast track for 'settable'
|
10 år sedan |
Roberto Ierusalimschy
|
20b9e59441
barrier macros rewritten as expressions
|
10 år sedan |
Roberto Ierusalimschy
|
935d9f7f90
new entry should not be commented out
|
10 år sedan |
Roberto Ierusalimschy
|
e247c3ada3
implementation of fast track for gettable operations
|
10 år sedan |
Roberto Ierusalimschy
|
b5dc2f9b0c
bug: 'io.lines' does not check maximum number of options
|
10 år sedan |
Roberto Ierusalimschy
|
5273477cb9
in 'lua_number2strx', use the call to 'l_sprintf' to add exponent
|
10 år sedan |
Roberto Ierusalimschy
|
b9db9bd0ef
'lua_Number' added to 'L_Umaxalign' union
|
10 år sedan |
Roberto Ierusalimschy
|
050e8536bb
bug: 'io.lines' does not check maximum number of options
|
10 år sedan |
Roberto Ierusalimschy
|
2b61360d82
avoid overflows (detected with 'clang -ftrapv')
|
10 år sedan |
Roberto Ierusalimschy
|
5b6ac971f9
detail (comment)
|
10 år sedan |
Roberto Ierusalimschy
|
403e181d81
'strftime' puts its result directly into 'lua_Buffer'
|
10 år sedan |
Roberto Ierusalimschy
|
4af03c5ae1
better treatment for integer overflows + all errors throw an error
|
10 år sedan |
Roberto Ierusalimschy
|
bde17a419d
because of debt, 'totalbytes' can be negative (and therefore its
|
10 år sedan |
Roberto Ierusalimschy
|
8950e0c049
avoid possibility of subtle arith. overflow
|
10 år sedan |
Roberto Ierusalimschy
|
8217e0d4fe
avoid subtle possibility of arithmetic overflow
|
10 år sedan |
Roberto Ierusalimschy
|
319ccfefbc
computations in numerical for loop must avoid overflows too
|
10 år sedan |
Roberto Ierusalimschy
|
6a8400ba4f
using 'clang' by default + changes in warnings ('old-style-declaration'
|
10 år sedan |
Roberto Ierusalimschy
|
2de3361c6c
detail
|
10 år sedan |
Roberto Ierusalimschy
|
e89763e964
simpler code for 'luaO_fb2int'
|
10 år sedan |
Roberto Ierusalimschy
|
be63d995c1
tiny bug: 'randomseed' was calling 'rand' (instead of 'l_rand')
|
10 år sedan |
Roberto Ierusalimschy
|
2b1fc1b38c
with string cache, it is not that important for 'type' to avoid
|
10 år sedan |
Roberto Ierusalimschy
|
f01c12c891
detail (cast to avoid mixing types in conditional expression)
|
10 år sedan |
Roberto Ierusalimschy
|
5aabb7a891
buffer size changed from size_t to int (it is always small) +
|
10 år sedan |
Roberto Ierusalimschy
|
cb1e451999
detail
|
10 år sedan |
Roberto Ierusalimschy
|
43cff79bf7
detail
|
10 år sedan |
Roberto Ierusalimschy
|
95c3144393
redefine 'l_sprintf' to test correctness of buffer sizes given
|
10 år sedan |
Roberto Ierusalimschy
|
19eb6ae580
using 'snprintf' in C99 (both for documentation of buffer sizes
|
10 år sedan |
Roberto Ierusalimschy
|
cbe05b48bb
using 'lua_longassert' to avoid warnings
|
10 år sedan |
Roberto Ierusalimschy
|
e7f34ad395
better implementation for buffers (reallocated memory directly
|
10 år sedan |