Commit graph

47 commits

Author SHA1 Message Date
Sebastian Morr
78f324bf68 Put temp files in user://tmp/ 2020-09-29 16:12:58 +02:00
Sebastian Morr
44214d2fdf Move exec, crash, and file IO to "helpers" autoload node 2020-09-29 14:54:07 +02:00
Sebastian Morr
5f2823fab4 Rename a few container nodes to have more pleasant names 2020-09-29 14:27:36 +02:00
bleeptrack
374db542f3 Adding command description to completions 2020-09-28 17:39:16 +02:00
bleeptrack
d2c95b8db0 Adding tab to complete shortcut 2020-09-28 17:10:21 +02:00
bleeptrack
d498c2340b Autocomplete for filenames 2020-09-28 16:52:00 +02:00
Sebastian Morr
ec537a3a1f Persistent command history 2020-09-28 16:18:06 +02:00
Sebastian Morr
bc9ff128fe Only autocomplete subcommands from history, sorted by frequency 2020-09-28 16:00:42 +02:00
Sebastian Morr
0a3e97167c Close completions after running a command 2020-09-27 21:50:14 +02:00
bleeptrack
dafc5126f1 poll git commands from help page 2020-09-25 12:29:48 +02:00
Sebastian Morr
ed56385d14 Basic completion framework 2020-09-25 12:04:45 +02:00
Sebastian Morr
5f375377f7 Fix all warnings 2020-09-24 11:15:00 +02:00
Sebastian Morr
c6bd66559a Preparations for async commands 2020-09-24 10:10:14 +02:00
Sebastian Morr
ff590165d5 Fix a few problems for the "git replace" demo, scale up sandbox UI 2020-09-22 21:56:22 +02:00
Sebastian Morr
eabf41a2d7 Repository is now a Control, and fix two regressions 2020-09-21 20:28:43 +02:00
Sebastian Morr
ba55f64118 Input line grabs focus when text editor closes 2020-09-21 18:59:55 +02:00
Sebastian Morr
0fdc6cd69c Fix drag and drop
For the input event to reach the nodes, all Controls need to set
mouse_filter to "ignore" it seems?
2020-09-21 18:33:34 +02:00
Sebastian Morr
3cfd6ec710 Put TextEditor into Terminal scene 2020-09-21 15:40:42 +02:00
Sebastian Morr
b2ac12c4ed Pull out TextEditor scene, it handles the TCP server 2020-09-21 15:40:31 +02:00
Sebastian Morr
260beefbe9 Put everything into nested Control nodes 2020-09-21 15:25:54 +02:00
Sebastian Morr
931e9b3beb Don't mangle tab in tree content, don't die if win script prints errors 2020-09-15 22:34:22 +02:00
bleeptrack
b84bb48004 Restructuring of goal/start scripts 2020-09-15 12:36:22 +02:00
bleeptrack
34b24344d4 Fix focus grab for commit messages 2020-09-15 11:30:40 +02:00
Sebastian Morr
7df489baf8 Experimental TCP Server node 2020-09-15 09:42:06 +02:00
Sebastian Morr
e9c3217015 Make command dropdown prettier 2020-09-14 19:36:58 +02:00
Sebastian Morr
0b4c4f9449 Dropdown menu for premade commands 2020-09-14 19:25:57 +02:00
Sebastian Morr
6d0fff27ad Add checkbox to hide trees and blobs 2020-09-14 16:03:01 +02:00
Sebastian Morr
b1d2536bcc Clear button, show arrow target if there's no node, add some goals 2020-09-14 15:35:30 +02:00
bleeptrack
4c79dd24a7 Next Level Button and Switch to Bash for Commands 2020-09-11 13:12:12 +02:00
Sebastian Morr
7c82381e8d Write win scripts for all levels (with a short, fun trip to quote hell) 2020-09-11 12:23:26 +02:00
Sebastian Morr
2aefdf8391 Fix all warnings 2020-09-11 10:33:44 +02:00
Sebastian Morr
41260bc93c Load next level when win condition is fulfilled 2020-09-10 12:47:18 +02:00
bleeptrack
39d952528f Win Script test for blob level 2020-09-10 12:03:46 +02:00
Sebastian Morr
888ff54d44 Start implementing an async run function for the shell 2020-09-08 22:58:44 +02:00
Sebastian Morr
579f18736a Introduce Shell class with a cd method and a run method
game.exec is now the only point in the code that calls OS.execute.
shell.run is the only point that refers to /bin/sh.
2020-09-08 16:08:40 +02:00
Sebastian Morr
5a291685fa Improve fonts and colors 2020-09-05 10:47:38 +02:00
Sebastian Morr
806253660f Fix caret position when using history 2020-09-03 18:10:09 +02:00
Sebastian Morr
75bf6ed86a Make Repository into a container, so we can resize them conveniently 2020-09-03 17:50:03 +02:00
Sebastian Morr
ca8aae560c Better colors and fonts 2020-09-01 21:25:24 +02:00
Sebastian Morr
590408e54c Implement very stupid history 2020-09-01 19:59:07 +02:00
Sebastian Morr
5161a8563e Only update graph when hitting button or sending command, for now 2020-09-01 19:32:33 +02:00
Sebastian Morr
2a0e2e46bb Use scripts to create levels, add level selector 2020-09-01 19:20:51 +02:00
Sebastian Morr
1b5cbe9cb0 Set up goal and active level from template repos 2020-09-01 18:26:43 +02:00
Sebastian Morr
01cf45dee4 Implement server that listens for connection from fake-editor script
As well as a commit message editor! \o/
2020-09-01 15:14:01 +02:00
Sebastian Morr
80cbff92a1 Run commands in the terminal using /bin/sh
And some hacks that set the EDITOR and the PATH.
2020-09-01 14:03:18 +02:00
Sebastian Morr
f3c311be58 Indent using tabs, which is Godot's default behavior
This should make it easier for new people to contribute.
2020-08-24 16:49:39 +02:00
Sebastian Morr
2f94af8e60 Add a terminal 2020-06-10 18:25:41 +02:00