aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update guix.scm to build from source for both guile 3.0 and 2.22.0.2Fredrik Salomonsson2021-01-271-84/+83
| | | | | | | | | Inspired by the talk "Just build it with Guix" by Efraim Flashner from the guix days which allows to use: guix build --file=guix.scm to run tests for both guile-3.0 and guile-2.2.
* Bump up version to 2.0.2Fredrik Salomonsson2021-01-272-3/+3
|
* Add search paths to guile's module and object dirFredrik Salomonsson2021-01-271-0/+4
| | | | | Feedback from Ludovic Courtès when adding a package definition of pinentry-rofi to guix.
* Fix issue with quoting and AUTHOR and HVERSIONFredrik Salomonsson2021-01-271-3/+4
| | | | | | | | Hall for some reason adds quotes to these, so stamping them directly into the strings breaks the quoting. For now use it as a separate argument to format. As that makes it easier to deal with when versioning up etc.
* Update copyrightFredrik Salomonsson2021-01-271-1/+1
|
* Don't hardcode the path to the guile executableFredrik Salomonsson2021-01-271-1/+1
| | | | | Instead use the path autoconf finds, avoids a subtitle bug that it will pick up guile installed at the system level instead of guix.
* Update readme to add section on installing it with guixFredrik Salomonsson2021-01-171-5/+24
|
* Update guix.scm to build from githubFredrik Salomonsson2020-10-091-6/+13
|
* Update changelogFredrik Salomonsson2020-10-091-0/+3
|
* Add rofi dependency2.0.1Fredrik Salomonsson2020-10-091-2/+2
|
* Merge branch 'hall'2.0.0Fredrik Salomonsson2020-06-2619-233/+806
|\
| * Fix typo in READMEFredrik Salomonsson2020-06-261-1/+1
| |
| * Use ~! to flush the outputFredrik Salomonsson2020-06-261-16/+8
| | | | | | | | | | Instead of having to sprinkle force-output all over the place. Which also breaks some of the functions that accept an optional port.
| * Check in automake filesFredrik Salomonsson2020-06-267-0/+327
| |
| * Add # before the mode: org;Fredrik Salomonsson2020-06-141-1/+1
| | | | | | | | So it doesn't show up when rendering the document.
| * Bumping up 2.0.0Fredrik Salomonsson2020-06-143-5/+5
| | | | | | | | | | As the script lost the -guile prefix, and it is now split into a module and a script.
| * Add not about breaking changesFredrik Salomonsson2020-06-141-0/+7
| |
| * Add comment before the mode in README.orgFredrik Salomonsson2020-06-141-1/+1
| | | | | | | | | | Otherwise it will pop up in when rendered in github or another git hosting site.
| * Fix use modules for scriptFredrik Salomonsson2020-06-142-5/+2
| |
| * Comment out the nested test groupsFredrik Salomonsson2020-06-141-6/+6
| | | | | | | | | | | | | | As there is a parsing bug in guile-hall's test runner. So if a error is triggered inside a nested test group no log will show up. So commenting out these temporarily to work around that issue.
| * Update tests to send in the fake-port via the keywordFredrik Salomonsson2020-06-141-106/+88
| | | | | | | | | | | | Instead of using with-output-to-port procedure. As that had some issues with guile-hall, as well as reporting the error from the test suite. As it was accedentally capturing it.
| * Add keyword argument to the get functions to redirect the outputFredrik Salomonsson2020-06-141-13/+13
| | | | | | | | | | To make it easier to test them without having to externally redirect the output. As that messes up the testing suite as well as guile-hall.
| * Using Hall to handle the projectFredrik Salomonsson2020-06-1213-102/+370
|/
* Fix crash when rofi is aborted (#11)1.0.2Fredrik Salomonsson2020-05-111-1/+1
|
* Bumping up version to 1.0.11.0.1Fredrik Salomonsson2020-05-111-1/+1
|
* Add test for empty password and string-empty?Fredrik Salomonsson2020-05-112-2/+47
|
* Use the html newline when combining the error and description (#10)Fredrik Salomonsson2020-05-111-1/+1
| | | | Otherwise it will not linebreak properly
* Add missing '-input /dev/null' to rofi when asking for password (#9)Fredrik Salomonsson2020-05-111-12/+12
| | | | | | | When refactoring this got removed. Which hangs the input when running via gpg. It doesn't show up when running `pinentry-rofi` directly. The hang is pretty nasty as well, as input to other programs stop working. Only way is to open up a new terminal and find the PID and kill it.
* Bumping up version to 1.0.01.0.0Fredrik Salomonsson2020-05-111-1/+1
|
* Add test target to makefile (#8)Fredrik Salomonsson2020-05-111-0/+4
|
* Ignore log that the test framework generatesFredrik Salomonsson2020-05-111-0/+1
|
* Exposing rofi-popupFredrik Salomonsson2020-05-111-0/+2
|
* Add tests (#8)Fredrik Salomonsson2020-05-111-0/+406
| | | | | Covers up all except pinentry-loop and rofi-popup. Not sure how I'm going to test input to rofi.
* Refactor the rofi part of the codeFredrik Salomonsson2020-05-111-68/+86
| | | | | | | Wrapped the call to rofi into one function. Then let `pinentry-getpin` and `pinentry-confirm` call that. Make it easier to test the code, make it easier to maintain and should be easier to potentially swap out the rofi call to something else in the future.
* Convert hex to char before handling underline for pango-markupFredrik Salomonsson2020-05-081-3/+3
|
* Fix that the underline/underscore handle newlinesFredrik Salomonsson2020-05-081-3/+3
|
* export the public functionsFredrik Salomonsson2020-05-081-1/+42
|
* Remove pinentry prefix for some utility functionsFredrik Salomonsson2020-05-081-6/+6
|
* Made pinentry-rofi a moduleFredrik Salomonsson2020-05-081-8/+9
|
* Fix copyrightFredrik Salomonsson2020-05-081-1/+1
|
* Merge branch 'message_6' (#6)Fredrik Salomonsson2020-05-041-2/+23
|\
| * Added support for MESSAGE and CONFIRM --one-button (#6)Fredrik Salomonsson2020-05-041-2/+23
| | | | | | | | | | More digging in the protocol, it can also use CONFIRM with one button aka MESSAGE, to show message to the user.
* | Merge branch 'better_default_7' (#7)Fredrik Salomonsson2020-05-041-10/+31
|\ \
| * | Added support for default-ok, default-cancel and default-prompt (#7)Fredrik Salomonsson2020-05-041-2/+26
| | | | | | | | | | | | | | | They now set the `ok-button`, `cancel-button` and `prompt` on the pinentry struct. Rest of the options are still ignored.
| * | Better handling of the default ok and cancel labels (#7)Fredrik Salomonsson2020-05-041-8/+5
| |/ | | | | | | | | | | The default ok and cancel are now default values for pinentry's `ok-button` and `cancel-button`. Which simplifies the `CONFIRM` pop up a bit.
* | Refactored the functions that set button labels or messages (#5)Fredrik Salomonsson2020-05-041-17/+39
| | | | | | | | | | | | Reduced the amount of duplicate code, i.e setting pinentry-ok and use of `input-string` and `pango-markup`. By creating three wrapper functions.
* | Added support for underline (#5)Fredrik Salomonsson2020-05-041-1/+27
|/ | | | | | | | | | Reading some more in the pinentry protocol [1], underscore followed by a character means underline that character. To escape that two underscore is used. Added that behavior in the messages. The input to dmenu i.e the buttons, does not support pango markup so just removing the underscore. [1] http://info2html.sourceforge.net/cgi-bin/info2html-demo/info2html?(pinentry)Protocol
* Fixed typo in the error codeFredrik Salomonsson2020-05-041-1/+1
|
* Missing punctuation on docstringFredrik Salomonsson2020-05-041-1/+1
|
* Replace %0A with 
 instead of \\\\n (#4)Fredrik Salomonsson2020-05-041-2/+2
| | | | | | This should fix the newline issue. Thanks to @n0emis for pointing this out.