summaryrefslogtreecommitdiff
path: root/COPYING
Commit message (Collapse)AuthorAgeFilesLines
* add 2-clause BSD license to COPYINGMartin von Zweigbergk2022-10-071-0/+30
| | | | | | The `git_fs_path_basename_r()` function in `src/util/fs_path.c` says it's based on Android code using the 2-clause BSD license, so I suppose that means the COPYING file should include that.
* sha: add sha256 algorithmEdward Thomson2022-03-231-0/+40
| | | | | Add support for a SHA256 hash algorithm, and add the "builtin" SHA256 hash engine (from RFC 6234).
* rand: introduce git_rand PRNGEdward Thomson2022-02-091-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce `git_rand`, a PRNG based on xoroshiro256**, a fast, all-purpose pseudo-random number generator: https://prng.di.unimi.it The PRNG will be seeded by the system's entropy store when possible, falling back to current time and system data (pid, uptime, etc). Inspiration for this was taken from libressl, but since our PRNG is not used for cryptographic purposes (and indeed currently only generates a unique temp file name that is written in a protected directory), this should be more than sufficient. Our implementation of xoroshiro256** was taken almost strictly from the original author's sources, but was tested against PractRand to ensure that there were no foolish mistranslations: ``` RNG_test using PractRand version 0.94 RNG = RNG_stdin64, seed = unknown test set = core, folding = standard (64 bit) rng=RNG_stdin64, seed=unknown length= 256 megabytes (2^28 bytes), time= 2.9 seconds no anomalies in 210 test result(s) rng=RNG_stdin64, seed=unknown length= 512 megabytes (2^29 bytes), time= 6.2 seconds no anomalies in 226 test result(s) rng=RNG_stdin64, seed=unknown length= 1 gigabyte (2^30 bytes), time= 12.7 seconds no anomalies in 243 test result(s) rng=RNG_stdin64, seed=unknown length= 2 gigabytes (2^31 bytes), time= 25.4 seconds no anomalies in 261 test result(s) rng=RNG_stdin64, seed=unknown length= 4 gigabytes (2^32 bytes), time= 50.6 seconds no anomalies in 277 test result(s) rng=RNG_stdin64, seed=unknown length= 8 gigabytes (2^33 bytes), time= 104 seconds no anomalies in 294 test result(s) ```
* COPYING: remove regex copyright, add PCRE copyrightethomson/copyrightEdward Thomson2022-01-221-19/+24
| | | | | | We now bundle PCRE for our regular expression implementation; include that copyright notice and remove the now-unused regular expression copyright.
* openssl: dynamically load libssl and symbols (optionally)Edward Thomson2021-08-241-1/+109
| | | | | | | | | | Provide an interface around OpenSSL to dynamically load the libraries and symbols, so that users can distribute a libgit2 library that is not linked directly against OpenSSL. This enables users to target multiple distributions with a single binary. This mechanism is optional and disabled by default. Configure cmake with -DUSE_HTTPS=OpenSSL-Dynamic to use it.
* wildmatch: import wildmatch from git.gitPatrick Steinhardt2019-06-151-0/+28
| | | | | | | | | | | In commit 70a8fc999d (stop using fnmatch (either native or compat), 2014-02-15), upstream git has switched over all code from their internal fnmatch copy to its new wildmatch code. We haven't followed suit, and thus have developed some incompatibilities in how we match regular expressions. Import git's wildmatch from v2.22.0 and add a test suite based on their t3070-wildmatch.sh tests.
* hash: include sha1collisiondetectionEdward Thomson2017-03-031-0/+33
| | | | | Include the SHA1 collision attack detection library from https://github.com/cr-marcstevens/sha1collisiondetection
* COPYING: include winhttp definition copyrightEdward Thomson2015-08-251-0/+46
| | | | | | Include the copyright notice from the deps/winhttp/ sources. Move the LGPL to the bottom of the file (since multiple dependencies are LGPL licensed) and include the actual copyright notices from the regex sources.
* clar: use actual license and copyrightEdward Thomson2015-02-101-21/+15
|
* Replace pqueue with code from hashsig heapRussell Belfer2014-02-031-74/+1
| | | | | | | | | | | I accidentally wrote a separate priority queue implementation when I was working on file rename detection as part of the file hash signature calculation code. To simplify licensing terms, I just adapted that to a general purpose priority queue and replace the old priority queue implementation that was borrowed from elsewhere. This also removes parts of the COPYING document that no longer apply to libgit2.
* Give credit to PHP for the p_readlink function in posix_w32.cMartin Woodward2013-08-161-0/+63
|
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* Add GNU LGPL to COPYINGCarlos Martín Nieto2012-02-171-0/+505
|
* Update Copyright headerschu2012-02-131-1/+1
| | | | Signed-off-by: schu <schu-github@schulog.org>
* Cleanup legal dataVicent Marti2011-09-191-1/+70
| | | | | | | | | | 1. The license header is technically not valid if it doesn't have a copyright signature. 2. The COPYING file has been updated with the different licenses used in the project. 3. The full GPLv2 header in each file annoys me.
* cleanup: remove trailing spacesKirill A. Shutemov2011-07-011-5/+5
| | | | Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
* Switch the license from BSD to GPL+libgcc exceptionShawn O. Pearce2008-11-011-0/+356
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>