summaryrefslogtreecommitdiff
path: root/utils/idna.c
Commit message (Collapse)AuthorAgeFilesLines
* make ssize_t type available on some platformsVincent Sanders2018-08-231-0/+1
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* create netsurf inttypes header to have portable integer formatting macrosVincent Sanders2017-01-211-0/+2
|
* IDNA: Update to upstream-compatible utf8proc API.Michael Drake2016-11-231-2/+2
|
* cleanup unneeded includes in utils.h after API simplificationVincent Sanders2016-04-201-0/+1
|
* Fix size_t printf formattingVincent Sanders2016-03-171-4/+4
| | | | | | | The printf formatting for size_t is set in c99 as %zu but in windows it is %Iu this is solved by adding and inttypes style PRI macro for size_t This also uses this macro everywhere size_t is formatted.
* remove necessity for header change in libutf8procVincent Sanders2016-01-031-2/+2
| | | | | The combining character class definition was put in the libutf8proc header instead of being local to the IDNA implementation.
* Change LOG() macro to be varadicVincent Sanders2015-05-281-11/+11
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* USe the externally built conveniance utf8proc libraryVincent Sanders2014-11-141-3/+4
|
* doxygen cleanups in utilsVincent Sanders2014-11-121-1/+2
|
* stop idna (en/de)code asploding when the passed host begins with a .Vincent Sanders2014-06-101-3/+19
|
* Fix memory leak on errorChris Young2014-06-101-0/+2
|
* fix memory leaks in error paths. (coverity 1220852 and 1220851)Vincent Sanders2014-06-101-71/+154
|
* Make chris' work compile without warning and not infinite-loop where I ↵Daniel Silverstone2014-06-041-10/+11
| | | | spotted it
* Normalise intermediary UCS-4 string when verifying ACE labelsChris Young2014-06-041-0/+8
|
* IDNA2008 support.Chris Young2014-06-041-0/+625