15 Commits

Author SHA1 Message Date
Thijs Schreijer
9eced53a8d fix(open): return an error on open/new
The method would not return an error message, now it does,
typically if a conversion is not supported.
2023-10-30 14:49:22 +01:00
Caleb Maclennan
51c1d732ed
chore: Fix lint issues, mostly with proper variable scopes 2023-10-05 20:48:51 +03:00
Alexandre Erwin Ittner
49eb7b534f Add two new test cases 2012-05-22 00:58:48 -03:00
Alexandre Erwin Ittner
32c7b20967 Merge branch 'fix-double-free'
Conflicts:
	luaiconv.c
2010-11-18 16:06:45 -02:00
Alexandre Erwin Ittner
6b46ea5706 Prevent crashes with double-freed conversion descriptors
It was possible to crash the interpreter by forcefully calling the
__gc metamethod twice. This commit fixes the bug.
2010-11-18 16:03:08 -02:00
Alexandre Erwin Ittner
ff90f3f75e Convert library to Lua 5.2
Lua 5.2 brings some API changes; This commit converts the library to
the new version and removes the backward compatibility code between
Lua 5.0 and 5.1 (which makes no sense anymore).
2010-11-17 01:28:02 -02:00
Alexandre Erwin Ittner
ec5bf22d3a Updating for Lua 5.1
git-svn-id: file:///var/svn/lua-iconv/trunk@26 9538949d-8f27-0410-946f-ce01ef448559
2006-04-21 14:34:44 +00:00
Alexandre Erwin Ittner
9ffe3c8dae *** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@19 9538949d-8f27-0410-946f-ce01ef448559
2005-09-18 18:09:07 +00:00
Alexandre Erwin Ittner
6b2b43d283 *** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@18 9538949d-8f27-0410-946f-ce01ef448559
2005-09-18 17:46:53 +00:00
Alexandre Erwin Ittner
c4709924a3 *** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@15 9538949d-8f27-0410-946f-ce01ef448559
2005-07-08 02:10:40 +00:00
Alexandre Erwin Ittner
d8da3e7385 *** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@12 9538949d-8f27-0410-946f-ce01ef448559
2005-07-06 03:35:50 +00:00
Alexandre Erwin Ittner
2155d1b315 *** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@11 9538949d-8f27-0410-946f-ce01ef448559
2005-07-06 03:17:28 +00:00
Alexandre Erwin Ittner
0be1828c41 *** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@10 9538949d-8f27-0410-946f-ce01ef448559
2005-07-06 01:38:29 +00:00
Alexandre Erwin Ittner
a226dc348c *** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@8 9538949d-8f27-0410-946f-ce01ef448559
2005-07-06 01:17:02 +00:00
Alexandre Erwin Ittner
e1445ad0d6 Adicionadno arquivos
git-svn-id: file:///var/svn/lua-iconv/trunk@6 9538949d-8f27-0410-946f-ce01ef448559
2005-07-06 00:23:39 +00:00