Commit Graph

129 Commits

Author SHA1 Message Date
Tim Ruehsen 5e6bad036b added --is-cookie-domain-acceptable to tools/psl.c 2014-04-16 10:56:42 +02:00
Tim Ruehsen d04e6f5c09 new test test-is-cookie-domain-acceptable.c 2014-04-16 10:55:57 +02:00
Tim Ruehsen 5fa3b170bd added checks in test-registrable-domain.c 2014-04-16 10:53:59 +02:00
Tim Ruehsen 2c7c11d8a6 added psl_is_cookie_domain_acceptable() 2014-04-16 10:52:35 +02:00
Tim Ruehsen b8f7a79947 added checks for special .name domain 2014-04-15 15:02:50 +02:00
Tim Ruehsen 41171a949b added --print-info, --use-builtin-data, --load-psl-file to tools/psl.c 2014-04-13 21:49:03 +02:00
Tim Ruehsen c481e8019d added ./configure --with-psl-testfile to set PSL test file path 2014-04-13 16:43:03 +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 3fd48b9328 renamed --is-public to --is-public-suffix 2014-04-12 16:12:29 +02:00
Tim Ruehsen b49e681d8f renamed psl_is_public() to psl_is_public_suffix() 2014-04-12 16:04:42 +02:00
Tim Ruehsen af717a0d80 removed autogenerated file 'INSTALL' from repo 2014-04-11 22:29:34 +02:00
Tim Ruehsen c285d4047b generate tar ball libpsl-... instead of psl-... 2014-04-11 22:25:43 +02:00
Tim Ruehsen 4a278766e1 removed accidentially added blobs 2014-04-11 18:50:01 +02:00
Tim Ruehsen 2a404722f6 added a 'psl' tool to acces functions from command line 2014-04-11 17:16:23 +02:00
Tim Ruehsen 0dad83966d added the missing function documentation 2014-04-11 16:30:20 +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 4a33b309a3 ./configure --enable-gtk-doc in .travis.yml 2014-04-02 11:34:02 +02:00
Tim Ruehsen 3900084f9c create m4 directory before gtkdocize 2014-04-02 11:23:38 +02:00
Tim Ruehsen a0efde2ef3 added installation of gtk-doc-tools 2014-04-02 10:46:31 +02:00
Tim Ruehsen 1d72e45d85 added GTKDOC support 2014-04-02 10:27:13 +02:00
Tim Ruehsen 9d18b46ed9 moved gettext defines away from header file 2014-04-02 10:26:40 +02:00
Tim Ruehsen 65a1f03939 small code fixes 2014-03-30 21:52:00 +02:00
Tim Ruehsen 31319a3dc7 added ./configure --disable-builtin to build without PSL data 2014-03-30 17:02:56 +02:00
Tim Ruehsen 51daebd295 include time.h to have time_t 2014-03-30 12:10:45 +02:00
Tim Ruehsen 2cc4be71c4 removed incomplete and unneeded initialization of _builtin_psl 2014-03-30 12:06:16 +02:00
Tim Ruehsen 3d3884fc6f fixed errors introduced in last change 2014-03-29 18:58:24 +01:00
Tim Ruehsen cf266fc49f own line for mailing list reference 2014-03-29 18:54:04 +01:00
Tim Ruehsen a65b7fdad4 lowercase libpsl in AC_INIT 2014-03-29 18:54:04 +01:00
Tim Ruehsen 834f280100 removed fprintf from library code 2014-03-29 18:54:04 +01:00
Tim Ruehsen 9d2fde5fce check input params in exported functions 2014-03-29 18:54:04 +01:00
Tim Ruehsen acb06542c9 finished comment 2014-03-29 18:54:04 +01:00
Tim Ruehsen 535751b6cc prevailing rule is * 2014-03-28 22:02:42 +01:00
Tim Ruehsen 619959db7a added utf-8 to lowercase code using sed 2014-03-27 21:29:17 +01: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 d894c07bb8 added test_psl.txt so satisfy distcheck 2014-03-27 12:49:46 +01:00
Tim Ruehsen 87f269b6fb skip 'example' unregistered TLD tests, added some special tests 2014-03-27 12:32:35 +01:00
Tim Ruehsen e7599d2ca0 fixed punycode sorting 2014-03-27 10:02:58 +01:00
Tim Ruehsen fd0ff2023b added psl_registrable_domain(), renamed psl_registered_domain -> psl_unregistrable_domain 2014-03-26 22:27:31 +01:00
Tim Ruehsen 96574a795c added reference to Gmane mailing list archive 2014-03-26 21:15:25 +01:00
Tim Ruehsen a18777c2e3 new function psl_registered_domain() 2014-03-26 17:14:25 +01:00
Tim Ruehsen 8791ad0b9a removed unused variable 'it' 2014-03-26 09:12:41 +01:00
Tim Ruehsen 1d079fceeb fixed indentation 2014-03-26 09:11:54 +01:00
Tim Ruehsen fd6320db9e removed init/deinit function declarations 2014-03-26 09:09:22 +01:00
rockdaboot 912d9a296a Merge pull request #3 from dkg/master
API pruning
2014-03-25 21:39:17 +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 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 e4950f35d9 added package idn2 in .travis.yml 2014-03-24 17:30:46 +01:00