- Modular block files: split into blocks-algo, blocks-data, blocks-proc - New modules: sections.js (labelled canvas areas), proc-browser.js (procedure tree modal), lib-loader.js (lazy library loading), templates.js (project templates), errno-data.js (errno table) - Test infrastructure: browser test suite (28 tests) and Node pure-function tests (75 tests) - Warning system: unified .block-warn for disconnected inputs, unconnected error hooks, and zero-exit-in-error-path - Error path highlighting: red flow paths and block borders for error-only subgraphs - Input hooks: hidden by default, shown during linking; outputs always at bottom - Block editor modal: pencil icon, colour picker for accent, compact field labels - Doc generation: standalone node script extracts JSDoc -> docs/API.md (124 declarations) - Persistence: save/restore sections, errno selection, block colours - Fixes: _segmentsIntersect bug, WCEnd crash from closest(this), drawpath guard on detached elements
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"procedures": [
|
|
{
|
|
"name": "glfwInit",
|
|
"inputs": [],
|
|
"outputs": [["result","int"]],
|
|
"desc": "Initializes the GLFW library for window and input management."
|
|
},
|
|
{
|
|
"name": "glfwCreateWindow",
|
|
"inputs": [["width","int"],["height","int"],["title","string"]],
|
|
"outputs": [["window","int"]],
|
|
"desc": "Creates a window with the specified dimensions and title."
|
|
},
|
|
{
|
|
"name": "glfwMakeContextCurrent",
|
|
"inputs": [["window","int"]],
|
|
"outputs": [],
|
|
"desc": "Sets the OpenGL context of the given window as current."
|
|
},
|
|
{
|
|
"name": "glfwSwapBuffers",
|
|
"inputs": [["window","int"]],
|
|
"outputs": [],
|
|
"desc": "Swaps the front and back buffers of the window."
|
|
},
|
|
{
|
|
"name": "glfwPollEvents",
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"desc": "Processes pending window events (keyboard, mouse, etc.)."
|
|
},
|
|
{
|
|
"name": "glfwWindowShouldClose",
|
|
"inputs": [["window","int"]],
|
|
"outputs": [["result","int"]],
|
|
"desc": "Checks if the window close button has been pressed."
|
|
},
|
|
{
|
|
"name": "glfwTerminate",
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"desc": "Cleans up GLFW resources and terminates the library."
|
|
}
|
|
]
|
|
}
|