Skip to content

Commit a4f9037

Browse files
committed
v1.88
1 parent 6b6e2bc commit a4f9037

File tree

4 files changed

+53
-17
lines changed

4 files changed

+53
-17
lines changed

README.md

+20-13
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* * *
66
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
77

8-
Latest release: v1.86 (May 18, 2020)
8+
Latest release: v1.88 (Sept. 12, 2020)
99

1010
cloc moved to GitHub in September 2015 after being hosted
1111
at http://cloc.sourceforge.net/ since August 2006.
@@ -57,8 +57,8 @@ Step 3: Invoke cloc to count your source files, directories, archives,
5757
or git commits.
5858
The executable name differs depending on whether you use the
5959
development source version (`cloc`), source for a
60-
released version (`cloc-1.86.pl`) or a Windows executable
61-
(`cloc-1.86.exe`). On this page, `cloc` is the generic term
60+
released version (`cloc-1.88.pl`) or a Windows executable
61+
(`cloc-1.88.exe`). On this page, `cloc` is the generic term
6262
used to refer to any of these.
6363

6464
**a file**
@@ -364,25 +364,23 @@ and Digest::MD5 installed locally.
364364
# [Building a Windows Executable ▲](#___top "click to go to top of document")
365365

366366
The Windows downloads
367-
<tt>cloc-1.86.exe</tt> was built on a 64 bit Windows 10 virtual machine
368-
downloaded from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
367+
<tt>cloc-1.88.exe</tt> was built on a 64 bit Windows 10 computer
369368
using
370369
[Strawberry Perl](http://strawberryperl.com/)
371370
5.30.2 and
372-
[PAR::Packer](http://search.cpan.org/~rschupp/PAR-Packer-1.019/lib/pp.pm)
371+
[PAR::Packer](http://search.cpan.org/~rschupp/PAR-Packer-1.050/lib/pp.pm)
373372
to build the `.exe`.
374373

375-
Releases 1.74 through 1.84
374+
Release 1.86 was built on a 64 bit Windows 10 virtual machine
375+
downloaded from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/;
376+
releases 1.74 through 1.84
376377
were was built on a 32 bit Windows 7 virtual machine
377378
using Strawberry Perl 5.26.1.1, while
378379
1.70 and 1.72 were built with Strawberry Perl 5.24.0.1
379380
on an Amazon Web Services t2.micro instance running Microsoft Windows Server 2008
380381
(32 bit for 1.70 and 1.72; 64 bit for 1.74).
381-
382-
The <tt>cloc-1.66.exe</tt> executable was built
383-
on a 32 bit Windows 7 VirtualBox image.
384-
Windows executables of cloc versions
385-
1.60 and earlier were built with
382+
Release 1.66 was built on a 32 bit Windows 7 VirtualBox image.
383+
Windows executables of cloc versions 1.60 and earlier were built with
386384
[perl2exe](http://www.indigostar.com/perl2exe.htm) on a 32 bit Windows
387385
XP computer. A small modification was made to the cloc source code
388386
before passing it to perl2exe; lines 87 and 88 were uncommented:
@@ -409,6 +407,9 @@ executable and also check sites such
409407
https://www.virustotal.com/ .
410408
The entries for recent versions are:
411409

410+
cloc-1.88.exe:
411+
https://www.virustotal.com/gui/file/97d5d2631d1cccdbfd99267ab8a4cf5968816bbe52c0f9324e72e768857f642d/detection
412+
412413
cloc-1.86.exe:
413414
https://www.virustotal.com/gui/file/1b2e189df1834411b34534db446330d1c379b4bc008af3042ee9ade818c6a1c8/detection
414415

@@ -1050,6 +1051,7 @@ Java (java)
10501051
JavaScript (_js, bones, es6, jake, jakefile, js, jsb, jscad, jsfl, jsm, jss, mjs, njs, pac, sjs, ssjs, xsjs, xsjslib)
10511052
JavaServer Faces (jsf)
10521053
JCL (jcl)
1054+
Jinja Template (jinja, jinja2)
10531055
JSON (arcconfig, avsc, composer.lock, geojson, gltf, har, htmlhintrc, json, json-tmlanguage, jsonl, mcmeta, mcmod.info, tern-config, tern-project, tfstate, tfstate.backup, topojson, watchmanconfig, webapp, webmanifest, yyp)
10541056
JSON5 (json5)
10551057
JSP (jsp, jspf)
@@ -1068,6 +1070,7 @@ Lisp (asd, el, lisp, lsp, cl, jl)
10681070
Literate Idris (lidr)
10691071
LiveLink OScript (oscript)
10701072
LLVM IR (ll)
1073+
Logos (x, xm)
10711074
Logtalk (lgt, logtalk)
10721075
Lua (lua, nse, p8, pd_lua, rbxs, wlua)
10731076
m4 (ac, m4)
@@ -1079,6 +1082,7 @@ MATLAB (m)
10791082
Maven (pom, pom.xml)
10801083
Meson (meson.build)
10811084
Modula3 (i3, ig, m3, mg)
1085+
Mojo (mojom)
10821086
MSBuild script (csproj, vbproj, vcproj, wdproj, wixproj)
10831087
MUMPS (mps, m)
10841088
Mustache (mustache)
@@ -1091,6 +1095,7 @@ Nix (nix)
10911095
Objective-C (m)
10921096
Objective-C++ (mm)
10931097
OCaml (eliom, eliomi, ml, ml4, mli, mll, mly)
1098+
Odin (odin)
10941099
OpenCL (cl)
10951100
Oracle Forms (fmt)
10961101
Oracle PL/SQL (bod, fnc, prc, spc, trg)
@@ -1180,7 +1185,7 @@ Velocity Template Language (vm)
11801185
Verilog-SystemVerilog (sv, svh, v)
11811186
VHDL (VHD, vhd, VHDL, vhdl, vhf, vhi, vho, vhs, vht, vhw)
11821187
vim script (vim)
1183-
Visual Basic (bas, ctl, dsr, frm, frx, VB, vb, VBA, vba, vbhtml, VBS, vbs, cls)
1188+
Visual Basic (BAS, bas, ctl, dsr, frm, FRX, frx, VB, vb, VBA, vba, VBHTML, vbhtml, VBS, vbs, cls)
11841189
Visual Fox Pro (SCA, sca)
11851190
Visualforce Component (component)
11861191
Visualforce Page (page)
@@ -1192,6 +1197,8 @@ Windows Resource File (rc, rc2)
11921197
WiX include (wxi)
11931198
WiX source (wxs)
11941199
WiX string localization (wxl)
1200+
WXML (wxml)
1201+
WXSS (wxss)
11951202
XAML (xaml)
11961203
xBase (prg, prw)
11971204
xBase Header (ch)

Unix/NEWS

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
Release Notes for cloc version 1.88
2+
https://github.com/AlDanial/cloc
3+
Sept. 12, 2020
4+
5+
New Languages and File Types:
6+
o LLVM IR
7+
o Logos
8+
o Meson
9+
o Mojo
10+
o Odin
11+
o Jinja Templates
12+
o WXML
13+
o WXSS
14+
15+
Updates:
16+
o Support MATLAB block comments.
17+
o More flexible matching of git hashes.
18+
o Case insensitive diff file alignment on Windows.
19+
o Add .BAS as a Visual Basic extension
20+
o Rename Objective C to Objective-C
21+
22+
Bug Fixes:
23+
o Add missing Raku_or_Prolog() subroutine.
24+
o Handle UTF encoded list files (file given to --list-file).
25+
o Improved support for options parsing from config file.
26+
o Catch unidentified files via --diff-list-file.
27+
o Don't insert extra newlines when stripping with --unicode.
28+
29+
============================================================================
30+
Release Notes for cloc version 1.86
131
Release Notes for cloc version 1.86
232
https://github.com/AlDanial/cloc
333
May 17, 2020

Unix/cloc

+2-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# <http://www.gnu.org/licenses/gpl.txt>.
3030
#
3131
# 1}}}
32-
my $VERSION = "1.87"; # odd number == beta; even number == stable
32+
my $VERSION = "1.88"; # odd number == beta; even number == stable
3333
my $URL = "github.com/AlDanial/cloc"; # 'https://' pushes header too wide
3434
require 5.006;
3535
# use modules {{{1
@@ -5030,7 +5030,6 @@ sub make_file_list { # {{{1
50305030

50315031
my @dir_list = ();
50325032
foreach my $file_or_dir (@{$ra_arg_list}) {
5033-
#print "make_file_list file_or_dir=$file_or_dir\n";
50345033
my $size_in_bytes = 0;
50355034
if (!-r $file_or_dir) {
50365035
push @{$raa_errors}, [$rh_Err->{'Unable to read'} , $file_or_dir];
@@ -12964,7 +12963,7 @@ sub load_from_config_file { # {{{1
1296412963
else { ${$rs_v} = $4; }
1296512964
} elsif (!$has_script_lang and /^(?:script_lang|script-lang)(=|\s+)(.*?)$/) {
1296612965
push @{$ra_script_lang} , $2;
12967-
} elsif (!$has_force_lang and /^(?:force_lang|force-lang)(=|\s+)(.*?)$/) {
12966+
} elsif (!$has_force_lang and /^(?:force_lang|force-lang)(=|\s+)(.*?)$/) {
1296812967
push @{$ra_force_lang} , $2;
1296912968
} elsif (!defined ${$rs_show_ext} and /^(show_ext|show-ext)((=|\s+)(.*))?$/) {
1297012969
if (!defined $4) { ${$rs_show_ext} = 0; }

cloc

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# <http://www.gnu.org/licenses/gpl.txt>.
3030
#
3131
# 1}}}
32-
my $VERSION = "1.87"; # odd number == beta; even number == stable
32+
my $VERSION = "1.88"; # odd number == beta; even number == stable
3333
my $URL = "github.com/AlDanial/cloc"; # 'https://' pushes header too wide
3434
require 5.006;
3535
# use modules {{{1

0 commit comments

Comments
 (0)