about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* cmd: Update MAM helpMichael Vetter2023-02-151-2/+2
|
* Merge pull request #1789 from MarcoPolo-PasTonMolo/fix/autocompletion_after_MAMMichael Vetter2023-02-158-20/+41
|\ | | | | Fix quote and url autocompletion for MAM and history
| * Fix quote and url autocompletion for MAM and historyMarcoPolo-PasTonMolo2023-02-138-20/+41
| | | | | | | | | | | | | | | | 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
* | Merge pull request #1791 from ↵Michael Vetter2023-02-151-4/+4
|\ \ | |/ |/| | | | | MarcoPolo-PasTonMolo/fix/MAM_not_loading_recent_messages Fix MAM not loading some recent messages
| * Fix MAM not loading some recent messagesMarcoPolo-PasTonMolo2023-02-141-4/+4
|/ | | | | Reverse a small change from commit e886ba0 that caused this issue. Fixes https://github.com/profanity-im/profanity/issues/1790
* Merge pull request #1788 from profanity-im/minor-improvementsMichael Vetter2023-01-302-9/+13
|\ | | | | Minor improvements
| * prevent setting invalid combination of libstrophe flagsSteffen Jaeckel2023-01-271-2/+10
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * simplify some codeSteffen Jaeckel2023-01-261-4/+2
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * fix libstrophe timer-callback usageSteffen Jaeckel2023-01-261-3/+1
| | | | | | | | | | | | | | The timer will be auto-removed if the callback returns `0`. The way it was done before breaks some internals of libstrophe. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Merge pull request #1786 from thexhr/develMichael Vetter2023-01-304-5/+11
|\ \ | |/ |/| Don't pass NULL pointers to vprintf
| * Remove space to match clang coding stylethe xhr2023-01-261-1/+1
| |
| * Add macro for possible NULL prints and use it on known sportsthe xhr2023-01-264-5/+11
| | | | | | | | | | The macro is effective on OpenBSD and basically a no op on other platforms. Use it for one existing and the other known debug statements.
| * Check if string is NULL and print placeholder insteadthe xhr2023-01-262-2/+2
|/ | | | OpenBSD's kernel warns about NULL printfs. Fix this with a standard check.
* Merge pull request #1780 from profanity-im/minor-improvementsMichael Vetter2023-01-1942-881/+773
|\ | | | | Minor improvements
| * introduce `auto_gcharv`Steffen Jaeckel2023-01-193-71/+23
| | | | | | | | | | | | This also fixes memory leaks in `_omemo_autocomplete()`. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * introduce `auto_jid` and refcounting in `Jid`Steffen Jaeckel2023-01-193-26/+36
| | | | | | | | | | | | | | | | This also fixes a memory leak from within `_handle_groupchat()` in [0]. [0] src/xmpp/message.c Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * improve const correctnessSteffen Jaeckel2023-01-183-8/+8
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * fix more memory leaksSteffen Jaeckel2023-01-187-23/+38
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * fix memory leaks in OMEMOSteffen Jaeckel2023-01-185-36/+61
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * let `account_new()` take ownership of passed valuesSteffen Jaeckel2023-01-188-144/+72
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * add `now` option to `/reconnect` commandSteffen Jaeckel2023-01-185-15/+22
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * slightly improve `command_defs[]`Steffen Jaeckel2023-01-185-463/+274
| | | | | | | | | | | | | | | | | | * make the struct `const` * use designated initializers * remove `CMD_NOxyz` macros * fix function-pointer correctness of `sub_func[]` Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * minor changesSteffen Jaeckel2023-01-188-76/+49
| | | | | | | | | | | | | | | | | | | | | | * fix typo * less code duplication * less `GString` usage * more `auto_gchar` usage * document connecting to servers supporting SASL ANONYMOUS * ignore valgrind output Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * add `/strophe` command to modify libstrophe-specific settingsSteffen Jaeckel2023-01-1812-23/+194
|/ | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1787 from profanity-im/fix/1695-screensaverMichael Vetter2023-01-121-2/+3
|\ | | | | Fix xscreensaver detection
| * Fix xscreensaver detectionPaul Fertser2023-01-111-2/+3
|/ | | | | | | | | In 28a9605a1 we migrated from AC_CHECK_LIB which defines HAVE_LIBXSS automatically. With pkg-config way you need it explicit. And also x11 is needed or else linking will fail missing XFree(). Patch provided by Paul Fertser and comitted by jubalh. Thanks Paul! Fix https://github.com/profanity-im/profanity/issues/1695
* Update copyright yearMichael Vetter2023-01-1055-57/+57
|
* Update mailing list linkMichael Vetter2023-01-104-5/+5
|
* Merge pull request #1784 from ↵Michael Vetter2023-01-021-1/+15
|\ | | | | | | | | MarcoPolo-PasTonMolo/fix/1783-url-save-ac-filenames Make `/url save` autocomplete filenames after a url
| * Make `/url save` autocomplete filenames after a urlMarcoPolo-PasTonMolo2022-12-271-1/+15
| | | | | | | | | | | | | | | | | | | | Previously after the url if you pressed tab, even if you typed out a filepath, profanity would erase that and cycle through url autocomplete results. This patch solves that and autocompletes filepaths after the url. Fixes https://github.com/profanity-im/profanity/issues/1783
* | Remove srht ciMichael Vetter2023-01-021-1/+1
|/ | | | wstrm who maintains this to check our build against openbsd vanished :(
* Merge pull request #1774 from profanity-im/fix/formatMichael Vetter2022-10-261-1/+1
|\ | | | | Work around different clang-format versions
| * Work around different clang-format versionsMichael Vetter2022-10-261-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | Locally I have clang-format 15.0.2. Our CI runs ubuntu-20.04 so it has 10.0. Seems like a default value changed but I can't find it. When I still had clang-format 14.x everything was fine and checking: https://releases.llvm.org/15.0.0/tools/clang/docs/ReleaseNotes.html#clang-format I only see irrelevant things. Someone on the llvm IRC channel sais "there is no guarantee" and "maybe a regression or intended change". But seems like noone knows which setting could be the one we need. Since I don't have a better solution for now I will just edit this by hand to apply to the clang-format version we have on the CI. Will look into updating this one. But in any case it would be best if the configuration file could have this setting so formatting works the same for all contributors.
* Merge pull request #1773 from mdosch/mam-loading-string-improvementMichael Vetter2022-10-221-1/+1
|\ | | | | Improve MAM loading string.
| * Improve MAM loading string.Martin Dosch2022-10-221-1/+1
|/ | | | | Replaced three dots `...` by a proper ellipsis `…`. Removed plenking (space between `messages` and ellipsis.
* Merge pull request #1772 from MarcoPolo-PasTonMolo/fix/segfault-mamMichael Vetter2022-10-221-2/+13
|\ | | | | Fix segfault when loading from MAM
| * Fix segfault when loading from MAMMarcoPolo-PasTonMolo2022-10-221-2/+13
|/ | | | | | When loading messages from MAM profanity would segfault. Reason was that we were freeing the timestamp of messages when displaying them and we needed it for loading MAM.
* Add another format commit to ignoreMichael Vetter2022-10-211-0/+1
|
* Apply codigng style on new MAM codeMichael Vetter2022-10-215-9/+9
|
* Let users scroll up againMichael Vetter2022-10-211-4/+0
| | | | | | | | | | | | We removed this so that we don't get "[SCROLLED]" in the titlebar when there is actually not more text available. But now with MAM we can enable this again so that the user can scroll up and load more text out of the database. Maybe this also could use a check. This reverts commit c84b1b5e5d038684a6a475a251b738c3c5ffb9a5.
* Add MAM test stubsMichael Vetter2022-10-212-0/+6
|
* Fix merge mistake in databaseMichael Vetter2022-10-211-1/+1
| | | | | When doing 3bdc14dbcf1114fa1ea68cd6f455eecf90a9ac5e I forgot an `,` before encryption
* Fix GSList handling in new MAM codePaul Fertser2022-10-211-13/+8
| | | | | This patch was provided by @paulfertser and applied by @jubalh. Thanks a lot Paul!
* Fix merge mistakeMichael Vetter2022-10-211-1/+1
|
* Merge MAM improvements from #1724Michael Vetter2022-10-2113-63/+494
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think this PR already solves and improves the MAM situation a lot. What's @MarcoPolo-PasTonMolo still wanted to do in this branch is: * MAM for mucs * Check if url and quotes autocompletion works fine * Check if the api still works fine * Resolve conflicts Conflicts are solved with this commit. MAM for mucs can be another feature PR. The rest we can check while being on master. And more people can help testing.
| * Don't notify on MAM messagesMarcoPolo-PasTonMolo2022-08-201-7/+10
| |
| * Handle late deliveryMarcoPolo-PasTonMolo2022-08-205-27/+109
| |
| * Apply corrections when getting messages from dbMarcoPolo-PasTonMolo2022-08-121-1/+1
| |
| * Handle MAM when chatwin gets created from incoming messageMarcoPolo-PasTonMolo2022-07-102-1/+10
| |
| * Fix duplicate sent messages in dbMarcoPolo-PasTonMolo2022-07-101-2/+3
| |