summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-16Change buffer name of exiftool process to *exiftool*.Arun Isaac
* exiftool.el (exiftool-run): Change buffer name of exiftool process to *exiftool*.
2019-05-16Specify exiftool executable in a variable.Arun Isaac
* exiftool.el (exiftool-executable): New variable. (exiftool-run): Invoke command specified in exiftool-executable.
2019-02-04Bump version.v0.3.1Arun Isaac
* exiftool.el: Bump to version 0.3.1.
2019-02-04Signal a file-missing error when file is not found.Arun Isaac
* exiftool.el (exiftool--assert-file-exists): New function. (exiftool-read, exiftool-copy, exiftool-write): Assert that file arguments exist before operating on them. * tests/exiftool-tests.el (read-file-not-found-test, copy-file-not-found-test, write-file-not-found-test): New tests.
2017-08-23Ignore minor errors while copying tags.Arun Isaac
* exiftool.el (exiftool-copy): Call exiftool with the "-m" flag.
2017-06-16Deprecate use of `car'.Arun Isaac
* tests/exiftool-tests.el (delete-test): Replace `car' invocations with `nth 0'.
2017-06-16Deduplicate extraction of tags of test cases.Arun Isaac
* tests/exiftool-tests.el (exiftool-tests--tags): New variable. (read-write-test, copy-all-test, copy-some-test): Reference exiftool-tests--tags.
2017-06-16Fix indentation.Arun Isaac
* tests/exiftool-tests.el (with-temp-test-file): Fix indentation.
2017-06-14Bump version.v0.3Arun Isaac
* exiftool.el: Bump to version 0.3.
2017-06-14Do not print out messages.Arun Isaac
* exiftool.el (exiftool-copy): Remove message.
2017-06-14Handle literal "-" tag values.Arun Isaac
* exiftool.el (exiftool-read): If exiftool returns "-" as tag value with the "-f" flag, call exiftool again without the "-f" flag to ascertain whether the tag is absent or the value is a literal "-".
2017-06-14Add new test cases.Arun Isaac
* tests/exiftool-tests.el (exiftool-tests--tag-value): New test cases.
2017-06-14Test copying only specific tags.Arun Isaac
* tests/exiftool-tests.el (copy-test): Rename to `copy-all-test'. (copy-some-test): New test.
2017-06-14Use test files of the same format.Arun Isaac
* tests/test2.jpg: Convert to PNG format. * tests/test2.png: New file. * tests/exiftool-tests.el (copy-test): Make both test files of the same format (PNG). Some tags are not copied properly when the files are of different formats.
2017-06-14Use regexp to extract tag and value.Arun Isaac
* exiftool.el (exiftool-read): Use `string-match' with regexp to extract tag and value. Previous this change, `exiftool-read' failed to correctly handle tags whose value contained a ":".
2017-06-14Copy only provided tags.Arun Isaac
* exiftool.el (exiftool-copy): Append "-all:all" to exiftool command only when no tags are provided.
2017-04-27Update README.Arun Isaac
* README.org: Add contact information.
2017-03-10Shorten `check' command.Arun Isaac
* tests/Makefile (check): Remove explicit loading of package `ert'.
2017-03-03Update README.Arun Isaac
* README.org: Shorten tests command. "check" is default target of Makefile. No need to explicitly mention it.
2017-03-03Update README.Arun Isaac
* README.org: Put tag names "Marked" and "Creator" within double quotes.
2017-03-03Update README.Arun Isaac
* README.org: Change tests source block from "bash" to "sh".
2017-03-02Update README.Arun Isaac
* README.org: Invoke the "license" macro.
2017-03-02Update README.Arun Isaac
* README.org: Add installation information.
2017-03-01Update README.v0.2Arun Isaac
* README.org: Rename library to exiftool.el.
2017-03-01Rename library to exiftool.el.Arun Isaac
2017-03-01Require `cl-lib' instead of `cl-macs'.Arun Isaac
* el-exiftool.el: Require `cl-lib' instead of `cl-macs'.
2017-02-28Rename unused argument `closure' to `_'.Arun Isaac
* el-exiftool.el (el-exiftool--tq-sync-query): Rename unused argument `closure' to `_'. According to the convention of the byte compiler, unused argument names must start with an underscore.
2017-02-28Require `tq' dependency.Arun Isaac
* el-exiftool.el: Require `tq'.
2017-02-28Require `cl-macs' instead of `cl'.Arun Isaac
* el-exiftool.el: Require `cl-macs' instead of `cl'.
2017-02-28Improve formatting.Arun Isaac
* el-exiftool.el: Remove redundant comment indicator.
2017-02-28Improve formatting.Arun Isaac
* el-exiftool.el: Put two spaces after period in Commentary section.
2017-02-28Add "Package-Requires" header.Arun Isaac
* el-exiftool.el: Add ((emacs "25")) to "Package-Requires" header.
2017-02-28Add "Version" header.Arun Isaac
* el-exiftool.el: Add "Version" header.
2017-02-28Update README.v0.1Arun Isaac
* README.org: Add "Running tests" section.
2017-02-28Improve formatting.Arun Isaac
* README.org: Put function return values on their own line.
2017-02-28Update README.Arun Isaac
* README.org: Update function docstrings, example function calls, and note on the ExifTool -stay_open process.
2017-02-28Improve commentary.Arun Isaac
* el-exiftool.el: Comment on the ExifTool -stay_open process.
2017-02-28Capitalize ExifTool.Arun Isaac
* el-exiftool.el: Capitalize occurrences of ExifTool as in its project website.
2017-02-28Improve docstring.Arun Isaac
* el-exiftool.el (el-exiftool-read): Rewrite docstring in active voice.
2017-02-27Support copying specific tags.Arun Isaac
* el-exiftool.el (el-exiftool-copy): Support copying specific tags with the &rest `tags' argument.
2017-02-27Improve docstrings.Arun Isaac
* el-exiftool.el (el-exiftool--tq-sync-query): Add docstring. (el-exiftool-run, el-exiftool-command, el-exiftool-read, el-exiftool-write): Improve docstring.
2017-02-27Rewrite tests with dynamic variable `el-exiftool-tests--tag-value'.Arun Isaac
* tests/el-exiftool-tests.el (el-exiftool-tests--tag-value): New dynamic variable. (read-write-test, delete-test): Rewrite to reference data in `el-exiftool-tests--tag-value'. (delete-test): New test.
2017-02-27Add docstring.Arun Isaac
* tests/el-exiftool-tests.el (with-temp-test-file): Add docstring.
2017-02-23Add Makefile for tests.Arun Isaac
* tests/Makefile: New file.
2017-02-23Move tests to separate directory.Arun Isaac
2017-02-23Fix tag delete test.Arun Isaac
* el-exiftool-tests.el (delete-test): Pass `el-exiftool-write' tag-value pairs, not an alist.
2017-02-23Implement tag delete test.Arun Isaac
* el-exiftool-tests.el (delete-test): New test.
2017-02-23Implement temporary test file copying in a macro.Arun Isaac
* el-exiftool-tests.el (with-temp-test-file): New macro. (read-write-test): Rewrite test using `with-temp-test-file'.
2017-02-23Remove optional `closure' argument.Arun Isaac
* el-exiftool.el (el-exiftool--tq-sync-query): Remove optional `closure' argument. Just pass nil as the `closure' argument to `tq-enqueue'.
2017-02-23Return empty string for missing tags.Arun Isaac
* el-exiftool.el (el-exiftool-read): Handle case when tag is not found. Force exiftool to print missing tags, and replace their values with an empty string.