Tatsh
Tatsh
Nah, I think if `char **environ` works on iOS, otherwise it will just return NULL. But the code already checks for that. You only needed to remove the direct call...
Also with regard to some modules, I do not think all the modules worked in the previous build either.
Building fixed for 9.3 but not everything works. https://github.com/Tatsh/python-for-ios/commit/1525f3d2e2a0a936242f6ba2b228ff111491548f
There is a ton of stuff to fix to make this work fully again (or usefully). Some of those are not fixable (easily) but most are. They require libraries to...
@cclamb if you made any improvements, please provide a patch or set of patches.
Well, https://github.com/jdelman/python-for-ios/commit/83381dc9847e5de29f697668ff6feb0ba887fe82 is not exactly the same as my patch. We need to merge these results. And then keep going. Also need to future-proof for iOS 10 in this effort....
Compare https://github.com/Tatsh/python-for-ios/commit/1525f3d2e2a0a936242f6ba2b228ff111491548f with https://github.com/jdelman/python-for-ios/commit/83381dc9847e5de29f697668ff6feb0ba887fe82 and see what's new and what's improved in @jdelman's version. He seems to have a new patch there for the `environ` module. Also note full paths...
I don't get that error and the only difference now is this (`master` branch on my repo): ```diff diff --git a/build.sh b/build.sh index 7f91eca..6b3c3c2 100755 --- a/build.sh +++ b/build.sh @@...
Try running: ``` ❯ '/Users/USER/Library/QuickLook/QLColorCode.qlgenerator/Contents/Resources/colorize.sh' '/Users/shane/Library/QuickLook/QLColorCode.qlgenerator/Contents/Resources/highlight' '/Users/USER/afile.js' 0 ``` The first argument to `colorize.sh` must be a path to `highlight` not just a directory.
Highlight and Lua are unfortunately built in a different way compared to the rest of the code, and I think both get different CPU optimisations that may only work on...