documentation patch
Rodrigo Moya <[email protected]> 06 Jun 2003 13:48:16 +0200
| Newsgroups | gmane.comp.gnome.components |
|---|---|
| Message-ID | <1054900096.14295.8.camel@azkoyen> |
Hi Here's a patch that replaces OAF with "Bonobo Activation" cheers
b-a-docs.diff
(text/plain, 6.9 KB)
? autom4te.cache ? stamp-h1 ? activation-server/test-performance ? tests/test-thread Index: ChangeLog =================================================================== RCS file: /cvs/gnome/libbonobo/ChangeLog,v retrieving revision 1.432 diff -u -p -r1.432 ChangeLog --- ChangeLog 6 Jun 2003 11:34:27 -0000 1.432 +++ ChangeLog 6 Jun 2003 11:46:27 -0000 @@ -1,3 +1,8 @@ +2003-06-06 Rodrigo Moya <[email protected]> + + * doc/activation-api/*.sgml: replaced references to OAF + with "Bonobo Activation". + 2003-06-06 Michael Meeks <[email protected]> * bonobo-activation/bonobo-activation-fork-server.c Index: doc/activation-api/architecture.sgml =================================================================== RCS file: /cvs/gnome/libbonobo/doc/activation-api/architecture.sgml,v retrieving revision 1.6 diff -u -p -r1.6 architecture.sgml --- doc/activation-api/architecture.sgml 31 Jan 2003 11:28:27 -0000 1.6 +++ doc/activation-api/architecture.sgml 6 Jun 2003 11:46:29 -0000 @@ -7,8 +7,8 @@ Bonobo Activation is nothing but a daemon implementing a set of CORBA interfaces. These CORBA interfaces implement a Name service for the set of CORBA servers installed on your system. Basically, -OAF knows about all the CORBA servers of your system, running or not. -The OAF daemon will activate those servers if you ask for them. +Bonobo Activation knows about all the CORBA servers of your system, running or not. +The Bonobo Activation daemon will activate those servers if you ask for them. </para> <para> @@ -19,8 +19,8 @@ allows you to ask for certain services r <para> C programmers who wish to access these services do not need to make raw CORBA calls: they can use a set of convenience functions implemented -in the liboaf library. This library acts as a wrapper on top of the CORBA -server. The API documentation for the liboaf library is available there. +in the libbonobo-activation library. This library acts as a wrapper on top of the CORBA +server. The API documentation for the libbonobo-activation library is available there. (XXX: add pointer to the API ref). </para> @@ -30,7 +30,7 @@ server. The API documentation for the li <title>Server architecture</title> <para> -The OAF server is split in 2 parts: the <classname>ObjectDirectory</classname> which contains the list +The Bonobo Activation server is split in 2 parts: the <classname>ObjectDirectory</classname> which contains the list of all servers on a given machine, and the <classname>ActivationContext</classname> which contains the list of all ObjectDirectories. It contains by default the local ObjectDirectory and you can add inside other distant ObjectDirectories. @@ -115,7 +115,7 @@ since there are optimizations to save th <title>Async Activation</title> <para> -OAF also has a set of asynchronous activation interfaces so that you do not need to block +Bonobo Activation also has a set of asynchronous activation interfaces so that you do not need to block on activation calls. The CORBA level is pretty simple: the activation context has a set of <function>_async</function> calls: <function>OAF_ACtivationContext_activate_async</function> and <function>OAF_ACtivationContext_activate_from_id_async</function>. Both of those calls @@ -133,7 +133,7 @@ module OAF { </para> <para> -Of course, liboaf provides comvenient wrappers for those CORBA functions. Those are named +Of course, libbonobo-activation provides comvenient wrappers for those CORBA functions. Those are named <function>bonobo_activation_activate_async</function> and <function>bonobo_activation_activate_from_id_async</function>. </para> Index: doc/activation-api/query-langage.sgml =================================================================== RCS file: /cvs/gnome/libbonobo/doc/activation-api/query-langage.sgml,v retrieving revision 1.4 diff -u -p -r1.4 query-langage.sgml --- doc/activation-api/query-langage.sgml 31 Jan 2003 11:28:27 -0000 1.4 +++ doc/activation-api/query-langage.sgml 6 Jun 2003 11:46:30 -0000 @@ -1,19 +1,19 @@ <chapter id="query-langage"> -<title>OAF Query Langage</title> +<title>Bonobo Activation Query Langage</title> <sect1> -<title>The OAF query langage</title> +<title>The Bonobo Activation query langage</title> <para> -OAF has a query language used to request components with -specific properties from the OAF daemon. -The API call <function>oaf_activate</function> takes a +Bonobo Activation has a query language used to request components with +specific properties from the Bonobo Activation daemon. +The API call <function>bonobo_activation_activate</function> takes a <emphasis>requirements</emphasis> parameter which is a string containing a specific request in the OAF query langage. A simple example is: <programlisting> -CORBA_Object o = oaf_activate ("repo_ids.has ('IDL:GNOME/Graph/Layout:1.0')", - NULL, 0, NULL, &ev); +CORBA_Object o = bonobo_activation_activate ("repo_ids.has ('IDL:GNOME/Graph/Layout:1.0')", + NULL, 0, NULL, &ev); </programlisting> This will ask for a component which supports the GNOME/Graph/Lyout:1.0 interface. You can also do much more complicated things. Index: doc/activation-api/server-xml-reference.sgml =================================================================== RCS file: /cvs/gnome/libbonobo/doc/activation-api/server-xml-reference.sgml,v retrieving revision 1.7 diff -u -p -r1.7 server-xml-reference.sgml --- doc/activation-api/server-xml-reference.sgml 24 May 2003 20:00:51 -0000 1.7 +++ doc/activation-api/server-xml-reference.sgml 6 Jun 2003 11:46:30 -0000 @@ -114,7 +114,7 @@ Each <sgmltag>oaf_server</sgmltag> entry defines a set of attributes. Each attribute has a given <emphasis>name,</emphasis> <emphasis>type,</emphasis> and <emphasis>value.</emphasis> The types of the - attributes are those defined in the OAF query langage reference + attributes are those defined in the Bonobo Activation query langage reference (<xref linkend="oaf-query-ref-types"/>). Type name should be non-caps. </para> Index: doc/activation-api/tutorial.sgml =================================================================== RCS file: /cvs/gnome/libbonobo/doc/activation-api/tutorial.sgml,v retrieving revision 1.7 diff -u -p -r1.7 tutorial.sgml --- doc/activation-api/tutorial.sgml 29 Mar 2003 17:35:58 -0000 1.7 +++ doc/activation-api/tutorial.sgml 6 Jun 2003 11:46:30 -0000 @@ -82,7 +82,7 @@ CORBA_Object o = bonobo_activation_activ <para> Here follows a very simple-stupid example of what you can do with Bonobo Activation. - The complete API description of bonobo activation, the OAF query langage reference and the + The complete API description of bonobo activation, the Bonobo Activation query langage reference and the <filename>.server</filename> file format reference are included in this document and are recommended readings. Reading <xref linkend="architecture"/> is also a good idea.