]>
 
 
git.refcnt.org Git - colorize.git/log 
 
 
 
 
 
 
Steven Schubiger  [Thu, 25 Jul 2024 20:26:42 +0000  (22:26 +0200)]  
 
init_conf_boolean(): merge duplicated code 
 
Steven Schubiger  [Thu, 25 Jul 2024 12:35:26 +0000  (14:35 +0200)]  
 
Add initial implementation of foreground color rainbow mode 
 
Steven Schubiger  [Sun, 9 Jun 2024 19:27:28 +0000  (21:27 +0200)]  
 
colorize 0.66 
 
Steven Schubiger  [Sun, 9 Jun 2024 19:15:54 +0000  (21:15 +0200)]  
 
Update Debian Standards-Version 
 
Steven Schubiger  [Sun, 9 Jun 2024 19:06:50 +0000  (21:06 +0200)]  
 
debian/copyright: amend years 
 
Steven Schubiger  [Sun, 9 Jun 2024 18:40:47 +0000  (20:40 +0200)]  
 
debian/control: use v13 mode of debhelper-compat package 
 
P: colorize source: package-uses-old-debhelper-compat-version 12 
 
Steven Schubiger  [Mon, 13 Jun 2022 20:15:59 +0000  (22:15 +0200)]  
 
Omit declaration of optind/optarg 
 
fixes: warning: ‘optind’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] 
fixes: warning: ‘optarg’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] 
 
https://github.com/stsc/colorize/issues/1 
 
Thanks Stephan Jauernick 
 
Steven Schubiger  [Sun, 12 Jun 2022 14:44:17 +0000  (16:44 +0200)]  
 
Add comment that getpwuid() leaks memory 
 
Steven Schubiger  [Sun, 2 Jan 2022 15:56:41 +0000  (16:56 +0100)]  
 
Cast argument to unsigned char when invoking to{lower,upper}() 
 
Steven Schubiger  [Sun, 2 Jan 2022 14:33:29 +0000  (15:33 +0100)]  
 
Cast argument to unsigned char when invoking is*() 
 
fixes: warning: array subscript has type ‘char’ [-Wchar-subscripts] 
 
https://github.com/stsc/colorize/issues/1 
 
Thanks Stephan Jauernick 
 
Steven Schubiger  [Tue, 14 Dec 2021 20:03:42 +0000  (21:03 +0100)]  
 
main(): amend wording of diagnostic 
 
Steven Schubiger  [Fri, 8 Jan 2021 21:57:46 +0000  (22:57 +0100)]  
 
Makefile: declare readme target as phony 
 
Steven Schubiger  [Fri, 8 Jan 2021 21:40:26 +0000  (22:40 +0100)]  
 
Merge branch 'stack_release_vars' 
 
Steven Schubiger  [Wed, 30 Dec 2020 21:02:35 +0000  (22:02 +0100)]  
 
main(): postpone invoking STACK_FILE(log) 
 
Steven Schubiger  [Wed, 30 Dec 2020 17:38:30 +0000  (18:38 +0100)]  
 
release(): strengthen check for equal pointers 
 
Steven Schubiger  [Tue, 29 Dec 2020 21:07:34 +0000  (22:07 +0100)]  
 
Guard against fallthrough in switch statement 
 
Steven Schubiger  [Tue, 29 Dec 2020 20:33:32 +0000  (21:33 +0100)]  
 
release(): fix indentation of closing brace 
 
Steven Schubiger  [Tue, 29 Dec 2020 20:09:32 +0000  (21:09 +0100)]  
 
Release also FILE pointers 
 
- stack(): save pointer and type in array of struct 
- release(): free and clear accordingly 
- cleanup(): free accordingly 
- Add STACK_FILE() macro 
- Close streams through RELEASE() 
- Rename RELEASE_VAR() macro to generic RELEASE() 
- Rename stack_var() function to stack() 
- Rename release_var() function to release() 
 
Steven Schubiger  [Fri, 25 Dec 2020 22:05:24 +0000  (23:05 +0100)]  
 
Stack and release vars 
 
Steven Schubiger  [Thu, 17 Dec 2020 21:46:38 +0000  (22:46 +0100)]  
 
Emit more concise error message when config file does not exist 
 
Steven Schubiger  [Thu, 25 Jun 2020 19:38:12 +0000  (21:38 +0200)]  
 
debian/control: update Homepage link 
 
