Commit Graph

  • 3872f37abd Merge pull request #141 from zhao-shihan/master master Pranav 2025-05-09 15:37:45 -04:00
  • a746832d97 Merge pull request #148 from rlalik/fix_elapsed Pranav 2025-05-09 15:37:31 -04:00
  • 824ca21bbf Merge branch 'p-ranav:master' into master 赵诗涵 2025-05-08 03:34:27 +08:00
  • 091a87e51a Fix regression with elapsed time calculation introduced in #147 Rafał Lalik 2025-05-07 17:30:44 +02:00
  • a6de479a9c Merge pull request #143 from BrandenXia/patch-1 Pranav 2025-05-07 07:07:47 -04:00
  • cef20c7c4b Merge pull request #147 from rlalik/fix_float_lsb_precision Pranav 2025-05-07 07:07:18 -04:00
  • 08bf7ec793 Fix progress variable type in sample code Rafał Lalik 2025-05-02 21:27:24 +02:00
  • fbdac646ee Fix lsb error for ticks with huge max_progress values. Rafał Lalik 2025-04-30 23:57:01 +02:00
  • e0349eb806 Update examples, add percentage to match actual behavior BrandenXia 2025-02-19 08:45:39 -08:00
  • ac6c93ea2b Merge pull request #142 from CodingRookie98/master Pranav 2025-01-25 09:55:59 -05:00
  • c793684c9c Fix the issue where the localization information is set before the program calls the 'utf8_decode' function in the project code. After calling the 'utf8_decode' function, the restored localization information is the default setting from the user environment variables, rather than the current program's localization information. Therefore, the 'setlocale(LC_ALL, "")' call should be changed to 'setlocale(LC_ALL, NULL)' to align with the code logic. CodingRookie98 2025-01-25 14:56:42 +08:00
  • 0c4ec7d773 Add CMake options INDICATORS_INSTALL and INDICATORS_PACKAGE zhaoshihan 2025-01-08 23:55:37 +08:00
  • 9c855c95e7 Merge pull request #136 from Kicer86/progressbars_ownership Pranav 2024-08-05 09:08:01 -04:00
  • 7962c540a8 Update code Michał Walenciak 2024-08-03 14:01:09 +02:00
  • cefe02f449 Synchronize comments with README Michał Walenciak 2024-08-03 14:00:57 +02:00
  • 05ba667474 Adapt samples Michał Walenciak 2024-08-03 13:57:27 +02:00
  • 13bdb4b396 Add missing include Michał Walenciak 2024-08-03 13:57:20 +02:00
  • cb8f728c68 Make DynamicProgress take ownership over progress bars Michał Walenciak 2024-07-29 17:35:52 +02:00
  • 222382c3a6 Merge pull request #129 from zhangxianbing/master Pranav 2023-11-21 05:38:11 -06:00
  • 68d059d6d2 Fix setlocale usage in utf8_decode function zhangxianbing 2023-11-21 11:02:13 +08:00
  • ef71abd9bc Merge pull request #124 from tocic/fix/undeclared_uint8_t Pranav 2023-05-07 05:51:51 -05:00
  • 525ce444f4 Add missing <cstdint> header tocic 2023-05-07 12:36:15 +03:00
  • 4ea716116d Merge pull request #121 from danielBreitlauch/master Pranav 2023-04-17 07:55:32 -05:00
  • 6549b77d0b remove signed to unsigned conversion + check for errors Daniel Breitlauch 2023-04-04 12:32:37 +02:00
  • 5050a88877 Merge pull request #120 from avighnac/master Pranav 2023-03-10 17:19:26 -06:00
  • d6e70912bb Merge pull request #1 from avighnac/avighnac-patch-1 Avighna 2023-03-10 23:11:40 +05:30
  • bd4826c885 Update README.md Avighna 2023-03-10 23:10:05 +05:30
  • b44735a2a5 Update README.md Pranav 2023-02-15 11:16:18 -06:00
  • 26d39ad8fb Bumped to version v2.3 v2.3 Pranav Srinivas Kumar 2023-02-15 07:17:27 -08:00
  • bfe95fee17 Updated single_include to support mbstowcs_s Windows impl Pranav Srinivas Kumar 2023-02-15 07:11:53 -08:00
  • 11c60675d5 Merge pull request #119 from jsttzsf/bugfix/mbstowcs_deprecation Pranav 2023-02-15 09:09:54 -06:00
  • 98f6e50af9 Added preprocesser fork to account for missing mbstowcs_s on linux Julian Schiedel 2023-02-15 15:48:37 +01:00
  • dcfaebf9d9 Replaced mbstowcs with mbstowcs_s to fix fix compiler warning about deprecation Julian Schiedel 2023-02-15 10:36:38 +01:00
  • f03feacc0b Merge pull request #118 from p-ranav/bugfix/codecvt Pranav 2023-02-14 10:10:32 -06:00
  • 15c180b113 Removed unused vector header Pranav Srinivas Kumar 2023-02-14 08:09:46 -08:00
  • 80b822c576 Removed deprecated codecvt Pranav Srinivas Kumar 2023-02-14 08:07:50 -08:00
  • f38bf229eb Merge pull request #115 from aengusjiang/master Pranav 2023-01-12 07:56:57 -06:00
  • 0cce8d7326 fix the bug of has_include error with g++4.8.5 Aengus.Jiang 2023-01-12 17:34:05 +08:00
  • a5bc05f32a Merge pull request #103 from SheepGoMeh/master Pranav 2021-10-28 18:43:20 -05:00
  • 40b99f6b04 Generate single header Dragon 2021-10-28 23:55:59 +03:00
  • 9f3b0247f5 Fix Windows support for DynamicProgress Dragon 2021-10-28 23:47:55 +03:00
  • cdcff01339 Merge pull request #101 from Chuvi-w/Fix_Windows_h_min_max Pranav 2021-07-12 10:17:20 -05:00
  • 28a81289a6 Fix #define min/max problem from Windows.h Chuvi 2021-07-12 09:56:08 +03:00
  • e34840ab0d Closes #93 - Defined _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING to remove codecvt warning Pranav Srinivas Kumar 2021-05-03 17:34:59 -05:00
  • 6432875ef4 Bumped to v2.2 v2.2 Pranav Srinivas Kumar 2021-05-03 09:38:25 -05:00
  • 276d476d4d Fixed the NOMINMAX issue for Windows build with latest termcolor #76, replaced #pragma once with #ifndef-define pairs Pranav Srinivas Kumar 2021-05-03 09:37:44 -05:00
  • c338b5b280 Updated termcolor to v2.0. Bumped indicators to v2.1, closes #94 v2.1 Pranav Srinivas Kumar 2021-05-02 23:17:24 -05:00
  • 91ceb5c7cf Merge pull request #92 from turuslan/fix/terminal_size Pranav 2021-03-18 08:36:30 -05:00
  • 96a2053d5b initialize local variable turuslan 2021-03-18 12:23:58 +03:00
  • 4790bfddca Added carriage return before prefix text Pranav Srinivas Kumar 2021-03-13 10:48:45 -06:00
  • 23b2364f2a Merge pull request #88 from usama-makhzoum/master Pranav 2021-02-18 07:28:53 -06:00
  • 0cb5e11636 Fix some source file permissions usama makhzoum 2021-02-17 21:43:01 +03:00
  • eb04b594dc Bumped version Pranav Srinivas Kumar 2021-01-07 06:47:43 -08:00
  • b85eadb47c Closes #80 v2.0 Pranav Srinivas Kumar 2020-12-08 09:15:05 -06:00
  • 312c49bf9f Merge pull request #78 from csparker247/77-time-remaining-overflow Pranav 2020-11-16 12:27:33 -06:00
  • d11ffd91c6 Round time estimate up to nearest nanosecond Seth Parker 2020-11-16 11:27:16 -05:00
  • e01c2950f2 Use floats for remaining time math Seth Parker 2020-11-16 10:54:05 -05:00
  • c3ff1fbd91 Mitigate overflow when calculating eta Seth Parker 2020-11-12 13:21:42 -05:00
  • af7c004832 Updated single_include after changing percent calculation in progress spinner Pranav Srinivas Kumar 2020-10-26 07:59:48 -05:00
  • 77d910d0cf Fixed percentage calculation for progress spinner for user-defined option::MaxProgress Pranav Srinivas Kumar 2020-10-26 07:56:44 -05:00
  • f126fde1b4 Fixed missing endif in single header version Pranav Srinivas Kumar 2020-09-16 20:06:05 -05:00
  • a7a3f08370 Merge pull request #73 from jcnoronha/bugfix/terminate_def Pranav 2020-09-16 05:35:47 -05:00
  • 05955650d6 Terminate def in termcolor j.noronha 2020-09-16 21:16:45 +12:00
  • 3d48e2bd25 Closes #72 Pranav Srinivas Kumar 2020-09-15 08:54:21 -05:00
  • 41650d005a Merge pull request #69 from duncanmcn/mingw_compilation Pranav 2020-07-22 05:14:10 -05:00
  • 430a73b7b6 Change include guard to win32 duncanmcn 2020-07-22 14:53:47 +12:00
  • f87de6ccbd Fixed missing include for termcolor in dynamic progress and multi progress Pranav Srinivas Kumar 2020-07-21 10:20:07 -05:00
  • 04fddb9014 Removed redundant includes of termcolor.hpp and updated single include. Closes #68 Pranav Srinivas Kumar 2020-07-21 10:14:52 -05:00
  • 1e622293aa Update indicators.hpp Pranav 2020-07-05 13:32:06 -05:00
  • 755900d524 Update terminal_size.hpp Pranav 2020-07-05 13:31:45 -05:00
  • b43da291f6 Update README.md Pranav 2020-06-21 11:53:00 -05:00
  • d9a5219d09 Merge pull request #66 from godbyk/bugfix/nested-namespace Pranav 2020-06-17 08:35:52 -05:00
  • 51e3460ad0 Merge pull request #65 from godbyk/feature/workaround-missing-codecvt Pranav 2020-06-17 08:35:13 -05:00
  • 74c36cbb93 Support older compilers with missing <codecvt> header. Kevin M. Godby 2020-06-16 13:29:02 -05:00
  • 3cef73d30d Elevate #includes from being nested in the namespace. Kevin M. Godby 2020-06-16 13:23:45 -05:00
  • 50f89e150d Updated single header file version with fix for #63 Pranav Srinivas Kumar 2020-06-01 08:04:13 -05:00
  • ccd9c5d99d Closes 63 Pranav Srinivas Kumar 2020-06-01 08:03:40 -05:00
  • a776a52c98 Using \033 instead of \e for ISO-standards compliance #62 v1.9 Pranav Srinivas Kumar 2020-05-25 13:06:08 -05:00
  • 79dda6dbae Bumped version to v1.9 * Fixed build issues in g++ caused by missing header #54 * Using 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 be incremental or decremental - Provides an easy interface to implement decremental progress (a regressing bar) #59 * Updated to latest version of termcolor #60 Pranav Srinivas Kumar 2020-05-25 10:24:03 -05:00
  • be24a3ab48 Merge pull request #61 from p-ranav/bugfix/56 Pranav 2020-05-25 10:02:28 -05:00
  • 8e39967c1e Removed unused variables Pranav Srinivas Kumar 2020-05-25 09:53:56 -05:00
  • 20b1d1f69f Updated single include version Pranav Srinivas Kumar 2020-05-25 09:51:02 -05:00
  • f6cef6161d Removed sleep Pranav Srinivas Kumar 2020-05-25 09:47:48 -05:00
  • 6be9c8005f Added terminal size checks in indeterminate progress bar Pranav Srinivas Kumar 2020-05-25 09:35:29 -05:00
  • 0973cde3d3 Using terminal size in block progress bar Pranav Srinivas Kumar 2020-05-25 09:29:32 -05:00
  • 958228f55d Removed code duplication in prefix/postfix length calculation Pranav Srinivas Kumar 2020-05-25 09:25:22 -05:00
  • 7c1d7d6367 Added dynamic postfix text sample based on #56 Pranav Srinivas Kumar 2020-05-25 09:14:23 -05:00
  • 63bb0d8946 Progress bar now uses terminal size to figure out how many spaces to use to fill up the remainder of the terminal row Pranav Srinivas Kumar 2020-05-25 08:51:34 -05:00
  • c738215419 Updated single include version w/ latest termcolor Pranav Srinivas Kumar 2020-05-25 08:22:46 -05:00
  • 664278a432 Merge pull request #60 from data-man/termcolor_latest Pranav 2020-05-25 08:22:14 -05:00
  • 5660eee6d9 Update termcolor to latest data-man 2020-05-25 09:13:01 +05:00
  • 4bf1433c21 Updated single include version Pranav Srinivas Kumar 2020-05-24 23:12:10 -05:00
  • fb7b4f7221 Update README.md Pranav 2020-05-24 23:07:30 -05:00
  • bd586bbb88 Updated countdown progress bar sample Pranav Srinivas Kumar 2020-05-24 23:07:02 -05:00
  • 970490c111 Update README.md Pranav 2020-05-24 23:06:40 -05:00
  • e1eeaf1bb7 Update README.md Pranav 2020-05-24 23:05:54 -05:00
  • 728c4f7f7f Added countdown progress bar sample Pranav Srinivas Kumar 2020-05-24 23:03:39 -05:00
  • a2e11d4707 Clang format Pranav Srinivas Kumar 2020-05-24 22:56:57 -05:00
  • e5cc05a62d Merge pull request #59 from p-ranav/feature/countdown_progress_bar Pranav 2020-05-24 22:56:04 -05:00
  • 885748d4c2 Reverted minor changes to stream helper w.r.t checking if fill, lead and remainder are empty Pranav Srinivas Kumar 2020-05-24 22:47:18 -05:00