This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Exerro's profile picture

Nova Utilities - Utility library & Class system

Started by Exerro, 26 March 2014 - 02:37 PM
Exerro #1
Posted 26 March 2014 - 03:37 PM
Nova Utilities is no longer supported. See Flare, my latest GUI framework.
Edited on 13 October 2015 - 03:45 PM
LDShadowLord #2
Posted 26 March 2014 - 08:45 PM
I really like how this looks and works, as soon as loadAPI is functional I intend to use this as a workspace for my programs. (I need loadAPI to run my own API alongside this)
Exerro #3
Posted 27 March 2014 - 05:16 PM
I really like how this looks and works, as soon as loadAPI is functional I intend to use this as a workspace for my programs. (I need loadAPI to run my own API alongside this)
Thanks :)/>
I have fixed the os.loadAPI issue in 1.24, just working on a launcher and as soon as that is finished I will release it.

Edit: Just realised how much of a big task the filesystem redirection is, there is the rom/ folder too and I have to pretty much load the whole of the shell again :l The next release may take a bit longer than I thought initially, sorry. Expect it about 2 days from now.
Anyway, good news: Added the launcher and it works great, and fixed the os.loadAPI bug. (You can get this version on Github if you particularly want to)
Edited on 27 March 2014 - 05:17 PM
Exerro #4
Posted 28 March 2014 - 07:11 PM
Update! (1.24)

New features
  • Improved filesystem sandboxing
    • ​os.loadAPI
    • os.unloadAPI
    • shell.run
    • shell.getRunningProgram
    • os.run
    • loadfile
  • ​Improved env sandboxing
    • ​os.run
    • loadstring
    • loadfile
  • ​Added GUITextbox class
    • ​Create multi-line word wrapping textboxes
  • ​Added GUIInput class
    • ​Create single-line text fields with horizontal scrolling and optional text masking ( think * )
  • ​Added GUICode class
    • ​Create code fields (like the edit program) with customiseable syntax highlighting
    • Vertical and horizontal scrolling
  • ​Added a launcher (that uses the same system as Nova Projects
LDShadowLord #5
Posted 28 March 2014 - 10:34 PM
Does this have compatibility with OneOS? If not then it doesn't matter, I just don't know if you are using getSize() or not.
Edited on 28 March 2014 - 09:35 PM
Exerro #6
Posted 28 March 2014 - 11:00 PM
Does this have compatibility with OneOS? If not then it doesn't matter, I just don't know if you are using getSize() or not.
Yes, the launcher does use term.getSize, and it kinda works on PDAs although some of the messages get cut off.
Found some bugs with the launcher, I will post another update to fix them very soon (I'll change the version so you should be able to auto update to it from the launcher)
I also made an "Edit" program quickly. I'll put that up on pastebin and edit this post with a link soon…

Edit:
The edit program is at http://pastebin.com/Hvryy8Qy
To install it, just download that file (pastebin get Hvryy8Qy NovaEditInstall) then run it. To open Nova Edit, type NovaEdit/run

As for the launcher, it's updated to 1.25 with many bug fixes and a highlight feature in the GUITextboxes (i.e. you can click and drag to highlight text in the textbox even though it is word wrapped over multiple lines and has alignment etc, not to brag :P/>)

Have fun…
Edited on 28 March 2014 - 10:24 PM
Exerro #7
Posted 08 April 2014 - 03:34 PM
Update! (1.27)
New features
  • Bug fixes
  • Some classes now reload in the modified env i.e. Filesystem objects (so that when you create a Filesystem it uses the redirected fs)
  • Most fs classes can now have any filesystem passed in i.e. Filesystem:Save( "mypath", FilesystemRedirect:Redirect( ) )
  • Fixed some lag issues with drawables
  • Added "Use FrameBuffer" option to config
  • Finished GUIList class
  • Added OnFocus and OnUnFocus callbacks to textboxes
  • Added GUIRadioButton class
  • Added GUICanvas class
  • Added Image class
  • Added custom metamethods for classes
  • Finished the Theme class (for use with GUI objects)

Yeah, that's about it I think…
Hope you enjoy the new update, and also check out the wiki!