![]() |
|
Quite a few feature requests - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Starfall (https://teamscm.co.uk/forum-7.html) +--- Thread: Quite a few feature requests (/thread-3234.html) |
Quite a few feature requests - frdhog - 30-04-2020 I have plans for a couple of ambitious projects now that I am getting into Starfall and there are some features that would ease the projects along Existing libraries and functions in GLua
More ambitious features
Other requests
I know it is a lot to ask but I'm also curious to see if anyone else is interested in these features too RE: Quite a few feature requests - Person8880 - 01-05-2020 I've added a base64 encoding/decoding library and re-added the old fastlz library. As for the other requests: (30-04-2020, 07:43 PM)frdhog Wrote: SQL libraryThis would require some work to sanitise queries to stop Starfall interfering with tables it shouldn't. There'd also have to be sanitisation rules around the amount and structure of tables that can be created. It's not impossible, but it's not going to happen soon. (30-04-2020, 07:43 PM)frdhog Wrote: Global and persistent storage (possibly requiring a key to read from and a key to write to) (would be most appreciated)You can store data in files for persistence. There's also global tables to share data between instances, though it is not persistent. (30-04-2020, 07:43 PM)frdhog Wrote: Packing (string.pack/unpack and table.pack/unpack from Lua 5.3) (I'm aware this is unlikely)The table packing functions already exist, they just weren't being highlighted in the editor which is now fixed. As for the string packing functions, those aren't the nicest interface for binary data handling. A buffer type with read/write methods would be more useful. (30-04-2020, 07:43 PM)frdhog Wrote: ESC closing the autocomplete dialogue in the SF editor (opt-in option?)Handling the escape key in GMod is a nightmare as nothing can truly stop it opening the game's menu, so this wouldn't really work well. (30-04-2020, 07:43 PM)frdhog Wrote: Variable/function browser in the SF editor (even as simple as IDLE's module browser would be very nice indeed)You can use the command bar to jump to functions in the code. Press Ctrl + L (by default) or click the button with the console icon at the top left of the editor to open it, then type @<function name> to see a list of all matching functions. Clicking one or using the arrow keys will take you to it. (30-04-2020, 07:43 PM)frdhog Wrote: Documentation update on teamscm.co.uk/sfdoc/ (I know it's not an easy task but the fastzl lib made me request this)I haven't updated the docs there for a long time. It'd probably be better to make something that can read and display the docs directly from the latest docs on the server so I don't have to upload to multiple places. Kosmos also created a documentation viewer a while ago that gets its information direct from the server that might be useful: https://teamscm.co.uk/showthread.php?tid=2642 RE: Quite a few feature requests - frdhog - 01-05-2020 Thank you very much for the response, clear explanation and addition of the libraries. Now it's time to get my hands dirty |