./wip/p5-HTTP-BrowserDetect, Detect browser, version, OS from UserAgent

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.31, Package name: p5-HTTP-BrowserDetect-3.31, Maintainer: hiramatu

The HTTP::BrowserDetect object does a number of tests on an HTTP user
agent string. The results of these tests are available via methods of
the object.


Required to run:
[lang/perl5] [devel/p5-File-Slurp] [devel/p5-Hash-Merge] [filesystems/p5-Path-Tiny]

Required to build:
[devel/p5-Test-NoWarnings] [devel/p5-Test-Most] [devel/p5-Test-FailWarnings] [pkgtools/cwrappers]

Master sites: (Expand)

RMD160: 4393905911151b0a7720e124c5e0cf5d613fce84
Filesize: 118.521 KB

Version history: (Expand)


CVS history: (Expand)


   2013-04-19 06:39:17 by Hiramatsu Yoshifumi | Files touched by this commit (2)
Log message:
Update p5-HTTP-BrowserDetect to 1.50.

Changes from previsou:
----------------------
1.50 2013-03-01
    - Adds Firefox OS detection (Douglas Christopher Wilson)

1.49 2013-02-27
    - Fixes language/country detectio for Safari (Douglas Christopher Wilson)

1.48 2013-02-26
    - Adds Obigo browser detection (Douglas Christopher Wilson)

1.47 2012-12-10
    - Distinguishes version of Windows Phone (Douglas Christopher Wilson)
    - Enables warnings and traps warnings in tests (Douglas Christopher Wilson)

1.46 2012-12-05
    - Add Windows 8 detection (Douglas Christopher Wilson)

1.45 2012-12-02
    - Removes Data::Dump from deps
    - Supports Windows Phone 8.0 devices (Douglas Christopher Wilson)
    - Fixes mistaken WAP detection for Nokia Windows Phones
    - Fixes warnings on browser version when running under -w (Aran Deltac)

1.44 2012-05-03
    - Fixes "sort (...) interpreted as function" introduced in 1.43, \ 
which was
      causing tests to fail

1.43 2012-05-02
    - Sorts keys when iterating for consistency across Perl implementations \ 
(Thom Blake)

1.42 2012-03-01
    - Adds bot detection for askjeeves, baidu and googleadsbot (Bill Rhodes)

1.41 2012-01-19
    - Exposes test categorization via our (Olivier Bilodeau)

1.40 2012-01-05
    - Fixes false positive results for RealPlayer browser (John Oatis)

1.39 2011-12-01
    - Adds logical groupings of test cases BrowserDetect.pm (Olivier Bilodeau)
    - Fixes win-based device names (Olivier Bilodeau)

1.38 2011-11-30
    - Ensures that all methods return undef where advertised (Ronald J. Kimball)

1.37 2011-11-29
    - Adds nintendo mobile browsers (Nintendo DSi, Nintendo 3DS) (cho45)
    - Adds kindle, dsi, n3ds to device and device_name methods

1.36 2011-11-07
    - Tweaks detection of Yahoo robot (Atsushi Kato)

1.35 2011-11-02
    - Fixes false positive for bot() with Puffin browser (Atsushi Kato)

1.34 2011-10-24
    - Adds BlackBerry to the list of possible return values of browser_string()
      (John Oatis)

1.33 2011-10-15
    - Adds detections for the Trident engine (Douglas Christopher Wilson)

1.32 2011-10-12
    - Fixes RealPlayer false positives (John Oatis)

1.31 2011-10-12
    - Adds detection and device name for Windows Phone (Douglas Christopher Wilson)

1.30 2011-09-15
    - Tweaks language regexes to reduce false positives

1.29 2011-09-01
    - Adds ios method for ipod, ipad and iphone (os_string returns "iOS")

1.28 2011-08-31
    - Adds ie9 and ie10 methods (Douglas Christopher Wilson)

1.27 2011-08-30
    - Google and MSN mobile bots are now detected as mobile agents (Uwe Voelker)

1.26 2011-07-12
    - Fixes Pod typo

1.25 2011-07-12
    - Fix warnings about iceweasel test being defined twice (Paul Findlay)
    - Adds Opera Tablet to mobile devices (Jacob Rask)

1.24 2011-05-13
    - Removes dependency on Modern::Perl, which was accidentally introduced
      (Yoshiki Kurihara)

1.23 2011-05-02
    - Adds a browser_properties() call that exposes all the browser
      "properties" (Olivier Bilodeau)
    - Fixes issues where a Chrome string would return 1 to a ->nav45up check
      (Olivier Bilodeau)
    - Fixes issue where some WebKit/KHTML browsers returned 1 on ->gecko
      (Olivier Bilodeau)
    - Adds wince method (Windows CE) (Olivier Bilodeau)
    - Now detects Java UserAgent as a robot (Graham Barr)
    - Now detects Jakarta Commons-HttpClient as a Java client (Graham Barr)
    - UserAgent tests moved from YAML to JSON
    - Moves issue tracking to Github
    - Dist now includes META.json rather than META.yaml

1.22 2011-03-10
    - Adds Namoroka to list of Firefox browsers (Viacheslav Tykhanovskyi)

