Stefanos A.
8f1c3a2d08
Allow comparison of function elements
...
This allows us to store both enums and functions in the same tree.
2013-10-28 14:15:58 +01:00
Stefanos A.
3eaffc5570
Stable sort and correct extension names
...
Use a stable sort for generated elements, in order to make the generated
file work better with version control. Extension names are now extracted
directly from function names - solves issues with functions that are
defined in multiple extensions.
2013-10-28 14:15:17 +01:00
Stefanos A.
e0664993bb
Multi-API support for XML spec parser
...
The XML spec parser now generates signatures for multiple APIs (gl,
glcore, gles1, gles2). Additionally, it supports per-token deprecation
attributes.
2013-10-27 23:47:52 +01:00
Stefanos A.
5cc845713d
Improved extension detection in .spec parser.
...
Instead of using a hardcoded list of extensions, the parser will now
use a regex to detect extension names. This gives better results on
new specs without manual editing.
2013-10-27 01:24:04 +02:00
Stefanos A.
d992f9474f
Fixed the parsing of extensions.
2013-10-26 00:07:00 +02:00
Stefanos A.
b15066bd03
Strip struct and const identifiers from the output. This matches the
...
old .spec files.
Group attributes in parameters no longer overwrite the pointer order
or const-ness of the parameter.
2013-10-25 08:55:12 +02:00
Stefanos A.
d4c1cb1bb3
Improved grouping of enumerations. Fixed missing extension
...
enumerations.
2013-10-24 20:56:28 +02:00
Stefanos A.
780d5e60c2
Return type should be defined in the "type" attribute of the returns
...
element.
2013-10-24 18:42:52 +02:00
Stefanos A.
2378bef21e
Tokens in "All" enum should have a name of "token" not "enum".
2013-10-24 18:41:09 +02:00
Stefanos A.
0cb722c908
Implemented translation of function attributes (api, category,
...
deprecated, extension, version).
2013-10-24 18:32:09 +02:00
Stefanos A.
88438102a2
Initial implementation of new XML spec parser.
2013-10-24 17:19:52 +02:00
Stefanos A
967a6514de
Merge branch 'master' into gl4
2013-10-22 17:03:39 +02:00
Stefanos A.
df8626740a
Fixed exception while parsing the 4.3 specs.
...
This was caused by changes in the .spec file definitions between 4.1
and 4.3.
2013-10-22 11:58:23 +02:00
Stefanos A.
992ae7947a
Added usage example.
2013-10-22 11:40:41 +02:00
thefiddler
581919cb1c
Initial work on new gl xml spec support.
2013-10-21 18:28:01 +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
Robert Rouhani
3a9dfc62ad
Fixed extra endregion directive that prevented compilation.
...
Fixed some warnings about csproj files.
2013-01-16 22:11:18 -08:00
Andy Korth
4230c6b4f0
Added Robmaister's Matrix3 implementations
2013-01-03 10:41:56 -06:00
the_fiddler
072c815cdc
Updated Generator.Convert documentation to match what the tool actually does.
2011-07-26 11:54:09 +00:00
the_fiddler
8e089cc1c3
Merged gl4 branch into trunk
2010-12-04 21:51:40 +00:00
the_fiddler
ce85a5f481
* Source/OpenTK/OpenTK.csproj:
...
* Source/Bind/Generator.Bind.csproj:
* Source/Examples/OpenTK.Examples.csproj:
* Source/GLControl/OpenTK.GLControl.csproj:
* Source/Converter/Generator.Convert.csproj:
* Source/Build.UpdateVersion/Build.UpdateVersion.csproj: Normalized
"Documentation" configuration with "Release" configuration.
2010-11-02 17:39:43 +00:00
the_fiddler
9d562fb683
All projects now read common AssemblyInfo items from GlobalAssemblyInfo.cs. The various AssemblyInfo.cs files now only contain project-specific information. Assembly versions are now controlled by Build.UpdateVersion.
2010-10-04 21:37:33 +00:00
the_fiddler
1f143285c2
Added keyfile and strong-named all projects.
2010-10-04 14:39:42 +00:00
the_fiddler
10f333c24f
Added Generator.Bind and Generator.Convert projects.
...
Fixed msbuild compilation by removing the 3.5 bootstrap ItemGroups. (VS2010 added those on its own - hey, we are targeting v2.0 and we are not using ClickOnce!)
2010-10-03 12:30:39 +00:00
the_fiddler
1f4b5be7d0
Synced trunk with 1.0 branch.
2010-10-02 18:52:34 +00:00
the_fiddler
af2d77cdc5
Updated version numbers in preparation for release.
2009-11-01 23:07:38 +00:00
the_fiddler
041c491f19
Fixed an issue where "const unsigned [type] [pointer]" parameters where not parsed correctly. Solves issue [ #1300 ]: "[OpenCL] Possible bug at CL.CreateProgramWithBinary".
2009-11-01 19:15:44 +00:00
the_fiddler
792c4e3645
Merged es20 branch back into trunk.
2009-10-28 23:09:25 +00:00
the_fiddler
201dfab1f3
* ESCLParser.cs: Fixed long bitfield detection.
2009-10-09 06:01:02 +00:00
the_fiddler
49f9609309
* ESCLParser.cs: OpenCL bitfileds are defines as long, not int. Added 'type' attribute to enums, which can be 'long' or 'int'.
2009-10-09 05:08:44 +00:00
the_fiddler
fd70497785
Removed obsolete solution files and folders.
2009-09-06 09:38:27 +00:00
the_fiddler
c542cb94da
Fixed mime-type and eol-style on Readme.txt.
2009-09-06 09:38:04 +00:00
the_fiddler
9440b2af96
Fixed project layout (files should be at root of project, not inside a folder).
2009-09-06 09:35:11 +00:00
the_fiddler
a2a299de2a
Removed duplication AssemblyInfo file.
2009-09-06 09:34:03 +00:00
the_fiddler
dc337d0e56
Updated in preparation of 0.9.9-2 release.
2009-09-05 18:37:42 +00:00
the_fiddler
f6da09177e
Fixed line endings and set svn:eol-style to native and svn:mime-type to text/plain for .cs files.
2009-09-03 19:01:11 +00:00
the_fiddler
014fc031b7
Removed stale debugging code.
2009-08-20 21:35:09 +00:00
the_fiddler
d314f26d5f
Note that parameter names for Nvidia fence extension were added by hand.
2009-08-15 19:08:03 +00:00
the_fiddler
09207c2934
Added missing parameter names to Nvidia Fence extension.
2009-08-15 19:07:34 +00:00
the_fiddler
324538ac9f
Added workarounds for typical header defines that should not be present in the generated xml files (e.g. #define WIN32_LEAN_AND_MEAN 1).
2009-08-15 19:07:11 +00:00
the_fiddler
056a593480
Fixed parsing of function pointer parameters that do not specify a parameter name or do not contain "pfn" in their type.
2009-08-11 19:18:12 +00:00
the_fiddler
9a15b4f0be
Deactivated debugging code.
2009-08-11 18:53:45 +00:00
the_fiddler
6c59478446
Try to match function pointers before regular parameters. Function pointers may contain regular parameters themselves and going the other way round will result in incorrect matches.
2009-08-11 18:51:19 +00:00
the_fiddler
33970774a0
Fixed parsing of function pointers.
2009-08-11 18:05:43 +00:00
the_fiddler
3edf2cebda
ESCLParser can now parse negative enum constants.
...
ESCLParser can now parse bitfield constants in the form (1 << n).
Added a workaround for enums named as "FooFlags - bitfield" which where converted to "FooFlagsFlags". They are now converted to "FooFlags".
Added flow attribute to function parameters. Parameter names ending with "ret" (e.g. errcode_ret) have a flow of "out". Everything else currently has a flow of "in".
Fixed conversion of "unsigned [byte|short|int|long]" parameters (they are now converted to [byte|ushort|uint|ulong] respectively).
2009-08-11 13:53:01 +00:00
the_fiddler
bb4d80c1e4
Fixed parsing of OpenCL parameters with set array size.
2009-08-09 17:35:50 +00:00
the_fiddler
fa1ddbf06e
Fixed parsing of pointer types in 'cl.h' (parameter types and pointers are separated by a space, i.e. 'char **').
2009-08-09 17:13:34 +00:00
the_fiddler
ba87228704
Added GL_APICALL and APIENTRY tokens to GetFunctionNameAndType. Fixes parsing of ES 1.0 and 2.0 headers.
2009-08-09 15:30:31 +00:00
the_fiddler
09266240eb
Added CL_API_ENTRY and CL_API_CALL tokens to GetFunctionNameAndType. Fixes parsing of 'cl.h'.
2009-08-09 15:23:35 +00:00
the_fiddler
8550af39d1
* ESCLParser.cs: Fixed a potential NullReferenceException.
2009-08-03 21:41:55 +00:00