Skip to content

Release v3.0.0

Latest

Choose a tag to compare

@delphidabbler delphidabbler released this 24 Sep 19:14

Downloads

CompFileDate is available for Windows (32 & 64 bit) and Linux (64 bit only) platforms. 32 bit Linux is not supported.

Builds for each target platform can be downloaded in both zip and tar/gzip archives from the Assets section below. Each download file contains the executable program along with a few documentation files.

The download file names contain text that identifies their target OS. Make sure you download the correct one for your operating system.

See ReadMe.txt included in each download for details of how to install and use the program.

The Assets section also provides the full source code, compressed in both zip and tar/gzip format.

Changes

New major release. Breaking changes are marked ⚠️.

  • Renamed the --followshortcuts and --datetype commands as --follow-shortcuts and --date-type, respectively. The un-hyphenated commands were removed ⚠️.
  • Added new --local-time (or -l) option that causes dates to be reported in local time instead of the default UTC [issue #43].
  • Added new --iso-dates or (-i) option to enable dates to be displayed in ISO-8601 date format instead of using the date format of the user's own locale [issue #43].
  • Added new --extra-verbose (or -x or -vv) option that reports file date comparisons in greater detail than when just the --version (or -v) commmand is used [issue #38]. This option causes the file dates being examined to be displayed on standard output. By default the file dates are reported in UTC and in the format specified by the user's current locale. Both defaults can be overridden by the --local-time and --iso-dates formats, respectively.
  • Added new --follow-symlinks (or -S or -sy) option to enable symlinks to be followed on both Windows and Linux [#issue #46].
  • Added new --follow-all-links (or -ss) option on Windows only. This option causes both symlinks and shell links to be expanded. This is the same as specifying both the --follow-shortcuts and --follow-symlinks options. The command results in an error on Linux.
  • Added new -sh alias for the --follow-shortcuts (or -s-) command on Windows only.
  • The deprecated values c, created and creation of the --date-type command now trigger an error, instead of a warning, if used with the Linux build [issue #50] ⚠️.
  • Changed handling of the --follow-shortcuts on command Linux. It now causes an normal unsupported command error instead of a special error message that explained that the command was Windows only.
  • Updated accuracy of date extraction and comparison code. Dates are now read from files in the maximum accuracy supported by the underlying OS.
  • Fixed bug in processing --xxx=yyy format commands where --xxx=yyy and --xxxabc=yyy were treated as the same command [issue #45].
  • Fixed bug that occured when parsing commands containing punctuation. The valid -? alias for the --help option previously caused an assertion failure and now works as expected. Invalid options such as -: now raise EApplication exceptions, as expected, instead of causing assertion failures [issue #49].
  • Fixed bug in Deploy.bat that was failing to convert line endings in bundled text files from Windows CRLF to Unix LF format when packaging the Linux 64 release.
  • Updated supported error codes. Unused codes 105 & 107 were removed and new error code 110 ("Can''t access file X") was introduced.
  • Updated the program to compile with Delphi 13.2 [issue #51].
  • A significant amount of code was refactored, heavily overhauled or rewritten.
  • Removed unused code and declarations.
  • Updated documentation:
    • The help text in UMain.pas and the usage section of Docs/ReadMe.txt were updated re the new and removed options and related values.
    • Docs/ReadMe.txt and Build.txt were updated re changes in this release, clarified and corrected.
    • Updated and corrected comments in various source code files.
    • Fixed formatting error in README.md.
    • Fixed minor error in CHANGELOG.md.