about summary refs log tree commit diff stats
path: root/src/ui/privwin.c
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to g_string_free glib 2.75.3 changeMichael Vetter2023-03-211-4/+1
| | | | | | | | | | | | glib 2.75.3 changes warning behaviour of `g_string_free()`. See: * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3219 * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3226 Use this opportunity to replace the use of GString with `g_strdup_printf()` where possible. Otherwise correctly take the return value of `g_string_free()` which is nicer anyways.
* Fix quote and url autocompletion for MAM and historyMarcoPolo-PasTonMolo2023-02-131-3/+3
| | | | | | | | After adding MAM quote and url autocompletion wouldn't pick up messages from MAM or history(from DB) or would have them in the wrong order. This commit fixes that. Fixes https://github.com/profanity-im/profanity/issues/1770
* Exit *_incoming_msg functions when plain message is emptyMichael Vetter2022-07-041-0/+6
| | | | Fix https://github.com/profanity-im/profanity/issues/1733
* Add quote autocompletion for previous messagesMarcoPolo-PasTonMolo2022-03-211-0/+3
| | | | | | | | | | 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.
* Add config.h in files were it was missingMichael Vetter2021-03-261-0/+2
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* Pass window to functions so we dont have to call twiceMichael Vetter2020-07-091-1/+1
|
* Apply coding styleMichael Vetter2020-07-071-33/+33
|
* Revert "Apply coding style"Michael Vetter2020-07-071-34/+34
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-34/+34
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Build URL ac upon printing of message in windowMichael Vetter2020-05-201-0/+2
|
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-12/+12
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Refactor win_print_outgoing()Michael Vetter2020-02-171-1/+1
| | | | We never use the printf like behaviour anyways.
* xep-0308: remove replace_id from privwin signatureMichael Vetter2020-02-141-2/+2
| | | | No `/correct` allowed in privwins
* xep-0308: update the UI upon sending a corrected messageMichael Vetter2020-02-111-2/+2
| | | | | So far we don't do this for encrypted messages. Still needs to be done. And MUC also needs to be done.
* separator: Enable for MUC and PRIVWIN tooMichael Vetter2019-12-131-0/+1
| | | | Fix https://github.com/profanity-im/profanity/issues/1238
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Rename prof_message_t into ProfMessagePaul Fariello2019-06-201-1/+1
|
* Add prof_message_t to wrap all message attributesPaul Fariello2019-06-201-4/+4
| | | | | | | Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all.
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Add preferences for tab displayJames Booth2018-03-091-2/+2
|
* Show name in statusbar tabs WIPJames Booth2018-03-081-2/+2
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Rename win_print_incoming_message -> win_print_incomingJames Booth2016-10-151-2/+2
|
* Add win_print_outgoingJames Booth2016-10-151-1/+1
|
* Add win_printJames Booth2016-10-151-11/+11
|
* Use win_printf_line where appropriateJames Booth2016-10-151-7/+7
|
* Add ch arg to win_printf_lineJames Booth2016-10-151-4/+4
|
* Add win_printf_lineJames Booth2016-10-141-4/+4
|
* Always use string format in win_printfJames Booth2016-10-121-1/+1
|
* Remove win_print, use win_printf insteadJames Booth2016-10-111-3/+3
|
* Rename win_vprint -> win_printfJames Booth2016-10-111-9/+9
|
* Tidy headersJames Booth2016-07-241-3/+2
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Updated copyrightJames Booth2016-02-141-1/+1
|
* Don't show notification reminders for messages the user does not want ↵James Booth2016-02-041-3/+0
| | | | notifications for
* Tidy notify_message()James Booth2016-02-041-14/+2
|
* Removed unused arg: prefs_do_chat_notify()James Booth2016-02-041-1/+1
|
* Implemented /console private settingJames Booth2016-02-031-3/+4
|
* Handle self leaving room in private winsJames Booth2016-02-031-0/+87
|
* Handle occupant kicked/banned in private chat winsJames Booth2016-02-021-1/+47
|
* Show message in private windows when user offlineJames Booth2016-02-021-0/+30
|
* Updated console new message textJames Booth2015-12-201-8/+11
|
* Tidy wins_create_summary()James Booth2015-11-291-0/+18
|
* Renamed /notify message -> /notify chatJames Booth2015-11-291-1/+1
|
* Added room specific notify settingsJames Booth2015-11-281-1/+1
|
* Only show reminder notifications when notifications are enabledJames Booth2015-11-251-12/+6
|
* Tidy regular chat and room notificationsJames Booth2015-11-241-2/+26
|
* Update privwin.ckiethandi2015-11-201-1/+2
|
* Update privwin.ckiethandi2015-11-201-0/+1
| | | Take 2 added include.