lp:utimer
- Get this branch:
- bzr branch lp:utimer
Branch merges
Branch information
Recent revisions
- 43. By Arnaud Soyez
-
* Documentated the new features --bar --perc and --time
* Removed --no-bar and --no-perc since they are not enabled by default - 41. By Arnaud Soyez
-
* Added new feature: progress bar (when using --bar)
* Added new feature: percentage progress (when using --perc)
* Default display is "text" which is showing the remaining time only
* Added test cases for the progress bar
* Moved some functions to utils.c
* Some code cleanup - 40. By Arnaud Soyez
-
* Improved seconds/
milliseconds calculations by using modulus
* Renamed prec into precision in utimer.c
* seconds and mseconds are now parsed and passed to the Timer constructor, instead of assigned directly:
- Fixes bug when mseconds > 1000 - 38. By Arnaud Soyez
-
* Added new option --refresh-rate to change the display refresh rate:
- ut_timer now has a new property 'precision' to affect the time format (for timer_sec_msec_to_ string( ))
- refresh_rate in milliseconds is determined and used for the g_timeout_add, instead of a preprocessor constant
- New timer_precision enum for defining precision within ut_timer (timer.c/h)
- A couple of timer functions now take a precision argument
* Lots of indenting and formatting changes
* ttimer (in utimer.c) is no longer static but is now within the scope of main()
* Reordered command line options and arguments
* Improved time display printing (now using backspace, space, backspace), giving a cleaner output
* Time is printed right after exiting the main loop, useful for slow refresh rates
* New timer_precision enum for defining precision within ut_timer (timer.c/h)
* Sanity check on sec/msec is now done when creating a ut_timer (and also when adding sec/msec) instead of when parsing the user input
* Added a couple of test cases - 36. By Arnaud Soyez
-
* Lowered requirements for glib-2.0 to 2.16.6 and intltool to 0.37.1
* Added signal.h as include to compile fine on a "lower-requirements machine"
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)