# HG changeset patch # User Mikael Berthe # Date 1255268372 -7200 # Node ID dcd5d4c75199fd6836b6ca5e3fa21bca30f9da6f # Parent a087125d8fc849564e10d46f8eef3639fb3dd3e6 Update/Add headers diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/commands.c --- a/mcabber/src/commands.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/commands.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * commands.c -- user commands handling * - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2005-2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -3684,5 +3684,4 @@ scr_print_logwindow(arg); } - /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/compl.c --- a/mcabber/src/compl.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/compl.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * compl.c -- Completion system * - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2005-2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/events.c --- a/mcabber/src/events.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/events.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * events.c -- Events fonctions * - * Copyright (C) 2006-2008 Mikael Berthe + * Copyright (C) 2006-2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/fifo.c --- a/mcabber/src/fifo.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/fifo.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * fifo.c -- Read commands from a named pipe * - * Copyright (C) 2008 Mikael Berthe + * Copyright (C) 2008,2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/hbuf.c --- a/mcabber/src/hbuf.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/hbuf.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * hbuf.c -- History buffer implementation * - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2005-2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/help.c --- a/mcabber/src/help.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/help.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * help.c -- Help command * - * Copyright (C) 2006-2008 Mikael Berthe + * Copyright (C) 2006-2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/histolog.c --- a/mcabber/src/histolog.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/histolog.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * histolog.c -- File history handling * - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2005-2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/hooks.c --- a/mcabber/src/hooks.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/hooks.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * hooks.c -- Hooks layer * - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2005-2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/main.c --- a/mcabber/src/main.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/main.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * main.c * - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2005-2009 Mikael Berthe * Parts of this file come from Cabber * * This program is free software; you can redistribute it and/or modify diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/nohtml.c --- a/mcabber/src/nohtml.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/nohtml.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * nohtml.c -- (X)HTML helper functions * - * Copyright (C) 2008 Mikael Berthe + * Copyright (C) 2008,2009 Mikael Berthe * Some portions come from the jabberd project, see below. * * This program is free software; you can redistribute it and/or modify diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/otr.c --- a/mcabber/src/otr.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/otr.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * otr.c -- Off-The-Record Messaging for mcabber * - * Copyright (C) 2007 Frank Zschockelt + * Copyright (C) 2007-2009 Frank Zschockelt * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -773,4 +773,5 @@ } #endif /* HAVE_LIBOTR */ + /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/pgp.c --- a/mcabber/src/pgp.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/pgp.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * pgp.c -- PGP utility functions * - * Copyright (C) 2006-2008 Mikael Berthe + * Copyright (C) 2006-2009 Mikael Berthe * Some parts inspired by centericq (impgp.cc) * * This program is free software; you can redistribute it and/or modify diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/roster.c --- a/mcabber/src/roster.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/roster.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * roster.c -- Local roster implementation * - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2005-2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/screen.c --- a/mcabber/src/screen.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/screen.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * screen.c -- UI stuff * - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2005-2009 Mikael Berthe * Parts of this file come from the Cabber project * * This program is free software; you can redistribute it and/or modify @@ -164,6 +164,7 @@ void scr_WriteMessage(const char *bjid, const char *text, time_t timestamp, guint prefix_flags, unsigned mucnicklen, gpointer xep184); + inline void scr_UpdateBuddyWindow(void); inline void scr_set_chatmode(int enable); diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/settings.c --- a/mcabber/src/settings.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/settings.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,7 +1,7 @@ /* * settings.c -- Configuration stuff * - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2005-2009 Mikael Berthe * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/utils.c --- a/mcabber/src/utils.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/utils.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,8 +1,8 @@ /* * utils.c -- Various utility functions * - * Copyright (C) 2005-2008 Mikael Berthe - * ut_* functions are derived from Cabber debug/log code. + * Copyright (C) 2005-2009 Mikael Berthe + * Some of the ut_* functions are derived from Cabber debug/log code. * from_iso8601() comes from the Pidgin (libpurple) project. * * This program is free software; you can redistribute it and/or modify diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/xmpp.c --- a/mcabber/src/xmpp.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/xmpp.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,8 +1,8 @@ /* - * xmpp.c -- Jabber protocol handling + * xmpp.c -- Jabber protocol handling * - * Copyright (C) 2008 Frank Zschockelt - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2008-2009 Frank Zschockelt + * Copyright (C) 2005-2009 Mikael Berthe * Parts come from the centericq project: * Copyright (C) 2002-2005 by Konstantin Klyagin * @@ -2152,3 +2152,5 @@ scr_LogPrint(LPRINT_LOGNORM, "Warning: you're not connected to the server."); } + +/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/xmpp.h --- a/mcabber/src/xmpp.h Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/xmpp.h Sun Oct 11 15:39:32 2009 +0200 @@ -77,4 +77,7 @@ void xmpp_request(const char *fjid, enum iqreq_type reqtype); void request_vcard(const char *bjid); void xmpp_request_storage(const gchar *storage); + #endif /* __XMPP_H__ */ + +/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/xmpp_defines.h --- a/mcabber/src/xmpp_defines.h Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/xmpp_defines.h Sun Oct 11 15:39:32 2009 +0200 @@ -75,3 +75,5 @@ #define XMPP_ERROR_DISCONNECTED 510 #endif + +/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/xmpp_helper.c --- a/mcabber/src/xmpp_helper.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/xmpp_helper.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,11 +1,10 @@ /* - * xmpp_helper.c -- Jabber protocol helper functions + * xmpp_helper.c -- Jabber protocol helper functions * - * Copyright (C) 2008 Frank Zschockelt - * Copyright (C) 2005-2008 Mikael Berthe + * Copyright (C) 2008-2009 Frank Zschockelt + * Copyright (C) 2005-2009 Mikael Berthe * Some parts initially came from the centericq project: * Copyright (C) 2002-2005 by Konstantin Klyagin - * Some small parts come from the Pidgin project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -288,3 +287,4 @@ g_free(sdesc); } +/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/xmpp_helper.h --- a/mcabber/src/xmpp_helper.h Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/xmpp_helper.h Sun Oct 11 15:39:32 2009 +0200 @@ -21,3 +21,5 @@ const char *entity_version(void); #endif + +/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/xmpp_iq.c --- a/mcabber/src/xmpp_iq.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/xmpp_iq.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,4 +1,27 @@ -/* See xmpp.c file for copyright and license details. */ +/* + * xmpp_iq.c -- Jabber protocol IQ-related stuff + * + * Copyright (C) 2008-2009 Frank Zschockelt + * Copyright (C) 2005-2009 Mikael Berthe + * Parts come from the centericq project: + * Copyright (C) 2002-2005 by Konstantin Klyagin + * Some small parts come from the Pidgin project + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ static LmHandlerResult handle_iq_command_set_status(LmMessageHandler *h, LmConnection *c, @@ -818,3 +841,5 @@ g_free(buf); return LM_HANDLER_RESULT_REMOVE_MESSAGE; } + +/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/xmpp_iqrequest.c --- a/mcabber/src/xmpp_iqrequest.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/xmpp_iqrequest.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,4 +1,24 @@ -/* See xmpp.c file for copyright and license details. */ +/* + * xmpp_iqrequest.c -- Jabber IQ request handling + * + * Copyright (C) 2008-2009 Frank Zschockelt + * Copyright (C) 2005-2009 Mikael Berthe + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ static LmHandlerResult cb_roster(LmMessageHandler *h, LmConnection *c, LmMessage *m, gpointer user_data); @@ -598,3 +618,5 @@ lm_message_handler_unref(handler); lm_message_unref(iq); } + +/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/xmpp_muc.c --- a/mcabber/src/xmpp_muc.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/xmpp_muc.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,4 +1,24 @@ -/* See xmpp.c file for copyright and license details. */ +/* + * xmpp_muc.c -- Jabber MUC protocol handling + * + * Copyright (C) 2008-2009 Frank Zschockelt + * Copyright (C) 2005-2009 Mikael Berthe + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ static void decline_invitation(event_muc_invitation *invitation, char *reason) { @@ -676,3 +696,4 @@ // declined invitation } +/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ diff -r a087125d8fc8 -r dcd5d4c75199 mcabber/src/xmpp_s10n.c --- a/mcabber/src/xmpp_s10n.c Sun Oct 11 15:38:32 2009 +0200 +++ b/mcabber/src/xmpp_s10n.c Sun Oct 11 15:39:32 2009 +0200 @@ -1,4 +1,24 @@ -/* See xmpp.c file for copyright and license details. */ +/* + * xmpp_s10n.c -- Jabber presence subscription handling + * + * Copyright (C) 2008-2009 Frank Zschockelt + * Copyright (C) 2005-2009 Mikael Berthe + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ // xmpp_send_s10n(jid, subtype) // Send a s10n message with the passed subtype @@ -61,3 +81,4 @@ return 0; } +/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */