Commit graph

454 commits

Author SHA1 Message Date
the_fiddler af2c2fc64b Further improvements to suffix trimming regexes. Now matches GetInteger(ui)64 and does not match functions ending in "Coord", "Attrib", "Access" and more. 2011-12-07 00:22:10 +00:00
the_fiddler 22d3b26769 Ensured function names are trimmed using the same code as documentation and function parameters.
Improved trimming for functions with '64' suffices.
2011-12-07 00:01:48 +00:00
the_fiddler 4fd91623cd Process overrides to Constant.Reference. 2011-12-06 22:59:42 +00:00
the_fiddler cba5f45415 Added missing TextureEnvMode.Replace token. Fixes issue [#2791]: "TextureEnvMode.Replace missing". 2011-12-06 21:49:43 +00:00
the_fiddler f4193c5d4b Fixed extension (and core) loading on windows. 2011-12-06 15:14:58 +00:00
the_fiddler a3280f3a43 Significant cleanups and bugfixes to the C++ wrappers. Improved typemap to use correct OpenGL types. 2011-12-05 18:43:16 +00:00
the_fiddler 3012e4e9c9 Added GL and CL to Acronyms regex. 2011-12-05 18:42:38 +00:00
the_fiddler ffb3892afc Added cpp-specific typemap. 2011-12-05 18:42:13 +00:00
the_fiddler 0416ca2a28 Do not rely on JNA types that are not available on Android. 2011-12-05 18:41:46 +00:00
the_fiddler f94fb52bfb Do not rely on JNA types that are not available on Android.
Replaced generic multiple wrappers by a single Buffer wrapper.
2011-12-05 16:12:54 +00:00
the_fiddler 16119645f0 Fixed enum generation. 2011-12-05 15:48:51 +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 85a774c902 Simplified the ISpecReader interface. Ensure 'delete' directives are followed in the xml specs. 2011-12-05 14:30:40 +00:00
the_fiddler 772e987c2b Minor comment fix. 2011-12-05 14:29:17 +00:00
the_fiddler 9848b51089 Generic type parameters cannot be primitive types in Java. Fixed! 2011-12-05 13:28:17 +00:00
the_fiddler e643d97317 Fixed generic type parameters (for real this time!), suppressed pointer parameters and shuffled code for improved readability. 2011-12-05 13:03:48 +00:00
the_fiddler 1a8177dc8f Fixed generic parameter definitions. 2011-12-05 12:27:23 +00:00
the_fiddler 72123730e4 Added "callback" to Java reserved keywords. 2011-12-05 12:26:54 +00:00
the_fiddler 7d3823ca6f Significant improvements to the Java wrappers: generate a package, improve wrapper generation taking into account lack of ref/out parameters. 2011-12-05 11:54:06 +00:00
the_fiddler b394962854 Use Parameter.RawName when accessing the spec xml files (these files are platform-agnostic, so parameter names are not escaped!) 2011-12-05 11:52:28 +00:00
the_fiddler b418ef0f2c Made the escape character for reserved keywords customizable. (C# uses '@' and Java/C++ use '_' by default). Updated the Parameter class to return escaped names by default and added a RawName parameter to access the raw names. 2011-12-05 11:49:59 +00:00
the_fiddler efc4f15033 Added missing function declarations (WIP). 2011-12-02 14:49:26 +00:00
the_fiddler 5f4487e87b Added support for different per-language typemaps. 2011-12-02 13:12:53 +00:00
the_fiddler d66f9656be Added preliminary Java wrapper generation. Heavy work-in-progress. 2011-12-02 11:27:04 +00:00
the_fiddler aeebecc2b0 Fixed encoding error that prevent compilation on Linux. 2011-09-26 13:23:19 +00:00
the_fiddler f3bf5b866a Modified CppSpecWriter to generate single-file bindings. 2011-09-26 11:18:57 +00:00
the_fiddler 585a07358e Added UniformBlockReferencedByGeometryShader token to ActiveUniformBlockParameter. Fixes issue [#2616]: "ActiveUniformBlockParameter.UniformBlockReferencedByGeometryShader is missing". 2011-07-26 14:09:12 +00:00
the_fiddler 921944ce90 Added ColorWritemask to GetIndexedPName. Fixes issue [#2509]: "Missing GetIndexedPName.ColorWritemask as GetBoolean parameter". 2011-07-26 12:35:50 +00:00
the_fiddler c7bc4bffe1 Added missing tokens for ARB_texture_buffer_object (core since GL3.1). Fixes issue [#2615]: "GetPName.MaxTextureBufferSize is missing". 2011-07-26 12:14:17 +00:00
the_fiddler 47312a7a30 Updated OpenGL signatures using gl.spec revision 15037 (06 July 2011). 2011-07-26 11:55:13 +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 08709e985f * Structures/Enum.cs: Marked code that needs to be refactored. 2011-07-20 10:08:27 +00:00
the_fiddler 184ffc19fc Add APIENTRY to allow calling convention definitions. 2010-12-07 01:26:11 +00:00
the_fiddler 9664a2a57e Use namespaces instead of structs, since C++ does not support partial structures (which are necessary for the core/compatibility split). 2010-12-06 22:32:47 +00:00
the_fiddler fed983f51f Keep a reference to the file being read. 2010-12-06 22:32:11 +00:00
the_fiddler b4839fd78b Improved argument parsing code. 2010-12-06 15:19:45 +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 1c8a0b2bda * CppSpecWriter.cs: Do not use macros to define enumerations, as
this makes debugging difficult.
2010-12-06 10:26:06 +00:00
the_fiddler c09a6dc34b * CppSpecWriter.cs: Do not allow namespaces that start with a digit. 2010-12-06 09:52:05 +00:00
the_fiddler b74d3339a3 * CppSpecWriter.cs: Added inclusion guards to gldefs++ header. 2010-12-06 00:50:36 +00:00
the_fiddler d6484bd630 * CppSpecWriter.cs: Renamed output files to gldef++.
Added preprocessor macros for enum generation.
2010-12-06 00:46:23 +00:00
the_fiddler b4a6448261 * Main.cs: Do not use "/" as a separator, because this breaks
filesystem paths on Unix.
2010-12-05 22:58:20 +00:00
the_fiddler d542896f59 * CppSpecWriter.cs: Fixed indentation for #if-#endif directives. 2010-12-05 22:58:05 +00:00
the_fiddler 4f6de33c10 * CppSpecWriter.cs: Fixed enumeration of deprecated functions.
Fixed declaration of Init() methods.
2010-12-05 16:28:30 +00:00
the_fiddler 24bba46fa4 * CppSpecWriter.cs: Fixed namespace paths for delegate loader. 2010-12-05 16:19:49 +00:00
the_fiddler 490bb5312d * CppSpecWriter.cs: Replace String[] parameters by String*, as the
former is not valid C++ syntax.
2010-12-05 16:03:42 +00:00
the_fiddler 1d9c62b324 * CppSpecWriter.cs: Remove unnecessary transformation for namespace
separators.
2010-12-05 15:54:14 +00:00