about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Free jid in muc_members_add()Michael Vetter2020-02-251-0/+1
| | | | Fix memleak.
* Stop buffer_remove_entry_by_id() once we found the entryMichael Vetter2020-02-251-0/+1
| | | | No need to continue to loop through the rest.
* Properly free buffer entryMichael Vetter2020-02-251-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_delayMichael Vetter2020-02-251-2/+14
| | | | We need to unref the temp datetimes again.
* Fix memleak in _handle_groupchat()Michael Vetter2020-02-251-1/+6
| | | | We need to unref the timestamp before setting a new one.
* Make cmd_logging() saferMichael Vetter2020-02-251-2/+3
| | | | Could be that args[1] is not set.
* Only use enc_char in win_print_incoming() when neededMichael Vetter2020-02-251-1/+4
| | | | Fixes potential memory leak too.
* readem: add chat badgeMichael Vetter2020-02-251-3/+2
|
* Merge pull request #1276 from wstrm/fix-formattingMichael Vetter2020-02-251-12/+12
|\ | | | | Improve formatting for some help instructions
| * Improve formatting for some help instructionsWilliam Wennerström2020-02-241-12/+12
|/ | | | Some instructions were missing whitespace or punctuation.
* Fix errors in log.cMichael Vetter2020-02-221-1/+2
|
* Fix log test stubMichael Vetter2020-02-211-4/+5
|
* get_log_file_location () should return const char*Michael Vetter2020-02-213-3/+3
| | | | Make clear that result should never be freed.
* Allow setting custom log file via -f FILENAMEMichael Vetter2020-02-217-23/+53
| | | | | `profanity -f TEST` will use `~/.local/share/profanity/logs/TEST.log` as the log file.
* Rename separator to trackbarMichael Vetter2020-02-211-4/+4
|
* Fix test stubMichael Vetter2020-02-211-1/+1
| | | | Change done in eb2fbdba2efb9c81275461bf3651215b9456e496
* Make trackbar color configurableMichael Vetter2020-02-214-0/+9
| | | | Use `main.trackbar` in themes.
* Dont filter out own MUC messages if muc history is set to 'regular'Michael Vetter2020-02-213-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 handlingMichael Vetter2020-02-213-16/+27
|
* Expand omemo error messageMichael Vetter2020-02-211-2/+2
|
* pref: Use helper functions for setting/getting the encryption charMichael Vetter2020-02-211-38/+24
| | | | Dont duplicate code.
* win_print_incoming() strdup the charactarMichael Vetter2020-02-211-1/+1
| | | | | Fix bug introduced in 1f8b1eb740391941e79e1004ad041f8178a2b674. Forgot to strdup() here.
* Fix missing change from last commitMichael Vetter2020-02-201-1/+1
|
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-2021-622/+643
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Fix theme setting correction charMichael Vetter2020-02-201-1/+1
| | | | Copy paste error. We actually set the omemo char..
* Merge branch 'master' of github.com:profanity-im/profanityMichael Vetter2020-02-201-1/+1
|\
| * Merge pull request #1273 from wstrm/add-sr.ht-badgeMichael Vetter2020-02-181-1/+1
| |\ | | | | | | Add builds.sr.ht badge for Profanity builds
| | * Add builds.sr.ht badge for Profanity buildsWilliam Wennerström2020-02-181-1/+1
| |/
* | Parse mentions and triggers in muc history if display is 'regular'Michael Vetter2020-02-206-25/+33
| | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1261
* | Put getting mentions in own functionMichael Vetter2020-02-203-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 messagesMichael Vetter2020-02-207-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 Vetter2020-02-193-8/+9
| | | | | | | | Just pass ProfMessage.
* | Add define names to commentMichael Vetter2020-02-192-7/+6
|/
* Merge pull request #1269 from wstrm/add-sr.ht-ciMichael Vetter2020-02-176-23/+105
|\ | | | | Add builds.sr.ht CI for OpenBSD
| * Add builds.sr.ht CI for OpenBSDWilliam Wennerström2020-02-176-23/+105
| | | | | | | | | | | | | | | | * 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 IVMichael Vetter2020-02-171-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 Vetter2020-02-174-14/+6
| | | | | | | | We never use the printf like behaviour anyways.
* | Refactor win_print_outgoing_muc_msg()Michael Vetter2020-02-173-15/+7
| | | | | | | | We never use the printf like behaviour anyways.
* | Refactor win_println_incoming_muc_msg()Michael Vetter2020-02-173-15/+7
| | | | | | | | We never use the printf like behaviour anyways.
* | Refactor win_print_outgoing()Michael Vetter2020-02-174-19/+10
| | | | | | | | We never use the printf like behaviour anyways.
* | Fix typoMichael Vetter2020-02-171-1/+1
| |
* | Merge branch 'feature/sendfile-enc-warn'Michael Vetter2020-02-177-7/+157
|\ \ | |/ |/| | | Close https://github.com/profanity-im/profanity/pull/1270
| * Mention how to enable unencrypted file transerMichael Vetter2020-02-171-2/+2
| | | | | | | | Regards https://github.com/profanity-im/profanity/pull/1270
| * Make /sendfile in PGP session configurableMichael Vetter2020-02-176-3/+33
| | | | | | | | | | | | `/pgp sendfile on` allows unencrypted file transfer in an PGP session. Regards https://github.com/profanity-im/profanity/pull/1270
| * Make /sendfile in OTR session configurableMichael Vetter2020-02-177-6/+47
| | | | | | | | | | | | `/otr sendfile on` allows unencrypted file transfer in an OMEMO session. Regards https://github.com/profanity-im/profanity/pull/1270
| * Make /sendfile in OMEMO session configurableMichael Vetter2020-02-177-10/+54
| | | | | | | | | | | | | | `/omemo sendfile on` allows unencrypted file transfer in an OMEMO session. Regards https://github.com/profanity-im/profanity/pull/1270
| * Disallow sendfile in e2ee chat sessionsmoppman2020-02-171-0/+35
|/
* test: Init window.layout to make compiler happyMichael Vetter2020-02-141-0/+1
| | | | | Fix tests/unittests/test_cmd_otr.c:415: warning: 'window.layout' is used uninitialized in this function on openbsd (thanks optmzr)
* Add workaround for compiler warningMichael Vetter2020-02-141-1/+1
| | | | Regards https://github.com/profanity-im/profanity/issues/1265
* xep-0308: Add note about tab completionMichael Vetter2020-02-141-1/+2
|