Ignacio Casal Quinteiro
b61285e74d
meson: install the header file
2018-12-31 16:57:56 +01:00
Tim Rühsen
ad895e382a
Silence format warning on printing time_t
2018-12-31 16:51:48 +01:00
Tim Rühsen
b38320fd42
Update PSL data from upstream
2018-12-29 19:26:50 +01:00
Tim Rühsen
80c0d5ff22
Add contrib/spell-checker
2018-12-28 19:45:30 +01:00
Tim Rühsen
c9315f26bc
Fix typos
2018-12-28 19:44:39 +01:00
Chun-wei Fan
df873db543
meson: Ensure things build with Windows
...
We must link to ws2_32.lib for all Windows builds, and we need to use
workarounds for alloca() and snprintf() since Visual Studio uses
_alloca() for alloca() and provides snprintf() only on Visual Studio
2015 or later, meaning that we need to use _snprintf() here.
Also fix the parts where we run the Python scripts to generate items,
since those scripts already have shebang lines for Meson to pick up.
2018-12-11 09:28:51 +08:00
Tim Rühsen
6a47e7c527
Meson: Build libpsl version number without external command
2018-12-10 21:02:33 +01:00
Tim Rühsen
c3133c7fd6
Meson: Add ASAN build to contrib/check-hard-meson
2018-12-09 18:30:41 +01:00
Tim Rühsen
c8c9c5a391
Meson: Add contrib/check-hard-meson
2018-12-09 14:34:45 +01:00
Tim Rühsen
04da21e2e9
Meson: Include config.h in tests
2018-12-09 14:33:56 +01:00
Tim Rühsen
73b734c364
Fix C89 warnings in fuzz/main.c
2018-12-08 23:38:45 +01:00
Tim Rühsen
6ef129be93
Fix include path in fuzz/main.c
2018-12-08 23:27:28 +01:00
Tim Rühsen
277b82bca2
Fix C++ comment to C
2018-12-08 23:22:06 +01:00
Xavier Claessens
a9c3b6df39
Meson: Fallback to find_library if no pkg-config file is found
2018-12-08 14:13:51 -05:00
Xavier Claessens
ed5f23d69a
Meson: Fix srcdir pointing to root source dir instead of current subdir
2018-12-08 12:49:20 -05:00
Tim Rühsen
22f3ecdb12
Merge pull request #117 from xclaesse/meson-fuzz
...
Meson: Fix fuzz test names
2018-12-08 16:57:24 +01:00
Xavier Claessens
81a793346e
Meson: Fix fuzz test names
2018-12-08 10:11:17 -05:00
Xavier Claessens
13bf8e102e
Meson: Fix link of fuzzer tests
...
libicu is an internal dependency of libpsl, so if an executable
uses libicu directly, linking on libpsl is not enough, it must also
link on libicu.
Closes : #115
2018-12-08 08:12:17 -05:00
Tim Rühsen
77971566d3
Meson: Fix issues in meson.build, remove building fuzz/
2018-12-08 13:50:36 +01:00
Tim Rühsen
2483cb608d
Mention meson and nmake build in README.md
2018-12-08 10:59:07 +01:00
Xavier Claessens
77c10beab7
Add initial Meson build system
2018-12-07 09:54:20 -05:00
Tim Rühsen
aae1995ca7
Merge pull request #114 from xclaesse/prepare-for-meson
...
Prepare for meson
2018-12-06 16:05:03 +01:00
Xavier Claessens
aff5cef20e
tests: Do not hardcode psl.dafsa and psl_ascii.dafsa file names
2018-12-06 09:11:56 -05:00
Xavier Claessens
1653897a49
Rename suffixes_dafsa.c to suffixes_dafsa.h
...
It is a generated file that we #include, so it makes more sense to have
.h extension. Also Meson tries to compile that file if it has .c
extension.
2018-12-06 09:11:02 -05:00
Tim Rühsen
808dbaf1f1
Update PSL from upstream
2018-11-06 14:53:07 +01:00
Tim Rühsen
3687c2b97b
Revert "Disable build without runtime for Travis"
...
This reverts commit b6fb9815f6
.
Upstream accepted my patches :-)
2018-11-06 13:27:09 +01:00
Tim Rühsen
8fbe3f3130
Merge pull request #111 from rockdaboot/tmp-fix-travis-build
...
Disable build without runtime for Travis
2018-10-30 13:18:29 +01:00
Tim Rühsen
b6fb9815f6
Disable build without runtime for Travis
...
When/If publicsuffix/list changes to NFC format, this commit
can be reverted.
2018-10-30 12:48:20 +01:00
Tim Rühsen
a8b4b68959
Merge pull request #109 from rockdaboot/define-comply-c99
...
src/psl.c: Use C99 compliant defines
2018-10-29 15:27:45 +01:00
Tim Rühsen
9eedf5f246
Fix code broken by 2nd last patch
2018-10-29 14:56:27 +01:00
Tim Rühsen
1e1b9f5748
src/psl.c: Use C99 compliant defines
2018-10-29 13:17:59 +01:00
Tim Rühsen
e21c174e86
Merge pull request #110 from rockdaboot/use-more-c99
...
Use more C99 compliant file-scope variables
2018-10-29 13:13:47 +01:00
Tim Rühsen
9dba7e4f4c
Use more C99 compliant file-scope variables
2018-10-29 12:16:52 +01:00
Tim Rühsen
8ee5c0993f
Fix some issues found by lgtm.com
2018-10-15 17:40:29 +02:00
Tim Rühsen
6938d1f513
Add .lgtm.yml
2018-10-15 17:29:23 +02:00
Tim Rühsen
ab893d4e23
Rename _PSL_* macros to be POSIX compliant
...
Reported-by: Marc Lehmann
2018-10-14 20:24:45 +02:00
Tim Rühsen
e87d463d04
Remove NLS / gettext from library code
2018-10-13 22:37:00 +02:00
Tim Rühsen
e1104c58f3
Remove redundant code in _psl_is_public_suffix()
...
Reported-by: Marc Lehmann
2018-10-13 22:24:05 +02:00
Tim Rühsen
68b1b0c7e5
Change download link of the PSL
2018-10-13 22:01:36 +02:00
Tim Rühsen
85ccc92281
Change ML archive link
2018-10-13 21:57:41 +02:00
Tim Rühsen
9d064cace8
Update to latest Public Suffix List
2018-10-07 21:15:07 +02:00
Don
02648135c9
Use __has_declspec_attribute for shared builds
...
Clang compilation targets may support `__declspec` attributes. Because of that it has a `__has_declspec_attribute` [check](https://clang.llvm.org/docs/LanguageExtensions.html#has-declspec-attribute ).
Currently libpsl just assumes that `__declspec` is Windows only. This adds a compatibility macro and checks whether `dllimport` and `dllexport` are available.
2018-10-07 11:32:45 +02:00
Tim Rühsen
a3bd08fbf2
Add script to build with MinGW
2018-10-05 20:49:21 +02:00
Tim Rühsen
d691a3b941
Add Windows compatibility to fopen
2018-10-05 20:47:26 +02:00
Tim Rühsen
523397fb83
psl tool: Fix possible crashes with printf %s, NULL
...
Reported-by: Mike Schiffman
2018-07-04 09:37:25 +02:00
Tim Rühsen
4c68696eb1
Add -b/--batch to suppress printing the domain
2018-05-18 15:37:53 +02:00
Tim Rühsen
b77d54469e
Fix and cleanup build
2018-04-30 15:14:17 +02:00
Tim Rühsen
b7f5c1414d
Release V0.20.2
2018-04-26 20:18:39 +02:00
Tim Rühsen
3695113cf6
Add msvc/ autogen files to .gitignore
2018-04-26 19:27:15 +02:00
Tim Rühsen
5fd44f138b
Fix several configure --enable options
2018-04-26 19:20:46 +02:00