Skip to content

Releases: Superbelko/ohmygentool

Maintenance release

12 Aug 17:17
f1686bc
Compare
Choose a tag to compare

Maintenance release that adds clang14 support, no new features added.

  • Fixed a minor bug with struct construction in some cases, e.g. when returning struct with NRVO.
Vec3 makevec() 
{
    Vec3 v = Vec(1,2,3);
    return v;  // this was instead rewritten as return Vec3(v)
}

This and a new copy constructors in D makes such code to emit an error telling about being unable to generate inout copy constructor.

v0.4.0

06 Jun 09:40
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Templates related improvements, less manual edits after generation esp. manual casts, better bitfields support

New features:
Support pragma mangle on aggregates (new in D v2.097), this makes it possible to slap pragma mangle on struct/class with reserved name in D, such as std::function (previously one had to add pragma mangle to every method in it, making it practically impossible on templates as every instantiation has to be covered manually)

extern(C++, "std")
pragma(mangle, "function")
struct function_ {
 // ... 
}

Windows binaries are built with LDC2 1.2.6, MSVS 2019 16.9.10, libclang version v12.0.1

v0.3.0

05 May 06:27
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Better translation, improved correctness, less crashes.

Windows binaries are built with LDC2 1.2.6, MSVS 2019 16.9.4, libclang version v12.0.rc-5

v0.2.0

22 Nov 16:43
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Better language support and stability.

Note: These binaries will not work on Windows 7 or older versions.

v0.1.0

02 Feb 09:28
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Has many improvements over last release, but still not really that useful against real code bases.

Two main changes:

  • It now processes templated method bodies when available
  • It tries to process all functions bodies that are present in header file to avoid link problems due to inlining

Linux version built on Ubuntu 18.10

gentool 0.0.3

20 Dec 04:50
Compare
Choose a tag to compare
gentool 0.0.3 Pre-release
Pre-release

Linux version is built with clang 7 on Ubuntu 18.10
Windows version is built with VS 2017 15.9

gentool 0.0.2

29 Nov 06:41
Compare
Choose a tag to compare
gentool 0.0.2 Pre-release
Pre-release

Linux version is built with clang 7 on Ubuntu 18.10
Windows version is built with VS 2017 15.8

First public release

23 Oct 04:43
Compare
Choose a tag to compare
First public release Pre-release
Pre-release

Linux version is built with clang 6 on Mint 19 (Ubuntu 18.04) using GCC 7.3 toolchain
Windows version is built with VS 2017 15.8