Closed Codereamp closed 7 months ago
@pazos, I hope I did the new PR more or less correctly. Please, let me know if anything was wrong.
@pazos, I hope I did the new PR more or less correctly. Please, let me know if anything was wrong.
It looks quite good.
Just replace NGL4 for something a bit more specific (NOOK_GL4 is fine) and please leave the list sorted.
Also, this is going to be merged after the next release because a few things changed this month and is going to be way easier to triage if something went wrong with those.
Just replace NGL4 for something a bit more specific (NOOK_GL4 is fine) and please leave the list sorted.
Ok, I assume that you're talking also about the class name and the file name, in this case I suggest NookGL4, without underscore, I think it would fit more nicely as the prefix.
Just replace NGL4 for something a bit more specific (NOOK_GL4 is fine) and please leave the list sorted.
Ok, I assume that you're talking also about the class name and the file name, in this case I suggest NookGL4, without underscore, I think it would fit more nicely as the prefix.
The class is fine (and its file name is ok as long as it matches the name of the class). I was talking about the Device name on DeviceInfo
.
@pazos, probably both wishes now addressed (NOOK_GL4 and sorted order). I see that app.codacy.com
is super pedantic with its analysis :) let me know whether I should also adjust for its issues.
A minor question regarding compiling. During the whole process I wanted to avoid extra actions with file packaging during compiling (especially it was time saver when there were syntax errors) and in the full tree of the koreader project made a shell script in .. luajit-launcher
sub-folder with the following text (multiply dots collapses the actual path to ndk)
export ANDROID_NDK_HOME=/home/........ /android-ndk-r23c
export ANDROID_NDK_ROOT=/home/......../android-ndk-r23c
make debug
With it I was able to compile much faster (sure when the primary compilation once made complete). There were drawbacks like different apk location and different name, but they were minor. Is this approach ok or somehow there already exist scripts for such faster compilation?
@pazos, probably both wishes now addressed (NOOK_GL4 and sorted order). I see that
app.codacy.com
is super pedantic with its analysis :) let me know whether I should also adjust for its issues.
Yes, please
This commit overrides the previously closed with the following changes
NativeSurfaceView
is brought to top in order for Nook Glowlight 4 refresh to work. This change logically affects other controllers that reportneedsView
, but the change should be compatibleNGL4EPDController.kt
module was introduced (mostly in the previous PR) with all registering routines. In this PR made several changes based on the previous tests and discussions.The changes were tested on Nook Glowlight 4e (debug compilation to
koreader-android-arm-debug-v2023.10-82-g5d2a44106_2023-12-29.apk
)This change is