to point to the repository about page. 
 
Steven Schubiger  [Mon, 22 Jun 2020 20:52:02 +0000  (22:52 +0200)]  
 
Generate README.cgit from README 
 
Steven Schubiger  [Wed, 10 Jun 2020 15:47:55 +0000  (17:47 +0200)]  
 
Merge multiple vfprintf_fail() calls for --clean[-all] 
 
Steven Schubiger  [Thu, 28 May 2020 20:31:39 +0000  (22:31 +0200)]  
 
Test purposeless switches with --clean[-all] 
 
Steven Schubiger  [Tue, 12 May 2020 19:35:23 +0000  (21:35 +0200)]  
 
main(): warn for purposeless switches with --clean[-all] 
 
Steven Schubiger  [Sat, 28 Mar 2020 21:33:25 +0000  (22:33 +0100)]  
 
Move conf file path code to a function 
 
Steven Schubiger  [Sat, 28 Mar 2020 15:32:28 +0000  (16:32 +0100)]  
 
process_opt_exclude_random(): don't check for non-NULLness 
 
because release_var() already does so. 
 
Steven Schubiger  [Thu, 26 Mar 2020 19:51:30 +0000  (20:51 +0100)]  
 
init_conf_vars(): use explicit format string 
 
Steven Schubiger  [Wed, 25 Mar 2020 22:22:28 +0000  (23:22 +0100)]  
 
assign_conf(): reduce code duplication 
 
Steven Schubiger  [Fri, 20 Mar 2020 21:58:58 +0000  (22:58 +0100)]  
 
colorize 0.65 
 
Steven Schubiger  [Fri, 20 Mar 2020 21:31:40 +0000  (22:31 +0100)]  
 
Update Debian Standards-Version 
 
Steven Schubiger  [Thu, 19 Mar 2020 19:09:22 +0000  (20:09 +0100)]  
 
debian/changelog: add log message 
 
Steven Schubiger  [Thu, 19 Mar 2020 17:53:51 +0000  (18:53 +0100)]  
 
debian/copyright: amend years 
 
Steven Schubiger  [Thu, 19 Mar 2020 16:57:51 +0000  (17:57 +0100)]  
 
debian/changelog: reword log message 
 
Thanks Axel Beckert 
 
Steven Schubiger  [Tue, 21 Jan 2020 21:34:46 +0000  (22:34 +0100)]  
 
debian/control: adjust Build-Depends 
 
P: colorize source: package-uses-old-debhelper-compat-version 9 
 
Steven Schubiger  [Tue, 21 Jan 2020 20:45:09 +0000  (21:45 +0100)]  
 
debian/control: declare Rules-Requires-Root 
 
P: colorize source: rules-requires-root-missing 
 
Steven Schubiger  [Tue, 14 Jan 2020 21:22:38 +0000  (22:22 +0100)]  
 
debian/copyright: update link to HTTPS 
 
Steven Schubiger  [Tue, 14 Jan 2020 20:30:28 +0000  (21:30 +0100)]  
 
Add Debian-Release instruction hints 
 
Thanks Axel Beckert 
 
Steven Schubiger  [Mon, 7 Oct 2019 20:17:13 +0000  (22:17 +0200)]  
 
process_opt_exclude_random(): fix typo 
 
Steven Schubiger  [Sat, 21 Sep 2019 20:25:53 +0000  (22:25 +0200)]  
 
Fix using color from config with hyphen 
 
Steven Schubiger  [Wed, 18 Sep 2019 13:13:09 +0000  (15:13 +0200)]  
 
Silence -Wimplicit-fallthrough= warning 
 
Steven Schubiger  [Tue, 17 Sep 2019 21:14:18 +0000  (23:14 +0200)]  
 
parse_conf(): minor tweaks 
 
- Parse lines with CRLF endings 
- Separate the '#' sign from the option name 
 
Steven Schubiger  [Fri, 13 Sep 2019 20:02:36 +0000  (22:02 +0200)]  
 
Add TODO 
 
Steven Schubiger  [Fri, 13 Sep 2019 19:15:22 +0000  (21:15 +0200)]  
 
Merge branch 'config_file' 
 
Steven Schubiger  [Tue, 10 Sep 2019 19:45:56 +0000  (21:45 +0200)]  
 
Update plain documentation 
 
Steven Schubiger  [Sat, 7 Sep 2019 19:26:26 +0000  (21:26 +0200)]  
 
