439 Commits

Author SHA1 Message Date
tramhao
1362c9925b Merge remote-tracking branch 'upstream/master' 2021-02-21 15:16:20 +08:00
raziman
6d9b9c63d0 prevent from panic in repl causes app to crash 2021-02-21 11:26:19 +08:00
raziman
6209496daa fix broken link 2021-02-21 09:58:55 +08:00
raziman
b0a3885b87 avoid memory leak 2021-02-21 09:32:22 +08:00
raziman
d84fc56fad add command test 2021-02-20 22:56:55 +08:00
raziman
e2a5f1fe99 make autocompletion async 2021-02-20 16:21:04 +08:00
raziman
41d1ed2d15 fix panic when pressing up key in repl 2021-02-20 15:37:22 +08:00
Raziman Mahathir
b558ae8e15
Merge pull request #23 from issadarkthing/event-hook
Add event hook
2021-02-20 11:25:27 +08:00
raziman
f712fbab75 add hook tests 2021-02-20 11:18:33 +08:00
raziman
2d65e54e64 change NewAnko to return *Anko 2021-02-20 11:18:03 +08:00
raziman
92765747e0 prevent from range over nil 2021-02-19 22:24:32 +08:00
raziman
94d83bc464 setup hooks
setup hooks
2021-02-19 22:23:57 +08:00
raziman
9d41e80edc add hook test 2021-02-19 22:22:36 +08:00
raziman
af336e1a60 add comments 2021-02-19 22:22:24 +08:00
raziman
1f0e990e2a setup hooks 2021-02-19 16:28:50 +08:00
raziman
cefb7b9264 show nil in repl 2021-02-19 16:28:50 +08:00
raziman
e8f0b306f0 change NewEventHook to return pointer 2021-02-19 16:28:50 +08:00
raziman
4fa99d1043 add more tests 2021-02-19 16:28:50 +08:00
raziman
310a43f8cf add EventHook 2021-02-19 16:28:50 +08:00
raziman
dcce622458 set correct progress bar length when screen is drawn 2021-02-19 15:08:10 +08:00
raziman
5e4c9f64b5 fix screen does not update playingbar 2021-02-19 15:07:44 +08:00
raziman
2788a10225 allow skip current song when queue is empty 2021-02-19 15:06:10 +08:00
tramhao
92d8885385 lyric in progress 2021-02-19 14:45:20 +08:00
tramhao
3c95da111f working in progress for lyrics 2021-02-19 14:28:55 +08:00
raziman
42c78535f9 fix cpu spike when no songs playing on startup 2021-02-19 13:16:22 +08:00
raziman
be97544e8b run go fmt 2021-02-19 10:25:01 +08:00
raziman
d0bac491c6 add repl keybinding 2021-02-19 10:24:21 +08:00
raziman
8a72c2018f clean up player.go 2021-02-19 09:56:01 +08:00
raziman
977bdb974f add verbose error message 2021-02-19 09:45:02 +08:00
raziman
50cf9dcf31 update README.md 2021-02-19 09:07:24 +08:00
Raziman Mahathir
3183e2efe7
Merge pull request #18 from issadarkthing/scripting-language
Resolves #16
Resolves #13
2021-02-18 17:10:52 +08:00
raziman
3da0c67a94 change {type,kind}Of to {type,kind}_of 2021-02-18 16:06:09 +08:00
raziman
ba8ccef350 clean up 2021-02-18 10:24:43 +08:00
raziman
2e8789d9bf add helper modules 2021-02-18 10:24:34 +08:00
raziman
6c998e7e82 new config style 2021-02-18 10:23:34 +08:00
raziman
d24a47e351 move variables into modules 2021-02-18 10:23:15 +08:00
raziman
fbd59e7d30 allow Get{Int,String,Bool} to access symbol inside Module 2021-02-18 10:20:37 +08:00
raziman
7ae79c4dfb print error to stderr 2021-02-18 09:49:41 +08:00
raziman
6797676e64 use Lshortfile flag for log 2021-02-17 21:52:29 +08:00
raziman
a3e8f3b132 debugPopup receives interface instead of string 2021-02-17 21:51:20 +08:00
raziman
5afd227aa2 add extra newline in repl for readability 2021-02-17 21:41:48 +08:00
raziman
9d68f24e78 reset history counter to zero when enter key is pressed 2021-02-17 21:41:34 +08:00
raziman
6a82e2a113 fix bug: repl displays value even when error occured 2021-02-17 20:44:01 +08:00
raziman
8e62af32a8 add anko keybinding test 2021-02-17 17:08:39 +08:00
raziman
294e9c3604 add List module 2021-02-17 15:24:02 +08:00
raziman
07122d6564 disable 'q' key from quitting repl mode 2021-02-17 15:23:35 +08:00
raziman
25cbf166ea add support for ctrl and alt keybindings 2021-02-17 15:23:08 +08:00
raziman
5d41aedc77 run go fmt 2021-02-17 12:18:04 +08:00
raziman
53d8254cae add command history 2021-02-16 21:18:02 +08:00
raziman
4841a34a2c Merge branch 'master' into scripting-language 2021-02-16 16:55:15 +08:00