From e7b1d17438e1ac8918680ce3b08daaf1aa4d3c33 Mon Sep 17 00:00:00 2001 From: Antti Ajanki Date: Sun, 29 Jan 2012 15:04:37 +0200 Subject: Bump version and copyright year --- src/libwebvi/libwebvi.c | 2 +- src/libwebvi/libwebvi.h | 2 +- src/libwebvi/webvi/api.py | 2 +- src/libwebvi/webvi/asyncurl.py | 2 +- src/libwebvi/webvi/constants.py | 2 +- src/libwebvi/webvi/download.py | 2 +- src/libwebvi/webvi/json2xml.py | 26 ++++++++++++++++++++++++++ src/libwebvi/webvi/request.py | 2 +- src/libwebvi/webvi/utils.py | 2 +- src/libwebvi/webvi/version.py | 4 ++-- 10 files changed, 36 insertions(+), 10 deletions(-) (limited to 'src/libwebvi') diff --git a/src/libwebvi/libwebvi.c b/src/libwebvi/libwebvi.c index 0f1c129..8c64534 100644 --- a/src/libwebvi/libwebvi.c +++ b/src/libwebvi/libwebvi.c @@ -1,7 +1,7 @@ /* * libwebvi.c: C bindings for webvi Python module * - * Copyright (c) 2010, 2011 Antti Ajanki + * Copyright (c) 2010-2012 Antti Ajanki * * 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 --git a/src/libwebvi/libwebvi.h b/src/libwebvi/libwebvi.h index e80ce43..f8bd818 100644 --- a/src/libwebvi/libwebvi.h +++ b/src/libwebvi/libwebvi.h @@ -1,7 +1,7 @@ /* * libwebvi.h: C bindings for webvi Python module * - * Copyright (c) 2010, 2011 Antti Ajanki + * Copyright (c) 2010-2012 Antti Ajanki * * 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 --git a/src/libwebvi/webvi/api.py b/src/libwebvi/webvi/api.py index 6dfa31e..9883349 100644 --- a/src/libwebvi/webvi/api.py +++ b/src/libwebvi/webvi/api.py @@ -1,6 +1,6 @@ # api.py - webvi API # -# Copyright (c) 2009-2011 Antti Ajanki +# Copyright (c) 2009-2012 Antti Ajanki # # 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 --git a/src/libwebvi/webvi/asyncurl.py b/src/libwebvi/webvi/asyncurl.py index 6b17893..36df9a5 100644 --- a/src/libwebvi/webvi/asyncurl.py +++ b/src/libwebvi/webvi/asyncurl.py @@ -1,6 +1,6 @@ # asyncurl.py - Wrapper class for using pycurl objects in asyncore # -# Copyright (c) 2009-2011 Antti Ajanki +# Copyright (c) 2009-2012 Antti Ajanki # # 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 --git a/src/libwebvi/webvi/constants.py b/src/libwebvi/webvi/constants.py index 16e1f92..aba11d6 100644 --- a/src/libwebvi/webvi/constants.py +++ b/src/libwebvi/webvi/constants.py @@ -1,6 +1,6 @@ # constants.py - Python definitions for constants in libwebvi.h # -# Copyright (c) 2009-2011 Antti Ajanki +# Copyright (c) 2009-2012 Antti Ajanki # # 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 --git a/src/libwebvi/webvi/download.py b/src/libwebvi/webvi/download.py index e004f80..2b5b5d8 100644 --- a/src/libwebvi/webvi/download.py +++ b/src/libwebvi/webvi/download.py @@ -1,6 +1,6 @@ # download.py - webvi downloader backend # -# Copyright (c) 2009-2011 Antti Ajanki +# Copyright (c) 2009-2012 Antti Ajanki # # 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 --git a/src/libwebvi/webvi/json2xml.py b/src/libwebvi/webvi/json2xml.py index d7c4acd..aa8226d 100644 --- a/src/libwebvi/webvi/json2xml.py +++ b/src/libwebvi/webvi/json2xml.py @@ -1,3 +1,29 @@ +# json2xml.py - Convert JSON into XML +# +# Copyright (c) 2009-2012 Antti Ajanki +# +# 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 3 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, see . + +"""Convert a JSON-serialized object into XML. + +JSON strings and numbers are converted into nodes. + +JSON array [...] is converted into
  • ...
  • + +JSON object {"key": "bar"} is converted into bar +""" + import sys import libxml2 diff --git a/src/libwebvi/webvi/request.py b/src/libwebvi/webvi/request.py index 7d2a32d..246bcaa 100644 --- a/src/libwebvi/webvi/request.py +++ b/src/libwebvi/webvi/request.py @@ -1,6 +1,6 @@ # request.py - webvi request class # -# Copyright (c) 2009-2011 Antti Ajanki +# Copyright (c) 2009-2012 Antti Ajanki # # 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 --git a/src/libwebvi/webvi/utils.py b/src/libwebvi/webvi/utils.py index 0fddf17..05c6896 100644 --- a/src/libwebvi/webvi/utils.py +++ b/src/libwebvi/webvi/utils.py @@ -1,6 +1,6 @@ # utils.py - misc. utility functions # -# Copyright (c) 2009-2011 Antti Ajanki +# Copyright (c) 2009-2012 Antti Ajanki # # 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 --git a/src/libwebvi/webvi/version.py b/src/libwebvi/webvi/version.py index e312780..359b074 100644 --- a/src/libwebvi/webvi/version.py +++ b/src/libwebvi/webvi/version.py @@ -1,6 +1,6 @@ # version.py - webvi version # -# Copyright (c) 2009-2011 Antti Ajanki +# Copyright (c) 2009-2012 Antti Ajanki # # 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 @@ -15,4 +15,4 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -VERSION = '0.4.4' +VERSION = '0.4.5' -- cgit v1.2.3