1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-22 15:48:52 -05:00
Commit Graph

73 Commits

Author SHA1 Message Date
TingPing
086d4e3962 python: Use Py_RETURN_NONE macro 2014-12-31 15:11:47 -05:00
TingPing
448cc962cd Python: Fix overflow and code-cleanup 2014-12-31 09:50:03 -05:00
TingPing
95febd978c Fix building as c89 2014-12-28 06:47:23 -05:00
TingPing
3f855f07f5 Use glib for allocations in all plugins
Continuation of 83032b1aa
2014-12-28 06:47:07 -05:00
TingPing
aeb5d15871 More consistently include config.h 2014-12-17 18:21:10 -05:00
Arnavion
65da34f19e Removed some unnecessary null-checks for calls to g_free and g_strfreev 2014-12-08 21:24:59 -08:00
Campbell Barton
f83d78dd28 Warning cleanup
- ignoring const
- declarations after statements
- some C files didnt include own headers (risking them getting out of sync)

Closes #1064
2014-11-02 14:41:20 -05:00
TingPing
3cd8556c54 Use GDir instead of dirent 2014-06-04 13:56:33 -04:00
TingPing
b8c02f71d9 win32: Use config.h instead of config-win32.h 2014-06-04 10:30:18 -04:00
Adam Dane [:hobophobe]
7e55e4ee73 python: Scan for non-NULLs in print events
Closes #916
Closes #915
2014-04-19 22:30:31 -04:00
TingPing
b7e8f64bba Fix crash in hexchat_pluginpref_list()
Set max output size to 4096
2013-09-30 01:23:20 -04:00
TingPing
d18a95fda6 Make Python version consistent on both platforms
and don't hardcode 2.7/3.3
2013-09-25 20:53:23 -04:00
TingPing
e8456beadc Add reload command for plugins and add to gui 2013-08-04 04:36:10 -04:00
Arnavion
4a95b07ae7 python: Set VERSION using existing VERSION_MAJOR and VERSION_MINOR macros and some mintor refactoring. 2013-07-30 22:54:57 -07:00
TingPing
2cbe758c80 Fix some warnings 2013-07-26 22:53:01 -04:00
TingPing
72c6834cc5 Python: Fix callbacks for the "special" print hooks 2013-07-26 19:51:56 -04:00
TingPing
3d10b9f3e2 Python: return hooks with PyLong_FromVoidPtr
Fixes #685
2013-07-21 16:40:38 -04:00
TingPing
bf9276fc5c Python: Use keywords for attributes in emit_print() 2013-07-19 14:14:26 -04:00
TingPing
f45487e92c Python: Add support for attributes in hooks 2013-07-19 10:25:46 -04:00
TingPing
5201f0fd06 Python: revert 43bd9483ce
Will possibly come back to this at a later time...
2013-06-04 06:13:28 -03:00
TingPing
c9b7a3f86e Python: return true/false from set/del_pluginpref 2013-06-02 00:29:34 -03:00
TingPing
43bd9483ce Python: Save pluginprefs to seperate files 2013-06-02 00:22:00 -03:00
TingPing
855c20501b fix crash 2013-05-30 22:23:00 -03:00
TingPing
fd71bb768a Python: Allow unhooking commands and prints by name 2013-05-22 19:30:49 -03:00
TingPing
9891f94e41 Rebrand python about message 2013-05-18 15:42:30 -03:00
TingPing
a22ae9f39a Support time lists via python 2013-05-18 15:13:05 -03:00
Arnavion
5c9652bf13 python: Hold a reference to plugin instead of dereferencing hook to get to it.
hook might have been free'd by the callback via hexchat.unhook().
2013-05-14 01:25:01 -07:00
TingPing
beb3ab506d Import hexchat automatically when calling /py exec 2013-05-09 23:45:04 -03:00
TingPing
494364d437 Fix returning gtkwin_ptr from python api 2013-05-09 22:55:06 -03:00
Berke Viktor
b2317d8800 Typofix 2013-05-04 17:40:48 +02:00
Berke Viktor
3283c71936 Use system include syntax 2013-05-04 17:40:23 +02:00
Berke Viktor
22a0d5a3fb Add Python major version to plugin description 2013-05-04 17:39:24 +02:00
TingPing
46443cbd1c python: fully delete failed plugins 2013-05-04 02:02:10 -03:00
TingPing
efd21ce982 fix possible crash 2013-05-04 00:00:48 -03:00
TingPing
ffa1ea7358 Add python3 plugin 2013-05-03 20:26:58 -04:00
TingPing
9917b7e3df hook reload command 2013-04-13 02:02:57 -03:00
TingPing
541f221a61 fix crash after reloading script 2013-04-13 02:01:04 -03:00
TingPing
44a2ed5a97 Fix possible crash
Thanks to - http://forum.xchat.org/viewtopic.php?f=5&t=7558
2013-04-12 23:08:02 -03:00
TingPing
ba3f4daee8 Rebrand object types 2013-04-12 22:58:29 -03:00
TingPing
cd64e02096 Use EAT_HEXCHAT on hexchat module 2013-04-08 17:23:07 -03:00
TingPing
ad820cef8a Give both modules the version too. 2013-04-08 17:16:32 -03:00
TingPing
68de2bcb00 Add constants to both modules 2013-04-08 17:09:36 -03:00
TingPing
68b6be11d6 Add hexchat module to python interface 2013-04-08 17:07:13 -03:00
TingPing
d1e2048239 fix python's get_pluginpref crashing on long strings 2013-03-12 07:37:40 -03:00
RichardHitt
4e0daf047e Correct almost all compiler warning issues 2013-01-19 12:33:16 -08:00
RichardHitt
6beef589e3 Make source cleah with cppcheck, except for mpc and sasl 2013-01-09 14:37:57 -08:00
Dan Mashal
b04377825f fix incorrect FSF address 2012-12-23 11:36:54 -08:00
Berke Viktor
348c6ba919 Rebranding 2012-11-11 13:51:50 +01:00
Berke Viktor
db218817fd Use configdir instead of *xchatdir* 2012-11-04 23:55:36 +01:00
Berke Viktor
4ec499c241 Eliminate warnings due to missing includes 2012-11-04 04:22:22 +01:00