Stefanos A.
39b1f84fc8
Enum tokens are now sorted
...
This only affects the in-memory representation - sorted tokens are
easier to debug.
2013-11-03 12:15:08 +01:00
Stefanos A
c5b9dbc83e
Added GetOverridesPath method
...
GetOverridesPath encapsulates the code that retrieves an override enum
or function from overrides.xml. Additionally, it now supports names and
extensions with multiple values (e.g. extension="Core|Ext").
2013-11-03 01:20:17 +01:00
Stefanos A.
2eac75ea4d
Avoid using singletons
...
The IBind generator and the Settings class are now passed directly as
parameters. This allows us to run multiple generators in a single
process.
2013-11-01 08:59:20 +01:00
Stefanos A.
51f52d7fc4
Moved more transformations into the *Processor classes.
...
An EnumProcessor or FuncProcessor instance is now required in order to
call their Translate*() methods. A number of transformations that
relied on calling the static methods have now been moved inside the
processor classes.
2013-10-27 01:30:45 +02:00
Stefanos A.
e08baaa624
Fixed implementation of IsValue. Improved the handling of value
...
(number) parameters.
2013-10-25 08:45:02 +02:00
thefiddler
8dcb8601a2
Normalized line endings
...
Hopefully this is the first and last time we have to do this.
2013-10-11 01:58:54 +02:00
the_fiddler
4fd91623cd
Process overrides to Constant.Reference.
2011-12-06 22:59:42 +00:00
the_fiddler
9d93398613
Fixed bug in acronym capitalization handling, when multiple acronyms exist in the same enum.
2011-12-05 15:16:11 +00:00
the_fiddler
7f0e30fadc
Improved capitalization of acronyms, like 3Tc, in enum names.
2011-12-05 15:04:01 +00:00
the_fiddler
81b188ffca
Added documentation comments to generated enums.
...
Improved ISpecWriter API by removing low-level implementation details.
Made Constant implement IComparable so it can be sorted before being written to output.
2011-07-20 10:10:33 +00:00
the_fiddler
1db9c38ed8
Do not reuse a single StreamReader for reading signatures. Avoids issues with XPathDocument closing the stream behind our backs.
2010-12-06 14:34:16 +00:00
the_fiddler
5b40433350
* XmlSpecReader.cs:
...
* EnumProcessor.cs:
* GL2/Generator.cs:
* FuncProcessor.cs: Fixed handling of overrides file: we now add
signatures as requested and reset the stream after we are done
reading the file.
2010-12-06 12:29:18 +00:00
the_fiddler
029957c03a
* EnumProcessor.cs:
...
* FuncProcessor.cs: Corrected the XPath for signature overrides.
2010-12-06 11:53:50 +00:00
the_fiddler
f9365a4cc4
Merged gl4 branch into trunk
2010-12-04 21:51:40 +00:00
the_fiddler
057dfb9448
Handle multiple /signatures/add statements in the same file.
...
Trim enum and constant names before adding them to the relevant collection.
Fixed handling of extensions in enum names.
2010-12-03 11:24:58 +00:00
the_fiddler
94cd438166
Use identical XPath for signatures.xml and overrides.xml to unify and simplify their handlers.
2010-12-03 09:45:20 +00:00
the_fiddler
c57853abb6
Resolved token conflicts in favor of tokens without reference.
2010-11-19 11:29:02 +00:00
the_fiddler
88594afe37
Added missing license.
2010-10-12 16:55:16 +00:00
the_fiddler
2a1d85a4c0
Remove enum and constant processing from the classes with the same name and move it into its own file.
2010-10-12 16:46:08 +00:00