Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | xep-0084/avatar: add option to open avatar directly | Michael Vetter | 2020-03-10 | 9 | -9/+88 | |
| | | | | | | | | | | | Change: `/avatar me@somewhere.org` -> `/avatar get me@somewhere.org` New: `/avatar cmd feh` `/avatar open me@somewhere.org` Implement https://github.com/profanity-im/profanity/issues/1281 | |||||
* | Make statusbar tab more resilient | Michael Vetter | 2020-03-09 | 1 | -4/+8 | |
| | | | | | | | | If users input strange stuff and we can't create a jid from it even the setting is set to 'user' we still should fallback to the regular identifer. For example with `/msg @name%matrix.domain.org@matrix.org hi`. | |||||
* | Remove caution about LMC | Michael Vetter | 2020-03-09 | 1 | -1/+1 | |
| | | | | We check the from now. | |||||
* | Rename ProfBufferEntry jid variable | Michael Vetter | 2020-03-09 | 3 | -7/+7 | |
| | ||||||
* | Check for sender of LMC message | Michael Vetter | 2020-03-09 | 1 | -11/+17 | |
| | ||||||
* | Write from jid in buffer | Michael Vetter | 2020-03-09 | 1 | -10/+13 | |
| | | | | Not all cases covered yet. | |||||
* | Add barejid to buffer struct | Michael Vetter | 2020-03-09 | 3 | -15/+16 | |
| | ||||||
* | Remove old comments | Michael Vetter | 2020-03-09 | 1 | -4/+0 | |
| | ||||||
* | Use correct MUC message timestamp | Michael Vetter | 2020-03-09 | 2 | -5/+8 | |
| | | | | | | | | win_println_incoming_muc_msg() always used the current time. Now let's use whatever is sent int he message struct (from the delay stanza or the current time that we set now once the message is received). No playing with the time upon display anymore. | |||||
* | Use ProfMessage as parameter for win_println_incoming_muc_msg() | Michael Vetter | 2020-03-09 | 3 | -7/+6 | |
| | ||||||
* | window.c: Rename variable | Michael Vetter | 2020-03-09 | 1 | -3/+3 | |
| | ||||||
* | Use proper OS names for OpenBSD and NetBSD | Michael Vetter | 2020-03-09 | 1 | -2/+2 | |
| | ||||||
* | Dont check before freeing | Michael Vetter | 2020-02-27 | 1 | -8/+4 | |
| | | | | Regards d18ec23d0a38bd538d48f7e827fec0fceb9f230d | |||||
* | Fix memory leak in win_create_muc() | Michael Vetter | 2020-02-27 | 1 | -1/+0 | |
| | | | | | | | | | | | | | I suspect this was just a copy paste error. `_win_create_simple_layout()` is called in other creation functions like `win_create_config()` or `win_create_private()`. I suspect when `win_create_muc()` was created it was just copied. But in this function we actually set the layout ourself later. So calling the function isn't needed. Regards https://github.com/profanity-im/profanity/issues/1279 | |||||
* | Fix few memory leaks | Dmitry Podgorny | 2020-02-27 | 3 | -6/+31 | |
| | ||||||
* | Set muc history correctly in _handle_groupchat() | Michael Vetter | 2020-02-25 | 1 | -1/+1 | |
| | | | | Fix init. mistake introduced in e9c5c1979d836ed75c37d48651710b4fd125cfb2 | |||||
* | Free jid in muc_members_add() | Michael Vetter | 2020-02-25 | 1 | -0/+1 | |
| | | | | Fix memleak. | |||||
* | Stop buffer_remove_entry_by_id() once we found the entry | Michael Vetter | 2020-02-25 | 1 | -0/+1 | |
| | | | | No need to continue to loop through the rest. | |||||
* | Properly free buffer entry | Michael Vetter | 2020-02-25 | 1 | -0/+1 | |
| | | | | | | | g_slist_delete_link() is not enough we also need to call _free_entry() on the entry. This fixes a memleak in win_insert_last_read_position_marker() | |||||
* | Fix memleak in stanza_get_oldest_delay | Michael Vetter | 2020-02-25 | 1 | -2/+14 | |
| | | | | We need to unref the temp datetimes again. | |||||
* | Fix memleak in _handle_groupchat() | Michael Vetter | 2020-02-25 | 1 | -1/+6 | |
| | | | | We need to unref the timestamp before setting a new one. | |||||
* | Make cmd_logging() safer | Michael Vetter | 2020-02-25 | 1 | -2/+3 | |
| | | | | Could be that args[1] is not set. | |||||
* | Only use enc_char in win_print_incoming() when needed | Michael Vetter | 2020-02-25 | 1 | -1/+4 | |
| | | | | Fixes potential memory leak too. | |||||
* | Improve formatting for some help instructions | William Wennerström | 2020-02-24 | 1 | -12/+12 | |
| | | | | Some instructions were missing whitespace or punctuation. | |||||
* | Fix errors in log.c | Michael Vetter | 2020-02-22 | 1 | -1/+2 | |
| | ||||||
* | get_log_file_location () should return const char* | Michael Vetter | 2020-02-21 | 3 | -3/+3 | |
| | | | | Make clear that result should never be freed. | |||||
* | Allow setting custom log file via -f FILENAME | Michael Vetter | 2020-02-21 | 7 | -23/+53 | |
| | | | | | `profanity -f TEST` will use `~/.local/share/profanity/logs/TEST.log` as the log file. | |||||
* | Rename separator to trackbar | Michael Vetter | 2020-02-21 | 1 | -4/+4 | |
| | ||||||
* | Make trackbar color configurable | Michael Vetter | 2020-02-21 | 3 | -0/+8 | |
| | | | | Use `main.trackbar` in themes. | |||||
* | Dont filter out own MUC messages if muc history is set to 'regular' | Michael Vetter | 2020-02-21 | 3 | -5/+5 | |
| | | | | | | | | We use the same incoming function as for regular incoming text here. But don't want to filter out our own messages since we didn't print them during sending. Follow up to 8ee2cdadc88978ea26e6b6eb56f2aaa1fd5a81df | |||||
* | Improve setting encryption char error handling | Michael Vetter | 2020-02-21 | 3 | -16/+27 | |
| | ||||||
* | Expand omemo error message | Michael Vetter | 2020-02-21 | 1 | -2/+2 | |
| | ||||||
* | pref: Use helper functions for setting/getting the encryption char | Michael Vetter | 2020-02-21 | 1 | -38/+24 | |
| | | | | Dont duplicate code. | |||||
* | win_print_incoming() strdup the charactar | Michael Vetter | 2020-02-21 | 1 | -1/+1 | |
| | | | | | Fix bug introduced in 1f8b1eb740391941e79e1004ad041f8178a2b674. Forgot to strdup() here. | |||||
* | Fix missing change from last commit | Michael Vetter | 2020-02-20 | 1 | -1/+1 | |
| | ||||||
* | Allow utf8 symbols as omemo/pgp/otr indicator char | Michael Vetter | 2020-02-20 | 20 | -620/+641 | |
| | | | | Fix https://github.com/profanity-im/profanity/issues/1264 | |||||
* | Fix theme setting correction char | Michael Vetter | 2020-02-20 | 1 | -1/+1 | |
| | | | | Copy paste error. We actually set the omemo char.. | |||||
* | Parse mentions and triggers in muc history if display is 'regular' | Michael Vetter | 2020-02-20 | 4 | -22/+30 | |
| | | | | Fix https://github.com/profanity-im/profanity/issues/1261 | |||||
* | Put getting mentions in own function | Michael Vetter | 2020-02-20 | 3 | -10/+17 | |
| | | | | | | So we can use it somewhere else too. Regards https://github.com/profanity-im/profanity/issues/1261 | |||||
* | Add option to color MUC history like regular messages | Michael Vetter | 2020-02-20 | 7 | -17/+72 | |
| | | | | | | | | | `/logging group color` has: * `unanimous` which will color it with one unanimous color. Like it was done always. * `regular` which colors it like regular incoming messages. Regards https://github.com/profanity-im/profanity/issues/1261 | |||||
* | Refactor mucwin_history() | Michael Vetter | 2020-02-19 | 3 | -8/+9 | |
| | | | | Just pass ProfMessage. | |||||
* | Add define names to comment | Michael Vetter | 2020-02-19 | 2 | -7/+6 | |
| | ||||||
* | Merge pull request #1269 from wstrm/add-sr.ht-ci | Michael Vetter | 2020-02-17 | 1 | -2/+1 | |
|\ | | | | | Add builds.sr.ht CI for OpenBSD | |||||
| * | Add builds.sr.ht CI for OpenBSD | William Wennerström | 2020-02-17 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | * Add .builds/openbsd.yml for builds.sr.ht * Update travis-build.sh -> ci-build.sh with OpenBSD case * Fix libdl check in configure.ac (OpenBSD has libdl built-in) * Fix some minor issues found when compiling on OpenBSD with GCC (e.g. uninitialized variables) | |||||
* | | omemo: switch to 12 byte IV | Michael Vetter | 2020-02-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | We decrypt both 12 and 16 bytes. And send 12 instead of 16 bytes now. Close https://github.com/profanity-im/profanity/issues/1272 | |||||
* | | Refactor win_print_history() | Michael Vetter | 2020-02-17 | 4 | -14/+6 | |
| | | | | | | | | We never use the printf like behaviour anyways. | |||||
* | | Refactor win_print_outgoing_muc_msg() | Michael Vetter | 2020-02-17 | 3 | -15/+7 | |
| | | | | | | | | We never use the printf like behaviour anyways. | |||||
* | | Refactor win_println_incoming_muc_msg() | Michael Vetter | 2020-02-17 | 3 | -15/+7 | |
| | | | | | | | | We never use the printf like behaviour anyways. | |||||
* | | Refactor win_print_outgoing() | Michael Vetter | 2020-02-17 | 4 | -19/+10 | |
| | | | | | | | | We never use the printf like behaviour anyways. | |||||
* | | Fix typo | Michael Vetter | 2020-02-17 | 1 | -1/+1 | |
| | |