Commit graph

459 commits

Author SHA1 Message Date
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
Sebastian Morr
1ea6e3b4ac Try to point edges downward 2020-09-14 14:54:30 +02:00
Sebastian Morr
f4990dedca Fix connection of normal refs
The --head option always outputs HEAD first.
2020-09-14 14:05:16 +02:00
Sebastian Morr
9ba485b789 Add levels for refs and symrefs 2020-09-13 21:55:51 +02:00
Sebastian Morr
cb2bb767db Properly support symrefs in refs/ 2020-09-13 21:55:24 +02:00
Sebastian Morr
8a6f957c61 Rename CommitMessage to TextEditor, because it's more general now 2020-09-13 18:44:27 +02:00
Sebastian Morr
078c1612ac fake-editor sends filename now, so that we can write tag descriptions, for example 2020-09-13 18:40:44 +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
75679c8bb1 Use Perl for the fake-editor :D 2020-09-09 18:32:57 +02:00
Sebastian Morr
4099030fcd Use bundled sh.exe, expand %TEMP% per-user 2020-09-09 17:59:56 +02:00
Sebastian Morr
61a59c8eb7 When exporting for Windows, bundle with PortableGit 2020-09-09 17:04:22 +02:00
bleeptrack
5ac3523817 Hardcoded windows paths for testing 2020-09-09 13:25:00 +02:00
Sebastian Morr
724a5fff03 Add some switches that set proper paths for Windows 2020-09-09 11:48:42 +02:00
Sebastian Morr
d352bd24c2 Look at the OS to decide which shell binary to run 2020-09-09 11:01:30 +02:00
Sebastian Morr
040dae1ab0 Send commands from terminal non-async for now 2020-09-08 23:01:01 +02:00
Sebastian Morr
888ff54d44 Start implementing an async run function for the shell 2020-09-08 22:58:44 +02:00
Sebastian Morr
2711d6ed8b Fix all warnings and errors 2020-09-08 20:26:14 +02:00
Sebastian Morr
3460e37d82 Hide read/write messages behind game.debug flag 2020-09-08 20:13:49 +02:00
Sebastian Morr
f09abe36e9 Move all exec operations to the Shell class 2020-09-08 16:46:12 +02:00
Sebastian Morr
5a8c377160 Copy fake-editor to /tmp when starting (the original might be in a .pck file) 2020-09-08 16:36:52 +02:00
Sebastian Morr
4fff68253c Allow exported Linux builds to run
When referring to local game files, we always need to use "res://".
2020-09-08 16:27:36 +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
02a0428d1c Three commits in parents level 2020-09-04 15:44:51 +02:00
Sebastian Morr
76167c5d15 Add back drag-n-drop for nodes (with left click). Copy ID with right click. 2020-09-04 15:10:04 +02:00
Sebastian Morr
132d7eea32 Convert space indentation to tabs 2020-09-04 14:57:37 +02:00
bleeptrack
00247318a6 Changed Level description to sh scripts 2020-09-04 11:40:42 +02:00
Sebastian Morr
f2b88d893e No hardcoded level list 2020-09-04 09:58:11 +02:00
Sebastian Morr
8e70be0b93 Attempt to fix the Linux export
The exported version still doesn't run for some reason?
2020-09-04 01:32:05 +02:00
Sebastian Morr
e2764bef24 Fix position of commit window 2020-09-03 22:39:16 +02:00
Sebastian Morr
7373984d47 Extract terminal in its own scene, add a few proper levels with a description 2020-09-03 19:22:46 +02:00
Sebastian Morr
ebbb505283 Add back level selector 2020-09-03 18:15:56 +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
b60c4b05d5 Insert a node's ID on click 2020-09-01 21:37:13 +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
8ee7abbc82 Add some shortcut buttons for fun 2020-09-01 19:51:14 +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
eb53163676 Move repository to its own scene 2020-09-01 17:24:21 +02:00
Sebastian Morr
7f3b8d1bca Remove unused callback functions 2020-09-01 16:48:22 +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