Commit Graph

18 Commits

Author SHA1 Message Date
Claudio Saavedra 49707dc3b3 Add tests for PSL_TYPE_NO_STAR_RULE 2018-02-21 20:48:05 +01:00
Tim Rühsen 95a5152e56 Update copyright year to 2016 2016-01-02 13:36:49 +01:00
Tim Rühsen 5c159a3a09 Add few more tests to test-is-public-builtin.c 2016-01-01 22:34:55 +01:00
Tim Rühsen cde5e53ea6 Remove psl_builtin_compile_time() for reproducable builds 2016-01-01 15:44:24 +01: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 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 ed9562848c small --disable-builtin cleanups 2014-04-17 13:09:29 +02:00
Tim Ruehsen b8f7a79947 added checks for special .name domain 2014-04-15 15:02:50 +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
Tim Ruehsen 31319a3dc7 added ./configure --disable-builtin to build without PSL data 2014-03-30 17:02:56 +02: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
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 8b096a5eda LGPL->MIT license, some cleanups 2014-03-24 20:41:46 +01:00