Custom Query (192 matches)
Results (7 - 9 of 192)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#191 | fixed | XML writer incorrectly writes double quote | jasper | jasper |
Description |
the double quote in the XML writer writes an incorrect string, resulting a corrupt COBIA registry in case a string with a double quote is written. |
|||
#189 | fixed | Consistent IDL type representation | jasper | jasper |
Description |
COBIA IDL defines interfaces such that the name is in front of the content. Example: [ uuid(b135a443-2ed8-45ef-bb2d-e68d2e631c31) ] interface ICapeCollection<CollectionItem> { [long_name(ItemByIndex)] CAPERESULT Item([in] CapeInteger index,[out, retval] CollectionItem item); //note: 0-based index [long_name(ItemByName)] CAPERESULT Item([in] CapeString name,[out, retval] CollectionItem item); [property_get] CAPERESULT Count([out, retval] CapeInteger itemCount); }; Enumerations however are defined with the name after the definition. Example: [ uuid(7d33b558-3371-4ed6-a88b-735a5604ce70) ] enum { CAPE_ANY_STREAMS = 0, CAPE_MATERIAL_STREAM = 1, CAPE_ENERGY_STREAM = 2, CAPE_INFORMATION_STREAM = 3 } CapeStreamType; The last top level element, CatID, does not have a definition. Example: [ uuid(37e03033-63b9-4f55-b5c4-807bede03deb) ] category Component_1_2; The enum syntax was more or less taken from COM. The equivalent COM definition, removing the official type and just going with the typedef'ed name: [ uuid(7D33B558-3371-4ED6-A88B-735A5604CE70) ] typedef enum eCapeStreamType { CAPE_ANY_STREAMS = 0, CAPE_MATERIAL_STREAM = 1, CAPE_ENERGY_STREAM = 2, CAPE_INFORMATION_STREAM = 3 } CapeStreamType; I feel this is a design mistake, and we are not too late to fix it yet. I think we should put the enum name before its definition, like so: [ uuid(7d33b558-3371-4ed6-a88b-735a5604ce70) ] enum CapeStreamType { CAPE_ANY_STREAMS = 0, CAPE_MATERIAL_STREAM = 1, CAPE_ENERGY_STREAM = 2, CAPE_INFORMATION_STREAM = 3 }; and break previous IDL and no longer support the previous notation. |
|||
#188 | fixed | add support for ICapeThermoPetroleumFractions to COBIA and COMBIA | jasper | jasper |
Description |
Add ICapeThermoPetroleumFractions to IDL and implement support in COMBIA |