Commit Graph

31 Commits

Author SHA1 Message Date
Rainer Müller 5ca767f7f8 Fix plugins on macOS
The switch to the meson build system broke plugins on macOS. GNU libtool
builds shared libraries with ".dylib" and shared modules (plugins) with
the extension ".so", but meson is using ".dylib" for both.

Although overriding the name_suffix for shared_module() in meson is
possible, this would be messy for other platforms as there is no way to
query the default. Therefore it seems like we have to go with ".dylib"
for now on macOS.

However, G_MODULE_SUFFIX is defined to ".so", because glib follows what
GNU libtool does. Therefore define a separate preprocessor macro that
has the correct extension.

See: https://github.com/mesonbuild/meson/issues/1160
2018-03-31 01:29:05 +00:00
Chase Patterson 18b741804c Use localized "HexChat" in window titles
Also allow rearranging of "HexChat" in window titles
2017-09-15 19:18:29 -04:00
Chase Patterson d935197895 Change windows from starting with "Hexchat: " to ending with " - Hexchat" 2017-09-15 19:18:29 -04:00
Patrick Griffis 1f48f9dd6f Increase default size of some util windows 2016-03-31 07:21:02 -04:00
Patrick Griffis dce6a7612a plugingui: Use full path when unloading/reloading plugins
Mentioned in mniip/hexchat-lua#5
2016-03-29 12:19:19 -04:00
TingPing 83032b1aa3 Use glib for all allocations
- Removes need to check for malloc failure
- Removes need for NULL checks on free
- Adds checks for integer overflows
- Removes some extra memset calls
- Removes chance of mixing libc and glib malloc/free
2014-12-28 06:44:44 -05:00
Arnavion c1831cb19d Minor tidying up 2014-12-08 21:24:59 -08:00
TingPing 11e3ecc739 Stop hardcoding plugin extensions everywhere 2014-06-04 11:15:35 -04:00
TingPing 4c406bce17 Improve file dialogs
- Fixes #314
- Adds file extensions to sound and image browsing
- Some options no longer default to our config dir
- Always add a shortcut to our config dir
- Remove broken 'last_dir' functionality, gtk already knows recent
2013-08-31 11:39:12 -04:00
TingPing 2917a83d7b Update text on reload button 2013-08-04 04:53:40 -04:00
TingPing e8456beadc Add reload command for plugins and add to gui 2013-08-04 04:36:10 -04:00
TingPing 945251c6b8 add .js to list of loadable filetypes 2013-05-29 01:55:41 -03:00
Berke Viktor fb01d4e9ab Replace g_strdup_printf with g_build_filename where possible 2013-05-04 18:21:48 +02:00
Berke Viktor 9c49254abd Only include top level includes from GTK+, GLib and GDK-PixBuf 2013-04-02 20:39:37 -07:00
RichardHitt ecdcc99280 ESC key will destroy the windows mentioned at issue 211.
This change implements generic routine gtkutil_destroy_on_esc ()
and adds invocations of it in the requisite window-handling places.
2013-03-17 15:11:23 -07:00
TingPing 809cfef957 add missing include 2012-12-30 14:54:07 -05:00
Dan Mashal b04377825f fix incorrect FSF address 2012-12-23 11:36:54 -08:00
TingPing 18f248cdbe remove unneeded gtk_widget_show 2012-12-03 16:13:53 -05:00
TingPing f06fd74d25 remove close button for consistancy 2012-12-02 23:16:07 -05:00
TingPing e3bdd00ff3 handle plugingui window like other utils 2012-11-30 11:59:42 -05:00
Arnavion 5d9264aff6 Initial commit for utf8 everywhere. 2012-11-03 19:04:02 -07:00
Berke Viktor e681eafa78 Rebranding for the rest of plugin* 2012-10-30 08:42:48 +01:00
Berke Viktor 1a75c8e1be A lot more rebranding 2012-10-24 21:33:02 +02:00
Berke Viktor ec301a5a54 Auto-load user plugins and scripts from <config>/addons
On Unix leave $(libdir)/hexchat/plugins for plugin packagers, on Windows
prevent users from modifying Program Files by ignoring everything except
bundled plugins
2012-07-26 20:53:59 +02:00
Berke Viktor bc651b0222 Add extension filter for file dialogs, specify filters and starting folder for loading plugins 2012-07-21 21:42:48 +02:00
Berke Viktor cb2f9f3e7b Use GTK+ file dialogs on Windows too, the Win32 dialogs are too buggy 2012-07-18 20:16:35 +02:00
Berke Viktor e57659e63f Some more rebranding 2012-07-12 17:49:26 +02:00
Berke Viktor 35821f3875 Fix string handling for Turkish locale 2012-06-16 13:01:47 +02:00
Berke Viktor 132ef6cb50 initial patches for linux compatibility 2011-12-11 17:34:02 +01:00
berkeviktor@aol.com d03d6e606b add wdk changes to named branch 2011-02-28 18:59:32 +01:00
berkeviktor@aol.com 4a6ceffb98 add xchat r1489 2011-02-24 04:14:30 +01:00