Changeset

1522:569d58d21612

Add copyright header to those files missing one
author Matthew Wild <mwild1@gmail.com>
date Fri, 10 Jul 2009 03:08:38 +0100
parents 1521:cee81a5ae949
children 1523:841d61be198f
files core/actions.lua core/eventmanager.lua core/hostmanager.lua core/loggingmanager.lua core/objectmanager.lua fallbacks/bit.lua net/adns.lua net/http.lua net/httpclient_listener.lua net/httpserver.lua net/httpserver_listener.lua net/server.lua plugins/mod_actions_http.lua plugins/mod_announce.lua plugins/mod_bosh.lua plugins/mod_groups.lua plugins/mod_httpserver.lua plugins/mod_iq.lua plugins/mod_message.lua plugins/mod_muc.lua plugins/mod_offline.lua plugins/mod_pep.lua plugins/mod_posix.lua plugins/mod_privacy.lua plugins/mod_watchregistrations.lua tests/test_util_stanza.lua tests/util/logger.lua util/array.lua util/dataforms.lua util/events.lua util/hmac.lua util/iterators.lua util/pluginloader.lua util/prosodyctl.lua util/pubsub.lua util/set.lua
diffstat 36 files changed, 288 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/actions.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/core/actions.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local actions = {};
 
--- a/core/eventmanager.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/core/eventmanager.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local t_insert = table.insert;
 local ipairs = ipairs;
--- a/core/hostmanager.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/core/hostmanager.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local hosts = hosts;
 local configmanager = require "core.configmanager";
--- a/core/loggingmanager.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/core/loggingmanager.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local format, rep = string.format, string.rep;
 local pcall = pcall;
--- a/core/objectmanager.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/core/objectmanager.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local new_multitable = require "util.multitable".new;
 local t_insert = table.insert;
--- a/fallbacks/bit.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/fallbacks/bit.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local type = type;
 local tonumber = tonumber;
--- a/net/adns.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/net/adns.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local server = require "net.server";
 local dns = require "net.dns";
 
--- a/net/http.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/net/http.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local socket = require "socket"
 local mime = require "mime"
--- a/net/httpclient_listener.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/net/httpclient_listener.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local log = require "util.logger".init("httpclient_listener");
 
 local connlisteners_register = require "net.connlisteners".register;
--- a/net/httpserver.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/net/httpserver.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local socket = require "socket"
 local server = require "net.server"
--- a/net/httpserver_listener.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/net/httpserver_listener.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 
 local connlisteners_register = require "net.connlisteners".register;
--- a/net/server.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/net/server.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 --[[
 
         server.lua by blastbeat
--- a/plugins/mod_actions_http.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_actions_http.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local httpserver = require "net.httpserver";
 local t_concat, t_insert = table.concat, table.insert;
--- a/plugins/mod_announce.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_announce.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local st, jid, set = require "util.stanza", require "util.jid", require "util.set";
 
 local is_admin = require "core.usermanager".is_admin;
--- a/plugins/mod_bosh.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_bosh.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 module.host = "*" -- Global module
 
--- a/plugins/mod_groups.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_groups.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local groups = { default = {} };
 local members = { [false] = {} };
--- a/plugins/mod_httpserver.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_httpserver.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local httpserver = require "net.httpserver";
 
--- a/plugins/mod_iq.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_iq.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local st = require "util.stanza";
 local jid_split = require "util.jid".split;
--- a/plugins/mod_message.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_message.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local full_sessions = full_sessions;
 local bare_sessions = bare_sessions;
--- a/plugins/mod_muc.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_muc.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 if module:get_host_type() ~= "component" then
 	error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0);
--- a/plugins/mod_offline.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_offline.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local datamanager = require "util.datamanager";
 local st = require "util.stanza";
--- a/plugins/mod_pep.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_pep.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local jid_bare = require "util.jid".bare;
 local jid_split = require "util.jid".split;
--- a/plugins/mod_posix.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_posix.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local want_pposix_version = "0.3.0";
 
--- a/plugins/mod_privacy.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_privacy.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local st = require "util.stanza";
 local datamanager = require "util.datamanager";
--- a/plugins/mod_watchregistrations.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_watchregistrations.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local host = module:get_host();
 
--- a/tests/test_util_stanza.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/tests/test_util_stanza.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 function preserialize(preserialize, st)
 	local stanza = st.stanza("message", { a = "a" });
--- a/tests/util/logger.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/tests/util/logger.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local format = string.format;
 local print = print;
 local debug = debug;
--- a/util/array.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/util/array.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local array = {};
 
 local array_mt = { __index = array, __tostring = function (array) return array:concat(", "); end };
--- a/util/dataforms.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/util/dataforms.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local setmetatable = setmetatable;
 local pairs, ipairs = pairs, ipairs;
 local tostring, type = tostring, type;
--- a/util/events.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/util/events.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local ipairs = ipairs;
 local pairs = pairs;
--- a/util/hmac.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/util/hmac.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local hashes = require "util.hashes"
 local xor = require "bit".bxor
 
--- a/util/iterators.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/util/iterators.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 --[[ Iterators ]]--
 
 -- Reverse an iterator
--- a/util/pluginloader.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/util/pluginloader.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local plugin_dir = CFG_PLUGINDIR or "./plugins/";
 
--- a/util/prosodyctl.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/util/prosodyctl.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local config = require "core.configmanager";
 local encodings = require "util.encodings";
--- a/util/pubsub.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/util/pubsub.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 
 local ipairs, pairs, setmetatable, type = 
         ipairs, pairs, setmetatable, type;
--- a/util/set.lua	Fri Jul 10 02:50:57 2009 +0100
+++ b/util/set.lua	Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
 local ipairs, pairs, setmetatable, next, tostring = 
       ipairs, pairs, setmetatable, next, tostring;
 local t_concat = table.concat;