Commit Graph

16 Commits

Author SHA1 Message Date
Daniel Kahn Gillmor 6e7e58aa38 builtin should be returned const
callers should never try to do any non-const operation with the
builtin public suffix list.
2014-03-24 18:18:45 -04:00
Tim Ruehsen 8f7c266b26 test all entries of effective_tld_names.dat plus some variations 2014-03-24 21:18:48 +01:00
Tim Ruehsen 2ec5dc7567 small cleanups in Makefile.am 2014-03-24 20:54:34 +01:00
Tim Ruehsen 8b096a5eda LGPL->MIT license, some cleanups 2014-03-24 20:41:46 +01:00
Tim Ruehsen 9d1c62eb07 merged libpsl and libpsl-inline 2014-03-24 17:29:56 +01:00
Tim Ruehsen e379ba90cf replaced md5 by sha1 checksumming 2014-03-24 09:48:01 +01:00
Tim Ruehsen 0771255742 added info functions 2014-03-23 21:49:19 +01:00
Tim Ruehsen a906062b85 added IDNA2008 punycode support for psl_inline_is_public() 2014-03-22 22:55:34 +01:00
Tim Ruehsen 99d057d514 revert logic for psl_is_public() 2014-03-22 22:19:20 +01:00
Tim Ruehsen 1c90fac381 added test with utf-8 domain 2014-03-22 21:36:02 +01:00
Tim Ruehsen 3998137fd0 added PSL inline library 2014-03-22 20:35:56 +01:00
Tim Ruehsen de7d394223 whitespace glitch 2014-03-22 14:28:19 +01:00
Tim Ruehsen 577fd14bb4 renamed psl_is_tld() to psl_is_public() 2014-03-22 10:26:59 +01:00
Daniel Kahn Gillmor 2d99b964ff avoid a printf in the library
In general, we don't want libraries to send data to the standard file
descriptors.  There are more that need fixing.

Note: this introduces a new API (psl_suffix_count() and
psl_suffix_exception_count) to enable the same sort of output from the
test.  But this new API seems to imply the internal structure of the
public suffix list.

Do we want to expose this API?  There could be some other PSL
mechanism (e.g. DBOUND) that doesn't have these counts, and a drop-in
replacement would not know what to return here.
2014-03-21 14:38:30 -04:00
Tim Ruehsen dc05276515 autoconf first version 2014-03-20 22:43:04 +01:00
Tim Ruehsen 6563469fc1 inital commit 2014-03-20 17:17:24 +01:00