aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/encodings.c
Commit message (Collapse)AuthorAgeFilesLines
* util-src/*.c: Squeeze repeated blank linesKim Alvefur2017-01-231-1/+0
|
* util-src: Make C modules assert that the Lua runtime matches what it was ↵Kim Alvefur2017-01-081-0/+3
| | | | compiled for
* util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to ↵Kim Alvefur2015-04-261-6/+6
| | | | support 5.1
* util.encodings: Move declarations to top of function [pedantic]Kim Alvefur2015-05-021-2/+3
|
* util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches ↵Kim Alvefur2015-04-031-126/+195
| | | | --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux
* Merge 0.9->0.10 againKim Alvefur2015-03-271-3/+94
|\
| * util.encodings: Expose UTF-8 validation and length checking functionsKim Alvefur2015-03-231-0/+28
| |
| * util.encodings: Perform validation of UTF-8 strings before passing to libidn ↵Kim Alvefur2015-03-231-3/+67
| | | | | | | | (Based on code from the utf8 library in Lua 5.3)
* | util-src/*.c: Add macro for compiling with Lua 5.2Kim Alvefur2014-09-171-0/+4
| |
* | util-src/*.c: Use the more concise lua_setfieldKim Alvefur2014-09-171-8/+4
| |
* | util-src/*.c: Don't create globals when loadedKim Alvefur2014-09-161-6/+1
|/
* util.encodings: Fix small typo introduced in 7f789266b741Matthew Wild2011-06-041-1/+1
|
* util.encodings: Check return values before proceedingPaul Aurich2011-05-221-3/+17
|
* util.encodings: Swap code order ("ifndef" bugs me)Paul Aurich2011-05-221-75/+77
|
* util.encodings: Fix idna.to_unicodePaul Aurich2011-05-221-1/+1
|
* util.encodings: Switch comment styles to build ok as ANSI CMatthew Wild2010-12-261-5/+5
|
* util-src/Makefile, util-src/encodings.c{,pp}: Port ICU code to C, rename ↵Matthew Wild2010-12-171-0/+379
| | | | encodings.cpp back to .c and amend the Makefile accordingly
* util.encodings: Support for ICU for IDNA operations.Tobias Markmann2010-12-141-243/+0
|
* Update copyright headers for 2010Matthew Wild2010-03-221-3/+3
|
* util.encodings: Use STD3 ASCII rules for idna.to_ascii.Waqas Hussain2010-02-101-1/+1
|
* util.encodings: Removed a bit of unreachable code.Waqas Hussain2009-10-021-1/+0
|
* util.encodings: Included idn-free.h, which explicitly declares the idn_free ↵Waqas Hussain2009-10-021-0/+1
| | | | function.
* util.encodings: Fixed: Last change was not ANSI C compatible.Waqas Hussain2009-10-021-1/+6
|
* util.encodings: Fixed an issue with cross-module memory deallocation ↵Waqas Hussain2009-09-221-4/+4
| | | | (crashes on some windows versions).
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* Licensing/version updates for some files (forgot to commit, doh...)Matthew Wild2009-02-021-241/+230
|
* Fixed util.encodings.base64.decode to not truncate results when encountering ↵Waqas Hussain2008-12-081-3/+5
| | | | an '=' before the end of the given input.
* and the C files tooMatthew Wild2008-12-031-0/+20
|
* Use unsigned int instead of uint because uint is already in use on OS X.Tobias Markmann2008-11-281-3/+1
|
* To use free you should include stdlib.h rather than malloc.h according to ↵Tobias Markmann2008-11-281-1/+1
| | | | man page of free() and various C reference websites.
* Minor changes to C files (to prevent compiler warnings)Waqas Hussain2008-11-271-4/+8
|
* Fix for hashes.c and encodings.c to rename luaopen for util_*Matthew Wild2008-11-261-1/+1
|
* Removed commented codeWaqas Hussain2008-11-261-14/+2
|
* Added util-src/encodings.c - support for base64, stringprep and idna encodingsWaqas Hussain2008-11-261-0/+237