| 1 | # barectf 2 changelog |
| 2 | |
| 3 | ## barectf v2.1.0 |
| 4 | |
| 5 | **Features**: |
| 6 | |
| 7 | * Add `$include` property to metadata, clock, trace, stream, and |
| 8 | event objects to [include external YAML files](https://github.com/efficios/barectf/wiki/Including-external-YAML-files) |
| 9 | * Object properties which have a default value can force it |
| 10 | with `null`; this is especially useful when also using type |
| 11 | inheritance or including external YAML files |
| 12 | |
| 13 | **Bug fixes**: |
| 14 | |
| 15 | * Fix a few error messages |
| 16 | * Use appropriate prefix for event context type parameters in |
| 17 | generated code |
| 18 | * `_write_cstring()`: use prefix |
| 19 | * Enumeration type object: start from current last value when |
| 20 | adding label-only members to parent object |
| 21 | * Check the size of the `id` (event header) and `stream_id` |
| 22 | (packet header) to make sure they can fit all events/streams |
| 23 | * Reduce the number of compiler warnings when using `-Wall` and |
| 24 | `-pedantic` |
| 25 | * Make sure all entity types are structure types |
| 26 | * Make sure all enumeration type object member values fit within |
| 27 | the enumeration's value type |
| 28 | * Check for unknown properties in enumeration type object |
| 29 | * Check for unknown properties in floating point number size object |
| 30 | * Check for unknown `base` values in integer type object |
| 31 | * Check the type of the `byte-order` property in trace object |
| 32 | * Check the signedness of the `uuid` field's element type in the |
| 33 | trace packet header type |
| 34 | * Check for unknown properties in configuration object |
| 35 | * Check node type before checking its properties |
| 36 | * Use unions to write floating point numbers to avoid aliasing warnings |
| 37 | |
| 38 | **Tests**: |
| 39 | |
| 40 | * Add configuration file tests |
| 41 | |
| 42 | **README.md**: |
| 43 | |
| 44 | * Add C99 compliance limitation |
| 45 | * Move documentation to the project's wiki |
| 46 | |
| 47 | |
| 48 | ## barectf v2.0.2 |
| 49 | |
| 50 | **README.md**: |
| 51 | |
| 52 | * Add PyPI badge |
| 53 | * Fix Arch Linux installation command line |
| 54 | |
| 55 | |
| 56 | ## barectf v2.0.1 |
| 57 | |
| 58 | **Bug fixes**: |
| 59 | |
| 60 | * Fix various bugs in the Parallella platform |
| 61 | |
| 62 | |
| 63 | ## barectf v2.0.0 |
| 64 | |
| 65 | Initial release. |
| 66 | |
| 67 | Major changes from barectf 0.x: |
| 68 | |
| 69 | * Single YAML configuration input |
| 70 | * TSDL metadata is generated by barectf instead of being consumed |
| 71 | * Introduction of platforms to handle buffers automatically with |
| 72 | custom callbacks and to allow continuous tracing |
| 73 | * Various optimizations in the generated C code |