about summary refs log tree commit diff stats
path: root/src/plugins/python_plugins.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix python executed during configurej.r2022-02-181-1/+1
| | | | | | | | | | | | | | | 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
* Apply coding styleMichael Vetter2020-07-071-164/+163
|
* Revert "Apply coding style"Michael Vetter2020-07-071-165/+166
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-166/+165
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* plugins/python: fix double _XOPEN_SOURCE definitionDmitry Podgorny2019-10-151-0/+1
| | | | | | | | | | | | | ncursesw defines _XOPEN_SOURCE macro via command-line. In particular, it is defined in ncursesw.pc and extracted via pkg-config. From other side, Python defines the same macro unconditionally in pyconfig.h. Python-3.x defines the macro with value different than ncursesw does. In turn, this causes a warning that the macro is redefined. And warnings are treated as errors. Since both entities define the mecro unconditionally, we can't simply reorder headers as Python developers suggest. So, undefine the macro just before the <Python.h> to fix this silly issue.
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Show Python version on --versionJames Booth2017-08-101-1/+12
| | | | issue #956
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Add pre chat and room message blockingJames Booth2017-01-221-0/+17
|
* Remove disco features added by plugins on unloadJames Booth2016-08-111-0/+2
|
* Check return values from python plugin hooksJames Booth2016-08-111-57/+91
|
* Add resource to chat message plugin hooksJames Booth2016-08-101-28/+29
|
* Decrement reference count on python hook args objectsJames Booth2016-07-251-23/+39
|
* Move all filepath handling to files.cJames Booth2016-07-241-1/+2
|
* Tidy headersJames Booth2016-07-241-1/+0
|
* Add /plugins python_version commandJames Booth2016-07-241-3/+6
|
* Merge branch 'master' into python3James Booth2016-07-241-1/+1
|\ | | | | | | | | Conflicts: .gitignore
| * Update GPL link in headersJames Booth2016-07-241-1/+1
| |
* | Allow str and unicode in python apiJames Booth2016-07-241-37/+9
| |
* | Tidy python3 conditional codeJames Booth2016-07-191-234/+55
| |
* | Add python_init_prof()James Booth2016-07-181-10/+1
| |
* | Fix prof module init for python3James Booth2016-07-181-12/+27
| |
* | Added PYTHON3 defineJames Booth2016-07-141-0/+119
|/
* Store python modules on loadJames Booth2016-07-091-9/+13
|
* Reaload python module if previous loaded on /plugin loadJames Booth2016-07-091-2/+14
|
* Add plugins on_unload hookJames Booth2016-07-051-0/+20
|
* Remove plugin callbacks in plugin_destroy functionsJames Booth2016-07-041-0/+1
|
* Revert "WIP - Unload plugin commands"James Booth2016-06-301-1/+0
| | | | This reverts commit a01eb5d08e1b39d60a6f8fc26e5a87ceb92ec18f.
* WIP - Unload plugin commandsJames Booth2016-06-291-0/+1
|
* Plugins fixed return values for python stanza hooksJames Booth2016-04-151-3/+3
|
* Plugins: Added account_name and fulljid to prof_init hookJames Booth2016-04-131-2/+3
|
* Execute python string to append plugin pathJames Booth2016-04-121-15/+5
|
* Added /plugins load commandJames Booth2016-04-101-1/+1
|
* Plugins: Added on_room_history_messageJames Booth2016-04-081-0/+23
|
* Plugins: Added on_room_win_focusJames Booth2016-04-071-0/+22
|
* Plugins: Added on_chat_win_focusJames Booth2016-04-071-0/+22
|
* Added plugins presence hooksJames Booth2016-03-301-17/+66
|
* Use one stanza handler per type (message, iq, presence)James Booth2016-03-281-0/+3
| | | | Allows plugins to stop stanza processing
* Added basic stanza receive eooksJames Booth2016-03-271-0/+87
|
* Added stanza send hooks for pluginsJames Booth2016-03-261-0/+111
|
* Plugins: Fix python threadingJames Booth2016-03-091-3/+3
| | | | Release global interpreter lock during api calls
* Added python plugins codeJames Booth2016-02-241-0/+595