about summary refs log tree commit diff stats
path: root/src/ui/window.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix duplicate download IDs.IsaacM882023-03-091-1/+1
| | | | | | | | | | Fixes https://github.com/profanity-im/profanity/issues/1794 Explanation The problem is the download's identifier. Downloads are given an ID so they can be referenced later when their progress changes. Currently, the download's ID is the download's URL. When you download the same file twice, you have two downloads with the same ID. Download progress updates are shown on the first of both downloads with the same ID. Solution Change the download's ID from its URL to a random number. A random ID is generated when get_random_string() is called from cmd_funcs.c. Several other functions are updated to cope with the new ID format.
* Update copyright yearMichael Vetter2023-01-101-1/+1
|
* Improve MAM loading string.Martin Dosch2022-10-221-1/+1
| | | | | Replaced three dots `...` by a proper ellipsis `…`. Removed plenking (space between `messages` and ellipsis.
* Apply codigng style on new MAM codeMichael Vetter2022-10-211-1/+1
|
* CleanupMarcoPolo-PasTonMolo2022-07-051-0/+1
|
* Add loading history message on initial MAM requestMarcoPolo-PasTonMolo2022-07-051-0/+1
| | | | | | This prevents scrolling to top and initiating another MAM request while still fetching the initial one. Also free timestamp object in database.c
* Get messages from history when scrolling up.MarcoPolo-PasTonMolo2022-07-031-0/+1
|
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* Add quote autocompletion for previous messagesMarcoPolo-PasTonMolo2022-03-211-0/+2
| | | | | | | | | | 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.
* Update copyrightMichael Vetter2021-01-081-1/+1
|
* Run make format on rebaseWilliam Wennerström2020-11-161-1/+1
|
* Add http_download toolWilliam Wennerström2020-11-161-1/+1
|
* Basic support for building on NetBSD.nia2020-09-041-0/+2
| | | | | | - Add NetBSD as a recognized platform without -ldl. - Allow building with NetBSD libcurses instead of ncurses. - Portability to NetBSD sh - use POSIX '=' instead of '=='.
* Apply coding styleMichael Vetter2020-07-071-26/+26
|
* Revert "Apply coding style"Michael Vetter2020-07-071-28/+28
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-28/+28
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Retrieve message type from databaseMichael Vetter2020-04-081-1/+1
| | | | So we don't have to check for MUC another way.
* Adapt win_print_history() to work with muc tooMichael Vetter2020-04-061-1/+1
|
* Use ProfMessage as parameter for win_println_incoming_muc_msg()Michael Vetter2020-03-091-1/+1
|
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-5/+5
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Refactor win_print_history()Michael Vetter2020-02-171-1/+1
| | | | We never use the printf like behaviour anyways.
* Refactor win_print_outgoing_muc_msg()Michael Vetter2020-02-171-1/+1
| | | | We never use the printf like behaviour anyways.
* Refactor win_println_incoming_muc_msg()Michael Vetter2020-02-171-1/+1
| | | | We never use the printf like behaviour anyways.
* Refactor win_print_outgoing()Michael Vetter2020-02-171-5/+3
| | | | We never use the printf like behaviour anyways.
* xep-0308: enable correction in outgoing messages with delivery receiptsMichael Vetter2020-02-141-2/+1
|
* Rename win_print_with_receipt() -> win_print_outgoing_with_receipt()Michael Vetter2020-02-141-1/+1
|
* Add myself to copyrightMichael Vetter2020-02-141-0/+1
|
* Rename `win_println_them_message()` -> `win_println_incoming_muc_msg()`Michael Vetter2020-02-141-1/+1
| | | | | | | | In aa3693daa211b36c78d136d5a1ee9f3258e21352 I renamed `win_println_me_message()` -> `win_print_outgoing_muc_msg()`. Now: `win_println_them_message()` -> `win_println_incoming_muc_msg()` to be more consistent and descriptive.
* xep-0308: Implement LMC for outgoing MUC messagesMichael Vetter2020-02-141-1/+1
| | | | | | Including OMEMO encrypted ones. Also rename `win_println_me_message()` to `win_print_outgoing_muc_msg() as I think it's a more descriptive name.
* xep-0308: Display corrected incoming MUC messages correctlyMichael Vetter2020-02-121-1/+1
|
* xep-0308: update the UI upon sending a corrected messageMichael Vetter2020-02-111-1/+1
| | | | | So far we don't do this for encrypted messages. Still needs to be done. And MUC also needs to be done.
* Initial work on last-read-position featureMichael Vetter2019-12-131-0/+3
| | | | | | | | Print dashes on the position we last left off in a chat window. So far the number of dashes is hardcoded, and the feature only works in chat windows. Regards 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/+3
| | | | | | | 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
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Allow room display properies to be set by pluginsJames Booth2017-01-201-3/+3
|
* Remove unused functionJames Booth2016-11-241-1/+0
|
* Add win highlight fuctionsJames Booth2016-10-151-0/+4
|
* Add win_print_historyJames Booth2016-10-151-0/+1
|
* Rename win_print_incoming_message -> win_print_incomingJames Booth2016-10-151-1/+1
|
* Add win_print_outgoingJames Booth2016-10-151-0/+2
|
* Remove args from win_print_with_receiptJames Booth2016-10-111-2/+2
|
* Add win_print_http_uploadJames Booth2016-10-111-0/+4
|
* Tidy headersJames Booth2016-07-241-7/+7
|
* Moved muc.cJames Booth2016-07-241-1/+1
|
* Moved contact.cJames Booth2016-07-241-1/+1
|
* Moved chat_state.cJames Booth2016-07-241-1/+1
|