~cjdahlin/libnih/async

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Casey Dahlin
  • Date: 2009-01-29 07:53:35 UTC
  • Revision ID: cdahlin@redhat.com-20090129075335-zn4gqx7u4p8z6odn
* ChangeLog: update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2008-1-29  Casey Dahlin  <cdahlin@redhat.com>
 
2
 
 
3
        * nih/nih_dbus_tool.py (Method.asyncDispatchPrototype): Prototype for
 
4
        new asynchronous dispatch function, explained below.
 
5
 
 
6
        * nih/nih_dbus_tool.py (Method.asyncDispatchFunction): The
 
7
        asynchronous dispatch function takes a proxy, the arguments to the
 
8
        given method, a callback and an "errback" function pointer, and a void
 
9
        pointer. It calls the DBus method, but does not wait for a reply.
 
10
        Instead it sets up the callback to be called upon reply. If an error
 
11
        occurs, the errback is called instead. Either function will recieve
 
12
        the proxy and the value in the void pointer as arguments. The normal
 
13
        callback also receives arguments for anything returned by the method.
 
14
 
 
15
        * nih/nih_dbus_tool.py (Method.asyncNotifyPrototype): Prototype for new
 
16
        asynchronous notification function. See below.
 
17
 
 
18
        * nih/nih_dbus_tool.py (Method.asyncNotifyFunction): When the
 
19
        asynchronous dispatch function sets up a method call, it specifies
 
20
        the function generated by this function as the callback, and passes it
 
21
        an NihAsyncNotifyData struct containing the user-provided callback and
 
22
        errback. The asynchronous notify function then sets up the error to be
 
23
        handled by the errback or marshalls the return values to the callback.
 
24
 
 
25
        * nih/nih_dbus_tool.py (Generator.exportTypedefs): This function
 
26
        returns a list of tuples of (type, name, args) format for typedefs to
 
27
        be placed in the generated header file. Args is present for defining
 
28
        function arguments for function pointer typedefs.
 
29
 
 
30
        * nih/nih_dbus_tool.py (lineup_typedefs): Works like the other
 
31
        lineup_*s. Outputs typedef text from (type, name, args) tuples (see
 
32
        above) in a prettified, well-spaced format.
 
33
        
 
34
        * nih/nih_dbus_tool.py (typedef_lineup_prefix): Used to make names
 
35
        line up well in lineup_typedefs. If a string begins with (* it is
 
36
        returned as is. If it begins with * it is returned with one leading
 
37
        space. Otherwise it gets two leading spaces.
 
38
 
1
39
2008-10-24  Scott James Remnant  <scott@netsplit.com>
2
40
 
3
41
        * nih/list.h (NIH_LIST_FOREACH_SAFE): Mark the cursor to be