Roberto Ierusalimschy
75d8470f0f
new macro 'cast_uchar'
2010-12-10 11:40:22 -02:00
Roberto Ierusalimschy
f722ba6890
code should not use "defined" types, but "typedef"s types when they
...
are available (i.e., after including lua.h) + small changes to make
conversions more portable across diferent types for lua_Number
(long double) and lua_Unsigned (long long unsigned)
2010-11-08 14:33:20 -02:00
Roberto Ierusalimschy
f1629217f1
code for conversion macros moved from luaconf to llimits + 'uint'
...
renamed to 'unsigned' in those macros
2010-11-03 13:16:17 -02:00
Roberto Ierusalimschy
bd619b9311
new macro MAXUPVAL (maximum number of upvalues per closure)
2010-05-31 13:08:55 -03:00
Roberto Ierusalimschy
ddf1f2a053
GC should not run when stopped, even in hard tests
2010-05-24 16:29:46 -03:00
Roberto Ierusalimschy
ad2b5decc8
'lua_assert' can be empty when assertions are off
2010-05-07 15:44:12 -03:00
Roberto Ierusalimschy
3eb1788bb4
new way to control GC speed (keeping a 'debt' counter)
2010-04-29 14:31:31 -03:00
Roberto Ierusalimschy
4db6f20770
ensure that 'luai_userstatethread' is always called (even if
...
'stack_init' throws a memory error)
2010-04-19 14:40:13 -03:00
Roberto Ierusalimschy
46f1429936
more options moved from luaconf.h into internal files
2009-12-17 10:50:20 -02:00
Roberto Ierusalimschy
de6fc75d63
several configuration options that do not change often moved out of
...
luaconf.h and into more internal files
2009-12-17 10:26:09 -02:00
Roberto Ierusalimschy
b51d76ce8d
when doing hard memory tests, perform a full GC at every possible step
2009-11-17 09:56:03 -02:00
Roberto Ierusalimschy
4a714cebd1
API checks now have explanatory messages
2009-08-31 11:26:28 -03:00
Roberto Ierusalimschy
f76f4cb79d
new way to control stack overflow, controling only total size of the stack
2009-07-15 14:26:14 -03:00
Roberto Ierusalimschy
eb8499c8e0
use of LUAI_UINT32 replaced by 'unsigned LUA_INT32' (one less
...
definition needed)
2009-07-01 13:14:15 -03:00
Roberto Ierusalimschy
4a67e48611
new macro 'condmovestack' instead of 'condhardstacktests'
2009-06-08 16:35:59 -03:00
Roberto Ierusalimschy
a7c9e45c64
avoid trailing white spaces
2006-09-11 11:07:24 -03:00
Roberto Ierusalimschy
0fd6466957
lua_assert is an internal matter, not to be configured
2005-12-27 15:12:00 -02:00
Roberto Ierusalimschy
c505f341d6
small changes in casts
2005-12-22 14:19:56 -02:00
Roberto Ierusalimschy
98296f6b45
some bugs related to stack reallocation
2005-08-24 13:15:49 -03:00
Roberto Ierusalimschy
d96f088a26
'lua_lock' and similars should be hard to use
2005-08-04 10:37:10 -03:00
Roberto Ierusalimschy
370d31a559
luac´ ->
luai' (to avoid confusion with other luac stuff)
2005-03-09 13:28:07 -03:00
Roberto Ierusalimschy
f8df21bd20
`luaconf.h´ exports all its definitions always (so all of them
...
must have a lua/LUA prefix).
2005-03-08 17:10:05 -03:00
Roberto Ierusalimschy
5be517602e
no more generational collector (and no more `noinc' mode)
2005-01-14 12:19:42 -02:00
Roberto Ierusalimschy
c6254dceff
a different option for the GC
2004-12-13 10:15:11 -02:00
Roberto Ierusalimschy
2f82bf6fe9
better support for 64-bit machines
2004-11-24 16:55:56 -02:00
Roberto Ierusalimschy
226c57fec0
simpler configuration to turn on all asserts
2004-09-10 14:30:46 -03:00
Roberto Ierusalimschy
42b74ccf1d
libraries may want to use `lua_assert' too...
2004-06-23 12:57:29 -03:00
Roberto Ierusalimschy
b4cd38ba6c
new scheme for configuration through `luaconf.h'
2004-04-30 17:13:38 -03:00
Roberto Ierusalimschy
1d10acb355
incremental GC phases
2003-12-01 14:33:30 -02:00
Roberto Ierusalimschy
91bf77534c
no need for a maximum number of parameters (maximum number of locals
...
take care of that).
2003-07-29 16:26:34 -03:00
Roberto Ierusalimschy
f93051155c
ok to use #elif' and
#if defined()'
2003-05-14 18:01:53 -03:00
Roberto Ierusalimschy
b1b752fb2b
comments
2003-04-28 16:57:50 -03:00
Roberto Ierusalimschy
572a69df78
Lua does not need all those different types...
2003-04-28 16:26:16 -03:00
Roberto Ierusalimschy
67f9a2a98f
details
2003-02-20 17:12:39 -03:00
Roberto Ierusalimschy
5f698f8b6f
simpler interface to hooks + use of `int' to count hooks
2002-11-25 15:47:13 -02:00
Roberto Ierusalimschy
dbc5451bea
comments
2002-11-22 16:01:46 -02:00
Roberto Ierusalimschy
2d2d45976c
separated control over C recursion level
2002-11-22 15:16:52 -02:00
Roberto Ierusalimschy
04b143ddf9
avoid C stack overflow during parsing
2002-11-22 14:35:20 -02:00
Roberto Ierusalimschy
84e0b1bc97
small changes in type configuration facilities
2002-10-22 14:18:28 -03:00
Roberto Ierusalimschy
b3d0682fb9
use of different buffers for scanner and concatenation
2002-10-08 15:46:08 -03:00
Roberto Ierusalimschy
44752fc9ce
hook count is quadratic
2002-07-08 17:22:08 -03:00
Roberto Ierusalimschy
8fd0f6a82b
new macro to check conditions on expression macros
2002-06-13 10:45:31 -03:00
Roberto Ierusalimschy
f1a1bb23fe
good stack limit to compute ack(8,3)
2002-04-23 11:59:35 -03:00
Roberto Ierusalimschy
81215cd59f
simpler way to control stack overflow
2002-03-26 17:46:10 -03:00
Roberto Ierusalimschy
b7ed502dea
configurable macros should live in llimits.h
2002-03-18 15:16:16 -03:00
Roberto Ierusalimschy
7ff21273d6
implementation of `global' statement
2002-03-14 15:01:52 -03:00
Roberto Ierusalimschy
6658b9588f
details
2002-03-07 15:11:51 -03:00
Roberto Ierusalimschy
457d88eaaa
configurable minimum size for the string table
2002-03-05 13:22:54 -03:00
Roberto Ierusalimschy
1c423d2661
LFIELDS_PER_FLUSH is an opcode detail
2002-02-14 19:43:01 -02:00
Roberto Ierusalimschy
50e2952593
first version of dynamic stack
2002-01-25 20:14:54 -02:00
Roberto Ierusalimschy
b7ae43d457
detail
2002-01-11 18:23:01 -02:00
Roberto Ierusalimschy
fffb6f3814
no more MINPOWER2
2001-10-25 17:13:33 -02:00
Roberto Ierusalimschy
15462edb0f
new definitions for closure structures
2001-10-02 13:45:03 -03:00
Roberto Ierusalimschy
abdbe883a8
first implementation of unrestricted static scoping
2001-09-07 14:39:10 -03:00
Roberto Ierusalimschy
c3d72096c4
use a table to find (and reuse) constants when parsing
2001-08-27 12:16:28 -03:00
Roberto Ierusalimschy
da673d31aa
user can define extra alignment requirements
2001-06-05 17:01:09 -03:00
Roberto Ierusalimschy
762d059a13
new implementation for the Virtual Machine
2001-06-05 15:17:01 -03:00
Roberto Ierusalimschy
dd3a63c205
new way to handle `profiles'
2001-03-26 11:31:49 -03:00
Roberto Ierusalimschy
d2a64bb6d4
`llimits' may need definitions from LUA_USER_H
2001-02-23 17:28:56 -03:00
Roberto Ierusalimschy
35023355f2
details for wchar
2001-02-23 14:28:12 -03:00
Roberto Ierusalimschy
39b7978329
first (big) step to support wide chars
2001-02-23 14:17:25 -03:00
Roberto Ierusalimschy
52ee91dd73
better encapsulation of some types
2001-02-22 14:15:18 -03:00
Roberto Ierusalimschy
099442c41f
better separation between basic types
2001-02-20 15:15:33 -03:00
Roberto Ierusalimschy
03d8a9bf0d
details
2001-02-09 18:29:33 -02:00
Roberto Ierusalimschy
4894c27962
lua_Number defined in lua.h (1st version)
2000-12-04 16:33:40 -02:00
Roberto Ierusalimschy
96253ed8ce
better support for 64-bit machines (avoid excessive use of longs)
2000-11-24 15:39:56 -02:00
Roberto Ierusalimschy
b892f0a877
new API function `createuserdata'
2000-10-26 10:47:05 -02:00
Roberto Ierusalimschy
d6232a0b2e
better treatment for source names
2000-10-09 11:47:32 -02:00
Roberto Ierusalimschy
cd3d446957
detail
2000-10-06 16:28:47 -03:00
Roberto Ierusalimschy
1088cde03c
easier way to change type Number
2000-10-03 11:03:21 -03:00
Roberto Ierusalimschy
dad808a73a
new way to count `nblocks' for GC (try to count bytes).
2000-09-29 09:42:13 -03:00
Roberto Ierusalimschy
9d60598260
better definitions for MULTRET
2000-08-29 11:48:16 -03:00
Roberto Ierusalimschy
9fdf73bc9a
first version for new API
2000-08-28 14:57:04 -03:00
Roberto Ierusalimschy
44eb7d91ac
comments
2000-08-15 15:28:48 -03:00
Roberto Ierusalimschy
906434011f
better (?) treatment for 16-bit machines
2000-06-28 14:03:32 -03:00
Roberto Ierusalimschy
e3ea307434
small changes to allow redefinition of some buffer sizes.
2000-06-16 14:16:34 -03:00
Roberto Ierusalimschy
dbbf6c073b
0 (in MAX_SIZET) may be shorter than size_t
2000-06-06 13:27:11 -03:00
Roberto Ierusalimschy
c39345fba3
no more pragmas
2000-05-26 11:04:04 -03:00
Roberto Ierusalimschy
ef62b340e0
code cleaner for 16 bits.
2000-05-24 10:54:49 -03:00
Roberto Ierusalimschy
66d620674c
IntPoint does not need L
2000-04-26 10:43:25 -03:00
Roberto Ierusalimschy
4e7e9e8de5
new opcode INCLOCAL.
2000-04-04 17:48:44 -03:00
Roberto Ierusalimschy
36e1390631
details.
2000-03-31 13:28:45 -03:00
Roberto Ierusalimschy
63e230a16b
comments
2000-03-27 17:08:33 -03:00
Roberto Ierusalimschy
54633d7c7d
new name for llimits.h
2000-03-24 16:49:23 -03:00
Roberto Ierusalimschy
13578517c7
new file to keep all limits and instalation-dependent definitions
2000-03-24 14:26:08 -03:00