summaryrefslogtreecommitdiff
path: root/src/userdiff.h
Commit message (Collapse)AuthorAgeFilesLines
* global: convert all users of POSIX regex to use our new regexp APIPatrick Steinhardt2019-09-211-1/+3
| | | | | The old POSIX regex API has been superseded by our new regexp API. Convert all users to make use of the new one.
* regexec: prefix all regexec function calls with p_Edward Thomson2019-05-191-1/+1
| | | | | | | Prefix all the calls to the the regexec family of functions with `p_`. This allows us to swap out all the regular expression functions with our own implementation. Move the declarations to `posix_regex.h` for simpler inclusion.
* Update the javascript diff driver's function pattern.Arthur Schreiber2014-10-091-3/+3
|
* userdiff: update ada patternsjk/userdiff-ccJeff King2014-04-081-2/+2
| | | | | | | | This is the moral equivalent of git/git@39a87a29ce364ed3337e535adce5973731ba2968 from Adrian Johnson <ajohnson@redneon.com>.
* userdiff: update C/C++ patternsJeff King2014-04-081-7/+5
| | | | | | | | | | | | This pulls upstream changes from: git/git@8a2e8da367f7175465118510b474ad365161d6b1 git/git@abf8f9860248d8c213600974742f18dadaa8fbb5 git/git@407e07f2a6f55e605fda9e90cb622887269f68b5 all by Johannes Sixt <j6t@kdbg.org>.
* Some fixes for Windows x64 warningsRussell Belfer2014-01-301-3/+3
|
* Add PHP tests and fix bug in PHP builtin driverRussell Belfer2014-01-271-1/+1
|
* Update Javascript userdiff driver and testsRussell Belfer2014-01-271-3/+3
| | | | | | | | | Writing a sample Javascript driver pointed out some extra whitespace handling that needed to be done in the diff driver. This adds some tests with some sample javascript code that I pulled off of GitHub just to see what would happen. Also, to clean up the userdiff test data, I did a "git gc" and packed up the test objects.
* Got permission from Gustaf for userdiff patternsRussell Belfer2014-01-271-0/+4
|
* Add PHP and Javascript diff driversRussell Belfer2014-01-241-0/+16
| | | | | | | Since I don't have permission yet on the code from Git, I decided I'd take a stab at writing patterns for PHP and Javascript myself. I think these are pretty weak, but probably better than the default behavior without them.
* Permission for Git code from a couple moreRussell Belfer2014-01-241-0/+26
| | | | This brings over the Pascal and CSharp userdiff data.
* Got some permission to use userdiff patternsRussell Belfer2014-01-241-0/+164
I contacted a number of Git authors and lined up their permission to relicense their work for use in libgit2 and copied over their code for diff driver xfuncname patterns. At this point, the code I've copied is taken verbatim from core Git although Thomas Rast warned me that the C++ patterns, at least, really need an update. I've left off patterns where I don't feel like I have permission at this point until I hear from more authors.