diff --git a/doc/changelog.txt b/doc/changelog.txt index 58d8229d..2749b92a 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -1,4 +1,4 @@ -9.0 "" (released xx.xx.2014) +9.0 "The Wolf of Wall Street" (released 3.3.2014) Features: - checking: Support connection and content check plugins. diff --git a/linkcheck/cache/results.py b/linkcheck/cache/results.py index 84156fc1..e95f6b5d 100644 --- a/linkcheck/cache/results.py +++ b/linkcheck/cache/results.py @@ -48,9 +48,12 @@ class ResultCache(object): return self.cache[key] self.misses += 1 return None - + @synchronized(cache_lock) def add_result(self, key, result): + """Add result object to cache with given key. + The request is ignored when the cache is already full. + """ if len(self.cache) > self.max_size: return self.cache[key] = result diff --git a/linkchecker.freecode b/linkchecker.freecode index b34c5c39..0c542a26 100644 --- a/linkchecker.freecode +++ b/linkchecker.freecode @@ -1,5 +1,5 @@ Project: LinkChecker -Version: 8.6 +Version: 9.0 Hide: N Website-URL: http://wummel.github.io/linkchecker/ Changelog-URL: https://github.com/wummel/linkchecker/blob/master/doc/changelog.txt @@ -8,4 +8,5 @@ Debian-Package-URL: http://packages.debian.org/linkchecker GIT-Tree-URL: https://github.com/wummel/linkchecker.git Windows-installer-URL: http://wummel.github.io/linkchecker/dist/LinkChecker-${version}.exe -This release adds missing logger classes and sends an HTTP Accept header. +This release adds plugin support and uses the Python requests module for +HTTP URLs. Some bugs were also fixed. diff --git a/tests/checker/ftpserver.py b/tests/checker/ftpserver.py index 5e8680fa..eeb09eb9 100644 --- a/tests/checker/ftpserver.py +++ b/tests/checker/ftpserver.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2010-2012 Bastian Kleineidam +# Copyright (C) 2010-2014 Bastian Kleineidam # # 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/tests/test_filenames.py b/tests/test_filenames.py index 77c887fa..1c09a6e2 100644 --- a/tests/test_filenames.py +++ b/tests/test_filenames.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2004-2012 Bastian Kleineidam +# Copyright (C) 2004-2014 Bastian Kleineidam # # 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/tests/test_robotstxt.py b/tests/test_robotstxt.py index 8b528349..799ac5a8 100644 --- a/tests/test_robotstxt.py +++ b/tests/test_robotstxt.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2006-2012 Bastian Kleineidam +# Copyright (C) 2006-2014 Bastian Kleineidam # # 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