Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-03 | win32: Remove Python 2 support | Patrick Griffis | |
2023-04-24 | python: fix for timers that unhook themselves | Celelibi | |
The python plugin use weak references for hooks, which might let a necessary object disappear if the callback of a timer hook unhooks itself. Signed-off-by: Celelibi <celelibi@gmail.com> | |||
2023-04-03 | python: add flush() to Stdout | Celelibi | |
Python sometime calls flush() on sys.stdout or sys.stderr. In particular, it might do so when an exception is raised. This fixes the second error message that was generated in such cases. Signed-off-by: Celelibi <celelibi@gmail.com> | |||
2022-05-07 | fix addons load in python2 | DjLegolas | |
2022-04-15 | python: Fix API break in hook_timer() | Patrick | |
Closes #2691 | |||
2022-01-11 | meson: Fix exported functions for python plugin | Biswapriyo Nath | |
This fixes loading python plugin in Windows by exporting functions using python.def file. Otherwise, hexchat_plugin_init symbol error is shown. | |||
2021-10-02 | python: Open all scripts with utf-8 encoding | Patrick Griffis | |
2021-05-28 | python: Fix off by one range | Alexandre Jousset | |
The range goes from 31 to 1 inclusive (#2391). | |||
2021-05-23 | Updated Toolset to v142 | DjLegolas | |
2021-03-07 | python: Fix exception with list_pluginpref() | Sbgodin | |
__decode cannot work (with Python3) because prefs_str has no attribute 'decode'. Related to https://github.com/hexchat/hexchat/issues/2531 | |||
2020-03-11 | build: Fix potential undefined variable | Patrick Griffis | |
2020-03-11 | build: Better support building against python 3.8+ | Patrick Griffis | |
Closes #2441 | |||
2019-06-24 | Python: Fix error in hexchat.emit_print when passing time attribute | jacob1 | |
2019-01-02 | python: plugin cleanup and refactor | A_D | |
2018-12-27 | python: Make sure `help()` doesn't cause hexchat to hang (#2290) | linuxdaemon | |
* Make sure `help()` doesn't cause hexchat to hang Replace `pydoc.help` with a copy of `pydoc.Helper` with an empty `StringIO` instead of stdin * Handle BytesIO vs StringIO on 2.7 | |||
2018-12-26 | python: Make the plugins table dynamically sized (#2291) | linuxdaemon | |
Adjust the width of the columns depending on the length of the data in each element | |||
2018-12-26 | python: Made sure to set sys.argv if it is not set. fixes #2282 | A_D | |
2018-12-05 | python: Fix console not eating commands | Patrick Griffis | |
2018-11-09 | python: Various cffi fixes | A_D | |
- fixed /py exec behaviour - fixed hexchat.unload_hook() failing when passed a hook id - fixed get_list() calls in python3 | |||
2018-11-09 | python: Rewrite with CFFI | Patrick Griffis | |
2018-03-09 | win32: Update to build against gvsbuild | Patrick Griffis | |
2017-06-13 | build: Replace Autotools with Meson | Patrick Griffis | |
Quick rundown of benefits: - Much faster: - Autotools (with autogen): 22 seconds - Meson: 7 seconds - Meson (with ccache): 2 seconds - Simpler: - ~1000 lines smaller - Single simple language - Potentially better Windows (Visual Studio) support What is not done: - Complete Windows support - OSX support (easy) Closes #2013 Closes #1937 Closes #1803 | |||
2017-03-30 | python: Use HEXCHAT_EAT_XXX where appropriate. | Mark Jansen | |
2016-09-26 | build: Reorder includes to avoid installed plugin header | Rainer Müller | |
When hexchat is already installed into a non-default prefix, a new build could pick up ${prefix}/include/hexchat-plugin.h from the installed version instead of the local header, as configuration variables such as $(GLIB_CFLAGS) would point to -I${prefix}/include. Reordering the includes and moving -I arguments to CPPFLAGS prevents this, as it ensures the local directories are always searched first. This was no problem when compiling for /usr or /usr/local as these directories in the compiler search path are always searched last. Closes #1822 | |||
2016-08-05 | python: Fix get_pluginpref() | Patrick Griffis | |
This relied on undocumented behavior of hexchat_pluginpref_get_int() that has been fixed recently. -1 is the correct failure value. | |||
2016-02-18 | python: Handle get_info('win_ptr') | Patrick Griffis | |
2016-02-18 | Fix strict prototype warnings | Patrick Griffis | |
2015-10-10 | Use VS 2015 | Arnavion | |
2015-09-30 | configure: Clean up Python checking | Patrick Griffis | |
This fixes requiring to add a version every time a new release comes out... | |||
2015-02-11 | Better project files. | Arnavion | |
- Output directly to rel\ instead of to bin\ and then copying files over. - Deduped Win32 vs x64 configs - Moved some common properties to hexchat.props - All build intermediates (except htm's intermediates) are no longer emitted in the source directory | |||
2014-12-31 | python: Use Py_RETURN_NONE macro | TingPing | |
2014-12-31 | Python: Fix overflow and code-cleanup | TingPing | |
2014-12-28 | Fix building as c89 | TingPing | |
2014-12-28 | Use glib for allocations in all plugins | TingPing | |
Continuation of 83032b1aa | |||
2014-12-17 | More consistently include config.h | TingPing | |
2014-12-15 | configure: Improve various build flags | TingPing | |
- Store openssl flags in own vars - Share some common flags for plugins - Fix building plugins on win32 - Store all glib flags in one var - Don't link against every lib for each plugin - Don't hardcode ldflags for sysinfo | |||
2014-12-08 | Removed some unnecessary null-checks for calls to g_free and g_strfreev | Arnavion | |
2014-11-02 | Warning cleanup | Campbell Barton | |
- ignoring const - declarations after statements - some C files didnt include own headers (risking them getting out of sync) Closes #1064 | |||
2014-06-04 | Use GDir instead of dirent | TingPing | |
2014-06-04 | win32: Use config.h instead of config-win32.h | TingPing | |
2014-04-19 | python: Scan for non-NULLs in print events | Adam Dane [:hobophobe] | |
Closes #916 Closes #915 | |||
2013-09-30 | Fix crash in hexchat_pluginpref_list() | TingPing | |
Set max output size to 4096 | |||
2013-09-25 | Make Python version consistent on both platforms | TingPing | |
and don't hardcode 2.7/3.3 | |||
2013-09-15 | Convert project files to vs2013 | Eustachy Kapusta | |
2013-08-04 | Add reload command for plugins and add to gui | TingPing | |
2013-07-30 | python: Set VERSION using existing VERSION_MAJOR and VERSION_MINOR macros ↵ | Arnavion | |
and some mintor refactoring. | |||
2013-07-26 | Fix some warnings | TingPing | |
2013-07-26 | Python: Fix callbacks for the "special" print hooks | TingPing | |
2013-07-24 | Move optimization settings from all subsequent projects to hexchat.props | Eustachy Kapusta | |
2013-07-21 | Python: return hooks with PyLong_FromVoidPtr | TingPing | |
Fixes #685 |