]>
git.refcnt.org Git - colorize.git/log
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
Steven Schubiger [Sun, 30 Jul 2017 21:23:15 +0000 (23:23 +0200)]
debian/rules: trim down
Steven Schubiger [Fri, 21 Jul 2017 20:37:36 +0000 (22:37 +0200)]
Set description once for unknown flags
Steven Schubiger [Sun, 16 Jul 2017 12:12:55 +0000 (14:12 +0200)]
Adapt short description within man page
Steven Schubiger [Thu, 6 Jul 2017 17:36:34 +0000 (19:36 +0200)]
write_attr(): pass struct by reference
Steven Schubiger [Fri, 16 Jun 2017 21:15:26 +0000 (23:15 +0200)]
Minor tweaks
Be more precise with naming/wording
Steven Schubiger [Wed, 17 May 2017 15:34:34 +0000 (17:34 +0200)]
Const name_len
Steven Schubiger [Sun, 14 May 2017 21:06:44 +0000 (23:06 +0200)]
Test --attr with multiple occurrences
Steven Schubiger [Fri, 12 May 2017 19:22:04 +0000 (21:22 +0200)]
Reject attributes with multiple occurrences
Steven Schubiger [Thu, 27 Apr 2017 20:55:20 +0000 (22:55 +0200)]
colorize 0.61
Steven Schubiger [Tue, 25 Apr 2017 19:53:24 +0000 (21:53 +0200)]
Merge branch 'opt_attr'
Steven Schubiger [Tue, 25 Apr 2017 17:08:05 +0000 (19:08 +0200)]
Add Axel Beckert to AUTHORS
Steven Schubiger [Sat, 22 Apr 2017 21:16:51 +0000 (23:16 +0200)]
Update plain documentation
Steven Schubiger [Fri, 21 Apr 2017 18:00:22 +0000 (20:00 +0200)]
Amend man page date