Commit Graph

86 Commits

Author SHA1 Message Date
Patrick Griffis 27fd9b3fd6 Hide false-positive deprecated warning 2017-06-15 00:14:30 -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
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 a0e80ebda2 Final fixup of OpenSSL 1.1.0 changes 2016-10-23 03:34:15 -04:00
Igor c0aa47c7a1 fishlim: Fix MEMZERO macro using element number not bytes
Closes #1837
2016-10-11 09:58:06 -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
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
Patrick Griffis aab881fda2 Fix strict prototype warnings 2016-02-18 08:57:22 -05:00
Rico Tzschichholz b8e7dfa4ba build: Let 'make dist' do a better job 2015-10-16 17:25:01 +02:00
Arnavion f7e3d3f32c Use VS 2015 2015-10-10 16:14:12 -07:00
TingPing 9b2c560519 Remove unused file 2015-04-23 01:07:31 -04: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
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 121cb8b88d Fix formatting warnings
Found by #1059
2014-07-18 07:16:43 -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
TingPing 6487e1b391 osx: Silence openssl deprecated warnings 2014-01-29 12:16:36 -05:00
TingPing 10a03f2216 configure: Clean up EXTRA_DIST 2014-01-20 02:38:32 -05: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
Eustachy Kapusta 715a520c0e Move optimization settings from all subsequent projects to hexchat.props 2013-07-24 20:56:36 +02: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
Berke Viktor 110a2625fe Remove another bunch of obsolete junk 2013-04-01 05:05:33 +02:00
Berke Viktor db218817fd Use configdir instead of *xchatdir* 2012-11-04 23:55:36 +01:00
Berke Viktor 507af191bd Now some final cleanup (I hope) 2012-10-30 11:47:12 +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