aboutsummaryrefslogtreecommitdiff
path: root/TODO
AgeCommit message (Collapse)Author
2019-01-10Honor $VISUALEinhard Leichtfuß
It does now take precedence over $EDITOR when editing files. You probably do not want to edit contact entries with ed.
2018-12-29Fix return value in display_exactEinhard Leichtfuß
Also, - declare constant variables actually as constant. - use `-mindepth 1' in addition to `-maxdepth 1' for find.
2018-12-25Use arrays for the program variablesEinhard Leichtfuß
Also, - Fix --search-by-data with $output_program != cat. `- Required a the introduction of $tmp_dir. - Correct some bad explanation in ctct_config(5). - Correctly initialize $user_config_file in the script.
2018-12-25Update CHANGELOGEinhard Leichtfuß
2018-12-25Fix --search-by-data and rename its bash functionEinhard Leichtfuß
2018-12-25Globally use the same (default_)user_config_dirEinhard Leichtfuß
Also, - Fix issues with doubled slashes in man pages (in configure.ac). - Update some copyright years.
2018-12-25Prevent matching illegal sequences globallyEinhard Leichtfuß
E.g., a+b will no longer be matched by anything. This is due to the global usage of a modified list_all(). Also: - Use different return types for different things (e.g. $RET_SUCCESS). `- Both internally and externally (exit codes, documented in ctct(1)). - Make --search-by-data more efficient. `- One call to grep for all files. `- The conjunction of the regexes still requires several calls. - Rename functions to more speaking names. - Document the function parameters. - Add vi modelines. - Use [[:alpha:]] instead of [A-Za-z] which appears to be the same but more clear. Notably, both seem to include non-ASCII letters, for example 'à'. - Set nullglob option in the script to prevent errors for cases where glob patterns would be used. - Add a silent option ro check_syntax() (not used). - Add a full_path option to list_all() (not used). - Use return instead of exit in main(). - Remove one remaining usage of eval. - Fix small format issue in ctct(1) (I -> B). `- They are no longer, but it hardly harms to have this option.
2018-12-24Rename conf file and bash completion scriptEinhard Leichtfuß
Also, - Add the new manpage to the Makefile. - Add additional dependencies in README. - Fix some small formatting mistakes in ctct(1).
2018-12-24Split off ctct_config(5)Einhard Leichtfuß
2018-12-24Improve ctct(1)Einhard Leichtfuß
- Try to conform to man-pages(7). `- Try to avoid technical information. `- Remove the CONFIGURATION section. It's contents are to reappear in ctct_config(5) which ctct(1) already references. - Add some commented blank lines to improve readability. Also, in the main script: - Add EXIT_* variables. Not yet used. - Improve the naming in the help output. - Stop option parsing on '--'. - In the default case (i.e. no special option), return 1 if only a non exact match was found.
2018-12-03Treat temporary file with careEinhard Leichtfuß
Particularly in case somebody uses de-/encrypting {input,ouput}_program, it is important that the temporary file containing the decrypted data remains only accessible by the current user and is deleted when no longer needed.
2018-11-29Small cosmetic changesEinhard Leichtfuß
- Do not declare variables as local if they are also declared using `typeset'. - Slightly improve man page. - Change license links to https. - Update TODO
2017-08-03Initial commit of ctctEinhard Leichtfuß
Somewhere after version 0.2.2. Most notably, ctct can now be properly installed on OpenBSD and most likely other BSDs.