Commit Graph

18 Commits

Author SHA1 Message Date
Björn Ketelaars
21b6d517a8 Add pkg-config (.pc) file 2020-03-04 21:08:35 +01:00
easyaspi314 (Devin)
cac3ca4d5d Implement a safer Unicode test
This new test doesn't use any Unicode in the source files, instead
encoding all UTF-8 and UTF-16 as hex.

The test script will be generated from a C file, in which both a shell
script and a batch script will be generated, as well as the Unicode file
to test.

On Cygwin, MinGW, and MSYS, we will automatically bail from the shell
script to the batch script, as cmd.exe has more reliable Unicode
support, at least on Windows 7 and later.

When the make rule is called, it first checks if `$LANG` contains UTF-8,
defining the (overridable) ENABLE_UNICODE flag. If so, it will skip the
test with a warning.

Also fixed an issue with printf in multiInclude.c causing warnings on
old MinGW versions which expect %I64, and updated the .gitignore.
2020-02-14 19:08:09 -05:00
Yann Collet
160e37d349 Merge branch 'dev' into s390x 2020-02-12 12:12:46 -08:00
Yann Collet
4e4570f751 removed non-error messages from stderr when specifying -q 2019-10-07 08:25:57 -07:00
Yann Collet
c5f72f87af added guard macro in xxhash.c
since it can be included.
2019-10-07 07:56:42 -07:00
Yann Collet
e18a23a582 Visual Studio tests on Appveyor
now generate errors when there is a compiler warning
fix #249

Also fix a few corresponding minor warnings on Visual.
2019-09-06 16:05:44 -07:00
Yann Collet
eccd0827b7 ignore generated .s assembly files 2019-08-15 14:39:41 +02:00
Stanislav Demyanovich
097ff91c23 Append .gitignore 2019-07-30 14:47:13 +07:00
Yann Collet
b6210fe0de disable __uint128_t for 128-bit multiply in emscripten
as suggested by @easyaspi314
2019-07-26 16:16:01 -07:00
Yann Collet
893ed9ae24 benchHash : can select a hash by its name 2019-05-02 14:21:21 -07:00
Yann Collet
7a407f64f9 show script lines during lib compilation 2018-09-29 23:13:01 -07:00
Yann Collet
542430e0ec fixed compilation issues under msys2/mingw64 2018-09-29 23:09:23 -07:00
Yann Collet
bc32865a23 make : added lib target
make install now also installs static and dynamic libraries
2017-09-14 09:44:34 -07:00
Yann Collet
06e2820574 ignore some Mac artifacts 2017-09-11 15:28:08 -07:00
Yann Collet
d9e2c7bfd7 fixed potential realloc() error (#150) 2017-06-14 17:07:25 -07:00
Yann Collet
5062cb111b changed XXH_PRIVATE_API to XXH_INCLUDE_BODY
now includes `xxhash.h` instead of `xxhash.c`, which feels more natural
2016-06-06 14:12:27 +02:00
Yann Collet
4a218171ea created protected section XXH_STATIC_LINKING_ONLY within xxhash.h
expose definition of `XXH32_state_t` and `XXH64_state_t` in the new section
2016-05-28 02:14:28 +02:00
Emilio G. Cota
e579f8e013 gitignore: ignore xxhsum and xxh(32|64)sum
Signed-off-by: Emilio G. Cota <cota@braap.org>
2016-03-24 18:08:31 -04:00