Re: lua: pending patches

2014-07-13 Thread Marc Balmer

> Hi Alexander,
> 
> On Sat, Jul 12, 2014 at 5:01 PM, Alexander Nasonov  wrote:
>> Lourival Vieira Neto wrote:
>>> Hi folks,
>>> 
>>> Here are some pending patches which I want to commit:
>>> http://www.netbsd.org/~lneto/pending/. Please, could someone review
>>> them?
>>> 
>>> Thank you in advance!
>>> 
>>> --
>>> 0007:
>>>lua: updated from 5.1 to 5.3 work3
>> 
>> I will review the changes later but I wonder why the rush to update lua
>> to work-in-progress version?
> 
> I don't think we rush. Marc and I have discussed on this and we
> conclude that Lua 5.3 is sufficiently stable and have significant
> advantages over Lua 5.2, such as integer subtype and bitwise
> operators.
> 

I like to add that not only Lourival and I discussed this, but we discussed 
this with Roberto Ierusalimschy, one of the authors of Lua as well.  Back in 
2013 at the Lua workshop 2013 in Toulouse.  It was actually Lua's author who 
recommended we go with 5.3.  The fact that 5.3 is officially tagged "beta" has 
more to do with how the Lua team releases Lua (their "process") than with the 
language itself.

So 5.3 is not "work in progress" anymore.



Re: lua: pending patches

2014-07-12 Thread Lourival Vieira Neto
Hi Alexander,

On Sat, Jul 12, 2014 at 5:01 PM, Alexander Nasonov  wrote:
> Lourival Vieira Neto wrote:
>> Hi folks,
>>
>> Here are some pending patches which I want to commit:
>> http://www.netbsd.org/~lneto/pending/. Please, could someone review
>> them?
>>
>> Thank you in advance!
>>
>> --
>> 0007:
>> lua: updated from 5.1 to 5.3 work3
>
> I will review the changes later but I wonder why the rush to update lua
> to work-in-progress version?

I don't think we rush. Marc and I have discussed on this and we
conclude that Lua 5.3 is sufficiently stable and have significant
advantages over Lua 5.2, such as integer subtype and bitwise
operators.

Regards,
-- 
Lourival Vieira Neto


Re: lua: pending patches

2014-07-12 Thread Alexander Nasonov
Lourival Vieira Neto wrote:
> Hi folks,
> 
> Here are some pending patches which I want to commit:
> http://www.netbsd.org/~lneto/pending/. Please, could someone review
> them?
> 
> Thank you in advance!
> 
> --
> 0007:
> lua: updated from 5.1 to 5.3 work3

I will review the changes later but I wonder why the rush to update lua
to work-in-progress version?

Alex


lua: pending patches

2014-07-12 Thread Lourival Vieira Neto
Hi folks,

Here are some pending patches which I want to commit:
http://www.netbsd.org/~lneto/pending/. Please, could someone review
them?

Thank you in advance!

--
0007:
lua: updated from 5.1 to 5.3 work3

* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE

0006:
lua(4): added debug library

0005:
lua(4): uniformed the KPI name space using 'klua_' prefix

0004:
lua(4): using lua_CFunction

0003:
lua(4): added support for running Lua scripts in intr context

* using kmem_intr on lua_alloc
* using mutex directly on klua_lock
* added ipl arg on klua_newstate()
* added kluaL_newstate function
* fixed synchronization: locking the Lua state on luaioctl

0002:
lua(4): preventing division by zero

* note: we should raise an error instead of return INTMAX_MAX

0001:
lua(4): cleaned stubs
--

Regards,
-- 
Lourival Vieira Neto