Mention config file in README 
 
Steven Schubiger  [Sun, 1 Sep 2019 13:51:59 +0000  (15:51 +0200)]  
 
Add config short option -c 
 
Steven Schubiger  [Fri, 30 Aug 2019 18:41:16 +0000  (20:41 +0200)]  
 
Print line number when exceeding chars 
 
Steven Schubiger  [Wed, 28 Aug 2019 11:57:36 +0000  (13:57 +0200)]  
 
Test --config 
 
Steven Schubiger  [Tue, 27 Aug 2019 20:44:54 +0000  (22:44 +0200)]  
 
Introduce --config 
 
Steven Schubiger  [Thu, 22 Aug 2019 19:46:18 +0000  (21:46 +0200)]  
 
Document config file usage 
 
Steven Schubiger  [Tue, 20 Aug 2019 21:40:13 +0000  (23:40 +0200)]  
 
Const DESC_TYPE 
 
Steven Schubiger  [Sun, 18 Aug 2019 19:15:24 +0000  (21:15 +0200)]  
 
Add new test files 
 
Steven Schubiger  [Sun, 18 Aug 2019 18:50:39 +0000  (20:50 +0200)]  
 
Invoke new test files 
 
Steven Schubiger  [Sun, 18 Aug 2019 18:43:31 +0000  (20:43 +0200)]  
 
Compile with -DTEST for testing 
 
Steven Schubiger  [Sun, 18 Aug 2019 18:36:10 +0000  (20:36 +0200)]  
 
First draft of config file parsing 
 
Steven Schubiger  [Mon, 25 Mar 2019 21:02:24 +0000  (22:02 +0100)]  
 
Include print_tstamp() under DEBUG only 
 
Steven Schubiger  [Wed, 27 Feb 2019 20:36:42 +0000  (21:36 +0100)]  
 
Print timestamp at top of debug output 
 
Steven Schubiger  [Sun, 24 Feb 2019 20:45:41 +0000  (21:45 +0100)]  
 
*alloc_wrap_debug(): improve aligning of debug output 
 
Steven Schubiger  [Sat, 23 Feb 2019 19:21:36 +0000  (20:21 +0100)]  
 
Mention standard input explicitly in synopsis 
 
Steven Schubiger  [Sat, 23 Feb 2019 18:56:20 +0000  (19:56 +0100)]  
 
Add examples to man page 
 
Steven Schubiger  [Sun, 17 Feb 2019 16:17:44 +0000  (17:17 +0100)]  
 
Wrap size of struct calculating expression 
 
Steven Schubiger  [Wed, 13 Jun 2018 18:06:49 +0000  (20:06 +0200)]  
 
colorize 0.64 
 
Steven Schubiger  [Wed, 13 Jun 2018 17:26:13 +0000  (19:26 +0200)]  
 
Update Debian Standards-Version 
 
Steven Schubiger  [Wed, 13 Jun 2018 16:54:47 +0000  (18:54 +0200)]  
 
debian/copyright: amend format URL and years 
 
Steven Schubiger  [Sun, 10 Jun 2018 12:57:44 +0000  (14:57 +0200)]  
 
print_version(): const version string pointer 
 
Steven Schubiger  [Wed, 23 May 2018 18:33:27 +0000  (20:33 +0200)]  
 
Const pointers 
 
Steven Schubiger  [Sun, 8 Apr 2018 20:00:12 +0000  (22:00 +0200)]  
 
process_args(): comment color_names[] initialization 
 
Steven Schubiger  [Wed, 28 Mar 2018 13:46:17 +0000  (15:46 +0200)]  
 
read_print_stream(): add comment 
 
Steven Schubiger  [Wed, 14 Mar 2018 13:43:40 +0000  (14:43 +0100)]  
 
Omit superfluous backslash continuation character 
 
Steven Schubiger  [Fri, 2 Feb 2018 12:41:35 +0000  (13:41 +0100)]  
 
Merge branch 'opt_omit_color_empty' 
 
Steven Schubiger  [Thu, 1 Feb 2018 16:38:30 +0000  (17:38 +0100)]  
 
Update plain documentation 
 
Steven Schubiger  [Wed, 31 Jan 2018 19:31:28 +0000  (20:31 +0100)]  
 
Document --omit-color-empty 
 
Steven Schubiger  [Wed, 31 Jan 2018 11:36:20 +0000  (12:36 +0100)]  
 
