Skip to content

More CLI enhancements

Compare
Choose a tag to compare
@mbilotta mbilotta released this 13 Aug 15:50
· 4 commits to master since this release

This release brings several improvements.

CLI

  • It is now possible to specify rect using center and diameter as it's used to do with most other programs. However, this is currently an exclusive feature of the CLI. The GUI will continue to offer inputs for top left and bottom right corners. When using the new syntax for rect, the resulting JIM file will contain an additional record.
  • It is now possible to halt image generation using CTRL+C and have Julia save a partial rendering you can later recover.
  • The package command now scans the complete directory tree to search for relevant files when providing a directory as part of the INPUT_PATH list of arguments. Descendant file paths will be relativized using the directory argument. These relative paths will also be present in the resulting JUP archive.

API

  • Not exactly an API change, but this new version will not anymore consider a parameter value retrieved from the getter method as a hint unless the descriptor does not provide hints for that parameter. This actually resulted in a removal as the annotation class org.altervista.mbilotta.julia.Groups makes no more sense after this change.
  • This release introduces a third plugin type, namely alias. Purpose of alias is just to ensure JIM format backward compatibility when a plugin ID changes. It serves as a legacy reference to a renamed plugin. Aliases are not exposed to the user.

Misc

  • Prior to this release, Julia used to store its preferences under <profile-directory>/preferences using a binary format. This release changes this path to <profile-directory>/preferences.properties which now uses the familiar Java properties format (textual). This serves as an aid for CLI users as not only the GUI but also the CLI makes use of these preferences (e.g.: retrieve values for image width and/or height when the user does not provide one or both of them to the CLI).