Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Codea 2.3.2 Beta

SimeonSimeon Admin Mod
edited October 2015 in Beta Posts: 5,204

Hi everyone

Codea 2.3.2 beta is now available for testing. The focus is on iOS 9 improvements and fixes.

  • iOS 9 Spotlight support (your projects show up in search results)
  • Fixed Xcode export with Bitcode support, modernised project
  • Improved two-finger caret drag from keyboard
  • Removed iOS built-in keyboard assistant bar
  • Dropped support for iOS 7. Is anyone still using iOS 7?

Edit: Here are the release notes from all builds of 2.3.2:

Build 48

Hi Everyone

Sorry about the long delay! We're finally at a new version of Codea. This one is focused on iOS 9 improvements and compatibility (there are bigger changes in the works, but still in progress).

There are a number of important things to test in this update:

* Do your asset packs work as expected? Downloaded asset packs and Dropbox in particular
* Does Dropbox sync behave? (The library was updated)
* Xcode export has been completely revamped to be iOS 9 and App Store friendly
* The default keyboard assistant bar, the one with cut-copy-paste has been removed. When combined with Codea's input bar it makes the keyboard far to big
* Two-finger caret drag from the keyboard should be improved

NEW FEATURES

* iOS Spotlight indexing for your projects. If you search in Spotlight your Codea projects will show up directly. You can tap them to edit. Let me know how you like this feature.
Build 49

* Fixes an issue causing crashes on iOS 8
* Re-enables iTunes File Sharing
Build 50

* Fixes incorrect initial camera orientation under iOS 9
Build 51

* Adds toggle for UIRequiresFullScreen flag in Xcode export
* Fixed matrix * vec4 bug
* Allows saveText() to delete assets when passing nil
* Fixes possible crashes when using bad parameters with camera()
* Updates to latest Box2D
* Updates to latest GLM
* Fixed bug in Cargo-Bot example (requires example project restore)
Build 52

* New zipped project export (long press project and choose "Export") (@yojimbo2000)
* Fixed keyboard layout bug when using supportedOrientations (@dave1707)
* Fixed editor resizing bug when rotating device
* Fixed matrix.rotate to use degrees as before
* Moved "Copy" option for projects into new export panel
* Adds Crashlytics framework
Build 53

NEW

* Speech library supports setting voices and language (speech.voices, speech.language)
* Mesh buffers can contain matrices (experimental / untested) [@yojimbo2000: see issue ticket]

FIXES

* Project opening from Spotlight can use "Project" assets [@SkyTheCoder]
* Fixed keyboard layout bug when using supportedOrientations [@dave1707]
* Code editor optimizations (attempt for more responsiveness) [@dave1707]
Build 54

NEW

* Improved error reporting, now shows TabName:Line + stacktrace

FIXES

* Attempts to fix use of mat4 attributes in shaders
Build 55

FIXES

* Fixes weird font issues in code editor
* Fixes uniform mat4 arrays [@yojimbo2000]
* Fixes issue where project loading could cause crash [@LoopSpace]
Build 56

NEW

* Adds support for OpenGL ES 3.0 where available
Build 58 (57 was skipped)

MESH INSTANCES

* Instanced meshes can be rendered on devices supporting OpenGL ES 3.0
* This includes anything with an A7 processor or higher
* Allows efficient rendering of large amounts of geometry 
* See the beta thread for a simple example
Build 59

FIXES

* Moves Codea forum to Safari View Controller on iOS 9
* Fixes Project assets not being copied during Xcode export
«1345

