Commit Graph

604 Commits

Author SHA1 Message Date
Arnavion 8062bce835 Fix some obvious type warnings. 2014-12-04 04:06:38 -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
Arnavion e8fb2dde56 Fixed instances of hexchat_printf that unsafely used a string parameter as a format string.
Fixes #1153
2014-09-25 00:54:38 -07:00
TingPing 7a4a0243bd Fix out of source builds
Fixes #1018
2014-09-14 17:43:44 -04:00
TingPing 121cb8b88d Fix formatting warnings
Found by #1059
2014-07-18 07:16:43 -04: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
TingPing af7e6d3e20 fishlim: Fix filename in error messages 2014-06-02 18:28:35 -04:00
Samuel Lidén Borell 7c52e29e6e Handle a special character before "+OK", e.g. identify-msg + or - 2014-06-02 23:52:34 +02:00
Samuel Lidén Borell d59acc2789 Use path to HexChat instead of XChat in the test program
Note that this affects the test program only. It doesn't affect users
of FiSHLiM. The reason for this change is that XChat doesn't seem to be
maintained any longer.
2014-06-02 23:51:58 +02:00
Samuel Lidén Borell 33b01b720c Add missing include in the test program 2014-06-02 23:51:04 +02:00
Samuel Lidén Borell d190773d09 Fix memory leak in the test program 2014-06-02 23:49:42 +02:00
Samuel Lidén Borell d8c80cd277 Fix undefined behaviour in left shift
This is not a problem with a usual compiler configuration, but LLVM/clang
detects it when compiled with:

-fsanitize=undefined-trap -fsanitize-undefined-trap-on-error -ftrapv
2014-06-02 23:47:27 +02:00
tomek 8c00a4ff40 perl: Update Perl to 5.20 2014-05-28 18:22:19 +02:00
Max Zerzouri 231590f71e sysinfo: Use less ambiguous IEC prefixes in storage measurements
Closes #922
2014-04-19 22:49:45 -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
Eustachy Kapusta e36855a21e Fix miscapitalization 2014-03-11 17:55:01 +01:00
TingPing b17c0276de Fix some leaks 2014-02-12 10:31:11 -05:00
TingPing 83bf77f4d0 More autotools cleanup
- Don't build msproxy if unused
- Add resources to cleanfiles
- Remove old extra_dist from plugins
2014-01-30 02:01:42 -05:00
TingPing 6487e1b391 osx: Silence openssl deprecated warnings 2014-01-29 12:16:36 -05:00
TingPing 4d1dc12a31 Remove unused xdcc server plugin 2014-01-20 04:44:44 -05:00
TingPing 10a03f2216 configure: Clean up EXTRA_DIST 2014-01-20 02:38:32 -05:00
TingPing 58a3980372 Remove unused plugins 2014-01-20 01:31:41 -05:00
TingPing 681e14b3b8 Remove unused perl files
- old example scripts
- outdated docs
- mingw build script
2014-01-20 01:14:10 -05:00
TingPing 20d26aea94 Rewrite dns command
- Cross platform
- Doesn't depend on external tools
2014-01-08 01:32:28 -05:00
TingPing 62735c54fb sysinfo: Fix showing debian version on ubuntu 2013-10-20 21:15:12 -04:00
Farow fd13e4046f Perl: fixed crash when a script exits abnormally 2013-10-13 14:26:54 -04:00
Eustachy Kapusta 8311c3aa56 Rename Strawberry to Hexchat in Perl error message 2013-10-12 19:42:26 +02:00
XhmikosR c226f4089a Fix a few cppcheck warnings.
Use the proper data type in format functions and fix a resource leak.
2013-10-10 00:05:22 -04:00
Farow 075cc61c94 Rebrand Perl plugin to HexChat,
Add /pl and plugin_pref

