Tim Rühsen
2aa06e17c8
Update PSL submodule
2017-01-16 12:14:37 +01:00
Tim Rühsen
eda8276b5f
Use NON-TRANSITIONAL toASCII() with libicu
2017-01-16 10:47:21 +01:00
Tim Rühsen
26d0856d0a
Fix typo
2017-01-16 10:26:12 +01:00
Tim Rühsen
526768cc5d
Use TR46 non-transitional with libidn2 >= 0.14
...
I changed my mind after talking with the cURL
maintainer Daniel Stenberg.
See https://github.com/curl/curl/pull/1207
2017-01-14 15:47:44 +01:00
Tim Rühsen
71059c2c6d
Work around https://github.com/eddyxu/cpp-coveralls/issues/108
2017-01-04 20:25:38 +01:00
Tim Rühsen
1a06a6c888
Add coveralls token to .travis_coveralls.sh
2017-01-04 17:19:05 +01:00
Tim Rühsen
31684dc7fd
Add psl_latest() and psl_dist_filename() to tests
2017-01-04 17:10:57 +01:00
Tim Rühsen
a3f6134a5e
Amend .travis_coveralls.sh
2017-01-04 16:54:09 +01:00
Tim Rühsen
2c17d56234
Use TR46 transitional with libidn2 >= 0.14
2017-01-03 12:30:43 +01:00
Tim Rühsen
7d5f3a67af
Release v0.16.1
2016-12-15 13:01:45 +01:00
Tim Rühsen
d4ea513f27
Add --use-latest-psl to tools/psl, now default
...
Fixes #76
2016-12-15 12:51:35 +01:00
Tim Rühsen
3c3320180e
Release v0.16.0
2016-12-10 18:06:44 +01:00
Zhang Hai
00f628d802
s/Publix/Public/
2016-12-07 16:14:04 +08:00
Tim Rühsen
ff29f13d8f
Add functions psl_latest() and psl_dist_filename()
...
Also add a new ./configure function to set a distribution wide
PSL file used by psl_latest(): --with-psl-distfile
If possible that filename should point to a DAFSA PSL file that
becomes updated regularly.
2016-12-06 20:16:12 +01:00
Tim Rühsen
deabd4a546
Replace psl2c by psl-make-dafsa
...
Removed --input-format from psl-make-dafsa.
Added --output-format=cxx+ to psl-make-dafsa.
Removed psl2c.
2016-12-06 15:22:18 +01:00
Tim Rühsen
6490b8214b
Don't taint out variable on error in psl_str_to_utf8lower()
...
Fixes #71
2016-12-05 16:28:47 +01:00
Tim Rühsen
b9e04d6958
Update copyright year
2016-12-05 15:03:27 +01:00
Tim Rühsen
2a3a743643
Fix typo Publix -> Public
2016-12-05 15:01:27 +01:00
Frederic Cambus
9f0b09e830
Missing includes for in6_addr / AF_INET*, fixes compilation on OpenBSD
2016-12-02 19:11:18 +01:00
Tim Rühsen
65e785e1ca
Replace NFCK -> NFKC in the docs
2016-11-29 14:49:35 +01:00
Tim Rühsen
d83bc6d523
Release v0.15.0
2016-11-14 12:50:48 +01:00
Tim Rühsen
3909351697
Update PSL submodule
2016-11-14 12:36:16 +01:00
Tim Rühsen
5d32b80077
Make API docs more detailed
2016-11-14 12:08:20 +01:00
Olle Liljenzin
3f276c7d1e
Fix psl-make-dafsa to work with python3
2016-11-12 21:21:28 +01:00
Tim Rühsen
1b36fb0012
Remove -Wall from automake options to reduce verbosity
2016-11-10 11:56:19 +01:00
Tim Rühsen
f01a81472b
Fix list email address in README.md
2016-11-10 11:05:00 +01:00
Tim Rühsen
761d938d2a
Fix name of Olle Liljenzin in src/psl-make-dafsa.1
2016-11-06 22:47:33 +01:00
Olle Liljenzin
3a4dff8805
Fixed documentation and error message to match the actual code.
2016-11-06 16:26:44 +01:00
Tim Rühsen
514aa0163c
Add Daurnimator to AUTHORS
2016-11-06 16:22:52 +01:00
Tim Rühsen
2c871b1306
Skip conversion in _psl_is_public_suffix() for builtin psl context
2016-11-06 11:59:36 +01:00
Tim Rühsen
44e6bd4eb8
src/psl2c.c: Also include UTF-8 into DAFSA output
2016-11-06 11:30:20 +01:00
Tim Rühsen
2677621b62
Add test DAFSA files to .gitignore
2016-11-06 11:30:20 +01:00
Tim Rühsen
70661c6807
Add checking with ASCII DAFSA in test-is-public-all.c
2016-11-06 11:30:20 +01:00
Tim Rühsen
3211a66f00
Put punycode + UTF-8 rules into DAFSA in utf-8 mode
2016-11-06 11:30:20 +01:00
Tim Rühsen
e30e77ef12
Create ASCII and UTF-8 binaries for testing
2016-11-05 11:17:11 +01:00
Tim Rühsen
3ac807d987
Add --encoding to psl-make-dafsa man page
2016-11-05 10:37:01 +01:00
Tim Rühsen
4b42762cbf
Skip punycode conversion for _psl_is_public_suffix() if data contains UTF-8 rules
2016-11-05 10:37:01 +01:00
Olle Liljenzin
86034ac7c9
Added function to the parser for reading DAFSA encoding mode.
2016-11-05 10:37:01 +01:00
Olle Liljenzin
8c2bcd5a24
Added version info into generated DAFSA.
...
psl-make-dafsa got a mode switch so that the old version can be
generated for testing.
2016-11-05 10:01:54 +01:00
Olle Liljenzin
e03953e27a
Updated DAFSA generator and parser to support UTF-8 encoding
2016-11-05 10:01:54 +01:00
Tim Rühsen
e126a67354
Add Solaris OpenCSW badges
2016-11-04 14:28:30 +01:00
Tim Rühsen
8a62205004
Add Travis script for Coveralls.io
2016-09-28 12:31:49 +02:00
Tim Rühsen
598a78b2de
Add better test code coverage
2016-09-26 15:15:34 +02:00
Tim Rühsen
5ebc24f0e0
Code cleanup in libidn2 branch of _psl_idna_toASCII()
...
Reported-by: https://github.com/daurnimator
2016-09-26 10:13:43 +02:00
Tim Rühsen
7eb8592035
Let u8_tolower() allocate the result buffer.
...
Reported-by: https://github.com/daurnimator
2016-09-25 19:44:33 +02:00
Tim Rühsen
32543dd5a5
Avoid unneeded memory allocactions in psl_str_to_utf8lower()
...
Reported-by: https://github.com/daurnimator
2016-09-25 12:49:56 +02:00
Tim Rühsen
069c6ff091
Fix check-coverage target (CFLAGS+LDFLAGS not set properly)
...
Reported-by: https://github.com/darnir
2016-09-25 12:48:32 +02:00
Tim Rühsen
9b2d7b7a9c
Add gcov test coverage report
2016-09-23 17:13:32 +02:00
Tim Rühsen
1baaacccd5
Fix libidn/libidn2 code path of psl_str_to_utf8lower()
...
* fixing memory leaks
* proper handling of unterminated results of u8_tolower()
* second call to iconv() ensures flush of internal memory
* check more code paths of psl_str_to_utf8lower() via
tests/test-registrable-domain.c
2016-09-23 12:35:08 +02:00
Tim Rühsen
e2812e8c4c
Check return value for strdup and strndup
...
Fixes #60
Reported-by: https://github.com/daurnimator
2016-09-22 15:53:31 +02:00