-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New module lnjscheme #387
base: master
Are you sure you want to change the base?
New module lnjscheme #387
Commits on Nov 2, 2020
-
ANDROID: additional error checking on JNI an more
1.) Android 9/10 restricts access to JNI and Jave reflection API's. This adds additional checks. Commented out an possible optimization, which could be assumed to works, but does not for me so far. Please leave this comment in, so we recall before we wonder why and try over and over again. Once in a while we should ponder if it still does not work or why. 2.) Clear Java exceptions. This enables to continue to run when an exception occured during a JNI call. (Future versions shall forward this as an exception in Gambit.) 3.) Avoid some JNI calls and provide more information about the Java/Android environment to Scheme. This is required for (upcoming) tricks to still call embedded dynamic libraries as subprocesses. It also enables to figure out a sane path to store app-private data instead of the deprecated hard coding of the publicly accessible path `/sdcard`. 4.) Add support to switch the apps content view to Java and back. An upcoming module `webview` will need this.
Configuration menu - View commit details
-
Copy full SHA for d6cfb90 - Browse repository at this point
Copy the full SHA d6cfb90View commit details -
LNjSCHEME: new module lnjscheme - call any Androi API without JNI
Any not-so-time-critical Android API/Java Method - except those restricted Android itself may be called without adding JNI code.
Configuration menu - View commit details
-
Copy full SHA for 844b369 - Browse repository at this point
Copy the full SHA 844b369View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7f67e5 - Browse repository at this point
Copy the full SHA f7f67e5View commit details
Commits on Nov 4, 2020
-
CORE: log exceptions with context (part-cw#388)
Co-authored-by: Matthias Görges <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6dae46 - Browse repository at this point
Copy the full SHA f6dae46View commit details
Commits on Nov 7, 2020
-
GLCORE: Performance optimizations (part-cw#385)
Remove use of length, repeated list traversals and combinations of apply+append.
Configuration menu - View commit details
-
Copy full SHA for 9b3d9e3 - Browse repository at this point
Copy the full SHA 9b3d9e3View commit details -
CAMERA: use FileProvider on Android to read and write data (part-cw#380)
Apps that use FileProvider to pass URIs to activities must include ANDROID_xml_services and xml/file_paths.xml. Also fixes build-binary to locate the support.v4 library needed for FileProvider. Finally, use onRequestPermissionsResult to bootstrap.java.in to fix permission requests hanging.
Configuration menu - View commit details
-
Copy full SHA for 0527fb9 - Browse repository at this point
Copy the full SHA 0527fb9View commit details
Commits on Nov 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for eabcc49 - Browse repository at this point
Copy the full SHA eabcc49View commit details
Commits on Nov 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fc59681 - Browse repository at this point
Copy the full SHA fc59681View commit details -
ANDROID: change sys_appdir to use getFilesDir() part-cw#386
Avoid some JNI calls and provide more information about the Java/Android environment to Scheme. Co-authored-by: Matthias Görges <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7312d92 - Browse repository at this point
Copy the full SHA 7312d92View commit details -
ANDROID: Additional error checking on JNI part-cw#386
1) Android 9/10 restricts access to JNI and Jave reflection API's. This adds additional checks. Commented out an possible optimization, which could be assumed to works, but does not for me so far. Please leave this comment in, so we recall before we wonder why and try over and over again. Once in a while we should ponder if it still does not work or why. 2) Clear Java exceptions. This enables to continue to run when an exception occured during a JNI call. (Future versions shall forward this as an exception in Gambit.)
Configuration menu - View commit details
-
Copy full SHA for c2585dc - Browse repository at this point
Copy the full SHA c2585dcView commit details -
5
Configuration menu - View commit details
-
Copy full SHA for 7561c9a - Browse repository at this point
Copy the full SHA 7561c9aView commit details
Commits on Nov 13, 2020
-
LN_GLCORE Fix bug introduced in 9b3d9e3 when using multiple colors
Problem stems from conversion of apply to case-based approach which didn't consider that colors in glCore:TextureDrawUnClipped is now a list of lists. Also patched glCore:TextureDrawClipped
Configuration menu - View commit details
-
Copy full SHA for cbea39a - Browse repository at this point
Copy the full SHA cbea39aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f656d1 - Browse repository at this point
Copy the full SHA 1f656d1View commit details
Commits on Nov 19, 2020
-
ANDROID: additional error checking on JNI an more
1.) Android 9/10 restricts access to JNI and Jave reflection API's. This adds additional checks. Commented out an possible optimization, which could be assumed to works, but does not for me so far. Please leave this comment in, so we recall before we wonder why and try over and over again. Once in a while we should ponder if it still does not work or why. 2.) Clear Java exceptions. This enables to continue to run when an exception occured during a JNI call. (Future versions shall forward this as an exception in Gambit.) 3.) Avoid some JNI calls and provide more information about the Java/Android environment to Scheme. This is required for (upcoming) tricks to still call embedded dynamic libraries as subprocesses. It also enables to figure out a sane path to store app-private data instead of the deprecated hard coding of the publicly accessible path `/sdcard`. 4.) Add support to switch the apps content view to Java and back. An upcoming module `webview` will need this.
Configuration menu - View commit details
-
Copy full SHA for 5b3e1ad - Browse repository at this point
Copy the full SHA 5b3e1adView commit details -
LNjSCHEME: new module lnjscheme - call any Androi API without JNI
Any not-so-time-critical Android API/Java Method - except those restricted Android itself may be called without adding JNI code.
Configuration menu - View commit details
-
Copy full SHA for 4aeb1cc - Browse repository at this point
Copy the full SHA 4aeb1ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for da5726b - Browse repository at this point
Copy the full SHA da5726bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d689216 - Browse repository at this point
Copy the full SHA d689216View commit details -
Merge branch 'pr-module-lnjscheme' of github.com:0-8-15/lambdanative …
…into pr-module-lnjscheme
Configuration menu - View commit details
-
Copy full SHA for 9a370ca - Browse repository at this point
Copy the full SHA 9a370caView commit details
Commits on Nov 20, 2020
-
ANDROID: moved setContentView to after permissions
Calling setContentView between permission requests would cause some apps to hang. This problem was previously addressed by adding a shell override function for onRequestPermissionResult, which is no longer needed and is removed in this commit
Configuration menu - View commit details
-
Copy full SHA for d842fa8 - Browse repository at this point
Copy the full SHA d842fa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5789272 - Browse repository at this point
Copy the full SHA 5789272View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b9d3dc - Browse repository at this point
Copy the full SHA 6b9d3dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c70a6c - Browse repository at this point
Copy the full SHA 2c70a6cView commit details
Commits on Nov 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4c46e18 - Browse repository at this point
Copy the full SHA 4c46e18View commit details
Commits on Nov 23, 2020
-
- #defines LAMBDANATIVE_JNI_VERSION to JNI_VERSION_1_4 - uses `jint` as if it was an opaque type - checks via GetEnv before attaching a thread (there are claims on the Internet that this may save some overhead) - use AttachCurrentThreadAsDaemon instead of AttachCurrentThread for gut feeling
Configuration menu - View commit details
-
Copy full SHA for 84b221e - Browse repository at this point
Copy the full SHA 84b221eView commit details -
ANDROID: make mGLView static and initialization once only
This appears to be the correct way and seems to actually solve the issue observed and not fixed by da86a5160 ff.
Configuration menu - View commit details
-
Copy full SHA for 93485a1 - Browse repository at this point
Copy the full SHA 93485a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dfe4cc - Browse repository at this point
Copy the full SHA 5dfe4ccView commit details
Commits on Nov 24, 2020
-
Revert "LNjSCHEME: revert change breaking things"
This reverts commit 5dfe4cc.
Configuration menu - View commit details
-
Copy full SHA for 138c742 - Browse repository at this point
Copy the full SHA 138c742View commit details