Commit graph

6 commits

Author SHA1 Message Date
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
mef
44561fcb7d (devel/cloc) Add missing DEPENDS (p5-Parallel-ForkManager) 2019-05-13 13:58:53 +00:00
wiz
9bd737fe76 Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
ginsbach
b96007bdc4 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)
2018-05-29 02:56:49 +00:00
wiedi
31daaf1bc1 Fix at least SunOS by not overwriting "install" 2017-07-05 19:22:04 +00:00
markd
7e79cf13c2 Add cloc 1.72
cloc counts blank lines, comment lines, and physical lines of source
code in many programming languages, with the following features:

  * Reads user-supplied language comment definition files
  * Allows results from multiple runs to be summed together by
    language and by project.
  * Produces results in a variety of formats: plain text, XML, YAML,
    CSV.
  * Counts code within compressed archives (tarballs, Zip files, Java
    .ear files).
  * Has numerous troubleshooting options.
  * Handles file and directory names with spaces and other unusual
    characters.
2017-04-23 03:29:00 +00:00