about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* add `files_file_in_account_data_path()`Steffen Jaeckel2022-03-136-71/+52
| | | | | | | | | | | | As all parts of the code invoking the `files_get_account_data_path()` function did the same afterwards, a function has been added with the same behavior. 1. create path 2. `mkdir` of that path 3. return final path Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* prevent segfaultSteffen Jaeckel2022-03-132-4/+11
| | | | | | | In case we're not connected yet and press Alt+c a segfault occurred since `conn.xmpp_conn` is dereferenced while it's still `NULL`. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Alt+e is already bound, use Alt+cSteffen Jaeckel2022-03-131-1/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Correct omemo xep number in doap fileMichael Vetter2022-03-071-1/+1
|
* Add stat.h to editorMichael Vetter2022-03-041-0/+1
| | | | | | Fix on openbsd: `src/tools/editor.c:55:36: error: 'S_IRWXU' undeclared (first use in this function)`
* Include errno header in editor.cMichael Vetter2022-03-041-1/+2
|
* Merge pull request #1645 from MarcoPolo-PasTonMolo/feature/hotkey-send-to-editorMichael Vetter2022-03-035-87/+208
|\ | | | | Add hotkey for sending readline text to editor
| * Move get_message_from_editor to appropriate file and change its keybindingMarcoPolo-PasTonMolo2022-03-036-88/+183
| |
| * Add hotkey for sending readline text to editorMarcoPolo-PasTonMolo2022-03-033-5/+31
| |
* | Add hint about shortcutsMichael Vetter2022-03-021-0/+4
|/
* Merge pull request #1643 from profanity-im/feat/1638-editor-subjectMichael Vetter2022-02-263-5/+21
|\ | | | | Add `/subject editor` command
| * Add `/subject editor` commandMichael Vetter2022-02-263-5/+21
| | | | | | | | | | | | | | | | Allow editing the MUC subject using external editor. Use `/subject editor`. Fix https://github.com/profanity-im/profanity/issues/1638
* | Sort badges according to colorMichael Vetter2022-02-241-1/+1
| |
* | Add build section to contributing.mdMichael Vetter2022-02-231-0/+5
| |
* | build: Use CPPFLAGS for obsdMichael Vetter2022-02-231-1/+1
|/ | | | | | | | | | | | | | | Fixing build failure detected by sr.ht for OpenBSD: ``` src/ui/inputwin.c: In function '_inp_rl_startup_hook': src/ui/inputwin.c:444:5: error: implicit declaration of function 'rl_bind_keyseq'; did you mean 'rl_bind_key'? [-Werror=implicit-function-declaration] 444 | rl_bind_keyseq("\\e1", _inp_rl_win_1_handler); | ^~~~~~~~~~~~~~ | rl_bind_key cc1: all warnings being treated as errors ``` Seems like both OSX and OpenBSD need CPPFLAGS here.
* Add doap to release guideMichael Vetter2022-02-221-0/+2
|
* XEP-0453: add WindowsMichael Vetter2022-02-221-0/+1
|
* XEP-0453: Update supported xepsMichael Vetter2022-02-221-54/+55
| | | | | | | To the best of my knowledge. Information from: * https://profanity-im.github.io/xeps.html * changelog
* XEP-0453: DOAP usage in XMPPStefan Kropp2022-02-221-0/+405
| | | | | | | | Add a basic doap file. Information taken from https://profanity-im.github.io/xeps.html. For the most XEPs I added 'partial' as status. We should check the status and add a note.
* Set libstrophe log verbosityMichael Vetter2022-02-211-0/+1
| | | | | | | | | | | | | | | Set this to 0. We might want to have this configurable later. For now we fix the valgrind report: ``` Conditional jump or move depends on uninitialised value xmpp_debug_verbose() ``` Which will be fixed in libstrophe > 0.11.0 by commit https://github.com/strophe/libstrophe/commit/28f3ce19b803b3c2628c37545e3f5b88e7ea1a55
* Remove link to python bugMichael Vetter2022-02-181-1/+1
| | | | | | Since 5676159aa52a734a34bf231b400ae13860e1012d the python_CPPFLAGS isn't needed anymore. We can use python_CFLAGS. So let's remove the comment about https://bugs.python.org/issue15018.
* Merge pull request #1642 from jugendhacker/fix/851-python-cross-compileMichael Vetter2022-02-183-10/+9
|\ | | | | Fix python executed during configure
| * Fix python executed during configurej.r2022-02-183-10/+9
|/ | | | | | | | | | | | | | | Previously it relied on AX_PYTHON_DEVEL, which in turn executes python-config to get the build flags. However this does not work while cross compiling because we can't execute the python-config build for the target platform. To circumvent this problem the python build flags are now queried via pkgconfig, which has the drawback of not having some extra build flags, but they do not seem to be needed. I tested this patch with the termux build system and it build without their existing hack of injecting python after the configure step. I also tested non cross compile build on Arch Linux and it also still works. Fixes #851
* Fix typos in commentsMichael Vetter2022-02-182-2/+2
|
* Add unit tests section to CONTIBUTING.mdMichael Vetter2022-02-181-2/+6
| | | | And rename a header.
* Add Pull Request templateMichael Vetter2022-02-181-0/+2
|
* Merge pull request #1641 from profanity-im/clean-configureMichael Vetter2022-02-186-386/+117
|\ | | | | Clean up configure.ac
| * Remove configure-plugins helper scriptMichael Vetter2022-02-181-3/+0
| | | | | | | | We don't really need this.
| * build: use target instead of hostMichael Vetter2022-02-181-3/+3
| | | | | | | | | | | | | | If I understand https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Canonicalizing.html correctly then we should use target and not host. Will only matter in case of crosscompiling.
| * build: use PKG_CHECK_MODULES to check for xscreensaverMichael Vetter2022-02-181-13/+6
| |
| * build: use CFLAGS instead of CPPFLAGS where possibleMichael Vetter2022-02-181-6/+6
| | | | | | | | OSX seems to need CPPFLAGS for readline.
| * build: remove otr3 supportMichael Vetter2022-02-183-254/+9
| | | | | | | | All the distributions I checked have libotr 4.1.1 now.
| * build: remove support for old libsignalMichael Vetter2022-02-183-28/+1
| | | | | | | | | | | | | | | | | | Remove support for libsignal-protocol-c < 2.3.2. Debian 10 uses 2.3.2, Debian 11 and 12 use 2.3.3. openSUSE from 15.2 onward uses 2.3.3. Fedora since 28 uses 2.3.2. We should be good.
| * build: remove xmpp_lib variableMichael Vetter2022-02-181-4/+3
| | | | | | | | | | Since cad934b9a069bb2c3c417d4efc64dc25fb9814b7 we only support libstrophe. libmesode is deprecated.
| * build: group related parts better togetherMichael Vetter2022-02-181-49/+58
| |
| * build: change commentsMichael Vetter2022-02-181-28/+30
| |
| * build: define min autotools version and set urlMichael Vetter2022-02-181-2/+3
| |
| * build: use AC_MSG_NOTICE instead of echoMichael Vetter2022-02-181-14/+15
| |
| * build: add vim modelineMichael Vetter2022-02-171-1/+2
|/
* Merge pull request #1640 from profanity-im/contributing-rulesMichael Vetter2022-02-171-1/+38
|\ | | | | Update the contributing guide
| * Update the contributing guideMichael Vetter2022-02-171-1/+38
|/ | | | | | | We need to define some rules to make sure people know what they need to take care about. To allow us to later still understand the changes in an optimal way and make everyones work easier.
* Remove PatreonMichael Vetter2022-02-162-4/+2
|
* Merge pull request #1637 from profanity-im/fix-soh-regressionMichael Vetter2022-02-141-3/+2
|\ | | | | fix handling of connection errors
| * fix handling of connection errorsSteffen Jaeckel2022-02-081-3/+2
|/ | | | | | | | | | | | | When a `see-other-host` stream-error is received we try to re-connect to the other host. Erroneously this also started the `reconnect_timer`. This lead to the behavior that in cases where e.g. the login failed we try to reconnect instead of bailing out with an error. This commit fixes the wrong behavior by not starting the `reconnect_timer`. Fix 0e58509c161ae8409c9accabb9606e0c7006b880 Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1635 from arya-pratap-singh/masterMichael Vetter2022-02-031-1/+1
|\ | | | | Fix typo in comment from "the YES" to "to YES"
| * fixed typo from "the Yes" to "to YES"arya-pratap-singh2022-02-031-1/+1
|/
* Remove banned muc member from member listMichael Vetter2022-02-021-0/+4
| | | | | | | If I'm understing everything right the member should be removed here. muc_members_update() seems to have been writen for the same purpose. Fix https://github.com/profanity-im/profanity/issues/1594
* Merge pull request #1633 from profanity-im/fix-split-url-once-moreMichael Vetter2022-02-021-2/+2
|\ | | | | Fix `_split_url()` once more
| * Fix off-by-oneSteffen Jaeckel2022-02-011-2/+2
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Merge pull request #1632 from profanity-im/fix-split-urlMichael Vetter2022-02-011-5/+22
|\| | | | | Fix `_split_url()`