pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cloc (devel/cloc) Updated 1.76 to 1.84



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fbd328db187d
branches:  trunk
changeset: 405088:fbd328db187d
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Nov 23 07:17:59 2019 +0000

description:
(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

diffstat:

 devel/cloc/Makefile |   7 ++-----
 devel/cloc/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r fc6c5d5388f9 -r fbd328db187d devel/cloc/Makefile
--- a/devel/cloc/Makefile       Sat Nov 23 07:08:29 2019 +0000
+++ b/devel/cloc/Makefile       Sat Nov 23 07:17:59 2019 +0000
@@ -1,11 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2019/08/11 13:18:39 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2019/11/23 07:17:59 mef Exp $
 
-DISTNAME=      cloc-1.76
-PKGREVISION=   2
+DISTNAME=      cloc-1.84
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=AlDanial/}
-GITHUB_PROJECT=        cloc
-GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/AlDanial/cloc
diff -r fc6c5d5388f9 -r fbd328db187d devel/cloc/distinfo
--- a/devel/cloc/distinfo       Sat Nov 23 07:08:29 2019 +0000
+++ b/devel/cloc/distinfo       Sat Nov 23 07:17:59 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2018/05/29 02:56:49 ginsbach Exp $
+$NetBSD: distinfo,v 1.4 2019/11/23 07:17:59 mef Exp $
 
-SHA1 (cloc-1.76.tar.gz) = 30a8673e837a940888df4f58dc4f6e8f6c5d0245
-RMD160 (cloc-1.76.tar.gz) = 75c3117a507c00a92728aef031ce4044e0279fc3
-SHA512 (cloc-1.76.tar.gz) = 3f16f084be1828557e4120a8e41b276336ac240c5de4dc765066277d848ce9af20f31b36ec4beb863066d8b3e9287ea0e0b2a8f1abd15532957f53d2d3935ecd
-Size (cloc-1.76.tar.gz) = 419678 bytes
+SHA1 (cloc-1.84.tar.gz) = a22231bdd7fa889dbd93a3694ea79a942bd7e899
+RMD160 (cloc-1.84.tar.gz) = 670bca5cce6de56da22e646aee4c10f4028e04ae
+SHA512 (cloc-1.84.tar.gz) = 85f8af041b0ca858c21e28d3fb7cd9201264afa9e12bd3a14b15a8af3e6e68378dbb02a39dc12140bcbb104424cf38bfa602d2a0683e8c89fa50cbdcf7556b3a
+Size (cloc-1.84.tar.gz) = 514868 bytes
 SHA1 (patch-Unix_Makefile) = b797a50124177380837d00ff72dd119c508c87c3



Home | Main Index | Thread Index | Old Index