Comments

  • @Simeon, camera still having problems

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @erickyamato can you describe the problems? Is this in the issue tracker?

  • @Simeon, camera still upside down

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @erickyamato ah thanks, will fix

  • You're welcome @Simeon!

  • @Simeon, this beta version includes .assets?

  • SimeonSimeon Admin Mod
    Posts: 5,204

    Yes, all assetpack related names and extensions have been renamed to assets. Codea should migrate any downloaded packs you have.

  • I'll test this!

  • SimeonSimeon Admin Mod
    Posts: 5,204

    Closed the other discussion so as to keep it all in one thread

    @dave1707 reported that the Cut/Copy/Paste options have disappeared from the text menu popup.

  • dave1707dave1707 Mod
    edited October 2015 Posts: 8,200

    @Simeon Sometimes the popup shows, sometimes they don't. That's like in the previous release where sometimes they would show, then they didn't. When they didn't, the cut, copy, paste icons in the keyboard could be used.

  • dave1707dave1707 Mod
    Posts: 8,200

    @Simeon Typing print and then pressing the key () or "" or = real fast doesn't show those keys. You have to type print, then wait about a second, then press one of those keys for them to show. That's been driving me crazy since the last Codea update.

  • @Simeon The spotlight search works fine, but I'm not sure what you mean by "improved caret drag", since it functions like other apps I've used. It works fine, though. Also, the iOS 9 keyboard shortcuts don't show up.

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @Saturn031000 do you mean the extra bar on top of the keyboard? I removed that intentionally

  • Posts: 1,976

    @Simeon I can't open any of my projects, Codea crashes when I tap on any of them.

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @SkyTheCoder I'll see if the crash logs are showing up on TestFlight. Are you on iOS 8 or 9?

  • Posts: 1,976

    @Simeon iOS 8.4.1. Also, I have ~70 MB of data free, so it's not an issue of storage.

  • SimeonSimeon Admin Mod
    edited October 2015 Posts: 5,204

    @SkyTheCoder I think it might be an iOS 9 API getting called where it shouldn't. I'll try to have a new release out shortly with a fix.

    Edit: Found the bug and should have a fix uploaded with build 49.

  • @Simeon yeah, I meant that. It makes sense that it was removed intentionally

  • @Simeon, camera still upside down

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @erickyamato it's fixed in the next build.

  • @Simeon, on (49)? I downloaded it and this continue happening

  • @Simeon The camera is upside-down in the latest build for me as well

  • SimeonSimeon Admin Mod
    edited October 2015 Posts: 5,204

    @erickyamato that's right, it's fixed in the next build. The current build is 49.

    Edit: if I fix a bug you have reported I will put it in the release notes for the build, so if it's not listed it means it has not yet been addressed.

  • @Simeon, that's ok! Thank you!

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @dave1707 I am unable to make the cut/copy/paste popup stop showing. Any ideas on how you run into this?

  • edited October 2015 Posts: 2,020

    (Build 50) I've just got the same bug as @dave1707 where the popup menu is completely gone, can't cut, copy, paste (it is, as @dave1707 says, similar to how they disappear with Codea 2.3.1 on iOS 9. )

    It's really tricky to say what causes it. Forces quitting and relaunching Codea re-enables the menu. Just now it happened when I copied something from the console log, but when I force quit and restarted Codea, I wasn't able to reproduce the bug by following my steps.

    I never worked out what caused it in 2.3.1 on iOS 9 either. It just seemed really random.

  • dave1707dave1707 Mod
    edited October 2015 Posts: 8,200

    @Simeon Same as what @yojimbo2000 says. I tried to find a pattern as to what causes it to disappear, but it seems random. It seems to be OK as long as you don't execute the code, but after running, then it seems to happen at random. Exiting Codea and coming back in brings the popup back.

  • dave1707dave1707 Mod
    Posts: 8,200

    @Simeon Camera orientation looks OK for all orientations, front or back camera on version 50.

  • SimeonSimeon Admin Mod
    Posts: 5,204

    Thanks @dave1707 @yojimbo2000. That sounds really frustrating. Will try reproduce by focusing on code execution.

  • Posts: 77

    Maybe in this update could you make ellipses look nicer on retina displays? It doesn't seem like it would be very hard, and that would make lots of things much easier.
    (The issue with them is that their antialiasing is too blurry; they're rendered like they're on a non-retina display)

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @FLCode they are rendered at twice the resolution on retina. In fact, you can see the shader source yourself among the built in shaders. Perhaps the AA is too blurry though.

  • Posts: 2,042

    My projects aren't showing up in spotlight search

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @JakAttak are you on iOS 9? It's 9-only feature

  • Posts: 2,020

    Spotlight search works for me (by name of project)

  • edited October 2015 Posts: 1,608

    Camera problem - works fine as camera app in iOS but when running camera demo from Codea no image from either camera front or back.

    IPad 2

    iOS 9.02

    Codea 2.3.2(50)

    is this a feature of the demo?
    I would expect a camera image up when running the demo - just a grey screen!

    Bri_G

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @Bri_G did you give Codea permission to access your camera? Did it ask?

  • dave1707dave1707 Mod
    Posts: 8,200

    No problems with the camera demo for me.

  • edited October 2015 Posts: 1,608

    Hi @Simeon,

    To your first question - no, I haven't set any permissions up for the camera.

    To your second question, no the demo/Codea didn't ask for permission.

    Bri_G

  • Posts: 1,608

    Hi @Simeon,

    Gave camera permissions in iPad settings and now working OK.

    In portrait mode Sprite displayed is not full width, is this due to side panel allowance from the camera?

    Demo needs rem statement to effect of Settings permission is required to get it to work. Apart from seeing the image can we test tha Codea has permission to access the camera?

    Thanks for the help.

    Bri_G

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @Bri_G you must have disallowed it accidentally when it asked for permission. Codea will always ask once for permission, and if disallowed it must be re-enabled in settings. I guess I could add a print statement to that effect in the demo project.

  • Posts: 1,608

    Hi @Simeon,

    You're probably right about the disallowing permissions. Are there any situations when permissions are reset - updating iOS, using TestFlight?

    I'd just pass it on to the demo updating team. Maybe the demo needs upgrading anyway.

    Thanks again,

    Bri_G

  • dave1707dave1707 Mod
    edited October 2015 Posts: 8,200

    Version 51: saveText using nil deletes the file as it should. Couldn't test the other changes, I don't know what the original conditions were that caused a problem. Those will have to be tested by whoever reported them.

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @dave1707 thank you for letting me know.

  • Posts: 2,020

    In 2.3.2 build 51, it seems that matrix.rotate now takes the angle in radians, whereas before it was in degrees. I've not tested the various vec.rotate commands to see if it is the same with these. I didn't see this mentioned in the"what to test" notes, so I was wondering whether this was intentional (something to do with GLM maybe)?

    On a related note, is there a persistent list somewhere of the "what to test" notes, so that we can check back to see if there's something we've missed in a previous build? Currently you can only see the notes for the latest build. Perhaps the new build notes could just be appended to a growing list of the notes from the previous builds?

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @yojimbo2000 good catch, I'll need to change that back to degrees. It was the result of the GLM update.

    I'll try populate the first post with a list of change notes.

  • Posts: 2,042

    I'm on the iOS 9.1 beta

  • SimeonSimeon Admin Mod
    Posts: 5,204

    @JakAttak if you make a new project does it show up in spotlight?

  • edited October 2015 Posts: 2,020

    @dave1707

    the tickets for those issues were here if you want to see the original conditions. It's not just the reporter that should test, as different hardware/iOS versions can behave differently.

    https://bitbucket.org/TwoLivesLeft/core/issues/362/mat4-vec4-produces-odd-results

    https://bitbucket.org/TwoLivesLeft/core/issues/370/savetext-name-nil-does-not-delete-text

  • @Simeon, I'm having the same problem... I can't see my projects on spotlight

  • Posts: 1,976

    @Simeon I updated to the latest build and everything is working, I can open projects, and the spotlight search works fine. Sorry for the delayed response, my iPad is having some troubles charging.

Sign In or Register to comment.