wyozi / g-ace Goto Github PK
View Code? Open in Web Editor NEWIn-game IDE for Garry's Mod.
In-game IDE for Garry's Mod.
People might be able to use hudbuilder mode to run code even without luadev access or file access.
Eg. vfolder:registerAddon(gace.VFS.RunOnSave)
or something idk
Not everything is lua, ha.
[16:12] gace.GitBroadcastRepoStatus failed for 'areas/spawn/cl_sparks.lua': Error: -3/6: Could not find repository from './garrysmod/ww_areas'
To log stuff
Using net message objects we can VERY LIKELY check for net message size and use multipart or some kind of compression if it is too large.
So using g-ace IO to list C:/ doesn't crash everything
For huge recursive lists
On success:
Return a table containing needed data. If there's no data, table should be empty.
On error:
Return table containing only the field 'err', which is the error string
So isntead of rerturning the first found permission, we bit.bor them all together.
This should fix problems related to files getting overridden
Global events/local events
Global events = save events by all users (superadmin only)
That handles parsing path arguments, checking permissions and graceful erroring better
Some documents are saved to clientcache and thus restored as "unsaved" even though the tab and file has been closed in editor before
So updating file list won't have to take forever
Using values in _G etc
addons/g-ace/lua/autorun/gace_utils.lua:14: bad argument #1 to 'pairs' (table expected, got number)
lua/includes/extensions/table.lua:29: bad argument #1 to 'pairs' (table expected, got boolean)
Client repetitively sends requests to update collab status in that case
For autoreloadless linux
Or at least close the pre-opened tab if theres a file related error
Instead of just end
Call filenode:Require("lua-autorun")
. Returns a promise that then gives an addon object.
Addon node should be cached in Node.Addons. Addon is initialized on Require on serverside. On clientside (NetFile/NetFolder) the addons serverside file has and are networkable are intiialized immediately on clientside netfile initialization. Node could contain some kind of AddonData thing that stores networked node params.
Limiting is useless if we can make more recursive lists appear as user traverses the file tree.
Makes it easier to cache contents and fixes having to re-fetch git mode for every file
function gace.HandleNetworking(reqid, op, payload)
should query a table of event callbacks instead of being constant
Why bother restoring files that were saved.
https://github.com/Winded/BiValues
Like 98% sure this can be used to simplify lots of stuff.
i.e. open old tree layout and unsaved files
Figure out what to bind outdent to (shift+tab isn't available)
Automatically on code run or code save transform the code somehow. Best feature this enables is probably moonscript support
Aka allow opening G-Ace with specific VFS folders visible, that doesnt save their status?
Ctrl enter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.