1. ##### ### ## ### ######## ### ## ### ###TM
  2. ####### ####### ####### ######## ####### ####### #######
  3. ### ### ### ### ### ### ### ### ### ##
  4. ### ### ### ## ### ### ### ## ### ##
  5. ####### ####### ## ######## ### ####### ## ######
  6. ##### ### ## ######## ### ### ## ###
  7. ####
  8. checksum
  9. A no-nonsense hashing utility for windows..
  10. https://corz.org/windows/software/checksum/
  11. (c) corz.org 2005->
  12. itstory.. aka 'version history'.. aka 'changes'..
  13. [known bugs at the bottom]
  14. Key..
  15. * Fixes
  16. ~ Changes
  17. + New stuff
  18. ++ Requested New stuff
  19. NOTE: This file is stuffed with gems. As time allows, I transplant these into
  20. the main documentation, but there are currently many useful tips that
  21. exist /only/ here. Enjoy!
  22. 2.0.* [current release]
  23. ++ Added CRC32 hashing. Yes! This is some old-school shit. But more than
  24. one person has asked for this so when Muse Spark 1.3 came out this
  25. afternoon, for free on OpenCode, I figured it might be a great test.
  26. I'm impressed! The switch is "4", cuz we're running out! BUT, fans of
  27. old-school CRC32, or user of archives with many such hashes, checksum
  28. has finally come to your rescue. Also, CRC32 is pretty fast. So if you
  29. aren't running the latest SHA256-enabled hardware, and don't care much
  30. about Russian spies hacking your PC, it is a good and viable option.
  31. Again checksum is using one of Windows' built-in libraries, this time
  32. an undocumented okay, semi-documented feature of good 'ole ntdll.dll,
  33. which can do CRC32 if you know where to look, which my AI does.
  34. Voila! The radio checkboxes in checksum's options dialogs have been
  35. transformed into drop-downs. You know exactly what this means.
  36. Also, your DEADBEEF hashes can now be upgraded automatically to shiny
  37. new SHA256 hashes with checksum's hash upgrade option. Happy days!
  38. +~ checksum's options dialogs will now snap back to minimum size of you
  39. resize them too small. They will also remember your width setting for
  40. future runs, so you don't need to hack the ini to get a custom width.
  41. + File paths in checksum logs are now clickable links which will open the
  42. file's directory in the browser.
  43. 1.9.2.37
  44. ++ Language translations.
  45. checksum can now work in *any* language, including English, and ships
  46. with 74 language files, which should cover most of you. A shit-ton of
  47. work, this. We made a Python script to handle the actual translation
  48. files, which is to say, they are machine translations**. If anyone wants
  49. to improve my translations, please do! I'm only truly fluent in English.
  50. ** Not any more! See below.
  51. They won't be brilliant, but they should make checksum usable for non-
  52. English speaking folk; the subject of more than one email. ***
  53. And this isn't just dialogs and such, it's *everything*; both create and
  54. verify GUIs, custom dialogs and inputs, buttons, progress bar, tooltips,
  55. even RTL tooltips when the language works that way (Right-To-Left), so
  56. you can read the glorious mouseover help in the natural way. Other RTL
  57. elements are being added as I go along and where it's possible and makes
  58. sense.
  59. As well as all the other languages, you will notice there is also an
  60. en.ini. Over the 20+ years people have been emailing me about checksum,
  61. I've had quite a few mails along the lines of "that's a stupid name for
  62. a button", well now you can shut up!
  63. en.ini enables English-language users to customise ALL the text of the
  64. buttons, dialogs, messages, progress tip, you name it; in exactly the
  65. same way as you can with the "foreign" language files. If you want your
  66. button to read, "Make it so!", you can make it so!
  67. And I've written it in such a way that all you need to do to add a NEW
  68. language, and completely transform checksum /into/ that language is:
  69. Decide on a code for your language, e.g. "eg" (oh! That's clever!).
  70. "egg" would also work. As well as the xx_XX codes (e.g. en_US) if you
  71. want to add some regional languages. Anything is fine. We'll use "eg".
  72. 1) Create and add the ini file for the language, in "languages/eg.ini"
  73. 2) Set that code in checksum.ini:
  74. language=eg
  75. That's it. So long as the two match, the language will be displayed in
  76. all of checksum's dialogs and what-not. To prove how easy this is, I
  77. added Klingon (tlh), or I should say, I got my AI to do it. If someone
  78. wants to send me both kinds of Elven, I will definitely add them, too.
  79. I'm not confident in my AI's abilities with these tongues.
  80. I should add, I got three different Klingon translations, and they are
  81. each quite different from the other. I don't speak Klingon, so I have no
  82. idea which is actually most correct. Ditto the other languages. I hope
  83. that if someone cares enough, they will fix them and send me the files.
  84. I did pass the translation files through a couple of other AIs (along
  85. with Greek and another couple languages), to see if they could improve
  86. them and gauge just how much work it would take to do this with all the
  87. language files and I found a) usually yes, there is a better translation
  88. and b) way more than I have time for. All help appreciated.
  89. The ini format is dead simple, a named section [eg] and underneath, a
  90. big list of English=OtherLanguage strings, like so (Ukrainian)..
  91. [uk]
  92. Passed=Пройшов
  93. BAD=ПОГАНО
  94. MISSING=ВІДСУТИЙ
  95. DELETED=ВИДАЛЕНО
  96. Edit to your heart's content. Note: If you edit the left side, you will
  97. break the translation mechanism and get back plain English.
  98. No doubt there will be quite a few missing translation bits, I'll sweep
  99. these up when I notice them or someone tells me, whichever comes first.
  100. Meanwhile you can live with good ole' English for that dialog.
  101. *** As I'm working on this, OpenAI fortuitously offers me a free month's
  102. Plus plan subscription! As Sol 5.6 is top for translation right now I
  103. signed up and burned through my weekly allowance in one day getting each
  104. language file coherent and as good-as-can-be.
  105. I also cashed-in my ever-present Google cloud free trial so I could get
  106. more coherent machine translations to begin with; it's *way* less tokens
  107. to have your smart frontier AI *fix* your translations, than it is to
  108. have it come up with the complete set from scratch; how do I know this?
  109. I ask AIs for the best, most efficient ways to prompt /other/ AIs, which
  110. works well for me. So, Having used up £1 of my £270 free Google ultra-
  111. mega-compute (!), what do I use it for next? Hmm.
  112. Suggestions for fixes are still very much welcome, especially if you are
  113. providing better language files. Complainers will be ignored.
  114. It's fascinating work. I've had to rewrite quite a few internal logics,
  115. where previously I might have just added an "s" to the end of a string
  116. if there was more than one item, now I need two complete strings because
  117. different languages handle pluralisation differently, and obviously
  118. wouldn't use "s" anyway. And this is a minor example. Big fun!
  119. I should add, it's pretty amazing seeing your program; its dialogs and
  120. such, in a different language. If you write software and don't provide
  121. translations, you miss out on this beautiful thing; Міжнародний успіх!
  122. ++~ checksum's windoid can now snap to *any* edge of the desktop and be
  123. anchored there. This is with a mind to RTL language users, but it's
  124. language-agnostic and works nicely for LTR languages like English, too.
  125. ~ Custom padded tooltips, which I had to work out so that I could stop
  126. padding them with spaces after newlines, which became a PITA when
  127. translating. It took ages to pin down correctly but looks nice. I might
  128. even do prefs for it.
  129. ~ Refining the logic of the launch/2nd instance/queue, making this more in
  130. line with what a "smart" program should be doing, which I think is:
  131. * Respect the queue setting, no matter what. If the user likes their
  132. jobs in a queue, then all subsequent additional jobs (added whilst
  133. checksum is already running) should simply be queued.
  134. IF allow_multiple is *not* set to queue:
  135. * If the new task is on a different drive from the running task,
  136. ignore and continue hashing operation.
  137. * If the task is on the same drive, check user's allow_multiple
  138. setting and either continue (true) or stop (false). The
  139. currently-running task is unaffected.
  140. ~ Implemented debug levels, like most of my other apps. It will take a
  141. while to set all the individual debug statements to whatever level seems
  142. appropriate. I'll work on this as I go along.
  143. + Added the ability to toggle Windows' caching of data, if required. By
  144. default all data is now read FRESH from the media, regardless of its
  145. cached state.
  146. 1.8.5.5
  147. ++ Added the ability to toggle the UTF-8 BOM Marker in your hash files.
  148. If you use your hash files on Linux systems, this will be useful. It's
  149. also the most sensible default setting, so it will be the new default.
  150. This is considered a *BREAKING CHANGE* IF you use legacy text editors to
  151. view/edit your hash files. Otherwise most Windows users won't notice.
  152. NOTE: This does NOT affect playlist creation. m3u is ANSI and pls/m3u8
  153. is UTF-8 + BOM. Period. For now. Thanks Phil!
  154. ++ checksum can optionally ignore Junctions and Hard/Symlinks on NTFS
  155. volumes. The ini setting is ignore_symlinks=true/false.
  156. Charles Barnes, I hear you!
  157. ++ Added the ability to check "relative" hashes from a different location.
  158. Unless specified, ALL hashes are "relative". It's far easier this way;
  159. the .hash file is local to the actual files and keeps everything simple.
  160. For example, under normal circumstances you might make a hash of all
  161. files in C:\MyFiles, which is created inside that folder as:
  162. C:\MyFiles\MyFiles.hash
  163. You can click it any time to check its hashes, which is how most people
  164. use checksum, and this works brilliantly because the full paths for the
  165. filenames written inside the hash file can be calculated by the location
  166. of the hash file you just clicked!
  167. But what if you /move/ that hash file? That association is now lost.
  168. However, you may need to keep the hash file somewhere else for some
  169. reason, and God Forbid! CHECK those hashes from the new location!!!
  170. This can now be done.
  171. To set a custom verify path use: p(C:\My\custom\path\here) and the hash
  172. file's individual file paths will have this custom path prepended before
  173. checking. Simple. So you can move that hash file to *anywhere* and later
  174. check its hashes, in-situ, like so:
  175. vp(C:\MyActualFiles) "C:\new\hashfiles\location\SomeName.hash"
  176. If your custom path contains spaces, enclose it in quotes..
  177. p("C:\My Actual Files") "C:\new\hashfiles\location\SomeName.hash"
  178. Thanks to Nacho for coming up with this method; miles better than what
  179. I was considering for the exact same sort of thing. I LOVE YOU GUYS!
  180. Yes, you can also skip the "v" (verify) switch if pointing to a .hash
  181. file; as checksum will work this out for itself (a .hash file. erm ...).
  182. This custom path is also checked against when registering the drive's
  183. mutex in Windows, so if you are hashing drive B:\ and then start a new
  184. task from drive C, but with a custom verify path set to B:\something,
  185. checksum's drive protection will kick in as usual.
  186. One scenario that I can think of (there will be others) where checksum
  187. will allow multiple processes on the same drive (when you have
  188. allow_multiple=false, that is) is if you have one task running on C: and
  189. start a second on B: (or some other drive, not C:) with *absolute*
  190. paths, some of the hash lines referencing files in C: ... I'm not even
  191. considering thinking about coding for this! Ditto those other scenarios.
  192. Enjoy the flexibility!
  193. * Fixed a bug where certain malformed hash files could crash checksum.
  194. Well done to Maciej for catching this one. I'm so glad your USB drive
  195. failed! The line was amazingly a string of 40 "a" characters followed
  196. by a space, then two asterisk. This sent old checksum crazy!
  197. This led me to work some on the hash line checking code which is now
  198. way more robust; handling basically anything you can throw at it.
  199. The above line will now be correctly considered a "piped" hash and the
  200. actual checksum file's name used as the file-to-check; the result would
  201. therefore be, "MISSING".
  202. 1.7.9.6
  203. ~ I changed how checksum handles the allow_multiple setting, aka.
  204. "Drive Protection". Basically, unless you are starting a task on the
  205. /same/ drive checksum is already working on (from a previously-launched
  206. instance), this setting is completely ignored.
  207. If the new job is on the /same/ disk, your setting (on/off/queue) comes
  208. into effect. (a change to this behaviour was added later, see above)
  209. I spent over an hour (and that was after the almost-hour thinking about
  210. it!) creating two levels of mutex* and copying data between running
  211. instances of checksum (the current working drive, only) before realising
  212. it was actually really simple (and then deleting all that code :roll: ..
  213. I got a laugh though!).
  214. * Just like a file.lock, but hidden in the Windows "system".
  215. When launched, checksum creates a /single/ mutex in Windows, using the
  216. drive letter as the identifier. If that identifier already exists when
  217. checksum launches; BOOM! checksum is already busy with that drive.
  218. Otherwise ignore.
  219. It should be noted: The negative effects of hashing the same drive more
  220. than once at the same time are way less when using SSD storage. Back in
  221. the day when checksum was first written, running two concurrent
  222. operations on spinning rust (a hard drive) meant a 90% performance
  223. decrease. These days, the picture has changed; in fact, running
  224. concurrent verification processes on the same SSD would likely *improve*
  225. performance. That's why the setting still exists at all, for folk who
  226. "know what they are doing".
  227. + checksum can check its changelog (this itstory file you are reading
  228. right now) and if there are changes, you can (optionally) get notified
  229. about them. We can see what's coming and complain about it before it
  230. even becomes a feature!
  231. 1.7.8.9
  232. ~ Many internal fixes and improvements, too many to list.
  233. The functions and variables are mostly all renamed now, and the code is
  234. fairly readable, too. This means easier bug-fixing!
  235. 1.7.7.31
  236. + Proper error-handling and reporting/logging for hash upgrade. I reckon I
  237. will keep this feature so I want to be as robust as possible. Lots of
  238. unusual edge cases are now catered for. I even asked Claude to look over
  239. the code and if Claude says it's good, hey, what do I know?
  240. checksum will happily upgrade files which are a mix of all kinds of
  241. hashes, as well as comments and other stuff; it doesn't care; basically
  242. creating a facsimile of your old file, but with any valid hash lines
  243. recomputed and switched for SHA256. Any hash lines already SHA256 are
  244. left as-is.
  245. + The upgrade final dialog (particularly for directories / trees) is now
  246. much more informative, with tallies of all the skipped entries,
  247. upgraded entries, invalid files, that sort of thing.
  248. + We wrote a couple of Python scripts to help with hash file management,
  249. specifically, a hash splitter script which converts "folder" hashes into
  250. individual hashes, and a folder hash deleter which, you guessed it, gets
  251. rid of any cruft the previous script left behind (after you check all is
  252. well). I'll include in the next distro, in case they are also useful to
  253. you.
  254. These days, whenever I'm faced with a tricky file / file system
  255. management task that will take me more than a few minutes to do, I
  256. just go, "Hey AI, write me a Python script to ...". Boom!
  257. I also made a couple of VBS wrapper scripts so you can run the Python
  258. scripts from your SendTo menu without terminal windows popping up. I'm
  259. fussy like that. If you run them from a terminal you get more useful log
  260. output, though. Your call.
  261. * Caught some edge cases in the original back-end functions, it is over
  262. twenty years since I wrote those!
  263. + Made the notifications, text and such more consistent, the tray will now
  264. mostly mirror the ToolTip during creation operations, and shouldn't ever
  265. "stick" (though this is the default if you hover over it!).
  266. ! The upgrade facility is way more groovy than I originally intended.
  267. If you like and use it, mail me about it. Same if you find a bug.
  268. + I continue to learn Python through a process of osmosis, and have added
  269. a FindlegacyHashes.py script to the hash scripts collection. You can
  270. guess what it does.
  271. simple checksum
  272. 2.0.0
  273. ~ Removed hash.dll dependency. You can think of checksum and simple
  274. checksum taking off into the sunset, like the last episode of House,
  275. free of baggage, wild and fast AF. If that helps.
  276. ~ Replaced Blake2s hashing with SHA256 hashing.
  277. See main checksum changes for more information about this.
  278. Now finally you have a default action for clicking on .safetensor files!
  279. (and .gguf, I mean, what else would you click them for?)
  280. + Added window snapping, for easy drag-to-corner/edge operation. There
  281. are two settings for this; one an on/off, the other a distance, in
  282. pixels. A menu item is also available to toggle the setting (Ctrl+Z).
  283. NOTE: This is my super-dooper window snapping, with all sorts of extra
  284. wholesome corz.org code goodies; not some #include "lame-snapping.au3".
  285. + simple checksum also now correctly snaps the height of its window back
  286. to 32 pixels (client height) when increased, as /well/ as decreased.
  287. + Single-Instance checking, and then some. No seriously, this took all
  288. night, even with Claude. Basically, if you have simple checksum already
  289. running, even if it's closed to the tray, and you start a new instance
  290. (IDIOT!*) simple chcksum will not only gracefully commit program-
  291. suicide, but pass the new parameters to the running instance, bring it
  292. to the front, and get on with the new job. Seems like such a simple
  293. thing.
  294. * Just kidding, I obviously want to work exactly this way; in the tray.
  295. + There is now a preference to hide the taskbar button/entry, so you can
  296. choose to not have simple checksum only live in the tray, if that's your
  297. bag. The ini entry is hide_taskbar_entry=true, there's also a setting in
  298. the app menu for this. If you change this, simple checksum will restart.
  299. The only advantage to this, really, is that simple checksum will respond
  300. to "minimize all" commands, and appear in Alt-Tab. Your call.
  301. *~ Many MANY small bug-fixes and improvements, too many to document.
  302. + Added a menu option for the help (the hotkey is now Ctrl+H).
  303. ~ You can now drag-and-drop *anywhere* onto simple checksum, rather than
  304. only the input. So you can keep simple checksum right in the corner of
  305. your desktop (throw it off the corner and let it snap back to the
  306. perfect position) and simply drags files into the corner of your desktop
  307. for hashing.
  308. 1.7.6.6
  309. ~ Lots of small fixes and improvements, error-checking and logging
  310. for upgrade facility and similar for checksum proper; as usual, too many
  311. small changes to document.
  312. + Lots of work improving the source for readability, variables, function
  313. names and such. A wee bit at a time. It's readable now and I hope you
  314. enjoy doing that.
  315. + Added options to upgrade only native .hash files or ALL legacy files
  316. (.md5, sha1, .sfv) and also to log ALL upgrade operations, as opposed to
  317. only logging issues. You get a one-time dialog for each choice the first
  318. time you use the upgrade feature, and thereafter the settings are
  319. remembered. If you want to change them later, edit your ini:
  320. [dialogs]
  321. upgrade_all_hashes=true
  322. upgrade_log_all=false
  323. checksum can upgrade all MD5 and SHA1 hashes to SHA256 as-it-goes,
  324. meaning all .md5, .sha1, .sfv files get re-computed and their extensions
  325. switched to .sha2. All the usual formats are supported.
  326. 1.7.5.21
  327. + Incorporated a facility to upgrade legacy MD5 & SHA1 hashes to SHA256.
  328. The command-line switch is simply "upgrade", and I've created a couple
  329. of Windows registry scripts you can use to add and remove extra Explorer
  330. context commands for upgrading hashes (one to add the entries and
  331. another to remove the entries if/when you no longer need them).
  332. There is no facility to upgrade Blake2s hashes as they look identical
  333. to SHA256 hashes, which we skip during hash upgrade. Sorry Blake2 users!
  334. That's a can of worms I wasn't gonna open. Fortunately most folk use the
  335. fastest algorithm which was always either MD5 or SHA1, until SHA256 came
  336. along and got integrated into hardware.
  337. ** If you do use Blake2s, I would simply verify all hash files then
  338. delete and recreate with SHA256; similar security but *much* faster.
  339. During the upgrade, old hash files are interrogated; their hashes
  340. verified; and on success, the algorithm is recomputed using SHA256.
  341. If there are any issues during the upgrade process, a log will be
  342. created in the working directory (unless you have a fixed log path
  343. configured). You can work on files, directories, trees and volumes. The
  344. final dialog has useful information.
  345. As I run the upgrade over my own hash files I realise it's also a fine
  346. excuse to /check/ all my files, which is happening automatically as
  347. checksum works, a two-for-one!
  348. RESUME IS SUPPORTED. If checksum gets interrupted during an upgrade
  349. operation, it leaves behind a temp file. If that temp file is present
  350. when you begin an upgrade, checksum picks up from where it left off.
  351. This is especially useful for BIG hash files spanning TBs of data.
  352. It also creates a .bak of your checksum file for the moments it's
  353. /replacing/ your checksum file, for extra redundancy in case something
  354. *unforseen* happens.
  355. I'm fairly sure I have your old hash data covered.
  356. 1.7.4.10
  357. ~ Thanks to the wonders of AI, I have resurrected checksum!
  358. Not saying it wasn't a lot of work, but it became /doable/, which it
  359. previously was not, at least by me alone in the time I get.
  360. So, thank you AI!
  361. This also means all the things that I've considered checksum should or
  362. shouldn't be doing, in the last ten years, have a chance to get done, or
  363. not done! But, you know, DONE! Expect a few changes, features and fixes
  364. in the next wee while.
  365. I'll get a beta up ASAP so you can help me track down all the new bugs!
  366. Here goes..
  367. ~ Removed hash.dll dependency.
  368. Still the fastest MD5 hashing, but there is no good reason to use MD5.
  369. ~ Replaced Blake2s hashing with SHA256 hashing.
  370. We are using Windows' built-in bcrypt.dll for hashing now, so it should
  371. keep up-to-date with any underlying hardware improvements, but no BLAKE.
  372. checksum's routines have faster throughput than Windows' cryptutil and
  373. of course utilize your underlying hardware's SHA256 capabilities,
  374. meaning SHA256 is now *way* faster than even MD5 ever was.
  375. ~ As SHA2 is now the default hashing method, if you require MD5, you will
  376. need to ask for it by either setting that as your default inside
  377. checksum.ini, choosing that in the options dialog, or adding a "5" to
  378. your command-line switches. Verification, as ever, is automatic, unless
  379. you specify otherwise.
  380. The switch for SHA2 hashing is "2", but if it's your default, you won't
  381. need to add it unless selecting SHA2 as the algorithm for applicable
  382. operations, e.g. "a2" for verifying /only/ SHA2 hashes.
  383. ~ As well as making checksum more lightweight, it makes checksum much more
  384. responsive during hashing operations (the old DLL was so fast partly
  385. because it hogged your CPU and ignored all input except Pause/Break).
  386. You will find things like moving and toggling the tooltip a /lot/
  387. easier.
  388. And I prefer to do my C on microcontrollers, where it matters.
  389. Pause/Break still shows the abort dialog.
  390. ~ SHA256 is now the default hashing algorithm.
  391. + The HTML logging is now HTML5 (previously it was XHTML4.0).
  392. ++ Added UP handling inside hash files, so ..\some.file will now work as
  393. expected. You can hash FitGirl releases directly!
  394. ~ Removed the shaky, undocumented tar.md5 support. Oh, you didn't know
  395. about that? Hah! Just as well!
  396. In truth, I could never fully get my head around why this might be a
  397. good idea.
  398. ~* I did think, fuck it, let's just start moving it over to Python, BUT,
  399. AutoIt was updated just a few months ago so! The app for the people
  400. lives on. So does checksum.
  401. *** CHECKSUM IS REBORN!!! ***
  402. 1.7.0.1
  403. ++ During verification, checksum can now skip checking files which appear
  404. to be unmodified, which is to say, it will perform verification
  405. operations only on files with a modified timestamp more recent than
  406. their recorded timestamp.
  407. This is designed to be used along with the "w" switch, to update the
  408. hash and timestamp of a file or set of files you have /mindfully/
  409. changed.
  410. USE WITH CAUTION on volumes you know are free from corruption of any
  411. other kind! Using this switch combination inside a scheduled, automatic
  412. task could be a recipe for disaster.
  413. I SAY AGAIN: Used incorrectly, "wm" can become a WMD!
  414. NOTE: If you are logging *everything*, these entries will appear as
  415. "SKIPPED".
  416. * Fixed a bug where checksum could crash under certain conditions when
  417. using the search + verify feature searching for a file entry for which
  418. there exists no corresponding hash.
  419. 1.6.6.6 ("Optimistic Ocelot" - 15 Google hits!)
  420. ~ In addition to scanning .hash files, checksum will now also check legacy
  421. files of the current algorithm (.md5/.sha1/etc.) when performing hash
  422. search operations ("i" switch). e.g..
  423. vi "C:\path\to\file\somewhere\file.txt"
  424. Or scanning for a SHA1 hash (when MD5 is your default algorithm)..
  425. vias "C:\path\to\file\with\sha1\somewhere\file.txt"
  426. This only happens if a match wasn't found in any relevant .hash files.
  427. If you were /not/ using the unified .hash extension, there is no change;
  428. checksum would be scanning your relevant .md5/.sha1/.b2 files, anyway.
  429. */~ VASTLY improved speeds when synchronizing hash files. I noticed that
  430. when syncing large hash files, checksum was taking an unacceptably long
  431. time (my new 1.2 million hashes test .hash file took over 12h, sorry
  432. about that!).
  433. checksum will now synchronize HUGE .hash files in /minutes/.
  434. That same 1.2 million hashes test file now syncs in under ten minutes on
  435. my lowly Celeron, including the time taken to scan the file system and
  436. extract and parse the hash data (adding a few dozen small files -
  437. obviously adding hashes for any large files would increase that).
  438. * Fixed an issue where large *.tar.md5 files (files with checksums
  439. concatenated to the end of them, usually tarred Android ROM files,
  440. though it is a neat idea I suspect could catch on for other file types)
  441. would cause checksum to run out of internal hash storage space. checksum
  442. should now correctly reject such a file.
  443. Then I thought to myself.. Why not ADD support for these files?
  444. ++ I made it so..
  445. Rather than reject such files, users of *.tar.md5 files can now have
  446. checksum do an integrity check of the *.tar archive using the stored
  447. MD5. There is a preference to enable treating *.tar.md5 files as
  448. "special", which is..
  449. tar_md5_special=true
  450. With this enabled (true), checksum will interrogate the final bytes of
  451. *.tar.md5 files for a corresponding hash. Such a file has the internal
  452. format:
  453. <tar data + NUL bytes><MD5 hash> <filename>
  454. e.g..
  455. <TAR DATA> 923c5925c1b0b8694ea35db95e951cf5 recovery.tar
  456. If the <filename> embedded within the *.tar.md5 matches the given
  457. *.tar.md5 file name, minus the ".md5" part of course, e.g.
  458. "recovery.tar.md5" >> (contains data+hash for) >> "recovery.tar"
  459. ..checksum will pluck out the stored hash to compare against a hash of
  460. the tar data part of the file. If the original tar part of the file is
  461. intact, unchanged from when it was created, you get SUCCESS! as usual,
  462. and if not, you get CHANGED. Simple.
  463. By the way, to make such a file do (in Linux/UNIX/Cygwin shell)..
  464. # tar the file..
  465. tar -H ustar -c recovery.img > recovery.tar
  466. # concatenate the MD5 onto the end of the tar file..
  467. md5sum -b recovery.tar >> recovery.tar
  468. # rename to show change..
  469. mv recovery.tar recovery.tar.md5
  470. NOTE: NEVER change the name of your *.tar.md5 files, at least if you
  471. want checksum to verify them correctly. If you do do this and need to
  472. recover the original file name, drop the file into a (CAPABLE) text or
  473. hex editor and check out the last few bites, which will be the original
  474. name. Then simply add ".md5" to the end. Then leave it alone! ;o)
  475. + Added support for embedded hashes, in *any* file using the file name
  476. format: filename.<hash-format>.ext, e.g. "RoboCop.sha1.mp4". Checksum
  477. will work out the hash type from whatever "pre-extension" you use. If
  478. you use the unified hash extension, checksum will use the default
  479. algorithm unless you specify otherwise, e.g..
  480. v RoboCop.md5.mp4 >> Uses MD5
  481. v RoboCop.sha1.mp4 >> Uses SHA1
  482. v RoboCop.hash.mp4 >> Uses MD5
  483. vas RoboCop.hash.mp4 >> Uses SHA1
  484. Unlike *.tar.md5 files, there is no support for verifying multiple
  485. embedded hashes. You must verify them individually - the same way you
  486. make them, at least for now. They can still be hashed along with your
  487. regular files, of course.
  488. To force verification of any file, hold the Ctrl key down when selecting
  489. the checksum item from Explorer's context menu.
  490. If you want to play with this, remember that some files will NOT work
  491. correctly once you concatenate a hash onto the end of them. Media files
  492. and archives are usually fine.
  493. ~ Faster file system search routines. This will impact the file search
  494. phase of checksum's operations, especially on LARGE file systems.
  495. ~ Improved speed when performing hash /search/ operations on large hash
  496. files. For huge hash files the time difference will be dramatic. Also,
  497. checksum now uses a 1/10th of the memory for searching.
  498. ~ Improved System Tray tips and progress windoid information.
  499. ~ With some internal rewiring, I increased the previous limit of 2,396,744
  500. hashes per .hash file. The limit is now effectively around 16,777,215
  501. hashes per file; what it was supposed to be. I say /around/ because
  502. although unlikely, if you have a hash file with 16,777,215 hashes + info
  503. lines + heaps of manually-added comments, during verification checksum
  504. will flag the file as being too big to handle.
  505. ~ checksum will now move its one-shot option dialogs on-screen if they
  506. are set (by the user) to appear off-screen, such as when you keep them
  507. in the far corner of your desktop and then login via remote desktop on a
  508. smaller device, such as a laptop or tablet.
  509. * Fixed memory spike on initial .hash file read, specifically when
  510. checksum was counting the number of lines in the hash file.
  511. * Fixed an issue where the logging level wasn't being reset correctly
  512. during verify operations, resulting in erroneous logging of DELETED
  513. files, but only after CORRUPT or CHANGED files had been discovered.
  514. * Fixed handling of ANSI MD5 files with foreign file names in them (which
  515. I broke in the last version). These were being treated as UTF-8 and the
  516. verification would result in apparently MISSING files. checksum will
  517. once again automatically determine the file's encoding.
  518. By the way, I DO NOT recommend you use any ANSI-only utility to create
  519. MD5 sums of directories of files with foreign names. Even using extended
  520. locales, your program will simply miss files. Of my test directory of 58
  521. foreign-named files (including but not limited to Russian, Chinese,
  522. Urdu, Greek, Icelandic, Swedish, Arabic, and more, as well as a
  523. selection of just wild UNICODE character names), other apps will fail
  524. on at least 30 of the file names. With the default UTF-8 encoding,
  525. checksum can handle everything.
  526. Simple Checksum 0.9.3.1
  527. ~ Simple Checksum will now disable checksum's beep for the first half
  528. of a folder compare operation. If you have beeps enabled in checksum
  529. you will hear that at the end of the completed folder compare.
  530. 1.6.0.8
  531. ~ Put the search+verify option (one-shot options dialog) into a group (by
  532. itself!), to be more in line with the other options.
  533. ~ The text in the notification at the end of the verify dialog now
  534. correctly states the number of hashes checked, as opposed to the number
  535. of files - there may be multiple hashes for the same file, you see.
  536. ~ Added information about creating task folders to the task name input of
  537. the Task Scheduler Wizard. By default, tasks go in a "checksum" folder,
  538. but if you can specify your own (using: folder\task-name).
  539. + UPDATED and DELETED events are now logged.
  540. + Updated the CSS files to cover the above (as well as BAD files)
  541. * Fixed search+verify routines to correctly handle all possible path
  542. variations.
  543. * Fixed the wonky behaviour of the verify options log input on Windows 8.
  544. The input should fly out when the mouse is over it, and stay that way
  545. until the mouse leaves the control. Now it does.
  546. * Fixed a vermicious bug where if you exited using the ToolTip menu at
  547. *just* the right time whilst synchronizing hashes, you would get a hash
  548. added to a file where one already existed, creating a duplicate hash.
  549. * checksum will now respect a blank "nameless_name" preference. Previously
  550. it would always insert the default value, which is "nameless".
  551. * Fixed a bug in the plain text logging (no one uses this, right!) where
  552. logs were occasionally being created even when there were no errors.
  553. 1.6.0.6
  554. $++ Mail Notification on hash failures.
  555. Yes! checksum can mail you when it detects errors in your files;
  556. especially handy for scheduled tasks running while you are away or
  557. otherwise engaged.
  558. Your mail preferences can be edited from a cute GUI available from
  559. checksum's System Tray menu (while one-shot verify options window is
  560. open). It can do CC, BCC, SSL, single and multiple file attachments,
  561. mail priority, all the usual goodies. (it uses the built-in Windows CDO
  562. mail sending functions)
  563. I've tested it successfully with a few outgoing servers including gmx
  564. and Gmail (both using SSL on the standard port: 465) as well as my own
  565. local Linux sendmail.
  566. To attach files, you can either enter the full path of the file(s) into
  567. the attachment input (separate multiple files with semi-colons ";"), or
  568. else click the label "Attachments" to browse for files (which will be
  569. appended to your current input), or else drag & drop files directly onto
  570. the input (which replaces the current input).
  571. NOTE: You can use the "@log" token (no quotes) to attach the final log
  572. to the email - most useful! e.g..
  573. @log;C:\some\other\file.txt;C:\and\another.png
  574. Attaching you log file, as well as being extremely useful, has the added
  575. bonus of (assuming you have inline attachments and HTML enabled in your
  576. mail client) making the entire mail look cool like a checksum log!
  577. Finally, you can also save mail settings as presets for later recall.
  578. This makes it easy to switch between mail servers, if required.
  579. + The Mail-On-Fail dialog is also resizable, like the create options, for
  580. the same (accessibility) reasons, and with corresponding checksum.ini
  581. hacks available for permanent resizing (these are the minimum values)..
  582. mail_options_width=265
  583. mail_options_height=360
  584. + BAD files (those which appear to be .hash files, but are not - most
  585. likely corrupted) will now be logged as well as reported. BAD files can
  586. be sign of disk corruption.
  587. ~ Even faster startup!
  588. ~ The final total number of files processed is now also shown in the final
  589. dialog during verify operations as well as creation jobs.
  590. ~ During search+verify operations, if checksum discovers a CHANGED file,
  591. it will now update the hash (if you have this behaviour enabled - by
  592. using the "w" switch). Previously the "w" switch had no effect in this
  593. scenario.
  594. + I have added an option for search+verify to the one-shot verify options.
  595. It's kinda thrown in for now, until I can get around to re-organising
  596. that window. But it works!
  597. ~ If you have open_log_folder ("g" switch) set during verification and
  598. there are hash failures and the log folder is /already/ open on your
  599. desktop /somewhere/, checksum will bring it to the front.
  600. * Fixed a bug where a couple of the verify switches were not translating
  601. into the checked items in the one-shot verify options.
  602. £* Fixed the bug in the disable edit ini and custom preamble not being
  603. available to registered users.
  604. * Fixed a bug in the relative and fall-back logging locations. If a blank
  605. log location is entered, the log will now appear in the top folder
  606. checked, as expected. And if that is not possible, it will fall-back to
  607. your desktop (and now with a file extension, as expected!). Almost no
  608. one uses this (because the checksum dedicated log folder is such a good
  609. idea!), which is how it escaped my attention so long.
  610. 1.5.8.4
  611. ~ Faster string search routines (now almost twice as fast). This impacts
  612. hash synchronization, checking files from the list of existing hashes. I
  613. have tested the new routines against a range of strange foreign
  614. languages and Unicode characters with 100% success.
  615. * Fixed recently introduced sync issue when using absolute paths inside
  616. root hashes. This was leading to duplicate hash entries.
  617. * Fixed issue with hash comments not respecting the always_store_unc pref
  618. (they were using UNC-style paths even when this was disabled - it caused
  619. no issue, but looked incongruous).
  620. * Fixed a bug in applying unified extension to multiple legacy hash files.
  621. This almost never happens, but if you happen to have .md5/.sha1/.blake2
  622. hash files for a file and applied a unified extension, hashes for second
  623. and subsequent algorithms were being re-calculated.
  624. 1.5.7.0
  625. + Added search + verify command to checksum's default installed Explorer
  626. context commands. It's that handy! (see 1.5.6.3 changes)
  627. If you want this NOW, either uninstall+reinstall checksum (all your
  628. settings will remain intact) or else merge the sample registry file
  629. found here: http://corz.org/windows/software/checksum/files/
  630. ++ Directory Exclude Masks. You can now specify one or more directories
  631. which you would like to exclude from the hash creation process, using
  632. standard file masks (?,*). The "x" switch, followed by a set of exclude
  633. masks in braces, enables this functionality. Separate individual masks
  634. with a comma.
  635. For example, you want to create a root hash, but not hash any
  636. directories with a name that begin with "foo", or ends with "bar", or
  637. starts with "baz" AND ends "qux", do..
  638. checksum.exe cr1x(foo*,*bar,baz*qux) "D:\MyDir"
  639. * Fixed long path handling in search+verify function - Of course Explorer
  640. is sending short paths. Doh!
  641. 1.5.6.3
  642. ++ checksum will now post the path that was hashed/verified in the final
  643. tooltip, in case you forgot what it was you were hashing, e.g..
  644. checksum completed verifying: e:\music\jazz\ in 3.55 seconds.. [100% OK]
  645. ++ Added new method (actually, the original method!) for testing
  646. writeability of directories. Normally we use the most accurate method,
  647. which is to write an actual test file to the directory. However, this
  648. will also change the "last modified" timestamp on that directory.
  649. If you would prefer this to /not/ happen, you can do (in checksum.ini)..
  650. relaxed_write_test=true
  651. which will instead rely on the system's "read-only" flag for the
  652. directory. This works in most ordinary scenarios. However if, you ever
  653. get a "..having problems creating a checksum file" error, set this to
  654. false and try again!
  655. ++ Added Individual file verification search feature. This enables you to
  656. verify a single file, anywhere in your system, /from/ anywhere in your
  657. system, regardless of where its associated .hash file is in the file
  658. tree.
  659. This is extremely useful when you want to verify a single file but don't
  660. have an individual .hash for it, especially when the entry is inside a
  661. .hash file with thousands or millions of other entries, or you aren't
  662. sure exactly which .hash file contains the entry.
  663. Normally, for verification you feed checksum .hash (or .md5, whatever)
  664. files and it scans them looking for matching files to hash. Using /this/
  665. method, you feed checksum a regular file path and it scans your .hash
  666. files looking for a matching hash entry!
  667. checksum will search up the tree, first looking for matching individual
  668. .hash files, and then folder hashes, all the way up to the root of the
  669. volume until it finds one containing a hash for your file, at which
  670. point it will verify that one hash and return the result.
  671. The final dialog will also tell you *which* .hash file contained the
  672. entry for your chosen file.
  673. Thanks to Brett Lang for the original idea, which he presented to me as
  674. a DOS batch script doing a similar thing. I have to admit, it took me a
  675. while to get my head around the idea (it's just so back-to-front!), but
  676. once I did, I immediately saw how useful such a feature might be.
  677. You can enable this operation by using an "i" on the command-line, think
  678. "individual" file verification, or perhaps "Inverted operation"! e.g..
  679. checksum.exe vi "C:\some\path\to\file.ext"
  680. This works best as an Explorer context command. Future versions will
  681. have this built-in to the installer setup. For now, an example .reg file
  682. is at http://corz.org/windows/software/checksum/files/
  683. 1.5.4.4
  684. ++ Exit command..
  685. checksum can now launch another program/process/task on completion of
  686. its job.
  687. NOTE: you can use @tokens in this setting, including the new @exit
  688. token, which will transform into checksum's exit code, to pass to the
  689. program..
  690. exit_command=c:\path\to\my\app.exe /foo @exit
  691. There is also a special @fullpath token which you can use to insert the
  692. full path of the item that was originally sent to checksum, and
  693. @fullpathnounc, which does the same thing, except the path will NOT be
  694. a UNC-style path, e.g..
  695. @fullpath = \\?\C:\path\to\my\stuff
  696. @fullpathnounc = C:\path\to\my\stuff
  697. FYI, using the @item token would get you "stuff" in this example.
  698. You can enable processing of the exit command by either setting..
  699. do_exit_command=true
  700. .. in your ini file, or by passing the "0" switch on your command-line
  701. (zero, no quotes - think standard exit code). If it is enabled in your
  702. ini, you can temporarily disable it by passing "-0".
  703. ++ Custom blake2 extension. You might prefer "b2" or "blake2s" or something
  704. else. Simply set the blake_name preference..
  705. blake_name=blake2
  706. ++ Added count to final dialog, so you always know exactly how many files
  707. were hashed at-a-glance. I can't believe I didn't think of this! Thanks
  708. Badon.
  709. + Improved responsiveness of initial HotKey modifiers (Shift & Ctrl) so
  710. that one should only need to hold them down momentarily, as opposed to
  711. waiting for the options dialog (for example) to appear. Most people will
  712. probably not notice any difference.
  713. * Fixed an issue which caused checksum to crash when the (HUGE!) max
  714. folders limit is reached. Of course, you could increase this in your
  715. checksum.ini, but still, it wasn't being handled. checksum will now
  716. automatically increase the folder limit if required.
  717. ~ Removed Max Folders preference (due to above - new automatic limit).
  718. * The "checksum was given nothing to do" dialog has been made *much*
  719. smaller and now always opens a web page in your browser with more help
  720. than can be fit into a dialog window. (it tells you it has done this).
  721. With the advent of the new startup command facility (v1.5.2.0+), I
  722. expect less people will be seeing that dialog, anyway.
  723. 1.5.3.0
  724. ++ Task Scheduler..
  725. You can now create basic tasks for your system scheduler, to perform
  726. checksum jobs on a schedule. Handy for hashing your morning torrent
  727. downloads, weekly verifying your backups and much more..
  728. A "wizard" will ask you a few questions about the task, user name, time
  729. and so on, and then pop open the options dialog (create or verify,
  730. depending on the task), where you can set your options for the scheduled
  731. task.
  732. You can also have schedule setup as your default startup command (see
  733. below - v1.5.2.0 changes)..
  734. startup_command=schedule
  735. + You can now get to the "Edit Prefs (ini)" tray menu option when checksum
  736. is started with nothing to do.
  737. 1.5.2.0
  738. Custom Startup Command..
  739. When checksum is launched with nothing to do, rather than have checksum
  740. display the "Nothing to do!" dialog, you can have it do something
  741. /else/. This might be a default checksum command that you use a lot, or
  742. another program, or something else. e.g..
  743. startup_command=simple checksum.exe
  744. startup_command=c:\path\to\some\program.exe /foo /bar
  745. startup_command=c:\path\to\my editors\editor.exe /open "i:\my\document.doc"
  746. startup_command=c:\some app.exe c:\some documents\document.txt
  747. For checksum commands, send your regular command-line after a "checksum"
  748. flag; the word "checksum", with a pipe character after it, e.g..
  749. startup_command=checksum|crtbim(movies) "W:\Completed Torrents"
  750. And checksum will launch itself with the specified command-line. Simple.
  751. If you use something like:
  752. startup_command=checksum|cor "C:\"
  753. Clicking on checkum.exe (or a shortcut to it) will startup checksum with
  754. the one-shot creatino options dialog open, so it seems like you are
  755. running a "regular" app! You can drag and drop in a folder, go for
  756. it.
  757. You can have checksum jump straight to the (almost) hidden System Info
  758. Box..
  759. startup_command=checksum|SysInfo
  760. NOTE: If a DOS command isn't working as expected, use the DOS
  761. compatibility flag "dos", e.g..
  762. startup_command=dos|compact.exe /C "B:\hashes\*.*"
  763. ALSO NOTE: like many prefs, you can use @tokens in this setting.
  764. There is also a special "shellex" flag, which I will now explain..
  765. Normally, a command-line is an executable, optionally with some switches
  766. and parameters required to complete the job. But you may want to launch
  767. something else, for example a document or URL. For this, you can use the
  768. "shellex" flag. The "shellex" flag performs a system "Shell Execute",
  769. which can be used to launch just about any "thing". It goes like this..
  770. startup_command=shellex|Item|Parameters|Verb|Working Dir
  771. Only the "Item" is required. All others are optional, for example..
  772. startup_command=shellex|C:\Users\Cor\Desktop\corz.org.URL
  773. which will launch an internet shortcut I have on my desktop. Using the
  774. "shellex" flag, you could also launch the URL directly..
  775. startup_command=shellex|http://corz.org/
  776. The default verb is whatever your system would normally do with the path
  777. you send, usually "Open". But you can (usually, though not always) use
  778. any verb avalable from your Explorer context menu, e.g..
  779. startup_command=shellex|C:\Users\Cor\Desktop\page.indd||Print
  780. NOTE: the double || because in this example, I don't want to send any
  781. parameters but DO want to send a Verb. In other words, if you want to
  782. skip a previous flag, leave it blank.
  783. The many, many uses for this feature should be obvious. Self-contained
  784. on-disk data checking is but one of them!
  785. Finally, there is a prefs flag..
  786. startup_command=prefs
  787. ..which opens up the checksum preferences (ini) in your preferred text
  788. editor.
  789. ~ Improved relative path handling (again), you can now use .\ and ..\
  790. constructs to checksum the current or parent directory. This is
  791. especially useful when using checksum in a stand-alone mode, e.g.
  792. when burned to a disc for on-disc data checking.
  793. 1.5.1.2
  794. + You can now set the string checksum uses to construct names when
  795. creating .hash files from files with no names. By default, this is
  796. "nameless". If you set this to blank, checksum can potentially create
  797. ".hash" files, which may become invisible on some systems. This may be
  798. what you want. Though it rarely happens, it is now configurable.
  799. * checksum will no longer perform a writeability test of the hashing
  800. location where a custom output directory has been set (it will now
  801. properly test the custom output directory). Another upshot of this is
  802. that the original folder's modification time will not change.
  803. simple checksum 0.9.2.1
  804. ~ fixed folder compare command-line to match new custom output directory
  805. switch requirements in checksum. Oops!
  806. 1.5.1.0
  807. + Added new beta_channel preference.
  808. I've (finally!) settled on simply releasing betas to anyone who wants
  809. them, which is better for you, less work for me.
  810. You can set this preference in your ini..
  811. beta_channel=true
  812. .. to get notified when updated betas become available (as well as the
  813. major releases). By default this is set to false, so you only get
  814. notified of major releases.
  815. Major releases supercede all previous beta releases. The beauty of this
  816. setting is that it will survive switching to and from a major release
  817. when /it/ becomes the latest version.
  818. Beta and release versions now behave exactly the same way - if you have
  819. beta_channel=true set, as soon as a beta becomes available, you get a
  820. notification.
  821. * Fixed an issue where hidden checksum files were not being updated (when
  822. using the w switch during verify).
  823. * Fixed an issue where portable relative paths on the command-line were
  824. being ignored. This means that you can now easily script self-contained
  825. disk checking mechanisms with checksum on, for example, burned DVDs.
  826. This was possible before, but not without obscure DOS substitutions.
  827. * Fixed an issue where using braces in the custom output directory would
  828. fail (checksums left on desktop, instead).
  829. Note: You need to put custom output directory switches LAST, after other
  830. bracketed switches, for (complex) example..
  831. cr1qnm(movies)j(my-hashes)d("c:\some (dir) here") "D:\My Movies"
  832. 1.5.0.0 [public release]
  833. ~ The monthly Shirtware reminder will now only bug you a maximum of three
  834. times before disappearing for another month. Previously it would keep
  835. bugging you until you click "Yes" ONE TIME! - still the best way to get
  836. rid of it!
  837. * fixed a bug where the initial version check dialog could appear under
  838. the one-shot options if you quit checksum's very first run.
  839. * Fixed a bug where choosing the "About checksum" options from the menu,
  840. during an operation, would quit checksum.
  841. 1.4.5.1
  842. * Fixed a silly bug in the queue handling.
  843. 1.4.5.0
  844. ~ When queueing multiple items in Explorer with the <SHIFT> key held down,
  845. checksum will now apply whatever options you set for the /first/ item to
  846. the /entire/ queue. If you would prefer to have the options dialog pop
  847. up for each item (the old behaviour), set this new preference..
  848. apply_options_to_queue=false
  849. When set to true (the default), checksum will also automatically check
  850. the "quiet operation" checkbox for you (if quiet operation is not
  851. already enabled), to prevent multiple final dialogs (if enabled) from
  852. popping up; assuming you want minimal interaction with the jobs. Of
  853. course, you can deselect this if you really want to see (and click!)
  854. /all/ the final dialogs.
  855. + checksum will now check how much free space is left on the target drive
  856. before beginning to write a hash file. If it estimates that the drive
  857. will run out of space before completion, it will halt with an error to
  858. that effect before it begins writing hashes.
  859. Note: checksum will err /slightly/ on the side of caution in its
  860. calculations.
  861. + When creating root hash files with absolute paths, you can now choose to
  862. either always store UNC-style paths in your .hash file (the default) or
  863. not. If you set..
  864. always_store_unc=false
  865. .. checksum will use old-style paths for short paths and switch to
  866. UNC-style paths for long paths (that is, paths with more than 259
  867. actual characters).
  868. Note: checksum works with UNC-style paths internally so setting this to
  869. true will be slightly (microseconds) faster when writing each hash.
  870. ++ The tray ToolTip will now display some basic information about what
  871. checksum is doing, for those that prefer to run with the ToolTip Windoid
  872. disabled (which is faster when dealing with lots of small files).
  873. ~ Optimized the non-hash file test and hash file line counting routines.
  874. Every millisecond counts!
  875. * Fixed an issue where dropping multiple files onto checksum's one-shot
  876. create options dialog input where one or more of the files had no
  877. extension would produce an incorrect entry in the masks list, i.e. "*.".
  878. * Fixed a bug where choosing to show absolute paths in root .hash files
  879. created from the root of a drive would not show their UNC-style prefix.
  880. checksum can handle this just fine, but it was inconsistent with
  881. absolute path root hashes produced from some path deeper inside the
  882. drive (which do show the UNC-style prefix). Also, other hashing apps
  883. would most likely choke on long path with no UNC prefix, that is, if
  884. there were any other hashing apps that could handle long paths to begin
  885. with!
  886. * Fixed a bug in the show_unc_paths preference, which was being partly
  887. ignored when set to true.
  888. * Fixed a bug in recognizing single "piped" hashes with no line-breaks.
  889. * Fixed a bug where selecting multiple files to hash directly after an
  890. upgrade could scramble checksum's ini file. Of course there was a backup
  891. made, but still. Ouch!
  892. * Fixed a bug in the version checking routines - unless you had already
  893. set the interval (in the release version or manually) you would never
  894. get the option to do so!
  895. 1.4.4.2
  896. + You can now drag multiple items onto the one-shot create options path
  897. input and checksum will create a file mask group from the dropped items,
  898. for example, if you dropped these three files..
  899. E:\Docs\report.pdf
  900. E:\Docs\stuff.txt
  901. E:\Docs\more-stuff.doc
  902. The path: input would be set to "E:\Docs", and in the file masks input
  903. you would have "*.pdf,*.txt,*.doc".
  904. As usual, the resultant .hash file would contain only hashes for files
  905. matching these extensions.
  906. ~ When launched with a file on the command-line (via Explorer right-click,
  907. etc.) the file name will be placed and selected in the masks input.
  908. Previously it not selected. As before, if a folder is sent, the masks
  909. input is set to the default mask "*.*".
  910. ~ When dragging files onto checksum's one-shot create options dialog, the
  911. name of the file will now be added to the masks drop-down list and
  912. selected in the file mask: input. Previously it was added to the
  913. drop-down list but not selected.
  914. ~ Some more minor cosmetic fix-ups, out-of-place linefeeds in read-only
  915. notices and such-like.
  916. * Fixed a bug with setup where installing an old version over a new
  917. version would send the installer into a dialog loop (if the user chose
  918. to uninstall the newer version first). Of course, almost no one would
  919. attempt such a thing, but still. This should now work as expected.
  920. 1.4.4.1
  921. ~ Minor fixes in cosmetics, text placement in dialogs and such.
  922. * Fixed a bug in setup where uninstalling checksum after multiple upgrades
  923. of previous versions would leave files in the ProgramData folder. This
  924. was due to a mangled entry in HKEY_LOCAL_MACHINE\SOFTWARE\corz, which I
  925. had recently introduced changing the "long" name from "corz checksum
  926. utility for windows" to simply "checksum", which I did because people
  927. kept naming checksum, "corz checksum", which was mildly annoying! It's
  928. corz as in "Cor's", see? No? Oh, forget it! ;o)
  929. 1.4.4.0
  930. ++ We have a new algorithm! checksum can now create BLAKE2 hashes of your
  931. files. For more information about BLAKE2, see here:
  932. https://blake2.net/
  933. You wanted a strong hashing algorithm - it doesn't get much stronger
  934. than this!
  935. BLAKE2 is superior to any of the SHA2/3 family of hashing algorithms,
  936. offering the best security available in a cryptographic function, yet is
  937. comparable, speed-wise, to our current SHA1 hashing (on x64, it's faster
  938. - last night I hashed 1TB of archive files, whilst working away on other
  939. things on my busy workstation, in under three hours - pretty good).
  940. Technically, checksum uses BLAKE2s-256, producing digests (hashes) of
  941. sixty four characters in length. The code is based on the public domain
  942. C implementation of BLAKE2s by Samuel Neves, available from the above
  943. URL.
  944. Thanks to Alberto for turning me on to BLAKE2 - Impressive Stuff, Sir!
  945. ++ During verification, checksum can now update (aka. "refresh") hashes of
  946. CHANGED files. This enables you to automatically update your .hash file
  947. with new hashes (and timestamps) of files you have /mindfully/ altered.
  948. Lots of people asked for this!
  949. NOTE: you need timestamps (check_date=true) for this to work.
  950. IMPORTANT NOTE: checksum can only update hashes for checksum-created
  951. hash files. When verifying non-checksum hashes (e.g. piped Open SSL
  952. hashes) there are only two states, OK and CHANGED. CHANGED files MAY be
  953. corrupt, but checksum cannot know this because there is no date/time
  954. information stored with the hash. So, if you request that CHANGED files
  955. be updated, only those inside checksum-created hash files will be
  956. updated. It may seem inconsistent, but actually makes perfect sense!
  957. ++ The one-shot options dialog has been expanded and now includes BLAKE2
  958. hashing (of course) as well as new options for custom output directory,
  959. quiet mode, and shutdown when done.
  960. ++ The one-shot create options dialog is now resizable, in case you have
  961. your screen fonts set to some large size (for accessibility reasons) and
  962. the options are squished together.
  963. By the way, I recommend KDE-Mover-Sizer for quickly resizing *anything*.
  964. See here: http://corz.org/windows/software/accessories/
  965. Note, if the above paragraph applies to you, you will probably want to
  966. create the following two preferences in your checksum.ini, to have the
  967. options dialog permanently resized..
  968. create_options_width=370
  969. create_options_height=251
  970. Those are the minimum sizes allowed, but you can set them to anything
  971. you like, within reason (i.e. your desktop size).
  972. This is a bit of a hack, but hopefully should help anyone who needs it.
  973. + The one-shot verify options dialog has also been expanded to include
  974. BLAKE2, as well as adding options for deleting hashes for missing files,
  975. updating changed hashes, go to log folder on log creation and shutdown
  976. when done.
  977. + The verify options dialog is now also resizable, like the create
  978. options, for the same reasons, and with corresponding checksum.ini hacks
  979. available for permanent resizing..
  980. verify_options_width=380
  981. verify_options_height=219
  982. Again, those are the minimum settings, so feel free to make it bigger,
  983. if required.
  984. + Added experimental support (designed for automated folder compare -
  985. see simple checksum changes, below) for supplying the hashfile_name on
  986. the command-line. The swith is "j" (as in "John" - it's the last letter
  987. available for switches!). As with output dir, you enclose the name in
  988. brackets directly after the switch, like so..
  989. j(my-hashes)
  990. Just like the hashfile_name preference in checksum.ini, you can use
  991. dynamic tokens with this name.
  992. NOTE: you CANNOT successfully use this in the options dialog switches
  993. input. If people request it, I will consider adding this facility to the
  994. one-shot options.
  995. ~ checksum will no longer automatically fill in your ignore_types
  996. preference with its default basic values (md5,sha1,hash,sfv,crc), so if
  997. you really want to, you can make .hash files of .hash files!
  998. ~ Updated the CSS files with styles for DELETED and UPDATED hashes. I also
  999. put back the fallback background images from corz.org - they somehow got
  1000. removed during my HTML5 update. Sorry about that!
  1001. NOTE: If you have edited your CSS file (the one sitting right next to
  1002. checksum.exe) You will need to delete/rename it to get an updated CSS
  1003. file with the new styles. checksum will only update the file if it is
  1004. unchanged from the original install (v1.3.*/v1.4.*b).
  1005. ~ Optimized the read-only checking routines - the long path support makes
  1006. things easier, which is ironic, because it was the new long path support
  1007. that had slowed it in the first place! This will only be noticable if
  1008. you are creating individual hashes of LOTS of small files.
  1009. * Fixed a bug in the verification algorithm choices and made the tooltips
  1010. clearer in the verify options dialog. Hopefully the behaviour now makes
  1011. sense!
  1012. ~ Updated to the setup program slightly. It should now be more friendly
  1013. on XP (no one is still using XP though, right?), as well as prevent
  1014. users from installing the x64 version of checksum on 32 bit systems.
  1015. Also, it won't attempt to install dividers on XP, because they simply
  1016. don't work!
  1017. !! On Beta build, you can put do_debug=true in your ini file and get GOBS
  1018. of debug output in the working directory. If you are reporting a bug,
  1019. PLEASE send me this output (as well as a copy of your checksum.ini).
  1020. simple checksum 0.9.2.0
  1021. + simple checksum can also calculate BLAKE2 hashes of files and strings.
  1022. + When getting the actual hash of compared files (with ALT+C) the title
  1023. bar will momentarily display the name of the file the hash corresponds
  1024. to.
  1025. + The simple checksum window can now be resized. There is no accessibility
  1026. reason for this, but I thought you might like to a) be able to see your
  1027. entire BLAKE2 hash, or b) make it *really* small, for extended desktop
  1028. usage.
  1029. A good size for seeing all BLAKE2 hashes is simple_width=460, but you
  1030. don't need to set that - simple checksum will remember whatever width
  1031. you resize it to. Changes in height are ignored.
  1032. + Added folder compare. That's right! So long as checksum is installed,
  1033. simple checksum can now happily accept two folders on the command-line
  1034. (or via drag-and-drop, etc), and will automate the process of hashing
  1035. both folders in turn (using checksum), then compare the two resultant
  1036. .hash files (by hashing, of course). If they are identical, you get..
  1037. "Folders MATCH!"
  1038. If they are NOT identical, you get..
  1039. "Folders DO NOT MATCH!"
  1040. Simple as that!
  1041. ~ simple checksum now hides the "hash it" button during hashing
  1042. operations, to prevent users from accidentally creating false hashes
  1043. by clicking it during a hashing operation (the click would be buffered
  1044. and the final hash would be a hash of a hash!).
  1045. 1.4.1.5 [beta]
  1046. ++ Added CPU process priority option, an integer from 0-5 (0 = low/idle,
  1047. 5 = realtime). The default is 2 (Normal). Setting a priority outside
  1048. this range gets you 2 (Normal)!
  1049. ++ During a verify operation, checksum can now remove hashes for missing
  1050. files from your .hash file
  1051. pref: delete_missing_hashes=true
  1052. command-line switch: x
  1053. Once set, this will happen transparently, unless you have chosen to log
  1054. "everything", in which case they will show up in your logs as "DELETED".
  1055. There is also a notice in the final dialog which lets you know how many
  1056. hashes were deleted, if any.
  1057. NOTE: Whenever checksum deletes hashes from a hash file, a backup is
  1058. stored in your system temporary folder, named
  1059. "checksum-deleted-backup.hash". If you make a boo-boo, for example, by
  1060. enabling this preference and clicking on a fallback .hash file, you can
  1061. always grab the original from there; at least until you repeat the
  1062. mistake!
  1063. ALSO NOTE: If ALL the hashes inside your .hash file are deleted, the
  1064. file itself is also deleted.
  1065. This "post-processing" capability opens the door for other post-job
  1066. tasks we might need. Watch this space!
  1067. ++ checksum can now shutdown your computer at the end of an operation.
  1068. Handy for big jobs on systems that don't run 24/7.
  1069. pref: shutdown_when_done=false
  1070. command-line switch: z
  1071. ~ If you had the <SHIFT> key down whilst queuing a job in explorer,
  1072. that will be remembered (the options dialog will pop up). If you had it
  1073. pressed while selecting multiple files, it will pop up for each job.
  1074. ++ Added support for TAB delimited hash files. I have never seen one of
  1075. these in the wild, but a couple of checksum users have assured me that
  1076. they do exist! Enjoy!
  1077. ++£ You can now hide the "Edit ini" tray and context menu items to prevent
  1078. underlings having easy access to the main settings.
  1079. ++£ You can now disable the preamble altogether, if required. This had
  1080. existed for a while, but there was no preference for it.
  1081. + checksum beta releases now have their own version checking URL, so if you
  1082. are playing with the betas, you can be assured of staying up-to-date
  1083. with the latest developments.
  1084. * The ToolTip windoid and synchronize dialog will now honour your
  1085. show_unc_paths preference.
  1086. * Fixed a bug where slashes were being used instead of backslashes in
  1087. relative paths. checksum doesn't mind either way, but passing your .hash
  1088. file to some other (lesser!) hashing app might have caused problems.
  1089. Note: You still get forward slashes when nix_paths is enabled.
  1090. * Fixed a minor bug where the backup ini file had a double .ini extension.
  1091. !~ checksum will no longer work with Windows 2000. XP is the required
  1092. minimum Windows OS version.
  1093. 1.4.1.2 [beta]
  1094. ~++ The hashing library has been rewritten to correctly handle UNICODE file
  1095. names/paths. Now we can happily hash Russian, Japanese, Greek, anything!
  1096. This works regardless of your current locale.
  1097. The previous "upstream" changes were problematic, so I bit the bullet!
  1098. ++ Support for LONG PATHS (beyond the Windows MAX_PATH limit). That's
  1099. right! You can now hash files with paths as long as 32,767 characters!
  1100. + Improved error handling in hashing library. Your .hash file will now
  1101. correctly inform you of permission denied and other error states.
  1102. ~ The convert_names and convert_level preferences have been removed,
  1103. with full UNICODE file name handling there is no need for it, ever!
  1104. ~ The log folder will not open automatically if it is already open on your
  1105. desktop.
  1106. ~ The dialog that pops up if some of the hash files were invalid is now
  1107. editable, so you can copy/paste the information somewhere / open the
  1108. location, etc., if required.
  1109. Note: This dialog respects your dialog_timeout preference, unless you
  1110. click inside the editable area, which halts the timer.
  1111. * A few other minor fixes and optimizations.
  1112. 1.3.6.2
  1113. * Fixed an issue on TrueCrypt drives where certain ignored folders being
  1114. set would halt checksum.
  1115. ~ Improved handling of files where the user's Anti-Virus software has
  1116. denied access to the file (or rather, presented it as a zero byte file)
  1117. ~ Improved handling of fall-back where checksum was unable to write .hash
  1118. files due to the location path exceeding the Windows PATH length
  1119. limitation.
  1120. 1.3.6 [current release version]
  1121. You thought the old version of checksum was the fastest hashing
  1122. application in the world? Try this!
  1123. ++ 64 and 32 bit versions now available.
  1124. + Significant increases in the hashing speeds in both 32-bit and 64-bit
  1125. editions, thanks to the improved compilers (and compiler options)
  1126. available today, as well as some code tweaks implemented during the
  1127. 64-bit DLL update (now at v0.6). I have also switched out the SHA1
  1128. routines for something faster, for example..
  1129. My DVD-sized "BIG.iso" test file used to MD5 hash (on my current system)
  1130. in 24.3 seconds. Pretty fast. That time is now under 16 seconds both the
  1131. 32 bit and 64 bit editions. A SHA1 hash of the same file used to take
  1132. 41.8s. It now takes less than 24s. As they say, YMMV, but I am looking
  1133. at speed increases of between 60% for MD5 and 79% for SHA1 <insert
  1134. exclamation point>.
  1135. Of course, the rate at which your system can get the data off your drive
  1136. will always be the limiting factor. And though the latest checksum is
  1137. tuned to deliver maximum disk data throughput, with 300MB/s hashing
  1138. speeds, no current hard drive can keep up.
  1139. SSD users, enjoy!
  1140. ++ International file name handling on >= Windows 7; Russian, Japanese,
  1141. whatever. This change is upstream, so I am keen to hear reports on it
  1142. working or otherwise on YOUR system.
  1143. ++ checksum can now optionally store a file's modification date and time
  1144. along with the checksums, like so..
  1145. #md5#Björk - Hunter.flac#2009.09.26@19.49:36
  1146. fba7b0f424d3c217d312bcd84728ac8f *Björk - Hunter.flac
  1147. #md5#Desirée.flac#2009.09.26@19.49:36
  1148. 00073fa1652f74961c1a9696afa7a992 *Desirée.flac
  1149. #md5#info.nfo#2009.09.26@19.49:36
  1150. 5deee1f6ac75961d2f5b3cfc01bdb39c *info.nfo
  1151. Thanks to the extra information, during verification checksum will
  1152. report files with mismatched hashes as either "CHANGED" (they have been
  1153. modified by some user/process) or "CORRUPT", where the modification
  1154. timestamp is unchanged.
  1155. These will show as a different color in your HTML logs (assuming you
  1156. are using an updated master CSS file).
  1157. You can also now choose whether or not to report (and log) missing,
  1158. changed, or corrupted files. For example, if you only want to know about
  1159. CORRUPT files, but don't care about changed or missing files, you would
  1160. set..
  1161. report_missing=false
  1162. report_changed=false
  1163. report_corrupt=true
  1164. As one commenter on the checksum page pointed out, with this sort of
  1165. functionality, checksum would become "the only tool against silent data
  1166. corruption". I believe this goal has now been achieved.
  1167. The chosen algorithm is also stored along with this information, for
  1168. possible future use (aye, more algorithms!).
  1169. ++ checksum can now post its completion times in a more readable format,
  1170. rather than using only seconds..
  1171. readable_times=true
  1172. This affects not only the message and ToolTip windoid displayed at the
  1173. end of checksum operations, but the times shown in the logs (if you have
  1174. that enabled).
  1175. + checksum will now check online for newer versions of itself. This is
  1176. configurable in checksum.ini - you can set how many days to wait between
  1177. checks. After installation, it will ask you one time about how regularly
  1178. to check for new versions. If you want to change it after that, you will
  1179. need to edit the ini. Feel free to check daily, my server can handle it!
  1180. £++ Customizable preamble string (the comment at the top of the .hash file)
  1181. £+ Customizable "licensed to" name in About Box.
  1182. + New software licensing model. From your side of things, the biggest
  1183. change is that everyone now gets their own specific key. Also it's a lot
  1184. easier to enter!
  1185. There is a facility for existing Licensed users to upgrade their
  1186. license key, here:
  1187. https://corz.org/windows/software/checksum/upgrade.php
  1188. + setup now puts icons in the context menu on systems where this is
  1189. possible. It also installs "Directory Background" menu items (the one
  1190. you get when you right-click . This almost makes up for the loss of
  1191. Windows 7 app menu functionality, at least for checksum!
  1192. ++ Rudimentary queueing system. Rather than warn you about running multiple
  1193. copies on the same disk, checksum now has the option to queue jobs. If
  1194. checksum is already running and you launch a second copy (maybe by
  1195. selecting multiple items in explorer and doing a checksum context
  1196. command on them), it will add the job to a simple queue file which
  1197. checksum checks on exit. If there are jobs there, it launches itself
  1198. with the job, deletes it, and so on. It's nothing fancy, but it works.
  1199. Note: if you do this sort of thing a lot, you will probably want to
  1200. increase the long_operation time in your preferences.
  1201. ~ checksum grudgingly now uses plain ANSI for regular .m3u files and
  1202. enables users to select .m3u8, if required. It's a real pity "they"
  1203. didn't just keep one extension, but certain music players will balk on
  1204. UTF-8 .m3u files, so this has been added for maximum compatibility. pls
  1205. files are still always UTF-8.
  1206. ~ If you have the ToolTip disabled, left-clicking checksum's tray icon
  1207. will show the Progress ToolTip, so you can see what's happening.
  1208. Previously, left-clicking the tray icon performed no action.
  1209. * Fixed an issue where if you had the ToolTip disabled on launch and then
  1210. quickly enabled it while checksum was in the middle of a long operation
  1211. (for example, gathering the hashes for a large folder) you would get a
  1212. blank ToolTip (until the next ToolTip message was posted).
  1213. * Fixed a minor issue where the one-shot verify options audio alerts
  1214. setting would initially display the setting for the progress tip!
  1215. * Fixed an issue where checksum would unhide previously hidden checksum
  1216. files if checksum hiding was off in the prefs. Now it will leave them
  1217. alone.
  1218. ~ The keep_dll setting has been deprecated - now it just stays put in
  1219. portable mode.
  1220. ~ The binaries are no longer packed. Originally, it was fantastic, being
  1221. able to fit the whole lot onto a floppy disk, but you have to ask
  1222. yourself, "what the hell is a floppy disk?"
  1223. simple checksum 0.8.4 [current release]
  1224. ~ simple checksum will now strip any white space from hashes in the
  1225. clipboard when comparing against dropped files. This is useful when
  1226. the user has copied the hash from a web page with an extra space or
  1227. line break at the end (usually unwittingly). It is also useful when
  1228. comparing against hashes which have been presented "split", like so:
  1229. 1852 fd05 0afa 3693 2a00 2c4d 08b9 b37b
  1230. Note: simple checksum will not alter the clipboard data in any way, it
  1231. will simply remove all whitespace before comparing against the hash of
  1232. the dropped file.
  1233. + simple checksum will now do automatic clipboard compare from initial
  1234. launch. This is in addition to during all drag and drop operations.
  1235. Basically, if there's a hash in the clipboard when you hash a file, via
  1236. any route, simple checksum will attempt to compare the hashes.
  1237. Alt-C gets you the actual hash, if required.
  1238. + A new option has therefore been added to the menu: "Clear the Clipboard".
  1239. + New About Box, more in line with checksum and my other apps (but there's
  1240. no SysInfo, which would be too much duplication - you can get that from
  1241. checksum if you really need it).
  1242. + simple checksum will now post an error message if your chosen (ini) editor
  1243. could not be launched, as opposed to simply doing nothing.
  1244. ++ By request, I have added a switch to take you directly to the SysInfo box
  1245. easter egg. That switch is "SysInfo" (no quotes). Enjoy!
  1246. * Fixed a bug where simple checksum would continue, even in the absence of
  1247. the hashing library. Now it will post its message and exit.
  1248. setup:
  1249. +~ There have also been a few improvements to the installer (setup) app. It
  1250. is now 64-bit aware, as well as being better at cleaning up after itself
  1251. (specifically, it will no longer leave an empty top folder in your app
  1252. data folder after a complete uninstall).
  1253. 1.2.*
  1254. ++ You can now specify an output directory for your hashes, either in
  1255. checksum.ini..
  1256. out_dir=C:\hashes
  1257. Or with a command-line switch ("d") This uses the same form as file type
  1258. groups (i.e. in braces), like so..
  1259. crid(C:\hashfiles) "D:\some documents"
  1260. In this example, checksum would hash the files in "D:\some documents"
  1261. and put the .hash files in "C:\hashfiles".
  1262. Please be careful with this, mindful of the ramifications, especially
  1263. if you also have a static custom hash file name!
  1264. ++ There is a new @parent token which you can use in your "hashfile_name"
  1265. preference; it will be replaced with the name of the parent directory of
  1266. the file being hashed.
  1267. You can also specify how far "up" to go when determining the name to
  1268. use, like so: "@parent+1", "@parent+2" and so on, as high as you like;
  1269. checksum will transform the @parent token into the currently selected
  1270. parent directory (+2. etc.), all the way up to the drive letter itself.
  1271. Thereafter, checksum will return an empty string.
  1272. NOTE: "parent" refers to the parent of the FILE(S) being hashed, so when
  1273. performing a folder hash on "C:\foo\bar\foobar", "foobar" is still the
  1274. parent (of the files being hashed). If you need "bar" in your custom
  1275. name, use @parent+1. To get "foo", use @parent+2, and so on. In this
  1276. example, @parent+3 would return "C", the drive letter, @parent+4, +5,
  1277. etc., would return an empty string.
  1278. ++ You now have the option to cancel a hashing operation in mid-stream.
  1279. Simply hit the <Pause/Break> key. This change is inside hash.dll.
  1280. This is especially handy on slower machines, when hashing very large
  1281. files and you need access to all your CPU cycles for a moment,
  1282. effectively using the "Abort Hashing?" dialog as a <pause> control.
  1283. + checksum will now check the version of its hashing library and
  1284. automatically update the dll file to the newest version, if required.
  1285. This is handy if didn't run the main installer.
  1286. + Improved static memory usage.
  1287. ~ "Individual", "extensionless" checksum files of files beginning with a
  1288. dot will now be given the name, "nameless", for example, an extensionless
  1289. individual checksum file of a file called ".foobar" would be named,
  1290. "nameless.hash", rather than create a .dot file (".hash"), which can
  1291. become automaticaly invisible under certain configurations.
  1292. Most of these sorts of files would likely be better entered into your
  1293. ignore prefs, in checksum.ini.
  1294. ++~ checksum now correctly verifies only hashes of the algorithm specified.
  1295. With the advent of unified hashing, this process needed to work on a
  1296. per-hash basis, as well as a per-file; both SHA-1 and MD5 could be
  1297. contained within the same file (i.e. "foobar.hash"), as well as within
  1298. filename-specific files like "foo.md5" or "bar.sha1".
  1299. checksum now verifies only the hashes you specify, ignoring the other
  1300. algorithm altogether. checksum will also not load old-school hash files
  1301. from other algorithms, i.e. when asked to check only SHA-1 hashes,
  1302. checksum will ignore a file named, "foobar.md5".
  1303. Only if you specify an alogorithm either on command-line ("am" for MD5,
  1304. "as" for SHA-1), or in the one-shot options dialog (hold <SHIFT> on
  1305. launch) will checksum use this behaviour, otherwise the default
  1306. behaviour is still to verify ALL hashes in ALL hash files encountered in
  1307. the path.
  1308. * Fixed a bug where folders set in "ignore_folders" would only work
  1309. inside the folder itself, but not folders inside that, and hashes were
  1310. being created in its subdirectories. checksum will now correctly skip
  1311. all folders specified in your "ignore_folders" preference, and all
  1312. folders inside, and so on.
  1313. * Fixed a bug where checksum could crash if you had an instance open
  1314. at the one-shot options, and opened a second instance of checksum.
  1315. * Fixed a bug where an extra line-feed character could be added to the
  1316. end of files during synchronization, if those files contained hashes
  1317. with file names using special characters.
  1318. * Fixed a bug where synchronizing UTF8 files with special characters
  1319. which had been saved (manually by the user) without their BOM (Byte
  1320. Order Marker), resulted in the hash file being re-saved as ASCII,
  1321. duplicating the file hash, and potentially mangling the results.
  1322. checksum now correctly opens UTF8 files as UTF8 when specified to do so,
  1323. rather than converting them to ASCII if you deleted the BOM somehow.
  1324. * Fixed the SHA-1 bug in files greater than 4GB (Thanks to qriist for
  1325. spotting this error and to Michael D. Leonhard for the C++ help in
  1326. fixing it, and the original SHA-1 code, of course).
  1327. Previously checksum produced erroneous (though quite consistent) results
  1328. with the SHA-1 algorithm on files greater than exactly 4GB. This was
  1329. caused by an internal overflow within checksum's hashing library.
  1330. checksum's SHA-1 handling is now fast AND accurate, at any file size.
  1331. + Added an input dialog for the shirtware registration code.
  1332. Five bucks, people!
  1333. * Fixed a bug where running checksum with an empty checksum.ini file would
  1334. throw up a fatal error.
  1335. ++ You can now set the default file mask in your preferences.
  1336. default_mask=*.*
  1337. Normally this defaults to "*.*" (checksum ALL files), but you can use
  1338. whatever you need. Most people will not need this - the one-shot options
  1339. dialog is usually a better way to set these things, on a per-job basis.
  1340. * Fixed a bug where exiting from a long verify operation with no errors (so
  1341. far) could throw up an empty dialog box (the tooltip shows the full status)
  1342. + added a preference (convert_names) which will convert any truly foreign
  1343. file names that do not map correctly (i.e. Russian), into old-school 8.3
  1344. file names, which should enable you to hash *anything*.
  1345. convert_names=true
  1346. Hopefully this is a stop-gap measure until I can justify a re-write of
  1347. the hashing library to use "boost" or similar to handle file names in
  1348. *any* language. This will produce a very slight overhead, which is why
  1349. it is optional, only for those who really need it.
  1350. NOTE: most languages are handled correctly by checksum already, without
  1351. using this preference, for example these files..
  1352. Björk - Hunter.flac
  1353. Desirée.flac
  1354. The First Noël.mp3
  1355. would be hashed and verified just fine, without any additional settings.
  1356. + checksum now posts which algorithm it is currently checking in its
  1357. ToolTip
  1358. + checksum now logs which algorithm has changed (when logging is enabled).
  1359. * Fixed a potential bug where checksum could fail to write hashes if the
  1360. file's name was very short and its path was *almost* at the system's
  1361. maximum file length. checksum now tests a variety of random names of the
  1362. exact same length as the .hash file name, before deciding if a location
  1363. can or cannot be written to.
  1364. Although this checking is very fast, it should be noted that checksum
  1365. tests the writeablility of every .hash/.md5/.sha1 file which is to be
  1366. written, and then has to write that file, so "root" hashing a large
  1367. filesystem will always be faster than using individual .hash files.
  1368. + I added a spacial "portable" command-line switch. In line with my more
  1369. recent apps, checksum will setup itself for total portable operation,
  1370. without you having to fish out an ini file or set your logging location
  1371. preference. To activate this one-time operation simply run..
  1372. C:\Path\to\checksum.exe portable
  1373. ~ The (much loved!) "command-line error" window (which you get if you
  1374. launch checksum with no drag-and-drop or command-line switches) has been
  1375. renamed and made smaller (to fit into netbook windows). You can also
  1376. move it around by clicking and dragging anywhere within the main window
  1377. (in the text - for those poor souls not running KDE-Mover-Sizer).
  1378. It still does the same things, but now has more logical buttons, as well
  1379. as one that takes you to the checksum tricks and tips page which
  1380. explains the whole switches topic in greater detail, as well as lots of
  1381. other useful tricks for using and getting the most from checksum.
  1382. + I dropped my "Checksum For Linux" distribution into the extras folder.
  1383. Have fun with that!
  1384. ~ I noticed in my (long) 2do list that I meant to mention that checksum
  1385. now sets the working directory (to its own directory) when running in
  1386. portable mode.
  1387. simple checksum 0.7
  1388. + Added new "Auto" sub-menu to the application menu, with two options..
  1389. Auto Copy to Clipboard
  1390. Auto Save to File.
  1391. Use these options with caution; the Auto Copy will replace whatever
  1392. was in your Windows clipboard with the current hash, be it file or
  1393. string hash, and the Auto Save will write a hash file next to the
  1394. dropped file, overwriting any file previously in that location. A
  1395. warning dialog displays the first time you enable the setting.
  1396. + If Auto Save is enabled, and you re-hash a dropped file with the
  1397. other algorithm, simple checksum will re-write the saved hash file
  1398. with both algorithms stored inside - it won't attempt another hash
  1399. write until you drag and drop a new file, even if that is the same
  1400. file.
  1401. * Fixed a bug where if you switched case after calculating both MD5
  1402. and SHA hashes, and then switched the case back, only the current
  1403. algorithm and future algorithms would comply, but the stored
  1404. alternative algorithm would still be in the old case.
  1405. simple checksum 0.8 [currently available beta]
  1406. ++ simple checksum now accepts two files for comparison, either on the
  1407. command-line, or via drag & drop into its input. I'm glad to get
  1408. this off the 2do list, if only to stop folk asking for it!
  1409. I've had to rewrite the way file paths are read from the user input,
  1410. hooking directly into the drag and drop process, so any bug-reports
  1411. will be gratefully appreciated.
  1412. By the way, you can retrieve the actual hash by hitting Alt-C. If
  1413. the two hashes were different (NO MATCH) you can get the second hash
  1414. by clicking ALT-C a second time. ALT-C will then toggle you between
  1415. the two file hashes.
  1416. If you have AutoCopy enabled, a small report, with file names,
  1417. hashes, and comparison result will be deposited in your clipboard.
  1418. simple checksum 0.8.2.3 [current release]
  1419. + If you drop a file onto simple checksum's input and there is already
  1420. a hash in your clipboard, simple checksum will compare the hash of
  1421. the dropped file with that in the clipboard and report whether or
  1422. not they match (rather than report the hash string - if you need
  1423. that, IT'S IN YOUR CLIPBOARD!)
  1424. This makes it a no-brainer to compare the hashes of download files
  1425. with the hashes published on web sites, simply copy the hash from
  1426. the page (Select it, Ctrl-C) and then drop the downloaded file into
  1427. simple checksum. TADA!
  1428. NOTE: simple checksum will automatically switch between MD5 and SHA1
  1429. depending on the type of hash in your system clipboard.
  1430. NOTE: If you have Auto-copy-to-clipboard enabled, it will not
  1431. activate when comaring hashes with the clipboard, your original hash
  1432. will still be there after the operation.
  1433. + Reduced memory usage (unused pages are now freed when hiding with
  1434. the tray icon, as well as the usual minimize button).
  1435. + Improved ToolTips, reflecting new functionality.
  1436. + Added startup message about the application menu (so folk know it's
  1437. there). You get this only once.
  1438. 1.1.*
  1439. + Added a preference for individual_hashes, which can now be set
  1440. permanently, if you wish. This is the same as passing "i" in your
  1441. switches.
  1442. * Fixed a bug (bugs) where certain checksum options set in checksum.ini
  1443. were fixing that behaviour, even though the user had re-enabled the
  1444. default behaviour temporarily in the one-shot options dialog.
  1445. + checksum now uses a more flexible and logical switch transformation
  1446. routine internally, so any switch that also has a preference in
  1447. checksum.ini, can now be switched *off* from the command-line, which,
  1448. depending on the preference, may be to enable or disable the setting,
  1449. for example..
  1450. Normally, root hashing is disabled. You can enable it by adding a "1"
  1451. to your command-line switches. You can also enable it *permanently* in
  1452. checksum.ini. IF root hashing is enabled permantly, you can *disable*
  1453. it, temporarily, by adding "-1" to your switches.
  1454. In other words, "-" disables a switch.
  1455. This behaviour is now true of all switches that also have a
  1456. checksum.ini preference, which is most of them.
  1457. Later preferences override earlier preferences, if applicable - the order
  1458. of preferences inside checksum.ini has changed to accomodate this logic.
  1459. Command-line switches override everything.
  1460. + Command-line switches are now displayed dynamically in the one-shot
  1461. create options (thanks to seVen, and hashDROP for reminding me about
  1462. this feature!). You can add/remove switches there, too, and the many
  1463. checkboxes will update to match (after you move out of the switches
  1464. input). There's no real need for this in the verify one-shot options.
  1465. + Added the absolute_paths setting to the one-shot options dialog.
  1466. + Added a one-shot options checkbox for beeps (aka. "audio alerts").
  1467. You can now get to all the create switches via the one-shot options
  1468. dialog. No more Windows Run dialogs!
  1469. + Added a new "help_tips" setting, for folk who know what they are doing
  1470. and don't need or want the helpful pop-up tooltips in the one-shot
  1471. options dialogs (applies to both create and verify one-shot options).
  1472. + There is now a switch for the "Open log folder on errors" preference, so
  1473. you can enable/disable that on a per-job basis, if required. The switch
  1474. is "g", think "Go To Errors".
  1475. Just like the other switches, if open_log_folder_on_errors is enabled in
  1476. your checksum.ini, you can pass "-g" to disable it for a particular job.
  1477. ~ The "open_log_folder_on_errors" preference is now more correctly named
  1478. simply "open_log_folder", as it also works if there were *no* errors,
  1479. but you have enabled "log_everything".
  1480. Basically, if a log was created, "open_log_folder" will activate at
  1481. the end of verification, or not, depending on your setting. checksum
  1482. will automatically upgrade your checksum.ini file and import your old
  1483. "open_log_folder_on_errors" setting.
  1484. ~ The "open_log_folder" setting will now also activate in quiet mode. If
  1485. you don't want this, pass "-g" in your switches, or disable it in your
  1486. checksum.ini.
  1487. * Fixed a bug where checksum would beep on completion when creating
  1488. hashes, regardless of your beep settings.
  1489. * Fixed a bug where checksum would unexpectedly delete a root hash file
  1490. where it was asked to synchronise to regular folder hashes. This
  1491. behavior isn't so bad, it was simply unexpected. checksum will no
  1492. longer delete such files, so you can keep both, if required.
  1493. * Fixed a bug where synchronizing a root hash file could get you
  1494. duplicate hashes.
  1495. + checksum will now check for all possible path variants before
  1496. synchronising a (root or folder) hash file, not just the currently
  1497. used variant.
  1498. Possible variants are; 1) full, absolute paths, 2) regular relative
  1499. paths, and 3) UNIX ./ root paths, and any combination of these. Also,
  1500. it's possible that root hash files could also be folder hash files.
  1501. checksum will check for all possibilities before adding a new hash.
  1502. Although I have improved the speed at which checksum interrogates
  1503. hash files for possible matching entries; it will always be quicker to
  1504. simply create a fresh hash file (perhaps after verifying the existing
  1505. one).
  1506. Actually, I've now re-written this to be *much* faster, so it should
  1507. now be quicker than doing the (verify + create fresh) job manually.
  1508. ~ checksum.ini now uses ";", rather than "#" as its comment character.
  1509. ~ You can now leave the unix_hashfiles pref setting blank, if preferred.
  1510. * checksum will now correctly pop-up the completion dialog when a job
  1511. took under 0.01 seconds to comlete, and long_operation is set to 0.
  1512. + Added a preference for "always_sync", which is just like adding the
  1513. "y" switch to your command-line. Now you can set this permanently, if
  1514. you wish. Like the other switches, you can disable this temporarily
  1515. with "-y", which would bring back the "File Exists!" dialog.
  1516. ~ checksum will now notify you if it switched your hash file extensions
  1517. from extensioned to extensionless, and vice-versa. For example, you
  1518. stopped using extensions, and during a re-hash, a file was renamed
  1519. from "file.ext.hash" to "file.hash".
  1520. * Fixed a bug where creating individual checksums of files on read-only
  1521. media would fail to create a hash file in the fall-back location.
  1522. ~ Under fallback conditions, checksum will now recreate the *entire*
  1523. directory structure inside the fallback location, the root folder
  1524. being named after the letter of the drive, e.g..
  1525. C:\path\to\fallback\D\work\audio\june\june.hash
  1526. This removes any potential confusion about which checksums are which,
  1527. where multiple hash files and/or locations could have similar names.
  1528. This also means you can't accidentally create duplicate hashes by
  1529. simply starting creation from a different root location inside the
  1530. read-only volume.
  1531. + checksum will now check your currently open explorer windows before
  1532. asking you if you would like to open the fall-back folder after
  1533. creating fall-back (read-only) hashes. If you already have the
  1534. fall-back folder (or a sub-folder) open on your desktop, checksum
  1535. won't ask you if you want to open it (again). You need to have the
  1536. Explorer Folder Option >> View >> "Display the full path in title bar"
  1537. enabled for this to work.
  1538. + Added a new preference for "compress_logs", so you can disable this if
  1539. you don't want checksum to compress any logs it creates.
  1540. * Fixed a bug where checksum would report files as missing if they had
  1541. a checksum in their actual filename, e.g..
  1542. MyImage-47cb705498c9480cfb0cd4980c216d82.jpg
  1543. + I've added a preference for "ignore_folders" which works exactly like
  1544. "ignore_files", when creating hashes. Useful for RECYCLER, System
  1545. Volume Information, etc.
  1546. simple checksum 0.6..
  1547. ~ Removed the preferences dialog from simple checksum - with the
  1548. creation of a more comprehensive application menu, and more HotKeys,
  1549. it had become redundant - all changes are immediately saved, anyway.
  1550. I got to remove a big chunk of code, too, which is always nice.
  1551. ~ Changed Algorithm HotKeys from Ctrl+M/Ctrl+S to Alt+M/Alt+S, which
  1552. seems more logical for algorithm settings, are easier to get to, and
  1553. leave the path free for me to add a "Save checksum file" option.
  1554. I'll use Alt for hashing and algorithm settings, and Ctrl for
  1555. application stuff.
  1556. + Added a HotKey for "Always on Top", it is Ctrl+T.
  1557. + Added a HotKey for UPPERCASE hashes, it is Alt+U.
  1558. ~ simple checksum's title bar now displays the application's 'short' name.
  1559. This is neater. Also, if you use a gradient title bar, this will
  1560. probably make the algorithm part of the title easier to read, which can
  1561. be handy.
  1562. + When switching algorithms, simple checksum will now store the previous
  1563. hash, so if you switch back to the original algorithm, rather than
  1564. re-hash the file (which could be a large file, and therefore, slow),
  1565. the stored value is re-inserted, instead.
  1566. If you manually hash something, a string, etc., or perform a drag and
  1567. drop, even of the same file, you always get fresh hashes (the file may
  1568. have changed).
  1569. + You can now feed files to simple checksum via a regular file open
  1570. dialog. The HotKey is Ctrl+O.
  1571. + simple checksum can now save hashes to a file. This is fairly
  1572. rudimentary compared to checksum's hash file capabilities, but I
  1573. figure if you have taken the time and CPU cycles to calculate a hash,
  1574. you might want to save it. The HotKey is Ctrl+S.
  1575. simple checksum will interrogate checksum.ini to discover your current
  1576. line-feed and carriage return settings before saving the hash file.
  1577. If you have created both MD5 and SHA1 hashes of a file, both hashes
  1578. will be stored in the (.hash) file.
  1579. + The "hash it" button now has a context (right-click) menu for the Open
  1580. File and Save Hash items.
  1581. + Added System Tray menu items for Open and Save.
  1582. * Fixed a bug where the on_top preference was being saved to the ini in its
  1583. raw form (1/4 instead of 1/0) (note: simple checksum now uses true/false)
  1584. 1.0 [first full public release]
  1585. + Added an "Edit Prefs (checksum.ini)" item to the tray menu, so you can
  1586. get this option easily, even with the Progress ToolTip disabled. Now
  1587. the tray menu and Progress ToolTip menu are identical.
  1588. 0.9.24 [rc5]
  1589. * checksum can now use WAV files for notification, instead of PC speaker
  1590. beeps. You can specify a wav for success, and another for failure.
  1591. NOTE: if the specified wavs are invalid, checksum will revert to using
  1592. your peecee speaker.
  1593. I've dropped a few suitable wav files into the checksum extra files
  1594. area..
  1595. http://corz.org/windows/software/checksum/files/
  1596. I had this penciled in for v2, but got an early request!
  1597. ~ Removed the dividers from the Explorer context menu in the default
  1598. install; if folk want those, they can uncomment the lines in setup.ini.
  1599. Apparently these cause issues (weird entries) on non-english language
  1600. systems.
  1601. NOTE: if you want to *remove* these dividers, simply uninstall checksum
  1602. before running the rc5 installer. i.e. do not "upgrade". Your settings
  1603. in checksum.ini will not be lost.
  1604. * Fixed an issue where checksum's automatic ini upgrade could leave
  1605. unexpected comment lines tagged on to the end of the new updated ini.
  1606. 0.9.23 [rc4 - 1st public beta]
  1607. * Fixed a bug where under certain (unusual) conditions, checksum could
  1608. fail to find your system's default browser, and crash. Now, even if
  1609. you don't *have* a system browser, checksum won't crash about it.
  1610. * Fixed a bug in simple checksum where OnTop status was being saved to
  1611. the ini file even when it hadn't changed. This could potentially cause
  1612. system warning dialogs when running simple checksum in portable mode
  1613. from read-only media.
  1614. * Fixed a bug in simple checksum where the current hash case setting
  1615. wasn't reflected in the prefs dialogs (everything should happen LIVE).
  1616. * Fixed a bug in simple checksum where the options dialog position was
  1617. only being read at launch time. If you moved your prefs, closed them,
  1618. and them opened them again, they would be at the old position.
  1619. * Fixed an inconsistency in simple checksum's preferences dialog, where
  1620. OnTop status was being immediately saved to checksum.ini, but
  1621. algorithm and case settings were only saved if you clicked "okay". Now
  1622. all settings are saved immediately. This was always true of setting
  1623. preferences from the application menu.
  1624. In fact, all the preferences are now in the application menu (and
  1625. more), so the preferences "dialog", per se, is redundant. However,
  1626. some folk may prefer this way of doing things, so there's no harm in
  1627. leaving it in simple checksum, for now.
  1628. Note: Ctrl+P also closes the preferences dialog, works as a toggle.
  1629. * Fixed a bug in simple checksum where the options window wasn't
  1630. dynamically updating its transparency setting when you altered the
  1631. main windows's transparency (if you had preference transparency
  1632. enabled in your ini).
  1633. * Fixed a bug in simple checksum where the hashing dll was being removed
  1634. on close in portable mode, even when you had specified in your
  1635. (checksum) prefs that it should stay put.
  1636. ~ simple checksum now checks for out-of-range transparency, wonky
  1637. algorithm, and out-of-desktop window settings in the user's ini file,
  1638. and automatically corrects them.
  1639. + In preparation for a release proper, checksum and simple checksum got
  1640. funky new icons, including a larger 48x48 size icon. I also did new
  1641. document icons, which now read, "hash"..
  1642. + Added unified hash extension.
  1643. Rather than create .md5 files for MD5 hashes, and .sha1 files for SHA1
  1644. hashes checksum can use a unified ".hash" extension for both type of
  1645. hash. This is the way forward for hash files, methinks..
  1646. checksum, uniquely (syat) interrogates potential hash files on a
  1647. line-by-line basis, and so will verify both kinds of hashes, even
  1648. mixed up in the same file; the file extension is irrelevant in
  1649. determining the format of the hashes contained within. Also, in the
  1650. future, there will likely be many more hash formats in general use so
  1651. it makes sense to stop the senseless creation of extraneous file
  1652. extensions in its tracks!
  1653. NOTE: if the unified extension is enabled, checksum will merge
  1654. ("upgrade") existing hash files to match, so you don't end up with
  1655. both types, but only files of the algorithm you are currently using,
  1656. so if you are using the MD5 algorithm, checksum will merge only .md5
  1657. files in the path, not .sha1 files.
  1658. In the unlikely event of both .md5 AND .sha1 hashes existing in a
  1659. folder, running a second checksum create over the folder with the
  1660. second algorithm, and choosing "Synchronize" from the "File Exists!"
  1661. dialog will merge the second file into the .hash file, one hash at a
  1662. time. Any new hashes will be added after that. Both MD5 and SHA1
  1663. hashes will then be inside the .hash file.
  1664. checksum still works with .md5 and .sha1 files exactly as it did
  1665. before, and the unified extension is completely optional. And once
  1666. enabled, you will still, of course, be able to verify all the old
  1667. types. This is "extra" functionality.
  1668. NOTE: The unified hash extension is ENABLED by default. If you *need*
  1669. to use legacy .md5 and .sha1 files, simply disable this in your
  1670. checksum.ini
  1671. Hopefully other software writers, at least writers of software that
  1672. utilize hash files, will adopt this unified approach, but for now,
  1673. only checksum will create and recognize files with a .hash extension.
  1674. BETA TESTERS NOTE. The "hash" extension will be automatically added
  1675. to your "ignore_types" preference; you don't have to add it manually.
  1676. + Improved checksum's cross-platform Line Feed handling, and introduced
  1677. a new master "line_feed" preference.
  1678. checksum has always been able to open checksum files from any
  1679. platform (even mixed up in the same file), now it can intentionally
  1680. create them, too. At any rate, you can set a master line feed
  1681. character, which will be used in *all* file writing, that is;
  1682. checksum's hash files, text/html log files and music playlists.
  1683. You can choose between "CRLF" (the Windows - and checksum - default
  1684. Line Break character), "LF" for UNIX Line Feeds, and "CR" for Mac
  1685. Carriage Returns. You only need this if you need to create hash files
  1686. to be used on a specific non-windows platform.
  1687. Most *nix tools can handle checksum files with Windows CRLF line
  1688. breaks, as well as all Windows tools, of course, so that's the
  1689. smartest default, but you may have other needs.
  1690. + Made a slight alteration to the olive.css - errors are now more
  1691. clearly colored in olive logs.
  1692. + Introducing... multi-hashing
  1693. With the unified hash extension working beautifully, there was nothing
  1694. to stop me; save the fear of throwing a spanner into checksum's
  1695. finely-tuned inner cogs, and some fun coding; giving checksum the
  1696. capability of *creating* files with more than one hash algorithm in
  1697. them. Welcome to multi-hashing.
  1698. SHA1 AND MD5 hashes in a single file. Yes, a clever inner wrapper
  1699. enables checksum to do its usual synchronization, and line-by-line
  1700. checksum interrogation, except rather than skip creating a checksum
  1701. because one already exists, it will examine the existing hash format,
  1702. and if the current algorithm isn't there, add the new hash.
  1703. So now we have the capability to "multi-hash" (TM) our files, and
  1704. all inside a single unified .hash file. e.g..
  1705. 28b7bef31e5fbda6cfb4a4990622c754 *golden boy ep1.avi
  1706. f0d474af22b9e29843c6aeeb554b88ecac3d04ca *golden boy ep1.avi
  1707. Multi-Hashing (patend pending) most likely has super-dooper security
  1708. benefits, too.
  1709. That's pretty much everything I wanted for a public release.
  1710. * Release delayed while I chase a few silly bugs I've recently
  1711. introduced.
  1712. ~ Rather than simply append any legacy .md5 or .sha1 files onto .hash
  1713. files, checksum will now interrogate the file and add the old hashes
  1714. individually. This prevents all sorts of potential unwanted situations
  1715. and should make switching to unified hashing fairly painless, no
  1716. matter what kind of hash you've been using previously, even if you
  1717. used both - checksum will now synchronize everything inside a single
  1718. unified .hash file, and add all new hashes into that file, regardless
  1719. of their algorithm.
  1720. I've still not decided whether or not to make unified hashing the
  1721. default - I have a feeling that although it may alienate some people
  1722. (those who wouldn't realize/find out that this could easily be set
  1723. back to legacy .md5 files, if required), it's the way forward, and so
  1724. helping folk get there is good. Hmm.
  1725. ~ During checksum's initial interrogation of potential hash files,
  1726. checksum will grab only 1MB of data from the file, which prevents
  1727. someone from running into memory problems by doing something crazy
  1728. like forcing checksum to treat an DVD ISO image as a hash file.
  1729. NOTE: checksum will still check the *entire* file for hashes, which
  1730. has no impact on memory usage, regardless of the size of the file.
  1731. * Fixed a bug where checksum could be forced to create a hash for a
  1732. non-existant file (which would be empty). checksum will now halt with
  1733. a warning if you send it any invalid path.
  1734. ~ nix_paths paths (for one-file root checksums) is now disabled by
  1735. default
  1736. + checksum's ini upgrade process will now retain ALL sections of the ini
  1737. file, even ones it doesn't know about. This enables writers of custom
  1738. GUI/wrappers to store their preferences inside checksum.ini, and have
  1739. them remain after a checksum upgrade.
  1740. NOTE: checksum produces quite a few different exit/error codes which
  1741. you can utilize in your applications. They aren't very clever, for
  1742. now, but if there's enough interest, I could work up a more precise
  1743. system. Let me know.
  1744. This is a good place to let you know about hashDROP, a rather cool wee
  1745. batch-processor GUI for checksum, which I got in my mail yesterday.
  1746. Thanks seVen! Good work!
  1747. For hashDROP, see here: http://hashdrop.50webs.com/
  1748. * Fixed a bug where your shirtware registration code could be
  1749. obliterated during an install, and if then inserted, would crash
  1750. checksum - I haven't paid enough attention to the registration aspect!
  1751. ~ The Explorer context menu item for regular files has been changed to
  1752. simply "checksum", which, as well as being neat and verb-like, should
  1753. prove less confusing if people are using the Ctrl modifier to switch
  1754. to verify mode; "Create checksum" would be plain wrong.
  1755. + checksum will now notify you if it applied any unified extensions to
  1756. legacy hash files.
  1757. 0.9.22 [rc3]
  1758. + I've brought back the status information to the final verification
  1759. dialog, in other words, it will now read..
  1760. CHANGED » foo.jpg
  1761. MISSING » bar.png
  1762. CHANGED » foobar.png
  1763. etc.
  1764. ..as opposed to merely listing the erring files. This functionality
  1765. slipped away back in 0.9.17 when I created the fancy XHTML logging,
  1766. but some folk (myself included) missed it, and so it has returned.
  1767. + checksum can now create music playlists (m3u or pls) with your "root"
  1768. hash files, as well as with regular folder hashes. This enables you to
  1769. create One Big Playlist for an entire music archive, or perhaps just
  1770. your trance albums, or whatever you like.
  1771. Note: the "nix_paths" setting for root hashes also affects playlist
  1772. creation; both the direction of the path slashes, and whether or not
  1773. there's a "./" at the start (true). The music players I've tested
  1774. don't mind which way round the slashes go, or whether or not you put
  1775. ".\" at the start of the path, so it's probably cosmetic, though I
  1776. suspect some players might balk on back-to-front paths on one platform
  1777. or another. All this is only really worth noting if you share your
  1778. playlists with others, or other computing platforms around your
  1779. network. And even then, like I say, most media players don't care.
  1780. ~ It may not be noted elsewhere - I'll pop it in the prefs, too - but
  1781. regardless of your checksum file encoding options, music playlists are
  1782. *always* utf-8 encoded. If you know of a media player that can't
  1783. handle utf-8, let me know. Same for the logs.
  1784. * Fixed a bug where under certain rare conditions (creating hashes for
  1785. files on read-only media, where no valid hashable files exist; for
  1786. example, they were all "ignored" types) checksum would create an empty
  1787. checksum file along with the usual info file in the checksums folder
  1788. on your desktop. These items are now created only when real checksums
  1789. have been calculated for locked or read-only media.
  1790. ~ checksum will now only attempt to set the compression bit on your main
  1791. log folder; that is, the one set in your main preferences. It will
  1792. still attempt to compress all individual log files, no matter where
  1793. they are created.
  1794. + Added a setting for "warn_color", which is the color the progress tip
  1795. will change to if there are errors. Previously, this was fixed at red.
  1796. ~ Improved the content of generated info files (e.g. "checksum.nfo")
  1797. which gets dropped when you create checksums for files on read-only
  1798. media. I also did a wee ascii "checksum" logo. ;o)
  1799. * Fixed a bug where exiting checksum during the initial "building list
  1800. of files" stage of checksum creation caused checksum to crash.
  1801. ~ checksum will now always present a dialog at the end if you manually
  1802. exit the creation job mid-way. The dialog will also reflect this state,
  1803. as opposed to simply reporting "All Done!".
  1804. * Fixed a bug where creating hashes on writable media with read-only
  1805. areas within would create many annoying dialogs, as well as fail to
  1806. leave the hashes on your desktop; the writeability test only being
  1807. performed on the root, to avoid noisy alerts as the system tries to
  1808. write to read-only media.
  1809. However, so long as the root location is writeable, checksum will now
  1810. perform a second test, locally, which could only fail through
  1811. permissions errors, and won't risk a second alert, but *will* tell
  1812. checksum if it's possible to create a checksum file in that folder. If
  1813. not, checksum will revert to leaving them in your fallback location on
  1814. a file-by-file basis.
  1815. * re-wrote some of the sync and logging code to streamline the internal
  1816. logic, and do error-checking to catch any "unusual" conditions the
  1817. user might set up, for example, where you had already created a
  1818. checksum of some read-only files and then tried to sync it, or when
  1819. syncing a partial checksum file in a read-only folder, that sort of
  1820. thing. checksum will now intelligently handle all these sorts of
  1821. situations, and more.
  1822. * Similarly, added some error-checking to the DeTokenizer, so, for
  1823. example, if a special path @token is used for a "name" preference, or
  1824. two path @tokens are used in the same path preference, or some other
  1825. crazy thing, checksum will handle it gracefully.
  1826. By the way, if multiple path @tokens are inserted into a single path
  1827. preference, only the first will be used; in this order: @desktop,
  1828. @userdir, @checksumdir; the others discarded.
  1829. + I added a setting for "fallback_folder", so if you'd prefer any fall-
  1830. back hashes to *not* be stored on your desktop, you can set some other
  1831. location here.
  1832. Note: you can use @tokens for the fallback_folder setting. Including
  1833. a new "@desktop" token.
  1834. + In the event of a read-only fallback within a writeable area, checksum
  1835. will now re-create the read-only directory structures in the fall-back
  1836. location.
  1837. Note: in situations like this, you could always use the "1" switch to
  1838. generate a root hash that can be used to verfiy the read-only folders
  1839. in-situ. Just a thought.
  1840. + Introduced "fallback_level" setting.
  1841. This has existed as an ini hack for some time, but I decided to make
  1842. it a proper setting, and expand its capabilities some (as well as
  1843. change its name - ini hackers take note)
  1844. When checksum is asked to hash files on read-only media, it obviously
  1845. can't write the checksums in the local folders, so reverts to
  1846. "fallback mode", and leaves them on your desktop, instead (or
  1847. designated fallback folder). There are different levels of fallback.
  1848. Which level you choose depends on what you plan to eventually do with
  1849. your checksums.
  1850. Level 0 simply carries on with whatever switches you are using, except
  1851. inside the fallback location. e.g. if you are creating folder hashes,
  1852. you will find the read-only structures recreated inside the fallback
  1853. location, with individual checksum files in each folder, containing
  1854. regular relative hashes. If/when these read-only folders become
  1855. writeable, you can simply copy the folder over in one drag-and-drop,
  1856. to merge everything into the correct folders.
  1857. However, the default is..
  1858. fallback_level=1
  1859. Level 1 forces the creation of a single-file "root" type checksum
  1860. file, with relative hashes for the entire volume (or whatever you are
  1861. checking). This is fairly portable, and will enable you to use the
  1862. checksums in a variety of ways, later; perhaps by dropping the file
  1863. into a copy of the original volume, or if it becomes writeable,
  1864. dropping it directly into the volume itself.
  1865. Level 2 forces the creation of a "root" checksum with absolute paths.
  1866. If you are hashing a DVD, or similar, and you are CERTAIN that the
  1867. contents will always be at D:\ (or whatever drive letter you use),
  1868. then you can enable Level 2, and the entire path, including the drive
  1869. letter, will be inside the hash file, very much like using the
  1870. "absolute_paths" switch, except this will only kick-in in the event of
  1871. a fallback situation.
  1872. With level 2, just like absolute_paths, you can store this checksum
  1873. file anywhere, and it will always point to that same drive location.
  1874. If you think of other levels/strategies you'd like to see, let me know.
  1875. NOTE: the fallback_level setting only applies to fallback invoked by
  1876. read-only conditions in the ROOT of whatever folder structure to are
  1877. creating hashes for. If checksum discovers a read-only area within a
  1878. normally writeable volume, it will re-create the inner directory
  1879. structure inside the fallback folder, using whatever method you
  1880. specified on the command-line (basically, fallback_level=0).
  1881. In situations like these, you may prefer to create a root hash anyway,
  1882. then the inner (read-only) files could be checked in-situ, without the
  1883. need for fallback.
  1884. I realize that most folk will rarely, if ever need all this fallback
  1885. functionality, but nevertheless, I wanted it working.
  1886. ~ checksum no longer uses the system registry to store the shirtware
  1887. reminder time. checksum.ini is now used for *all* settings.
  1888. It's worth noting that the "portable" aspect of checksum - where if an
  1889. ini (preference) file exists next to checksum, it will use it - is no
  1890. more than a simple override which can be utilized in other ways..
  1891. In other words, administrators could distribute licensed versions
  1892. among their users with pre-licensed preference (ini) files installed
  1893. in the user's home folder; which they are free to setup how they like;
  1894. or else completely override all settings with one central preference
  1895. file in checksum's program directory, with different permissions.
  1896. While I'm here..
  1897. * I chased a weird bug around for a while, where extensionless files
  1898. with numeric names were being occasionally missed. It turned out to be
  1899. a bug in one of my essential libraries. Along the way I made some of
  1900. the hash interrogation routines more robust and flexible, too; able to
  1901. handle more potential user slip-ups and possibilities, as well as
  1902. support new hash formats, for example, piped sha1 output from the *nix
  1903. openssl command (sha1sum output is also currently supported, though
  1904. undocumented).
  1905. * Fixed a potential bug where passing linefeeds on the command-line
  1906. would cause checksum to ignore the hash file completely. Of course,
  1907. getting linefeeds into the command-line is pretty difficult in the
  1908. first place but I managed it, so someone else will, too.
  1909. Actually, the real reason I "fixed" this is so that I can use my text
  1910. editor's line-select (click in left margin) to send test command-lines
  1911. to checksum. Makes life easier, and also, fixes a potential bug!
  1912. + checksum's final dialog will now better describe the state of things,
  1913. for example, when nothing was done, or the user quit mid-operation.
  1914. I've also added other error messages, for example, when a file doesn't
  1915. exist.
  1916. * Fixed a bug I recently introduced where one-shot options dialog
  1917. positions weren't being stored.
  1918. * Added a couple of missing switches to the main info dialog, and made
  1919. some of the other dialogs a bit smarter, for example, not reporting a
  1920. single error as "errors", plural.
  1921. * Fixed a bug where checksum would tag a spuriuous "ERROR >> somefile"
  1922. onto the end of error dialogs if the user quit manually, "somefile"
  1923. being the file most recently checked when they quit. By the way, the
  1924. only time you should see the rather generic "ERROR >>" message is when
  1925. files become unavailable for checking, for example, when you
  1926. disconnect a removable drive in the middle of verification, though
  1927. checksum will also let you know about this at the time.
  1928. + If, for some bizarre reason, checksum files could not be written to
  1929. the original location OR the fall-back location, as well as warn you
  1930. of this problem, checksum will now list the checksum files which it
  1931. *didn't* write, as well as where it didn't write them to!
  1932. ~ Simple checksum will, like checksum, now only store its window
  1933. positions if they have actually changed. This prevents system warning
  1934. messages when operating from a read-only drive, DVD, etc.
  1935. + Added an option to enable multiple instances of checksum..
  1936. allow_multiple=true
  1937. Previously, this was always set to false, to prevent user's from
  1938. shooting themselves in the foot, trying to run multiple checksum
  1939. operations on the same physical drive, resulting in intense
  1940. disk-thrashing, and slow operation. However, if you know exactly what
  1941. you are doing, and remember to never run two copies of checksum at the
  1942. same time°, on the same physical drive°°, then you can now enable
  1943. multiple checksum instances; as many as you like.
  1944. ° Or any two hashing processes. For example, if your torrent client
  1945. is hashing a big file, and you simultaneously do some hashing of
  1946. your own (with *any* application) on the same drive, your experience
  1947. will be very similar; noisy and slow. You could probably get off
  1948. with a quick checksum job, but be warned.
  1949. °° Remember, if a drive is split into two or more partitions (volumes),
  1950. ALL of those volumes are still the same physical drive, regardless
  1951. of the fact that they have different drive letters, and it would be
  1952. wise to run hashing applications on only one of them at a time.
  1953. + Added a preference for "file_extensions", for adding file extensions
  1954. to per-file individual checksums, e.g. the checksum file for "foo.avi"
  1955. would be named either "foo.avi.md5" or the neater default, "foo.md5".
  1956. This is assuming you are creating MD5 checksums, of course.
  1957. This has always existed as a preference, but I realized that there was
  1958. no actual ini setting to set it. You can, of course, use "e" on the
  1959. command-line, and also enable it in the one-shot options, and though
  1960. it is ugly, you can now you can set it permanently in your ini, if you
  1961. wish.
  1962. Note: setting this in your prefs only takes affect when creating
  1963. individual hashes, but if you add "e" to the command-line, you
  1964. automatically force the creation of individual hash files, which is
  1965. why, even if you set this to true in your prefs, it won't be checked
  1966. if you bring up the one-shot options. Good to know.
  1967. + Added a preference for "hide_checksums", which is just like doing
  1968. "attrib +h" on a file - checksum will hide all the hash files it
  1969. creates. This is just like adding "h" on the command-line, except you
  1970. can set now it permanently (again, this was previously possible, but
  1971. had no official ini setting).
  1972. Note, if you have this set to true in your preferences, you can now
  1973. also add "-h" to the command-line to disable it for a particular job,
  1974. if required.
  1975. * Fixed the unchecked boxes in the one-shot options for root hashing,
  1976. and hidden checksums (when these were set in the prefs).
  1977. + Added another launch hotkey - Ctrl - which forces checksum into verify
  1978. mode, regardless of what was dropped on it.
  1979. NOTE: If you are using this HotKey from an explorer context menu, you
  1980. must wait until after you have activated the checksum menu item, in
  1981. other words, hit the Ctrl key right after you click the menu item.
  1982. + If a particular job resulted in nothing being done; for example, when
  1983. you synchronized a folder, but there were no new hashes to add;
  1984. checksum will now tell you this was the case.
  1985. 0.9.21 [rc2]
  1986. * Fixed a potential bug where checksum would crash if you attempted to
  1987. verify an extensionless hash file containing sha1 hashes. In the real
  1988. world, such a file should not exist, but, you ken fit like. checksum
  1989. will now correctly verify its hashes.
  1990. + checksum can now dynamically switch between md5 and sha1 algorithms on
  1991. a line-by-line basis..
  1992. In fixing the previous potential bug, I devised a better way of
  1993. working with the hashes inside a file, and as a result, checksum can
  1994. now automatically work with md5 or sha1 hashes regardless of the file
  1995. extension (.md5 or .sha1), even in the complete absence of a file
  1996. extension (when called with the "v" switch, checksum will treat any
  1997. file as a checksum file).
  1998. The upshot of all this is that checksum will happily verify hash files
  1999. with a mix of md5 hashes, even multiple legacy and regular md5 hashes,
  2000. as well as sha1 hashes, all jumbled up in the same file.
  2001. This clears the way for a unifying hash file extension, perhaps
  2002. ".sum", "sums", or even ".check". A user preference could be created
  2003. forcing checksum to give all hash files this extension, regardless of
  2004. the algorithm used. Feedback on this topic is welcome.
  2005. t z suggests ".hash". I like that, and according to filext.com, no
  2006. one else is using it. I feel a preference coming on!
  2007. * Fixed a silly bug where the writeablility test would fail if the
  2008. directory contained a file or folder called "test". Oops! The test
  2009. file now has a slightly less generic name.
  2010. * Fixed a bug where checksum would attempt to place its hashing dll in
  2011. portable mode, even if it was already there. This could lead to system
  2012. warnings if checksum was operating from read-only or locked media.
  2013. * Similarly, checksum will now only write to the ini file if there were
  2014. actual changes. Previously, settings like ToolTip position, one-shot
  2015. dialog position, etc., were always recorded regardless of whether they
  2016. had changed or not.
  2017. * Fixed a bug where choosing synchronisation and root hashes together
  2018. would crash checksum.
  2019. * Fixed a couple of minor typos in the ToolTips.
  2020. * Fixed a bug in synchronising the one-file "root" hashes, where
  2021. duplicate hashes were being created, checksum wasn't taking the
  2022. nix_paths setting into account, and the "./" at the start of the paths
  2023. was confusing it.
  2024. * checksum will now correctly uncheck the one-file 'root' checkbox if
  2025. you disable recursion in the one-shot options. Also it will check the
  2026. recursion box if you choose one-file 'root' checksums. If you don't
  2027. require recursion, there's no point in using a 'root' hash file.
  2028. * Fixed a bug where checksum would open the log folder at the end of a
  2029. verify operation when no log was made (if this was set in the prefs,
  2030. and the user specified logging to a file on the command line/one-shot
  2031. options) For example, when logging only errors, and there were none.
  2032. + checksum now supports Windows file names beginning with a space in
  2033. regular hashing as well as *nix "root" hashing (which always supported
  2034. file names beginning with a space, if you used *nix root paths)
  2035. ~ checksum will now force its one-shot options dialog to the front of
  2036. your windows. I suspect the SHIFT key has a special undocumented
  2037. capability in Windows, and places the launched application to the rear
  2038. of current windows. If you know this for certain, let me know.
  2039. ~ By default, open_log_folder_on_errors is now set to true. This only
  2040. affects new installations, where there are no user set prefs.
  2041. ~ By default, newly-installed checksum dialogs won't time-out (so you
  2042. won't ever miss them). If you want them to time-out, it's easy enough
  2043. to set this in your prefs.
  2044. 0.9.20 [rc1]
  2045. * This release of checksum will mark it as the world's first "Shirtware"
  2046. application, which is like shareware, only better. You can basically
  2047. use it for free, (even the SHA-1 hashing) so long as you at least take
  2048. a look at the corz.org shirts (more details in my devblog). It's a
  2049. philosophy as much as a license, you see.
  2050. * The Shirtware part of the new version has been sticking me (read my
  2051. blog for more details), and after coming up with this new, more
  2052. fitting form of software license (fitting! gettid? hahah!), I knew I
  2053. needed something ultra-juicy; not only uber-cute and concise prose,
  2054. but a viable system or set of dialogs to present the text; this
  2055. version will be the first that has NO TIME LIMIT, and is therefore
  2056. free to roam the earth unchecked, for ever.
  2057. (it's often when I'm releasing code and writing notes that I reveal my
  2058. workings - these things matter to me, and the odd beta tester bugging
  2059. me about the latest release, is a small price that I am happy to pay
  2060. for the time to get it right.)
  2061. This is now done, and as soon as I can get the shirtware shop up to
  2062. the org, I'll release this version, probably nicknamed "rc1", with a
  2063. view to calling it v1.0, letting it loose on the world.
  2064. * Fixed a bug in the installer, where it would place checksum.ini.new
  2065. files during an upgrade. This is no longer required; when new versions
  2066. are installed, checksum will automatically upgrade its preferences
  2067. file. You may now instead see "checksum.ini.old" !
  2068. * Fixed a bug where verifying a one-file "root" hash could cause errors
  2069. if there were other hashes in deeper folders. If you want these checked
  2070. in addition to the root hash, use regular recursive verification.
  2071. * Fixed a bug where "Yes to All" and "No to All" buttons appeared in the
  2072. "checksum found" dialog when creating one-file "root" checksums.
  2073. * Fixed a bug where duplicate hash entries could be created when syncing
  2074. a root checksum file.
  2075. * Note: if you choose to create "root" hash files, checksum will assume
  2076. you want to recurse. Otherwise, what's the point?
  2077. * You can now choose whether or not to use UNIX-style paths when
  2078. creating root hashes; that is, beginning with "./", which checksum and
  2079. most UNIX tools understand, but other Windows utilities might not. It
  2080. goes without saying that checksum can verify both varieties.
  2081. * Fixed the auto ini upgrading, it will now upgrade your ini file even
  2082. if it finds no version number there (this only really applies to beta
  2083. testers with ini files from before there was a version setting in
  2084. there)
  2085. * Fixed a bug where *nix hash files with extensions like ".txt" weren't
  2086. being recognised as hash files during recursive checking.
  2087. * If there were errors during verification, and they were logged,
  2088. checksum can now (optionally) automatically open your log folder for
  2089. you.
  2090. * Fixed some internal spelling errors inside checksum-produces files and
  2091. dialogs.
  2092. * Fixed a bug where under certain conditions, the tip window could open
  2093. off-screen.
  2094. * checksum will now allow you to verify md5 checksum files with any name,
  2095. should you wish to. Use "v" on the command-line, or input in one-shot
  2096. verify options dialog. This is in addition to checksum's ability to
  2097. automatically handle configurable *nix checksum file names.
  2098. * Fixed a bug where altering the verify path in the options from a file
  2099. to a folder wouldn't work. Now user changes are respected.
  2100. * Fixed a bug where checksum would fail to find hash files if you
  2101. switched the path in the verify options dialog from a folder to a
  2102. file. checksum will now respect whatever path is entered there, and
  2103. verify it, even if it is a single file with a non-checksum file name.
  2104. * checksum will now warn you about non-existing paths in the verify
  2105. options, and will not proceed if they are invalid.
  2106. * Fixed a bug where bringing up the creation options for a single file,
  2107. would enter the file's path into the folder input box, rather than the
  2108. parent folder.
  2109. * checksum will now accept drag-and-drop of files and folders in the
  2110. one-shot options dialog for both create and verify operations. Verify
  2111. accepts either files or folders. Create accepts folders; dropping
  2112. files onto the folder input of the create options will input the
  2113. folder part of the path, and add the file's name to the file masks
  2114. list, should you actually wish to hash the single file.
  2115. checksum will also add a single file name to the file masks drop-down,
  2116. if the one-shot options are activated via single file hash creation.
  2117. note: if you do select this single file mask, checksum will
  2118. automatically name the hash file with the file's name, rather than the
  2119. parent folder, exactly as if you had actioned it directly from the
  2120. explorer context menu.
  2121. * I notice that older ini files contain notes that are worded in such a
  2122. way that they may be re-imported into later ini files by checksum.
  2123. This in no way affects anything, other than you might see a couple of
  2124. unusual lines at the end of your [checksum] preference section,
  2125. specifically the UNIX checksum name(s)section. Feel free to delete
  2126. those. This will only affect beta testers.
  2127. * Fixed a bug where checksum would upgrade the ini, even if the ini was
  2128. brand new. This caused no errors, as such, but meant you had a
  2129. "checksum.ini.old", as well as a "checksum.ini", where previously
  2130. there was nothing; slightly confusing.
  2131. The only time you should ever see this now is if a) you genuinely had
  2132. an old ini file, or b) I forget to upgrade the version number in the
  2133. built-in version.
  2134. * Fixed the broken shoutcast playlists. Very mysterious. :/
  2135. * My installer now has the capability to issue a license agreement dialog
  2136. during the install, checksum uses this facility. You only see it
  2137. during install, not during upgrade or re-install.
  2138. * Fixed a bug in simple checksum where the options dialog would always
  2139. open with the uppercase box unchecked, even when uppercase hashing was
  2140. currently enabled. I think I was subconsciously trying to discourage
  2141. UPPERCASE hashes.
  2142. * simple checksum will now switch the case of the input box, live,
  2143. whenever you switch between upper and lowercase hashes. Also, if you
  2144. do this from checksum's built-in application menu, it will also select
  2145. the entire hash string for you afterwards.
  2146. * If you switch algoriths, simple checksum will immediately re-hash the
  2147. file/string with the new algorithm.
  2148. 0.9.19 [private test build]
  2149. * checksum will now compress the log folders using Windows built-in
  2150. folder compression (if they aren't already; and assuming your system
  2151. can do this, and compact.exe is somewhere in your path - very likely).
  2152. This can reduce the space your logs use by as much as 75%.
  2153. NOTE: if your log folder also happens to be your checksum program
  2154. folder; the logs inside it will be compacted, but that folder will
  2155. *not* be be set to auto-compact. It's better to keep logs elsewhere.
  2156. * checksum will now automatically update your ini file when you upgrade.
  2157. Thanks to seVen for reminding me about this forgotten to-be-feature!
  2158. As well as any new settings, it also means you will get my updated
  2159. notes, which continuously improve as I go along.
  2160. * I put the checksum icon into the about box. The regular one is nice,
  2161. but this makes more sense.
  2162. * The context menu "edit checksum.ini" option is now named "Edit
  2163. Preferences". It still does exactly the same thing.
  2164. * Made some MAJOR speed improvements to the checksum file building
  2165. routines. En-Joy!
  2166. For coders and md5 geeks, a story..
  2167. Because checksum uniquely checks every single line of each file for
  2168. its checksum format, and supports mix-and-match formats in a single
  2169. file (yup!), the initial "building/extracting" stage has always
  2170. taken some time; roughly two seconds per 1000 checksums, which
  2171. though not a lot, can mount up.
  2172. I decided I wanted to cut this time, and set about to make this
  2173. mix-and-match support optional; split out the routines - checksum
  2174. looks at the first line only, and establishes a format type, and
  2175. from there on, assumes that all following hashes are of the same
  2176. format. Having got this working, and feeling rather chuffed with
  2177. myself, I started to test these staggering speed differences I was
  2178. expecting to see, after all, with this mix-and-match checking
  2179. omitted, a lot of code would now be bypassed on each and every
  2180. line, surely saving oodles of time over many files..
  2181. The differences were almost non-existent.
  2182. Somewhat puzzled (though secretly happy that my mix-and match code
  2183. must be pretty darned efficient) I started to investigate..
  2184. The way checksum verification operates is to scan for hash files
  2185. ("Building file list for so-and-so..."), read all the lines in them,
  2186. decide what format each line is, Solaris, whatever, and pluck out the
  2187. file name/hash pair for that line, store it in an array (basically a
  2188. list) (the "Extracting hashes from so-and-so.md5" bit). Once the
  2189. complete array is built, checksum runs through it, comparing the
  2190. hashes from this list with actual hashes of the files themselves.
  2191. With me, so far?
  2192. The array begins empty, and then is increased in size, by one element,
  2193. each time a new hash is added to it. To do this, I use Redim(), to
  2194. resize the array. From working on my recursive file search functions
  2195. last year (used in everything, including checksum, and available from
  2196. corz.org/engine , so you can use them too - there is no faster nor
  2197. more accurate AutoIt recurse routine, syat!) I remembered that Redim()
  2198. was comparatively slow, and I'd instead opted to create a BIG *empty*
  2199. array, and then fill as much of it as needed as I went along. I don't
  2200. remember exactly *how* much faster this approach was, but I do
  2201. remember it was faster; so I decided to use a similar approach in
  2202. checksum itself.
  2203. So checksum now creates an initial empty array with enough
  2204. capacity for the whole checksum file (by first calculating the
  2205. number of lines in the file); small array for single checksum
  2206. files, potentially HUGE array for HUGE checksum files. Then I
  2207. tested again..
  2208. O M F G !
  2209. My current test folder (a 7000+ file python install) used to take
  2210. 14 seconds to build and assimilate all the hash information before
  2211. beginning the actual hashing. With the new system, that time is
  2212. now 0.34s. Yes, ZERO POINT THREE FOUR SECONDS! lol
  2213. So, erm, if you code with AutoIt, avoid Redim() at all costs!
  2214. While I'm here, I have to thank Tom Marriott for all the help with the
  2215. timing tests, I just don't have the patience to work with all those
  2216. brain-dead md5 utilities! AARRRGHHH!!! A couple of them are pretty
  2217. quick, though! *wink*
  2218. So, back to the original headline - MASSIVE speed improvements
  2219. have been made; and verifying hashes, even mix-and-match legacy
  2220. copy+pasted messed-up hashes, will be as fast as creating them in
  2221. checksum always was.
  2222. By the way, the actual internal limit on the size of a checksum
  2223. file is 8,388,606 lines, which would be equivalent to a checksum
  2224. file around 700MB in size! If you ever manage to create a checksum
  2225. file this big, checksum will then use almost 70MB of memory for
  2226. the initial empty array. Of course, in the real world, checksum
  2227. files are nowhere near that big, but if you fancied hashing the
  2228. entire internet or something, now you know. ;o)
  2229. * Fixed a bug where binary files matching the UNIX MD5 filenames (with
  2230. wildcards, e.g. md5sum.zip matches md5sum*) would crash checksum, which
  2231. should no longer happen.
  2232. checksum will now also attempt to interrogate the files, and NOT pull
  2233. hashes from them. This still isn't foolproof, though checksum does
  2234. perform a couple of rigorous checks. I've also made the default UNIX
  2235. types in the ini file more sensible, so this situation is less likely
  2236. to occur in the first place - "md5sum*" is a bit loose :/
  2237. If bad files occur in the middle of a multi-file operations, checksum
  2238. will carry on, inform you about the bad files at the end of the
  2239. operation.
  2240. * Added the total operation time to the title bar of the final verify
  2241. dialog. This will be longer than the time (if any) in your logs, which
  2242. is the raw hashing time, only, generally much smaller.
  2243. I should note, that certain other MD5 utilities tally this raw hashing
  2244. time, and present THAT as the total time taken (which, in reality
  2245. includes lots of other operations; file-handling, logging, and so on).
  2246. If checksum started doing this, we would have an instant 1000% speed
  2247. increase! Perhaps a "Weekly World News" version could have this. ;o)
  2248. * Checksum will now post a dialog at the end of a hash creation
  2249. operations, as well as verification. Reason being, if you are a
  2250. speed-freak, and have ToolTips disabled, there is no way to know the
  2251. final time, which you NEED to know, right? Now you can.
  2252. This also applies to any final error dialog you might get.
  2253. Standard "long operation" rules apply, so it will only show after
  2254. however long you have set as a long operation.
  2255. I should add; I always meant to have a dialog at the end of checksum
  2256. creation, but hadn't gotten around to it. Running with ToolTip disabled
  2257. for the recent speed tests reminded me.
  2258. * I went back into the dll for the first time in months, to fix a couple
  2259. of issues with the C++. checksum will no longer crash when attempting to
  2260. md5 hash in-use locked files (such as Perflib_Perfdata_***.dat - if you
  2261. were hashing your Windows folder, for example).
  2262. In fact, I switched its file-handling routines to match my SHA1 code,
  2263. and now, as well as being uncrashable (heh, we'll see) it's also
  2264. *slightly* faster, though you would need to be performing some fairly
  2265. accurately-timed tests to notice any real change. Also, just like the
  2266. SHA1 hashing side of things, even with locked and in-use files, you
  2267. will always get your hash.
  2268. * checksum will, by default, create/verify hashes for up to only a
  2269. million folders, and up to a million hashes per folder - which
  2270. preserves ram. If by some slim chance you have more than a million
  2271. folders to check at one time, or folders with more than a million
  2272. files in them, you can override this by hacking..
  2273. max=3000000
  2274. or whatever you like, in your ini, up to a maximum of 8388606.
  2275. Probably no one will ever need this; I just like to add this sort of
  2276. hackability for those special, one-off cases. Note: this will use more
  2277. RAM, at least 10MB per extra million you add above the default (of one
  2278. million). If you have gobs of RAM you could conceivably set it to the
  2279. max and forget about it.
  2280. * During pre-release tests I realize that the installer still places a
  2281. "checksum.ini.new" file on upgrading, darn! - checksum no longer needs
  2282. this capability; I'll need to make that disableable (is that a word?)
  2283. in the installer, before it goes out to the beta testers. I guess this
  2284. will be a private build, then.
  2285. 0.9.18.1
  2286. * checksum now posts what it is doing when pulling hashes from a file,
  2287. this fixes the bug where you would see a blank ToolTip while pulling
  2288. hashes from a root checksum (which can sometimes take a few moments,
  2289. if it's a large file - for regular checksum files it passed too
  2290. quickly to see)
  2291. * checksum will now allow you to exit while pulling hashes from a file.
  2292. Previously it would ignore the request.
  2293. * Apparently, most other Windows hashing utilities can't handle utf-8 :/
  2294. Seems weird, when Windows has been UTF-savvy since the Nineties. So,
  2295. in case you need to share hashes with users of ANSI-bound (probably
  2296. American) MD5 utilities; I have made utf-8 optional, in the prefs..
  2297. utf8_hashes=true
  2298. * checksum now handles ejected and missing drives in a more graceful
  2299. fashion.. If it encounters a missing file, it checks the status of the
  2300. drive, and if it isn't available for some reason, will post a dialog
  2301. warning the user of the problem, and asking if they wish to continue
  2302. (after re-inserting the disk, perhaps), or quit.
  2303. This also works if you are verifying a checksum file on a fixed drive,
  2304. with absolute paths to an ejectable drive that is, or becomes
  2305. unavailable.
  2306. It should work for any drives that become unavailable, including
  2307. network volumes, though I haven't tested this myself, yet.
  2308. Two new style classes now exist to facilitate this error condition
  2309. (indeed, any error condition that may yet be coded into checksum).
  2310. They follow the same format as the other status styles, and are..
  2311. "ERROR", and "checksum-ERROR", the latter being for the message
  2312. itself, which will appear where the file path normally would.
  2313. * Fixed an issue where a double-path was being logged when verifying
  2314. checksum files with absolute paths in them.
  2315. * Fixed a bug where toggling the Progress ToolTip from the tray while
  2316. the options were open, would bring up an error. Those options won't
  2317. appear now until they are supposed to.
  2318. * checksum now uses my Standard About Box, and shows the version
  2319. information in the dialog (at last!).
  2320. * checksum now posts certain dialogs as modal, to prevent them dropping
  2321. behind other windows, which can be annoying.
  2322. 0.9.18
  2323. * Fixed the errors in the tray; you will no longer see HTML there if
  2324. you are creating HTML logs. The list should now be much neater, too.
  2325. * checksum will now write hash files, playlists and logs as utf-8. I'd
  2326. assumed (always a mistake) that this was automatic on XP, but it's
  2327. not. This will be most noticeable in the logs, where the names of your
  2328. Eastern European folk albums will once again look authentic!
  2329. * Increased the timer display granulation in the html logs from two
  2330. decimal places, to three - checksum was finishing so fast, that the
  2331. finish time being less that 0.01 seconds, would become 0.00 seconds,
  2332. which = false. The timers are now also more accurate.
  2333. checksum will now always print the time, up to three decimal places.
  2334. NOTE: you will still occasionally see "[checked in 0s]", for instance
  2335. when all the files in a checksum are missing - that's simply because
  2336. the hashing was completed in under 0.001 seconds. No way I'm
  2337. displaying four decimal places to catch these! Be content in the
  2338. knowledge that the operation was "very very fast indeed".
  2339. * The log timers have been fixed. In truth, I'd tagged this on at the
  2340. end of the day, remembering that a couple of beta testers had
  2341. mentioned they'd like to see times in the log - and hadn't really
  2342. thought it through. After a big spliff on Sunday night, I could
  2343. immediately see the flaws in my previous logic, and set about on a
  2344. whole new scheme of internal logging. In short; the log timers have
  2345. been fixed.
  2346. * Fixed the div-escapees. Under certain conditions, hashes in the log
  2347. would escape their divs, and be box-less. Fact is, I ripped out the
  2348. HTML creation code and re-coded it. It is now far more robust. It
  2349. should be noted that even when some hashes escaped their divs, the
  2350. output was still 100% XHTML Strict!
  2351. These internal changes will also make it easier to collect and add
  2352. other data to the logs. What would you like?
  2353. * Log append in text mode now works as expected (the setting had gotten
  2354. reversed!)
  2355. * The plain text logging also uses the same system (the only difference
  2356. being the final parsing; either to plain text or html). Thanks to
  2357. this, the plain text logs will now display the checksum file checked,
  2358. and the hashing times, just like the HTML logs; and future data types
  2359. can also be inserted into the text logs just as easily as with the
  2360. html logging. So, what would you like?
  2361. * checksum will now once again present you with a dialog for errors,
  2362. even when log-to-file is enabled. I'd broken this earlier. If you
  2363. want no dialogs, simply pass the "q" switch. I also improved the
  2364. logic and file list in the final error dialog, which now thoughtfully
  2365. also tells you where the log *is*, just in case. I may make it instead
  2366. present a.. [yes/no] would you like to open the log?
  2367. NOTE: The final dialog can be taken quite literally..
  2368. "A log WILL be created here.."
  2369. In that, it hasn't happened yet. Only when you click okay, will the log
  2370. itself be created. This is by design. For instance; if you have set
  2371. log append to true, but realize you prefer this in a new log, you can
  2372. rename/delete/move the old log *before* you okay the dialog, and and
  2373. you will get a fresh log.
  2374. * In the plain text logs, passed files are logged. "Passed:: C:\blah..."
  2375. The "::" being what I use as a comment in batch files and logs, and so
  2376. displays in faded text in my editor, just like the passes in HTML logs.
  2377. This also keeps CHANGED, MISSING, and Passed entries nicely lined-up.
  2378. If you want this plain text highlighting, but "::" isn't a comment
  2379. initializer for .log files in your text editor, it's probably easy
  2380. enough to add. Check your prefs for syntax highlighting for the .log
  2381. file type.
  2382. * Thanks to the new internal logging structure, we can now go "back in
  2383. time", and do things like give the title of the checksum a different
  2384. color IF there were errors inside. So I did that. It's a new CSS class
  2385. "has_fails", so you can either have them show as red (or whatever) or
  2386. the same color as the other checksum titles. By "titles", I mean the
  2387. clickable header <h4> text that is the name of the checksum file itself.
  2388. Similarly, a new css class "day_fails" can be accessed to give the
  2389. main <h3> header/title (date/time verification began) a different
  2390. color, if you so desire.
  2391. If you log everything, you can now see at-a-glance which days, and
  2392. which checksum files within those days, have errors inside. Handy, if
  2393. you use it.
  2394. * The "f" switch will now correctly set the "log to file" checkbox in
  2395. the verify options dialog.
  2396. * Shortened the length of the error beep to 20 milliseconds.
  2397. * You can now have full paths to the checksum files in the titles of the log;
  2398. handy if you use a generic name for your checksum files. In your ini..
  2399. hashfile_paths=true
  2400. It's quite possible that with hashfile_paths set to true, the title
  2401. could get *very* large, so checksum will thoughtfully truncate it to
  2402. however long you specify..
  2403. truncate_at=72
  2404. note: the truncation occurs in the middle, so you can always see the
  2405. name of the actual checksum file.
  2406. * Styles can now be embedded within the log files themselves, if you so
  2407. wish. You master checksum.css will be used as the template for the
  2408. embedded styles, so you can edit that, and all your logs will contain
  2409. your new styles
  2410. embed_styles = true
  2411. * The master_styles setting now accepts true/false, as well as the
  2412. location of an overriding master style sheet. The blank setting
  2413. is deprecated, though will still work (at least for a while)
  2414. It is more logical now; the style settings all accept the same
  2415. parameters; either true/false, or the location of a style sheet.
  2416. e.g. if you wanted ONLY embedded styles, you simply set fallback
  2417. and master styles to false.
  2418. NOTE: if you set embed_styles = true, you don't get the built-in
  2419. .status { float: right; } style (which is the only style the logs
  2420. include) so you need to ensure you have that covered in your css -
  2421. it's in the default sheet, anyway.
  2422. * Added Enable/Disable Audio Alerts menu item to the tray, and ToolTip
  2423. context menus. Handy if you have a lot of errors, or want peace. This
  2424. setting is permanent; or at least, until you change it.
  2425. * Added a separate setting for beep frequency. The old method of setting
  2426. the frequency was funky, but this is clearer, and makes it easy to
  2427. implement user-toggling, which I did.
  2428. * Re-ordered the ini file - putting all the new settings into related
  2429. groups. It wasn't too bad, but should now hopefully be more logical.
  2430. I also added lots of notes and default settings records, to make it
  2431. easy to revert anything you tweaked.
  2432. * Fixed the options dialog position issue (it was sucking prefs from the
  2433. ToolTip, and often opening at the very edge of the desktop).
  2434. * Expanded the log location input box on the verification options dialog
  2435. it probably looks messy now (because it escapes its group) on anything
  2436. but flatish schemes (like mine is) and I'll likely end up redesigning
  2437. the dialog, to take into account all the new verification options. In
  2438. the meantime, at least you won't have to suffer the input's
  2439. infuriating smallness.
  2440. * If you quit verification in the middle of a checksum file, checksum will
  2441. now correctly report the time taken, up to that point.
  2442. * Display of times in the log is now optional, a new setting;
  2443. "display_times" enables you to switch it on and off. It's off by default.
  2444. * A new setting, "total_times" enables you to have the total verification
  2445. time tagged onto the end of the checksum headers (<h3> date/time). It's
  2446. a bit ugly, so is disabled by default. But if you want this, there it is.
  2447. This is not the total time taken for the entire operation, but an exact
  2448. running tally of the time taken to process each individual hash.
  2449. NOTE: If "display_times" is disabled, "total_times" is also disabled.
  2450. ALSO NOTE: If you disable these logging timer prefs, checksum won't
  2451. bother to time individual hashes, and so there may ironically be a
  2452. performance improvement. So you have to ask yourself, are you more
  2453. interested in *seeing* the hash times, or the *actual* hash times! ;o)
  2454. The difference will be negligible, but still, food for thought.
  2455. Neither of these two new setting has any effect on the overall timer
  2456. which displays in the final ToolTip; a single, simple, overall timer.
  2457. NOTE: these changes also apply to plain text logging.
  2458. * At some point recently, a local path change in my own system meant the
  2459. .md5/.sha1 document icons weren't stored inside checksum.exe, as they
  2460. should be. They are back now. Running the installer (upgrade) will sort
  2461. everything out, and refresh your desktop icons, too.
  2462. * seVen sent me a nice olive theme for the logs, so I messed with it,
  2463. and made an olive version of the background image to accompany it, and
  2464. dropped it in the extras folder. You can set it as your fallback
  2465. style, or master style, if you like, or use it as a template for
  2466. embedded styles. It will also always be available here..
  2467. http://corz.org/windows/software/checksum/files/olive.css
  2468. You can see demos of the log output here..
  2469. http://corz.org/windows/software/checksum/files/checksum-example-log-output.html
  2470. http://corz.org/windows/software/checksum/files/checksum-example-log-output-olive.html
  2471. * I changed the location of the background image into the same folder
  2472. as the css files (sorry testers! any logs you made with the old version
  2473. will point to the wrong place - but I'll leave the image there for a
  2474. while, yet. If you really need a background image in those old logs, a
  2475. find & replace will fix them!)
  2476. I figured it made sense to keep all these resources together - as well
  2477. as the example logs, and css, there's also alternative css and reg
  2478. hacks in there. So I've made the folder accessible from the web, and
  2479. it becomes as kinda drop-box for "extras". Help yourselves! ..
  2480. http://corz.org/windows/software/checksum/files/
  2481. * checksum can now prepend the (base)name of the path checked to the main
  2482. titles, so you get..
  2483. [2006] Rodrigo y Gabriela @ 2007-11-21 14:14:00
  2484. instead of just the date & time. If you log all your checksums for a
  2485. particular path in the same file, you probably don't want this behaviour,
  2486. but if you do, do..
  2487. path_in_titles=true
  2488. * By default, checksum logs will now open with all the sections closed.
  2489. Reason: if your logs start to get *large*, all those sections open can
  2490. slow down your browser's page rendering. You can, of course, click the
  2491. main title to open all the sections in one go.
  2492. If you prefer them open, use your own template.html (details below)
  2493. * Times in the log now have their own style class; "log_times", rather
  2494. than simply being <small>text</small>, so you can have them really
  2495. tiny, or whatever you like.
  2496. * seVen (again - busy lad!) sent me updated versions of the portable
  2497. mode command processors; those handy drag-and-drop thingies that make
  2498. life powerful and easy on pen-drives, floppies (whatever they are),
  2499. DVD-R, and those kinds of places. Among other improvements, the
  2500. commands are now able to suck prefs from your checksum.ini, and even
  2501. understand some checksum @tokens, too. Impressive. Available in your
  2502. extras/ folder in the distro.
  2503. 0.9.17
  2504. * You can now access the tray menu while the options dialogs are open,
  2505. as well as when checksum is actually doing something, as ever.
  2506. * You can now use the token @userdir in your log_folder setting, which
  2507. is transformed into your application data folder (where checksum.ini
  2508. lives by default). So, to use a folder in there called "logs", do..
  2509. log_folder=@userdir\logs
  2510. Which is now the default setting.
  2511. * Made further improvements to the log path functionality, and logging
  2512. relative to the checked dir should now work as expected.
  2513. * (x)html logging. ;o)
  2514. Well, here it is! And I have to say, so far, it's working beautifully
  2515. and looking exactly as I imagined it would - including pesky Javascript!
  2516. All styles, color and position is controlled by CSS, and a default
  2517. style sheet is provided along with the new release (it is placed
  2518. automatically for you, but once done, you can edit/alter that to
  2519. suit your needs). More information about this inside your ini file.
  2520. A couple of new options are now available..
  2521. * log_format - chose from "text" or "html". The text logging is
  2522. unchanged. the html logging, of course, is all-new.
  2523. * append_log - rather than create fresh logs each time, append out-
  2524. put to an existing log. If you set this to true, and use your log
  2525. file name @tokens creatively, you can get automatic log rotation
  2526. on a daily/monthly/etc basic you could even have logs for each
  2527. particular checked folder, automatically rotating every month!
  2528. @tokens + append = free energy! Like I said, get creative!
  2529. There is still functionality to add to the XHTML logs, but the basic
  2530. page generation works superbly. I'll be adding more as time goes on.
  2531. NOTE: I did a fair bit of internal re-wiring for the html logging,
  2532. improved other internal structures, so this release is definitely
  2533. going to be classed as "UNSTABLE" for now, though everything seems
  2534. to be working great on my own system.
  2535. About the css (style sheet)..
  2536. Even without any styles, your logs will still be formatted, and
  2537. have all the groovy expand/collapse action; they'll just look like
  2538. sh*t, that's all! To keep everything as funky as checksum is,
  2539. requires css..
  2540. A default style sheet should have been placed next to checksum.exe
  2541. (the first time a log is created). Originally I intended to drop the
  2542. master style sheet in your user folder, but as this location needs
  2543. to be hard coded into the logs, it's actually more future-proof to
  2544. use checksum's location (if you upgrade to Vista, you will no longer
  2545. have C:\Documents and Settings, for a start). This also helps in
  2546. portable mode, where checksum will intentionally forget what a user
  2547. folder even is!.
  2548. So, the master style sheet is next to checksum.exe, along with the
  2549. other auxiliary files. You can edit styles there if you want.
  2550. Better yet, leave it as-is, and make a copy into your logs folder..
  2551. The log files will import *three* style sheets, in order; starting
  2552. with a live sheet from corz.org (fall-back styles - should always
  2553. be available), followed by your default sheet (next to
  2554. checksum.exe), and finally, your local style sheet (next to the
  2555. logs themselves), if you have one. The first "C" in CSS, stands
  2556. for "Cascading", C! This behaviour is configurable. (see below)
  2557. You can easily override any and all styles in your *local* style
  2558. sheet. Or you can edit your master checksum.css as you like, and
  2559. also use extra overriding styles in local areas. Or whatever you
  2560. like! Don't like the log's cool background image? Edit your CSS!
  2561. If you don't want to use the corz.org fallback styles, in your
  2562. checksum.ini, do..
  2563. fallback_styles=false
  2564. If you want to specify your own master style sheet, you can do
  2565. that with..
  2566. master_styles=file:///C:/Design/styles/checksum.css
  2567. .. or a regular http://address, or whatever you need.
  2568. * One final note about the log files (for now): checksum drops its
  2569. header template into your temporary folder while it is working,
  2570. BUT, if you happen to have a file called "template.html" next to
  2571. checksum, it will use that instead. You might want to make better
  2572. JavaScript, or something. To get started, simply copy the output
  2573. from a log file, down to..
  2574. <!-- end header template - checksum will take over from here -->
  2575. ..and edit to your heart's content. Have fun!
  2576. * Fixed up logging switches for verify dialog.
  2577. * The time taken to process each checksum file is now recorded in the logs
  2578. 0.9.16.1
  2579. * Fixed a typo (which caused a fatal error) in the quit mode routines.
  2580. * Fixed a bug in the relative logging - apparently, when the folder
  2581. containing the running application is a drive root, the system/autoit
  2582. adds a "\" backslash when returning its path. How thoughtful! *sigh*
  2583. I also improved other error-checking in the log_path routines, so it
  2584. should now work under all conditions.
  2585. 0.9.16
  2586. * Fixed a bug where if you created folder checksums on a write-protected
  2587. floppy disk, you would get a blank file called "A" on your desktop!
  2588. * Fixed a fiendish bug I'd introduced in the one-file hashing. It will
  2589. now function as expected, regardless of whether it was invoked with
  2590. the "1" switch; or automatically, as a fall-back for read-only media.
  2591. * seVen couldn't wait for me to get around to the XHTML logs, and
  2592. created a rather nifty utility to convert checksum's plain old text
  2593. logs into lovely html, with errors in red! Good work, Sir!
  2594. You can find log2html in the latest release/extras/logging/
  2595. To use, simply drop the application into the folder where your logs
  2596. are, and run it. Drop the resultant .html files into your web browser.
  2597. * Jon (the Wolfman) has been bringing some interesting bugs to my
  2598. attention over the course of the last couple of weeks. the most recent;
  2599. something that only appears when you use explorer to attempt to create
  2600. checksums on read-only media..
  2601. When checksum attempts to write to the volume, the system throws up an
  2602. error along the lines of "can't write bla bla ... cancel, try again, or
  2603. continue", a bit like the old DOS errors. while the initial dialog is
  2604. unavoidable, checksum had started to throw up two dialogs, and if you
  2605. had existing checksums on the volume, THREE!
  2606. At most, you will now get one dialog. There's nothing I can do about
  2607. this one dialog, as far as I know; checksum needs to attempt to write
  2608. to the disk at least one time, to know whether or not it is writable -
  2609. a read-only volume won't necessarily have its "read only" bit set, you
  2610. see. In fact, it almost never will.
  2611. * Added a switch for Windows Absolute Paths (i.e. *D:\path\file.foo)
  2612. It is "k" (Think 0K [Kelvin] - Absolute Zero!) This is only for
  2613. one-file, aka. "root" checksums. If you have this set in your prefs,
  2614. "-k" will disable it.
  2615. * Fixed the verification tooltip. It now correctly displays the checksum
  2616. file being processed and the basename of the file currently being
  2617. checked, not the *full* path of the file, which could go clean off
  2618. your screen, and then some!
  2619. * fixed a bug I'd introduced in the last version where you would get a
  2620. double log. (I'm preparing the ground for the XHTML logs, see!)
  2621. * The web page should be pretty much up to date now. There's a nice,
  2622. fairly ordered list of all the switches there, handy if you are
  2623. cooking up something special.
  2624. 0.9.15
  2625. * Added the "1" switch to the switch checking routines. I could have
  2626. sworn I'd done that! Setting one_file in your ini worked fine.
  2627. * If you want, you can set a single generic name for your checksum
  2628. files. This obviously only takes effect when hashing folders.
  2629. Just like the log names, you can use @tokens in this name, so it can
  2630. be dynamic-generic! See log_names (below) for a full description of
  2631. the available tokens. The default setting is blank..
  2632. hashfile_name=
  2633. .. in which case checksum will name the hash file after the folder
  2634. it refers to. This is functionally identical to..
  2635. hashfile_name=@item
  2636. When creating your own names, you do not need to add an extension;
  2637. the correct extension (.md5 or .sha1) will be added automatically.
  2638. (unless, of course, you want two extensions, i.e ".my.md5")
  2639. * I uncovered an interesting bug in one of my supporting libraries
  2640. which manifested when creating folder checksums inside a folder
  2641. called, for instance..
  2642. I:\work\dev\all files\test\a
  2643. My GetParent() function was removing the "\a", as expected, but
  2644. removing it from "dev\all files", making "devll files", unexpected!
  2645. This resulted in logs on your desktop instead of inside the checked
  2646. folder (unless you had specified a log location)
  2647. I've now written a more robust GetParent() function.
  2648. (btw, to users of "corz_essentials" function library - upgrade!)
  2649. * Fixed a bug where, during folder hashing, empty checksum files were
  2650. being left around for folders containing only ignored files. No,
  2651. this was not some crazy corz.org advertising ploy!
  2652. * Fixed a bug I'd introduced in the last version, where under certain
  2653. conditions (which is a programmers way of saying "most of the time")
  2654. the timer was being reset periodically during creation operations.
  2655. Actually, it only happened when you were there were existing checksum
  2656. files. But it was a good gag. ;o)
  2657. There were a couple of other foibles with the timing. It should all be
  2658. nailed down, now. Let me know if you see any strangeness!
  2659. * removed the erroneous log_folder entry in the default checksum.ini.
  2660. It's very likely that "C:\Documents and Settings\cor\Desktop\wirefiles"
  2661. doesn't exist on your system. sorree. :/
  2662. Truth is, I'm still getting to grips with trying to test all sorts of
  2663. scenarios on a single machine, and settings from one ini have been
  2664. seen to drift into another. I guess I should leave all this testing
  2665. to the, erm, beta testers. Good thinking cor! :roll:
  2666. * There is now a setting to tweak the magic stretch value of the tooltip.
  2667. * checksum will now correctly remember the position of the options
  2668. dialogs after the verify option. Previously it only remembered it
  2669. after creation options (both use the same setting). No one noticed.
  2670. * If you select multiple files in explorer and choose checksum from
  2671. the context menu, checksum will behave as the previous version,
  2672. presenting an error for the multiple launches, except, it will now
  2673. present only one dialog, regardless of how many items you selected.
  2674. * Added a setting for pause on completion
  2675. Normally, if you have the ToolTip enabled, checksum will pause at the
  2676. end of an operation, so you can see the final result. You can now
  2677. change the length of that here, in milliseconds. The default is 1000
  2678. (one second). Set pause to 0 to disable the pause, or pass 'n' (for
  2679. "no pause") on the command-line.
  2680. This was mainly added for seVen's cool command processor scripts; so
  2681. you don't have to endure a pause after each file in the queue; but
  2682. it's also a handy setting to have available, generally.
  2683. * Fixed a bug where checksum would refuse to quit if you asked during
  2684. a scan (building lists of files to hash, or verify)
  2685. Note: checksum will never exit during an actual hashing operation;
  2686. it would be too speed-costly to code this; if you are hashing a large
  2687. file, you must wait until it is done. It's okay to quit in the middle
  2688. a multiple operation, between files, so to speak.
  2689. * checksum will now attempt to bring its window to the front when
  2690. launched (if it isn't already) - holding down the SHIFT key in
  2691. windows explorer seems to do something to the z-index of desktop
  2692. windows preventing this happening naturally, though this could be
  2693. my own system doing this. At any rate, it's smart to do this.
  2694. * On verification errors, checksum's ToolTip windoid will flash red.
  2695. It will also turn red (with white text) for the final error message.
  2696. * Wrote some rudimentary notes and info for seVen's new D&D command
  2697. processors. There are currently in /extras/command processors, and
  2698. are designed to assist you when running in portable mode, or otherwise.
  2699. more information can be had in the local .nfo file.
  2700. 0.9.14.1
  2701. * fixed an issue where if you attempted to launch more than one copy of
  2702. checksum simultaneously, you would get a cryptic error message. You
  2703. are, of course, supposed to get a terse, informative message.
  2704. A silly last-minute mistake; the new dialog time-out setting applying
  2705. to a dialog that could pop up before the location of the ini has even
  2706. been ascertained. Oops. This dialog will now time-out in 30 seconds
  2707. (as it's user-activated, it's unlikely to need to be up any more than
  2708. a moment)
  2709. 0.9.14
  2710. * Using the 'q' switch (quiet mode) no longer affects the tooltip,
  2711. you can enable/disable that as required
  2712. * You can now enable/disable the tooltip with 't'/'-t', respectively.
  2713. This will override your ini setting, whatever it is.
  2714. * fixed a bug I'd introduced in the last version - leaving the
  2715. writeablity tests lying around. oops! 0.9.13 was unreleased, anyway.
  2716. * checksum will no longer allow multiple copies of itself to run
  2717. simultaneously. Apparently (and I can't replicate this - probably due
  2718. to my explorer context menu customizations - 'peek', I think) - if
  2719. you make a multiple selection and then choose checksum from the
  2720. context menu, it would open multiple copies, which would all jump into
  2721. action, working on a heap of files in the same directory. If these
  2722. were large files, this could have SERIOUS speed implications, just
  2723. like hashing p2p-downloaded files, the disk heads will be thrashing
  2724. around like crazy, doing a round-robin on the data-stream. Yikes!
  2725. Now checksum pops up a dialog for any extra launches, informing you of
  2726. the boo-boo, and exits.
  2727. * you can now choose to have checksum *not* notify you of success,
  2728. unless it was a "long operation". Just how long constitutes a long
  2729. operation, is up to you. Remember, if there are failures, you always
  2730. get notified somehow, so this fits in with checksums broad design
  2731. goal of "no news is good news!".
  2732. * At the end of a verify operation, the success/failure status is
  2733. displayed in the final tooltip.
  2734. * the log_location setting has been deprecated - checksum will now name files
  2735. automatically. However..
  2736. * You can now set a permanent folder for logging, if you wish.
  2737. leave blank to log to the top-most folder checked (the default)
  2738. if you specify a full path, checksum will use it.
  2739. if you specify something else, checksum will assume you wish a folder
  2740. named this to be created/used in the top-most folder being checked.
  2741. In other words, you can set a relative, or an absolute path.
  2742. * There is also a special token
  2743. @checksumdir
  2744. which you can use to specify checksum's current directory (where
  2745. checksum.exe is), so if you were running off a pen-drive, and had
  2746. a copy of checksum inside a top-level folder called "checksum",
  2747. and wanted checksum to create a folder *inside* there called
  2748. "logs" (or use it, if it already exists), you would do (in your ini)..
  2749. log_folder=@checksumdir\logs
  2750. * And finally for logging (for now), you can configure the name of the log
  2751. itself..
  2752. As well as typing in a regular file name, such as "checksum.log", you
  2753. can use cool @tokens to insert the current..
  2754. @sec seconds value. from 00 to 59
  2755. @min minutes value. from 00 to 59
  2756. @hour hours value, in 24-hour format. from 00 to 23
  2757. @mday day of month. from 01 to 31
  2758. @mon month. from 01 to 12
  2759. @year four-digit year
  2760. @wday numeric day of week. from 1 to 7 which corresponds to sunday through saturday.
  2761. @yday numeric day of year. from 1 to 366 (or 365 if not a leap year)
  2762. There is also a special token: @item which will be transformed into the name of the
  2763. file or folder being checked, and @status, which transforms into the success/failure status
  2764. You can mix these up with regular strings, like so..
  2765. log_name=[@year-@mon-@mday @ @hour.@min.@sec] checksums for @item [@status!].log
  2766. Put quotes around it if you like, though it doesn't matter.
  2767. The @status strings can also be individually configured..
  2768. status_fail=ERRORS
  2769. status_success=100% AOK
  2770. With the defaults, above, the final log name might be...
  2771. [2007-11-11 @ 16.43.50] checksums for golden boy [100% AOK!].log
  2772. chew on that, seVen! ;o)
  2773. * your status strings will also be tagged onto the end of the final ToolTip, so you can
  2774. check the final status at a glance; handy if you have the audio disabled, or are deaf.
  2775. * checksum will now correctly add the 'f' switch automatically if you add
  2776. the 'l' (log everything) switch.
  2777. * checksum will now correctly add the 'i' switch automatically if you add
  2778. the 'e' (file extensions) switch.
  2779. * "beep_on_failure" has been deprecated in favour of "beep_alerts"; reason
  2780. being, if you enable it; as well as failure beeps, checksum will emit
  2781. a final "bebeep" (meaning; a slightly faster, double-beep - Hey! I got
  2782. that cool word from my camera's manual!), which will double in pitch
  2783. if everything was 100%. If you have long_operation set to a non-zero
  2784. value, this can be a handy background indicator of the status of the
  2785. in-progress and final verification status.
  2786. * checksum now posts the the item and total numbers, e.g.
  2787. "creating checksums: [folder 3 of 19][file: 2 of 264] movies\2001.avi"
  2788. This also works when verifying checksums, though there may be bugs.
  2789. * If all this information annoys you, either disable the ToolTip, or simply
  2790. drag the tip over to the right-hand side of your desktop, positioning all
  2791. the bits you don't want to see, off-screen! It's quite nice running away
  2792. displaying only "verifying [file: 3 of 1003] ", or whatever.
  2793. * Improved the configurability of the ToolTip - as well as enable/disable,you
  2794. can now also set the font, font size, background and foreground colours, as
  2795. well as snap distance (how close to the edge it can get before snapping to it).
  2796. Note: it's best to use a monospaced font, like Courier New, Lucida Console,
  2797. Consolas, monaco, ProFontWindows, etc.
  2798. * You can now set how long you want any dialogs to stay open for, in seconds.
  2799. The default is 60 seconds. If you set this to 0, dialogs won't time-out.
  2800. * checksum now pauses the tooltip (and performs the final double-beep) at the
  2801. end of the creation process, as well as after verification (if you have
  2802. audio and tooltips enabled, that is)
  2803. * fixed a bug where if you were presented with overwrite options, the timer
  2804. wasn't being reset, so even if the hashing took only 0.15 seconds, it would
  2805. be reported as 5 seconds, or however long you took to decide what to do.
  2806. * fixed a bug where pre-existing hidden checksum files would prevent checksum
  2807. from replacing them with new ones (if you chose the "Yes To ALL" overwrite
  2808. option)
  2809. 0.9.13
  2810. * Whilst solving an issue a beta tester mentioned, I brought some
  2811. interesting functionality into the mix..
  2812. I decided to add support for the creation of "one file", aka. "root"
  2813. checksums, just like the sort of thing you might find on a Linux CD.
  2814. As well as providing all-hashes-in-one-file, which some might find
  2815. useful, it also provides a realistic fall-back in the event of
  2816. creating, or rather attempting to create multiple checksums on
  2817. read-only media.
  2818. The old fall-back strategy simply dumped the checksum files into a
  2819. single folder on your desktop, but this, as Jon points out, had
  2820. limitations; for example, if two files in checksum's creation path
  2821. shared the same name, bad things would happen.
  2822. The original functionality was added to catch "rare instances", but the
  2823. more I think about it, and the more checksum gets "out there", the more
  2824. I realize that folk in the real world will do a lot of this sort of
  2825. thing, and *intentionally*, probably with whole disks at a time!
  2826. To get "one file" checksums, simply add a "1" to the command-line.
  2827. NOTE: when creating these root hash files, checksum uses Linux paths
  2828. for cross-platform compatibility - you can verify md5sum files made
  2829. with checksum on any platform. checksum already recognises and verifies
  2830. Linux MD5, so this strategy makes the most sense.
  2831. * If checksum is asked to perform a regular recursive hash creation, and
  2832. discovers that the root folder is read-only, it will automatically
  2833. switch to the fall-back mode (currently "one file", as outlined above,
  2834. though I have another in mind, for a future version)
  2835. * Added support for Absolute Windows Paths.
  2836. When creating root hash files, checksum can now record absolute paths
  2837. inside the hash file. A regular relative path looks like this..
  2838. "./file.gz"
  2839. and has the advantage of continuing to work, wherever you move the
  2840. disk/folder to, even to a different platform. If you are ABSOLUTELY
  2841. sure that this data isn't going to move, you can set this to true, and
  2842. checksum will record the entire path, instead. e.g..
  2843. "C:\Documents and Settings\me\Desktop\distro\file.gz"
  2844. ** simple checksum v0.4.9
  2845. fixed the issue where Ctrl-P would pop up simple checksum's
  2846. preferences, even when simple checksum wasn't at the front.
  2847. while I was as it, I improved that hotkey slightly, so that
  2848. Ctrl-P toggles the preferences windoid, regardless of whether
  2849. it, or simple checksum is at the front.
  2850. 0.9.12
  2851. * Decided not to release checksum exclusively as payware.
  2852. What can I say? I dig free software, even if it hurts me!
  2853. So, there will now be a free (for personal use) md5-only version, and
  2854. I re-wired the internals to make room for this. A small fee will
  2855. unlock the SHA-1 hashing side of things. Well, that's the plan.
  2856. NOTE: Attempting to create sha1 hashes with the free version gets you
  2857. md5 hashes. What did you expect?
  2858. * Added support for verifying Linux file paths (switching slashes)
  2859. inside hash files.
  2860. * Added support for verifying one-checksum-file-per-volume type files,
  2861. commonly found in Linux distribution disks. Hashes for the entire drive
  2862. are contained within a single checksum file. Though it is very handy
  2863. to be able to *verify* these hashes from your Windows desktop, I
  2864. currently have no plans to add support for creation of these
  2865. monstrosities, though that may change.
  2866. These *nix hash files are usually named "md5sums.txt", or sometimes
  2867. just "md5sums", though you can set whatever names you need, and use
  2868. standard Windows file masks, too, in your checksum.ini; e.g..
  2869. unix_hashfiles=md5sums,md5sum*.txt
  2870. or simply..
  2871. unix_hashfiles=md5sum*
  2872. If you drag a matching *nix checksum filetype onto checksum, or verify
  2873. a folder containing one or more of these, checksum will treat them as
  2874. regular .md5 hash files. If it finds back-to-front slashes in the path,
  2875. checksum will switch them around. If it finds *nix-type "./foo/bar"
  2876. root paths, it will automatically convert them to valid Windows paths.
  2877. At the time of writing, I've only tested this out on three Linux CD's,
  2878. but they each contained quite different hash formats; checksum
  2879. verified them with ease.
  2880. * Added audio alert.
  2881. when checksum discovers a hash failure, it can optionally emit a small
  2882. beep from your peecee speaker.
  2883. Rather than simply on/off, you can specify the actual beep frequency,
  2884. in your ini, in Hz, from 37 - 19999 (the default is 1000Hz); e.g..
  2885. beep_on_failure=500
  2886. you can pass 'b' on the command-line, to enable beeping (if it is
  2887. currently disabled) or '-b' to disable it (if it is currently enabled)
  2888. NOTE: you can still have beeps when running in 'quiet' mode, checksum
  2889. leaves this decision up to you and your switches.
  2890. The default of 1Khz is good because it's a fairly "cutting" frequency,
  2891. though doesn't describe the failure state as well as a lower value
  2892. would; something like 300Hz *sounds* like a failure.
  2893. * Added "extras" folder to the distro, somewhere to put the cool
  2894. "checksum.cmd" I received from one of checksum's beta testers (seVen -
  2895. thanks!). It's a SendTo processor/wrapper that enables you to control
  2896. checksum's functions from your SendTo menu. If you don't dig explorer
  2897. context menus, this is for you. More details on the checksum page.
  2898. * By the way, probably no one noticed, but if you attempt to click the
  2899. recurse checkbox in the creation options, and the path in the path
  2900. input is invalid, checksum flashes the path input a couple of times
  2901. and un-checks the box again, to let you know. I thought I'd mention
  2902. that somewhere.
  2903. ** simple checksum v0.4.8
  2904. plus some other minor improvements which I forget.
  2905. 0.9.11
  2906. * Added "portable mode".
  2907. On the outside, nothing has changed. If still comes with an installer
  2908. and so on. However, checksum will now also function in "portable
  2909. mode". To achieve this, all you do is put a "checksum.ini" file next
  2910. to checksum.exe, perhaps move your current ini there.
  2911. When it senses that it has an ini next to it, checksum will use it.
  2912. This also applies to simple checksum.
  2913. If you leave the ini file next to them, they won't access your app
  2914. data folder again, essentially becoming permanently portable from that
  2915. point. If you move the ini back to your appdata folder, they will
  2916. function as before.
  2917. Bottom line; you can use your regular installed version for your
  2918. regular desktop work, and have additional copies wherever you need
  2919. them, on pen-drives, DVD-R, or whatever, each using their own
  2920. customized settings.
  2921. If you don't want to "install" checksum at all, no problem; simply
  2922. unzip the files from files.zip (in the installer folder).
  2923. ** simple checksum v0.4.7
  2924. simple checksum can now also operate in portable mode.
  2925. 0.9.10 [my new versioning scheme!]
  2926. simple checksum v0.4.6
  2927. * simple checksum will now save its preferences when no checksum.ini
  2928. is found; it will create the folder, and ini file, if they do not
  2929. exist. previously, it would only save the preferences if the ini
  2930. file was already present (i.e. checksum was installed/run)
  2931. This should rarely, if ever, be required. It's a "just in case".
  2932. 0.9.9.2 [first beta release - 60 day limited version]
  2933. * Fixed the 8.3 folder name issues.
  2934. * Fixed the music playlist recursion issue.
  2935. * Added Shoutcast (.pls) playlist support.
  2936. * The tooltip is now an actual application window that just *looks*
  2937. like a tooltip, and its position can now be altered by simply
  2938. dragging it around. It will snap-to the edges of your desktop..
  2939. * Enhanced the web documentation and comments within checksum.ini
  2940. * Added ignore files preference (for desktop.ini, folder.jpg, etc.)
  2941. * Added ignore file types; md5,sha1,sfv,crc,lnk,url,m3u,pls,log, etc.
  2942. ** simple checksum v0.4.5
  2943. * Minor improvements to simple checksum, added all the options
  2944. to its application menu, so there's rarely a need to open the
  2945. preferences.
  2946. 0.9 [first private beta]
  2947. * Added "Quiet" operation.
  2948. 0.1 - 0.8 [private development builds]
  2949. * Thanks to brother Mu for the synaptic challenges (and C i/o)!
  2950. ..
  2951. current bugs and foibles:
  2952. These bugs are know, but for one reason or another (perhaps waiting for
  2953. something else to happen first) they will not be fixed just yet..
  2954. * This is an installer issue..
  2955. The neat and so-handy directory background context menu items (the ones
  2956. you get when you right-click and empty space inside a folder) get
  2957. duplicated into Explorer's navigation pane context menu. So you have two
  2958. sets of identical-looking menu entries and the second set does not work.
  2959. I hadn't realised that Explorer duplicates the folder, drive and
  2960. background menus into the nav pane. Quite strange behaviour! My nav pane
  2961. context menu (which I activated for the first time, today) is about 150%
  2962. bigger than my screen height! Mad!
  2963. I have literally Googled my fingers sore looking for a solution, but
  2964. none can be found. In the end I posted a question on MSDN, so I'll have
  2965. to wait and see what happens there..
  2966. <https://social.msdn.microsoft.com/Forums/en-US/10177498-7b69-4ff5-a14c-d85d88cc1532/prevent-directory-background-context-menu-appearing-in-navigation-pane?forum=windowsgeneraldevelopmentissues>
  2967. If it annoys you, you can delete the directory background context menu
  2968. entries (these are the ones causing the issue) either manually, here
  2969. (in the registry)..
  2970. HKEY_CLASSES_ROOT\Directory\Background\shell
  2971. .. (there are four entries - two dividers and two commands) or else
  2972. uninstall checksum, then delete/comment out that section of setup.ini
  2973. (the last section) and re-install checksum.
  2974. Of course, you now have no directory background context menus. Bummer.
  2975. I suspect most people don't use the nav pane, and if they do, they don't
  2976. do much right-clicking on it, or else someone would have reported this
  2977. earlier. Thanks to George Lin for spotting this.
  2978. * Checksum can run out of memory if you instruct checksum to log
  2979. *everything* during operations involving many hundreds of thousands of
  2980. files on systems with limited RAM. This functionalility was added for
  2981. debug purposes and was not intended for regular use. Future versions may
  2982. handle this better. Normally, only errors are logged.
  2983. 1.7.3.0 [current beta release - needs testing - you can ask me for a copy]
  2984. +~ Improved the recent command-line output functionality. You can now
  2985. specify a full path for the file so you can keep it outside your data
  2986. directory, if required. You can also use @Tokens in this path/name,
  2987. perhaps creating different files for different items/dates/whatever.
  2988. NOTE: Your old file/name/ preference will be automatically updated (in
  2989. this beta version) to "@userdir\OldFileName".
  2990. You can now disable command-line output appending to the file,
  2991. essentially creating a new file (deleting the old one) for each and
  2992. every job.
  2993. * Fixed a bug where if you specified a non-existent output directory in
  2994. the one-shot options, checksum would, rather than prompt you about this,
  2995. continue in the original directory. checksum will now correctly prompt
  2996. the user in this situation.
  2997. * Fixed a bug where under certain unusual circumstances, discovering an
  2998. empty checksum file could crash checksum.
  2999. * Fixed a bug in the .tar.md5 handling, which was recently introduced. I
  3000. really must pay closer attention to those "script breaking changes"!
  3001. simple checksum 0.9.5.0
  3002. + The simple checksum window can now be set to automatically become opaque
  3003. when you hover your mouse over it. You can set the transparency up high
  3004. so it's nearly invisible, then when you go to use it, it's /there/.
  3005. I saw and like this feature in the NeTtraffic tool. (http://venea.net/)
  3006. * Fixed the erroneous checking of tray menu items.
  3007. 1.7.1.3
  3008. ++ You can now specify the number of errors that checksum will display on-
  3009. screen before automatically switching to log-to-file mode..
  3010. error_display_limit=24
  3011. On a 1080p monitor, you could easily manage 50!
  3012. ++ checksum can write its most recent command-line to a file, for your
  3013. information. This file is written to your data folder (in portable mode,
  3014. it's right next to checksum.exe). In checksum.ini..
  3015. write_command_line=true
  3016. You can also specify the name for this file (also in checksum.ini).
  3017. NOTE: This file is available at the very /start/ of the job. Also note,
  3018. new commands are appended to this file. After a while, it might get big.
  3019. ++ You can now specify a target root directory when verifying non-absolute
  3020. (aka. "relative") hashes. For example, if you created a relative .hash
  3021. file for files in "D:\my files" and put the hashes in a folder, "e:\my
  3022. hashes" using a command-line something like this..
  3023. crd("e:\my hashes") "D:\my files"
  3024. .. You can now verify this .hash file ("e:\my hashes\my files.hash")
  3025. (or tree of hash files) /in-place/ using similar syntax:
  3026. vrd("D:\my files") "e:\my hashes\my files.hash"
  3027. checksum prepends the specified path ("e:\my files") to the beginning of
  3028. any hashes it finds on-the-fly, so a hash for "foo\bar\file.doc" would
  3029. correctly translate to "D:\my files\foo\bar\file.doc". Neat.
  3030. Thanks to Nacho for finally solving the dilemma of how best to approach
  3031. this feature. A switch, of course!
  3032. ++ In addition to the current relative path support, I added support for
  3033. relative path /traversal/ so you can specify, for example..
  3034. checksum.exe cr "..\foobar"
  3035. and have checksum hash a directory /next/ to the current working
  3036. directory.
  3037. ++ You can now abort an entire queue from either the system tray menu or
  3038. tooltip windoid context menu. The option is "Abort Queue". You won't
  3039. see this unless you have job queueing enabled.
  3040. +~ Improved the @parent token (used for specifying the hash file name). You
  3041. can now use multiple @parent tokens in a single command, e.g..
  3042. checksum.exe cr1j(@parent+1~@parent~@item)d(b:\backup\hashes) "d:\biz\documents\reports"
  3043. .. which would output: "b:\backup\hashes\biz~documents~reports.hash"
  3044. While I'm here; seeing as how you don't have a second, even a FIRST
  3045. floppy drive any more, wouldn't it be a neat idea to use drive "B" for
  3046. your BACKUP DRIVE!
  3047. + Added a special @parent token: @parent*
  3048. This will automatically create a string (for use in custom .hash file
  3049. names) that is the entire path of the item being hashed. Whatever
  3050. character immediately follows the switch is used for the separator. e.g.
  3051. crj(@parent*~@item) "B:\Documents\Biz\Reports"
  3052. Specifies a "~" (tilde) separator. This would create the hash file:
  3053. B~Documents~Biz~Reports.hash
  3054. + You can now use relative paths inside d() switches, i.e. output
  3055. directory in creation mode and target root directory in verify mode.
  3056. In both instances, the path is calculated from the current working
  3057. directory. To change the working directory in a batch script, do:
  3058. D:
  3059. cd D:\My Files\Correct
  3060. You can also use relative path traversal in these switches, e.g..
  3061. cr1d(..\..\..\hashes) "B:\documents\biz\reports"
  3062. + checksum will warn you if you specify a non-existent output directory
  3063. for your hashes, and will ask you if you want to create the directory.
  3064. By design, there is no "don't ask me again" option for this dialog.
  3065. If you decide to not create the directory, checksum will use its
  3066. standard fall-back protocols.
  3067. ++ By request, checksum can ignore custom hash types stored inside .hash
  3068. files. For example, for use by a script that extracts only the data part
  3069. of a media file for hashing. e.g. to skip a hash marked so..
  3070. #md5_jpg#Always_updating_this_EXIF_data.jpg#2012.09.29@07.18:00
  3071. Use:
  3072. skip_hashes=true
  3073. skipped_hashes=md5_jpg
  3074. If you have multiple types to skip, separate them with commas, e.g..
  3075. skipped_hashes=md5_jpg,md5_mp3,my_type
  3076. ~ The out_dir setting is no longer available as a checksum.ini setting,
  3077. you *must* use the command-line switch to set an output directory when
  3078. creating checksums using "d(<file path>)". Sorry for any inconvenience.
  3079. Note: if you want this set for *every* job (risky!) you can add it to
  3080. your context menu commands. See the tricks & tips page for more info.
  3081. simple checksum 0.9.4.0
  3082. ++ You can now have simple checksum close to the tray rather than exit,
  3083. when you click the close button (X).
  3084. This option is available (like most everything else) from the
  3085. application menu (aka. "app menu") which you can get to by clicking the
  3086. main program icon in the top-left of the window, or in later Windows
  3087. versions also by right-clicking anywhere in the titlebar.
  3088. [BUGS]