Commit Graph

889 Commits

Author SHA1 Message Date
K. Lange
c867f6e84b sudo: need to actually *write* to file to update mtime - this is possibly a kernel issue 2018-12-27 21:16:02 +09:00
K. Lange
7401c1000d file-browser: oops, fix ^W 2018-12-27 13:10:11 +09:00
K. Lange
68fff6785c file-browser: better text input 2018-12-27 13:01:12 +09:00
K. Lange
92e0203075 esh: parser fix up for single-character variables 2018-12-26 20:20:04 +09:00
K. Lange
ae55558935 esh: add $# and fix syntax support 2018-12-26 20:05:22 +09:00
K. Lange
461a71aefa esh: add a bad $RANDOM 2018-12-26 19:47:57 +09:00
K. Lange
5e3a17d8c4 file-browser: recognize some files before marking them as executables 2018-12-26 19:07:15 +09:00
K. Lange
62900f9a22 file-browser: toolbar background was drawn one pixel too tall 2018-12-26 12:56:28 +09:00
K. Lange
45ccb8b071 msk: rudimentary lock 2018-12-26 12:37:05 +09:00
K. Lange
e4a72a352d file-browser: new view modes 2018-12-26 10:44:52 +09:00
K. Lange
b48b8541a4 migrate: fix silly macro derp 2018-12-26 00:06:42 +09:00
K. Lange
fc8e77f603 terminal-vga: add alternate buffer support 2018-12-25 16:05:51 +09:00
K. Lange
366756c99c gsudo: cancel on close/session end messages 2018-12-24 10:24:16 +09:00
K. Lange
d0b330d2e3 gsudo: should avertise so we appear in alt-tab 2018-12-24 10:18:02 +09:00
K. Lange
95351bf7ea panel: Alt+F3 shows window context menu 2018-12-23 18:12:55 +09:00
K. Lange
b6284d7886 file-browser: no alt menus on desktop 2018-12-23 18:03:21 +09:00
K. Lange
d4339e82a2 file-browser: actually show a cursor of some form in the navbar 2018-12-23 17:28:01 +09:00
K. Lange
e89245b90b file-browser: minor nav bar improvements 2018-12-23 17:24:26 +09:00
K. Lange
f5fc28cded file-browser: very rudimentary navigation bar input 2018-12-23 17:16:20 +09:00
K. Lange
b5a4a89ed4 help-browser: basic keyboard navigation 2018-12-23 16:34:27 +09:00
K. Lange
f232a8dd53 package-manager: basic keyboard navigation 2018-12-23 16:32:43 +09:00
K. Lange
adfc7aca18 file-browser: more keyboard controls 2018-12-23 16:16:42 +09:00
K. Lange
7f51afb3f2 splash-log: support for submessages with : 2018-12-21 17:47:19 +09:00
K. Lange
0433c683e7 esh: rudimentary support for variables before command lines (not compliant) 2018-12-20 14:57:59 +09:00
K. Lange
488c659e8d meta: add /etc/os-release and swap links back to github 2018-12-20 14:25:25 +09:00
K. Lange
1ec82032ec splash-log: avoid clearing past end of framebuffer pitch 2018-12-19 18:12:38 +09:00
K. Lange
eb19b26db4 startup: refactor startup, with status information 2018-12-18 12:12:17 +09:00
K. Lange
4ea638742d file-browser: shouldn't those be 64bit? 2018-12-12 12:38:08 +09:00
K. Lange
8c96093361 migrate: root should be 0755 2018-12-11 12:41:24 +09:00
K. Lange
e2b6f13ba2 libc: set errno on read, write 2018-12-11 09:42:21 +09:00
K. Lange
54e9044161 libc: add more toaru-specific syscall wrappers 2018-12-10 18:47:18 +09:00
K. Lange
004c792e91 gsudo: act like regular sudo 2018-12-08 17:02:00 +09:00
K. Lange
52f35de578 yutani: remove kbd_state, use active_modifiers instead 2018-12-08 12:43:01 +09:00
K. Lange
517060eebc file-browser, package-manager: pg up/pg dn scrolling 2018-12-08 12:35:15 +09:00
K. Lange
447fc7e730 crc32: use a different table 2018-12-08 11:30:16 +09:00
K. Lange
0293680a87 terminal: allow shift to bypass mouse modes to enable selection in Bim 2018-12-07 11:22:32 +09:00
K. Lange
aacb4284a0 yutani-test: show modifiers on mouse events 2018-12-07 11:16:09 +09:00
K. Lange
20f3d83e92 yutani: track keyboard modifiers with mouse events 2018-12-07 11:05:21 +09:00
K. Lange
9daace1b79 add crc32 2018-12-06 17:42:37 +09:00
K. Lange
0ddc8c15a1 file-browser: restart after reloading wallpaper... 2018-12-05 16:50:23 +09:00
K. Lange
c0e08faa71 file-browser: extraneous debug text 2018-12-05 16:37:15 +09:00
K. Lange
d374fefca7 file-browser: smooth wallpaper transitions, but memory usage is bad... 2018-12-05 16:32:43 +09:00
K. Lange
991177923f file-browser: fix buffer overflow in filename copy 2018-12-05 13:47:25 +09:00
K. Lange
fd7d969d35 add set_wallpaper.sh 2018-12-05 13:35:55 +09:00
K. Lange
ad7cd079d4 file-browser: wallpaper from user config; update on USR1 2018-12-05 13:26:09 +09:00
K. Lange
98f712e9af migrate: links do not have modes 2018-12-05 13:11:06 +09:00
K. Lange
a36f9d9453 file-browser: handle JPG files 2018-12-05 13:03:14 +09:00
K. Lange
1c5d4e16af file-browser: don't trace startup 2018-12-05 13:02:32 +09:00
K. Lange
10e9a64cb4 jpeg: use it 2018-12-05 13:01:16 +09:00
K. Lange
f559bca6d6 file-browser: don't redraw toolbar every time mouse moves in disabled button 2018-12-03 16:41:34 +09:00
K. Lange
625bdb6f96 terminal: fix some bad cursor visibility 2018-12-03 11:31:16 +09:00
K. Lange
109a138951 add snow (graphics demo) 2018-12-01 17:13:04 +09:00
K. Lange
f22f4556c2 esh: exit subshells on SIGINT 2018-12-01 11:39:59 +09:00
K. Lange
d8f91dcfbb bim: fix missing comma 2018-11-30 09:50:25 +09:00
K. Lange
27b9fe5fd1 beep: help text 2018-11-29 20:56:16 +09:00
K. Lange
7bd41a3157 piano: sustain until space 2018-11-29 20:56:07 +09:00
K. Lange
92a06067a2 beep: implement the same API as the standard 'beep' from Linux 2018-11-29 17:33:31 +09:00
K. Lange
a76e1fab29 markup: remove demo app (ref. help-browser instead) 2018-11-29 13:03:57 +09:00
K. Lange
eaf2f287ac help-browser: add temporary description for package-manager 2018-11-28 21:30:53 +09:00
K. Lange
2aff7e1f2e help-browser: very basic, minimal implementation 2018-11-28 21:11:19 +09:00
K. Lange
ed26eeefcd markup: use subregion for text rendering 2018-11-28 20:40:05 +09:00
K. Lange
623b19d865 markup: flowing multiline text demo 2018-11-28 20:15:28 +09:00
K. Lange
5e97b32e21 package-manager: visual improvements 2018-11-28 14:32:20 +09:00
K. Lange
aca47b862b toggle-relative-mouse: add query option 'get' 2018-11-27 20:40:46 +09:00
K. Lange
7e57d22c2a file-browser: pid file 2018-11-27 20:27:01 +09:00
K. Lange
c0229ae597 add (bad) chown 2018-11-27 20:26:33 +09:00
K. Lange
522cda0456 esh: msk tab completion (incl. package names) 2018-11-27 16:04:47 +09:00
K. Lange
3d1f2cfcc3 msk: fix bad version comparison function 2018-11-26 19:28:23 +09:00
K. Lange
aab3bdcbda package-manager: fix incorrect icon advertisement 2018-11-26 19:02:28 +09:00
K. Lange
5d297f3fcb du: fixes and -c 2018-11-25 23:04:30 +09:00
K. Lange
8616949734 du: size should align left 2018-11-25 15:31:04 +09:00
K. Lange
09021b60b4 add du (not block based) 2018-11-25 15:15:23 +09:00
K. Lange
fd8f7cec0d stat: handle multiple arguments 2018-11-25 12:57:58 +09:00
K. Lange
8d57dafc08 file-browser: more menus 2018-11-25 12:32:30 +09:00
K. Lange
027be4915e file-browser: minimum window size to avoid issues 2018-11-24 22:38:39 +09:00
K. Lange
e37ad79288 file-browser: read-only address bar 2018-11-24 22:23:12 +09:00
K. Lange
e9c4accd6e file-browser: disable buttons in toolbar as appropriate 2018-11-24 14:11:17 +09:00
K. Lange
6ddeeb27ce file-browser: experimental toolbar 2018-11-24 13:58:46 +09:00
K. Lange
d5386f459e bim: this is 1.1.6 2018-11-23 15:54:25 +09:00
K. Lange
e538c5aa57 package-manager: fancy selection background gradient from menus 2018-11-22 21:54:39 +09:00
K. Lange
732a6e200a file-browser, package-manager: focus stuff 2018-11-22 18:34:58 +09:00
K. Lange
6d11bee6a8 file-browser: take some highlighting hints from Nautilus 2018-11-22 18:23:25 +09:00
K. Lange
cc3aa63a7b kernel: handle O_EXCL... correctly... 2018-11-22 16:50:21 +09:00
K. Lange
437b894160 fetch: pedantic asshattery 2018-11-22 13:20:23 +09:00
K. Lange
11231ef206 package-manager: refresh manifest on startup if missing 2018-11-22 12:59:22 +09:00
K. Lange
a037fb216c add package-manager 2018-11-22 11:56:47 +09:00
K. Lange
5ac09aea5c fetch: don't print progress so often 2018-11-22 11:54:46 +09:00
K. Lange
cb0e001bcf msk: accept MSK_YES envvar to quiet prompts 2018-11-22 11:47:48 +09:00
K. Lange
1473151fa7 button: start working on widget libraries (this should probably be a ttk widget library...) 2018-11-22 10:43:30 +09:00
K. Lange
bb91a91cac bim: bug fixes 2018-11-21 22:26:44 +09:00
K. Lange
c46ccd81ba file-browser: more icons 2018-11-21 21:32:24 +09:00
K. Lange
cd63e25cff meta: relocate some files 2018-11-21 21:32:17 +09:00
K. Lange
f9ecde5548 file-browser: more icons 2018-11-21 21:22:27 +09:00
K. Lange
a36361d242 bim: read directory contents when opening directory 2018-11-21 19:17:42 +09:00
K. Lange
cc5f822d59 mv: uh, probably should be recursive on both of those 2018-11-21 17:50:45 +09:00
K. Lange
d9302a33d0 rm: rewrite; recursive directory deletion; TODO: unlink should fail on non-empty directories 2018-11-21 17:49:18 +09:00
K. Lange
d7c193d712 file-browser: accept argument as directory to open 2018-11-21 17:35:26 +09:00
K. Lange
2de7c54b6b file-browser: fix copying launchers 2018-11-21 15:31:43 +09:00
K. Lange
7bc98fab4d file-browser: bad copy-paste implementation 2018-11-21 15:31:41 +09:00
K. Lange
8e09834b11 esh: fix parse mistake on ~; 2018-11-21 15:31:37 +09:00
K. Lange
0888d02cb5 cp: somewhat real implementation 2018-11-21 15:31:30 +09:00
K. Lange
ecf9a4e74f terminal: add toggle for snap to cell size 2018-11-20 17:11:22 +09:00
K. Lange
7ecac9ae80 file-browser: cleanup and comments 2018-11-20 10:07:30 +09:00
K. Lange
e937069242 file-browser: context menu 'Edit in Bim' 2018-11-20 08:32:44 +09:00
K. Lange
8787fe1550 terminal: set initial TTY process group 2018-11-20 08:26:36 +09:00
K. Lange
80c2c6f303 file-browser: desktop support 2018-11-19 21:16:28 +09:00
K. Lange
212adc0cdc file-browser: open files; more icons; symlinks 2018-11-19 19:26:40 +09:00
K. Lange
9514c017ee terminal: use full arguments when launching an application 2018-11-19 19:26:19 +09:00
K. Lange
ba701ea0e3 showdialog: enter = 0, escape = 2 2018-11-19 16:10:35 +09:00
K. Lange
0741d625c9 file-browser: elide trailing line feed when copying files 2018-11-18 19:42:31 +09:00
K. Lange
3ac10012cf file-browser: various improvements 2018-11-18 19:27:35 +09:00
K. Lange
c183402c22 file-browser: ctrl-click, not shift, should add/remove selection 2018-11-18 19:18:35 +09:00
K. Lange
981f49e2e6 file-browser: copy paths 2018-11-18 19:16:22 +09:00
K. Lange
a49ef9d063 file-browser: catch a bad double click 2018-11-18 19:02:25 +09:00
K. Lange
cd1ade9c87 file-browser: basic select and double click 2018-11-18 18:59:29 +09:00
K. Lange
722a9a1db5 file-browser: revamped design 2018-11-18 18:36:03 +09:00
K. Lange
7d44c6174a panel: prompt on log out 2018-11-18 16:54:54 +09:00
K. Lange
72a49a5718 showdialog: mostly complete functionality 2018-11-18 16:54:46 +09:00
K. Lange
d8ca0b4414 yutani: save fullscreen screenshots without alpha channel 2018-11-18 15:23:26 +09:00
K. Lange
30287a76f8 showdialog: incomplete dialog box implementation 2018-11-18 15:06:07 +09:00
K. Lange
775a494bc0 yutani: save screenshots as TGA 2018-11-18 15:02:36 +09:00
K. Lange
5828cca446 file-browser: title cleanup; fix up 2018-11-18 10:25:24 +09:00
K. Lange
6a0845d54a dirname: add command and libc function 2018-11-18 09:56:43 +09:00
K. Lange
558a273828 basename: libc function 2018-11-18 09:47:23 +09:00
K. Lange
004dcb79c2 file-browser: add context menu with [Up] 2018-11-18 09:38:47 +09:00
K. Lange
0188140357 sysinfo: show package manager info 2018-11-17 13:52:08 +09:00
K. Lange
d40340ec13 yutani-query: add command-based interface 2018-11-17 13:51:48 +09:00
K. Lange
022a005028 msk: add count command to list package info 2018-11-17 13:51:14 +09:00
K. Lange
66915d6f06 markup: actual font state stack 2018-11-14 17:25:39 +09:00
K. Lange
d1ff49e70b sdf: add oblique, bold oblique fonts 2018-11-14 17:16:11 +09:00
K. Lange
0f683d32de markup: wip markup parser and rendering 2018-11-12 20:24:42 +09:00
K. Lange
427b1559db imgviewer: redraw properly on focus change 2018-11-12 20:24:29 +09:00
K. Lange
99dbcb81ab msk: set app version to 1.0.0 2018-11-12 16:16:40 +09:00
K. Lange
f1eb966787 bim: fixup conf syntax 2018-11-12 11:00:49 +09:00
K. Lange
b25b8242b0 msk: complain if no remotes succeeded 2018-11-12 10:36:47 +09:00
K. Lange
2834bb9ef3 bim: add conf/ini highlighting 2018-11-12 10:06:34 +09:00
K. Lange
eed65074c6 msk: allow for repo order to be enforced 2018-11-12 09:57:36 +09:00
K. Lange
3540023b88 fetch: hide cursor while drawing progress 2018-11-12 09:29:40 +09:00
K. Lange
72aaed2eef msk: allow for and properly merge multiple remote manifests 2018-11-12 09:26:30 +09:00
K. Lange
17fca7a0d4 msk: basic network download support 2018-11-09 19:41:53 +09:00
K. Lange
b93f99633b petty: re-add old getty 2018-11-08 18:02:54 +09:00
K. Lange
6fc8317e27 bim: bump to v1.1.5 2018-11-07 16:12:50 +09:00
K. Lange
1604c43769 yutani-query: add quiet option 2018-11-07 12:44:19 +09:00
K. Lange
ace77aee9c msk: rudimentary package manager 2018-11-07 12:44:09 +09:00
K. Lange
89d654e233 tar: don't complain when directory exists 2018-11-07 12:19:52 +09:00
K. Lange
f213be0334 chmod: fix infinite loop parsing octal modes 2018-11-07 11:54:42 +09:00
K. Lange
79ad8dbb79 go-video.sh: bail when failed to set video mode 2018-11-02 14:44:45 +09:00
K. Lange
d510c1375d set-resolution: should bail with bad arguments 2018-11-02 09:07:58 +09:00
K. Lange
d8c8b2cc98 irc: we send 7Fh for backspace these days... 2018-11-01 22:05:30 +09:00
K. Lange
689cbd9cba go-video.sh: go to video mode from VGA text mode 2018-11-01 21:11:56 +09:00
K. Lange
bb0448b935 terminal-vga: set TERM=toaru-vga 2018-11-01 21:09:29 +09:00
K. Lange
339c0d7b8d sysinfo: allow other toaru- terminals 2018-11-01 21:06:39 +09:00
K. Lange
0c028e2e74 bim: update 2018-11-01 21:06:29 +09:00
K. Lange
c1dcfca920 kernel: more directory permissions 2018-11-01 13:46:59 +09:00
K. Lange
ff5513f2c0 bim: update to v1.1.2 2018-10-31 22:36:24 +09:00
K. Lange
a85611e669 bim: fix -C/-c 2018-10-31 22:08:07 +09:00
K. Lange
fea6693410 apps: signal usage cleanup 2018-10-31 18:58:10 +09:00
K. Lange
dc38dd5672 esh: add rehash command to fix syntax highlighting, tab completion 2018-10-31 17:52:01 +09:00
K. Lange
84c171c7ee sudo: cache success 2018-10-31 11:40:51 +09:00
K. Lange
b42c185421 sudo: support euids with setuid binaries 2018-10-31 10:28:41 +09:00
K. Lange
ba40bb5cc6 drawlines: single-threaded with fswait 2018-10-30 21:20:10 +09:00
K. Lange
a8b39ada97 esh: fix missing linefeed after source error message 2018-10-30 21:06:47 +09:00
K. Lange
8c4997e369 esh: fix hashmap crash when trying to remove nonexistent jobs? 2018-10-30 18:56:20 +09:00
K. Lange
f9a64b6ac7 debug_sh: cleanup 2018-10-30 16:56:28 +09:00
K. Lange
947d8ddde7 mktemp: in /tmp by default 2018-10-30 16:45:03 +09:00
K. Lange
0282e6281e esh: fix globbing of .* 2018-10-30 16:10:49 +09:00
K. Lange
e8ec1cb6c3 kernel: setsid should set pgid=pid 2018-10-30 15:58:15 +09:00
K. Lange
c3b841d13c sh: bad pgid when resetting? 2018-10-30 15:36:09 +09:00
K. Lange
622c8304f1 esh: cleaner hashmap usage; fix bad semaphore 2018-10-30 13:39:39 +09:00
K. Lange
35c29e9b4d kernel: getpgid; esh: fixups 2018-10-30 13:28:11 +09:00
K. Lange
36afa24d2f kernel: invert WEXITED to WSTOPPED 2018-10-30 13:11:07 +09:00
K. Lange
821eb55496 esh: fixup pgrp juggling 2018-10-30 08:44:09 +09:00
K. Lange
422a264b49 sh: conditionals should only wait on their own processes 2018-10-29 21:39:32 +09:00
K. Lange
ad22ffaca9 esh: basic support for ~ paths 2018-10-29 21:33:52 +09:00
K. Lange
42dbc44212 esh: don't die when unable to source 2018-10-29 21:25:31 +09:00
K. Lange
829ebcd4a1 esh: fix output for fg, bg when no jobs 2018-10-29 21:21:39 +09:00
K. Lange
614eb752d4 add reset 2018-10-29 21:21:26 +09:00
K. Lange
26801b76fd init: don't actually open serial by default 2018-10-29 20:56:51 +09:00
K. Lange
23573a1f35 getty: ensure tty is sane 2018-10-29 20:56:41 +09:00
K. Lange
81ba10fe3f serial: new direct tty serial driver 2018-10-29 19:55:55 +09:00
K. Lange
5831f88328 esh: fixup behavior of & tasks in non-interactive shells 2018-10-29 13:47:27 +09:00
K. Lange
8d5c2aeb5a cat: accept - as an argument 2018-10-29 13:47:05 +09:00
K. Lange
d26129ce39 esh: don't create jobs from & commands when not interactive 2018-10-29 13:04:19 +09:00
K. Lange
9a6a5ce9c1 esh: report status of backgrounded apps when they finish 2018-10-29 12:45:22 +09:00
K. Lange
7fe9c841d4 esh: bg command 2018-10-29 10:59:01 +09:00
K. Lange
573dd69cd3 esh: backgrounded commands should produce jobs we can fg 2018-10-29 10:49:53 +09:00
K. Lange
9ff2b20821 esh: additional signal descriptions 2018-10-28 19:40:21 +09:00
K. Lange
b06248b631 esh: incorrect references to pid in wait_for_child 2018-10-28 19:40:08 +09:00
K. Lange
0995d14106 tty: kernel should send SIGWINCH, not terminal 2018-10-28 19:03:04 +09:00
K. Lange
4fb42341dd sh: should wait for -1 in non-interactive shells 2018-10-28 18:52:44 +09:00
K. Lange
02d5f77f10 more correct pgrp juggling 2018-10-28 18:23:11 +09:00
K. Lange
4d854b156c lfbvideo: allow display initialize to be triggered by ioctl 2018-10-27 16:18:09 +09:00
K. Lange
e3fd396897 terminal-vga: stop reading from kbd/mouse on SIGUSR2 2018-10-27 16:17:54 +09:00
K. Lange
ad9fc6caa4 esh: better handling for suspended pipelines 2018-10-27 12:12:17 +09:00
K. Lange
51df8004dd job control: kill/cont process groups 2018-10-26 23:19:46 +09:00
K. Lange
6c88956fa4 job control 2018-10-26 20:34:15 +09:00
K. Lange
8a58745c27 stty: setter for VWERASE 2018-10-26 13:51:08 +09:00
K. Lange
07ae3dd089 tty: add VWERASE 2018-10-26 13:46:47 +09:00
K. Lange
089d5235c3 stty: DEL is the default for VERASE 2018-10-26 13:40:40 +09:00
K. Lange
092ca7c196 tty: ascii DELETE for backspace; no serial conversion 2018-10-26 13:39:03 +09:00