Commit Graph

110 Commits

Author SHA1 Message Date
Arnavion 9858784eb6 Better project files.
- 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
2015-02-11 10:01:29 -08:00
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
TingPing 0e4164ad0c configure: Improve various build flags
- 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-15 11:07:46 -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
Eustachy Kapusta b658fca4a7 Convert project files to vs2013 2013-09-15 15:07:46 -07: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
Eustachy Kapusta 715a520c0e Move optimization settings from all subsequent projects to hexchat.props 2013-07-24 20:56:36 +02: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
Berke Viktor c4e96dd481 Fix output name 2013-05-04 02:57:03 +02:00
TingPing ffa1ea7358 Add python3 plugin 2013-05-03 20:26:58 -04:00
Christoph J. Thompson 77cad8e716 Don't hardcode "plugins" as the subdirectory for plugins in many
places.

	modified:   config-win32.h
	modified:   configure.ac
	modified:   plugins/checksum/Makefile.am
	modified:   plugins/doat/Makefile.am
	modified:   plugins/fishlim/Makefile.am
	modified:   plugins/perl/Makefile.am
	modified:   plugins/python/Makefile.am
	modified:   plugins/sysinfo/Makefile.am
	modified:   plugins/xdcc/Makefile.am
	modified:   src/common/plugin.c
	modified:   src/fe-text/fe-text.c
2013-04-28 16:42:48 +02:00
Arnavion 07bc467d03 win32: Moved PlatformToolset configuration to individual project files. It should be set before setting other properties or importing other props.
This fixes the broken GUI Platform Toolset indicator, as well as VS compilation itself if another version such as 2010 was also installed.
2013-04-25 21:03:03 -07: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