Giter Site home page Giter Site logo

luna's People

Contributors

a-a avatar adriweb avatar legimet avatar oliviera avatar vogtinator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

luna's Issues

OS <3.2 support issues due to zip header changes

The readme states compatibility with OS 3.0.2 and later when converting Lua documents, however it is not made clear that the headers in the ZIP file are actually targetting a later OS version, and as such if opening a tns created by the current version of Luna, a handheld running an OS below 3.2 will display the message "You must update your software to the latest version to view this document." (In my case, this was OS 3.1.0)

Looking at older releases, before BMP support in the TNS file was added, byte 0x07 in the resulting header is 0x35, whereas in the current release, it is 0x37. This was first changed at commit 15b8187#diff-f1c061b8ba098a412c4fb2a096f39485
Modifying the resulting TNS in a hexeditor or recompiling with a modified "LOCALHEADERMAGIC2" value from zip.c , will cause the file to open on an OS 3.1.0 handheld instead of erroring, which leads me to believe that the header structure of the TNS files changed between these versions.

I have pondered a few different options:

  1. Edit the readme to make clear that <3.2 will not work out of the box (zip.c required modification)
  2. Add a command line flag to use the lower version header in the zip generation stage.
  3. Check whether platform.apilevel = "1.0" is defined in the lua, and roll header version back only on this case? I am not sure if all script authors actually bother with defining api level.

Thoughts?

Tag v2.0

It seems that 41fd7ca bumped the version number to v2.0, but it has yet to be git tagged.

Remove OpenSSL dependency

Just so that this idea isn't forgotten...

Basically, remove as many deps as possible especially OpenSSL, so that it can be built easily with emscripten/wasm.

Error

An error was found in the format of this document.
Please fix �
image

Bitmaps do not show up in the TI Script-Editor

BMP-Files added using Luna do not show up in the image tab of the TI-Nspire Script-Editor (Student Software).

I have added a bmp and a lua file using lua test.bmp test.lua. The lua file is correctly added to the tns, but the bmp does not show up.

Allow specifiying api level

Given some deprecations and additions between apis, it would be useful to be able to specify the api level.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.