Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tree: rename usageprint() to print_usage() | Joursoir | 2022-08-22 | 2 | -11/+11 |
| | | | | Rename macro based on naming rules. | ||||
* | tree: usageprint() macro no longer returns an error by itself | Joursoir | 2022-08-22 | 3 | -16/+32 |
| | | | | | | This patch also does: - Moves usageprint() from constants.h to output.h - Returns an error after using useprint() clearly. | ||||
* | lpass: delete obvious comments | Joursoir | 2022-08-22 | 1 | -3/+2 |
| | |||||
* | lpass: drop unnecessary variable | Joursoir | 2022-08-22 | 1 | -3/+2 |
| | |||||
* | lpass: try to change the dir a second time if the dir exists | Joursoir | 2022-08-22 | 1 | -5/+4 |
| | | | | | Let's unite two conditions. So, if mkdir() returns a non-zero value and errno equals EEXIST, we'll give a change and do chdir() again. | ||||
* | lpass: create root directory only if it doesn't exist. | Joursoir | 2022-08-21 | 1 | -9/+14 |
| | | | | | No need to try to create a directory in other cases, because that won't help. | ||||
* | lpass: use new macro to output error(s) | Joursoir | 2022-08-21 | 1 | -4/+7 |
| | | | | | | | | This is one of the steps on the way to get rid of errprint_*() macros and handle errors by yourself. For more context see other patches under the same topic specified below. TOPIC=drop_errprint | ||||
* | tree: introduce header file for output | Joursoir | 2022-08-21 | 1 | -0/+26 |
| | | | | | | | | | | | The file contains only one macro right now. But it's more convenient if the header with the appropriate name will do output routines. This is one of the steps on the way to get rid of errprint_*() macros and handle errors by yourself. For more context see other patches under the same topic specified below. TOPIC=drop_errprint | ||||
* | bump versionv1.2a | Joursoir | 2021-07-04 | 1 | -2/+2 |
| | |||||
* | routines: null-terminate a generated password | Joursoir | 2021-07-04 | 1 | -0/+1 |
| | |||||
* | routines: use new allowed chars to generate a password | Joursoir | 2021-07-04 | 1 | -2/+9 |
| | |||||
* | bump versionv1.1c | Joursoir | 2021-06-13 | 1 | -2/+2 |
| | |||||
* | exec-cmd: help: add info about 'show' | Joursoir | 2021-06-13 | 1 | -1/+4 |
| | |||||
* | lpass: add cmd 'show' | Joursoir | 2021-06-13 | 1 | -1/+3 |
| | | | | | | | | | | Now you need to use the following command to list the contents of the password manager: lpass show [passname] If the command name is missing or was typed incorrectly, the 'help' command will be executed and will return 1. It will simplify the program when i add bash completion. | ||||
* | lpass: call the function of command without argv[0] | Joursoir | 2021-06-12 | 2 | -11/+4 |
| | |||||
* | lpass: delete side effect | Joursoir | 2021-06-12 | 1 | -3/+5 |
| | |||||
* | rename main.c to lpass.c | Joursoir | 2021-06-12 | 1 | -0/+0 |
| | |||||
* | exec-cmd: show: handle argument '--no-color' | Joursoir | 2021-06-11 | 1 | -4/+6 |
| | |||||
* | tree: make it possible to control the use of color | Joursoir | 2021-06-11 | 2 | -6/+9 |
| | |||||
* | refactor; set correct headers guard | Joursoir | 2021-03-23 | 7 | -32/+25 |
| | |||||
* | move cmd to 'exec-cmd.c', fix some memory leak, macros changes | Joursoir | 2021-03-23 | 5 | -464/+519 |
| | |||||
* | update doc for v1.1bv1.1b | Joursoir | 2021-03-06 | 1 | -2/+2 |
| | |||||
* | some chore and delete useless thing | Joursoir | 2021-03-03 | 7 | -46/+14 |
| | |||||
* | cmd 'edit' has become more secure | Joursoir | 2021-03-03 | 4 | -84/+66 |
| | |||||
* | use xlib for copy password | Joursoir | 2021-03-01 | 4 | -29/+28 |
| | |||||
* | add routines for Xlib | Joursoir | 2021-03-01 | 2 | -0/+129 |
| | |||||
* | update doc and makefilev1.1a | Joursoir | 2021-03-01 | 2 | -3/+3 |
| | |||||
* | change license | Joursoir | 2021-02-28 | 13 | -9/+237 |
| | |||||
* | add header with constants; cmd 'edit' temporarily unavailable; delete all ↵ | Joursoir | 2021-02-28 | 4 | -90/+56 |
| | | | | global vars | ||||
* | refactor code&style; use gpgme, delete fork for gpg; generate/showtree cmd ↵ | Joursoir | 2021-02-27 | 3 | -148/+124 |
| | | | | don't use global vars anymore | ||||
* | add routines for gpgme | Joursoir | 2021-02-26 | 2 | -0/+164 |
| | |||||
* | improve code and codestyle; mv/rm cmd don't use global vars anymore | Joursoir | 2021-02-26 | 6 | -99/+65 |
| | |||||
* | rename handerror to xstd; create and use some routines | Joursoir | 2021-02-26 | 7 | -39/+43 |
| | |||||
* | create own function: tree | Joursoir | 2021-02-26 | 3 | -12/+150 |
| | |||||
* | add recursive mkdir, improve error handling | Joursoir | 2021-02-25 | 3 | -244/+295 |
| | |||||
* | refactor code | Joursoir | 2021-02-24 | 4 | -225/+205 |
| | |||||
* | commands return exit-code; add usefull macros | Joursoir | 2021-02-22 | 2 | -87/+94 |
| | |||||
* | change recognizing of commands; many printf -> one printf | Joursoir | 2021-02-22 | 6 | -111/+112 |
| | |||||
* | correct typos, change vars namev1.0c | Joursoir | 2021-01-14 | 2 | -29/+27 |
| | |||||
* | refactor generator of password | Joursoir | 2021-01-14 | 3 | -23/+9 |
| | |||||
* | rewrite shell script 'copy' to c language | Joursoir | 2021-01-14 | 2 | -8/+30 |
| | |||||
* | fix segmentation fault; remove few typosv1.0bdevelop | Joursoir | 2021-01-06 | 1 | -9/+9 |
| | |||||
* | some features: | Joursoir | 2020-10-31 | 7 | -0/+916 |
remake README.md for new code architecture; add help command; add man page; |