OSSP CVS Repository |
|
Date | Version | Description |
---|---|---|
1.6 | Check-in
[634]:
First cut of the ruthless style adjustments to OSSP XDS:
o adjust source tree to follow OSSP source tree style by heavily combining sources into smaller sets (needs more work when still missing parts are added later) o automatic re-indentation of sources with GNU indent (still needs manual review and adjustments; will follow) These two heavy steps were mostly done automatically with the help of two helper scripts written in Perl. So expect more manual adjustments to follow... By rse. | |
1.5 | Check-in [4290]: Use sizeof() rather than strlen() to determine the length of fixed strings in the program. By simons. (diff) | |
1.4 | Check-in
[591]:
Merged the whole contents of branch "callback-semantic-rewrite" into
the main branch. The changes there include:
- A change of the callback semantics; callbacks do now return XDS_ERR_(UNDER|OVER)FLOW in case the buffer size doesn't fit. Rather than passing the differing byte size through the return code, it is stored in the location used_buffer_size points to -- a new parameter provided to all callbacks. In order to implement this, the framework, all callbacks and most of the test suits had to be adapted. - internal.h now provides the macro xds_check_parameter(), which can be used to verify the contents of function parameters with assert() and if in one line. If assert()s are deactivated, the routine will still return XDS_ERR_INVALID_ARG. Because of this change, internal.h now includes the system header assert.h. This means that this include coulde be removed from almost all modules. - internal.h now provides the macros xds_init_(en|de)coding_engine(). These can be used to comfortably verify a callback's parameters and to verify the buffer size. All engines have been rewritten to use these. By simons. | |
1.3.2.2 | Check-in
[4259] on branch callback-semantic-rewrite:
- Use memcmp() instead of strcmp() because we can't rely on trailing
zero bytes.
- Adapted dummy engine to new semantics. By simons. (diff) | |
1.3.2.1 | Check-in [4254] on branch callback-semantic-rewrite: Modified test suits to compile with the new headers. By simons. (diff) | |
1.3 | Check-in [4206]: Since args is a pointer now, let the engine check that it does not get passed NULL here. By simons. (diff) | |
1.2 | Check-in [4198]: Passing va_list parameters by value is fine, unless the called routine modifies the parameter list and you expect the change to propagate back to the mother routine. What is what we want. Hence, I changed the prototype of the engine callback to expect a pointer to va_list. By simons. (diff) | |
1.1 | Check-in [4194]: Added test suite for xds_decode(). By simons. |