Path to this page:
Subject: CVS commit: pkgsrc/devel/cloc
From: Brian Ginsbach
Date: 2018-05-29 04:56:49
Message id: 20180529025649.C3B8AFBEB@cvs.NetBSD.org
Log Message:
Update to 1.76
New Languages:
o Agda o AsciiDoc o BrightScript o Chapel
o Cucumber o Drools o F# Script o Fish Shell
o Gencat NLS o GraphQL o HCL o Idris
o Lean o Literate Idris o Oracle PL/SQL o PL/M
o ProGuard o RAML o SWIG o Skylark
o Smalltalk o Solidity o Stata o TOML
Updates:
o Performance improvement by using multiple cores for both
straight counts and --diff via the new --processes option
added by Sietse Snel, https://github.com/stsnel.
o Support --git on Windows.
o Improve identification of Qt Project files (instead of IDL).
o Fix language determination logic so that languages that map
to the same file extension and have ties in the number of
accumulated points always return the same result.
o Add support for replace_between_regex in --write_lang_def and
--read_lang_def.
o Add SUM section to JSON, YAML output with --diff.
o Make numeric values in JSON output numbers instead of strings.
o Optionally exclude autogenerated files with new --no-autogen
(currently only supports the Go language).
o New option, --git, to allow git commit hashes and branch
names as inputs (issue 205).
o Add .asd extension for Lisp.
o Add .snapshot to the list of excluded directories.
o New option --no-autogen to ignore files generated
by code production systems like GNU autoconf.
o Rename "ASP.Net" to "ASP.NET".
o Improvements to Specman e parsing (issue 175).
o Support uppercase CPP extension (issue 177).
o Support triple extensions.
o Improve language distinction between C# and Smalltalk (issue 160).
o Consider Elixir docs as comments.
o Handle Python docstrings made with single quotes.
o Replace built-in "is it a file?" and "is it a directory?"
with native Perl -f and -d operators (these were unreliable
on older versions of Perl on Windows).
o Put timeout around Regexp::Common regex evaluation to prevent
hangs on unbalanced comment markers within huge strings (issue 206).
o Fix Pascal regex wiht '{' for Perl version >= 5.26 (issue 209)
and '(*', '*)' comment matching (issue 212).
o Rename Antlr to ANTLR Grammar.
o Add .g4 extension fo ANTLR Grammar.
o Replace soon-to-be deprecated File::Glob::glob() with
File::Glob::bsd_glob() (issue 214).
o Revert from charset=iso-8859-1 to charset=utf-8 on undocumented
--html option.
o For Assembly, process # comments before C++ comments.
Bug Fixes:
o Remove temp directory prefix for YAML and JSON output when
counting git archives with --by-file.
o Properly handle git files with spaces embedded in the file name.
o Remove a debug regex inadvertently included in v1.74.
o Correct handling of remove_between_general and
remove_between_regex when running with --read-lang-def (issue 166)
o Fix bug handling balanced parentheses in Forth (issue 183)
o Force legal output filenames with --count-and-diff and --out
(issue #220).
(from cloc-1.76/Unix/NEWS)
Files: