Path to this page:
Subject: CVS commit: pkgsrc/devel/cloc
From: Makoto Fujiwara
Date: 2019-11-23 08:17:59
Message id: 20191123071759.F2765FA97@cvs.NetBSD.org
Log Message:
(devel/cloc) Updated 1.76 to 1.84
(from Unix/NEWS)
============================================================================
Release Notes for cloc version 1.84
https://github.com/AlDanial/cloc
September 22, 2019
New Languages and File Types:
o APL
o Apache Thrift
o Imba
o IPL
o SaltStack
Updates:
o Improved handling of --git --diff
o Add .podspec as a Ruby file extension.
o New switch, --stat, to force a stat check of
directories. This enables traversal of directory
types whose nlink count does not match the count
of subdirectories (examples: CD-ROM, FAT, AFS).
o Force stat on top level directories. This is
companion logic to the new --stat switch.
o Add file extensions defined by the Linguist project.
o New switch, --exclude-content, to exclude files if
any of their lines match a regex.
o New switch, --timeout, to give control over timeouts
on direct counts (as opposed to diff timeouts).
o On Windows, lower batch size on git archive
commands to 100 files (the value is 1,000 on *nix).
o Better identification of Smarty .tpl template files.
Bug Fixes:
o On Windows, use double quotes for git archive entries.
o On Windows, double slash path separators with --by-file
and JSON output.
o On Windows, replace / with \\ in results only when
running with --by-file.
o Fix header line metrics for files/sec and lines/sec
when doing --diff.
o Python: handle cases of /* or */ embedded in strings
(this conflicted with internal logic which replaced
docstring triple quotes with C comments).
o Fix mishandling of --exclude-dir with --follow-link.
o Fix doubly-counted #! line
o Support --hide-rate with csv output.
============================================================================
Release Notes for cloc version 1.82
https://github.com/AlDanial/cloc
May 3, 2019
New Languages and File Types:
o Apex Class
o DIET
o Fennel
o FXML
o Jupyter notebook files (.ipynb)
o Python wheel files (.whl)
o SVG
o reStructuredText
Updates:
o Handle backslashed quotes in strings to improve --strip-str-comments
logic.
o Improve Perl v. Prolog identification.
o New switch --docstring-as-code to count Python docstrings as code.
o Partial support fot Lua nested comments.
o Renamed Skylark to Starlark.
o Modified Java filter to try to handle embedded comments better.
o Recognize groovy as one of the #! languages.
o Add .pyw as a file extension for Python.
o Update comment definitions for Velocity Template Language.
o Override file alignment logic with --diff when only two files are
given.
o Identify TeX v. Visual Basic for .cls file extension.
o Include result summation line with --csv output.
o Support --csv, --json, --md, --xml, --yaml output types for the
--ignored debug file.
o Force IO encoding to allow wider Unicode characters for creating
Windows exe's with PAR::Packer
============================================================================
Release Notes for cloc version 1.80
https://github.com/AlDanial/cloc
Oct. 5, 2018
This is a bug-fix release to solve mis-handling of git inputs for
straight counts in 1.78 (--git --diff works ok in 1.78),
https://github.com/AlDanial/cloc/issues/328.
New Languages:
o ReasonML
Updates:
o New SQL output style option with "--sql-style Named_Columns". This
includes the table "t" column names in each insert statement.
o New option --file-encoding to create all output files using the
given file encoding (for example "--file-encoding
o Add escript as script language for Erlang.
o Improved handling of custom Smarty definitions through
--read-lang-def.
o Better diff logic when comparing two files.
o Faster program start on the Unix-tuned version of cloc when
multiple processors are not used.
============================================================================
Release Notes for cloc version 1.78
https://github.com/AlDanial/cloc
Sept. 7, 2018
New Languages:
o EJS
o Gradle
o Igor Pro
o JSON5
o Nix
o R Markdown
o SparForte
o Xtend
Updates:
o Interpret "--diff-timeout 0" as allowing unlimited time to compute
diffs.
o Add .inl extension for C++
o Improve language rules for Assembly and JCL.
o Better handling of OCaml comments (don't just use Pascal rules).
o Handle unusual file names with --use-sloccount.
o Remove GNU grep specific -P option with --use-sloccount (fall back
to simpler BSD grep options).
o Handle OCaml nested comments.
o Remove debug print statement for counts of Rmd (R markdown) files.
o New switch --include-ext to only count files with the given extension.
o New switch --config to load command line switches from a file.
o New switch --hide-rate to suppress header line (makes the output
deterministic).
o Skip header line when combining diff reports.
o Allow any number (including just one) of diff reports to be summed.
o Exit early if --diff arguments are the same.
o New switch --strip-str-comments to (try to) avoid 'Complex regular
subexpression recursion limit' warning.
o Run cleanly under Perl 5.28 and 5.32 by backslashing braces in regex.
o Suppord Idris block comments.
o Set UTF-8 encoding on XML and XSL files generated by cloc.
o New switch --write-lang-def-incl-dup to include files with extension
collisions (but should be used with care because the resulting language
definition file will be rejected by cloc until all collisions have been
resolved).
Bug Fixes:
o Correctly handle --not-match-d and --follow-links together.
o Fix --git --diff handling of large file sets.
o Remove \$ from git pathspec filename-cleansing regex as git already
handles such filename mangling
o Remove debug die() invocation in make_file_list().
o Fix improperly formatted JSON emitted with --by-file-by-lang.
o Improve accuracy of C#/Smalltalk disambuguator (was biased toward
counting .cs files as Smalltalk).
o Improve accuracy of TypeScript/Qt Linguist disambuguator.
o More robust YAML output by quoting file and language names.
o Handle more unusual file names with --git --diff
Files: