Patrick Griffis
fb7f27fcdd
lua: Build on win32
2016-04-03 12:02:04 -07:00
Patrick Griffis
2e2b895ebe
lua: Don't used mixed declarations
...
This requires a lot more cleanup
2016-04-03 11:04:48 -04:00
Patrick Griffis
2e478f1b5a
Import lua plugin
...
Written by @mniip
2016-04-03 10:30:01 -04:00
Patrick Griffis
ed029357d1
sysinfo: Clean up ifdefs and handle unsupported CPU
...
Mentioned in #1624
2016-03-06 23:10:04 -05:00
Patrick Griffis
0826e7d353
python: Handle get_info('win_ptr')
2016-02-18 12:59:02 -05:00
Patrick Griffis
aab881fda2
Fix strict prototype warnings
2016-02-18 08:57:22 -05:00
Arnavion
089fe95a42
perl: Fixed warning about duplicate definition of bool.
2016-01-30 19:57:12 -08:00
Rico Tzschichholz
b8e7dfa4ba
build: Let 'make dist' do a better job
2015-10-16 17:25:01 +02:00
Arnavion
7f1ee9dad0
common: Moved some functions over from plugins/sysinfo that are useful for the rest of HC.
...
OS name, CPU, GPU, HDD info and build arch are now all available within core HC. OS name and build arch are used in the About dialog.
2015-10-12 19:20:53 +02:00
Arnavion
f7e3d3f32c
Use VS 2015
2015-10-10 16:14:12 -07:00
Patrick Griffis
fad8f93ad8
configure: Clean up Python checking
...
This fixes requiring to add a version every time
a new release comes out...
2015-09-30 03:55:42 -04:00
TingPing
9b2c560519
Remove unused file
2015-04-23 01:07:31 -04:00
TingPing
5263887ac3
configure: Simplify perl tests
2015-04-22 23:14:42 -04:00
TingPing
174db0eb7f
winamp: More code cleanup
2015-04-14 10:02:27 -04:00
TingPing
f64b61a1b9
winamp: Fix project file
...
Broken by 72d7f64f8b
2015-04-14 05:41:02 -04:00
TingPing
a8392c7f95
winamp: Clean up formatting
2015-04-13 16:25:37 -04:00
TingPing
72d7f64f8b
winamp: Fix utf8 song titles
...
Fixes #1350
2015-04-13 16:25:36 -04:00
TingPing
e313a82ab4
sysinfo: Strip trailing space on video card
2015-03-20 05:38:22 -04:00
TingPing
f03b6314b4
Remove unused files
2015-03-20 05:36:51 -04:00
TingPing
7e7e87600e
More type issues/warnings
2015-02-21 21:01:14 -05:00
TingPing
c36d4859d7
Fix type mismatch
2015-02-21 20:52:43 -05:00
Arnavion
c1d06c7d63
Fixed cast warning, use of uninitialized buffer and whitespace.
2015-02-21 17:28:56 -08:00
TingPing
5e3355a6c3
Unify sysinfo plugins and add osx support
...
This does remove the net* commands from the
Unix version that may return at a later date
with OSX and Windows support.
This commit also makes numerious other changes
such as code cleanup, reformatting, etc.
Closes #829
2015-02-21 20:09:15 -05:00
TingPing
b6877ccf5c
win32: Use WinSparkle for handling updates
...
Fixes #1282
2015-02-12 19:11:46 -05:00
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
Arnavion
5a87d814cf
Call CoInitialize, CoInitializeSecurity and CoUninitialize from the main process, not from a DLL.
...
They're process-level functions and aren't meant to be called from DLLs. CoInitSecurity in particular fails with RPC_E_TOO_LATE even if no other call to CoCreateInstance has been made yet.
Fixes sysinfo's WMI calls on Windows 8.1 and above.
2015-02-10 22:14:22 -08:00
Arnavion
dc9a7d3a59
sysinfo: Fix braindead logic for stripping spaces from the end of the OS name.
2015-01-31 21:29:10 -08:00
Arnavion
9968bb31a4
sysinfo: Strip spaces from the end of the OS name, if any, and ensure a space between name and arch.
2015-01-31 00:52:30 -08:00
Arnavion
62df565190
sysinfo: Also show HDD information.
2015-01-05 03:57:59 -08:00
Arnavion
4f08b0b386
sysinfo: Don't confuse build architecture with CPU architecture.
2015-01-04 16:54:15 -08:00
Arnavion
5b8cc683f3
sysinfo: Refactored out individual WMI parsing methods.
2015-01-04 15:08:45 -08:00
Arnavion
e758da5d28
Bring the sysinfo plugin to the 21st century.
...
- Support multiple CPUs and graphics adapters in the WMI responses.
- Query max CPU frequency from WMI instead of registry.
- Support uptimes longer than 50 days.
- Don't report using /ME in notice and server notice tabs.
- Convert to C
2015-01-03 15:26:05 -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
76c2cfebc3
Don't require glib 2.40
2014-12-15 15:34:12 -05:00
TingPing
addefa9ef1
fishlim: Handle server-time
2014-12-15 15:08:00 -05:00
TingPing
7769bc99fe
fishlim: Use proper filesystem encoding for files
2014-12-15 15:08:00 -05:00
TingPing
ce396b3ddb
fishlim: Use standard keyfile save function
2014-12-15 15:08:00 -05:00
TingPing
ebe0ad4cd5
fishlim: Strip whitespace when deleting keys
...
This fixes a personal annoyance when you tab complete
a channel to delete
2014-12-15 15:07:43 -05:00
TingPing
bdb5c3eb9d
fishlim: Use hexchat_nickcmp()
2014-12-15 15:06:48 -05:00
TingPing
c54a0c6db9
fishlim: Improve string handling
2014-12-15 15:06:48 -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
TingPing
94568bc517
checksum: Use glib for io/checksum and misc fixes
...
- Fixes support for large files.
- Fixes filenames not being passed in the filename encoding.
- Drops openssl dependency.
- Code cleanup.
- Fix 'unknown command' warning.
2014-12-15 10:40:15 -05:00
Arnavion
ac01ba9cb0
perl: Fixed warning about implicitly casting the time_t returned from hexchat_list_time() to an NV.
2014-12-14 13:31:19 -08:00
TingPing
a537fa3ca7
sysinfo: Simplify remove_leading_whitespace()
...
Also fixes a possible overflow
2014-12-11 14:17:12 -05:00
TingPing
72f82d096c
Fix some warnings in xsys
...
- Remove unused code
- Fix leak
2014-12-11 10:05:05 -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
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