forked from part-cw/lambdanative
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit cc553af Merge: 7c61dd9 c58528f Author: Jörg F. Wittenberger <[email protected]> Date: Sun Nov 29 15:41:58 2020 +0100 Merge branch 'merge-upstream-silly-rename-of-lnjscheme-to-ln_jscheme' of ssh://github.com/0-8-15/lambdanative into development commit c58528f Merge: 54bc984 51dfeed Author: Jörg F. Wittenberger <[email protected]> Date: Sun Nov 29 15:35:38 2020 +0100 Merge branch 'master' of https://github.com/part-cw/lambdanative into merge-upstream-silly-rename-of-lnjscheme-to-ln_jscheme commit 51dfeed Author: Peter Lewis <[email protected]> Date: Fri Nov 27 11:57:52 2020 -0800 ANDROID: request permissions from Manifest This reads permissions from the manifest and requests all that are needed. Apps and modules should add necessary permissions to ANDROID_xml_permissions. Moved the initial setContentView back to before @ANDROID_JAVA_ONCREATE@ so that apps can set a content view in ANDROID_java_oncreate commit 1e4c9f3 Author: 0-8-15 <[email protected]> Date: Thu Nov 26 22:25:11 2020 -0800 WEBVIEW: Add another webview - ANDROID only! (part-cw#387) Moved the 'webview' script from DemoAndroidLNjScheme into a module of its own; this module is a bit of a stub. Might receive updates to become a nicer looking browser. Meanwhile still intended to showcase how to call Java via jScheme commit 1cbc09b Author: 0-8-15 <[email protected]> Date: Thu Nov 26 22:14:54 2020 -0800 LN_JSCHEME: New module to call any Android API without JNI (part-cw#387) Moves LNjScheme from DemoAndroidLNjScheme to its own module. Also updates DemoAndroidLNjScheme to use of ln_jscheme and webview commit 7e6fcb3 Author: 0-8-15 <[email protected]> Date: Thu Nov 26 21:25:10 2020 -0800 EVENTLOOP: Add support for a new jScheme related event (part-cw#387) Allocates a single event number (126) and dispatches it to a possibly registered receiver - or is ignored as before. commit 20b33a1 Author: 0-8-15 <[email protected]> Date: Thu Nov 26 01:38:46 2020 -0800 ANDROID: Fix rendering freeze upon startup commit 7c61dd9 Author: Jörg F. Wittenberger <[email protected]> Date: Tue Nov 24 20:07:56 2020 +0100 NATIVE-KEYPAD+ANDROID: more error checking in JNI commit 9d8e809 Author: Jörg F. Wittenberger <[email protected]> Date: Tue Nov 24 14:20:44 2020 +0100 ANDROID: fix rendering freeze upon startup commit c77a547 Author: Jörg F. Wittenberger <[email protected]> Date: Tue Nov 24 12:58:39 2020 +0100 ANDROID: try harder to handle onStop and onPause Note: This is at the moment meant for evaluation. Works for me, can't break it. However if this is going to be the final call, those file names ANDROID_java_oncreate are no longer telling exactly where the code ends up. That's bad, bnut renaming them is likely even worse. commit c351669 Merge: 6e0c757 8d0d7ed Author: Jörg F. Wittenberger <[email protected]> Date: Tue Nov 24 12:57:32 2020 +0100 Merge branch 'stable-0815' of ssh://github.com/0-8-15/lambdanative into development commit 6e0c757 Author: Jörg F. Wittenberger <[email protected]> Date: Mon Nov 23 21:43:02 2020 +0100 LNjSCHEME: revert change breaking things commit 865b6c7 Author: Jörg F. Wittenberger <[email protected]> Date: Mon Nov 23 21:24:30 2020 +0100 LNjSCHEME: make initialization once only Also move ANDROID_xml_permissions to webview, where they belong. commit 603d630 Author: Jörg F. Wittenberger <[email protected]> Date: Mon Nov 23 20:54:57 2020 +0100 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. commit fa19aa9 Author: Jörg F. Wittenberger <[email protected]> Date: Mon Nov 23 19:20:12 2020 +0100 JNI: conservative coding - #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 commit 70752a2 Author: Jörg F. Wittenberger <[email protected]> Date: Sun Nov 22 16:56:37 2020 +0100 JNI: be careful to free local references commit 34ccd0d Author: Jörg F. Wittenberger <[email protected]> Date: Sun Nov 22 13:01:30 2020 +0100 ANDROID: use systemapp directry commit 270193a Author: Jörg F. Wittenberger <[email protected]> Date: Sun Nov 22 12:58:40 2020 +0100 ANDROID: do not call ReleaseStringUTFChars with an unrelated pointer commit c752898 Author: Jörg F. Wittenberger <[email protected]> Date: Sat Nov 21 14:26:16 2020 +0100 ANDROID: error out when build requires to write system directories commit d3dd374 Author: Jörg F. Wittenberger <[email protected]> Date: Sat Nov 21 13:43:05 2020 +0100 BACKPORT: use upstreams version of camera commit 5b9a30f Author: Jörg F. Wittenberger <[email protected]> Date: Sat Nov 21 13:12:00 2020 +0100 remove old debug code commit c48c7b1 Author: Jörg F. Wittenberger <[email protected]> Date: Sat Nov 21 13:04:21 2020 +0100 CLIPBOARD: fix compiler complaints warning: returning 'const char *' from a function with result type 'char *' discards qualifiers commit cd86684 Author: Jörg F. Wittenberger <[email protected]> Date: Sat Nov 21 12:38:46 2020 +0100 20201121: Snapshot, preserve possibly important debug state commit 5f82a22 Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 19:43:56 2020 +0100 GLGUI: 20201120; Snapshot: alternative implementation - active for a while commit b555356 Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 20:58:24 2020 +0100 ANDROID: verbose signing commit 0a58fa3 Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 20:55:19 2020 +0100 outdated: srfi-179 port commit b4dac9a Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 20:53:15 2020 +0100 CORE: flow/fix-issue related changes commit ddaa1db Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 19:42:19 2020 +0100 CORE: flow/fix-issue related changes commit 985ddd5 Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 19:34:57 2020 +0100 CORE: better version of make-list commit e72c158 Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 19:11:35 2020 +0100 TENTATIVE: config: commented out - should become debug option commit 41d480b Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 19:10:35 2020 +0100 ANDROID: keep checking for API 26 break commit 0186693 Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 19:07:16 2020 +0100 ANDROID: support install of additional dynamic libraries commit a54d93a Author: Jörg F. Wittenberger <[email protected]> Date: Fri Nov 20 19:02:34 2020 +0100 ANDROID: keep TODO comment
- Loading branch information
Showing
32 changed files
with
352 additions
and
4,149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
eventloop ln_glgui lnjscheme webview uiform | ||
eventloop ln_glgui ln_jscheme webview uiform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ | |
;; Just to see an error: | ||
;; | ||
(error "nananana") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
// permissions | ||
|
||
checkOrRequestPermission(android.Manifest.permission.ACCESS_FINE_LOCATION); | ||
|
||
// webview | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
// permissions | ||
|
||
checkOrRequestPermission(android.Manifest.permission.ACCESS_FINE_LOCATION); | ||
|
||
// webview | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
;;; This file contains a few definitions enabling the gambit compiler | ||
;;; replace calls to the procedures with the same name with inline | ||
;;; code. | ||
;;; | ||
;;; BEWARE: These MIRROR the code from the definitions of the exported | ||
;;; procedures of the same name. | ||
;;; | ||
;;; We need to keep those symbols bound to the procedures for the | ||
;;; foreseeable future. Therefore we can't share the code. | ||
|
||
(define-macro (fix n) | ||
`(cond | ||
((##fixnum? ,n) ,n) | ||
((##flonum? ,n) | ||
(if (##fl< ,n fix:fixnum-max-as-flonum) | ||
(##flonum->fixnum ,n) (##flonum->exact-int ,n))) | ||
((##bignum? ,n) ,n) | ||
((##ratnum? ,n) (##floor ,n)) | ||
(else #f) ;; no complex numbers | ||
)) | ||
|
||
(define-macro (flo n) | ||
`(cond | ||
((##flonum? ,n) ,n) | ||
((##fixnum? ,n) (##fixnum->flonum ,n)) | ||
(else (##exact->inexact ,n)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.