hal/tools/device-manager DeviceManager.py,1.14,1.15
David Zeuthen
david at freedesktop.org
Wed Sep 1 10:39:02 PDT 2004
- Previous message: hal/tools hal_get_property.c, 1.6, 1.7 hal_set_property.c, 1.6,
1.7 lshal.c, 1.7, 1.8
- Next message: hal/libhal libhal.c,1.24,1.25 libhal.h,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/hal/hal/tools/device-manager
In directory gabe:/tmp/cvs-serv13914/tools/device-manager
Modified Files:
DeviceManager.py
Log Message:
2004-09-01 David Zeuthen <david at fubar.dk>
Patch from Jon Lech Johansen <jon at nanocrew.net>. Add support for
properties of 64-bit unsigned integers. Right now this is not used
as the D-BUS python bindings needs a patch.
* hald/device.c: (hal_device_merge_with_rewrite),
(hal_device_merge), (hal_device_matches),
(hal_device_property_get_uint64), (hal_device_property_set_uint64),
(hal_device_print):
* hald/device.h:
* hald/device_info.c: (handle_match), (handle_merge), (end):
* hald/hald_dbus.c: (foreach_property_append),
(device_get_property), (device_set_property):
* hald/linux/common.c: (parse_hex_uint64):
* hald/linux/common.h:
* hald/linux/ieee1394_node_class_device.c:
(ieee1394_node_class_pre_process):
* hald/linux/net_class_device.c: (net_class_pre_process):
* hald/property.c: (hal_property_new_uint64),
(hal_property_get_uint64), (hal_property_to_string),
(hal_property_set_uint64):
* hald/property.h:
* hald/pstore.c: (hal_pstore_save_property),
(hal_pstore_load_property):
* libhal/libhal.c: (hal_device_get_all_properties),
(hal_psi_get_uint64), (hal_device_get_property_uint64),
(hal_device_set_property_helper), (hal_device_set_property_string),
(hal_device_set_property_int), (hal_device_set_property_uint64),
(hal_device_set_property_double), (hal_device_set_property_bool),
(hal_device_remove_property), (hal_device_print):
* libhal/libhal.h:
* tools/device-manager/DeviceManager.py:
* tools/hal_get_property.c: (main):
* tools/hal_set_property.c: (usage), (main):
* tools/lshal.c: (dump_devices), (print_property):
Index: DeviceManager.py
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/DeviceManager.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- DeviceManager.py 31 Aug 2004 16:53:40 -0000 1.14
+++ DeviceManager.py 1 Sep 2004 17:38:59 -0000 1.15
@@ -440,6 +440,8 @@
store.set(iter, 0, p, 1, "string", 2, "%s"%val)
elif ptype==int:
store.set(iter, 0, p, 1, "int", 2, "%d (0x%x)"%(val, val))
+ elif ptype==long:
+ store.set(iter, 0, p, 1, "long", 2, "%d (0x%x)"%(val, val))
elif ptype==bool:
if val:
store.set(iter, 0, p, 1, "bool", 2, "true")
- Previous message: hal/tools hal_get_property.c, 1.6, 1.7 hal_set_property.c, 1.6,
1.7 lshal.c, 1.7, 1.8
- Next message: hal/libhal libhal.c,1.24,1.25 libhal.h,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the hal-commit
mailing list