util.encodings: Expose UTF-8 validation and length checking functions
|
Kim Alvefur |
Mon, 23 Mar 2015 14:27:30 +0100 |
util.encodings: Perform validation of UTF-8 strings before passing to libidn (Based on code from the utf8 library in Lua 5.3)
|
Kim Alvefur |
Mon, 23 Mar 2015 14:26:34 +0100 |
util-src/*.c: Add macro for compiling with Lua 5.2
|
Kim Alvefur |
Wed, 17 Sep 2014 14:30:29 +0200 |
util-src/*.c: Use the more concise lua_setfield
|
Kim Alvefur |
Wed, 17 Sep 2014 02:23:17 +0200 |
util-src/*.c: Don't create globals when loaded
|
Kim Alvefur |
Tue, 16 Sep 2014 21:56:18 +0200 |
util.encodings: Fix small typo introduced in 7f789266b741
|
Matthew Wild |
Sat, 04 Jun 2011 19:18:11 +0100 |
util.encodings: Check return values before proceeding
|
Paul Aurich |
Sun, 22 May 2011 16:14:10 -0700 |
util.encodings: Swap code order ("ifndef" bugs me)
|
Paul Aurich |
Sun, 22 May 2011 15:40:16 -0700 |
util.encodings: Fix idna.to_unicode
|
Paul Aurich |
Sun, 22 May 2011 15:26:03 -0700 |
util.encodings: Switch comment styles to build ok as ANSI C
|
Matthew Wild |
Sun, 26 Dec 2010 05:45:35 +0000 |
util-src/Makefile, util-src/encodings.c{,pp}: Port ICU code to C, rename encodings.cpp back to .c and amend the Makefile accordingly
base
util-src/encodings.cpp@bae1d44e67b0
|
Matthew Wild |
Fri, 17 Dec 2010 22:32:21 +0000 |
Update copyright headers for 2010
|
Matthew Wild |
Mon, 22 Mar 2010 17:06:15 +0000 |
util.encodings: Use STD3 ASCII rules for idna.to_ascii.
|
Waqas Hussain |
Wed, 10 Feb 2010 00:12:48 +0500 |
Merge
|
Waqas Hussain |
Fri, 02 Oct 2009 17:14:54 +0500 |
util.encodings: Removed a bit of unreachable code.
|
Waqas Hussain |
Fri, 02 Oct 2009 16:46:39 +0500 |
util.encodings: Included idn-free.h, which explicitly declares the idn_free function.
|
Waqas Hussain |
Fri, 02 Oct 2009 16:45:54 +0500 |
util.encodings: Fixed: Last change was not ANSI C compatible.
|
Waqas Hussain |
Fri, 02 Oct 2009 16:44:14 +0500 |
util.encodings: Don't throw an error but return nil when passed nil or a non-string value
|
Matthew Wild |
Tue, 29 Sep 2009 19:05:32 +0100 |
util.encodings: Fixed an issue with cross-module memory deallocation (crashes on some windows versions).
|
Waqas Hussain |
Tue, 22 Sep 2009 22:21:15 +0500 |
0.3->0.4
|
Matthew Wild |
Fri, 20 Mar 2009 20:16:25 +0000 |
Licensing/version updates for some files (forgot to commit, doh...)
|
Matthew Wild |
Mon, 02 Feb 2009 18:03:18 +0000 |
Fixed util.encodings.base64.decode to not truncate results when encountering an '=' before the end of the given input.
|
Waqas Hussain |
Mon, 08 Dec 2008 03:19:11 +0500 |
and the C files too
|
Matthew Wild |
Wed, 03 Dec 2008 14:45:03 +0000 |
Use unsigned int instead of uint because uint is already in use on OS X.
|
Tobias Markmann |
Fri, 28 Nov 2008 19:24:08 +0100 |
To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites.
|
Tobias Markmann |
Fri, 28 Nov 2008 18:36:04 +0100 |
Minor changes to C files (to prevent compiler warnings)
|
Waqas Hussain |
Thu, 27 Nov 2008 21:47:13 +0500 |
Fix for hashes.c and encodings.c to rename luaopen for util_*
|
Matthew Wild |
Wed, 26 Nov 2008 22:45:33 +0000 |
Removed commented code
|
Waqas Hussain |
Wed, 26 Nov 2008 01:55:07 +0500 |
Added util-src/encodings.c - support for base64, stringprep and idna encodings
|
Waqas Hussain |
Wed, 26 Nov 2008 01:45:25 +0500 |