Patrick Griffis
aa7080f8fe
Fix building fishlim against libressl also
...
Also part of #1898
2016-12-13 17:37:15 -05:00
Mattia Rizzolo
c7849a8921
Fix typos s/Recieved/Received/
2016-11-28 15:17:36 -05:00
Patrick Griffis
85bdb06cad
Convert doat to an internal command
...
- Trivial plugin
- Useful for many users
- Was under a dumb license
2016-11-09 17:29:23 +01:00
Patrick Griffis
a0e80ebda2
Final fixup of OpenSSL 1.1.0 changes
2016-10-23 03:34:15 -04:00
Igor
f64d1c847a
mpcinfo: Do not modify string literals
2016-10-14 13:18:49 -04:00
Igor
116a394ef6
perl: Remove dead assignment
2016-10-11 11:48:36 -04:00
Igor
c0aa47c7a1
fishlim: Fix MEMZERO macro using element number not bytes
...
Closes #1837
2016-10-11 09:58:06 -04:00
Igor
f38261f666
mpcinfo: Fix memory leaks
...
Closes #1838
2016-10-11 09:55:29 -04:00
Patrick Griffis
7329dbdc57
fishlim: Bump version
2016-10-08 14:48:49 -04:00
Patrick Griffis
bfe0af69fa
fishlim: Remove outdated INSTALL file
2016-10-08 14:48:49 -04:00
Patrick Griffis
c81c89dc80
fishlim: Fix saving nicks containing [ or ]
...
Part of #1440
2016-10-08 14:48:49 -04:00
Groil
31dd020114
fishlim: Add support for the /me command
...
Part of #1440
2016-10-08 14:48:49 -04:00
cypherpunk
321587c73b
fishlim: Add commands /topic+ /msg+ and /notice+
...
Part of #1440
2016-10-08 14:48:49 -04:00
Patrick Griffis
dba19a961b
fishlim: Add /keyx for DH1080 key exchange
...
Losely based upon work from PR #1440
Fixes #653
2016-10-08 14:48:49 -04:00
Mihai Moldovan
65abf5c532
sysinfo: fixup 49758cafba
. ( #1827 )
...
MAC_OS_X_VERSION_MAX_ALLOWED reflects the currently running OS X version
more closely than MAC_OS_X_VERSION_MIN_REQUIRED, given it's defined as
max(current_version, MAC_OS_X_VERSION_MIN_REQUIRED).
Additionally, we should check if MAC_OS_X_VERSION_10_9 is actually
defined, otherwise the whole macro logic breaks apart.
2016-09-30 01:23:59 -04:00
Rainer Müller
c79ce843f4
build: Reorder includes to avoid installed plugin header
...
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-09-26 19:16:42 -04:00
Mihai Moldovan
49758cafba
sysinfo: fix compilation on OS X 10.9 and lower. ( #1821 )
...
Use the (deprecated) Gestalt functionality for fetching the fine-grained
OS X version number on 10.9 and lower.
The newer NSOperatingSystemVersion structure is only available on
10.10+.
2016-09-25 23:49:56 -07:00
Arnavion
910851e04d
perl: Fixed Windows build with VS2015u3.
2016-09-07 04:00:10 -07:00
Patrick Griffis
737f87fa16
sysinfo: Fix leak
2016-09-03 12:29:01 -04:00
Patrick Griffis
4658c5d4e5
sysinfo: Don't print swap if 0
2016-09-03 12:24:15 -04:00
Patrick Griffis
19187dbacd
lua: Fix handling -1 value in pluginpref
2016-08-05 21:15:26 -04:00
Patrick Griffis
9d74ceedfd
python: Fix get_pluginpref()
...
This relied on undocumented behavior of hexchat_pluginpref_get_int()
that has been fixed recently. -1 is the correct failure value.
2016-08-05 21:08:52 -04:00
mniip
9ca1606e2a
lua: Force 'return' when = is present
2016-07-14 17:04:58 +03:00
mniip
9c049271e7
lua: Add automatic return and = handling in console.
2016-07-14 01:43:26 +03:00
Patrick Griffis
823ef320a5
lua: Use luaL_checkinteger
2016-04-27 14:55:04 -04:00
Patrick Griffis
529ae4cc89
lua: Fix explicit braces warning
2016-04-07 19:02:38 -04:00
Patrick Griffis
d11b7f258c
lua: Minor formating cleanup
2016-04-07 18:27:40 -07:00
Patrick Griffis
0694cb9045
lua: More consistency with Python plugin
2016-04-07 18:27:39 -07:00
mniip
f501e948ae
lua: Some more refactoring. Fix unload hook in the interpreter.
2016-04-07 18:27:30 -07:00
Patrick Griffis
ba6a1190cd
lua: More missing statics
2016-04-07 18:27:30 -07:00
Patrick Griffis
4abcd53044
lua: Make better use of GLib
...
- Use GPtrArray everywhere
- Remove unessary NULL checks
- Make use of g_clear macros
- Use g_str_has_suffix
2016-04-07 18:27:29 -07:00
mniip
2fe52bbf58
lua: Bump version and update copyright year.
2016-04-07 18:27:21 -07:00
mniip
5998696c2a
lua: Use glib allocators
2016-04-07 18:27:13 -07:00
mniip
bc9a59d264
lua: Replace some pushnumbers with pushintegers
2016-04-07 18:27:07 -07:00
mniip
5699bf9e65
lua: Error if luaL_newstate returns NULL
2016-04-07 18:26:58 -07:00
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