Commit Graph

265 Commits

Author SHA1 Message Date
Tim Rühsen 9d2e93f0b8 New function psl_is_public_suffix2()
The current PSL has two sections, ICANN and PRIVATE.
This new function allows to limit the check for one or both
of these sections.
2015-12-06 21:55:56 +01:00
Tim Rühsen 519b8c9d17 Add time measurement for test-is-public-all.c 2015-12-03 10:08:04 +01:00
Tim Rühsen d14ada235c Use echo without -n in configure.ac (compatibility) 2015-11-19 12:11:27 +01:00
Tim Rühsen b53273d406 Use absolute PSL path to make psl_builtin_outdated() work reliable 2015-11-19 11:18:17 +01:00
Tim Rühsen 583f97f2bf Copy custom PSL file and test file into distribution tarball 2015-11-19 11:16:24 +01:00
Tim Rühsen f3b479fd45 Remove -DDATADIR from DEFS in tests/Makefile.am 2015-11-19 11:14:31 +01:00
Tim Rühsen 71a3f76414 Update publixsuffix/list submodule 2015-11-19 10:06:30 +01:00
Tim Rühsen dbefdb6767 Remove include of bits/stat.h 2015-11-19 10:06:04 +01:00
Christopher Meng db9a3613d6 Correct the present year 2015-10-07 13:28:02 +02:00
Tim Rühsen ac40a6bfc8 Extend tools/psl --print-info and --version 2015-09-27 19:14:58 +02:00
Tim Rühsen 643e523f09 Fix psl_builtin_outdated() 2015-09-27 19:14:13 +02:00
Tim Rühsen d1dec3d16e Release v0.11.0 2015-09-23 14:52:04 +02:00
Tim Rühsen 53c2fe31a8 Update copyright years 2015-09-23 14:50:01 +02:00
Tim Rühsen f1954e5311 Add gtk-doc.m4 and include/libpsl.h to .gitignore 2015-09-23 14:16:52 +02:00
Tim Rühsen a9524b5570 Add PSL_VERSION defines and psl_check_version_number() to docs 2015-09-23 14:15:23 +02:00
Tim Rühsen 00b9cfb119 Add function psl_check_version_number() 2015-09-23 14:04:17 +02:00
Tim Rühsen eabf39c174 Add version numbers to libpsl.h 2015-09-23 12:38:34 +02:00
Tim Rühsen 789d7ad132 Release v0.10.0 2015-09-19 14:12:49 +02:00
Tim Rühsen 3bf7275a17 Add psl_suffix_wildcard_count() to docs 2015-09-19 14:02:49 +02:00
Tim Rühsen 6a8f33ee39 Add new function psl_builtin_outdated() 2015-09-19 14:00:49 +02:00
Tim Rühsen 34289fa59b Add function psl_suffix_wildcard_count() 2015-09-19 10:55:09 +02:00
Tim Rühsen e443d21b61 Code cleanup, faster lookups 2015-09-19 10:50:00 +02:00
Tim Rühsen fb942952ec Release v0.9.0 2015-09-15 15:17:20 +02:00
Tim Rühsen 4c8d3c4d73 Remove unused variable from tests/test-is-public-all.c 2015-09-15 15:16:04 +02:00
Tim Rühsen a9c71d6de5 Update submodule list 2015-09-15 14:50:58 +02:00
Tim Rühsen 597709cb11 Support combination of foo.bar and *.foo.bar 2015-09-15 14:49:53 +02:00
Tim Rühsen fa55bb75c4 Removed test with wrong assumptions 2015-09-15 14:46:07 +02:00
Tim Rühsen 0652af910e Fix SIGSEGV in test-is-public-all.c for TLD exceptions 2015-09-15 12:19:18 +02:00
Tim Rühsen f6a3b96f91 Check PSL entries before generating built-in data 2015-09-15 11:46:21 +02:00
Tim Rühsen aa94d57699 Release v0.8.1 2015-08-14 17:05:43 +02:00
Tim Rühsen 7b72ac673b Skip leading whitespaces in tests_psl.txt 2015-08-14 12:27:11 +02:00
Tim Rühsen c76e49e3ac Merge pull request #30 from dkg/develop
Add syntax checking for test_psl.txt
2015-08-14 12:06:31 +02:00
Daniel Kahn Gillmor c1b52ee2d8 Expect more from test_psl.txt
There were some tests included in test_psl.txt that we were not
covering because they didn't match our expectations.

Cover all the tests in test_psl that we know about, and count unknown
lines as failed tests.
2015-08-13 18:02:11 -04:00
Daniel Kahn Gillmor ac8ba5a828 Documentation cleanup 2015-08-12 10:06:49 +02:00
Tim Rühsen 6bfa908ff6 Release v0.8.0 2015-08-06 16:35:16 +02:00
Tim Rühsen 5ad28b2b84 Add contrib/check-hard to test configure options 2015-08-06 13:23:38 +02:00
Tim Rühsen ce9a62c487 Brush up .gitignore 2015-08-06 13:21:57 +02:00
Tim Rühsen 3f5e208967 src/psl.c: Fix C99 comment to C89 2015-08-06 12:31:21 +02:00
Tim Rühsen 71835fcd44 Add https://github.com/publicsuffix as git submodule 2015-07-14 13:25:42 +02:00
Daniel Kahn Gillmor f9a1bdcf80 Embed _psl_compile_time derived from $SOURCE_DATE_EPOCH if set
Making packages build byte-for-byte reproducibly from a given
toolchain+source makes it much easier to corroborate builds by testing
against other build infrastructure.

By default, libpsl currently embeds the current unix timestamp in
_psl_compile_time, which makes it bytewise incompatible if it is
rebuild even on the same machine one second later.

See https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal for
more information about $SOURCE_DATE_EPOCH.
2015-07-12 22:55:35 +02:00
Tim Rühsen 37858be73f Avoid shell variables in AC_CONFIG_FILES (won't work) 2015-07-12 22:46:40 +02:00
Tim Rühsen 1bdff6b113 new version of effective_tld_names.dat 2015-07-06 13:19:55 +02:00
Tim Rühsen 998b5515d7 Work around a libidn<=1.30 vulnerability 2015-07-06 13:03:50 +02:00
Tim Rühsen 88d75c0ad4 add LICENSE to distribution tarball 2015-03-02 14:56:40 +01:00
Giuseppe Scrivano 7a07205f1b psl.c: fix strndup replacement
Do not copy more bytes than the src string length.
2015-02-28 18:52:47 +01:00
Giuseppe Scrivano 225c557e23 psl.c: Do not define _GNU_SOURCE 2015-02-28 18:37:14 +01:00
Tim Ruehsen 1030a438c9 Release v0.7.1 2015-02-21 19:30:52 +01:00
Tim Ruehsen fdcaea49db new version of effective_tld_names.dat 2015-02-21 19:29:55 +01:00
Christopher Meng eea684ba20 Allow custom public suffix file
There is an option already in the configure.ac to allow system-wide
public suffix. Fedora ships the data as a package "publicsuffix-list"
and installs it to /usr/share/.
Thus I'd like to use the system one since it's updated often.
2015-02-14 10:49:45 +01:00
Tim Rühsen 22de5ae709 Release v0.7.0 2015-01-30 16:16:42 +01:00