Tim Rühsen
31684dc7fd
Add psl_latest() and psl_dist_filename() to tests
2017-01-04 17:10:57 +01:00
Tim Rühsen
598a78b2de
Add better test code coverage
2016-09-26 15:15:34 +02:00
Tim Rühsen
53c2fe31a8
Update copyright years
2015-09-23 14:50:01 +02:00
Tim Rühsen
bbed26b303
check for alloca.h before including
2014-10-28 15:41:35 +01:00
Tim Ruehsen
58bdb22546
revoked UTF-8 IDNA comments
2014-06-18 15:36:26 +02:00
Tim Ruehsen
57394eb1f8
added psl_str_to_utf8lower()
2014-06-17 17:14:02 +02:00
Tim Ruehsen
61753f43ab
added special test cases '.', empty string, NULL, unknown TLD
2014-05-12 14:15:40 +02:00
Tim Ruehsen
1efb6b75f4
changed code to C89 standard
2014-05-12 12:20:59 +02:00
Tim Ruehsen
b8f7a79947
added checks for special .name domain
2014-04-15 15:02:50 +02:00
Tim Ruehsen
c93268ce25
added ./configure --with-psl-file to set PSL file path
2014-04-13 16:35:28 +02:00
Tim Ruehsen
b49e681d8f
renamed psl_is_public() to psl_is_public_suffix()
2014-04-12 16:04:42 +02:00
Tim Ruehsen
c37830f6fc
reverted meaning of psl_is_public (again), started function docs
2014-04-06 22:30:50 +02:00
Daniel Kahn Gillmor
fb9ccbf88e
change psl_free() to take a psl_ctx_t *psl
...
This uses the more common convention where the variable freed is the
thing returned from the constructor directly, rather than having the
deallocator also zero out the pointer itself.
2014-03-27 20:01:29 +01:00
Tim Ruehsen
1d079fceeb
fixed indentation
2014-03-26 09:11:54 +01:00
Daniel Kahn Gillmor
73acfc570b
avoid the need for psl_global_init() and psl_global_deinit()
...
There is no need to for an initialization function if the builtin
structs if the comparison function will look at label_buf directly
when label == NULL.
This simplifies the API for users, who now don't have to worry about
library initialization and deinitialization functions (these sort of
functions can cause headaches in chained library loads, esp. in plugin
architectures like PAM).
2014-03-24 18:33:27 -04: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
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
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