1.21 2010-12-23
    - Test suite now uses YAML rather than YAML::Tiny as YAML::Tiny 1.46
      refuses to load useragents.yaml
    - Alphabetically re-ordered some of the documentation

1.20 2010-11-23
    - Be a little more selective in marking ua as robot when contains search
      or seek (Graham Barr)
    - Add facebook crawler as a robot (Graham Barr) (Enrico Sorcinelli)

1.19 2010-09-24
    - Added support for WebOS (Jesse Thompson) RT #61437

1.18 2010-09-06
    - Added support for Netfront and Safari on Kindle

1.17 2010-08-28
    - Added support for Mobile Safari, Links and Elinks (Jon Jensen)
    - Added more UserAgents to test suite (Jon Jensen)

1.16 2010-08-19
    - Added support for the < 3.0 Safari public versions (Jon Jensen)
    - Added new UserAgents to useragents.yaml (Jon Jensen)

1.15 2010-08-18
    - Re-releasing after some folders unintentionally included in build

1.14 2010-08-18
    - Fixed uninitialized value warnings for Safari (Heiko Weber) RT #60440

1.13 2010-08-10
    - Firefox Mobile (Fennec) is now detected as mobile RT #60186 (Jacob Rask)
    - Double digit Opera version #s now detected correctly RT #50717, #59817

1.12 2010-08-01
    - Added msn and msnmobile (Luke Saunders: f5c87a17b8fa2b09e294)
    - Added googlemobile (Luke Saunders: ec28d49d7218b43788b9)
    - SymbOS and Opera Mobi added to mobile detection RT #59817 (Jacob Rask)
    - Distribution is now managed with Dist::Zilla

1.11 2010-06-03
    - Added ps3 and psp (commit 85a619c9a977c0a8e403) (Alexey Surikov)

1.10 2010-05-05
    - Google toolbar no longer triggers false positive for Googlebot (Jay
      Rifkin)

1.09 2010-04-04
    - Better language detection (commit
      68025ca1a58afa1db9b4eeffe8c246d129825cc0) (Maroš Kollár)

1.08 2010-03-19
    - Added ipad(), device() and device_name() methods

1.07 2010-02-10
    - Added realplayer() and _realplayer_version() methods RT #52355 (Marc
      Sebastian Pelzer)
    - Added engine_string(), engine_version(), engine_major(), engine_minor()
      methods
    - Added Windows 7 detection (commit
      73795d8189faded8b07717e55488f128eaa00752) (Alexey Surikov)
    - Added public_version(), public_major() and public_minor() methods

1.06 2009-11-24
    - Added missing file t/useragents.yaml to MANIFEST

1.05 2009-11-23
    - Fixed RT #31847 (Mike Clarke) SCO/Unix false positives

1.04 2009-11-23
    - Moved test config to a YAML file
    - Added language() method
    - Added iphone() method
    - Added ipod() method
    - Added android() method
    - Fixed RT #12259 (guest) Netscape 6 version detection
    - Fixed RT #52007 (Josh Ritter) Chrome browser false positives
    - Added country() method

1.03 2009-10-24
    - Added mobile() method with support for various handsets (Richard Noble)
    - perltidied source

1.02 2009-10-21
    - Fixed RT #48727 (Robin Smidsrod)
        - Made "KHTML, like Gecko" not match gecko
        - Properly detect Safari version >4.0

1.01 2009-10-20
    - Switched to Module::Build from ExtUtils::MakeMaker
    - Re-organized file structure
    - Re-organized tests and expanded coverage to check major and minor
      methods
    - Manually added patch for Iceweasel from RT #41263 (merlynkline)
    - Added test for RT #41541 and RT #41263 (merlynkline)
    - curl added back to list of supported browsers RT #27878
    - Added test for RT #8547 (Steve Purkis)
    - Added test for RT #30705 (david.hilton.p)
    - Applied patch and added test for RT #7443

1.00 2009-10-19
    - Applied patch from RT #47271 (Denis F. Latypoff), which adds support for
      Chrome
    - Have moved repository to GitHub

0.99 Thu Feb 22 16:47:00 2007
    - Modifications by Peter Walsham
    - Added support for Windows Server 2003 and Windows Vista
   2012-10-04 12:45:25 by Aleksej Saushev | Files touched by this commit (38)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
   2008-05-30 14:22:19 by abs | Files touched by this commit (64)
Log message:
Remove unnecessary (empty) PLIST files for p5-* packages
   2005-07-26 07:58:12 by Hiramatsu Yoshifumi | Files touched by this commit (12)
Log message:
correct path to .packlist
   2005-04-11 23:14:39 by Todd Vierling | Files touched by this commit (1)
Log message:
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

   2005-03-29 03:50:57 by Hiramatsu Yoshifumi | Files touched by this commit (1)
Log message:
Add RMD160 checksum.
   2005-01-30 12:24:04 by Hiramatsu Yoshifumi | Files touched by this commit (2)
Log message:
Fixed $NetBSD$ tag.
   2005-01-29 18:18:31 by Hiramatsu Yoshifumi | Files touched by this commit (4) | Imported package
Log message:
The HTTP::BrowserDetect object does a number of tests on an HTTP user
agent string. The results of these tests are available via methods of
the object.