summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-06cocci: Utility script to embed a coccinelle semantic patch in a commit messageHEADmasterAndrea Canciani1-0/+10
The script assumes that the first line of the semantic patch is a comment which indicates the first line of the commit message.
2011-08-06cocci: Add script to enforce the malloc usage as per cairo/CODING_STYLEAndrea Canciani1-0/+27
cairo CODING_STYLE guidelines require checking the argument of malloc for overflow and provide some utilities for common usage patterns such as (a*b), (a*b*c) and (a*b+c). Automatically replace malloc invocation of these expressions with the overflow-safe version.
2011-08-06cocci: Add script to remove unneeded checks for NULLAndrea Canciani1-0/+26
NULL can be safely free()'d, but often code checks if a pointer is non-NULL before free()'ing it. These checks can be automatically detected and removed.
2011-08-06sed: Add script to enforce whitespace guidelinesAndrea Canciani1-0/+53
Add a script which cleans up trailing whitespace and normalizes tabs and spaces in code lines.
2011-08-06Initial commitAndrea Canciani1-0/+1