Add help messages
2013-10-07 22:58:38 +02:00
Alf Gaida cc6de3f665 some Typos causing lintian moaning: {R,r}eciev.. -> {R,r}eceiv.. 2013-10-05 18:26:55 +02:00
TingPing b7e8f64bba Fix crash in hexchat_pluginpref_list()
Set max output size to 4096
2013-09-30 01:23:20 -04:00
TingPing 247d84fbd1 Remove unused gtk-prefs project 2013-09-29 02:49:55 -04:00
Eustachy Kapusta 960ded7db4 Update link to site in perl plugin 2013-09-27 20:09:48 +02: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 0749cb1553 Remove hextray 2013-09-24 21:01:16 -04:00
Arnavion 648de4410c plugins: fishlim: VS2013 comes with a working stdbool.h 2013-09-15 15:08:40 -07:00
Eustachy Kapusta b658fca4a7 Convert project files to vs2013 2013-09-15 15:07:46 -07:00
TingPing b9df78b9c6 Exec: Print help on empty string
... and bump version
2013-09-10 02:24:53 -04:00
TingPing 616c669d3b Fix /exec -o on Windows 2013-08-26 12:53:17 -04:00
TingPing b3369a4bc4 Sysinfo: Add announce option 2013-08-26 04:31:45 -04:00
hasufell b5b547abb6 Sysinfo: Fix gentoo detection 2013-08-26 03:58:36 -04:00
Joshua Theze 721a9965aa Fixed munging of whitespace in sysinfo's matching functions
Closes #712
2013-08-12 23:41:37 -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 bb3cb269c2 Upd: Properly handle http errors
Also some cleanup of some old code and comments
2013-07-25 19:54:25 -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 2e2f4662f3 Updater: fix download links 2013-07-16 12:48:34 -04:00
Arnavion c7d1102c61 perl: Fixed get_list('networks') to work with new servlist.conf syntax for autojoin channels. 2013-06-22 22:06:49 -07: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 1277b4c30f be more specific about sysinfo menu entry 2013-06-01 19:06:58 -04: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
Richard Hitt 73badc67ff Fix warning from hwmon.c in plugins/sysinfo 2013-05-17 21:51:34 -07: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
Rahat Ahmed be35154376 Added help text for sysinfo plugin. 2013-05-10 23:32:29 -05: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 1f525a6f4b Merge branch 'py3k' of git://github.com/TingPing/hexchat 2013-05-03 20:32:23 -04:00
TingPing ffa1ea7358 Add python3 plugin 2013-05-03 20:26:58 -04:00
Berke Viktor ce7eb02601 Consistency 2013-05-04 03:24:30 +03: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
RichardHitt facf0ab9c4 Add '(void)' to fix perl.c unused-value warning message 2013-04-23 12:09:05 -07:00
Berke Viktor bed00e525d Relocate plugin icons 2013-04-14 10:14:17 +02: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
Berke Viktor 0c351c9cbc Nuke WMPA, not supported by Express 2013-04-13 02:38:44 +02:00
Berke Viktor cc1f2b2d27 Fix last filename
Left here to make changes trackable
2013-04-13 02:27:02 +02:00
Berke Viktor 6ee3a4a978 Get rid of multiple Perl versions 2013-04-13 02:27:01 +02: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
Berke Viktor 13d574b455 Revert XP version check; as it turned out, it's completely irrelevant now
This reverts commit cd2f775fe4.
2013-04-01 21:15:46 -07:00
Berke Viktor c8f8a26c9c Add future Perl 5.18 project 2013-04-01 23:21:41 +02:00
Berke Viktor 110a2625fe Remove another bunch of obsolete junk 2013-04-01 05:05:33 +02:00
Berke Viktor b70062d6d2 Nuke Lua and Tcl 2013-04-01 04:51:34 +02:00
TingPing 2bd12b2e25 Typo 2013-03-24 18:49:45 -03:00
TingPing 39cfcc7468 Update missing perl note. 2013-03-24 17:23:16 -03:00
Berke Viktor a6d7cfab78 Get rid of the servlist_ rubbish 2013-03-23 16:25:38 +01:00
Berke Viktor c5404b8e25 Update Perl download links 2013-03-19 01:29:37 +01:00
Berke Viktor 60d7e8e320 Backport XChat r1523 2013-03-16 22:41:40 +01:00
Berke Viktor cd2f775fe4 Separate version check for XP, we might need it during the transition to VS2012 2013-03-13 23:11:33 +01:00
TingPing d1e2048239 fix python's get_pluginpref crashing on long strings 2013-03-12 07:37:40 -03:00
TingPing b83f797493 Point to new download url 2013-02-04 15:31:24 -05:00
RichardHitt 4e0daf047e Correct almost all compiler warning issues 2013-01-19 12:33:16 -08:00
TingPing a46f89998c actually fix updchk 2013-01-17 18:57:02 -05:00
TingPing de4b4afe9d Merge pull request #380 from RichardHitt/pull350
Closes issue 350.  Fix stat64 and malloc.h problems
2013-01-17 15:50:26 -08:00
RichardHitt e43bc2ccc2 Remove #include <malloc.h>, causes a #error in freebsd build 2013-01-16 15:42:28 -08:00
RichardHitt bf673072e8 Merge branch 'master' into pull350 2013-01-10 02:14:02 -08:00
TingPing ba2927e3c5 Merge pull request #368 from RichardHitt/pull360
Make source clean with cppcheck, except for mpc and sasl, closes #360
2013-01-09 19:53:26 -08:00
TingPing ed786843de remove old sasl plugin 2013-01-09 21:01:13 -05:00
RichardHitt 6beef589e3 Make source cleah with cppcheck, except for mpc and sasl 2013-01-09 14:37:57 -08:00
RichardHitt efdfa50f1e Fix Issue 350 in checksum.c by changing struct stat64 to struct stat 2013-01-09 00:15:08 -08:00
Dan Mashal b04377825f fix incorrect FSF address 2012-12-23 11:36:54 -08:00
TingPing 32eac07424 fix updchk again 2012-12-22 23:42:49 -05:00
TingPing 76680ae41b Update Checker: Ignore invalid length version nums 2012-12-17 20:48:02 -05:00
TingPing b274ecca4f fix update checkers help message 2012-12-17 20:24:09 -05:00
TingPing af9b65ee78 MPC: don't spam no player running to chat 2012-12-17 16:48:18 -05:00
TingPing 45607703c2 update checksum help info 2012-11-26 06:49:28 -05:00
TingPing 7ac36d4d8d Use g_strdup 2012-11-20 05:00:39 -05:00
TingPing 991d3d5401 Fix checksum plugin when completed dir is set 2012-11-19 20:03:59 -05:00
Berke Viktor 1b5075d946 Get rid of the buggy, unmaintained and unused Lua and Tcl interfaces 2012-11-12 19:03:19 +01:00
Berke Viktor 40d4c592b3 Update Perl error message according to recent changes 2012-11-12 02:24:19 +01:00
Berke Viktor c0dca425a5 Prepare solution for Perl 5.16 VC build 2012-11-12 02:04:58 +01:00
Berke Viktor 39b797b7bb Fix WMPA compilation without the WDK 2012-11-11 18:26:31 +01:00
Berke Viktor 348c6ba919 Rebranding 2012-11-11 13:51:50 +01:00
Berke Viktor 584b89bb02 Another unused thing 2012-11-10 17:32:18 +01:00
Berke Viktor b3f225a70d Comment out one more unused thing 2012-11-10 17:26: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
Arnavion 5d9264aff6 Initial commit for utf8 everywhere. 2012-11-03 19:04:02 -07:00
Berke Viktor 259ed9644d Relocate version.txt, leave a copy in old place for a while for upgrades to work 2012-11-03 01:58:56 +01:00
Berke Viktor 507af191bd Now some final cleanup (I hope) 2012-10-30 11:47:12 +01:00
Berke Viktor a51a69134b Nah, even more rebranding 2012-10-30 11:35:39 +01:00
Berke Viktor 82936df2af Some final rebranding 2012-10-30 10:42:37 +01:00
Berke Viktor 29f7a9180c Rebrand get_info(xchatdir) but remain compatible for Perl and Python 2012-10-30 09:59:58 +01:00
Berke Viktor 8d6f4d9d40 Some remaining fixes 2012-10-30 08:58:50 +01:00
Berke Viktor e681eafa78 Rebranding for the rest of plugin* 2012-10-30 08:42:48 +01:00
Berke Viktor 97dc13fde7 Rebranding for XCHAT_PLUGIN_HANDLE 2012-10-30 07:46:28 +01:00
Berke Viktor 45d4fa5801 Rebranding for XCHAT_EAT_* 2012-10-30 07:40:37 +01:00
Berke Viktor 4b7c7c2bb1 Rebranding for XCHAT_FD_* 2012-10-30 07:25:40 +01:00
Berke Viktor 91dd079add Rebranding for XCHAT_PRI_* 2012-10-30 07:18:25 +01:00
Berke Viktor 50a2335276 Remove old unused code 2012-10-30 07:02:28 +01:00
Berke Viktor 9f55b2a495 Fix Unix compilation 2012-10-30 04:10:41 +01:00
Berke Viktor fc98a6d79d Remove hexchat-plugin.h duplicate 2012-10-30 04:07:33 +01:00
Berke Viktor 8fc9691704 Even more version bumps 2012-10-29 00:56:16 +01:00
Berke Viktor 2168ef409e Update version number once moar 2012-10-29 00:52:28 +01:00
Berke Viktor 07cbcfe846 Make HexTray filename consistent with the rest 2012-10-29 00:42:52 +01:00
Berke Viktor 09c7f2c935 Remove unused var 2012-10-29 00:34:15 +01:00
Berke Viktor 15c2ff2d54 Convert HexTray to the plugin config API 2012-10-29 00:32:59 +01:00
Berke Viktor 9a57ca41b1 Use consistent addon config filenames 2012-10-28 23:37:45 +01:00
Berke Viktor da54f7cc11 Remove plugin20.html remnant 2012-10-28 23:33:45 +01:00
Berke Viktor 6a9e7bb4d3 Further doc relocations and conversions 2012-10-28 10:49:44 +01:00
Berke Viktor 6cb0c96319 Fix SysInfo displaying garbage for too long lines 2012-10-28 02:25:54 +01:00
Berke Viktor a98dc18d55 Ignore generated config.h properly on Unix 2012-10-27 01:26:32 +02:00
Berke Viktor e38c6696cd Fix buffer size 2012-10-26 14:44:46 +02:00
Berke Viktor e3be4a0e0a Eliminate some more plugin warnings 2012-10-26 13:38:13 +02:00
Berke Viktor 46b0fe70eb Add commands for modifying UPD options 2012-10-26 13:32:08 +02:00
Berke Viktor 89252106da Add configurable delay and check frequency for UPD and eliminate some warnings 2012-10-26 13:00:09 +02:00
Berke Viktor 7cc2dc36e5 Get rid of the SASL plugin 2012-10-25 16:40:26 +02:00
Berke Viktor 82a903f347 Rename HexTray config file 2012-10-25 16:24:03 +02:00
Berke Viktor 1a75c8e1be A lot more rebranding 2012-10-24 21:33:02 +02:00
Berke Viktor 0e8ac8b7a1 Fix LSB filename 2012-10-22 09:23:32 +02:00
Berke Viktor 01e8b50b4f EXTRA_DIST cleanup 2012-10-22 04:04:51 +02:00
Berke Viktor db4cb3d2f2 Cosmetics 2012-10-21 14:30:10 +02:00
Berke Viktor 77d3c50da1 Typofix 2012-10-21 14:26:46 +02:00
Berke Viktor 8404ebf1d4 Even more SysInfo fixes 2012-10-21 14:24:01 +02:00
Berke Viktor 1e7d7101c6 Some more cleanup for SysInfo 2012-10-21 12:49:55 +02:00
Berke Viktor d9dc34499d A LOT of cleanup for SysInfo-Unix 2012-10-21 12:15:41 +02:00
Berke Viktor f0b909ea68 Add Mageia support to SysInfo 2012-10-21 09:56:48 +02:00
Berke Viktor 3d01c78248 First bunch of fixes to SysInfo-Unix, now it works - barely 2012-10-21 09:56:09 +02:00
Berke Viktor 62c9375bc9 Compilation fixes and integration with HexChat 2012-10-21 08:06:09 +02:00
Berke Viktor bc57507a4c Add Arch patches to SysInfo-Unix and rebrand it 2012-10-21 07:15:48 +02:00
Berke Viktor 187351fa61 Add vanilla X-Sys sources 2012-10-21 06:44:29 +02:00
Berke Viktor cb891a9732 Rename WinSys on the code level 2012-10-21 06:40:28 +02:00
Berke Viktor c54cd4181b Rename WinSys files 2012-10-21 06:33:33 +02:00
Berke Viktor ddbce0b9fe Move warning level to property sheet 2012-10-21 05:57:00 +02:00
Berke Viktor 06226c0799 Update win32 dirent.h implementation and use header instead of static library 2012-10-18 18:24:20 +02:00
Berke Viktor bc4d4f6536 Fix misspelled words 2012-10-13 22:55:35 +02:00
Berke Viktor 84c536e4ea Compatibility for Automake 1.12.4+ 2012-10-13 22:26:35 +02:00
Berke Viktor 3b8d2aeca8 Fix mpcInfo-xp not using the WDK toolset 2012-10-05 12:21:08 +02:00
Berke Viktor e5b230b0cd Fix WinSys compilation without WDK 2012-10-03 21:13:05 +02:00
Berke Viktor 981c7b9482 Now really finish the reversion 2012-10-03 18:54:15 +02:00
Berke Viktor 018e32e693 Nuke the remnants of the nonbmp plugin 2012-10-03 18:29:22 +02:00
Berke Viktor 90db7e85c2 Complete the VS2010 reversion 2012-10-03 18:26:48 +02:00
Berke Viktor da46225034 Revert to VS2010 part4 2012-10-03 13:50:31 +02:00
Berke Viktor 6e3efe2622 Remove another WDK-only thing 2012-10-02 20:43:14 +02:00
Berke Viktor d5b272b0c8 These directives were only required for the WDK 2012-10-02 19:38:07 +02:00
Berke Viktor 1d7773f735 Use explicit project names, output filenames depend on them 2012-10-02 18:40:23 +02:00
Berke Viktor de70630cef Oops, wrong find'n'replace 2012-10-02 18:21:16 +02:00
Berke Viktor 567270d5a7 Remove hardcoding as much as possible 2012-10-02 18:15:49 +02:00
Berke Viktor ab2d0b736c Change platform toolset to Visual Studio 2012 2012-10-02 16:05:20 +02:00
Berke Viktor a57a7d3f88 Add XP (WDK) solution as a fallback option 2012-10-02 16:00:13 +02:00
bviktor 70cd723e2c Merge pull request #108 from TingPing/python
Use proper version number for python module attribute
2012-09-29 06:16:48 -07:00
TingPing 8fc45171c5 Use proper version number for module attribute 2012-09-29 02:55:33 -03:00
Berke Viktor 241e3bf566 Some rebranding work left 2012-09-20 22:47:44 +02:00
Berke Viktor 6942d2b4b1 Update solution to Visual Studio 2012 Express and get rid of mpcInfo 2012-09-15 21:52:47 +02:00
Berke Viktor 28b7ba80e9 Move python docs 2012-09-14 17:02:49 +02:00
TingPing eace2397e6 Reorganized if statement. 2012-09-13 02:19:53 -04:00
TingPing db4b665cd3 bumped python plugin version. 2012-09-13 02:00:36 -04:00
TingPing f7a227c488 Added pluginpref to the python plugin. 2012-09-13 01:56:47 -04:00