1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 11:55:44 +03:00
systemd/hwdb
Zbigniew Jędrzejewski-Szmek a6fb0542c5 parse_hwdb: fix compatibility with pyparsing 2.4.*
pyparsing 2.3.1/2.4.0 had some changes to grouping of And matches, and as a
result we'd report 0 properties and 0 matches, and not really do any checks.

With this change we get identical behaviour for pyparsing 2.3.1, 2.4.0, 2.4.2:

$ hwdb/parse_hwdb.py
hwdb/60-evdev.hwdb: 72 match groups, 94 matches, 262 properties
hwdb/60-input-id.hwdb: 3 match groups, 3 matches, 4 properties
hwdb/60-keyboard.hwdb: 173 match groups, 256 matches, 872 properties
Keycode KBD_LCD_MENU1 unknown
Keycode KBD_LCD_MENU4 unknown
Keycode KBD_LCD_MENU2 unknown
Keycode KBD_LCD_MENU3 unknown
hwdb/60-sensor.hwdb: 101 match groups, 120 matches, 105 properties
hwdb/70-joystick.hwdb: 2 match groups, 3 matches, 2 properties
hwdb/70-mouse.hwdb: 104 match groups, 119 matches, 123 properties
hwdb/70-pointingstick.hwdb: 8 match groups, 30 matches, 11 properties
hwdb/70-touchpad.hwdb: 6 match groups, 9 matches, 6 properties

(cherry picked from commit 2382a2e32b)
2019-11-19 10:05:01 +01:00
..
.gitattributes hwdb: ignore whitespace in downloaded files 2018-03-02 12:09:52 +01:00
.gitignore hwdb: also add the source files to git 2017-10-02 13:19:22 +02:00
20-acpi-vendor.hwdb hwdb: run 'meson hwdb-update' 2019-07-24 05:16:05 +09:00
20-acpi-vendor.hwdb.patch hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00
20-bluetooth-vendor-product.hwdb hwdb: Update database of Bluetooth company identifiers 2016-10-20 10:24:18 +02:00
20-net-ifname.hwdb fix typo in iDRAC network interface name: irdac->idrac 2014-02-25 14:05:20 +01:00
20-OUI.hwdb hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00
20-pci-classes.hwdb hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00
20-pci-vendor-model.hwdb hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00
20-sdio-classes.hwdb hwdb: update 2019-01-22 11:12:14 +01:00
20-sdio-vendor-model.hwdb hwdb: update 2019-01-22 11:12:14 +01:00
20-usb-classes.hwdb hwdb: update 2014-07-03 16:28:57 +02:00
20-usb-vendor-model.hwdb hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00
20-vmbus-class.hwdb hwdb: add support for VMBUS guids (#8677) 2018-04-09 22:25:08 +02:00
60-evdev.hwdb hwdb: axis override for Dell 9360 touchpad 2019-09-21 23:06:52 +02:00
60-input-id.hwdb hwdb: label the trackpoint on IBM UltraNav keyboard as a pointing stick (#11934) 2019-03-11 09:00:03 +10:00
60-keyboard.hwdb hwdb: Correct WWWW Pattern In Documentation Comment 2019-10-10 14:50:15 +02:00
60-sensor.hwdb hwdb: add Medion Akoya E2292 (#13498) 2019-09-21 23:06:56 +02:00
70-joystick.hwdb hwdb: Add ID_INPUT_JOYSTICK_INTEGRATION property (#5413) 2017-06-26 12:17:36 +02:00
70-mouse.hwdb hwdb: add entry for Zowie FK2 mouse (#13139) 2019-07-23 17:02:43 +10:00
70-pointingstick.hwdb codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
70-touchpad.hwdb Add HP Elite x2 1013 G3 touchpad as external 2019-08-30 23:27:54 +02:00
acpi_id_registry.html hwdb: run 'meson hwdb-update' 2019-07-24 05:16:05 +09:00
acpi-update.py Update UEFI URLs (#12260) 2019-04-09 18:37:46 +02:00
ids_parser.py hwdb: make ids_parser.py compatible with pyparsing-2.3.0+ 2019-03-21 20:10:57 +01:00
ma-large.txt hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00
ma-medium.txt hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00
ma-small.txt hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00
meson.build meson: disable _all_ tests when -Dtests=false 2018-09-13 12:07:34 +02:00
parse_hwdb.py parse_hwdb: fix compatibility with pyparsing 2.4.* 2019-11-19 10:05:01 +01:00
pci.ids hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00
pnp_id_registry.html hwdb: run 'meson hwdb-update' 2019-07-24 05:16:05 +09:00
sdio.ids hwdb/sdio.ids: add BCM43438 + minor rewording of class name 2019-01-02 08:21:54 +01:00
usb.ids hwdb: update for v243-rc2 2019-08-22 13:43:50 +02:00