Commit graph

41 commits

Author SHA1 Message Date
the_fiddler
2206305cf8 Fixed enum comparison logic to compare the values of the relevant attributes instead of the attributes themselves. 2010-10-14 20:47:27 +00:00
the_fiddler
29b8415a0d Added support for specifying an output file directly via "-o" (instead of redirecting console output). 2010-10-14 20:15:17 +00:00
the_fiddler
2ab2af9e95 Added support for downloading input files directly from the web. 2010-10-14 20:14:27 +00:00
the_fiddler
ef3d01653d Added missing license information. 2010-10-12 16:54:45 +00:00
the_fiddler
2f91f0c650 The parser would forget to add the last parsed item. 2010-10-12 16:34:22 +00:00
the_fiddler
d8235e256d Added support for functions. 2010-10-12 15:59:43 +00:00
the_fiddler
9aded6ac44 - Version is an optional setting, fixed error message.
- Output xml in utf-8 format.
2010-10-10 22:03:59 +00:00
the_fiddler
b12726bfe2 Added new 'type' option to select the .h or the .spec parser. 2010-10-10 20:22:23 +00:00
the_fiddler
edd686d606 - Added GLParser for OpenGL .spec files. Only supports enums right now.
- Modified ESCLParser and GLParser to inherit from Parser.
2010-10-10 20:21:32 +00:00
the_fiddler
9d273cee7e 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
bb61dfe3f4 Added keyfile and strong-named all projects. 2010-10-04 14:39:42 +00:00
the_fiddler
a4e82c0915 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
88e6aceae0 Synced trunk with 1.0 branch. 2010-10-02 18:52:34 +00:00
the_fiddler
8624ec0d1a Updated version numbers in preparation for release. 2009-11-01 23:07:38 +00:00
the_fiddler
289697176b 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
8ed98ec517 Use out flow direction for pointer parameters in Get* or Gen* methods. 2009-10-22 23:01:42 +00:00
the_fiddler
5a35ee943c * ESCLParser.cs: Fixed long bitfield detection. 2009-10-09 06:01:02 +00:00
the_fiddler
9e42be92bb * 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
45c7bf145d Removed obsolete solution files and folders. 2009-09-06 09:38:27 +00:00
the_fiddler
20e238c158 Fixed mime-type and eol-style on Readme.txt. 2009-09-06 09:38:04 +00:00
the_fiddler
bd16f74156 Fixed project layout (files should be at root of project, not inside a folder). 2009-09-06 09:35:11 +00:00
the_fiddler
d511fb0f6e Removed duplication AssemblyInfo file. 2009-09-06 09:34:03 +00:00
the_fiddler
e35c3ea83e Updated in preparation of 0.9.9-2 release. 2009-09-05 18:37:42 +00:00
the_fiddler
d6c4c801e1 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
8ffb395f95 Removed stale debugging code. 2009-08-20 21:35:09 +00:00
the_fiddler
14f963b257 Note that parameter names for Nvidia fence extension were added by hand. 2009-08-15 19:08:03 +00:00
the_fiddler
82b8b6a518 Added missing parameter names to Nvidia Fence extension. 2009-08-15 19:07:34 +00:00
the_fiddler
f4e80dec64 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
6fe9641033 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
3897c7c990 Deactivated debugging code. 2009-08-11 18:53:45 +00:00
the_fiddler
12f85bb212 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
f7b9a75b6e Fixed parsing of function pointers. 2009-08-11 18:05:43 +00:00
the_fiddler
fda040799e 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
4633be3908 Fixed parsing of OpenCL parameters with set array size. 2009-08-09 17:35:50 +00:00
the_fiddler
bc469dcd46 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
cb3a6d10c0 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
142dd3b3a1 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
f11ca377be * ESCLParser.cs: Fixed a potential NullReferenceException. 2009-08-03 21:41:55 +00:00
the_fiddler
11c81f525b * Main.cs: Sort functions by extension first, then by name. 2009-08-03 21:41:35 +00:00
the_fiddler
d307e7de9d Added readme file. 2009-07-31 15:37:27 +00:00
the_fiddler
2b71d27c15 Initial commit. 2009-07-31 15:24:08 +00:00