Commit Graph

31 Commits

Author SHA1 Message Date
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 896f7f6ae4 Fix ASCII check in src/psl2c.c 2015-01-26 11:04:22 +01:00
Tim Rühsen bbed26b303 check for alloca.h before including 2014-10-28 15:41:35 +01:00
Tim Ruehsen 373bcb912c more work on support for libidn, libidn2, libicu 2014-06-29 22:56:33 +02:00
Tim Rühsen 74f715bd9c started with libidn2 integration 2014-06-27 17:13:30 +02:00
Tim Ruehsen f7f1408088 removed possible C89 compilation issue 2014-06-20 17:04:22 +02:00
Tim Ruehsen 9f5d6b1e9d added idn2 punycode generation as fallback for missing libicu 2014-06-19 13:15:31 +02:00
Tim Ruehsen 1d13ab1d18 removed redundant code from psl2c.c 2014-06-19 12:06:54 +02:00
Daniel Kahn Gillmor ae542f391b actually report the filename in _psl_filename 2014-06-06 00:52:02 -04:00
Tim Ruehsen 7621dce71d fixed C89 comment incompatibility 2014-06-05 11:53:29 +02:00
Tim Ruehsen 79cd551b17 fixed libicu implementation, use pkg-config for libicu detection 2014-06-05 11:39:28 +02:00
Tim Ruehsen 58daea97ce added IDNA2008 UTS#46 via libicu 2014-06-04 13:20:34 +02:00
Tim Ruehsen 7d3e2eebb2 use alloca instead of malloc for command buffer allocation 2014-05-12 12:27:32 +02:00
Tim Ruehsen 1efb6b75f4 changed code to C89 standard 2014-05-12 12:20:59 +02:00
Tim Ruehsen ee0064532c added psl_builtin_filename() 2014-04-17 12:31:06 +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 acb06542c9 finished comment 2014-03-29 18:54:04 +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 e7599d2ca0 fixed punycode sorting 2014-03-27 10:02:58 +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 3b94a03638 use idn2 instead of libidn2 to avoid the need for GPL3+ license 2014-03-24 15:54:43 +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 3b33ff2575 added libidn2 to .travis.yml 2014-03-22 23:05:55 +01:00
Tim Ruehsen 4a54c3cf2a removed punycode debug output 2014-03-22 22:57:10 +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 3998137fd0 added PSL inline library 2014-03-22 20:35:56 +01:00