Commit Graph

19 Commits

Author SHA1 Message Date
Benjamin Dauvergne b9d5356259 [ID-WSFv1&ID-WSFv2] separate better strings for ID-WSF from other strings
Code in core source file which depend upon ID-WSF symbols have been
conditionalized, and each id-wsf source file now include directly its
need string header.
2010-09-09 01:09:28 +02:00
Benjamin Dauvergne 685a82b7af ID-WSF 2.0: add strings for Discovery service Actions 2010-02-17 10:14:39 +00:00
Benjamin Dauvergne b63bc73b93 XML: remove all useless instance_init functions
* Use Coccinelle semantic patch tool (http://coccinelle.lip6.fr/) to
   remove useless instance_init functions, the first patch applied was:
@@
type T,V;
identifier I, J;
parameter list P;
expression E1;
@@

V instance_init(T node)
{
<...
(
-  E1 = 0;
|
-  E1 = NULL;
|
-  E1 = FALSE;
)
...>
}
   It removes useless initialization to 0 (GObject already zeroes
   allocated objects).
   The second one is:
@ rule1 @
type T;
identifier node,fn;
@@

- static void fn(T *node) { }

@ rule2 extends rule1 @
typedef GType, GInstanceInitFunc;
identifier type_constructor;
@@
GType type_constructor()
{
<...
- (GInstanceInitFunc)fn
+ NULL
...>
}
   It removes empty instance_init functions.
2009-08-26 15:14:48 +00:00
Benjamin Dauvergne 33576b629a XML: add documentation for lasso_idwsf2_disco_svc_md_register_new_full
* lasso/xml/id-wsf-2.0/disco_svc_md_register.c: add documentation
  for constructor function lasso_idwsf2_disco_svc_md_register_new_full.
2009-08-26 15:13:30 +00:00
Benjamin Dauvergne b09ef2e015 Core: do not mix public and private headers
* lots of files:
   explicitely load the internal header xml/private.h where needed.
2009-03-27 15:04:26 +00:00
Benjamin Dauvergne 33bbf7a7de All: Fix missing field initializer problems
* lots of files: Explicitely set all field of initialized structures,
  in order to remove -Wno-missing-field-initilizers from needed
  compiler options when using -Wall -Wextra.
2009-01-24 09:33:40 +00:00
Benjamin Dauvergne 9ed0670e48 * Remove ending blanks 2008-09-12 15:06:58 +00:00
Frédéric Péters e5ba6151ba moved gtk-doc inline as is better on so many points; also added schema
fragments to published doc
2008-05-15 21:17:44 +00:00
Frédéric Péters 6204c8be9c adds all classes from ID-WSF 2 required schemas; with appropriate changes to
other files.
2007-07-10 08:50:56 +00:00
Damien Laniel 68583058a5 changed metadata_list attribute to SvcMD 2007-07-09 09:15:48 +00:00
Damien Laniel 6886b79b93 various error checks, coding style and refactoring 2007-06-08 15:16:22 +00:00
Damien Laniel 4fc6657e0c updated Copyright dates in all files 2007-05-30 17:17:45 +00:00
Frédéric Péters d839235ac5 const'ified a bunch of parameter that are immutable 2007-04-25 20:39:35 +00:00
Damien Laniel 10c8fcb306 fill profile->request in init_metadata_register + added soap_endpoint parameter 2007-04-25 09:37:30 +00:00
Damien Laniel 5ce02f9cda disco.processMetadataRegisterResponseMsg(soap_answer) and disco.svcMDID + renamed Idwsf2 to IdWsf2 to make it work with new classes 2007-04-13 17:24:38 +00:00
Damien Laniel fd22c2846b changed disco classes and methods names + make lasso_idwsf2_discovery_process_metadata_register_msg work 2007-04-12 15:32:57 +00:00
Damien Laniel 7ac97ec93b removed useless g_object_ref 2007-04-11 12:27:27 +00:00
Frédéric Péters 49dabd6df3 renamed disco_service_metadata to disco_svc_metadata 2007-04-11 08:21:54 +00:00
Damien Laniel 3a8e2cbf80 renaming + removed some useless casts 2007-04-10 13:59:28 +00:00