Skip to content

Releases: gotranspile/cxgo

v0.4.0

06 Jul 11:34
Compare
Choose a tag to compare

Changelog

  • 06fa8d2 Add support for GLFW/glfw3.h
  • 6d93194 Added errno values (#67)
  • 1cde7e0 Automatic RegisterLibrary for embedded includes (#68)
  • 9e9544f Changed placement of include files
  • 14418eb Extract headers from go sources to h files
  • 4a0d2b1 Fix header registry.
  • e489b85 Fix panic for typdef void (#65)
  • d48145f This is a quick implementation for the putchar(c) just by replacing calls with putc(c, stdio).
  • c7e2713 Unify header registry with custom types and identifiers.
  • a739cda cxgo: Add new test case for a discovered bug.
  • 52ac65b cxgo: Allow disabling libs and remapping includes.
  • bdc666f cxgo: Allow keeping free() calls.
  • 38570a8 cxgo: Allow overriding glob configs.
  • 0df0dd7 cxgo: Better error messages for slice hint.
  • 7495c5f cxgo: Better error when converting types.
  • c37b0f6 cxgo: Check a different rel path syntax as well.
  • 182293c cxgo: Convert dynamic C arrays to slices.
  • a0e0548 cxgo: Correctly format negative integers with a custom base.
  • b5c3dbf cxgo: Do not split package when converting a single file.
  • b45431d cxgo: Fix a few issues with int conversions.
  • d039b93 cxgo: Fix crash when checking declaration specs.
  • 7ee96b8 cxgo: Fix file path when converting single file.
  • b3cfa47 cxgo: Fix remapping, make it work for local includes.
  • 79d8d4e cxgo: Generate "do not edit" comments.
  • 6d30911 cxgo: Option to export struct fields in single file mode.
  • 17065b7 cxgo: Preserve int literal formatting.
  • 81b4a91 cxgo: Properly convert untyped float consts to int.
  • 8ec43f7 cxgo: Properly return usages from func decl.
  • 120c81d deps: Replace math32 library. Fixes #61.
  • d626074 deps: Update dependencies including CC.
  • e99ed1a fix GetFramebufferSize signature
  • 2987159 latest installation cmd added
  • aee4bf7 libc: Fix fabsf signature.
  • ab3cfb3 libs: Add a few more stub headers.
  • d75dfea libs: Add bzlib stubs.
  • c363a3f libs: Add memory.h stub.
  • f084eb8 libs: Minimal support for strings.h.
  • 105caa8 libs: Minor fixes to math lib.
  • f6a1096 libs: implement OpenGL functions
  • 9a8147e runtime: Do not use linkname. Fixes #74.

v0.3.7

16 Oct 12:51
Compare
Choose a tag to compare
  • Allow adding source files via config (ca028ff)
  • Support type hints for function return type (786bc16)
  • Use any instead of empty interface (e739eb6)
  • Significantly improve support for Go slices (fc83063)
  • Better errors for unknown operands (081a530)
  • Allow converting strings to bytes directly (8e1d8f1)
  • Support strndup (f825adc)
  • Remove strdup/strndup when cloning Go strings (aeacff3)
  • Recognize abort-like patters for assert (2e3e90d)
  • Inline sizeof for bytes array (f921f98)
  • Fix unnecessary enum casts (3c97eef)
  • Dereference first element directly (53c1d05)
  • Do not cast runes to int (7c95ef6)
  • Rewrite assert statements (f05df98)

Full Changelog: v0.3.6...v0.3.7

v0.3.6

04 Sep 12:39
Compare
Choose a tag to compare

Changelog

v0.3.5

31 Jul 10:02
Compare
Choose a tag to compare

Full Changelog: v0.3.4...v0.3.5

v0.3.4

02 Jun 11:46
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.3...v0.3.4

v0.3.3

22 May 07:39
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.2...v0.3.3

v0.3.2

07 Jan 14:03
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.1...v0.3.2

v0.3.1

15 Sep 10:06
Compare
Choose a tag to compare

Changelog

ed62694 Add newline after CHAR_BIT definition in limits.h
cf3a7e7 Add windows stubs
ac40214 RAND_MAX (#15)
ce9b713 builtin: define ptrdiff_t and size_t; fixes #33
bd6831f constants
d4b2d9f cxgo: assign arg names automatically when only some are set
29aec51 cxgo: properly preserve unused expr statements; fixes #13
4952273 cxgo: require Go 1.16
121362e cxgo: use GetLibrary in more places; fixes #26
803c094 deps: update cc/v3
18fb1b5 libs/math: support fmod function
1d064da support typed strings
5b77c74 update parser
0435ecd update parser (#17)

v0.3.0

20 Feb 00:17
Compare
Choose a tag to compare

Changelog

47a15b5 cxgo: convert simple macro const usages to idents
34f6b27 cxgo: convert string constant defines
7a1200c cxgo: fix regression with array indexes
610f147 cxgo: fix regression with builtin macros
e99683c cxgo: handle nested struct initializers
13be078 cxgo: move sdl package to a separate repo
ca96cb3 cxgo: properly convert loops with multiple inits
3bcca12 deps: update cc to v3.31.1
9aa1f6d libs/limits: correctly print large int constants
7597bdb libs/time: support CLOCKS_PER_SEC

v0.2.1

07 Feb 09:35
Compare
Choose a tag to compare

Changelog

b6d53fd cxgo: make macro order stable
bbd1132 cxgo: rewrite free instead of relying on the preprocessor