diff -r lua-5.2.0-work1/Makefile lua-5.2.0-work2/Makefile 66c66 < cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN) --- > #cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN) 72c72 < cd doc && cd $(INSTALL_MAN) && $(RM) $(TO_MAN) --- > #cd doc && cd $(INSTALL_MAN) && $(RM) $(TO_MAN) diff -r lua-5.2.0-work1/README lua-5.2.0-work2/README 1c1 < This is Lua 5.2 (work1), released on 08 Jan 2010. --- > This is Lua 5.2 (work2), released on 13 Jan 2010. diff -r lua-5.2.0-work1/doc/contents.html lua-5.2.0-work2/doc/contents.html 35c35 < Copyright © 2006-2010 Lua.org, PUC-Rio. --- > Copyright © 2010 Lua.org, PUC-Rio. 61a62 >
>
189a200,201
> debug.upvalueid
> debug.upvaluejoin
235d246
< math.log10
263a275
> package.config
269a282
> package.searchpath
291c304
< table.maxn
---
> table.pack
293a307
> table.unpack
310a325
> lua_callk
312a328
> lua_compare
314c330
< lua_cpcall
---
> lua_copy
317d332
< lua_equal
320a336
> lua_getctx
324d339
< lua_gethook
325a341
> lua_gethook
347c363
< lua_lessthan
---
> lua_len
354d369
< lua_objlen
355a371
> lua_pcallk
372d387
< lua_rawget
374c389,390
< lua_rawset
---
> lua_rawget
> lua_rawlen
375a392
> lua_rawset
401a419
> lua_upvalueid
402a421,422
> lua_upvaluejoin
> lua_version
404a425
> lua_yieldk
432a454
> luaL_checkversion
438a461
> luaL_len
454a478,481
> luaL_testudata
> luaL_tolstring
> luaL_traceback
> luaL_typeerror
456d482
< luaL_typerror
468c494
< Fri Jan 8 16:29:00 BRST 2010
---
> Wed Jan 13 15:31:47 BRST 2010
471c497
< Last change: fake for Lua 5.2.0-work1
---
> Last change: revised for Lua 5.2.0 (work2)
diff -r lua-5.2.0-work1/doc/lua.css lua-5.2.0-work2/doc/lua.css
41a42,46
> :target {
> background-color: #F8F8F8 ;
> padding: 8px ;
> border: solid #a0a0a0 2px ;
> }
Only in lua-5.2.0-work2/doc: manual.css
diff -r lua-5.2.0-work1/doc/manual.html lua-5.2.0-work2/doc/manual.html
1c1
<
---
>
6c6,8
<
---
>
>
>
9c11
<
---
>
20,21c22,24
< Copyright
< © 2010 Lua.org, PUC-Rio. All rights reserved.
---
> Copyright © 2010 Lua.org, PUC-Rio.
> Freely available under the terms of the
> Lua license.
23a27,31
>
>
> contents
> ·
> index
28c36
<
---
>
169,170c177,180
< A character in a string can also be specified by its numerical value
< using the escape sequence \ddd,
---
> A character in a string can also be specified by its numerical value.
> This can be done with the escape sequence \xXX,
> where XX is a sequence of exactly two hexadecimal digits,
> and with the escape sequence \ddd,
172c182
< (Note that if a numerical escape is to be followed by a digit,
---
> (Note that if a decimal escape is to be followed by a digit,
2056c2066,2067
< (such as 2^30),
---
> (larger than 10% of the maximum number of
> bytes that the program may use),
5106a5118,5126
>
lua_upvaluejoinvoid lua_upvaluejoin (lua_State *L, int fidx1, int n1, > int fidx2, int n2);
> TO BE DONE!! > > > > > 6002a6023,6045 >
luaL_tolstring> [-0, +1, e] >
const char *luaL_tolstring (lua_State *L, int idx, size_t *len);> >
> Converts any Lua value at the given acceptable index to a C string
> in a reasonable format.
> The resulting string is pushed onto the stack and also
> returned by the function.
> If len is not NULL,
> the function also sets *len with the string length.
>
>
>
> If the value has a metatable with a "__tostring" field,
> then luaL_tolstring calls the corresponding metamethod
> with the value as argument,
> and uses the result of the call as its result.
>
>
>
>
>
6005,6006c6048,6049
<
luaL_traceback (lua_State *L, lua_State *L1, < const char *msg, int level);--- >
void luaL_traceback (lua_State *L, lua_State *L1, > const char *msg, int level);7114c7157,7158 < mark in the template by
name,
---
> mark in the template by a copy of name
> wherein all dots were replaced by the system's directory separator,
7121c7165
< the search for name foo
---
> the search for the name foo.a
7123,7124c7167,7168
< ./foo.lua, ./foo.lc, and
< /usr/local/foo/init.lua, in that order.
---
> ./foo/a.lua, ./foo/a.lc, and
> /usr/local/foo/a/init.lua, in that order.
7129c7173
< open in read mode (after closing it),
---
> open in read mode (after closing the file),
7953c7997
< The default for base is $e$
---
> The default for base is e
9142a9187,9216
> >
debug.upvalueid (function, n)
> Returns an unique identifier (as a light userdata)
> for the upvalue numbered n
> from the given function.
>
>
>
> These unique identifiers allow a program to check whether different > closures share upvalues. > Lua closures that share an upvalue > (that is, that access a same external local variable) > will return identical ids for those upvalue indices. > > > > >
>
debug.upvaluejoin ()
> TO BE DONE!!
>
>
>
>
9322c9396
< All threads share a sinle fixed environment.
---
> All threads share a single fixed environment.
9370c9444
< Pseudoindex LUA_GLOBALSINDEX was deprecated.
---
> Pseudoindex LUA_GLOBALSINDEX was removed.
9486a9561,9570
>
>
103c109 < In most Unix-like platforms, simply do "make" with a suitable target. --- > In most Unix-like platforms, simply do "make" with a suitable target. 114c120 < Do "make" and see if your platform is listed. --- > Do "make" and see if your platform is listed. 120c126 < If your platform is listed, just do "make xxx", where xxx --- > If your platform is listed, just do "make xxx", where xxx 134c140 < If you want to check that Lua has been built correctly, do "make test" --- > If you want to check that Lua has been built correctly, do "make test" 143c149 < place in your system. In this case, do "make install". The official --- > place in your system. In this case, do "make install". The official 148c154 < If you want to build and install Lua in one step, do "make xxx install", --- > If you want to build and install Lua in one step, do "make xxx install", 152,155c158,161 < If you want to install Lua locally, then do "make local". This will < create directories bin, include, lib, man, and install Lua there as < follows: < review! --- > If you want to install Lua locally, then do "make local". > This will create a directory install with subdirectories > bin, include, lib, man, > and install Lua there as follows: 188c194 < "make install INSTALL_TOP=xxx", where xxx is your chosen directory. --- > "make install INSTALL_TOP=xxx", where xxx is your chosen directory. 194,196c200,202 <
268c274 < The --- > The 276a283,287 >
__len metamethod.
> __len metamethod.
---
> package.searchpath.
---
> loadlib may load libraries with global names (RTLD_GLOBAL).
> package.searchpath.
> math.log.
> file:write returns file.
> os.exit may close state.
> collectgarbage and lua_gc.
> ipairs now goes until #t.
>
294c317
<