- 16 Mar, 2010 22 commits
-
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Rob Shearman authored
-
Rob Shearman authored
Clean valgrind runs of tested types and comparison with MIDL-generated code suggests that the existing code written in the finally block for client code is sufficient.
-
Rob Shearman authored
Remove the difficult manual walking of the alias tree and make the code easier to read and less likely to break if a new type is added.
-
Rob Shearman authored
Use a switch statement instead of multiple if statements and explicitly write out the fixed array cases.
-
Rob Shearman authored
widl: Remove some FIXME comments and replace them with comments explaining why the current behaviour is correct.
-
Rob Shearman authored
widl: Fix the writing of expressions in un-typedef'd structures by using write_type_left to write out the type, which adds the "struct ..." if necessary. Also improve the type comparison code to not crash on unnamed structures (although further changes need to be made to fix the output in this case) and make it more efficient by first doing a comparison on the values of the type pointers.
-
Rob Shearman authored
The FC code requires more than 4 bits to represent it and the correlation descriptor and union formats only allow 4 bits to represent the type referred to.
-
Rob Shearman authored
This allows write_conf_or_var_desc to have the context enabling it to write out an appropriate correlation descriptor when iid_is is used from within a structure.
-
Rob Shearman authored
widl: Use typegen_detect_type to determine which types should be written for the pointer description in write_struct_tfs. Otherwise extra pointers for user types could be written.
-
Rob Shearman authored
-
Rob Shearman authored
widl: Don't use the return value of write_embedded_types to determine whether a type contains pointers or not. It isn't correct in all situations, so type_has_pointer has to be used anyway so using the return value of write_embedded_types just clutters the code.
-
Rob Shearman authored
Avoid duplicating the pointer writing code.
-
Rob Shearman authored
The check for whether a pointer is the last one is redundant since typegen_detect_type does a stricter check on the ref type. Replace one other instance of last_ptr with a more readable equivalent.
-
Rob Shearman authored
Change write_pointer_tfs to rely on the detected type of the type to determine when to write a simple pointer rather than relying on typestring_offset not being set anywhere else.
-
Rob Shearman authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
- 15 Mar, 2010 18 commits
-
-
Maarten Lankhorst authored
-
Maarten Lankhorst authored
-
Maarten Lankhorst authored
-
Maarten Lankhorst authored
-
Maarten Lankhorst authored
-
Maarten Lankhorst authored
-
Detlef Riekenberg authored
-
Detlef Riekenberg authored
-
Detlef Riekenberg authored
-
Yann Droneaud authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
Just add a context to the device's context array.
-
Henri Verbeet authored
Our pbuffer support is broken, nobody cares.
-
Henri Verbeet authored
-
Henri Verbeet authored
-