about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1675 from paulfertser/fix-no-me-historyMichael Vetter2022-04-031-0/+1
|\ | | | | Use correct colour for their nick when showing history
| * Use correct colour for their nick when showing historyPaul Fertser2022-04-011-0/+1
| |
* | Include `config.h` in `src/config.cafile.c`Maxi Wuttke2022-04-021-0/+2
| | | | | | | | See <https://github.com/profanity-im/profanity/issues/1512>
* | Fix a segfault when uploading or downloading filesMaxi Wuttke2022-04-022-2/+2
|/ | | | The variable `ccount->tls_policy` was not null-tested before `strcmp`.
* Merge pull request #1673 from profanity-im/fix-loggingMichael Vetter2022-04-011-1/+7
|\ | | | | Fix logging (this time for real)
| * Fix logging (this time for real)Steffen Jaeckel2022-04-011-1/+7
|/ | | | | | | | | | ... I hope ... We also need to create the path where the logs are stored. Fixup of d82f2f293b056965fc0bed2b24820961885ab90b Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1672 from profanity-im/fix-loggingMichael Vetter2022-04-011-1/+3
|\ | | | | fix path where logs are stored
| * fix path where logs are storedSteffen Jaeckel2022-04-011-1/+3
|/ | | | | | | 43e5f15e66b83ac8f3d57d2ffc7babf57873c51c broke the creation of the path where chatlogs are stored. This is fixed now. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1664 from paulfertser/tab-completion-cleanupMichael Vetter2022-04-011-41/+11
|\ | | | | Tab completion code simplification
| * Tab completion code simplificationPaul Fertser2022-03-301-41/+11
| | | | | | | | | | | | Factor out common code for Tab and Shift-Tab in a separate function. No functional change.
* | Merge pull request #1667 from paulfertser/fix-screen-arrows-bindingsMichael Vetter2022-04-011-0/+3
|\ \ | | | | | | Add Alt/Ctrl-arrows combinations for GNU Screen
| * | Add Alt/Ctrl-arrows combinations for GNU ScreenPaul Fertser2022-03-301-0/+3
| | | | | | | | | | | | | | | | | | GNU Screen terminal emulator is modelled after VT100, its key bindings for "application mode" (which profanity enables on startup) can be seen with this: info screen "Input Translation".
* | | Merge pull request #1669 from paulfertser/make-rl-functions-bindableMichael Vetter2022-04-011-0/+5
|\ \ \ | | | | | | | | Make all existing input functions bindable from config
| * | | 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
|
* 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