about summary refs log tree commit diff stats
path: root/src/ui/window_list.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-3/+3
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-311-2/+2
| | | | Fix #1068
* Update my Copyright to 2020Michael Vetter2020-01-031-1/+1
|
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Remove not needed if blocksMichael Vetter2019-11-011-9/+2
|
* Replace sent_messages list with algoMichael Vetter2019-10-311-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | For OMEMO we had a list with our sent messages. It was used so that we don't decrypt our own messages in MUCs that come in via reflection. Recently for https://github.com/profanity-im/profanity/pull/1209 we started to use origin-id and use an algorithm so we can detect our own sent messages via checking origin-id. Profanity uses the same id for the message ID and origin-id. With 06f300a42c4c627b6f1817bd48d92f083ffd9883 we added the message_is_sent_by_us() function. We implemented XEP-0359 this way to fix https://github.com/profanity-im/profanity/issues/1201 so that we don't log our own messages in MUCs twice. We can now check whether the message was sent by us using this function and can get rid of the list. Probably we could also put many parts of the sv_ev_room_message() function inside (else) part of `if (!(g_strcmp0(mynick, message->jid->resourcepart) == 0 && message_is_sent_by_us(message))) {`. Have to look more closely whether any of this needs to be run in case the message actually comes from us.
* Bind key to switch to next active windowMichael Vetter2019-09-301-0/+26
| | | | | | alt-a brings one to the next window with unread messages. Regards https://github.com/profanity-im/profanity/issues/1114
* Free last_msg_timestampMichael Vetter2019-06-191-0/+4
| | | | Fix memory leak.
* Only print room history for new messages upon reconnectMichael Vetter2019-06-051-0/+21
| | | | | | | | | | | | | | | | If re-establish a connection don't print the room history again. In case there there happened nothing at all since we got the room history on the last connection. And in case there were no new messages during the time we have been disconnected. Instead of printing the room history again we now print 'Re-established Connection'. This adds a bit of overhead since we save the timestamp upon every MUC message. See: https://github.com/profanity-im/profanity/issues/704
* Rework MUC reflected message filteringPaul Fariello2019-04-101-0/+1
| | | | | | | | | Reflected messages can't be filtered by nick only otherwise you might ignore messages comming from you on another devices. Consequently we maintain a list of sent messages id in mucwin. To be sure the id will be correctly reflected we use the origin-id stanza.
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Add support for command config executionPaul Fariello2018-09-051-2/+2
|
* Add conf win callbackPaul Fariello2018-09-051-2/+2
|
* Rename mucconf wins into conf winsPaul Fariello2018-09-051-8/+8
| | | | Configuration windows are now being used by both muc and cmd.
* Add support for form edition in command executionPaul Fariello2018-09-051-1/+1
| | | | Also change wins_get_by_string prototype in order to handle const str.
* Only allow swapping active windowsJames Booth2018-03-091-5/+1
|
* Remove empty tabsJames Booth2018-03-091-3/+1
|
* Add preferences for tab displayJames Booth2018-03-091-11/+19
|
* Show name in statusbar tabs WIPJames Booth2018-03-081-11/+10
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Allow previous autocompletion with shift tabJames Booth2017-04-011-4/+4
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Add win_printJames Booth2016-10-151-2/+2
|
* Rename win_get_string -> win_to_stringJames Booth2016-10-151-1/+1
|
* Use win_printf_line where appropriateJames Booth2016-10-151-1/+1
|
* Add ch arg to win_printf_lineJames Booth2016-10-151-1/+1
|
* Add win_printf_lineJames Booth2016-10-141-1/+1
|
* Remove win_print, use win_printf insteadJames Booth2016-10-111-1/+1
|
* Rename win_vprint -> win_printfJames Booth2016-10-111-1/+1
|
* Free old hash table on wins_tidyJames Booth2016-07-251-2/+3
|
* Move window functions to window_list.cJames Booth2016-07-241-12/+87
|
* Tidy headersJames Booth2016-07-241-4/+4
|
* Moved window_list.cJames Booth2016-07-241-0/+1029