changeset 1599:dcd5d4c75199

Update/Add headers
author Mikael Berthe <mikael@lilotux.net>
date Sun, 11 Oct 2009 15:39:32 +0200
parents a087125d8fc8
children c5ee395fbc8c
files mcabber/src/commands.c mcabber/src/compl.c mcabber/src/events.c mcabber/src/fifo.c mcabber/src/hbuf.c mcabber/src/help.c mcabber/src/histolog.c mcabber/src/hooks.c mcabber/src/main.c mcabber/src/nohtml.c mcabber/src/otr.c mcabber/src/pgp.c mcabber/src/roster.c mcabber/src/screen.c mcabber/src/settings.c mcabber/src/utils.c mcabber/src/xmpp.c mcabber/src/xmpp.h mcabber/src/xmpp_defines.h mcabber/src/xmpp_helper.c mcabber/src/xmpp_helper.h mcabber/src/xmpp_iq.c mcabber/src/xmpp_iqrequest.c mcabber/src/xmpp_muc.c mcabber/src/xmpp_s10n.c
diffstat 25 files changed, 128 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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... */
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2006-2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2008,2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2006-2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  * Parts of this file come from Cabber <cabber@ajmacias.com>
  *
  * This program is free software; you can redistribute it and/or modify
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2008,2009 Mikael Berthe <mikael@lilotux.net>
  * Some portions come from the jabberd project, see below.
  *
  * This program is free software; you can redistribute it and/or modify
--- 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 <mcabber_otr@freakysoft.de>
+ * Copyright (C) 2007-2009 Frank Zschockelt <mcabber_otr@freakysoft.de>
  *
  * 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... */
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2006-2009 Mikael Berthe <mikael@lilotux.net>
  * Some parts inspired by centericq (impgp.cc)
  *
  * This program is free software; you can redistribute it and/or modify
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  * Parts of this file come from the Cabber project <cabber@ajmacias.com>
  *
  * 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);
 
--- 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 <mikael@lilotux.net>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  *
  * 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
--- 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 <mikael@lilotux.net>
- * ut_* functions are derived from Cabber debug/log code.
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
+ * 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
--- 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 <mcabber@freakysoft.de>
- * Copyright (C) 2005-2008 Mikael Berthe <mikael@lilotux.net>
+ * Copyright (C) 2008-2009 Frank Zschockelt <mcabber@freakysoft.de>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  * Parts come from the centericq project:
  * Copyright (C) 2002-2005 by Konstantin Klyagin <konst@konst.org.ua>
  *
@@ -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... */
--- 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... */
--- 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... */
--- 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 <mcabber@freakysoft.de>
- * Copyright (C) 2005-2008 Mikael Berthe <mikael@lilotux.net>
+ * Copyright (C) 2008-2009 Frank Zschockelt <mcabber@freakysoft.de>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
  * Some parts initially came from the centericq project:
  * Copyright (C) 2002-2005 by Konstantin Klyagin <konst@konst.org.ua>
- * Some small parts come from the Pidgin project <http://pidgin.im/>
  *
  * 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... */
--- 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... */
--- 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 <mcabber@freakysoft.de>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
+ * Parts come from the centericq project:
+ * Copyright (C) 2002-2005 by Konstantin Klyagin <konst@konst.org.ua>
+ * Some small parts come from the Pidgin project <http://pidgin.im/>
+ *
+ * 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... */
--- 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 <mcabber@freakysoft.de>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
+ *
+ * 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... */
--- 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 <mcabber@freakysoft.de>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
+ *
+ * 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... */
--- 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 <mcabber@freakysoft.de>
+ * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
+ *
+ * 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... */