[libhttp-browserdetect-perl] 01/06: Imported Upstream version 1.55

Angel Abad angel at alioth.debian.org
Mon Aug 12 08:19:50 UTC 2013


This is an automated email from the git hooks/post-receive script.

angel pushed a commit to branch master
in repository libhttp-browserdetect-perl.

commit 250c4b5ae7d51b3791a1324c12387bb7528aa34b
Author: Angel Abad <angelabad at gmail.com>
Date:   Mon Aug 12 10:10:31 2013 +0200

    Imported Upstream version 1.55
---
 Build.PL                  |    3 +-
 CONTRIBUTORS              |    2 +-
 Changes                   |   15 ++++
 MANIFEST                  |    1 +
 META.json                 |   12 ++-
 Makefile.PL               |    3 +-
 README                    |    7 +-
 dist.ini                  |    7 +-
 lib/HTTP/BrowserDetect.pm |  102 ++++++++++++---------
 t/release-cpan-changes.t  |   19 ++++
 t/useragents.json         |  218 +++++++++++++++++++++++++++++++++++++++------
 11 files changed, 309 insertions(+), 80 deletions(-)

diff --git a/Build.PL b/Build.PL
index 47d3156..4f45303 100644
--- a/Build.PL
+++ b/Build.PL
@@ -20,13 +20,12 @@ my %module_build_args = (
     "Olaf Alders <olaf\@wundercounter.com> (current maintainer)"
   ],
   "dist_name" => "HTTP-BrowserDetect",
-  "dist_version" => "1.52",
+  "dist_version" => "1.55",
   "license" => "perl",
   "module_name" => "HTTP::BrowserDetect",
   "recommends" => {},
   "recursive_test_files" => 1,
   "requires" => {
-    "Exporter" => 0,
     "strict" => 0,
     "vars" => 0,
     "warnings" => 0
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 68bded3..e2f1b59 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -15,7 +15,7 @@ thank to all of them.
 	* Olaf Alders <olaf at wundersolutions.com>
 	* Olivier Bilodeau <olivier at bottomlesspit.org>
 	* Paul Findlay <paul at findlay.net.nz>
-	* Robin Smidsrød <robin at smidsrod.no>
+	* Robin Smidsr�d <robin at smidsrod.no>
 	* Ronald J Kimball <rkimball at pangeamedia.com>
 	* Surikov Alexey <surikov at alexey-pc.kiteventures.local>
 	* Thom Blake <thom at odonnellpdc.com>
diff --git a/Changes b/Changes
index 1ed06e0..51e71dd 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,20 @@
 Revision history for Perl extension HTTP::BrowserDetect.
 
+1.55 2013-07-22 23:06:40 America/Toronto
+    - Add all current Google robot user agents (Douglas Christopher Wilson)
+
+1.54 2013-07-21
+    - Fix generic version parsing not to cross whitespace (Douglas Christopher
+      Wilson)
+    - Compare Safari build numbers by parts instead of floats (Douglas
+      Christopher Wilson)
+    - Removes Exporter
+
+1.53 2013-07-19
+    - Detect IE on ARM as tablet (Douglas Christopher Wilson)
+    - Add BlackBerry PlayBook detection (Douglas Christopher Wilson)
+    - Split version parsing into two expressions (Douglas Christopher Wilson)
+
 1.52 2013-05-03
     - Fixes warning when MSIE does not have a minor version
     - Simplifies MSIE version regex logic
diff --git a/MANIFEST b/MANIFEST
index c8cbf80..9cd0bcd 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -13,4 +13,5 @@ lib/HTTP/BrowserDetect.pm
 t/01-detect.t
 t/03-language.t
 t/author-critic.t
+t/release-cpan-changes.t
 t/useragents.json
diff --git a/META.json b/META.json
index 3c384e8..220bca1 100644
--- a/META.json
+++ b/META.json
@@ -6,7 +6,7 @@
       "Olaf Alders <olaf at wundercounter.com> (current maintainer)"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 4.300033, CPAN::Meta::Converter version 2.120921",
+   "generated_by" : "Dist::Zilla version 4.300035, CPAN::Meta::Converter version 2.120921",
    "license" : [
       "perl_5"
    ],
@@ -27,9 +27,13 @@
             "Module::Build" : "0.3601"
          }
       },
