This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - Levak
Pages: 1 ... 23 24 [25] 26 27 ... 68
361
« on: July 05, 2012, 04:36:43 pm »
Do you think that in the future pictures can be implemented as background? Say, like on the main menu you see "Omnimaga" in blue in the background?
No you can't the way it is coded. Or we have to modify the core code which is not thinkable.
362
« on: July 05, 2012, 12:51:56 pm »
If anyone wants to make a documentation concerning all "names" here is the beta version : http://levak.free.fr/ftp/nspire/ThemeEditor/Notice that this version is not complete yet for one reason : my laptop went out of battery in th plane. Basically, it can loads a theme where the path is indicated in the config file, but cannot save it. Each modification you make is lost on each reboot. This is why this version is open for documentation but not for usage. Since there are like hundreds of "names", I wish some people will help me to make a "link" between those names and helpful pictures. edit : also, there are fails in the gradient system, but that's not my fault, it is TI's code that doesn't handle (or handle only some) specifics couples of End/Start colors.
363
« on: July 04, 2012, 11:19:27 am »
Browsers display only valid XML files. Open it with any text editor.
364
« on: June 27, 2012, 02:42:06 pm »
365
« on: June 27, 2012, 10:48:36 am »
I have fixed a segfault issue due to the manipulation of the Menus and discovered that the gui_MenuFrame_setPosition() was in fact applicable to Frames (popups) and that the MenuFrame were in fact Frames... The only "problem" I face is that the MenuFrames I've found are the one in the Ctrl+I/N menu and the G&G app. The other apps such as Calculous or Lua toolpalette cannot be found for now evenif there are so close graphically to the other MenuFrames =( This may show that TI has designed the Frame system twice ...
366
« on: June 25, 2012, 01:38:22 pm »
What about writing functions for accessing that from the TI BASIC so it could be useful for something funny... In the future, after you release it.
I already plan to make it accessible through Lua with the Lua extension Ndless feature because I know it is possible. I don't know for TI-Basic and I'm a bit afraid it is not only an enumeration with commands but more than that. I have no idea.
367
« on: June 25, 2012, 12:48:28 pm »
nFrame is the name of my GUI API (like "JFrame") and has demos like nEditor, minesweeper and The game, in order to test everything the best I can. nEditor is just a basic text editor that opens a file as text, fills a MLTextEntry, where you can edit, add mathboxes, Ctrl+X, Ctrl+V, Ctrl+C etc ... (since it is the OS that handles that, but sadly, no Ctrl+Z), save and that's all. For now, only the Open and Save buttons are linked. The "Tools" button links to the "The Game" frame. The other buttons does nothing, just buttons I've planned to link in the future.
368
« on: June 25, 2012, 11:22:37 am »
Sadly my computer burned to death after I received a mail from TI. It _can't_ be the mail, obviously !
j/k
369
« on: June 25, 2012, 09:51:32 am »
what differences are there likely to be between each OS?
Offsets in Syscalls... But we can't know in advance if there are adds that make the functions longer or smaller, so we have to search for them all. What will help is that a bunch of theses are grouped in 2 major places that make them easy to find in all OSes. Obviously, it is a painful work but fast, contrary to the reverse engineering part where you have to understand the function goal by look at the ASM code, by the effects it does, or by the arguments other functions gives. What's awesomly hard is to search the meaning of get/set functions that exists in over 9000 versions. Indeed, it only set or get a value in a specific offset of the object structure. But what does tell you what the object is in ASM ? Only the uses other functions that use this offset in the object ... only when there are other functions that use this offset, which is not the case for most of the get/set functions that actually exists. In other words, the GUI API of the OS is most likely awesome but not fully exploited by TI : We can't use those unused functions for now, because we don't know how they work.
370
« on: June 25, 2012, 08:52:24 am »
Back again, water flowed under the bridge, I've added the String API used by the OS to the upcoming Ndless and that let me fix asegfault with the previous show_msg_user_input, I'm also trolling at the maximum level the GUI API used by the OS in order to create any kind of popup we want. A huge part of the OS is now known because of the use of theses functions. I tooks 3 month in order to have something reliable AND customizable. Here are some examples : But one important notice : Things are not ready yet to be published as a fully working API in Ndless since I know there are more functions and some of the functions haven't been fully tested. More and more I'm discovering things, because the more functions you have, the more function you find, this is a basic fact of reverse engineering. I've recently added the support of customizable icons which is not simple and expandable in a way that it modifies the OS directly in RAM when you launch the program. The icons are indeed used by id and resource id by the OS, and the resources are preloaded in RAM. The only way to use custom icons is to hijack a resource that is not used and use it =). Also, since it is only OS functions (or syscalls if you want) this project was at first only for reverse engineering purposes, but since it is easy to use when documented (JFrame like), I was intended to make a little API for Ndless. Again, since it is syscalls based, each Nspire has to be reverse engineered as well (tnc, tno, tco, tcc) and for each OS version as well ... (3.1, 3.2 ?) And since there are like 100 fonctions ... it is 400 syscalls to find by hand \o/ If Ndless 3.2 comes, it is 800 to find \o/ _o\ /o_ Anyway, enjoy the feeling of evolution in the Ndless programming.
371
« on: June 24, 2012, 01:11:01 am »
Nspire Lua didn't have native matrix support?
Nope. Everything is table in Lua. So it has to be made either in a library or by the programmer with some offset tricks.
372
« on: June 22, 2012, 09:10:44 pm »
getmetatable(matrix), but yes, it was just to show the content of matrix1. matrix.new is the function described in the link I gave you.
373
« on: June 22, 2012, 08:43:16 pm »
In Nspire Lua, it is exactly the goal of the class() function. But as you want it to be also usuable in standard Lua, I guess you should look at thisBut ... there is another problem. In Lua, everything is tables .. and most likely I'm interested in the way someone will handle call errors on elements likes the one you describe. IMHO it is impossible the way you want the errors to be handled. Also, Lua is multitype, so this : matrix1[1][1] = "2" --converts to number
matrix1[1][1] = true --error
will be possible only with direct calls to functions. The way you want it to be is not possible in Lua, same in many languages.... but I can be wrong. matrix1[1][1] will be possible with something like this : matrix1 = {{1, 2, 3}, {4, 5, 6}, ["add"]=function(self, m2) end}
374
« on: June 22, 2012, 08:32:08 pm »
Maybe there's a problem with your RS232 adapter. If you can see something in nspire_emu's console, you can be sure its an hardware issue.
isn't it supposed to show some text on the screen?
print("hello world") print(1, 2, 3) print(FOOBAR)
No. Use on.paint(gc) gc:drawString("Hello World", 0, 0, "top") end instead. print() is only outputing text through serial port and as said ExtendeD, you can see its content in the nspire_emu console.
375
« on: June 20, 2012, 02:34:16 pm »
hey! new OS version 3.2.1219 downloading..... Thanks, we downloaded everything maybe the disp problem was solved
nope
Pages: 1 ... 23 24 [25] 26 27 ... 68
|