8b3a956bbe
Comprehensive update, add some GC fixes, update examples to new MacOS
...
header file layout.
2020-06-24 13:03:53 -04:00
acc8cab583
Fix various memory management bugs in GC mode.
2019-06-27 11:41:58 -04:00
9a4fabda24
Run gofmt -w on everything. Add 'gogc' option to use Go garbage
...
collector for memory management.
2019-06-11 12:38:22 -04:00
f93a893060
Bug fix in Objective-C method signature parsing.
2019-06-04 13:01:51 -04:00
a7df3a4e71
Enable -fobjc-arc for AST generation when arc=true in nswrap.yaml.
...
This still doesn't work
2019-05-31 16:28:51 -04:00
a2d0f9bc4f
Change domain name in package path.
2019-05-29 12:57:53 -04:00
86ff14b533
A few small fixes.
2019-05-24 15:40:01 -04:00
34fbcec965
Subclasses can have new methods in addition to overriding existing
...
methods (first draft).
2019-05-24 12:36:01 -04:00
38c7856b89
Bug fix and start improvements to subclassing.
2019-05-24 00:12:46 -04:00
a616761475
Change Go types to plain structs instead of pointers to structs.
...
Add methods for protocols that Objective-C interfaces claim to
implement. Separate class methods from instance methods in
internal data structures. Add layout constraints with visual
formats to examples/app. Fix typedefs for wrapped objective-c
object types.
2019-05-23 16:31:47 -04:00
4f6930002d
First draft that handles subclasses and improvements to delegate
...
implementation.
2019-05-21 16:26:52 -04:00
b00ecd4ac0
Switch from toml to yaml for configuration files. Begin scaffolding
...
for Protocols and Delegates.
2019-05-09 12:25:45 -04:00
511f2f1968
Improve type handling for enums. Handle "__kindof" qualifiers.
...
Add examples/app. Allow VisibilityAttr "Hidden".
2019-05-06 13:21:36 -04:00
eced251710
Create GoString helper methods for anything that has a "WithString"
...
method. Multiple bug fixes in type system, fixed parsing of id,
instancename and instancetype, allow NullableAnnotations after
generic lists (e.g. "id<ObjectType> _Nullable"). Helper function
to identify types that are function pointers.
2019-05-03 13:14:30 -04:00
3573aa9144
Change Go types to simple unsafe Pointers instead of pointers
...
wrapped in structs. It could be possible to handle pointers to
pointers now.
2019-04-30 09:14:25 -04:00
0e89d2c29a
Do not memoize type parser as it causes bugs with typedefs,
...
'instancetype' etc. Clean up typedefs and type parameters as
soon as Types are created.
2019-04-30 06:59:05 -04:00
c03e37bd54
Make a Go Interface instead of a struct for top level objects.
...
Use a new struct Id as a concrete version of that type.
2019-04-29 11:46:48 -04:00
c0c17e88d1
Fix to go type declarations.
2019-04-29 10:37:43 -04:00
977a09e77e
Better handling of multiple classes and input files. Handle
...
Objective C type parameter declarations. Check Typedefs when
determining if a Type is a pointer or a function.
2019-04-26 22:44:30 -04:00