Mads Marquart

Results 256 issues of Mads Marquart

It would be especially cool if we could re-use the debugging support that LLDB already contains for Foundation types like `NSString` and `NSArray`. [The unstable `#![debugger_visualizer]` attribute](https://github.com/rust-lang/rust/issues/95939) is probably the...

enhancement
A-objc2
A-framework

Notably, GCC's `libobjc` runtime is very old and doesn't have `objc_autorelease` and similar, but maybe we could still use the limited Objective-C support is has for the few cases where...

enhancement
A-objc2

The unstable [`reorder_impl_items`](https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#reorder_impl_items) rustfmt option currently breaks `declare_class!`.

bug
A-objc2

It would be nice if `icrate` could mark certain protocols / methods as safe to override, such that `declare_class!` could (after checking that all types are the same) allow just...

enhancement
A-objc2
A-framework

Calling a super method is (with the below restrictions) as safe as calling regular methods. Since doing so is a common requirement, e.g. in initializers, or when subclassing e.g. `NSView`,...

enhancement
question
A-objc2
A-framework

My plan was to do something like: 1. Run the "collection" part of `header-translator` (e.g. `main.rs::parse_sdk`) for each platform 2. Compare the output against each other: - For each framework,...

help wanted
A-framework

We effectively have to translate C code to Rust - but since most of these are very simple, we can probably get quite far with a few tricks. Probably also...

enhancement
A-framework

In https://github.com/madsmtm/icrate-generated/commit/fe934af15ee6bed27b6cf72d3c40cf22ffbc18db, I noticed that some feature-flags were not correctly identified, it seems that forward declarations like `@class MyClass` is picked up as the definition of the class instead, and...

bug
A-framework

`clang` has functionality for loading, which is in part how Swift gets their nice `import Foundation.NSString`. We should use that in `header-translator` too, especially for feature-gating things (instead of feature-gating...

enhancement
help wanted
A-framework