pkubaj
c522ccce7f
Fix build on FreeBSD
2019-12-22 20:45:16 -08:00
Simon Levermann
ad5be08a07
Ignore some non-interesting filesystem types
...
Generally, how much space we have in squashfs, or tmpfs shouldn't
interest us. This becomes more relevant in distros like Ubuntu, where
snaps are a thing, and each snap mounts their own FS in a squashfs that
is always full, thus falsifying the output of sysinfo.
2019-11-13 21:37:21 -08:00
jacob1
586f089df6
Python: Fix error in hexchat.emit_print when passing time attribute
2019-06-24 07:37:20 -07:00
A_D
7abeb10cf1
python: plugin cleanup and refactor
2019-01-02 18:50:10 -05:00
linuxdaemon
a5a727122b
python: Make sure help()
doesn't cause hexchat to hang ( #2290 )
...
* Make sure `help()` doesn't cause hexchat to hang
Replace `pydoc.help` with a copy of `pydoc.Helper` with an empty
`StringIO` instead of stdin
* Handle BytesIO vs StringIO on 2.7
2018-12-27 14:46:02 -05:00
linuxdaemon
f7713a6a64
python: Make the plugins table dynamically sized ( #2291 )
...
Adjust the width of the columns depending on the length of the data in
each element
2018-12-26 17:15:25 -05:00
A_D
3ebfa83fdd
python: Made sure to set sys.argv if it is not set. fixes #2282
2018-12-26 16:58:46 -05:00
Patrick Griffis
ed55330153
python: Fix console not eating commands
2018-12-05 19:45:30 -05:00
A_D
a2ff661d40
python: Various cffi fixes
...
- fixed /py exec behaviour
- fixed hexchat.unload_hook() failing when passed a hook id
- fixed get_list() calls in python3
2018-11-09 18:36:59 -05:00
Patrick Griffis
706f9bca82
python: Rewrite with CFFI
2018-11-09 18:36:59 -05:00
Mattia Rizzolo
6432694455
Fix compilation failure on non-linux, non-darwin, non-windows systems.
...
'gnu' => Hurd
'gnu/' => all the gnu/* stuff like gnu/kfreebsd
Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2018-09-26 13:18:54 -04:00
Patrick Griffis
18eae24acf
Fix new stringop-truncation warnings
2018-09-01 16:35:48 -04:00
Patrick Griffis
c092af89a2
sysinfo: Fixup formatting
2018-09-01 13:01:30 -04:00
Patrick Griffis
2a8ab8bb7f
sysinfo: Add support for /etc/os-release
2018-09-01 12:51:07 -04:00
Rainer Müller
111441302c
build: perl as a dependency in meson.build
...
With the switch to meson, the problem previously fixed in #1822 came
back. The build system might pick up the installed hexchat-config.h
instead of using the header in the source directory, as the compiler
arguments would be in the order of "-I${prefix}/include -I..".
It seems that the c_args in meson are always put to the front of the
compiler arguments, in order to be able to override any include paths
from dependencies. However, this was not the intention here, so perl
should also be modeled as a dependency. This ensures that the arguments
with local include directories come first.
2018-03-26 17:09:36 +00:00
Rainer Müller
ed6f544572
build: Add option to specify path to perl binary
2018-03-23 09:14:45 +00:00
Patrick Griffis
93f926bf12
build: Re-add support for the legacy perl api
...
This was accidentally left behind, expose it beind an option as
with the old build system but default to false now. Enough time
has passed and only distros that care about it can enable it.
2018-03-18 11:09:53 -04:00
Mattia Rizzolo
27acca0f5b
fix typo in comment
...
Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2018-03-13 23:38:36 +00:00
Patrick Griffis
740352ceab
Remove mpcinfo plugin
...
The code quality of it is terrible, the user experience of using it is terrible, and it should have been removed years ago
2018-03-09 20:26:41 +00:00
Patrick Griffis
541b9ca744
win32: Update to build against gvsbuild
2018-03-09 20:26:41 +00:00
Patrick Griffis
e9b9ff9f38
Various fixes for mingw
2018-03-09 18:23:25 +00:00
Patrick Griffis
23c7e7c3da
fishlim: Fix build warning
2018-02-18 04:31:55 -05:00
Patrick Griffis
228e08543a
build: Force pkg-config lookup method for libpci
...
This is some meson bug but this solution works for now.
2017-11-18 21:29:56 -05:00
Patrick Griffis
38f8cc8e0c
sysinfo: Fix libpci detection
...
For some reason on my system `libpci` is found even though its not
installed...? Plus I forgot a few headers being included.
2017-11-18 21:06:21 -05:00
Patrick Griffis
3e53635dfb
sysinfo: Make libpci an optional dependency
2017-11-18 20:47:32 -05:00
Patrick Griffis
47b653cc7c
sysinfo: Avoid libpci crash when pci not available
...
Turns out libpci is an awful library that on any error calls
exit() and has no way of indicating an error otherwise...
2017-11-18 00:22:48 -05: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