Test --omit-color-empty 
 
Steven Schubiger  [Sun, 28 Jan 2018 21:52:04 +0000  (22:52 +0100)]  
 
First draft of --omit-color-empty 
 
Steven Schubiger  [Wed, 20 Dec 2017 19:27:24 +0000  (20:27 +0100)]  
 
Define PROGRAM_NAME 
 
Steven Schubiger  [Sat, 16 Dec 2017 18:38:43 +0000  (19:38 +0100)]  
 
has_color_name(): return true from else branch 
 
Steven Schubiger  [Wed, 6 Dec 2017 21:59:25 +0000  (22:59 +0100)]  
 
colorize 0.63 
 
Steven Schubiger  [Wed, 6 Dec 2017 21:40:12 +0000  (22:40 +0100)]  
 
Update Debian Standards-Version 
 
Steven Schubiger  [Wed, 6 Dec 2017 21:19:12 +0000  (22:19 +0100)]  
 
debian/rules: eliminate trailing whitespace 
 
Steven Schubiger  [Sat, 4 Nov 2017 17:42:04 +0000  (18:42 +0100)]  
 
Make strlen() assertions more explicit 
 
Steven Schubiger  [Sun, 29 Oct 2017 15:56:57 +0000  (16:56 +0100)]  
 
Simplify SKIP_LINE_ENDINGS() macro 
 
Steven Schubiger  [Fri, 20 Oct 2017 20:20:16 +0000  (22:20 +0200)]  
 
Document customizing color separator 
 
Steven Schubiger  [Sat, 14 Oct 2017 11:27:26 +0000  (13:27 +0200)]  
 
Update plain documentation 
 
Steven Schubiger  [Thu, 12 Oct 2017 18:12:23 +0000  (20:12 +0200)]  
 
print_help(): indicate which options require an argument 
 
Steven Schubiger  [Sun, 8 Oct 2017 18:46:18 +0000  (20:46 +0200)]  
 
Omit superfluous quotes 
 
Steven Schubiger  [Sun, 8 Oct 2017 16:19:15 +0000  (18:19 +0200)]  
 
Test substituting 'none' foreground color 
 
Steven Schubiger  [Sat, 7 Oct 2017 19:46:40 +0000  (21:46 +0200)]  
 
Assert after find_color_entry() returns 
 
Steven Schubiger  [Wed, 4 Oct 2017 20:10:05 +0000  (22:10 +0200)]  
 
Define DEBUG_FILE under DEBUG only 
 
Steven Schubiger  [Sun, 1 Oct 2017 13:39:03 +0000  (15:39 +0200)]  
 
Minor tweaks 
 
- Omit enumeration identifier 
- Reorder const qualifier 
 
Steven Schubiger  [Wed, 27 Sep 2017 11:34:13 +0000  (13:34 +0200)]  
 
Adjust Debian Standards-Version 
 
Thanks Axel Beckert 
 
Steven Schubiger  [Wed, 27 Sep 2017 10:24:03 +0000  (12:24 +0200)]  
 
Merge changelog entries 
 
Thanks Axel Beckert 
 
Steven Schubiger  [Sat, 26 Aug 2017 14:13:36 +0000  (16:13 +0200)]  
 
Extend fixed space of attr[] 
 
Steven Schubiger  [Sun, 20 Aug 2017 20:17:24 +0000  (22:17 +0200)]  
 
process_opt_attr(): release var if not prior exited 
 
Steven Schubiger  [Thu, 17 Aug 2017 20:35:03 +0000  (22:35 +0200)]  
 
colorize 0.62 
 
Steven Schubiger  [Sun, 6 Aug 2017 11:59:07 +0000  (13:59 +0200)]  
 
print_help(): omit braces around for loop body 
 
Steven Schubiger  [Fri, 4 Aug 2017 20:51:10 +0000  (22:51 +0200)]  
 
Assert after find_color_entries() returns 
 
Steven Schubiger  [Fri, 4 Aug 2017 19:31:12 +0000  (21:31 +0200)]  
 
Make assertions more explicit 
 
Steven Schubiger  [Wed, 2 Aug 2017 09:07:02 +0000  (11:07 +0200)]  
 
Optimize extracting invalid attribute name 
 
Steven Schubiger  [Tue, 1 Aug 2017 19:55:21 +0000  (21:55 +0200)]  
 
Enhance message if attribute is invalid