Revision history for Progress-Any
0.15 2014-07-29 (SHARYANTO)
- No functional changes.
- Fix Synopsis [RT#97563].
0.14 2014-05-01 (SHARYANTO)
- No functional changes.
- Temporarily make template test release testing only due to being
timing-related and fail on some CT machines [CT].
0.13 2014-02-26 (SHARYANTO)
- Add frequency limiting for updating outputs. Currently set at (at most
per) 0.5s. Will be configurable in the future.
0.12 2013-09-11 (SHARYANTO)
- No functional changes. Temporarily put some tests (elapsed, etc) on
RELEASE_TESTING due to fragility of timing/sleep. Will need to use
time mocking in the future [CT].
0.11 2013-09-08 (SHARYANTO)
- No functional changes. Increase granularity of elapsed tests from
0.05s to 1s due to faliure in many systems [CT].
0.10 2013-09-03 (SHARYANTO)
- Rework internals and some API. This is the second API revision.
[ENHANCEMENTS]
- Allow reinitializing 'pos' and 'target' (and all other rw attributes)
at subsequent get_indicator() for the same task. This is to make
program more predictable, instead of silently ignoring parameters.
- Allow indicator to be start()'ed and stop()'ed at any time.
- Add task title (in addition to its name).
- Allow specifying estimated remaining of a task when creating an
indicator, via passing 'remaining'.
- New fill templates: %r (remaining time), %R (remaining time or elapsed
time).
[INCOMPATIBLE CHANGES]
- The $progress export is now set to the root ('') indicator instead of
'main', so it includes all indicators.
- fill_template(): re-rationalize template names: %a (elapsed time)
becomes %e, %c (pos) becomes %P, %C (target) becomes %T, %t (task
name) becomes %n.
[REMOVED FEATURES]
- Remove 'status' in update() because it is unneeded (concerning outputs
can use 'message' instead).
0.09 2013-05-18 (SHARYANTO)
- Bugfix: double counting of children's targets.
0.08 2013-05-18 (SHARYANTO)
- Bugfix: update() didn't recognize 'finished' parameter.
- Maintain a root-level indicator (task='') to capture updates from all
progress indicators.
0.07 2013-05-18 (SHARYANTO)
[ENHANCEMENTS]
- Add total_target().
0.06 2013-05-18 (SHARYANTO)
[INCOMPATIBLE CHANGES]
- Change default task in get_indicator() to be caller's package, not
subroutine.
0.05 2013-05-18 (SHARYANTO) - Happy birthday, bro!
[INCOMPATIBLE CHANGES]
- Revise API, now more resembles Log::Any and incompatible with previous
version of Progress::Any. Split output to Progress-Any-Output (like
Log-Any-Adapter is split from Log-Any), remove set_output(). Remove
init() and replace it with pos() and target() because we might need to
reinit (reset pos and target) any time. Remove 'inc' argument in
update() to make things more orthogonal (you can always do update(pos
=> $progress->pos + $x). Check task syntax in get_indicator().
[ENHANCEMENTS]
- API: parent indicators now get update()'d also whenever we do
update()/pos($val)/target($val) on an indicator.
- Progress::Any is now the one which is responsible for calculating
elapsed time/ETA/% completion. Output now just displays stuffs. This
makes output simpler and reduce duplicated code.
0.04 2013-01-10 (SHARYANTO)
- No functional changes. More POD tweaks/fixes.
0.03 2013-01-10 (SHARYANTO)
- No functional changes. Update/fix Synopsis.
0.02 2012-10-24 (SHARYANTO)
- Some tweaks/fixes: don't pre-init $progress, give default message to
reset() and finish().
0.01 2012-10-24 (SHARYANTO)
- First, early release.