Skip to content

Releases: jleffler/scc-snapshots

Release 8.0.3 of SCC dated 2022-05-30

30 May 21:34
Compare
Choose a tag to compare

A packaging snafu left SCC reporting the wrong version.
Add an explicit GPL 3.0 licence file (as COPYING).

Release 8.0.2 of SCC dated 2022-05-30

30 May 02:39
Compare
Choose a tag to compare

A bug fix release, dealing with GitHub issue 2, a bug in the handling of
regular strings (and also character constants) reported by Oleg
Skinderev.

Release 8.0.1 of SCC dated 2022-05-21

22 May 04:29
Compare
Choose a tag to compare

Version 8.0.1 is primarily a bug fix release, dealing with issue 1, a bug in C++ 'raw string' handling reported by Oleg Skinderev via GitHub.

However, prior to that, 'internal' releases 7.00 (2018-11-1), 7.10 (2018-11-12), 7.20 (2018-11-21), 7.30 (2019-01-27), 7.40 (2019-05-01) 7.50 (2020-03-03), 7.80.0 (2022-01-06) and 8.0.0 (2022-04-07) had been created. These versions are not directly reflected in this Git repository, but the changes are present in 8.0.1.

By default, SCC now strips trailing blanks; use the -t option to keep them. It no longer reports "bogus number" for 08 because that is a valid preprocessing number, even though it isn't a valid octal constant. The -f (features) option lists the features and exits (rather than trying to process a file too). The version numbering was changed to 'semantic versioning' (https://semver.org/) and is now managed independently of the RCS file version numbers (which is still used to manage the 'internal releases').

Release 6.80 of SCC dated 2017-10-26

26 Oct 23:04
Compare
Choose a tag to compare

Primary change is the use of rcskwcmp script to compare files during testing. The code was needed on a machine running RHEL 5.3, and Bash 3.2.25(1) on the machine does not support process substitution. There was no code change in main SCC program.

The chksumtool.pl script allows you to validate the release against the checksum files scc-6.80.sum and scc-6.80.sha. Sample usage:

perl chksumtool.pl -q -v -s scc-6.80.sum

It should report OK. You can drop the -q (quiet) option to see what it is checking.

Release 6.70 of SCC dated 2017-10-17

22 Oct 05:37
Compare
Choose a tag to compare

One primary change is to add -e option to replace comments with empty comments, either /* */ or // (with nothing after it except the newline). This makes some forms of analysis easier (and also means there isn't trailing blanks in the output unless there were trailing blanks in the input.

The other primary change affects the output from -c (print comments instead of code); newlines are preserved in appropriate locations, so that comments on separate lines are printed on separate lines. This makes the output easier to read.

One minor change is that the 'feature' names were changed and made more systematic.

Release 6.60 of SCC dated 2016-06-12

19 Jan 05:46
Compare
Choose a tag to compare

Primary change over 6.50 was to add the correct makefile for distribution builds.

Note that if you have an executable scc-5.05 in the current directory, the make test target will run some comparisons between SCC 5.05 and SCC 6.60.

There is no install target in the makefile.

Release 5.05 of SCC dated 2012-01-23

19 Jan 04:47
Compare
Choose a tag to compare

Major extension of functionality — new options.

Usage: scc [-chnwCV][-s rep][-q rep] [file ...]

Options:

  • -c — Print comments and not the code
  • -h — Print this help and exit
  • -n — Keep newlines in comments
  • -s rep — Replace the body of string literals with rep (a single character)
  • -q rep — Replace the body of character literals with rep (a single character)
  • -w — Warn about nested C-style comments
  • -C — Do not recognize C++/C99 style (//) comments
  • -V — Print version information and exit

Note that the sense of the -C flag changed between versions 4.03 and 4.04 and version 5.05.

The -s and -q options make analysis of C code simpler; you don't have to worry about false positives in the middle of character strings or character literals.

Release 4.04 of SCC dated 2008-11-27

19 Jan 04:35
Compare
Choose a tag to compare

Minor bug-fix release — no substantive changes.

Release 4.03 of SCC dated 2008-06-07

19 Jan 04:24
Compare
Choose a tag to compare

Bare bones C and C++ (optionally) comment stripping.

Options:

  • -w — warn about nested C comments
  • -C — strip C99 or C++ //-to-EOL comments
  • -V — report version and exit

Code written with tabs, not spaces.

Pre-release 6.50 of SCC dated 2016-06-12

19 Jan 05:34
Compare
Choose a tag to compare

This is a pre-release primarily because the makefile is the development makefile that references code libraries that are not installed on most people's machines.

Usage and options are basically unchanged from release 6.16 except that C++17 is also recognized as a standard.

The code handles character strings with prefixes such as L, U, u and u8, and the raw string equivalents (R, LR, UR, uR and u8R). It also handles hexadecimal floats. It more or less recognizes C++17 — there could be omissions from that version in particular.