From: Eric W. <war...@us...> - 2001-12-08 09:48:56
|
Update of /cvsroot/gaim/gaim/src/protocols/oscar In directory usw-pr-cvs1:/tmp/cvs-serv19507/src/protocols/oscar Modified Files: oscar.c Log Message: rewrote the html parser in gtkimhtml. yes, that's really all i did. the reason for the massive change is because i added a length argument, which then needed to be propogated down to everything that would ever receive anything that would get drawn to the window. the new parser isn't any faster. that wasn't my goal. it's much more understandable now (hopefully, anyway). Index: oscar.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/oscar/oscar.c,v retrieving revision 1.80 retrieving revision 1.81 diff -u -d -r1.80 -r1.81 --- oscar.c 2001/12/02 10:08:09 1.80 +++ oscar.c 2001/12/08 09:48:52 1.81 @@ -304,7 +304,7 @@ g_snprintf(buf, sizeof buf, _("Direct IM with %s closed"), sn); if ((cnv = find_conversation(sn))) - write_to_conv(cnv, buf, WFLAG_SYSTEM, NULL, time((time_t)NULL)); + write_to_conv(cnv, buf, WFLAG_SYSTEM, NULL, time(NULL), -1); g_free(dim); /* I guess? I don't see it anywhere else... -- mid */ g_free(sn); @@ -1202,7 +1202,7 @@ if (!(cnv = find_conversation(dim->name))) cnv = new_conversation(dim->name); g_snprintf(buf, sizeof buf, _("Direct IM with %s established"), dim->name); - write_to_conv(cnv, buf, WFLAG_SYSTEM, NULL, time((time_t)NULL)); + write_to_conv(cnv, buf, WFLAG_SYSTEM, NULL, time(NULL), -1); od->direct_ims = g_slist_append(od->direct_ims, dim); @@ -1342,7 +1342,7 @@ g_snprintf(tmp, BUF_LONG, "%s", args->msg); strip_linefeed(tmp); - serv_got_im(gc, userinfo->sn, tmp, flags, time(NULL)); + serv_got_im(gc, userinfo->sn, tmp, flags, time(NULL), -1); g_free(tmp); return 1; @@ -2070,7 +2070,7 @@ time_t t = get_time(msg->year, msg->month, msg->day, msg->hour, msg->minute, 0); g_snprintf(sender, sizeof(sender), "%lu", msg->sender); strip_linefeed(tmp); - serv_got_im(gc, sender, tmp, 0, t); + serv_got_im(gc, sender, tmp, 0, t, -1); g_free(tmp); } else { debug_printf("unknown offline message type 0x%04x\n", msg->type); @@ -2640,7 +2640,7 @@ oscar_callback, dim->conn); g_snprintf(buf, sizeof buf, _("Direct IM with %s established"), sn); g_free(sn); - write_to_conv(cnv, buf, WFLAG_SYSTEM, NULL, time((time_t)NULL)); + write_to_conv(cnv, buf, WFLAG_SYSTEM, NULL, time(NULL), -1); aim_conn_addhandler(sess, newconn, AIM_CB_FAM_OFT, AIM_CB_OFT_DIRECTIMINCOMING, gaim_directim_incoming, 0); @@ -2662,7 +2662,7 @@ debug_printf("Got DirectIM message from %s\n", sn); - serv_got_im(gc, sn, msg, 0, time((time_t)NULL)); + serv_got_im(gc, sn, msg, 0, time(NULL), -1); return 1; } |