From cb03f19cab5d86624bef010fbde5749017ff1d9c Mon Sep 17 00:00:00 2001 From: AlDanial Date: Sun, 18 Dec 2022 14:33:54 -0800 Subject: [PATCH] v1.96 --- README.md | 19 +++++++++++++++++-- Unix/NEWS | 33 +++++++++++++++++++++++++++++++++ Unix/cloc | 2 +- Unix/cloc.1.pod | 4 ++-- cloc | 2 +- 5 files changed, 54 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e5f993fb..2392c15b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ * * * cloc counts blank lines, comment lines, and physical lines of source code in many programming languages. -Latest release: v1.94 (July 4, 2022) +Latest release: v1.96 (Dec. 18, 2022) @@ -428,6 +428,9 @@ executable and also check sites such https://www.virustotal.com/ . The entries for recent versions are: +cloc-1.96.exe: +https://www.virustotal.com/gui/file/54bf5f46fbaba7949c4eb2d4837b03c774c0ba587448a5bad9b8efc0222b1583?nocache=1 + cloc-1.94.exe: https://www.virustotal.com/gui/file/b48a6002fb75fa66ec5d0c05a5c4d51f2ad22b5b025b7eb4e3945d18419c0952?nocache=1 @@ -1059,9 +1062,12 @@ C# (cs) C# Designer (designer.cs) C++ (C, c++, cc, CPP, cpp, cxx, h++, inl, ipp, pcc, tcc, tpp) C/C++ Header (H, h, hh, hpp, hxx) +Cairo (cairo) Cake Build Script (cake) +Carbon (carbon) CCS (ccs) Chapel (chpl) +Circom (circom) Clean (dcl, icl) Clojure (boot, cl2, clj, cljs.hl, cljscm, cljx, hic, riemann.config) ClojureC (cljc) @@ -1071,6 +1077,7 @@ COBOL (CBL, cbl, ccp, COB, cob, cobol, cpy) CoffeeScript (_coffee, cakefile, cjsx, coffee, iced) ColdFusion (cfm, cfml) ColdFusion CFScript (cfc) +Containerfile (Containerfile) Coq (v) Crystal (cr) CSON (cson) @@ -1138,6 +1145,7 @@ Haskell (hs, hsc, lhs) Haxe (hx, hxsl) HCL (hcl, nomad, tf, tfvars) HLSL (cg, cginc, fxh, hlsl, hlsli, shader) +HolyC (HC) Hoon (hoon) HTML (htm, html, html.hl, xht) HTML EEx (heex) @@ -1160,10 +1168,10 @@ JSX (jsx) Julia (jl) Juniper Junos (junos) Jupyter Notebook (ipynb) -kvlang (kv) Kermit (ksc) Korn Shell (ksh) Kotlin (kt, ktm, kts) +kvlang (kv) Lean (hlean, lean) Lem (lem) LESS (less) @@ -1197,14 +1205,17 @@ NASTRAN DMAP (dmap) Nemerle (n) Nim (nim, nim.cfg, nimble, nimrod, nims) Nix (nix) +Nunjucks (njk) Objective-C (m) Objective-C++ (mm) OCaml (eliom, eliomi, ml, ml4, mli, mll, mly) Odin (odin) OpenCL (cl) +OpenSCAD (scad) Oracle Forms (fmt) Oracle PL/SQL (bod, fnc, prc, spc, trg) Oracle Reports (rex) +P4 (p4) Pascal (dpr, lpr, p, pas, pascal) Pascal/Puppet (pp) Patran Command Language (pcl, ses) @@ -1212,6 +1223,7 @@ PEG (peg) peg.js (pegjs) peggy (peggy) Perl (ack, al, cpanfile, makefile.pl, perl, ph, plh, plx, pm, psgi, rexfile, pl, p6) +Pest (pest) PHP (aw, ctp, phakefile, php, php3, php4, php5, php_cs, php_cs.dist, phps, phpt, phtml) PHP/Pascal (inc) Pig Latin (pig) @@ -1219,6 +1231,7 @@ PL/I (pl1) PL/M (lit, plm) PlantUML (puml) PO File (po) +Pony (pony) PowerBuilder (pbt, sra, srf, srm, srs, sru, srw) PowerShell (ps1, psd1, psm1) ProGuard (pro) @@ -1281,6 +1294,7 @@ Swift (swift) SWIG (i) TableGen (td) Tcl/Tk (itk, tcl, tk) +TEAL (teal) Teamcenter met (met) Teamcenter mth (mth) TeX (aux, bbx, bib, bst, cbx, dtx, ins, lbx, ltx, mkii, mkiv, mkvi, sty, tex, cls) @@ -1314,6 +1328,7 @@ Visualforce Page (page) Vuejs Component (vue) Web Services Description (wsdl) WebAssembly (wast, wat) +WGSL (wgsl) Windows Message File (mc) Windows Module Definition (def) Windows Resource File (rc, rc2) diff --git a/Unix/NEWS b/Unix/NEWS index 36b32e5e..a7df1d94 100644 --- a/Unix/NEWS +++ b/Unix/NEWS @@ -1,3 +1,36 @@ + Release Notes for cloc version 1.96 + https://github.com/AlDanial/cloc + Dec. 18, 2022 + +New Languages and File Types: + o Cairo + o Carbon + o Circom + o Containerfile + o HolyC + o kvlang + o Nunjucks + o OpenSCAD + o P4 + o Pest + o Pony + o TEAL + o WGSL + +Updates: + o New switch --diff-list-files to run diff given two list + files. + o Handle comments embedded in OCaml strings. + o Write empty JSON and XML structures if the inputs yield zero + counts. + o Including Win32::LongPath to support long paths on Windows. + o Better support for building and running Docker image on Windows + o Better output file names when running with --count-and-diff + and --out. + o Resolve internal file handle conflict when running --diff with + --sdir or --categorized. + +============================================================================ Release Notes for cloc version 1.94 https://github.com/AlDanial/cloc July 4, 2022 diff --git a/Unix/cloc b/Unix/cloc index b6eba617..65a173ce 100755 --- a/Unix/cloc +++ b/Unix/cloc @@ -29,7 +29,7 @@ # . # # 1}}} -my $VERSION = "1.95"; # odd number == beta; even number == stable +my $VERSION = "1.96"; # odd number == beta; even number == stable my $URL = "github.com/AlDanial/cloc"; # 'https://' pushes header too wide require 5.10.0; # use modules {{{1 diff --git a/Unix/cloc.1.pod b/Unix/cloc.1.pod index 17c89371..b0d1cc3d 100644 --- a/Unix/cloc.1.pod +++ b/Unix/cloc.1.pod @@ -1,6 +1,6 @@ # Copyright # -# Copyright (C) 2018-2021 Al Danial . +# Copyright (C) 2018-2022 Al Danial . # Copyright (C) 2010-2017 Jari Aalto # # License @@ -846,7 +846,7 @@ sloccount(1) =head1 AUTHORS The cloc program was written by Al Danial and -is Copyright (C) 2006-2021 . +is Copyright (C) 2006-2022 . The manual page was originally written by Jari Aalto . diff --git a/cloc b/cloc index 4bcd293b..1656cd90 100755 --- a/cloc +++ b/cloc @@ -29,7 +29,7 @@ # . # # 1}}} -my $VERSION = "1.95"; # odd number == beta; even number == stable +my $VERSION = "1.96"; # odd number == beta; even number == stable my $URL = "github.com/AlDanial/cloc"; # 'https://' pushes header too wide require 5.10.0; # use modules {{{1