Author Topic: Jens' Script Editor - An on-calc lua editor  (Read 144063 times)

0 Members and 2 Guests are viewing this topic.

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #75 on: July 24, 2013, 06:24:45 pm »
@adriweb: Ok, then thank you for all your feedback and help! I think we'll get this to work on an iPad :D (after we filled like the whole page 5 in one day ^^)
Good night, I'll continue tomorrow!
Sorry for nonsense.

Projects:



Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #76 on: July 25, 2013, 10:25:30 am »
UPDATE!!
Version 0.4.3 is now attached to the first post!

New features:
- fully compatible to iPad (hopefully):
   - if on iPad, menu item "Script Editor" with special features gets attached to every user menu
   - Accept/Cancel Messages/Dialogues by clicking on/outside them
   - Improvements for Keyboard
- Copy/paste options now in the "Code" menu
- Controls layout option "no button rebindings" added
- Various bugfixes and Improvements, e.g.:
   - Messageboxes now look right in the desktop view
   - Menu items of the API Reference Guide are now sorted alphabetic

After I lost the work of hours on the content update of the Reference Guide to apiLevel='2.0' because of a stupid infinite loop I decided to ragequit and continue tonight ;)
« Last Edit: July 25, 2013, 10:29:29 am by Jens_K »
Sorry for nonsense.

Projects:



Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Jens' Script Editor - An on-calc lua editor
« Reply #77 on: July 25, 2013, 03:14:08 pm »
Very nice, I'll test that soon (and probably edit this post then) :)

Also, when in infinite loops on TINCS, you can "try" holding F12 (or pause, I dont rememeber which...), sometimes it breaks out of it.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #78 on: July 25, 2013, 08:31:47 pm »
Update!
Version 0.4.4 is now attached to the first post!

Really small update here:
- apiLevel='2.0' functions added to the Reference Guide
- enhanced "About" Messagebox
- No improvements/bugfixes this time >:D

I hope this is one of the last versions, I actually have nothing left to do! :D
Special thanks to the TI-Planet user Lionel Debroux who keeps posting translations of the changelogs on the article of AnToX98 ;D (Yes, I'm still keeping an eye on it ;))
« Last Edit: July 25, 2013, 08:59:06 pm by Jens_K »
Sorry for nonsense.

Projects:



Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Jens' Script Editor - An on-calc lua editor
« Reply #79 on: July 26, 2013, 09:29:18 am »
Lately, Adriweb has been picking up a bit of slack in my changelog translations :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #80 on: July 27, 2013, 01:18:40 pm »
I think the program is finished, does everything work now? If so, then I'll compile it with Luna and then upload to ticalc.org.

Edit: Would there be problems if I'd just leave out setting the apilevel and don't compile with Luna? I tested it with apilevel='1.0' and '2.0'
« Last Edit: July 27, 2013, 02:14:50 pm by Jens_K »
Sorry for nonsense.

Projects:



Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Jens' Script Editor - An on-calc lua editor
« Reply #81 on: July 27, 2013, 03:02:11 pm »
I think the program is finished, does everything work now? If so, then I'll compile it with Luna and then upload to ticalc.org.

Edit: Would there be problems if I'd just leave out setting the apilevel and don't compile with Luna? I tested it with apilevel='1.0' and '2.0'
Well, as long as it runs on 3.1 :)
« Last Edit: July 27, 2013, 03:02:19 pm by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #82 on: July 27, 2013, 03:17:07 pm »
Well, I guess not (I noticed that running a program made in OS 3.2 wont work on nspires with OS 3.0/3.1 without setting the apilevel to 1.0) but where do I get a 3.1 software to add page 1.2? And another question: I used "if touch and touch.isKeyboardAvailable then" somewhere; is that right or is "touch.isKeyboardAvailable" a function?
Sorry for nonsense.

Projects:



Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #83 on: July 28, 2013, 02:25:35 am »
Wow I'm back from vacation and already 0.4.4's update ! Awesome work Jens !



My Lua projects :

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Jens' Script Editor - An on-calc lua editor
« Reply #84 on: July 28, 2013, 07:24:35 am »
Well, I guess not (I noticed that running a program made in OS 3.2 wont work on nspires with OS 3.0/3.1 without setting the apilevel to 1.0) but where do I get a 3.1 software to add page 1.2?

You can download 3.1 software(s) here :
http://tiplanet.org/forum/archives_list.php?multi_chaine_search=Logiciels+TI-Nspire+3.1
(take the mac or PC version according to your platform, Teacher edition ("enseignant") lasts 90 days, student 30.)

And another question: I used "if touch and touch.isKeyboardAvailable then" somewhere; is that right or is "touch.isKeyboardAvailable" a function?
It's actually a function, but since Only the tablets' OS have it implemented... it works the same way. For forward compatibility, try calling the function, though, instead.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #85 on: July 28, 2013, 09:52:05 am »
I don't get luna to work, I guess it's because I installed everything on my HDD while my SSD is my system drive. I'll just include two versions then:
- "apilevel1 OS 3.x" with "platform.apilevel='1.0'"
- "apilevel2+ OS 3.2+" without an apilevel setting
If I get it to work some day or find another way I'll update the file.

@AnToX98: Yes, 6 weeks holiday + Jens + Music = great programming progress :D
« Last Edit: July 28, 2013, 10:01:43 am by Jens_K »
Sorry for nonsense.

Projects:



Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Jens' Script Editor - An on-calc lua editor
« Reply #86 on: July 28, 2013, 01:59:38 pm »
I don't get luna to work, I guess it's because I installed everything on my HDD while my SSD is my system drive. I'll just include two versions then:
- "apilevel1 OS 3.x" with "platform.apilevel='1.0'"
- "apilevel2+ OS 3.2+" without an apilevel setting
If I get it to work some day or find another way I'll update the file.

Good enough :)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #87 on: July 28, 2013, 03:43:27 pm »
:hyper: IT'S FINISHED!!! :hyper:
Version 1.0 is now attached to the first post!

There are only small improvements from Version 0.4.4, but this is the final version!
It's the last version for now, but I already have ideas for 2.0!

Thanks to all who helped and supported me!
Sorry for nonsense.

Projects:



Offline stevon8ter

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 663
  • Rating: +10/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #88 on: July 28, 2013, 04:38:21 pm »
congrats :D

i'll have to keep a look out for the games made with this, maybe i could clone some of them onto my ipad ;) (uses lua as well ;) )
None of my posts are meant offending... I you feel hurt by one of my posts, tell me ... So i can appoligise me and/or explain why i posted it


Hi there, I'm the allmighty (read as: stupid, weak...) STEVON8TER

Offline stevon8ter

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 663
  • Rating: +10/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #89 on: July 28, 2013, 04:38:25 pm »
congrats :D

i'll have to keep a look out for the games made with this, maybe i could clone some of them onto my ipad ;) (uses lua as well ;) )
None of my posts are meant offending... I you feel hurt by one of my posts, tell me ... So i can appoligise me and/or explain why i posted it


Hi there, I'm the allmighty (read as: stupid, weak...) STEVON8TER