3.7 KiB
3.7 KiB
Changelog
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
[0.4.3] - 2022-07-30
Fixed
-
Fixed a deadlock in the
native-activitybackend while waiting for the native thread after getting anonDestroycallback from Java (#94) -
Fixed numerous deadlocks in the
game-activitybackend with how it would wait for the native thread in various Java callbacks, after the app has returned fromandroid_main(#98)
[0.4.2] - 2022-06-17
Changed
- The
Activity.finish()method is now called whenandroid_mainreturns so theActivitywill be destroyed (#67) - The
native-activitybackend now propagatesNativeWindowredraw/resize andContentRectChangedcallbacks to main loop (#70) - The
game-activityimplementation ofpointer_index()was fixed to not always return0(#80) - Added
panicguards around application'sandroid_main()and native code that could potentially unwind across a Java FFI boundary (#68)
[0.4.1] - 2022-02-16
Added
- Added
AndroidApp::vm_as_ptr()to expose JNIJavaVMpointer (#60) - Added
AndroidApp::activity_as_ptr()to expose AndroidActivityJNI reference as pointer (#60)
Changed
- Removed some overly-verbose logging in the
native-activitybackend (#49)
Removed
- Most of the examples were moved to https://github.com/rust-mobile/rust-android-examples (#50)
[0.4] - 2022-11-10
Changed
- Breaking:
input_eventscallback now return whether an event was handled or not to allow for fallback handling (#31) - The native-activity backend is now implemented in Rust only, without building on
android_native_app_glue.c(#35)
Added
- Added
Pointer::tool_type()API toGameActivitybackend for compatibility withndkevents API (#38)
[0.3] - 2022-09-15
Added
show/hide_sot_inputAPI for being able to show/hide a soft keyboard (other IME still pending)set_window_flags()API for setting WindowManager params
Changed
- Breaking: Created extensible,
#[non_exhaustive]InputEventwrapper enum instead of exposingndktype directly
[0.2] - 2022-08-25
Added
- Emit an
InputAvailableevent for new input withNativeActivityandGameActivityenabling gui apps that don't render continuously - Oboe and Cpal audio examples added
AndroidAppis nowSend+Sync
Changed
- Breaking: updates to
ndk 0.7andndk-sys 0.4 - Breaking:
AndroidApp::config()now returns a clonableConfigurationRefinstead of a deepConfigurationcopy
Removed
- The
NativeWindowRefwrapper struct was removed sinceNativeWindownow implementsCloneandDropinndk 0.7 - Breaking: The
FdEventandErrorenum values were removed fromPollEvents
[0.1.1] - 2022-07-04
Changed
- Documentation fixes
[0.1] - 2022-07-04
Added
- Initial release