Revision history for CGI-Lingua
0.34
Added dont_use_ip option
Use IO::Lambda style system to only run tests that require connection
to the Internet when requested
0.33 Wed Apr 25 20:58:47 BST 2012
Remove CR and LF from country codes in Whois
0.32 Thu Apr 19 12:00:56 BST 2012
More improvement to the parsing of HTTP_USER_AGENT
0.31 Wed Apr 18 16:47:20 BST 2012
Improved parsing of HTTP_USER_AGENT to find local information
0.30 Tue Nov 15 19:41:35 EST 2011
Fixed spelling mistakes in the documentation
Handle whois records containing \r, e.g. 190.24.1.122
0.29 Fri Oct 21 17:27:15 EDT 2011
Improved caching
0.28 Thu Oct 6 13:44:20 EDT 2011
Improved handling of connection failure to whois.arin.net
Fix the argument to syslog
Try to avoid the Carp call within Locale::Object::Country
0.27 Mon Sep 19 15:07:58 EDT 2011
Improved handling
Added syslog argument to new
0.26 Fri Sep 9 11:13:02 EDT 2011
Added some tests and clarified the locale() documentation
Added subcountry_code_alpha2()
0.25 Tue Sep 6 13:08:06 EDT 2011
Only call HTTP::BrowserDetect if we're in a CGI environment
0.24 Sun Sep 4 08:53:50 EDT 2011
locale now falls back to HTTP::BrowserDetect if it's present
0.23 Fri Aug 26 13:19:51 EDT 2011
Added t/critic.t
Correct documentation about what class is returned by locale()
0.22 Wed Aug 10 13:46:42 EDT 2011
Fixed unitialised variable in some circumstances when checking language
0.21 Wed Jul 20 13:39:57 EDT 2011
Added locale method
Had another go at returning sensible values if a requested
sublanguage can't be honoured
Added test for RT69509
0.20 Fixed some 'Can't call method "name" on an undefined value' when the
browser suggests more than one language and a requested
sublanguage isn't available
0.19 More sensible choice of real world language requirements, for example
a browser requesting US English on a site that only delivers
British English will now see the site, AND the site author
will be able to trace with variables what's happened if he or
she wants to correctly support more variants
Added some extra tests
Corrected the cross reference to ISO639.
0.18 Wed Jun 29 11:23:18 EDT 2011
Fix test for Norwegian - the IP I was using no longer works
Added pod-cm.t and kwalitee.t
0.17 Mon Jun 20 10:24:00 EDT 2011
Added test for empty HTTP_ACCEPT_LANGUAGE with IP given
Prefer Net::Whois::IP over Net::Whois::IANA
Fix search where IP address gives lanauge such as Norwegian (Nynorsk),
in which case we now search for Norwegian
0.16 Sat May 28 16:38:58 EDT 2011
Give an example of the use of the country method
Better unique names for the cache keys to avoid clashes
Handle unrecognised requested language
0.15 Mon Feb 21 19:14:45 EST 2011
Added country()
0.14 Mon Jan 10 20:02:41 EST 2011
Sometimes language would return 'undefined'
0.13 Wed Jan 5 09:42:05 GMT 2011
Attempt to fix http://www.cpantesters.org/cpan/report/eae7b808-172d-11e0-a672-41e7f2486b6f, though I can't reproduce it
0.12 Mon Jan 3 11:27:25 GMT 2011
Added name() and code_alpha2()
0.11 Tue Dec 14 21:31:54 EST 2010
Added the cache option to new. This should speed up Whois lookups
Inadvertantly said that the Perl licence is used, in fact it's GPL
0.10 Sat Dec 11 09:59:10 EST 2010
Tried to catch some places where language is set to undef. I can't
reproduce it so I can't be sure I've fixed it and I can't
write a test
Added dependency on Locale::Language
0.09 Sat Dec 4 11:43:12 EST 2010
Fix spelling mistake
Handle Whois thinking Hong Kong is a country
0.08 Wed Dec 1 13:31:04 EST 2010
Handle some cases where the language can't be determined from the IP
address
0.07 Thu Nov 25 10:01:09 EST 2010
Another attempt to use Net::Whois::IP when Net::Whois::IANA fails
Improved testing
0.06 Tue Nov 23 21:07:48 EST 2010
Fix test on Windows
If Net::Whois::IANA fails, try Net::Whois::IP
0.05 Thu Nov 18 19:19:00 EST 2010
Fix test which could fail if you have $LANG set
0.04 Wed Nov 17 09:55:49 EST 2010
Cope with I18N::LangTags::Detect failing to detect anything
0.03 Tue Nov 16 10:40:54 EST 2010
Tidied the documentation
Tests that CGI::Lingua->requested_language is not undefined
Fixed the MANIFEST file (RELEASE_TESTING=1 make test)
0.02 Mon Nov 15 08:11:04 EST 2010
Added dependencies
0.01 Sun Nov 14 19:01:15 EST 2010
First draft