{"push_id":2682847589,"size":10,"distinct_size":5,"ref":"refs/heads/andre/use-cmake","head":"d591e2b093aeee1bbaae6c7b188e2a0e6af4e445","before":"217d4ee06f2f5aa11a82d2b2bcf331b470acfc46","commits":[{"sha":"94212b5cfdbac5d383730916e05fb1507eb0238c","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"fix whitespace in bench","distinct":false,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/94212b5cfdbac5d383730916e05fb1507eb0238c"},{"sha":"02fed5bc9b66000dddec34a4017a093c890a0801","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"use vec::new since it doesnt allocate eagerly","distinct":false,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/02fed5bc9b66000dddec34a4017a093c890a0801"},{"sha":"561f7b8f589eb69f8c46eff2adc22e168fbe1c0d","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"Split 'snappy-sys/snappy/' into commit '7d3fa5c38c1850141c02aa968df737e2097e9410'\n\ngit-subtree-dir: snappy-sys/snappy\ngit-subtree-mainline: 02fed5bc9b66000dddec34a4017a093c890a0801\ngit-subtree-split: 7d3fa5c38c1850141c02aa968df737e2097e9410","distinct":false,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/561f7b8f589eb69f8c46eff2adc22e168fbe1c0d"},{"sha":"10c2c2a1678facf70127d9718530e5b3f37dc294","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"Squashed 'snappy-sys/snappy/' changes from 7d3fa5c..b02bfa7\n\nb02bfa7 Tag open source release 1.1.7.\n824e671 Add a loop alignment directive to work around a performance regression.\n55924d1 Add GNUInstallDirs to CMake configuration.\n632cd0f Use 64-bit optimized code path for ARM64.\n77c12ad Add unistd.h checks back to the CMake build.\nc8049c5 Replace getpagesize() with sysconf(_SC_PAGESIZE).\n18e2f22 Add guidelines for opensource contributions.\nf0d3237 Use _BitScanForward and _BitScanReverse on MSVC.\n71b8f86 Add SNAPPY_ prefix to PREDICT_{TRUE,FALSE} macros.\nbe6dc3d Redo CMake configuration.\ne4de6ce Small improvements to open source CI configuration.\nc756f7f Support both static and shared library CMake builds.\n038a332 Inline DISALLOW_COPY_AND_ASSIGN.\na8b239c snappy: Remove autoconf build configuration.\n27671c6 Clean up CMake header and type checks.\n548501c zippy: Re-release snappy 1.1.5 as 1.1.6.\n513df5f Tag open source release 1.1.5.\n5bc9c82 Set minimum CMake version to 3.1.\ne9720a0 Update Travis CI config, add AppVeyor for Windows CI coverage.\nf24f9d2 Explicitly copy internal::wordmask to the stack array to work around a compiler optimization with LLVM that converts const stack arrays to global arrays.  This is a temporary change and should be reverted when https://reviews.llvm.org/D30759 is fixed.\n82deffc Remove benchmarking support for fastlz.\n18488d6 Use 64 bit little endian on ppc64le.\n7b9532b Improve the SSE2 macro check on Windows.\n7dadcee Check for the existence of sys/uio.h in autoconf build.\n83179dd Remove quicklz and lzf support in benchmarks.\nc813168 Provide a CMakeLists.txt.\ned3b7b2 Clean up unused function warnings in snappy.\n8b60aac Remove \"using namespace std;\" from zippy-stubs-internal.h.\n7d7a8ec Add Travis CI configuration to snappy and fix the make build.\n1cd3ab0 Rename README to README.md. It already in markdown, we might as well let github know so that it renders nicely.\n597fa79 Delete UnalignedCopy64 from snappy-stubs since the version in snappy.cc is more robust and possibly faster (assuming the compiler knows how to best copy 8 bytes between locations in memory the fastest way possible - a rather safe bet).\n039b3a7 Add std:: prefix to STL non-type names.\n3c706d2 Make UnalignedCopy64 not exhibit undefined behavior when src and dst overlap.\nd3c6d20 Add compression size reporting hooks.\n626e1b9 Use #ifdef __SSE2__ for the emmintrin.h include, otherwise snappy.cc does not compile with -march=prescott.\n2d99bd1 1.1.4 release.\n8bfb028 Improve zippy decompression speed.\n818b583 adds std:: to stl types (#061)\n27c5d86 Re-work fast path for handling copies in zippy decompression.\n4a74094 Speed up Zippy decompression in PIE mode by removing the penalty for global array access.\n38a5ec5 Re-work fast path that emits copies in zippy compression.\n094c67d Speed up the EmitLiteral fast path, +1.62% for ZFlat benchmarks.\nfce661f Speed up zippy decompression by removing some zero-extensions.\ne788e52 Avoid calling memset when resizing the buffer.\n32d6d7d Merge pull request #6 from deviance/provide-pkg-config-data\n9716135 Add #ifdef to guard against macro redefinition if this is included in another Google project that also defines this.\n0000f99 Merge pull request #13 from huachaohuang/patch-1\nd53de18 Make heuristic match skipping more aggressive.\n2b9152d Default to glibtoolize instead of libtoolize if it exists, and also make it customizable through the environment variable $LIBTOOLIZE.\n0800b1e Work around an issue where some compilers interpret <:: as a trigraph. Also correct the namespace name.\ne7d2818 Unbreak the open-source build for ARM due to missing ATTRIBUTE_PACKED declaration.\n7525a16 Fix an issue where the ByteSource path (used for parsing std::string) would incorrectly accept some invalid varints that the other path would not, causing potential CHECK-failures if the unit test were run with --write_uncompressed and a corrupted input file.\nef5598a Make UNALIGNED_LOAD16/32 on ARMv7 go through an explicitly unaligned struct, to avoid the compiler coalescing multiple loads into a single load instruction (which only work for aligned accesses).\nb8cd908 Allow to compile in nested packages.\n96a2e34 Update URLs in the Snappy README to reflect the move to GitHub.\n0852af7 Move the logic from ComputeTable into the unit test, which means it's run automatically together with the other tests, and also removes the stray function ComputeTable() (which was never referenced by anything else in the open-source version, causing compiler warnings for some) out of the core library.\nd803429 Fix signed-vs.-unsigned comparison warnings.\nd2cb73b Provide pkg-config data\nefb39e8 Release Snappy 1.1.3; getting the new Uncompress variant in a release is nice, and it's also good to finally get an official release out after the migration to GitHub.\neb66d81 Initialized members of SnappyArrayWriter and SnappyDecompressionValidator. These members were almost surely initialized before use by other member functions, but Coverity was warning about this. Eliminating these warnings minimizes clutter in that report and the likelihood of overlooking a real bug.\nb2312c4 Add support for Uncompress(source, sink). Various changes to allow Uncompress(source, sink) to get the same performance as the different variants of Uncompress to Cord/DataBuffer/String/FlatBuffer.\nb2ad960 Changes to eliminate compiler warnings on MSVC\ne7a897e Fixed unit tests to compile under MSVC.\n86eb8b1 Change a few branch annotations that profiling found to be wrong. Overall performance is neutral or slightly positive.\n11ccdfb Sync with various Google-internal changes.\n22acaf4 Change some internal path names.\n1ff9be9 Release Snappy 1.1.2.\n19690d7 Fix public issue 82: Stop distributing benchmark data files that have unclear or unsuitable licensing.\nf82bff6 Add support for padding in the Snappy framed format.\neeead8d Release Snappy 1.1.1.\n6bc39e2 Add autoconf tests for size_t and ssize_t. Sort-of resolves public issue 79; it would solve the problem if MSVC typically used autoconf. However, it gives a natural place (config.h) to put the typedef even for MSVC.\n7c3c01d When we compare the number of bytes produced with the offset for a backreference, make the signedness of the bytes produced clear, by sticking it into a size_t. This avoids a signed/unsigned compare warning from MSVC (public issue 71), and also is slightly clearer.\n2f0aaf8 In the fast path for decompressing literals, instead of checking whether there's 16 bytes free and then checking right afterwards (when having subtracted the literal size) that there are now 5 bytes free, just check once for 21 bytes. This skips a compare and a branch; although it is easily predictable, it is still a few cycles on a fast path that we would like to get rid of.\n062bf54 Make the two IncrementalCopy* functions take in an ssize_t instead of a len, in order to avoid having to do 32-to-64-bit signed conversions on a hot path during decompression. (Also fixes some MSVC warnings, mentioned in public issue 75, but more of those remain.) They cannot be size_t because we expect them to go negative and test for that.\n328aafa Add support for uncompressing to iovecs (scatter I/O). Windows does not have struct iovec defined anywhere, so we define our own version that's equal to what UNIX typically has.\ncd92eb0 Some code reorganization needed for an internal change.\na3e928d Supports truncated test data in zippy benchmark.\nbde324c Release Snappy 1.1.0.\n8168446 Make ./snappy_unittest pass without \"srcdir\" being defined.\n27a0cc3 Increase the Zippy block size from 32 kB to 64 kB, winning ~3% density while being effectively performance neutral.\n81f3478 Adjust the Snappy open-source distribution for the changes in Google's internal file API.\n698af46 Change a few ORs to additions where they don't matter. This helps the compiler use the LEA instruction more efficiently, since e.g. a + (b << 2) can be encoded as one instruction. Even more importantly, it can constant-fold the COPY_* enums together with the shifted negative constants, which also saves some instructions. (We don't need it for LITERAL, since it happens to be 0.)\n55209f9 Stop giving -Werror to automake, due to an incompatibility between current versions of libtool and automake on non-GNU platforms (e.g. Mac OS X).\nb86e81c Fix public issue 66: Document GetUncompressedLength better, in particular that it leaves the source in a state that's not appropriate for RawUncompress.\n2e225ba Fix public issue 64: Check for <sys/time.h> at configure time, since MSVC seemingly does not have it.\ne89f20a Handle the case where gettimeofday() goes backwards or returns the same value twice; it could cause division by zero in the unit test framework. (We already had one fix for this in place, but it was incomplete.)\n3ec60ac Mark ARMv4 as not supporting unaligned accesses (not just ARMv5 and ARMv6); apparently Debian still targets these by default, giving us segfaults on armel.\nbe80d6f Fix public bug #62: Remove an extraneous comma at the end of an enum list, causing compile errors when embedded in Mozilla on OpenBSD.\n8b95464 Snappy library no longer depends on iostream.\nfc723b2 Release Snappy 1.0.5.\ndc63e0a For 32-bit platforms, do not try to accelerate multiple neighboring 32-bit loads with a 64-bit load during compression (it's not a win).\nf8829ea Enable the use of unaligned loads and stores for ARM-based architectures where they are available (ARMv7 and higher). This gives a significant speed boost on ARM, both for compression and decompression. It should not affect x86 at all.\nf2e184f Lower the size allocated in the \"corrupted input\" unit test from 256 MB to 2 MB. This fixes issues with running the unit test on platforms with little RAM (e.g. some ARM boards).\ne750dc0 Minor refactoring to accomodate changes in Google's internal code tree.\nd9068ee Fix public issue r57: Fix most warnings with -Wall, mostly signed/unsigned warnings. There are still some in the unit test, but the main .cc file should be clean. We haven't enabled -Wall for the default build, since the unit test is still not clean.\n0755c81 Add a framing format description. We do not have any implementation of this at the current point, but there seems to be enough of a general interest in the topic (cf. public bug #34).\nd7eb2dc Speed up decompression by moving the refill check to the end of the loop.\n5ed51ce Speed up decompression by making the fast path for literals faster.\n0c1b9c3 Fix public issue #53: Update the README to the API we actually open-sourced with.\nb61134b In the format description, use a clearer example to emphasize that varints are stored in little-endian. Patch from Christian von Roques.\n21a2e4f Release Snappy 1.0.4.\ne2e3032 Fix public issue #50: Include generic byteswap macros. Also include Solaris 10 and FreeBSD versions.\n593002d Partially fix public issue 50: Remove an extra comma from the end of some enum declarations, as it seems the Sun compiler does not like it.\nf1063a5 Use the right #ifdef test for sys/mman.h.\n41c827a Fix public issue #47: Small comment cleanups in the unit test.\n59aeffa Fix public issue #46: Format description said \"3-byte offset\" instead of \"4-byte offset\" for the longest copies.\n57e7cd7 Fix public issue #44: Make the definition and declaration of CompressFragment identical, even regarding cv-qualifiers.\n13c4a44 Correct an inaccuracy in the Snappy format description. (I stumbled into this when changing the way we decompress literals.)\nf540673 Speed up decompression by removing a fast-path attempt.\n197f3ee Speed up decompression by not needing a lookup table for literal items.\n8efa263 Release Snappy 1.0.3.\n2e12124 Remove an unneeded goto in the decompressor; it turns out that the state of ip_ after decompression (or attempted decompresion) is completely irrelevant, so we don't need the trailer.\nc266bbf Speed up decompression by caching ip_.\nd0ee043 Fix the numbering of the headlines in the Snappy format description.\n6c70538 Fix public issue #32: Add compressed format documentation for Snappy. This text is new, but an earlier version from Zeev Tarantov was used as reference.\na1f9f99 Fix public issue #39: Pick out the median runs based on CPU time, not real time. Also, use nth_element instead of sort, since we only need one element.\nf7b1056 Fix public issue #38: Make the microbenchmark framework handle properly cases where gettimeofday() can stand return the same result twice (as sometimes on GNU/Hurd) or go backwards (as when the user adjusts the clock). We avoid a division-by-zero, and put a lower bound on the number of iterations -- the same amount as we use to calibrate.\nd8d4814 Fix public issue #37: Only link snappy_unittest against -lz and other autodetected libraries, not libsnappy.so (which doesn't need any such dependency).\nbcecf19 Release Snappy 1.0.2, to get the license change and various other fixes into a release.\n84d9f64 Fix public issue #30: Stop using gettimeofday() altogether on Win32, as MSVC doesn't include it. Replace with QueryPerformanceCounter(), which is monotonic and probably reasonably high-resolution. (Some machines have traditionally had bugs in QPC, but they should be relatively rare these days, and there's really no much better alternative that I know of.)\n3d8e71d Fix public issue #31: Don't reset PATH in autogen.sh; instead, do the trickery we need for our own build system internally.\n7398735 When including <windows.h>, define WIN32_LEAN_AND_MEAN first, so we won't pull in macro definitions of things like min() and max(), which can conflict with <algorithm>.\nfb7e0ea Fix public issue #29: Write CPU timing code for Windows, based on GetProcessTimes() instead of getursage().\nc67fa0c Include C bindings of Snappy, contributed by Martin Gieseking.\n56be85c Replace geo.protodata with a newer version.\n3dd93f3 Fix public issue #27: Add HAVE_CONFIG_H tests around the config.h inclusion in snappy-stubs-internal.h, which eases compiling outside the automake/autoconf framework.\nf67bcaa Fix public issue #26: Take memory allocation and reallocation entirely out of the Measure() loop. This gives all algorithms a small speed boost, except Snappy which already didn't do reallocation (so the measurements were slightly biased in its favor).\ncc333c1 Renamed \"namespace zippy\" to \"namespace snappy\" to reduce the differences from the opensource code.  Will make it easier in the future to mix-and-match third-party code that uses snappy with google code.\nf19fb07 Put back the final few lines of what was truncated during the license header change.\n7e8ca8f Change on 2011-03-25 19:18:00-07:00 by sesse\nb4bbc10 Change Snappy from the Apache 2.0 to a BSD-type license.\nc47640c Release Snappy 1.0.1, to soup up all the various small changes that have been made since release.\nb1dc1f6 Fix a microbenchmark crash on mingw32; seemingly %lld is not universally supported on Windows, and %I64d is recommended instead.\n98004ca Fix public issue #19: Fix unit test when Google Test is installed but the gflags package isn't (Google Test is not properly initialized).\n444a6c5 Make the unit test work on systems without mmap(). This is required for, among others, Windows support. For Windows in specific, we could have used CreateFileMapping/MapViewOfFile, but this should at least get us a bit closer to compiling, and is of course also relevant for embedded systems with no MMU.\n2e182e9 Make the unit test work on systems without mmap(). This is required for, among others, Windows support. For Windows in specific, we could have used CreateFileMapping/MapViewOfFile, but this should at least get us a bit closer to compiling, and is of course also relevant for embedded systems with no MMU.\n48662cb Fix public issue #12: Don't keep autogenerated auto* files in Subversion; it causes problems with others sending patches etc..\n9e4717a Fix public issue tracker bug #3: Call AC_SUBST([LIBTOOL_DEPS]), or the rule to rebuild libtool in Makefile.am won't work.\n519c822 Fix public issue #10: Don't add GTEST_CPPFLAGS to snappy_unittest_CXXFLAGS; it's not needed (CPPFLAGS are always included when compiling).\nea6b936 Fix public issue #9: Add -Wall -Werror to automake flags. (This concerns automake itself, not the C++ compiler.)\ne3ca06a Fix a typo in the Snappy README file.\n39d27be Fix public issue #6: Add a --with-gflags for disabling gflags autodetection and using a manually given setting (use/don't use) instead.\n60add43 Fix public issue #5: Replace the EXTRA_LIBSNAPPY_LDFLAGS setup with something slightly more standard, that also doesn't leak libtool command-line into configure.ac.\na8dd170 Fix public issue #4: Properly quote all macro arguments in configure.ac.\n79752dd Fix public issue #7: Don't use internal variables named ac_*, as those belong to autoconf's namespace.\n46e39fb Add missing licensing headers to a few files. (Part 2/2.)\n3e76421 Add mising licensing headers to a few files. (Part 1/2.)\n9a59f18 Use the correct license file for the Apache 2.0 license; spotted by Florian Weimer.\n28a6440 Revision created by MOE tool push_codebase. MOE_MIGRATION=\n7c3c607 Create trunk directory.\nREVERT: 7d3fa5c Snappy bindings\n\ngit-subtree-dir: snappy-sys/snappy\ngit-subtree-split: b02bfa754ebf27921d8da3bd2517eab445b84ff9","distinct":false,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/10c2c2a1678facf70127d9718530e5b3f37dc294"},{"sha":"efe842247351b880fde2b20cc0df6360f3b176ef","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"Merge commit '10c2c2a1678facf70127d9718530e5b3f37dc294' into andre/update-snappy","distinct":false,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/efe842247351b880fde2b20cc0df6360f3b176ef"},{"sha":"750d7d22580969dd2fd1286a8027299a520199d1","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"use cmake to build snappy-sys","distinct":true,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/750d7d22580969dd2fd1286a8027299a520199d1"},{"sha":"7783e3192b31850e8c2ac6fd41101bc87588693e","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"add appveyor build","distinct":true,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/7783e3192b31850e8c2ac6fd41101bc87588693e"},{"sha":"662cdade861d7f30a05c72ace6c452cfd02fd132","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"fix windows build","distinct":true,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/662cdade861d7f30a05c72ace6c452cfd02fd132"},{"sha":"812979939f12b731de24c2e23eb616f0e0c6c639","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"add travis build","distinct":true,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/812979939f12b731de24c2e23eb616f0e0c6c639"},{"sha":"d591e2b093aeee1bbaae6c7b188e2a0e6af4e445","author":{"name":"André Silva","email":"03073aa9d252cd9c8090bc189c40d328a39ac698@gmail.com"},"message":"cmake use verbose makefile","distinct":true,"url":"https://api.github.com/repos/paritytech/rust-snappy/commits/d591e2b093aeee1bbaae6c7b188e2a0e6af4e445"}]}
{"actor":{"display_login":"andresilva"}}