Skip to content

Commit 82f6088

Browse files
author
Stefan Giehl
committed
Improves detection of Samsung Wave devices
1 parent 811d141 commit 82f6088

File tree

4 files changed

+205
-1
lines changed

4 files changed

+205
-1
lines changed

Tests/Parser/Client/fixtures/browser.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,15 @@
11151115
version: "15.0.1162.61541"
11161116
engine: Blink
11171117
engine_version:
1118+
-
1119+
user_agent: Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S7230-VODAFONE/1.0; U; Bada/1.0; en-us) OperaMini/5.0.21073 Mobile WVGA SMM-MMS/1.2.0 NexPla
1120+
client:
1121+
type: browser
1122+
name: Opera Mini
1123+
short_name: OI
1124+
version: "5.0.21073"
1125+
engine: Presto
1126+
engine_version:
11181127
-
11191128
user_agent: Opera/9.80 (X11; Linux zbov) Presto/2.11.355 Version/12.10
11201129
client:

Tests/fixtures/smartphone-3.yml

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,6 +1559,183 @@
15591559
model: GALAXY S5 Neo
15601560
os_family: Android
15611561
browser_family: Unknown
1562+
-
1563+
user_agent: Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S8500/S8500XXLA1; U; Bada/2.0; de-de) AppleWebKit/534.20 (KHTML, like Gecko) Dolfin/3.0 Mobile WVGA SMM-MMS/1.2.0 OPN-B
1564+
os:
1565+
name: Bada
1566+
short_name: SBA
1567+
version: "2.0"
1568+
platform:
1569+
client:
1570+
type: browser
1571+
name: Dolphin
1572+
short_name: DF
1573+
version: "3.0"
1574+
engine: WebKit
1575+
engine_version: "534.20"
1576+
device:
1577+
type: smartphone
1578+
brand: SA
1579+
model: Wave
1580+
os_family: Other Mobile
1581+
browser_family: Unknown
1582+
-
1583+
user_agent: Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S5780/S5780NAKH3; U; Bada/1.1; fr-fr) AppleWebKit/533.1 (KHTML, like Gecko) Dolfin/2.0 Mobile WQVGA SMM-MMS/1.2.0 NexPlayer/3.0 profile/MIDP-2.1 configuration/CLDC-1.1 OPN-B
1584+
os:
1585+
name: Bada
1586+
short_name: SBA
1587+
version: "1.1"
1588+
platform: ""
1589+
client:
1590+
type: mediaplayer
1591+
name: NexPlayer
1592+
version: "3.0"
1593+
device:
1594+
type: smartphone
1595+
brand: SA
1596+
model: Wave 578
1597+
os_family: Other Mobile
1598+
browser_family: Unknown
1599+
-
1600+
user_agent: Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S7230-VODAFONE/1.0; U; Bada/1.0; en-us) OperaMini/5.0.21073 Mobile WVGA SMM-MMS/1.2.0 NexPla
1601+
os:
1602+
name: Bada
1603+
short_name: SBA
1604+
version: "1.0"
1605+
platform:
1606+
client:
1607+
type: browser
1608+
name: Opera Mini
1609+
short_name: OI
1610+
version: "5.0.21073"
1611+
engine: Presto
1612+
engine_version:
1613+
device:
1614+
type: smartphone
1615+
brand: SA
1616+
model: Wave 723
1617+
os_family: Other Mobile
1618+
browser_family: Opera
1619+
-
1620+
user_agent: Mozilla/13.0 (SAMSUNG; SAMSUNG-GT-S8530/S8530XXLA1; U; Bada/2.0; xx) AppleWebKit/534.20 (KHTML, like Gecko) Dolfin/3.0 Mobile WVGA SMM-MMS/1.2.0 OPN-B
1621+
os:
1622+
name: Bada
1623+
short_name: SBA
1624+
version: "2.0"
1625+
platform:
1626+
client:
1627+
type: browser
1628+
name: Dolphin
1629+
short_name: DF
1630+
version: "3.0"
1631+
engine: WebKit
1632+
engine_version: "534.20"
1633+
device:
1634+
type: smartphone
1635+
brand: SA
1636+
model: Wave II
1637+
os_family: Other Mobile
1638+
browser_family: Unknown
1639+
-
1640+
user_agent: Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S5330/S5330XXJJ1; U; Bada/1.0; it-it) AppleWebKit/533.1 (KHTML, like Gecko) Dolfin/2.0 Mobile WQVGA SMM-MMS/1.2.0 OPN-B
1641+
os:
1642+
name: Bada
1643+
short_name: SBA
1644+
version: "1.0"
1645+
platform:
1646+
client:
1647+
type: browser
1648+
name: Dolphin
1649+
short_name: DF
1650+
version: "2.0"
1651+
engine: WebKit
1652+
engine_version: "533.1"
1653+
device:
1654+
type: smartphone
1655+
brand: SA
1656+
model: Wave 533
1657+
os_family: Other Mobile
1658+
browser_family: Unknown
1659+
-
1660+
user_agent: Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S5250/1.0; U; bada/1.0; pt-br) AppleWebKit/533.1 (KHTML, like Gecko) Dolfin/2.0 Mobile WQVGA SMM-MMS/1.2.0 OPN-B
1661+
os:
1662+
name: Bada
1663+
short_name: SBA
1664+
version: "1.0"
1665+
platform:
1666+
client:
1667+
type: browser
1668+
name: Dolphin
1669+
short_name: DF
1670+
version: "2.0"
1671+
engine: WebKit
1672+
engine_version: "533.1"
1673+
device:
1674+
type: smartphone
1675+
brand: SA
1676+
model: Wave 525
1677+
os_family: Other Mobile
1678+
browser_family: Unknown
1679+
-
1680+
user_agent: Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S5380/S5380AELB3; U; Bada/2.0; fr-fr) AppleWebKit/534.20 (KHTML, like Gecko) Dolfin/3.0 Mobile HVGA SMM-MMS/1.2.0 OPN-B
1681+
os:
1682+
name: Bada
1683+
short_name: SBA
1684+
version: "2.0"
1685+
platform:
1686+
client:
1687+
type: browser
1688+
name: Dolphin
1689+
short_name: DF
1690+
version: "3.0"
1691+
engine: WebKit
1692+
engine_version: "534.20"
1693+
device:
1694+
type: smartphone
1695+
brand: SA
1696+
model: Wave Y
1697+
os_family: Other Mobile
1698+
browser_family: Unknown
1699+
-
1700+
user_agent: Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S7250/S7250XXKHD; U; Bada/2.0; tr-tr) AppleWebKit/534.20 (KHTML, like Gecko) Dolfin/3.0 Mobile HVGA SMM-MMS/1.2.0 OPN-B
1701+
os:
1702+
name: Bada
1703+
short_name: SBA
1704+
version: "2.0"
1705+
platform:
1706+
client:
1707+
type: browser
1708+
name: Dolphin
1709+
short_name: DF
1710+
version: "3.0"
1711+
engine: WebKit
1712+
engine_version: "534.20"
1713+
device:
1714+
type: smartphone
1715+
brand: SA
1716+
model: Wave M
1717+
os_family: Other Mobile
1718+
browser_family: Unknown
1719+
-
1720+
user_agent: Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S8600/1.0; U; Bada/2.0; en-us) AppleWebKit/534.20 (KHTML, like Gecko) Dolfin/3.0 Mobile WVGA SMM-MMS/1.2.0 OPN-B
1721+
os:
1722+
name: Bada
1723+
short_name: SBA
1724+
version: "2.0"
1725+
platform:
1726+
client:
1727+
type: browser
1728+
name: Dolphin
1729+
short_name: DF
1730+
version: "3.0"
1731+
engine: WebKit
1732+
engine_version: "534.20"
1733+
device:
1734+
type: smartphone
1735+
brand: SA
1736+
model: Wave 3
1737+
os_family: Other Mobile
1738+
browser_family: Unknown
15621739
-
15631740
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; SM-G920F Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
15641741
os:

