gaim-bnetg-commits Mailing List for Gaim Battle.Net GAMES Protocol Plugin
Status: Pre-Alpha
Brought to you by:
evew
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Dario Z. <ev...@us...> - 2007-06-12 15:33:25
|
Update of /cvsroot/gaim-bnetg/gaim-bnetg/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv27462/src Modified Files: .cvsignore Log Message: Added some extensions to .cvsignore files. Index: .cvsignore =================================================================== RCS file: /cvsroot/gaim-bnetg/gaim-bnetg/src/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 4 Feb 2005 11:04:41 -0000 1.2 --- .cvsignore 12 Jun 2007 15:33:22 -0000 1.3 *************** *** 5,6 **** --- 5,7 ---- *.lo libbnetg.la + *.bk |
|
From: Dario Z. <ev...@us...> - 2007-06-12 15:33:25
|
Update of /cvsroot/gaim-bnetg/gaim-bnetg In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv27462 Modified Files: .cvsignore Log Message: Added some extensions to .cvsignore files. Index: .cvsignore =================================================================== RCS file: /cvsroot/gaim-bnetg/gaim-bnetg/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .cvsignore 3 Feb 2005 19:40:43 -0000 1.1 --- .cvsignore 12 Jun 2007 15:33:21 -0000 1.2 *************** *** 9,12 **** --- 9,13 ---- config.status config.sub + config.rpath configure depcomp *************** *** 20,21 **** --- 21,24 ---- pre_config.h.in stamp-h1 + *.pws + *.prj |
|
From: Dario Z. <ev...@us...> - 2007-06-12 15:23:33
|
Update of /cvsroot/gaim-bnetg/gaim-bnetg In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv21558 Modified Files: Makefile.am README configure.ac Log Message: First attempt to make the old code compatible with the new structure of pidgin/libpurple. Index: README =================================================================== RCS file: /cvsroot/gaim-bnetg/gaim-bnetg/README,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** README 3 Feb 2005 18:21:26 -0000 1.1.1.1 --- README 12 Jun 2007 15:23:23 -0000 1.2 *************** *** 1,3 **** ! gaim-bnetg: Protocol Plugin (prpl) for Gaim to send messages via Battle.Net Games protocol. --- 1,3 ---- ! pidgin-bnetg: Protocol Plugin (prpl) for Gaim to send messages via Battle.Net Games protocol. Index: configure.ac =================================================================== RCS file: /cvsroot/gaim-bnetg/gaim-bnetg/configure.ac,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** configure.ac 3 Feb 2005 18:21:26 -0000 1.1.1.1 --- configure.ac 12 Jun 2007 15:23:23 -0000 1.2 *************** *** 4,9 **** # ! AC_INIT([gaim-bnetg], [0.0.1], [gai...@li...]) AC_CANONICAL_SYSTEM AM_CONFIG_HEADER(pre_config.h) --- 4,10 ---- # ! AC_INIT([pidgin-bnetg], [0.0.1], [pid...@li...]) AC_CANONICAL_SYSTEM + AC_GNU_SOURCE AM_CONFIG_HEADER(pre_config.h) *************** *** 34,38 **** # AH_TOP([ /* our header */ ! #ifndef BNETG_CONFIG_H #define BNETG_CONFIG_H ]) --- 35,39 ---- # AH_TOP([ /* our header */ ! #ifndef _CONFIG_H #define BNETG_CONFIG_H ]) *************** *** 44,48 **** # Add a few convience defines to our header # ! AC_DEFINE_UNQUOTED(BNETG_WEBSITE, "http://gaim-bnetg.sourceforge.net", [Gaim-BNETG Website]) # --- 45,49 ---- # Add a few convience defines to our header # ! AC_DEFINE_UNQUOTED(BNETG_WEBSITE, "http://gaim-bnetg.sourceforge.net", [Pidgin-BNETG Website]) # *************** *** 50,54 **** # ALL_LINGUAS="" ! AM_GNU_GETTEXT_VERSION(0.10.40) AM_GNU_GETTEXT --- 51,55 ---- # ALL_LINGUAS="" ! AM_GNU_GETTEXT_VERSION([0.16.1]) AM_GNU_GETTEXT *************** *** 75,87 **** # ! # Check for Gaim # ! PKG_CHECK_MODULES(GAIM, gaim, ! [ ! AC_DEFINE(HAVE_GAIM, 1, [Define if we've found gaim.]) ! ]) ! ! AC_SUBST(GAIM_CFLAGS) # --- 76,86 ---- # ! # Check for Pidgin # ! AM_PATH_PURPLE(2.0.1,,AC_MSG_ERROR([ ! *** libpurple 2.0.1 is required to build pidgin-bnet; please make sure you have ! *** the libpurple development headers installed.])) ! AC_SUBST(PURPLE_CFLAGS) # *************** *** 90,94 **** AM_PATH_GLIB_2_0(2.0.0,,AC_MSG_ERROR([ ! *** GLib 2.0 is required to build gaim-bnet; please make sure you have *** the GLib development headers installed. The latest version of GLib is *** always available at http://www.gtk.org/.])) --- 89,93 ---- AM_PATH_GLIB_2_0(2.0.0,,AC_MSG_ERROR([ ! *** GLib 2.0 is required to build pidgin-bnet; please make sure you have *** the GLib development headers installed. The latest version of GLib is *** always available at http://www.gtk.org/.])) *************** *** 126,130 **** AC_OUTPUT([Makefile VERSION - doc/Makefile intl/Makefile pixmaps/Makefile --- 125,128 ---- Index: Makefile.am =================================================================== RCS file: /cvsroot/gaim-bnetg/gaim-bnetg/Makefile.am,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Makefile.am 3 Feb 2005 18:21:26 -0000 1.1.1.1 --- Makefile.am 12 Jun 2007 15:23:23 -0000 1.2 *************** *** 9,13 **** po/ChangeLog ! SUBDIRS = doc intl pixmaps po src BUILT_SOURCES = bnetg_config.h --- 9,13 ---- po/ChangeLog ! SUBDIRS = intl pixmaps po src BUILT_SOURCES = bnetg_config.h |
|
From: Dario Z. <ev...@us...> - 2007-06-12 15:23:33
|
Update of /cvsroot/gaim-bnetg/gaim-bnetg/po In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv21558/po Modified Files: POTFILES.in Log Message: First attempt to make the old code compatible with the new structure of pidgin/libpurple. Index: POTFILES.in =================================================================== RCS file: /cvsroot/gaim-bnetg/gaim-bnetg/po/POTFILES.in,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** POTFILES.in 3 Feb 2005 18:21:27 -0000 1.1.1.1 --- POTFILES.in 12 Jun 2007 15:23:23 -0000 1.2 *************** *** 1,2 **** ! src/bnet.c ! src/proto.c --- 1 ---- ! src/bnetg.c |
|
From: Dario Z. <ev...@us...> - 2005-03-02 23:00:56
|
Update of /cvsroot/gaim-bnetg/gaim-bnetg/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25183/src Modified Files: buddy.c msgs.c Log Message: Just make sure buddy aren't added twice. Index: msgs.c =================================================================== RCS file: /cvsroot/gaim-bnetg/gaim-bnetg/src/msgs.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** msgs.c 23 Feb 2005 01:02:56 -0000 1.8 --- msgs.c 2 Mar 2005 23:00:46 -0000 1.9 *************** *** 60,80 **** } - static void - bnetg_hash_check_buddy(gpointer key, gpointer value, gpointer user_data) { - BNetGConn *conn = BNETG_CONN(user_data); - BNetGBuddy *buddy = BNETG_BUDDY(value); - - if (buddy->fl_position == -1) { - /* Consider server list authoritative... if buddy was added by - * local list and don't exist on server, then delete it - */ - GaimBuddy *gb = gaim_find_buddy(conn->account, buddy->name); - g_return_if_fail(gb); - - gaim_blist_remove_buddy(gb); - bnetg_buddies_remove(conn->buddies, buddy); - } - } - /****************************************************************************** * Messages Callbacks --- 60,63 ---- *************** *** 388,393 **** serv_got_update(gc, nick, location != 0, 0, 0, 0, 0); } - - g_hash_table_foreach(conn->buddies, bnetg_hash_check_buddy, conn); } --- 371,374 ---- Index: buddy.c =================================================================== RCS file: /cvsroot/gaim-bnetg/gaim-bnetg/src/buddy.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** buddy.c 2 Mar 2005 21:26:27 -0000 1.5 --- buddy.c 2 Mar 2005 23:00:45 -0000 1.6 *************** *** 165,182 **** bnetg_buddy_add(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group) { BNetGConn *conn = BNETG_CONN(gc->proto_data); ! const gchar *norm; gaim_debug_info("bnetg", "bnetg_buddy_add\n"); ! norm = gaim_normalize(gc->account, buddy->name); ! if (!g_hash_table_lookup(conn->buddies, norm)) { ! if (conn->welcome) { ! /* Manually added */ ! bnetg_conn_add_friend(conn, buddy->name); ! } ! } else { ! /* Buddy already exists, remove it */ gaim_blist_remove_buddy(buddy); } } --- 165,190 ---- bnetg_buddy_add(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group) { BNetGConn *conn = BNETG_CONN(gc->proto_data); ! GSList *buddies; ! const gchar *name = buddy->name; ! guint len; gaim_debug_info("bnetg", "bnetg_buddy_add\n"); ! buddies = gaim_find_buddies(conn->account, name); ! g_return_if_fail((len = g_slist_length(buddies)) > 0); ! if (len > 1) { ! /* Buddy already exists (local), remove it */ gaim_blist_remove_buddy(buddy); + } else { + if (!bnetg_buddy_lookup(conn, name)) { + if (conn->welcome) { + /* Manually added */ + bnetg_conn_add_friend(conn, name); + } + } else { + /* Buddy already exists (remote), remove it */ + gaim_blist_remove_buddy(buddy); + } } } |