hal/doc/spec hal-spec.html,1.43,1.44
David Zeuthen
david at freedesktop.org
Tue Feb 8 08:44:22 PST 2005
- Previous message: hal ChangeLog,1.404,1.405
- Next message: hal/hald Makefile.am, 1.41, 1.42 hald.c, 1.22, 1.23 property.c, 1.9,
1.10 run-hald.sh, 1.1, 1.2 util.c, NONE, 1.1 util.h, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv19159/doc/spec
Modified Files:
hal-spec.html
Log Message:
2005-02-08 David Zeuthen <davidz at redhat.com>
* hald/run-hald.sh: Update to include a few more paths
* hald/linux2/addons/Makefile.am: Add build rules for hald-addon-acpi
* hald/linux2/addons/addon-acpi.c: New file
* hald/linux2/pmu.c (pmu_synthesize_hotplug_events): Also look for
computer in the TDL
* hald/linux2/osspec.c (computer_callouts_add_done): New function
(osspec_probe): Run callouts for computer
* hald/linux2/classdev.c (add_classdev_probing_helper_done): Fix up
for the new helper
* hald/linux2/apm.c (apm_synthesize_hotplug_events): Also look for
computer in the TDL
* hald/linux2/acpi.c (acpi_synthesize_hotplug_events): Also look for
computer in the TDL
(acpi_generic_remove): Don't remove the device
(acpi_callouts_add_done): New function
(acpi_callouts_remove_done): New function
(hotplug_event_begin_add_acpi): Run add callouts
(hotplug_event_begin_remove_acpi): Run remove callouts
* hald/property.c (hal_property_to_string): Add code for string lists
* hald/hald.c (addon_terminated): New function
(gdl_store_changed): Run addons
(gdl_property_changed): Don't run property.d callouts
(gdl_capability_added): Don't run capability.d callouts
* hald/util.h: Move from hald/linux2 since this is generic.
Export the HalHelperData structure when doing
hal_util_helper invoke. Add prototypes for hal_util_terminate_
helper, hal_util_dup_strv_from_g_slist,
hal_util_callout_device_add, hal_util_callout_device_remove.
* hald/util.c: Move from hald/linux2 since this is generic.
(hal_util_terminate_helper): New function
(hal_util_helper_invoke): Renamed from helper_invoke. Accept
command line parameters (through g_shell_parse_argv). Accept a
strv of extra environement to set. Introduce that timeout==0 means
no timeout. Return the HalHelperData structure
(hal_util_dup_strv_from_g_slist): New convenience function; create
a new NULL-terminated string vector from a GSList of strings.
(callout_terminated): New function
(callout_do_next): New function
(hal_callout_device): New function
(hal_util_callout_device_add): New function
(hal_util_callout_device_remove): New function
* hald/linux2/util.[ch]: Remove
* hald/callout.[ch]: Remove since this functionality is now in util.[ch]
* hald/Makefile.am: Add util.[ch]
* hald/linux2/Makefile.am: Remove util.[ch]
Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- hal-spec.html 3 Feb 2005 04:13:46 -0000 1.43
+++ hal-spec.html 8 Feb 2005 16:44:19 -0000 1.44
@@ -512,21 +512,21 @@
><DL
><DT
><A
-HREF="#AEN2507"
+HREF="#AEN2513"
>Interface org.freedesktop.Hal.Manager</A
></DT
><DD
><DL
><DT
><A
-HREF="#AEN2518"
+HREF="#AEN2524"
>Example</A
></DT
></DL
></DD
><DT
><A
-HREF="#AEN2526"
+HREF="#AEN2532"
>Interface org.freedesktop.Hal.Device</A
></DT
></DL
@@ -6186,6 +6186,22 @@
><TD
><TT
CLASS="literal"
+>battery.remaining_time</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>No</TD
+><TD
+> Remaining time, in seconds, that the battery can provide
+ power if it's discharging. This is an estimate and may be
+ imprecise.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
>battery.charge_level.current</TT
> (int)</TD
><TD
@@ -6355,7 +6371,7 @@
><P
></P
><A
-NAME="AEN1982"
+NAME="AEN1988"
></A
><TABLE
BORDER="1"
@@ -6469,7 +6485,7 @@
><P
></P
><A
-NAME="AEN2026"
+NAME="AEN2032"
></A
><TABLE
BORDER="1"
@@ -6534,7 +6550,7 @@
><P
></P
><A
-NAME="AEN2046"
+NAME="AEN2052"
></A
><TABLE
BORDER="1"
@@ -6628,7 +6644,7 @@
><P
></P
><A
-NAME="AEN2078"
+NAME="AEN2084"
></A
><TABLE
BORDER="1"
@@ -6739,7 +6755,7 @@
><P
></P
><A
-NAME="AEN2120"
+NAME="AEN2126"
></A
><TABLE
BORDER="1"
@@ -6891,7 +6907,7 @@
><P
></P
><A
-NAME="AEN2178"
+NAME="AEN2184"
></A
><TABLE
BORDER="1"
@@ -7050,7 +7066,7 @@
><P
></P
><A
-NAME="AEN2230"
+NAME="AEN2236"
></A
><TABLE
BORDER="1"
@@ -7179,7 +7195,7 @@
><P
></P
><A
-NAME="AEN2271"
+NAME="AEN2277"
></A
><TABLE
BORDER="1"
@@ -8218,7 +8234,7 @@
><P
></P
><A
-NAME="AEN2465"
+NAME="AEN2471"
></A
><TABLE
BORDER="1"
@@ -8378,7 +8394,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN2507"
+NAME="AEN2513"
>Interface org.freedesktop.Hal.Manager</A
></H2
><P
@@ -8494,7 +8510,7 @@
><HR><H3
CLASS="sect2"
><A
-NAME="AEN2518"
+NAME="AEN2524"
>Example</A
></H3
><P
@@ -8612,7 +8628,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN2526"
+NAME="AEN2532"
>Interface org.freedesktop.Hal.Device</A
></H2
><P
- Previous message: hal ChangeLog,1.404,1.405
- Next message: hal/hald Makefile.am, 1.41, 1.42 hald.c, 1.22, 1.23 property.c, 1.9,
1.10 run-hald.sh, 1.1, 1.2 util.c, NONE, 1.1 util.h, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the hal-commit
mailing list