Commit graph

32 commits

Author SHA1 Message Date
thefiddler d68c31a561 [Bind] Move documentation generation to DocProcessor class
This de-duplicates a large amount of code that is shared between the
various ISpecWriter implementations.
2014-03-31 17:09:30 +02:00
thefiddler 243f41b83f [Bind] Use DocumentationParameter instead of KeyValuePair 2014-03-30 10:43:30 +02:00
thefiddler 033e0b7155 [Bind] Concatenate multiline documentation 2014-03-30 10:29:11 +02:00
thefiddler 67b0ead68b [Bind] Process documentation from subdirectories
Instead of using xslt, we now process the documentation in code. This
allows us to fix mismatches from e.g. invalid parameter names that
sometimes creep in the specs.
2014-03-28 20:08:38 +01:00
Stefanos A. c1cb70d215 Improve indentation for doc comments
Doc comments are now split at their source, as a first step in
normalizing their indentation between VS and MD.
2013-11-10 09:12:42 +01:00
Stefanos A. 33e6a6eae2 Avoid singletons
A reference to a Settings instance must now be stored explicitly.
2013-11-01 09:26:13 +01: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 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 f3bf5b866a Modified CppSpecWriter to generate single-file bindings. 2011-09-26 11:18:57 +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 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 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
the_fiddler 828f0c0a8b * CppSpecWriter.cs: Fixed handling of return types in wrappers.
Removed [OutAttribute] from the header.
2010-12-05 15:33:09 +00:00
the_fiddler a5924bb414 * CppSpecWriter.cs: FIxed handling of enum parameters.
Moved delegates to private structures.
2010-12-05 15:26:54 +00:00
the_fiddler 3594036be4 * CppSpecWriter.cs: Added definitions for GL types. 2010-12-05 11:52:51 +00:00
the_fiddler fe37db4077 * CppSpecWriter.cs: Move 3dfx namespace to T3dfx, since namespaces
may not start with a digit.
2010-12-05 11:32:49 +00:00
the_fiddler 4e9edea02b * CppSpecWriter.cs: Fixed declaration of function pointers. Modified
to use the delegate-wrapper paradigm, instead of exposing function
  pointers directly. This way we can rely on the compiler for overload
  resolution.
2010-12-05 10:47:06 +00:00
the_fiddler 99e9531b1e * CppSpecWriter.cs: Defined Init() methods, declared all OpenGL
functions and fixed the formatting of the header.
2010-12-05 09:51:36 +00:00
the_fiddler 6b95ee466a * CppSpecWriter.cs: Added constructor declaration. 2010-12-05 09:08:57 +00:00
the_fiddler 9feb6a6b7c * CppSpecWriter.cs: Mark deprecated functions. 2010-12-05 08:48:44 +00:00
the_fiddler 778ddbe0e8 * CppSpecWriter.cs: Improved C++ output (still needs work). 2010-12-05 02:20:18 +00:00
the_fiddler 0eef1c3629 Saner handling of various settings.
Improved C++ spec writer (still needs a lot of work).
2010-12-03 12:06:36 +00:00
the_fiddler 3021f668ad Re-added missing gl.tm file.
Added initial C++ spec writer.
Refactored IBind and ISpecWriter interfaces.
2010-12-03 10:21:50 +00:00