Author Topic: Ndless 1.7 for TI-Nspire  (Read 147129 times)

0 Members and 6 Guests are viewing this topic.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Ndless 1.7 for TI-Nspire
« Reply #330 on: November 28, 2010, 04:54:10 pm »
Hello Levak,

please register with an email address. All accounts with no email address will be deleted once in a while.

squalyl

Done.
Note that it was mentioned as "optional" when I registered.
« Last Edit: November 28, 2010, 04:54:21 pm by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline squalyl

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +2/-0
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #331 on: November 28, 2010, 06:08:27 pm »
yes it is marked as optional even if I require it, but I don't know how to change the trac template. So I added a warning on the wiki main page.

thanks.
« Last Edit: November 28, 2010, 07:19:05 pm by squalyl »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 1.7 for TI-Nspire
« Reply #332 on: November 28, 2010, 07:20:32 pm »
With certain softwares, it is generally advised to not edit the main templates, since it can make upgrades impossible later (unless done manually). It depends how the software is designed, though. In Omni case, some MODs must be updated manually by editing the code myself because I altered them.

Offline calcforth

  • LV3 Member (Next: 100)
  • ***
  • Posts: 62
  • Rating: +4/-4
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #333 on: November 28, 2010, 07:53:05 pm »
With certain softwares, it is generally advised to not edit the main templates, since it can make upgrades impossible later (unless done manually). It depends how the software is designed, though. In Omni case, some MODs must be updated manually by editing the code myself because I altered them.
Strange - I never seen problems managing manual changes in PHP software.

Takes small amount of preparation, though.

Before playing with templates:
$ git init
$ git add .
$ git commit -m 'Initial commit'
$ git branch upstream
... play with your templates, etc; don't forget to "git add ./git commit" (at least once) ...

When new version comes:
$ git checkout upstream
... remove old sources, unpack new ones ...
$ git add .
$ git commit -m 'Here goes version x.y.z"
$ git checkout master
$ git merge upstream

Of course if new version if total rewrite it'll not work and if your changes clashes with bugfixes line-to-line you'll need to manually resolve conflicts, but it's not a big deal in my experience.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 1.7 for TI-Nspire
« Reply #334 on: November 29, 2010, 04:52:50 pm »
Well I mean in SMF, if you don't edit the main templates, when an update is released, all you need to do is click a button. It will detect the code that needs to be replaced automatically.

If, however, you changed some of that code, an error will be shown before trying to upgrade. You will have to apply all changes manually. This can take a long while if the update is huge.

In our case, we also use 4 custom templates. SMF mods are applied only to default templates, which means when we need to install a mod using pages where we use custom templates, we need to manually replace code in those templates one by one. An example would be how the topic start dates appears below topic titles on sub-forum view.

I think it depends how the software is designed, how big the change is and some people will find code replacement more tedious than others, simply because everyone is different.

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #335 on: November 30, 2010, 04:52:27 pm »
I wanted to take my chance with particles, but now, I get this errors :
(...)
/tmp/ccd8YOWW.s: Assembler messages:
/tmp/ccd8YOWW.s:38: Error: lo register required -- `ldmfd sp!,{r0}'
/tmp/ccd8YOWW.s:44: Error: selected processor does not support Thumb mode `stmfd sp!,{r0}'

[/b]

Would this mean GCC is trying to build particles in Thumb mode? Why?
Can you build Ndless itself with your version of GCC without any problems?
Ndless.me with the finest TI-Nspire programs

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Ndless 1.7 for TI-Nspire
« Reply #336 on: December 02, 2010, 08:24:37 am »
I had to add the following line in the os.h file in order to be able to use the int chdir(char*) function:
Code: [Select]
_SYSCALL1(int, chdir, char*)
Now I'm able to browse through the whole Nspire filesystem, even the hidden part!



If you need such a browsing interface for your Ndless programs, you may reuse/adapt my code:
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=2001
« Last Edit: December 02, 2010, 08:31:55 am by critor »
TI-Planet co-admin.

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #337 on: December 02, 2010, 03:36:09 pm »
Thanks critor.

Hackspire, Trac and the SVN repository are currently unavailable, sorry for the inconvenience.
Ndless.me with the finest TI-Nspire programs

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #338 on: December 02, 2010, 03:44:11 pm »
I am planning a final release of Ndless 1.7 this weekend.
The incompatibiliy of the nspire-* wrapper scripts with Unbuntu reported by bwang is the last issue to be fixed, unless someone have any specific fix/feature required for this release not yet included in the latest snapshot.
Ndless.me with the finest TI-Nspire programs

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #339 on: December 02, 2010, 04:02:18 pm »
You might include one or two examples on how to use the SYSCALL_CUSTOM for people
who want to add new standard library function and test them

Offline squalyl

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +2/-0
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #340 on: December 02, 2010, 06:20:45 pm »
Hello,

unsads is back, including trac, svn and hackspire (with an updated - but still ugly - logo that matches the trac one \o/ ).

this was a followup of the previous failure. The disk remained weak, and today it totally died.
once in the recovery system, I only had /dev/sda and no more /dev/sda1 and others... frightening!

The whole server hardware has been replaced.

Thanks to the daily backups not a single bit was lost.

sorry for the inconvenience, I'm happy it was relatively short.

and congrats to critor for this awesome shell explorer.
« Last Edit: December 02, 2010, 06:34:39 pm by squalyl »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 1.7 for TI-Nspire
« Reply #341 on: December 02, 2010, 10:04:00 pm »
I am planning a final release of Ndless 1.7 this weekend.
The incompatibiliy of the nspire-* wrapper scripts with Unbuntu reported by bwang is the last issue to be fixed, unless someone have any specific fix/feature required for this release not yet included in the latest snapshot.
Awesome! Are you still gonna keep a legacy copy of 1.1 in the downloads section when 1.7 is out? It might be useful for CAS Touchpad owners. Hopefully 1.7 final shall solve most people problems about not being able to find a copy of OS 1.1 online, though. I hope you don't run into too many bugs. :)

Hello,

unsads is back, including trac, svn and hackspire (with an updated - but still ugly - logo that matches the trac one \o/ ).

this was a followup of the previous failure. The disk remained weak, and today it totally died.
once in the recovery system, I only had /dev/sda and no more /dev/sda1 and others... frightening!

The whole server hardware has been replaced.

Thanks to the daily backups not a single bit was lost.

sorry for the inconvenience, I'm happy it was relatively short.

and congrats to critor for this awesome shell explorer.
Phew, I am glad no data was lost. I didn't notice the downtime but that can be scary when they happen.

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #342 on: December 04, 2010, 03:00:01 am »
I can keep Ndless v1.1.1 available, but I won't provide support for this version anymore.
Ndless.me with the finest TI-Nspire programs

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #343 on: December 04, 2010, 03:05:53 am »
You might include one or two examples on how to use the SYSCALL_CUSTOM for people
who want to add new standard library function and test them

There is already an example available on Hackspire, I hope it is enough to use the macro.
Ndless.me with the finest TI-Nspire programs

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 1.7 for TI-Nspire
« Reply #344 on: December 04, 2010, 03:33:24 am »
Ok good to hear, in case someone migth prefer 1.1.1 or cannot use 1.7 for any reason. (such as owning a TI-Nspire CAS Touchpad and having no access to another keypad, although now on UTI there's 1.4, if I remember.)