3309 Commits

Author SHA1 Message Date
Remo Senekowitsch
e0334f79fe
Avoid nested function definition 2026-04-25 14:08:53 +02:00
Remo Senekowitsch
c658a997f3
Turn unnecessary closure into regular function 2026-04-20 13:55:08 +02:00
Remo Senekowitsch
03c5baf35c
Emphasize hotkeys in footer with color 2026-04-18 05:57:14 +02:00
Mo Bitar
b7308825ec
Merge pull request #2296 from senekor/senekor/nqmzmklxswoz
Make users type method syntax themselves in `structs3`
2026-04-13 19:01:44 +02:00
Remo Senekowitsch
346753b673
Make starting fireworks more fun :) 2026-04-13 18:58:53 +02:00
Mo Bitar
3bbc3001c9
Merge pull request #2378 from k7a-tomohiro/remove-unnecessary-tmp-file
Remove unnecessary tmp.txt file
2026-04-08 13:02:33 +02:00
k7a-tomohiro
b59f444bbc remove 2026-04-08 08:26:23 +09:00
mo8it
a307599b0b Fix test 2026-04-07 00:15:33 +02:00
mo8it
432d1f84ea Add --no-editor 2026-04-07 00:10:25 +02:00
mo8it
b5fbf59c0c Check if editor program exists before choosing it 2026-04-07 00:04:56 +02:00
mo8it
695f927893 Show file link on reset command 2026-04-06 23:29:59 +02:00
mo8it
f403d9e1b6 Show current exercise on hint command 2026-04-06 23:29:59 +02:00
mo8it
95499f18dd Close editor on quit 2026-04-06 23:11:35 +02:00
mo8it
bc0b4e9f9a Simplify Editor::open 2026-04-06 17:32:30 +02:00
mo8it
b0dc014040 Improve description of --edit-cmd 2026-04-06 17:24:55 +02:00
mo8it
b48663030b Add shlex 2026-04-06 16:58:15 +02:00
mo8it
dace3e3953 Add run_cmd 2026-04-06 16:58:15 +02:00
mo8it
c9ccedcff6 Support VSCode and --edit-cmd as editor 2026-04-06 16:58:15 +02:00
mo8it
4d97c31c0f Add Zellij support 2026-04-06 01:32:29 +02:00
Remo Senekowitsch
7c1d8ebf49
Make users type method syntax themselves in structs3
closes #2286
2026-04-05 22:23:47 +02:00
mo8it
95b6160b54 Don't manually inline 2026-04-05 17:29:24 +02:00
mo8it
c466d01da9 Unify imports 2026-04-05 17:28:27 +02:00
mo8it
7ed2316040 Update changelog 2026-04-05 15:53:36 +02:00
mo8it
7d53dc4c95 Update deps 2026-04-05 15:35:16 +02:00
mo8it
7150a9eb79 Add rumdl 2026-03-30 17:34:13 +02:00
mo8it
37cbcd9049 Adjust CI triggers 2026-03-25 18:29:58 +01:00
mo8it
3e46d8c50a Update deps 2026-03-25 18:29:37 +01:00
mo8it
08eb634db5 Upgrade deply-pages 2026-03-25 18:25:08 +01:00
mo8it
573d5a2acd Fix integration tests for build dir layout v2 2026-03-17 12:48:43 +01:00
mo8it
d3df105167 Upgrade to Zola 0.22 2026-03-17 12:48:43 +01:00
mo8it
2c9c31e8a2 Remove cargo-upgrades from release hook 2026-03-17 12:48:43 +01:00
mo8it
a28b9eda84 Delay inside_vcs_repo check until Git initialization 2026-03-14 18:26:03 +01:00
Mo Bitar
802dcfc987
Merge pull request #2285 from senekor/senekor/kvtomxvosvvx
Avoid initializing nested Git repository
2026-03-14 18:00:03 +01:00
mo8it
ceb98475e2 Avoid unneeded castings 2026-03-14 17:41:13 +01:00
mo8it
337f6b1521 Apply pedantic Clippy lints 2026-03-14 17:29:37 +01:00
mo8it
0ffeb14402 Avoid unneeded computation on full progress bar 2026-03-14 17:29:37 +01:00
mo8it
611d62951f Update deps 2026-03-14 17:29:37 +01:00
Mo Bitar
415bf695be
Merge pull request #2367 from gabfec/fix/term-width-oeverflow
Fix u16 mul overflow with big term width
2026-03-14 17:29:10 +01:00
Gabriel Feceoru
d87a3b6ca5 Fix u16 mul overflow with big term width
When running rustlings in Rover IDE, term width could have a value of 2480
which causes u16 mul overflow.
2026-03-14 16:34:38 +01:00
mo8it
064f057b10 Improve integration testing 2026-02-26 18:02:07 +01:00
Remo Senekowitsch
17ff88902b
Avoid initializing nested Git repository
Previously a Git repository was initialized if a Cargo workspace was
detected. However, it's also possible for users to initialize rustlings
in an existing Git repository that doesn't contain a Cargo workspace. In
that case, it's still undesirable to initialize a nested Git repository
for rustlings. We therefore search all ancestors of the current working
directory for `.git` or `.jj` directories to determine if rustlings is
being initialized in an existing Git repository.
2026-02-26 17:57:47 +01:00
Mo Bitar
75c06bb7f4
Merge pull request #2361 from senekor/senekor/mxstspkxoyyp
Improve error messages if tests fail
2026-02-26 17:54:22 +01:00
mo8it
7e5793b642 Remove \r on Windows 2026-02-26 17:43:44 +01:00
Remo Senekowitsch
c163bfe563
Improve error messages if tests fail 2026-02-26 17:40:35 +01:00
mo8it
e91647b023 Add RUSTBACKTRACE as env 2026-02-26 16:26:41 +01:00
mo8it
aaf8cad778 Add backtrace to CI 2026-02-26 16:22:27 +01:00
mo8it
8738518699 Use rustlings_dir when deleting the temporary dir before recreating it 2026-02-26 16:21:49 +01:00
mo8it
9011d34987 Swap name and dir to stay consistent with the info file 2026-02-26 16:12:34 +01:00
mo8it
2512701e2f Keep exercise path owned 2026-02-26 16:10:09 +01:00
mo8it
0cbcb8964c Borrow deserialized values 2026-02-26 16:10:09 +01:00