about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Make all existing input functions bindable from configPaul Fertser2022-03-301-0/+5
| |/ / /
* | | | Merge pull request #1670 from profanity-im/moar-cleanupMichael Vetter2022-04-014-48/+61
|\ \ \ \ | | | | | | | | | | Even moar cleanup
| * | | | fix `account set theme` helpSteffen Jaeckel2022-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * | | | fix linter warningsSteffen Jaeckel2022-03-311-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * | | | less duplicationSteffen Jaeckel2022-03-312-37/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Print error message from `_string_matches_one_of()` instead of forming an error message manually that contains the same entries that were checked in `_string_matches_one_of()`. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * | | | use `_string_matches_one_of()` at more placesSteffen Jaeckel2022-03-311-16/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | I missed them the last time ... Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | | | Merge pull request #1668 from paulfertser/document-input-rcMichael Vetter2022-04-011-0/+12
|\ \ \ \ | | | | | | | | | | Document custom input configuration in man page
| * | | | Document custom input configuration in man pagePaul Fertser2022-03-301-0/+12
| |/ / /
* | | | Merge pull request #1671 from paulfertser/fix-resize-raceMichael Vetter2022-04-011-3/+1
|\ \ \ \ | |/ / / |/| | | Fix race condition on resize
| * | | Fix race condition on resizePaul Fertser2022-04-011-3/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current code is inherently racy: if screen update takes considerable time (e.g. when working over network) and a user performed a series of resizes the final event might get ignored and the display will be left in inconsistent state. Fix the race by unsetting the flag first so if the next WINCH signal is received while display is resizing it'll be processed on the next iteration.
* | | Merge pull request #1666 from paulfertser/man-page-improvementsMichael Vetter2022-03-301-5/+27
|\ \ \ | | | | | | | | Man page improvements
| * | | Improve manpage formatting a bitPaul Fertser2022-03-301-3/+8
| | | |
| * | | Add all missing key bindings to man pagePaul Fertser2022-03-301-2/+19
|/ / /
* | | Merge pull request #1665 from profanity-im/moar-cleanupMichael Vetter2022-03-307-179/+137
|\ \ \ | |/ / |/| | More cleanup
| * | fix installation of manpagesSteffen Jaeckel2022-03-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixup of 46b9428d92e86612fafc198bb3575acdf6167649 [0] writes something about "... use ‘man*section*_MANS’ over ‘man_MANS’ ..." in the context of "fast installation", so I tried that and it worked. TBH I don't really understand why this fixes the problem. [0] https://www.gnu.org/software/automake/manual/html_node/Man-Pages.html Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * | update gitignoreSteffen Jaeckel2022-03-301-0/+5
| | | | | | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * | add CI job to check coding styleSteffen Jaeckel2022-03-301-0/+23
| | | | | | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * | run `make format`Steffen Jaeckel2022-03-302-3/+4
| | | | | | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * | add `_string_matches_one_of()` helper functionSteffen Jaeckel2022-03-301-21/+39
| | | | | | | | | | | | | | | | | | ... instead of copying the same pattern over and over again. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * | clean-up connection (act I)Steffen Jaeckel2022-03-301-152/+63
|/ / | | | | | | | | | | | | | | | | * use custom memory descriptor that `abort()`s on `malloc()` failure * use static log descriptor * don't always re-create all contexts * de-duplicate code of `.._connect()` and `.._register()` Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Start new cycleMichael Vetter2022-03-30102-5496/+1
| |
* | Release 0.12.0Michael Vetter2022-03-30104-4/+5500
| |
* | Merge pull request #1660 from paulfertser/fix-invalid-mbrlen-inputMichael Vetter2022-03-291-0/+4
|\ \ | | | | | | Input window: handle invalid multibyte
| * | Input window: handle invalid multibytePaul Fertser2022-03-291-0/+4
|/ / | | | | | | | | | | | | | | | | | | The current code enters an infinite loop if the input string happens to get an invalid utf-8 sequence somehow. For me it was reproducible by running profanity in a Screen session and pressing Alt-т (cyrillic letter). Fix it the way borrowed from 0501e49623f68aa39508e4e622924c1dd8147588 where mbrlen is used for the same purposes.
* | changelog: add build requirements infoMichael Vetter2022-03-291-0/+3
| |
* | Update Changelog for 0.12.0Michael Vetter2022-03-291-0/+59
| |
| * use more standard replies when setting stampMichael Vetter2022-04-281-3/+3
| |
| * Rename stamp preference variableMichael Vetter2022-04-285-16/+16
| | | | | | | | | | PREF_INCOMING_STR -> PREF_INCOMING_STAMP PREF_OUTGOING_STR -> PREF_OUTGOING_STAMP
| * Rewrite stamp helpMichael Vetter2022-04-281-12/+10
| |
| * add /stamp commandArtjom Vejsel2022-04-027-2/+97
|/ | | | command allow override standard stamps of incoming and outgoing messages
* Merge pull request #1659 from paulfertser/add-debug-infoMichael Vetter2022-03-291-0/+1
|\ | | | | Add debug information to binary
| * Add debug information to binaryPaul Fertser2022-03-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Option -ggdb3 (same as -g3) doesn't affect code-generation, just adds to the binary size of an executable. Automake strips installed binaries automatically when "make install-strip" is run so enabling this option permanently doesn't affect the end result while allowing for hassle-free interactive debugging. If one is running a stripped binary it's still possible to attach GDB by process PID and then use "file /path/to/unstripped/profanity" to get all symbols and lines data.
* | Merge pull request #1656 from MarcoPolo-PasTonMolo/feature/who-noneMichael Vetter2022-03-294-3/+14
|\ \ | |/ |/| Add none option for /who
| * Add none option for /whoMarcoPolo-PasTonMolo2022-03-274-3/+14
| | | | | | | | | | Fixes https://github.com/profanity-im/profanity/issues/1425 `/who none` now displays all users in an muc without an affiliation
* | Merge pull request #1657 from paulfertser/autoconf-fixesMichael Vetter2022-03-281-3/+4
|\ \ | | | | | | Autoconf fixes
| * | Fix AM_CFLAGS assignments (including libstrophe flags)Paul Fertser2022-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Autoconf can pre-populate this variable with essential parameters so it should be appended to rather than overridden. While at it, don't miss to append CFLAGS for libstrope which is needed if it's installed to a non-default location.
| * | Fix autoconf warning about AC_CANONICAL_TARGET orderingPaul Fertser2022-03-271-1/+2
| |/ | | | | | | | | | | | | | | AM_INIT_AUTOMAKE requires AC_ARG_PROGRAM so should go after AC_CANONICAL_TARGET for proper program name mangling. This fixes "AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET" warning as emitted by autoconf 2.69.
* | Merge pull request #1658 from paulfertser/use-editor-env-variableMichael Vetter2022-03-271-2/+4
|\ \ | |/ |/| Use EDITOR environment variable
| * Use EDITOR environment variablePaul Fertser2022-03-271-2/+4
|/ | | | | | | When preferences do not specify a program to be used for /editor command, try getting it from EDITOR (which POSIX.1-2017 calls one of "variables that are frequently exported by widely used command interpreters and applications"), fall back to "vim" if not set.
* Merge pull request #1655 from profanity-im/win-autocompleteMichael Vetter2022-03-241-0/+4
|\ | | | | Reset url autocompletion after open/save
| * Reset url autocompletion after open/saveMichael Vetter2022-03-241-0/+4
| | | | | | | | | | | | | | I guess we should reset the position after we ran `/url open|save`. So that next time `/url open <tab>` starts with the latest entry. Fix https://github.com/profanity-im/profanity/issues/1654
* | Merge pull request #1653 from MarcoPolo-PasTonMolo/fix/editor-crashMichael Vetter2022-03-241-1/+5
|\ \ | | | | | | Fix crash on /editor
| * | Fix crash on /editorMarcoPolo-PasTonMolo2022-03-241-1/+5
|/ /
* | Merge pull request #1652 from profanity-im/fix-1624Michael Vetter2022-03-2316-48/+263
|\ \ | |/ |/| Fix #1624
| * apply `tls.policy` to cURL callsSteffen Jaeckel2022-03-222-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | In case the user decides to ignore the validity-state of certificates we also have to configure libcurl accordingly. `tls.policy` can be set via ``` /account set <account> tls trust ``` Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * add profanity-specific CAfileSteffen Jaeckel2022-03-229-0/+226
| | | | | | | | | | | | | | | | The profanity-internal mechanism to allow connecting to a server isn't easily portable to cURL. Therefor introduce a profanity-specific CAfile which is managed individually and will be configured in libcurl calls. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * a tad more `const`-correctnessSteffen Jaeckel2022-03-227-10/+10
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * also store PEM in `TLSCertificate`Steffen Jaeckel2022-03-223-5/+12
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * simplify codeSteffen Jaeckel2022-03-211-33/+1
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Merge pull request #1651 from MarcoPolo-PasTonMolo/feature/quote-autocompleteMichael Vetter2022-03-2110-1/+98
|\ \ | |/ |/| Add quote autocompletion for previous messages