regexes/client/browsers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
default: 'Presto'
239239
versions:
240240
15: 'Blink'
241-
- regex: 'Opera Mini/(?:att/)?(\d+[\.\d]+)'
241+
- regex: 'Opera ?Mini/(?:att/)?(\d+[\.\d]+)'
242242
name: 'Opera Mini'
243243
version: '$1'
244244
engine:

regexes/device/mobiles.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3681,6 +3681,24 @@ Samsung:
36813681
model: 'GALAXY DUOS 2'
36823682
- regex: '(?:SAMSUNG-)?GT-S7710'
36833683
model: 'GALAXY Xcover 2'
3684+
- regex: '(?:SAMSUNG-)?GT-S8500'
3685+
model: 'Wave'
3686+
- regex: '(?:SAMSUNG-)?GT-S8530'
3687+
model: 'Wave II'
3688+
- regex: '(?:SAMSUNG-)?GT-S8600'
3689+
model: 'Wave 3'
3690+
- regex: '(?:SAMSUNG-)?GT-S5380'
3691+
model: 'Wave Y'
3692+
- regex: '(?:SAMSUNG-)?GT-S7250'
3693+
model: 'Wave M'
3694+
- regex: '(?:SAMSUNG-)?GT-S5250'
3695+
model: 'Wave 525'
3696+
- regex: '(?:SAMSUNG-)?GT-S5330'
3697+
model: 'Wave 533'
3698+
- regex: '(?:SAMSUNG-)?GT-S5780'
3699+
model: 'Wave 578'
3700+
- regex: '(?:SAMSUNG-)?GT-S7230'
3701+
model: 'Wave 723'
36843702
- regex: '(?:SAMSUNG-)?SM-C101'
36853703
model: 'GALAXY S4 zoom'
36863704
- regex: '(?:SAMSUNG-)?SM-C115'

0 commit comments

Comments
 (0)