Patrick Griffis
8a6570862f
Use glib WIN32 defines
2017-06-26 19:14:52 -04:00
Patrick Griffis
99e16110bc
sysinfo: Simplify finding pci.ids file on Unix
...
There is probably no reason to make this user configurable just
get the correct one at build time...
2017-06-20 16:26:28 -04:00
Patrick Griffis
27fd9b3fd6
Hide false-positive deprecated warning
2017-06-15 00:14:30 -04:00
Patrick Griffis
2dfe5357a9
build: Fix setting the *installed* rpath for perl too...
2017-06-14 23:55:40 -04:00
Patrick Griffis
67adfa6f54
build: Fix rpath not getting set for perl plugin
...
Some distros of perl pass an rpath so we shouldn't ignore it.
Other junk comes with it but oh well.
2017-06-14 23:31:01 -04:00
Patrick Griffis
628100c19f
build: Replace Autotools with Meson
...
Quick rundown of benefits:
- Much faster:
- Autotools (with autogen): 22 seconds
- Meson: 7 seconds
- Meson (with ccache): 2 seconds
- Simpler:
- ~1000 lines smaller
- Single simple language
- Potentially better Windows (Visual Studio) support
What is not done:
- Complete Windows support
- OSX support (easy)
Closes #2013
Closes #1937
Closes #1803
2017-06-13 23:54:51 -04:00
culb
fc2fe7fd28
lua: Prevent loading a script if it's already loaded
...
Closes #1959
2017-04-28 07:55:14 -04:00
culb
5d72755027
lua: Prevent from loading if it's already loaded
...
Closes #1958
2017-04-28 07:50:43 -04:00
Lance Poore
92496b183e
sysinfo: Lower priority of make.conf for distro name
...
This is used elsewhere other than Gentoo so it is a rather
unreliable check compared to lsb-release.
2017-04-28 07:44:55 -04:00
Mark Jansen
eccd0d05b5
python: Use HEXCHAT_EAT_XXX where appropriate.
2017-03-30 16:58:49 -04:00
eimmot
be6473227b
Fix key exchange
...
Clients will receive the proper shared secret.
Eliminates error message:
SSL_read: error:05066064:Diffie-Hellman routines:compute_key:no private value
Fixes #1974
2017-03-30 16:32:40 -04:00
Patrick Griffis
2376b7fb6a
fishlim: Fix not including config.h
2017-01-05 13:07:51 -05:00
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