about summary refs log tree commit diff stats
path: root/src/ui
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1652 from profanity-im/fix-1624Michael Vetter2022-03-232-4/+4
|\ | | | | Fix #1624
| * a tad more `const`-correctnessSteffen Jaeckel2022-03-222-4/+4
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Use funcs available in all glib versions to replace \n in quotesMarcoPolo-PasTonMolo2022-03-211-2/+7
| |
* | Add quote autocompletion for previous messagesMarcoPolo-PasTonMolo2022-03-219-1/+86
|/ | | | | | | | | | Fixes https://github.com/profanity-im/profanity/issues/1649 Type `>` then press tab or shift tab to autocomplete previous messages, then type your reply and send message. Newlines are replaced with newline followed by `> `. A newline is added at the end so that the user can immediately type a message without manually adding a new line.
* Merge pull request #1646 from MarcoPolo-PasTonMolo/fix/nick-autocompleteMichael Vetter2022-03-211-12/+19
|\ | | | | Fix not autocompleting nicks with '/'
| * Reverse priority for nick vs cmd autocompleteMarcoPolo-PasTonMolo2022-03-211-12/+15
| |
| * Fix not autocompleting nicks with '/'MarcoPolo-PasTonMolo2022-03-031-4/+8
| | | | | | | | | | | | | | Remove check for '/' at the beginning of the line before autocompleting and make it fallback to command autocompletion if no nicks found. Fixes https://github.com/profanity-im/profanity/issues/1474
* | Alt+e is already bound, use Alt+cSteffen Jaeckel2022-03-131-1/+1
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Move get_message_from_editor to appropriate file and change its keybindingMarcoPolo-PasTonMolo2022-03-031-4/+4
| |
* | Add hotkey for sending readline text to editorMarcoPolo-PasTonMolo2022-03-031-0/+26
|/
* auto-formatSteffen Jaeckel2022-02-015-12/+12
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* auto-formatSteffen Jaeckel2021-10-271-2/+2
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1607 from profanity-im/utf8indicatorcharMichael Vetter2021-10-223-57/+86
|\ | | | | Allow more UI indicator signs to be utf8 "characters"
| * Allow utf8 in occupants header charMichael Vetter2021-10-222-6/+9
| |
| * Allow utf8 in occupants charMichael Vetter2021-10-222-8/+11
| |
| * Allow utf8 in roster room private charMichael Vetter2021-10-222-5/+8
| |
| * Allow utf8 in roster rooms charMichael Vetter2021-10-222-7/+10
| |
| * Allow utf8 in roster private charMichael Vetter2021-10-222-5/+8
| |
| * Allow utf8 in roster resource charMichael Vetter2021-10-222-8/+14
| |
| * Allow utf8 in roster contact charMichael Vetter2021-10-222-11/+14
| |
| * Allow utf8 in roster header charMichael Vetter2021-10-212-10/+15
| | | | | | | | | | | | | | | | | | This and the following commits should make a couple of more configs allow utf8 chars so people can use their weird icons :-) We did the same for the otr/omemo/pgp indicators at: https://github.com/profanity-im/profanity/commit/1f8b1eb740391941e79e1004ad041f8178a2b674 https://github.com/profanity-im/profanity/commit/5cf6ee1bc6d0b99b01891bc455a657bf022a72b0
* | Move declaration and definition of win_get_last_sent_message to the correct ↵MarcoPolo-PasTonMolo2021-10-222-0/+30
|/ | | | place
* Format code correctlyMichael Vetter2021-10-059-18/+20
|
* Fix fromat string in statusbarMichael Vetter2021-09-291-7/+7
| | | | Regards https://github.com/profanity-im/profanity/issues/1597#issuecomment-930540261
* Fix wrong format string in titlebarMichael Vetter2021-09-291-3/+3
| | | | | | | See https://github.com/profanity-im/profanity/commit/fd9ccec8dc604902bbb1d444dba4223ccee0a092 and https://github.com/profanity-im/profanity/issues/1597#issuecomment-930426764.
* Fix wrong format string in titlebar encryptionMichael Vetter2021-09-291-2/+2
| | | | | | Fix https://github.com/profanity-im/profanity/issues/1597 Thanks @debacle.
* Add more keybindings to /help navigationMichael Vetter2021-09-151-2/+5
|
* notifier: Use glib functionMichael Vetter2021-09-091-3/+2
|
* Change attentionflag shortcut to alt+vMichael Vetter2021-08-311-1/+1
| | | | | | alt+f is the default readline shortcut for forward one word. Regards https://github.com/profanity-im/profanity/issues/1580
* chatwin: fix memory leak when load historyDmitry Podgorny2021-07-201-0/+4
| | | | | | | | _chatwin_history() reassigns msg->plain without freeing previous string. This leads to memory leak. As a temporary solution, free replaced string. Fixes #1585.
* Don't handle /me in the middle of a message with mentionsDmitry Podgorny2021-07-171-2/+3
|
* Fix buffer overread in _mucwin_print_mention()Dmitry Podgorny2021-07-171-3/+3
| | | | | | Offset for g_utf8_substring() is higher than the string length. We can avoid g_utf8_substring() for the tail and simply convert starting offset to a pointer.
* Add option to only allow messages from jids in rosterMichael Vetter2021-07-012-0/+11
| | | | | | | `/silence on` will throw away all messages (type: chat, normal) that come from jids that are not in the roster. Implement https://github.com/profanity-im/profanity/issues/955
* Fix /disco info contact address headerMichael Vetter2021-06-301-3/+5
| | | | | Only display server contact information heading when we have actual addresses.
* Adjust contact addresses output to the rest of disco infoMichael Vetter2021-06-301-2/+3
| | | | Format the output of cons_show_disco_contact_information() so that it matches cons_show_disco_info().
* XEP-0157: Print all available addressesMichael Vetter2021-06-301-3/+8
|
* XEP-0157: Print contact addressesMichael Vetter2021-06-302-0/+15
|
* Print editor command in /executable overviewMichael Vetter2021-06-101-0/+4
|
* win unread: fix window testMichael Vetter2021-06-091-5/+4
| | | | Fix https://github.com/profanity-im/profanity/issues/1554
* Add command to show single bookmark detailsMichael Vetter2021-06-092-0/+29
| | | | | | | `/bookmark list` lists all bookmarks with its details. `/bookmark list <jid>` shows the details of a single bookmark. Implement https://github.com/profanity-im/profanity/issues/1558
* Fix multiple mentions in one lineMichael Vetter2021-06-081-1/+4
| | | | | | | | `jubalh: jubalh jubalh` resulted in `20:32:34 - testuser1: jubalh20:32:34 - testuser1: : jubalh20:32:34 - testuser1: jubalh` Print date/nick only once at beginning of line.
* Use utf-8 safe functions in _mucwin_print_mention()Michael Vetter2021-06-081-5/+12
| | | | | | | | | | get_mentions() correctly counts utf-8 chars. So the positions of mentions we get from there are correct. But in _mucwin_print_mention() we set position equal to byte. We need to use utf-8 safe functions here. Regards https://github.com/profanity-im/profanity/issues/1231
* Change restarted omemo textMichael Vetter2021-06-021-2/+2
|
* Restart OMEMO Session after lost connectionDebXWoody2021-06-021-7/+29
| | | | | | | | | | When the connection has been re-established, chat and groupchat with OMEMO should restat the OMEMO Session. Fix: #1530 * Added HAVE_OMEMO * clang-format and user output
* Change ui_win_has_attention() logicMichael Vetter2021-05-311-3/+5
|
* Display attention hint in titlebar for mucs tooMichael Vetter2021-05-311-12/+23
| | | | | | | | * Display the `[ATTENTION]` hint in the titlebar for both chatwins and mucwins. * Use THEME_TITLE_TEXT instead of THEME_TITLE_ENCRYPT * Have separate function `_show_attention` and don't do it in unrelated `_show_privacy`.
* Attention-flag: Fix next windowDebXWoody2021-05-291-8/+25
|
* Attention flag message ( enabled, disabled)DebXWoody2021-05-291-1/+6
| | | | | When the user enables or disabled the attention flag, a message will be displayed in the chat window.
* Attention flag - Implemented Alt+mDebXWoody2021-05-296-11/+86
|
* Attention flag for groupchatsDebXWoody2021-05-297-2/+79
| | | | Attention flag for groupchat and display the windows via "/wins attention"