Releases: p-ranav/indicators
Releases · p-ranav/indicators
indicators
- #117 Fix C++17 deprecated codecvt_utf8 breaks build on MSVC with C++20
- #116 Fix Library does not compile in gcc-12
- #115 Fix the bug of has_include error with g++4.8.5
- #103 Fix Windows support for DynamicProgress
- #101 Fix #define min/max problem from Windows.h
- #92 Fix Uninitialized local variable in terminal_size
indicators
- Fixed the NOMINMAX issue in MinGW build of indicators #76
- Replaced
#pragma once
with#ifndef-define
pairs to fix the single_include generation and avoid multiple-definition errors
indicators
Closes #94 - Compilation errors with MinGW
indicators
- Closed #63 - Use
unicode::display_width
instead ofos.str().size()
in helper functions - Elevated #includes from being nested in the namespace.
- Support older compilers with missing header.
- Closed #67 - typo in
terminal_size.hpp
- Closed #68 - TERMCOLOR_HPP_ defined twice
- Merged #69 to fix mingw compilation
- Closed #72 - Using _WIN32 instead of _MSC_VER in macro and defining NOMINMAX correctly
- Mitigated overflow when calculating ETA
- Using floating point for remaining time calculation
- Closed #80
indicators
- Fixed build issues in g++ caused by missing header #54
- Auto-detecting terminal width to fill the remainder of the progress bar with empty spaces #56
- Previously this was hard-coded to 10 spaces
- Fixed multiple definitions in helper functions, e.g., cursor control #58
- Implemented
option::ProgressType
which can beincremental
ordecremental
- Provides an easy interface to implement decremental progress (a regressing bar) #59 - Updated to latest version of termcolor #60
- Improved Unicode support in progress bar
indicators
IndeterminateProgressBar
for modeling bars with unknown totals #43 #51option::MaxProgress
to configure the maximum progress for the bar. Default is100
. This enables sweeping over iterables, e.g., a vector of numbers. Example.option::Stream
to configure the output stream of progress bars, e.g., usingstd::stringstream
orstd::cerr
instead ofstd::cout
#22option::FontStyles
. The user can specify a vector of font styles, e.g., bold, italic etc. for the progress bar #38- New default for progress bar color:
Color::unspecified
- Abstraction for Cursor Movements to work better with Windows #48
- Show/hide console cursor - Enables hiding the console cursor when progress bar is ticking - Removes the annoying flicker #48
- Using amalgamate to generate single_include header file.
indicators
indicators
- API Change - Progress bars can be constructed with a Settings object - create ProgressBar object with options given as constructor parameters #21
- Added pkg-config file to make it easier to consume this package in build systems that support it, such as autotools, Meson, waf, SCons and build2 #27
- In MultiProgress, elapsed time of each bar is now updated independently, instead of together #18
- Remove code duplication and refactored for reuse #14 #15 #16 #17
indicators
- Updated
MultiProgress
API - removed.insert
and added explicit constructor
indicators
- Added
MultiProgress
class template for managing multiple progress bars simultaneously #1 - Updated README with illustrative GIFs