Skip to content
Permalink
Branch: master
Commits on May 26, 2019
  1. Doing some minor code cleanup and adding some PInvokeGenerator tests (#…

    tannergooding committed May 26, 2019
    …50)
    
    * Moving the IsFromMainFile check from the traverser to the writer
    
    * Fixing up the structured traverser to always build a full tree for release mode.
    
    * Modifying the command option aliases to be a single dash
    
    * Adding a ClangSharpPInvokeGenerator test project
Commits on May 25, 2019
  1. Implementing a structured traverser so the writer can have the full s…

    tannergooding committed May 25, 2019
    …tate (#49)
    
    * Implementing a structured cursor traverser
    
    * Rewriting the CursorWriter to use the new structured traverser
Commits on May 12, 2019
  1. Minor fixups to provide better diagnostics and notes on what should b…

    tannergooding committed May 12, 2019
    …e done. (#47)
    
    * Some minor fixups to try and ensure we handle things appropriately
    
    * Print diagnostics so users know when there are potential parsing issues.
Commits on May 11, 2019
  1. Adding support for parsing expressions attached to EnumConstantDecl (#45

    tannergooding committed May 11, 2019
    )
    
    * Changing the generator to traverse implicit attributes and skip function bodies.
    
    * Adding support for parsing expressions attached to EnumConstantDecl
    
    * Regenerating ClangSharp
Commits on May 10, 2019
Commits on May 9, 2019
  1. Support multi file generation in the Binding generator (#43)

    tannergooding committed May 9, 2019
    * Adding some basic support for multi-file generation.
    
    * Regenerating the ClangSharp as multi-file
    
    * Adding an OutputBuilder so we don't continuously open/close file streams
    
    * Changing the writer to only emit required usings
Commits on Apr 30, 2019
Commits on Apr 29, 2019
  1. More improvements to the P/Invoke Binding Generator (#40)

    tannergooding committed Apr 29, 2019
    * Reordering the command line options to make it clearer which short names are taken.
    
    * Start carrying around writer specific options in a ConfigurationOptions type
    
    * Moving the cursor and type helpers into CursorWriter
    
    * Adding some preliminary support for generating unsafe code.
    
    * Changing the default traversal behavior to be two passes, rather than 4
    
    * Fixing the handling of result types for typedef'd function prototypes
    
    * Mark partial structs and classes as unsafe if generating unsafe code
    
    * Fixing Constant/IncompleteArray parameters to be `out`
Commits on Apr 28, 2019
  1. Fixing some issues in the writer and how parmCount is tracked (#38)

    tannergooding committed Apr 28, 2019
    * Fixing some issues in the writer and how parmCount is tracked
    
    * Regenerating ClangSharp
  2. Adding some additional fixups allow LLVMSharp to be regenerated (#37)

    tannergooding committed Apr 28, 2019
    * Adding some additional fixups allow LLVMSharp to be regenerated
    
    * Implicitly recognize some more typedef names from stddef.h
    
    * Fixing a Write vs WriteLine call
Commits on Apr 26, 2019
  1. Rewrite the ClangSharpPInvokeGenerator to allow better reuse and to b…

    tannergooding committed Apr 26, 2019
    …e more explicit (#34)
    
    * Performing some cleanup of the OOP methods, primarily to fix debugging
    
    * Adding a launchSettings.json so that F5 regenerates ClangSharp
    
    * Rewriting ClangSharpPInvokeGenerator
    
    * Regenerating ClangSharp and updating OOP extensions
    
    * Removing the dependency on S.R.CompilerServices.Unsafe and fixing the launchSettings to be machine independent
Commits on Apr 24, 2019
  1. Merge pull request #32 from tannergooding/wrapper2

    mjsabby committed Apr 24, 2019
     Adding more extensions to expose APIs in an object oriented manner.
  2. Adding a test and rewriting ClangSharpPInvokeGenerator to use the new…

    tannergooding committed Apr 24, 2019
    … extensions
Commits on Apr 23, 2019
  1. Merge pull request #31 from tannergooding/wrapper

    mjsabby committed Apr 23, 2019
    Adding various extensions to expose APIs in a object oriented manner.
  2. Merge pull request #29 from tannergooding/args

    mjsabby committed Apr 23, 2019
    Adding support for more
  3. Merge pull request #28 from tannergooding/8.0.0

    mjsabby committed Apr 23, 2019
    Running /t:GenerateClangSharp for the 8.0.0 release
  4. Running /t:GenerateClangSharp for the 8.0.0 release

    tannergooding committed Apr 23, 2019
Commits on Jul 7, 2018
  1. Merge pull request #21 from benpye/clang6

    mjsabby committed Jul 7, 2018
    Update for Clang 6 and .NET standard
Commits on Jul 4, 2018
  1. Fixes for clang6 on Windows

    SolalPirelli authored and benpye committed Jul 4, 2018
    * Update build.bat to match build.sh
    
    * Add heuristic for typedefs-in-system-headers detection, fixes size_t issue
    
    * Force newlines to be Unix (to avoid crazy git diffs)
    
    * Update the generated file
    
    * Make VFO test OS-agnostic
    
    * Fix string marshalling since clang uses utf-8; add regression tests.
    
    * Add editorconfig, set newlines/charset everywhere, add .vs to gitignore
    
    * Don't print extra white space at the end of struct fields
    
    * Use dotnet msbuild to build ClangSharp instead of platform-specific scripts
    
    * Force ints for enums if possible, for cross-plat
    
    * Fix interpretation of typedefs, for cross-plat
Commits on Apr 15, 2018
  1. [WIP] Translate upstream libclang unit tests

    benpye committed Apr 13, 2018
  2. Update to Clang 6

    benpye committed Apr 13, 2018
  3. Add --excludeFunctions command line argument

    amaitland authored and benpye committed Nov 9, 2017
    Exclude functions that are manually defined in Generated.Custom.cs
  4. Handle CXType_Elaborated

    benpye committed Apr 15, 2018
  5. Move to .NET Standard projects

    benpye committed Apr 13, 2018
Commits on May 6, 2017
  1. Merge pull request #15 from stanionascu/clang5

    mjsabby committed May 6, 2017
    Properly handle CXTypeKind.CXType_Elaborated
Commits on Mar 19, 2017
Older
You can’t perform that action at this time.