summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 7HEADautotab-7masterKaz Kylheku2022-03-041-3/+5
| | | | | | | | - Copyright year bump - The tabsize is now set equal to shiftwidth when expandtabs is true, so that the Tab key in Vim produces shiftwidth spacing, not 8 spaces.
* Version 6.autotab-6Kaz Kylheku2020-01-261-2/+2
|
* Fix signed/unsigned comparison warnings.Kaz Kylheku2020-01-261-3/+3
| | | | | | | | | | | | | | | | | These show up when compiled with -Wall -W options of gcc. Note: the code captures the return values of strlen and strspn in signed variables of type long on purpose, so that some of the arithmetic and comparisons are done sanely around zero. We don't expect the values to go anywhere near 32 or 64 bit wraparound limits; the casts will never produce a negative value in any reasonable use of the program. In this patch we make that more consistent: a couple of lengths were captured in size_t variables; now they are long. One remaining signed/unsigned comparison warning is squelched with a cast.
* Remove unused parameter in compute_alignment_score.Kaz Kylheku2020-01-261-2/+2
| | | | Reported by Stan Marsh.
* Add BSD 2-Clause license.Kaz Kylheku2016-11-031-0/+23
|
* Version 5.autotab-5Kaz Kylheku2016-03-251-6/+17
| | | | | Support --version option. Put in correct copyright. Change e-mail address to kylheku.com.
* Don't pass negative value to <ctype.h> functions.Kaz Kylheku2016-03-231-2/+2
|
* Bump version to 004. Remove dead code and trailing spaces.Kaz Kylheku2014-12-171-37/+12
|
* Smarter decision about setting up expandtab.Kaz Kylheku2014-12-171-2/+39
| | | | | Previously we assumed hard tabs upon finding just one hard tab in the file.
* Fix copyright date, and e-mail address.Kaz Kylheku2012-01-161-2/+2
|
* autotab goes into c-snippets repo.Kaz Kylheku2012-01-161-0/+742