+      "develop" : {
+         "requires" : {
+            "Test::CPAN::Changes" : "0.19"
+         }
+      },
       "runtime" : {
          "requires" : {
-            "Exporter" : "0",
             "strict" : "0",
             "vars" : "0",
             "warnings" : "0"
@@ -59,7 +63,7 @@
          "web" : "https://github.com/oalders/http-browserdetect"
       }
    },
-   "version" : "1.52",
+   "version" : "1.55",
    "x_contributors" : [
       "Aran Deltac <bluefeet at gmail.com>",
       "Douglas Christopher Wilson <doug at somethingdoug.com>",
@@ -70,7 +74,7 @@
       "Olaf Alders <olaf at wundersolutions.com>",
       "Olivier Bilodeau <olivier at bottomlesspit.org>",
       "Paul Findlay <paul at findlay.net.nz>",
-      "Robin Smidsr\u00c3\u00b8d <robin at smidsrod.no>",
+      "Robin Smidsr\u00f8d <robin at smidsrod.no>",
       "Ronald J Kimball <rkimball at pangeamedia.com>",
       "Surikov Alexey <surikov at alexey-pc.kiteventures.local>",
       "Thom Blake <thom at odonnellpdc.com>",
diff --git a/Makefile.PL b/Makefile.PL
index 07cec01..e5a0d70 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -23,7 +23,6 @@ my %WriteMakefileArgs = (
   "LICENSE" => "perl",
   "NAME" => "HTTP::BrowserDetect",
   "PREREQ_PM" => {
-    "Exporter" => 0,
     "strict" => 0,
     "vars" => 0,
     "warnings" => 0
@@ -37,7 +36,7 @@ my %WriteMakefileArgs = (
     "Test::Most" => 0,
     "Test::NoWarnings" => 0
   },
-  "VERSION" => "1.52",
+  "VERSION" => "1.55",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff --git a/README b/README
index b471882..d00809c 100644
--- a/README
+++ b/README
@@ -3,7 +3,7 @@ NAME
     an HTTP user agent string
 
 VERSION
-    version 1.52
+    version 1.55
 
 SYNOPSIS
         use HTTP::BrowserDetect;
@@ -197,6 +197,7 @@ Detecting OS Platform and Version
     mac68k macppc macosx ios
 
   os2()
+  rimtabletos()
   unix()
       sun sun4 sun5 suni86 irix irix5 irix6 hpux hpux9 hpux10
       aix aix1 aix2 aix3 aix4 linux sco unixware mpras reliant
@@ -216,7 +217,8 @@ Detecting OS Platform and Version
 
       Win95, Win98, WinNT, Win2K, WinXP, Win2k3, WinVista, Win7, Win8,
       Windows Phone, Mac, Mac OS X, iOS, Win3x, OS2, Unix, Linux,
-      Firefox OS, Playstation 3 GameOS, Playstation Portable GameOS
+      Firefox OS, Playstation 3 GameOS, Playstation Portable GameOS,
+      RIM Tablet OS
 
 Detecting Browser Vendor
     The following methods are available, each returning a true or false
@@ -314,6 +316,7 @@ Detecting Other Devices
    getright
    google
    googleadsbot
+   googleadsense
    googlemobile
    infoseek
    linkexchange
diff --git a/dist.ini b/dist.ini
index 7227985..70ebda3 100644
--- a/dist.ini
+++ b/dist.ini
@@ -5,7 +5,7 @@ author  = Olaf Alders <olaf at wundercounter.com> (current maintainer)
 license = Perl_5
 copyright_holder = Lee Semel
 copyright_year   = 2013
-version = 1.52
+version = 1.55
 main_module = lib/HTTP/BrowserDetect.pm
 
 [GatherDir]
@@ -34,11 +34,16 @@ homepage = https://metacpan.org/release/HTTP-BrowserDetect
 [AutoPrereqs]
 
 [Test::Perl::Critic]
+[Test::CPAN::Changes]
 [ReadmeFromPod]
 [InstallGuide]
 [ModuleBuild]
 [PodWeaver]
 [CopyReadmeFromBuild]
+[NextRelease]
+format =  %-1v %{yyyy-MM-dd HH:mm:ss VVVV}d
 
 [ContributorsFromGit]
 [ContributorsFile]
+
+[@Git]
diff --git a/lib/HTTP/BrowserDetect.pm b/lib/HTTP/BrowserDetect.pm
index bc5efe4..4529132 100755
--- a/lib/HTTP/BrowserDetect.pm
+++ b/lib/HTTP/BrowserDetect.pm
@@ -3,21 +3,17 @@ use warnings;
 
 package HTTP::BrowserDetect;
 {
-  $HTTP::BrowserDetect::VERSION = '1.52';
+  $HTTP::BrowserDetect::VERSION = '1.55';
 }
 
-use vars qw(@ISA @EXPORT @EXPORT_OK @ALL_TESTS);
-require Exporter;
-
- at ISA       = qw(Exporter);
- at EXPORT    = qw();
- at EXPORT_OK = qw();
+use vars qw(@ALL_TESTS);
 
 # Operating Systems
 our @OS_TESTS = qw(
     windows mac   os2
     unix    linux vms
     bsd     amiga firefoxos
+    rimtabletos
 );
 
 # More precise Windows
@@ -130,7 +126,7 @@ our @ROBOT_TESTS = qw(
     lotusnotes   icab        google
     googlemobile msn         msnmobile
     facebook     baidu       googleadsbot
-    askjeeves
+    askjeeves    googleadsense
 );
 
 our @MISC_TESTS = qw(
@@ -244,7 +240,7 @@ sub _test {
             \S+                     # Greedly catch anything leading up to forward slash.
             \/                      # Version starts with a slash
             [A-Za-z]*               # Eat any letters before the major version
-            ( [^.]* )               # Major version number is everything before the first dot
+            ( [0-9A-Za-z]* )        # Major version number is everything before the first dot
             \.                      # The first dot
             ( [\d]* )               # Minor version number is every digit after the first dot
             [\d.]*                  # Throw away remaining numbers and dots
@@ -269,21 +265,14 @@ sub _test {
 
     }
 
-    # IE (and many others ) version
-    if ($ua =~ m{
-                compatible;
-                \s*
-                \w*
-                [\s|\/]
-                [A-Za-z\-\/]*       # Eat any letters before the major version
-                ( [0-9a-zA-Z\.]* )  # Grab everything else and split it later
-                ;
-        }x
-        )
-    {
-        my $match = $1;
-        $match =~ s{[a-zA-Z].*}{}g; # toss the beta version for now
-        ( $major, $minor, $beta ) = split /\./, $match;
+    # IE (and others) version
+    if ( $ua =~ m{\b msie \s ( [0-9\.]+ ) (?: [a-z]+ [a-z0-9]* )? ;}x ) {
+        # Internet Explorer
+        ( $major, $minor, $beta ) = split /\./, $1;
+    }
+    elsif ( $ua =~ m{\b compatible; \s* [\w\-]* / ( [0-9\.]* ) (?: [a-z]+ [a-z0-9\.]* )? ;}x ) {
+        # Generic "compatible" formats
+        ( $major, $minor, $beta ) = split /\./, $1;
 
     }
 
@@ -362,6 +351,7 @@ sub _test {
             && !$tests->{SAFARI}
             && !$tests->{CHROME}
             && index( $ua, "mozilla" ) != -1
+            && index( $ua, "msie" ) == -1
             && index( $ua, "spoofer" ) == -1
             && index( $ua, "compatible" ) == -1
             && index( $ua, "opera" ) == -1
@@ -485,18 +475,19 @@ sub _test {
         = (    index( $ua, "java" ) != -1
             || index( $ua, "jdk" ) != -1
             || index( $ua, "jakarta commons-httpclient" ) != -1 );
-    $tests->{ALTAVISTA}    = ( index( $ua, "altavista" ) != -1 );
-    $tests->{SCOOTER}      = ( index( $ua, "scooter" ) != -1 );
-    $tests->{LYCOS}        = ( index( $ua, "lycos" ) != -1 );
-    $tests->{INFOSEEK}     = ( index( $ua, "infoseek" ) != -1 );
-    $tests->{WEBCRAWLER}   = ( index( $ua, "webcrawler" ) != -1 );
-    $tests->{LINKEXCHANGE} = ( index( $ua, "lecodechecker" ) != -1 );
-    $tests->{SLURP}        = ( index( $ua, "slurp" ) != -1 );
-    $tests->{FACEBOOK}     = ( index( $ua, "facebookexternalhit" ) != -1 );
-    $tests->{BAIDU}        = ( index( $ua, "baiduspider" ) != -1 );
-    $tests->{GOOGLEADSBOT} = ( index( $ua, "adsbot-google" ) != -1 );
-    $tests->{ASKJEEVES}    = ( index( $ua, "ask jeeves/teoma" ) != -1 );
-    $tests->{ROBOT}        = (
+    $tests->{ALTAVISTA}     = ( index( $ua, "altavista" ) != -1 );
+    $tests->{SCOOTER}       = ( index( $ua, "scooter" ) != -1 );
+    $tests->{LYCOS}         = ( index( $ua, "lycos" ) != -1 );
+    $tests->{INFOSEEK}      = ( index( $ua, "infoseek" ) != -1 );
+    $tests->{WEBCRAWLER}    = ( index( $ua, "webcrawler" ) != -1 );
+    $tests->{LINKEXCHANGE}  = ( index( $ua, "lecodechecker" ) != -1 );
+    $tests->{SLURP}         = ( index( $ua, "slurp" ) != -1 );
+    $tests->{FACEBOOK}      = ( index( $ua, "facebookexternalhit" ) != -1 );
+    $tests->{BAIDU}         = ( index( $ua, "baiduspider" ) != -1 );
+    $tests->{GOOGLEADSBOT}  = ( index( $ua, "adsbot-google" ) != -1 );
+    $tests->{GOOGLEADSENSE} = ( index( $ua, "mediapartners-google" ) != -1 );
+    $tests->{ASKJEEVES}     = ( index( $ua, "ask jeeves/teoma" ) != -1 );
+    $tests->{ROBOT}         = (
         (          $tests->{WGET}
                 || $tests->{PUF}
                 || $tests->{GETRIGHT}
@@ -516,6 +507,7 @@ sub _test {
                 || $tests->{JAVA}
                 || $tests->{BAIDU}
                 || $tests->{GOOGLEADSBOT}
+                || $tests->{GOOGLEADSENSE}
                 || $tests->{ASKJEEVES}
         )
             || index( $ua, "bot" ) != -1
@@ -540,7 +532,7 @@ sub _test {
 
     # Devices
 
-    $tests->{BLACKBERRY} = ( index( $ua, "blackberry" ) != -1 );
+    $tests->{BLACKBERRY} = ( index( $ua, "blackberry" ) != -1 || index( $ua, "rim tablet os" ) != -1 );
     $tests->{IPHONE}     = ( index( $ua, "iphone" ) != -1 );
     $tests->{WINCE}      = ( index( $ua, "windows ce" ) != -1 );
     $tests->{WINPHONE}   = ( index( $ua, "windows phone" ) != -1 );
@@ -577,6 +569,7 @@ sub _test {
     
     $tests->{MOBILE} = (
                ( $tests->{FIREFOX} && index( $ua, "mobile" ) != -1 )
+            || ( $tests->{IE} && !$tests->{WINPHONE} && index( $ua, "arm" ) != -1 )
             || index( $ua, "up.browser" ) != -1
             || index( $ua, "nokia" ) != -1
             || index( $ua, "alcatel" ) != -1
@@ -612,6 +605,7 @@ sub _test {
             || index( $ua, "opera mobi" ) != -1
             || index( $ua, "fennec" ) != -1
             || index( $ua, "opera tablet" ) != -1
+            || index( $ua, "rim tablet" ) != -1
             || $tests->{PSP}
             || $tests->{DSI}
             || $tests->{'N3DS'}
@@ -622,6 +616,7 @@ sub _test {
     
     $tests->{TABLET} = (
              index( $ua, "ipad" ) != -1
+            || ( $tests->{IE} && !$tests->{WINPHONE} && index( $ua, "arm" ) != -1 )
             || (index( $ua, "android" ) != -1 && index( $ua, "mobile" ) == -1  && index( $ua, "opera" ) == -1 )
             || index( $ua, "kindle" ) != -1
             || index( $ua, "xoom" ) != -1
@@ -642,6 +637,7 @@ sub _test {
             || index( $ua, "an10bg3" ) != -1
             || index( $ua, "an10bg3dt" ) != -1
             || index( $ua, "opera tablet" ) != -1
+            || index( $ua, "rim tablet" ) != -1
             || index( $ua, "hp-tablet" ) != -1
  
     
@@ -801,6 +797,8 @@ sub _test {
             && !$tests->{ANDROID}
             && index( $ua, "fennec" ) == -1 );
 
+    $tests->{RIMTABLETOS} = ( index( $ua, "rim tablet os" ) != -1 );
+
     $tests->{PS3GAMEOS} = $tests->{PS3} && $tests->{NETFRONT};
     $tests->{PSPGAMEOS} = $tests->{PSP} && $tests->{NETFRONT};
 
@@ -928,6 +926,7 @@ sub os_string {
         $os_string = 'Unix'                 if $self->unix && !$self->linux;
         $os_string = 'Linux'                if $self->linux;
         $os_string = 'Firefox OS'           if $self->firefoxos;
+        $os_string = 'RIM Tablet OS'        if $self->rimtabletos;
         $os_string = 'Playstation 3 GameOS' if $self->ps3gameos;
         $os_string = 'Playstation Portable GameOS' if $self->pspgameos;
         $os_string = 'iOS' if $self->iphone || $self->ipod || $self->ipad;
@@ -1068,12 +1067,12 @@ sub _public {
                 # lower build
 
                 for my $maybe_build (
-                    sort { $b <=> $a }
+                    sort { $self->_cmp_versions($b, $a) }
                     keys %safari_build_to_version
                     )
                 {
                     $version = $safari_build_to_version{$maybe_build}, last
-                        if $build >= $maybe_build;
+                        if $self->_cmp_versions($build, $maybe_build) >= 0;
                 }
             }
             my ( $major, $minor ) = split /\./, $version;
@@ -1087,6 +1086,22 @@ sub _public {
     return ( $self->major, $self->minor, $self->beta( $check ) );
 }
 
+sub _cmp_versions {
+    my ( $self, $a, $b ) = @_;
+
+    my @a = split /\./, $a;
+    my @b = split /\./, $b;
+
+    while ( @b ) {
+        return -1 if @a == 0 || $a[0] < $b[0];
+        return  1 if @b == 0 || $b[0] < $a[0];
+        shift @a;
+        shift @b;
+    }
+
+    return @a <=> @b;
+}
+
 sub engine_string {
 
     my ( $self, $check ) = _self_or_default( @_ );
@@ -1289,7 +1304,7 @@ HTTP::BrowserDetect - Determine Web browser, version, and platform from an HTTP
 
 =head1 VERSION
 
-version 1.52
+version 1.55
 
 =head1 SYNOPSIS
 
@@ -1504,6 +1519,8 @@ mac68k macppc macosx ios
 
 =head2 os2()
 
+=head2 rimtabletos()
+
 =head2 unix()
 
   sun sun4 sun5 suni86 irix irix5 irix6 hpux hpux9 hpux10
@@ -1529,7 +1546,8 @@ compatibility with the L<HTTP::Headers::UserAgent> module.
 
   Win95, Win98, WinNT, Win2K, WinXP, Win2k3, WinVista, Win7, Win8,
   Windows Phone, Mac, Mac OS X, iOS, Win3x, OS2, Unix, Linux,
-  Firefox OS, Playstation 3 GameOS, Playstation Portable GameOS
+  Firefox OS, Playstation 3 GameOS, Playstation Portable GameOS,
+  RIM Tablet OS
 
 =head1 Detecting Browser Vendor
 
@@ -1679,6 +1697,8 @@ value. This is by no means a complete list of robots that exist on the Web.
 
 =head3 googleadsbot
 
+=head3 googleadsense
+
 =head3 googlemobile
 
 =head3 infoseek
diff --git a/t/release-cpan-changes.t b/t/release-cpan-changes.t
new file mode 100644
index 0000000..214650f
--- /dev/null
+++ b/t/release-cpan-changes.t
@@ -0,0 +1,19 @@
+#!perl
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+
+use strict;
+use warnings;
+
+use Test::More 0.96 tests => 2;
+use_ok('Test::CPAN::Changes');
+subtest 'changes_ok' => sub {
+    changes_file_ok('Changes');
+};
+done_testing();
diff --git a/t/useragents.json b/t/useragents.json
index 6e54655..2d29a83 100644
--- a/t/useragents.json
+++ b/t/useragents.json
@@ -62,6 +62,20 @@
       "other" : null,
       "version" : "3.7"
    },
+   "DoCoMo/2.0 N905i(c100;TB;W24H16) (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)" : {
+      "major" : "2",
+      "minor" : "0.1",
+      "match" : [
+         "googlemobile",
+         "google",
+         "mobile",
+         "robot"
+      ],
+      "public_major" : "2",
+      "public_minor" : ".1",
+      "public_version" : "2.1",
+      "version" : "2.1"
+   },
    "ELinks/0.12~pre5-2ubuntu1 (textmode; Ubuntu; Linux 2.6.32-24-generic x86_64; 135x85-2)" : {
       "browser_string" : "ELinks",
       "match" : [
@@ -103,21 +117,48 @@
       "other" : null,
       "version" : "3.2"
    },
-   "Googlebot/1.0 (googlebot at googlebot.com http://googlebot.com/)" : {
-      "browser_string" : null,
-      "country" : null,
-      "language" : null,
+   "Googlebot-News" : {
+      "match" : [
+         "google",
+         "robot"
+      ]
+   },
+   "Googlebot-Image/1.0" : {
+      "major" : "1",
+      "minor" : "0",
+      "match" : [
+         "google",
+         "robot"
+      ],
+      "version" : "1"
+   },
+   "Googlebot-Video/1.0" : {
       "major" : "1",
+      "minor" : "0",
       "match" : [
          "google",
          "robot"
       ],
+      "version" : "1"
+   },
+   "Googlebot/1.0 (googlebot at googlebot.com http://googlebot.com/)" : {
+      "major" : "1",
       "minor" : "0",
-      "no_match" : null,
-      "os" : null,
-      "other" : null,
+      "match" : [
+         "google",
+         "robot"
+      ],
       "version" : "1"
    },
+   "Googlebot/2.1 (+http://www.google.com/bot.html)" : {
+      "major" : "2",
+      "minor" : "0.1",
+      "match" : [
+         "google",
+         "robot"
+      ],
+      "version" : "2.1"
+   },
    "Konqueror/1.1.2" : {
       "browser_string" : null,
       "country" : null,
@@ -167,6 +208,15 @@
       "other" : null,
       "version" : "4.5"
    },
+   "Mediapartners-Google/2.1" : {
+      "major" : "2",
+      "minor" : "0.1",
+      "match" : [
+         "googleadsense",
+         "robot"
+      ],
+      "version" : "2.1"
+   },
    "MOT-EX128 Obigo/WAP2.0 MIDP-2.0/CLDC-1.1" : {
       "browser_string" : "Obigo",
       "device_name" : "Motorola EX128",
@@ -956,6 +1006,31 @@
       "engine_version" : "4.0",
       "engine_string" : "Trident"
    },
+   "Mozilla/5.0 ( ; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)": {
+      "browser_string": "MSIE",
+      "major" : "9",
+      "match" : [
+         "windows",
+         "win7",
+         "winnt",
+         "win32",
+         "trident",
+         "ie",
+         "ie9",
+         "ie55up",
+         "ie5up",
+         "ie4up"
+      ],
+      "minor" : "0",
+      "no_match" : null,
+      "os" : "Win7",
+      "other" : null,
+      "version" : "9.0",
+      "engine_major" : "5",
+      "engine_minor" : "0",
+      "engine_version" : "5.0",
+      "engine_string" : "Trident"
+   },
    "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)": {
       "browser_string": "MSIE",
       "major" : "9",
@@ -1006,6 +1081,33 @@
       "engine_version" : "6.0",
       "engine_string" : "Trident"
    },
+   "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; ARM; Trident/6.0; Touch)": {
+      "browser_string": "MSIE",
+      "major" : "10",
+      "match" : [
+         "ie",
+         "ie10",
+         "ie55up",
+         "ie4up",
+         "ie5up",
+         "mobile",
+         "tablet",
+         "trident",
+         "win32",
+         "win8",
+         "windows",
+         "winnt"
+      ],
+      "minor" : "0",
+      "no_match" : null,
+      "os_string" : "Win8",
+      "other" : null,
+      "version" : "10.0",
+      "engine_major" : "6",
+      "engine_minor" : "0",
+      "engine_version" : "6.0",
+      "engine_string" : "Trident"
+   },
    "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0)": {
       "browser_string": "MSIE",
       "major" : "10",
@@ -1387,6 +1489,20 @@
       "public_minor" : "0",
       "public_version" : "1.0"
    },
+   "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/85.8.5 (KHTML, like Gecko) Safari/85.8.1" : {
+      "browser_string" : "Safari",
+      "match" : [
+         "mac",
+         "macosx",
+         "macppc",
+         "safari"
+      ],
+      "major" : "0",
+      "minor" : "0.85",
+      "public_major" : "1",
+      "public_minor" : "0",
+      "version" : "0.85"
+   },
    "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02" : {
       "browser_string" : "Netscape",
       "country" : "US",
@@ -1442,6 +1558,21 @@
       "public_version" : "18.0",
       "version" : "18.0"
    },
+   "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.0.0; en-US) AppleWebKit/535.8+ (KHTML, like Gecko) Version/7.2.0.0 Safari/535.8+" : {
+      "browser_string" : "BlackBerry",
+      "engine_string" : "KHTML",
+      "match" : [
+        "blackberry",
+        "device",
+        "mobile",
+        "rimtabletos",
+        "safari",
+        "tablet"
+      ],
+      "os_string" : "RIM Tablet OS",
+      "public_version" : "7.2",
+      "version" : "5.35"
+   },
    "Mozilla/5.0 (PLAYSTATION 3; 2.00)" : {
       "device_name" : "Sony PlayStation 3",
       "engine_string" : "NetFront",
@@ -2309,6 +2440,26 @@
       "public_version" : "3.1",
       "version" : "5.25"
    },
+   "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)" : {
+      "browser_string" : "Safari",
+      "device" : "iphone",
+      "device_name" : "iPhone",
+      "engine_string" : "KHTML",
+      "match" : [
+         "device",
+         "google",
+         "googlemobile",
+         "iphone",
+         "ios",
+         "mobile",
+         "robot",
+         "safari"
+      ],
+      "os_string" : "iOS",
+      "public_major" : "4",
+      "public_minor" : "0",
+      "public_version" : "4.0"
+   },
    "Mozilla/5.0 (iPod; U; CPU iPhone OS 2_1 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5F137 Safari/525.20" : {
       "country" : "US",
       "device" : "iphone",
@@ -2783,26 +2934,6 @@
       "other" : null,
       "version" : "0.93"
    },
-   "ua=DoCoMo/2.0 N905i(c100;TB;W24H16) (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)" : {
-      "browser_string" : null,
-      "country" : null,
-      "language" : null,
-      "major" : "2",
-      "match" : [
-         "googlemobile",
-         "google",
-         "mobile",
-         "robot"
-      ],
-      "minor" : ".1",
-      "no_match" : null,
-      "os" : null,
-      "other" : null,
-      "public_major" : "2",
-      "public_minor" : ".1",
-      "public_version" : "2.1",
-      "version" : "2.1"
-   },
    "Jakarta Commons-HttpClient/3.1" : {
       "browser_string" : null,
       "country" : null,
@@ -3193,6 +3324,39 @@
      "public_major" : "6",
      "public_minor" : "0",
      "version" : "6"
+   },
+   "SAMSUNG-SGH-E250/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Browser/6.2.3.3.c.1.101 (GUI) MMP/2.0 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)" : {
+      "major" : "2",
+      "minor" : "0.1",
+      "match" : [
+         "device",
+         "googlemobile",
+         "google",
+         "mobile",
+         "robot",
+         "sun",
+         "unix",
+         "wap"
+      ],
+      "public_major" : "2",
+      "public_minor" : ".1",
+      "public_version" : "2.1",
+      "version" : "2.1"
+   },
+   "SonyEricssonU1i/R1CA; Mozilla/5.0 (SymbianOS/9.4; U; Series60/5.0 Profile/MIDP-2.1 Configuration/CLDC-1.1 model-orange) AppleWebKit/525 (KHTML like Gecko) Version/3.0 Safari/525" : {
+      "browser_string" : "Safari",
+      "engine_string" : "KHTML",
+      "match" : [
+         "device",
+         "mobile",
+         "safari",
+         "wap"
+      ],
+      "major" : "5",
+      "minor" : "0.25",
+      "public_major" : "3",
+      "public_minor" : "0",
+      "version" : "5.25"
   }
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-browserdetect-perl.git



More information about the Pkg-perl-cvs-commits mailing list