head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.8 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.6 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.4 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.2 pkgsrc-2011Q2-base:1.6 pkgsrc-2010Q3:1.5.0.4 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.2 pkgsrc-2010Q2-base:1.5 pkgsrc-2009Q4:1.4.0.34 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.32 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.30 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.28 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.26 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.24 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.22 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.20 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.18 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.16 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.14 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.12 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.10 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.8 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.6 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.18 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.16 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.14 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.12 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.10 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.8 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.4 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.6 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.2 pkgviews-base:1.3 buildlink2-base:1.2; locks; strict; comment @# @; 1.6 date 2010.11.16.12.21.10; author tron; state dead; branches; next 1.5; 1.5 date 2010.06.02.18.24.47; author tnn; state Exp; branches; next 1.4; 1.4 date 2005.06.06.11.35.40; author tron; state dead; branches; next 1.3; 1.3 date 2002.07.19.05.22.52; author mycroft; state Exp; branches; next 1.2; 1.2 date 2001.08.12.11.08.12; author martin; state dead; branches; next 1.1; 1.1 date 2001.08.11.23.14.46; author tron; state Exp; branches; next ; desc @@ 1.6 log @Update "xchat-*" packages to version 2.8.8. Changes since 2.8.6pl1: - Made balloon time adjustable via /set input_balloon_time (Nicoleau Fabien). - Fixed a crash in the /SET command if a boolean value was loaded from config file that isn't set to 0 or 1. - Added -on and -off parameters to the /SET command. This can be used to set bits, for example gui_tweaks. - Made scrolling backwards for the search window act better (Richard Hitt). - [2045483] Made ESC key close the search window (Richard Rowell). - Improved the reconnect logic. If a network is already open but disconnected, it'll now get re-used if you use the Network List and connect to that same network. - Improved scrollback reloading speed significantly (Soeren Sandmann Pedersen). - [2957047] Handle CTCPs when IDmsg is used correctly (Lian Wan Situ). - [2987626] Allow /GHOST's password arg to be optional (Ori Avtalion). - Added networks: 7-indonesia, ChattingAway, GeekShed, TURLINet. - When switching tabs, make the treeview only scroll if the selected item isn't visible [treeview-less-jumping.diff] (Brian Evans). - Selecting an item in the nickmenu will now copy it to clipboard (Alex Kutepow). - New icons for notification area (systray): file offer, message and highlight (Brian Evans). - Defined a comparison routine for contexts in Python (Brian Evans). - For the auto-join command, added an 'x' filler for empty keys. This works around a bug in ircd-seven. - When a single channel MODE changes, xchat will no longer re-issue a MODE request for the titlebar display, but figure the new modes intelligently (Brian Evans). - Various text event changes (Brian Evans): 1. Added "Private Action", "Private Action to Dialog", "SSL Message". 2. Added "Identified text" parameter all the 'action' events. 3. Added a $3 parameter to "Server Text". - Perl (Lian Wan Situ) * Fixed a bug that resulted in timer hooks being leaked because "return REMOVE" from a timer callback was not unhooking like it was supposed to * Reverted the unintentional change to how the server argument of print() and command() is interepreted when it is undef * Add hook_fd to the 'hooks' export tag * Fixed a leak in XS_Xchat_get_list(Vincent Pit) * Change Xchat::register so that scripts calling it without a name or version will still show up in the plugins and scripts window. * Added calls to PERL_SYS_INIT3 and PERL_SYS_TERM which are required on some platforms * Added some additional guards to prevents bits of scripts from spilling into each other * Added "modes", "win_ptr" and "xchatdirfs" to the list of keys that are returned by context_info() * Changed the information displayed in the "Plugins & Scripts" for scripts that do not call register() to show up as "" for the name and description and "unknown" for the version * /reloadall will now reload scripts in the same order they were loaded * Make xchat_send_modes available as Xchat::send_modes * Add support for getting the network list using Xchat::get_list( "networks" ) * Xchat::strip_code will now strip off ANSI escape codes as well @ text @$NetBSD: patch-ae,v 1.5 2010/06/02 18:24:47 tnn Exp $ --- src/fe-gtk/maingui.c.orig 2008-04-01 08:53:41.000000000 +0000 +++ src/fe-gtk/maingui.c @@@@ -599,7 +599,7 @@@@ mg_show_generic_tab (GtkWidget *box) int num; GtkWidget *f = NULL; - if (current_sess && GTK_WIDGET_HAS_FOCUS (current_sess->gui->input_box)) + if (current_sess && gtk_widget_has_focus(current_sess->gui->input_box)) f = current_sess->gui->input_box; num = gtk_notebook_page_num (GTK_NOTEBOOK (mg_gui->note_book), box); @@@@ -809,8 +809,8 @@@@ mg_set_topic_tip (session *sess) static void mg_hide_empty_pane (GtkPaned *pane) { - if ((pane->child1 == NULL || !GTK_WIDGET_VISIBLE (pane->child1)) && - (pane->child2 == NULL || !GTK_WIDGET_VISIBLE (pane->child2))) + if ((pane->child1 == NULL || !gtk_widget_get_visible(pane->child1)) && + (pane->child2 == NULL || !gtk_widget_get_visible(pane->child2))) { gtk_widget_hide (GTK_WIDGET (pane)); return; @ 1.5 log @gtk+ 2.20 deprecated some macros, causing fallout (surprise, surprise!) @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Replace the outdated "xchat" package (version 1.8.11) with the "xchat2" package (version 2.4.3). @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.3 2002/07/19 05:22:52 mycroft Exp $ d3 22 a24 176 --- src/common/perl.c.orig Fri Jul 19 05:14:48 2002 +++ src/common/perl.c Fri Jul 19 05:15:59 2002 @@@@ -256,7 +256,8 @@@@ execute_perl (char *function, char *args) { char *perl_args[2] = { args, NULL }, buf[512]; - int count, ret_value = 1; + int ret_value = 1; + STRLEN count; SV *sv; dSP; @@@@ -273,7 +274,7 @@@@ POPs; } else if (count != 1) { snprintf(buf, 512, "Perl error: expected 1 value from %s, " - "got: %d\n", function, count); + "got: %ld\n", function, (long)count); PrintText(perl_sess, buf); } else { ret_value = POPi; @@@@ -656,7 +657,7 @@@@ static XS (XS_IRC_register) { char *name, *ver, *callback, *unused; - int junk; + STRLEN junk; struct perlscript *scp; dXSARGS; @@@@ -680,7 +681,7 @@@@ /* IRC::main_print(output) */ static XS (XS_IRC_print) { - int junk; + STRLEN junk; int i; char *output; dXSARGS; @@@@ -706,7 +707,7 @@@@ static XS (XS_IRC_print_with_channel) { - int junk; + STRLEN junk; char *output; struct session *sess; GSList *list = sess_list; @@@@ -784,7 +785,7 @@@@ /* IRC::get_prefs(var) */ static XS (XS_IRC_get_prefs) { - int junk; + STRLEN junk; char *var; int i = 0; dXSARGS; @@@@ -827,7 +828,7 @@@@ /* IRC::add_message_handler(message_type, handler_name) */ static XS (XS_IRC_add_message_handler) { - int junk; + STRLEN junk; struct _perl_inbound_handlers *handler; dXSARGS; @@@@ -842,7 +843,7 @@@@ /* IRC::add_command_handler(command_name, handler_name) */ static XS (XS_IRC_add_command_handler) { - int junk; + STRLEN junk; struct _perl_command_handlers *handler; dXSARGS; @@@@ -857,7 +858,7 @@@@ /* IRC::add_print_handler(print_name, handler_name) */ static XS (XS_IRC_add_print_handler) { - int junk; + STRLEN junk; struct _perl_print_handlers *handler; dXSARGS; @@@@ -870,7 +871,7 @@@@ static XS (XS_IRC_add_timeout_handler) { - int junk; + STRLEN junk; struct _perl_timeout_handlers *handler; dXSARGS; @@@@ -886,7 +887,7 @@@@ static XS (XS_IRC_send_raw) { char *data; - int junk; + STRLEN junk; dXSARGS; if (perl_sess) @@@@ -1033,7 +1034,7 @@@@ static XS (XS_IRC_user_info) { - int junk; + STRLEN junk; struct User *user; char *nick; dXSARGS; @@@@ -1065,7 +1066,7 @@@@ */ static XS (XS_IRC_add_user_list) { - int junk; + STRLEN junk; char *ul_channel; char *ul_server; char *nick; @@@@ -1104,7 +1105,7 @@@@ */ static XS (XS_IRC_sub_user_list) { - int junk; + STRLEN junk; char *channel; char *server; char *nick; @@@@ -1135,7 +1136,7 @@@@ */ static XS (XS_IRC_clear_user_list) { - int junk; + STRLEN junk; char *channel, *server; struct session *sess; GSList *list = sess_list; @@@@ -1170,7 +1171,8 @@@@ struct session *sess; char *channel, *server; GSList *list = sess_list; - int i = 0, junk; + int i = 0; + STRLEN junk; int MinStk = 10; dXSARGS; @@@@ -1267,7 +1269,7 @@@@ static XS (XS_IRC_command) { char *command; - int junk; + STRLEN junk; dXSARGS; if (perl_sess) @@@@ -1284,7 +1286,7 @@@@ GSList *list = serv_list; struct server *serv; char *server, *command; - int junk; + STRLEN junk; dXSARGS; server = strdup (SvPV (ST (1), junk)); @@@@ -1338,7 +1340,8 @@@@ struct session *sess; char *channel, *server; GSList *list = sess_list; - int i = 0, junk; + int i = 0; + STRLEN junk; int MinStk = 10; dXSARGS; @ 1.3 log @Clean up `Perl_sv_2pv' warnings on LP64. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Add INTLLIBS to LIBS spec when building the text based version. Remove some other patches trying to achieve the same in a different way. This fixes PR 13680 for me. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2001/08/11 23:14:46 tron Exp $ d3 10 a12 8 --- src/fe-gtk/Makefile.in.orig Sun Aug 12 01:05:18 2001 +++ src/fe-gtk/Makefile.in Sun Aug 12 01:09:32 2001 @@@@ -104,7 +104,7 @@@@ bin_PROGRAMS = xchat CFLAGS = $(GUI_CFLAGS) -LIBS = $(GUI_LIBS) +LIBS = $(GUI_LIBS) -lintl d14 164 a177 1 INCLUDES = -I$(includedir) @ 1.1 log @Fix build problem reported by Martin Husemann in PR pkg/13680 by manually adding "-lintl" to another "Makefile.in". @ text @d1 1 a1 1 $NetBSD$ @