aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* donĀ“t need the "+1", the "%" is enough to garantee r<1.Roberto Ierusalimschy1998-12-301-4/+4
|
* details ("settable")Roberto Ierusalimschy1998-12-303-43/+50
|
* new option for function "random": random(a,b) returns a<=x<=bRoberto Ierusalimschy1998-12-301-9/+15
|
* new functions "tinsert" and "tremove"Roberto Ierusalimschy1998-12-303-13/+49
|
* tables are better manipulated via "Hash *" instead of "TObject" orRoberto Ierusalimschy1998-12-303-39/+43
| | | | "lua_Object".
* to avoid warnings about "typecast" (Visual C++)Roberto Ierusalimschy1998-12-2810-75/+75
|
* new function "luaO_str2d" to convert strings to numbers, becauseRoberto Ierusalimschy1998-12-274-76/+108
| | | | | old "lex" algorithm had aproximation errors, but strtod (and atof and scanf) are too slow.
* format for double is always "%g", do not need #definesRoberto Ierusalimschy1998-12-271-4/+3
|
* reorder and rename of most functions, for better documentation.Roberto Ierusalimschy1998-12-271-261/+312
|
* new implementation of function "read", with predifined options.Roberto Ierusalimschy1998-12-271-119/+147
|
* "strtod" is cleaner than "scanf" for this job.Roberto Ierusalimschy1998-12-241-8/+11
|
* better error messageRoberto Ierusalimschy1998-12-232-6/+14
|
* "tonumber" goes crazy with negative numbers in other bases (not 10),Roberto Ierusalimschy1998-12-182-2/+8
| | | | because "strtol" returns long, not unsigned long.
* detailsRoberto Ierusalimschy1998-12-151-88/+63
|
* "print" uses fputs instead of printf (easier to reimplement).Roberto Ierusalimschy1998-12-151-3/+4
|
* details (for regularity)Roberto Ierusalimschy1998-12-154-29/+26
|
* small warningsRoberto Ierusalimschy1998-12-034-9/+9
|
* NUMBER_FMT also may be predefined in makefileRoberto Ierusalimschy1998-12-011-5/+2
|
* better behavior for "strsub" when indices are out-of-rangeRoberto Ierusalimschy1998-12-011-10/+8
|
* new option "mode" in "readfrom", "writeto" and "appendto" (forRoberto Ierusalimschy1998-11-202-9/+25
| | | | binary files).
* new functions "getn" and "foreachi"Roberto Ierusalimschy1998-11-131-53/+143
|
* small optimization in "sort" + new functions "getn" and "foreachi"Roberto Ierusalimschy1998-11-131-33/+63
|
* bug: gsub/strfind do not check whether captures are properly finished.Roberto Ierusalimschy1998-11-102-3/+10
|
* "_TRIGMODE" was still being declared.Roberto Ierusalimschy1998-09-081-2/+1
|
* function "luaL_argerror" prints wrong argument number (from a user's pointRoberto Ierusalimschy1998-09-073-9/+17
| | | | of view) when functions have upvalues.
* new function "lua_nups" (number of upvalues).Roberto Ierusalimschy1998-09-072-2/+9
|
* details.Roberto Ierusalimschy1998-08-301-2/+4
|
* "lua_state" is already declared in lua.h, which is included here.Roberto Ierusalimschy1998-08-301-4/+1
|
* new functions "seek" and "flush".Roberto Ierusalimschy1998-08-242-44/+107
|
* new implementation for error handling: on error, function _ERRORMESSAGERoberto Ierusalimschy1998-08-218-136/+133
| | | | is called, which in turn calls _ALERT to write a message to stderr.
* small bug: nuse may change when table is rehashed;Roberto Ierusalimschy1998-08-111-11/+10
| | | | 3/2 is a good fraction for hash limit (instead of 0.7, using floats)
* better error message for code too long (old one was misleading when theRoberto Ierusalimschy1998-08-111-2/+3
| | | | problem was SETLINE after 64k lines...)
* hash tables may shrink if use rate is too small.Roberto Ierusalimschy1998-08-102-14/+6
|
* new hash function.Roberto Ierusalimschy1998-07-271-3/+3
|
* details ("luaX_token2str" doesn't need LexState)Roberto Ierusalimschy1998-07-243-8/+8
|
* new function "sort" + many small changesRoberto Ierusalimschy1998-07-123-61/+142
|
* small changes to use new auxiliar functionsRoberto Ierusalimschy1998-07-121-7/+3
|
* auxiliar functions "luaH_setint" & "luaH_getint".Roberto Ierusalimschy1998-07-122-3/+23
|
* auxiliar function "luaD_calln".Roberto Ierusalimschy1998-07-122-5/+9
|
* "%q" can handle strings with '\0'.Roberto Ierusalimschy1998-07-121-8/+15
|
* macro encapsulates de "-".Roberto Ierusalimschy1998-07-121-1/+4
|
* "fileName" cannot be NULLRoberto Ierusalimschy1998-07-121-3/+2
|
* "exp" changed to "exp0" to avoid problems with math.h.v3.1Roberto Ierusalimschy1998-07-061-9/+9
|
* double constant used in integer expressionRoberto Ierusalimschy1998-07-061-2/+2
|
* spellingRoberto Ierusalimschy1998-07-011-2/+2
|
* when debuging, blocks must be kept in double allignment.Roberto Ierusalimschy1998-06-291-7/+10
|
* functions should return explicit "nil"s.Roberto Ierusalimschy1998-06-292-5/+11
|
* detailRoberto Ierusalimschy1998-06-291-3/+3
|
* details (by lhf)Roberto Ierusalimschy1998-06-252-28/+38
|
* details in commentsRoberto Ierusalimschy1998-06-251-12/+12
|