aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/encodings.c
Commit message (Expand)AuthorAgeFilesLines
* util: Add compat for prosody module name change to C sourcesKim Alvefur2023-03-171-1/+4
* util-src: Remove Lua 5.1 compat macrosKim Alvefur2022-07-011-5/+0
* util-src: Use the luaL_pushfail API added in Lua 5.4 to highlight all failure...Kim Alvefur2020-06-071-19/+22
* util.encodings: Remove redundant castEmmanuel Gil Peyrot2019-12-011-1/+1
* util.encodings: Don’t export unneeded symbolsEmmanuel Gil Peyrot2019-12-011-8/+8
* util.encodings: Don't ignore non-strings passed to stringprep functionsKim Alvefur2019-11-021-11/+1
* util.encodings: Strictly verify that the 'strict' *prep argument is a booleanKim Alvefur2019-10-301-4/+10
* util.encodings: Optional strict flag to stringprepKim Alvefur2019-04-241-2/+14
* util.encodings: Spell out all IDNA 2008 options ICU hasKim Alvefur2019-09-111-1/+24
* util.encodings: Switch ICU binding to IDNA2008 (fixes #533, #1301)Kim Alvefur2019-09-111-4/+9
* util.encodings: Declare absence of arguments [-Wstrict-prototypes]Kim Alvefur2019-05-131-1/+1
* util.encodings: Add compat with ICU before version 58Kim Alvefur2019-04-291-0/+5
* util.encodings: Add binding to confusables skeleton function in ICUKim Alvefur2019-04-241-0/+45
* util.encodings: Allow unassigned code points in ICU mode to match libidn beha...Kim Alvefur2019-04-241-1/+1
* encodings: Explicitly say that base64 decoding falls through in a switch, fix...Emmanuel Gil Peyrot2018-08-081-0/+2
* util.encodings: Use the 'idx' argument correctly [-Wunused-parameter]Kim Alvefur2017-10-051-1/+1
* util.encodings: Make limit lookup table a const (from Lua f2a813ae)Kim Alvefur2017-03-221-1/+1
* util-src/*.c: Attach pointer * to name instead of typeKim Alvefur2017-02-121-34/+43
* 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 comp...Kim Alvefur2017-01-081-0/+3
* util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to supp...Kim Alvefur2015-04-261-6/+6
* 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 --break...Kim Alvefur2015-04-031-126/+195
* 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
* | 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 enco...Matthew Wild2010-12-171-0/+379
* 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 f...Waqas Hussain2009-10-021-0/+1
* 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 (crashes...Waqas Hussain2009-09-221-4/+4
* 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
* 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 man...Tobias Markmann2008-11-281-1/+1
* 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