Commit Graph

383 Commits

Author SHA1 Message Date
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
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
5bcd190af4 update ~/README with info on msk 2018-11-12 12:29:01 +09:00
K. Lange
eed65074c6 msk: allow for repo order to be enforced 2018-11-12 09:57:36 +09:00
K. Lange
72aaed2eef msk: allow for and properly merge multiple remote manifests 2018-11-12 09:26:30 +09:00
K. Lange
c71ed6ab60 qemu: use a TCP socket for 'make shell' w/ nc 2018-11-08 18:37:55 +09:00
K. Lange
be02291b53 qemu: export and collect TERM in 'make shell' 2018-11-07 18:22:48 +09:00
K. Lange
ace77aee9c msk: rudimentary package manager 2018-11-07 12:44:09 +09:00
K. Lange
33e29e2d21 eshrc: check for toaru-vga instead of running terminal-vga 2018-11-01 21:09:45 +09:00
K. Lange
758a8b6cf4 tmpfs: mount through startup, not on module load 2018-10-31 18:18:11 +09:00
K. Lange
b42c185421 sudo: support euids with setuid binaries 2018-10-31 10:28:41 +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
886f5797fb kernel: add modes and offsets to file descriptors 2018-10-29 20:57:17 +09:00
K. Lange
81ba10fe3f serial: new direct tty serial driver 2018-10-29 19:55:55 +09:00
K. Lange
9a6a5ce9c1 esh: report status of backgrounded apps when they finish 2018-10-29 12:45:22 +09:00
K. Lange
4d854b156c lfbvideo: allow display initialize to be triggered by ioctl 2018-10-27 16:18:09 +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
07ae3dd089 tty: add VWERASE 2018-10-26 13:46:47 +09:00
K. Lange
cc4874f90a tty: improvements (^V, fix nlcr behaviors, enter sends ^M) 2018-10-26 10:15:16 +09:00
K. Lange
f94bedccdb eshrc: add python-demos to PATH if available 2018-10-19 11:00:05 +09:00
K. Lange
16c18d7567 base: default .eshrc to add paths for gcc and binutils 2018-10-12 18:11:41 +09:00
K. Lange
e12508ca29 libc: stub limits.h to satify an include_next 2018-10-12 16:16:21 +09:00
K. Lange
97555916fa opt: add some c 2018-10-12 16:00:20 +09:00
K. Lange
fb0327a1cf libc: some stat things should be signed 2018-10-12 12:45:39 +09:00
K. Lange
8b304df414 libc: define something so GMP knows FILE exists 2018-10-12 12:45:21 +09:00
K. Lange
fe91fbdc9e libc: more PRI specs 2018-10-12 12:45:01 +09:00
K. Lange
4777fddd36 libc: signal functions should take int 2018-10-12 12:44:46 +09:00
K. Lange
f40f8b7197 libc: C++ header guards 2018-10-12 11:15:40 +09:00
K. Lange
b33815c632 libc: support for building libstdc++? 2018-10-12 10:35:28 +09:00
K. Lange
c3a6b4f486 base: default PS1_RIGHT should clear attributes 2018-10-11 20:44:49 +09:00
K. Lange
f7eb386d81 decorations: single pixel exposed edges on tiled windows 2018-10-11 09:53:55 +09:00
K. Lange
9db81febb6 opt: add directory; add asm demo 2018-10-10 22:40:26 +09:00
K. Lange
045e511d74 libc: fscanf stubs 2018-10-10 11:30:25 +09:00
K. Lange
3d780117c3 libc: working wcstombs and mbstowcs 2018-10-10 11:01:30 +09:00
K. Lange
c64d881181 libc: bad, bsd-style mktemp (also add user app) 2018-10-10 10:11:28 +09:00
K. Lange
5cec6037ee libc: stub sscanf 2018-10-10 10:06:13 +09:00
K. Lange
14e8a6ea7f libc: add naive bsearch 2018-10-10 09:35:09 +09:00
K. Lange
2498ee21f6 strtol and family 2018-10-10 09:13:54 +09:00
K. Lange
d3907663d0 libc: more string functions 2018-10-10 08:42:52 +09:00
K. Lange
f3c800b791 add logname, getlogin() 2018-10-09 20:35:53 +09:00
K. Lange
c35b51ad14 pty: preparations to make serial ports actual ttys 2018-10-09 20:13:08 +09:00
K. Lange
11772506bb kernel, libc: tty names 2018-10-09 19:56:45 +09:00
K. Lange
4a98815c25 sys/param.h: stub header 2018-10-08 22:20:18 +09:00
K. Lange
31214693dd Fixes to build kernel and modules with clang 2018-10-07 11:53:07 +09:00
K. Lange
cf199f04ec Don't include Python demos on the ramdisk by default 2018-10-03 09:36:53 +09:00
K. Lange
b189bfa659 Pull in Python panel/wallpaper from 1.2.x 2018-10-03 09:32:32 +09:00
K. Lange
ffe0aa2448 fcntl flock stubs to support Python fcntl module 2018-10-03 09:17:24 +09:00
K. Lange
719d27166d Allow compositor to load Cairo backend later at runtime 2018-10-02 18:58:03 +09:00
K. Lange
3f6234a683 Add a friendly README in ~local 2018-10-01 21:30:09 +09:00
K. Lange
cbc59debbd rm ~local/hello 2018-10-01 21:22:45 +09:00
K. Lange
05d4b79568 Move Python demos to /usr/share 2018-10-01 21:20:54 +09:00
K. Lange
36e9046ae8 Allow modules to install procfs entries 2018-09-30 16:09:19 +09:00
K. Lange
f2024aa274 Properly support strides 2018-09-29 01:13:47 +09:00
K. Lange
de94682728 Only the kill syscall should care about user permissions for signals 2018-09-28 23:59:12 +09:00
K. Lange
6e8d92cdd2 Expose lfb_driver_name 2018-09-28 23:58:43 +09:00
K. Lange
8b07197870 linear framebuffer driver cleanup, add /proc/framebuffer 2018-09-28 21:15:30 +09:00
K. Lange
7a20e11aea proper waitpid status values 2018-09-28 13:00:51 +09:00
K. Lange
c5d1ab507f [python] fix some decoration bounds calculations 2018-09-26 20:50:28 +09:00
K. Lange
49e0dd71e7 attribute assignment is no good 2018-09-25 21:18:35 +09:00
K. Lange
fb067c4b93 More new API stuff 2018-09-25 21:12:49 +09:00
K. Lange
1050d76c87 decoration sizes can change 2018-09-25 20:52:51 +09:00
K. Lange
3a303fa843 Add more Python apps 2018-09-25 20:34:57 +09:00
K. Lange
95b1f33e7f submenu ticks in python menu library 2018-09-25 18:44:38 +09:00
K. Lange
e7ee6ab948 Fixup icons in python about dialogs 2018-09-25 17:58:01 +09:00
K. Lange
6187868ba0 Support icons in Python menus 2018-09-25 17:55:39 +09:00
K. Lange
58b1c0e80c Add icon_cache.py 2018-09-25 17:55:30 +09:00
K. Lange
5e46866bf3 Add basic sprite support to yutani.py 2018-09-25 17:55:22 +09:00
K. Lange
a7616a38a5 oops, comitted bad changes to yutani_mainloop re: menus 2018-09-25 17:18:36 +09:00
K. Lange
1fe143ebea import a bunch of old python stuff for testing 2018-09-25 15:34:44 +09:00
K. Lange
4cde60c50e add unsetenv 2018-09-23 12:06:25 +09:00
K. Lange
238c1fcad0 Use exec in menus to not keep sh around 2018-09-22 22:45:00 +09:00
K. Lange
91125fc6f2 Session management improvements; set freetype interpreter 2018-09-22 22:37:47 +09:00
K. Lange
d31d71bdd3 Support cairo extension in compositor (still in progress) 2018-09-22 19:14:46 +09:00
K. Lange
0821cc05d1 add hypot 2018-09-21 20:26:22 +09:00
K. Lange
120f95c584 Reconfigure font-server and start it when conditions are appropriate 2018-09-21 13:13:20 +09:00
K. Lange
0c4bd30242 Experimental slow sprite rotation 2018-09-17 20:35:40 +09:00
K. Lange
b55f3231db Remove redundant backslashes from eshrc 2018-09-17 16:34:48 +09:00
K. Lange
06a7ca8cd9 Add anti-aliased line drawer (slow, but effective) 2018-09-15 19:52:25 +09:00
K. Lange
85db6525a8 hacked up support for python syntax highlighting in rline_exp 2018-09-15 17:52:01 +09:00
K. Lange
6a76b257f4 add atexit() 2018-09-15 16:26:45 +09:00
K. Lange
8fcf56f716 eshrc hack to make vga terminal use default rline theme 2018-09-14 22:49:23 +09:00
K. Lange
a3d55b1b88 Patch in rline_reverse_search for rline_exp 2018-09-13 14:42:42 +09:00
K. Lange
b25aa946e5 Improvements to experimental line editor 2018-09-13 12:54:00 +09:00
K. Lange
b7c642c273 Experimental rline replacement with syntax highlighting 2018-09-12 22:50:22 +09:00
K. Lange
3ca9b765f7 update yutani python demo with new decor library ABI 2018-09-12 14:44:49 +09:00
K. Lange
14a63ba154 Advertise fullscreen-ness of windows and collect it automatically as a decorator flag 2018-09-12 13:22:25 +09:00
K. Lange
6e6675dd0a Restructure decorations so bounds can be window-specific (for fullscreen) 2018-09-12 12:53:08 +09:00
K. Lange
209d6d7e89 Add more libc header stuff 2018-09-01 22:14:34 +09:00
K. Lange
191609c30f poll wrapper around fswait2 (experimental; no POLLOUT, no POLLPRI) 2018-08-31 12:31:35 +09:00
K. Lange
5a2d292d3c Add a bimrc 2018-08-30 16:23:29 +09:00
K. Lange
d5aab96199 Rudimentary (incomplete) alternate screen support 2018-08-28 20:08:58 +09:00
K. Lange
4f450cfd83 Pipes should wake up from fswait when they close 2018-08-21 22:57:14 +09:00
K. Lange
bea8d8f6db libc updates 2018-08-21 21:50:52 +09:00
K. Lange
244c1cedc8 Make default ESH prompt show in vte titlebars 2018-08-20 13:21:29 +09:00
K. Lange
ca08d442d6 Replace utf8decode with our own thing 2018-08-19 21:07:52 +09:00
K. Lange
9eda9c53a9 utf8 - 'inline is not at beginning of declaration' 2018-08-18 09:10:08 +09:00
K. Lange
36ca4d420b sys/mount.h 2018-08-15 15:49:01 +09:00
K. Lange
f97222ff03 Cleanup docs for yutani client lib 2018-08-15 14:50:20 +09:00
K. Lange
d96f52ec93 single-user terminal should start full screen 2018-08-14 11:39:26 +09:00
K. Lange
864cbdb868 Fix debug shell not being able to start a shell by allowing system() in kernel to take an env 2018-08-14 11:33:02 +09:00
K. Lange
f7e6ceebf2 add not command to shell to invert return codes 2018-08-14 08:11:19 +09:00
K. Lange
c5c0e5b89c change the way 98_qemu_login works 2018-08-13 18:07:19 +09:00
K. Lange
e9853dbd4f quick local shell access from qemu 2018-08-13 13:32:26 +09:00
K. Lange
44c8f093f0 draw_rectangle 2018-08-12 20:03:27 +09:00
K. Lange
f372859ddb make sure startup scripts are +x 2018-08-12 18:12:26 +09:00
K. Lange
eff64a3fc0 Automatically run qemu display hack if under harness 2018-08-12 17:21:05 +09:00
K. Lange
64aac5e063 Mount cdrom if available 2018-08-12 17:14:15 +09:00
K. Lange
8fb1d23b53 rename init.d to startup.d to avoid conflicting with typical usage 2018-08-12 16:47:22 +09:00
K. Lange
4fbfafc442 New shell-script-based init system 2018-08-12 16:36:56 +09:00
K. Lange
4dbade5b5a waitpid should be able to ignore kernel processes 2018-08-12 16:36:44 +09:00
K. Lange
74cf97ebc2 eshrc 2018-08-12 10:52:00 +09:00
K. Lange
7bfec745d9 [experimental] Enable write-combining in video memory with PAT? 2018-08-06 16:32:06 +09:00
K. Lange
ae6532607a Add libc wrappers for some syscalls, remove unused syscall.h imports 2018-08-02 13:13:27 +09:00
K. Lange
3f39c0ad61 Remove term-set and support for special terminal font escapes 2018-08-02 11:16:08 +09:00
K. Lange
bd3f1b0334 get/sethostname 2018-08-02 03:40:43 +09:00
K. Lange
b0a154a07e Fix up submenu hilighting 2018-07-23 19:32:58 +09:00
K. Lange
5f7b7c9f38 Render windows as focused when they have menus, like we used to in python 2018-07-22 01:24:22 +09:00
K. Lange
b26104c156 Keyboard interaction between menubar entries 2018-07-21 18:32:00 +09:00
K. Lange
0e45293ced Merge menubar into menu 2018-07-21 17:56:10 +09:00
K. Lange
f10a54dd2b PIIX PIRQ handling? 2018-07-21 16:57:36 +09:00
K. Lange
095d087e1d IRQ stuff 2018-07-21 16:02:39 +09:00
K. Lange
255b750b62 Add method to update menu entry title 2018-07-20 23:08:12 +09:00
K. Lange
7cd46127a9 Add imperfect, but sufficient, rounded rectangle routine 2018-07-20 21:26:01 +09:00
K. Lange
861fa4f82a putchar is implemented, just wasn't def'd properly 2018-07-20 08:23:11 +09:00
K. Lange
23ec6736db Don't define SIG_SETMASK, et al. 2018-07-19 19:51:43 +09:00
K. Lange
b9419c756b some missing stdio stuff 2018-07-19 19:12:49 +09:00
K. Lange
c35ccc0722 vasprintf should return int 2018-07-19 18:50:15 +09:00
K. Lange
0f2aa1aa84 adjust kerning on ' 2018-07-18 22:31:50 +09:00
K. Lange
35a2a4bc5c more filesystem permission things, add rm 2018-07-18 15:35:52 +09:00
K. Lange
528a85a091 Remove redundant elf.h 2018-07-18 14:59:25 +09:00
K. Lange
1ecdb29e51 chown in libc 2018-07-18 12:37:21 +09:00
K. Lange
8df6b6a419 Add macro for libc to use for setting errno in syscall functions 2018-07-18 09:43:56 +09:00
K. Lange
92ab1d99ac Slip some quick fixes into yutani.py 2018-07-17 21:16:48 +09:00
K. Lange
e7ccc61d62 Support mode setting from EFI 2018-07-12 10:53:36 +09:00
K. Lange
9c93040303 Maybe just make default bufsiz 8192 2018-07-01 09:37:05 +09:00
K. Lange
03ab5b9f78 Fix missing execve; add .* printf support for s 2018-06-29 10:42:56 +09:00
K. Lange
79ac5ba9b1 Fix several Python things 2018-06-26 20:53:48 +09:00
K. Lange
d9ac477827 Yutani demo should start bigger so the maximize button doesn't look weird 2018-06-26 09:08:08 +09:00
K. Lange
80be73d365 Add fixed yutani.py demo in ~local/python-demos 2018-06-25 21:45:06 +09:00
K. Lange
ff292f6c8d Actually, just make that compliant and use NDEBUG 2018-06-25 21:43:16 +09:00
K. Lange
bb689dd36c Yet more libc fixes, Python now runs 2018-06-25 20:15:45 +09:00
K. Lange
8080b5272f Cleanup default paths 2018-06-25 16:46:13 +09:00
K. Lange
22a3321c25 More libc 2018-06-25 16:34:07 +09:00
K. Lange
5cd281a1a6 More libc for Python (almost done) 2018-06-25 15:45:32 +09:00
K. Lange
a404c0f0af Enough to build lua 2018-06-25 13:15:09 +09:00
K. Lange
a283332be6 At least define a bunch of libc stuff 2018-06-25 12:11:33 +09:00
K. Lange
416ae2d1a3 Move internal yutani stuff to a separate header 2018-06-23 18:51:48 +09:00
K. Lange
1381116048 Add submenu tick 2018-06-20 11:17:27 +09:00
K. Lange
08e3f58146 Some bad locale functions 2018-06-10 19:31:18 +09:00
K. Lange
5ae86c9213 incomplete textregion library 2018-06-09 17:32:24 +09:00
K. Lange
74e4ee5f56 Add basic numpad support 2018-06-08 15:11:41 +09:00
K. Lange
bb405c7bb4 New wallpaper 2018-06-07 13:03:26 +09:00
K. Lange
78128e0839 gitlab migration 2018-06-05 09:44:56 +09:00
K. Lange
3253959782 Make exit icons look slightly better 2018-06-04 18:53:27 +09:00
K. Lange
9bf08fcff6 Fix some multiboot flag stuff 2018-05-21 22:31:49 +09:00
K. Lange
e5d5921526 symlink support in migrate 2018-05-21 21:45:18 +09:00
K. Lange
23c458e88a wip file browser, help browser (blank apps) 2018-05-21 08:12:02 +09:00
K. Lange
d6afa06c80 Menu bar in a separate library 2018-05-20 16:47:35 +09:00
K. Lange
8442d4494c Expose more methods from menu library 2018-05-20 12:37:22 +09:00
K. Lange
4a4c1e640d Remove help menu item for now 2018-05-19 19:59:42 +09:00
K. Lange
50b21b080d Cleanup and fixes 2018-05-19 19:43:00 +09:00
K. Lange
910973bec7 *experimental* nested menus support 2018-05-19 19:05:27 +09:00
K. Lange
16200d76f1 Allow apps to opt out of a maximize button 2018-05-19 16:05:17 +09:00
K. Lange
4ff96e4bdf Store large clipboard selections in a file 2018-05-15 14:54:22 +09:00
K. Lange
ee1aeb89b2 Clipboard in compositor 2018-05-15 14:39:07 +09:00
K. Lange
4a4b316de3 stdio stuff 2018-05-15 12:39:38 +09:00
K. Lange
d1148356ff resolve spurious build issues 2018-05-11 08:29:31 +09:00
K. Lange
ffa4bd7360 Add login, sudo, user session, auth lib, etc. 2018-05-10 22:33:32 +09:00
K. Lange
554e6d10ed More libc stuff 2018-05-10 22:23:46 +09:00
K. Lange
b6d6d8900e include pthread in libc 2018-05-09 21:26:45 +09:00
K. Lange
1f8ef3dcab Add pong 2018-05-09 19:43:15 +09:00
K. Lange
fc37b60272 add rand() 2018-05-09 19:43:02 +09:00
K. Lange
b23d7a2930 some stuff to get further in python builds 2018-05-09 17:02:31 +09:00
K. Lange
643049ff32 atol ~= atoi, labs 2018-05-09 16:55:10 +09:00
K. Lange
da909e4f79 Add confreader library 2018-05-08 23:04:49 +09:00
K. Lange
b3c353e389 actually do something in assert 2018-05-08 23:04:21 +09:00
K. Lange
0ca57752a6 feof 2018-05-08 22:49:53 +09:00
K. Lange
8ccbcb001c Allow switching rendering mode in terminal on the fly 2018-05-08 17:16:58 +09:00
K. Lange
4818a8cc43 Add more monospace font options and support 8-bit grayscale bitmaps 2018-05-08 15:41:12 +09:00
K. Lange
db4337f17b Improvements to SDF impl., and support in terminal 2018-05-08 11:27:44 +09:00
K. Lange
4beac973ef Store kerning overrides for SDF fonts in a config file 2018-05-07 17:49:06 +09:00
K. Lange
a3b1b253d7 stdio fgets and stuff that actually kinda work correctly 2018-05-04 17:53:31 +09:00
K. Lange
9adae25874 Import some apps from mainline/extre 2018-05-04 13:11:06 +09:00
K. Lange
b89ce3f7eb Import some apps from mainline/core that at least compile (fgrep may not work due to stdio brokenness) 2018-05-04 13:01:55 +09:00
K. Lange
6d5d88cf53 Add stub network functions - headers need reorg 2018-05-04 12:40:18 +09:00
K. Lange
5a737917b0 strncmp 2018-05-04 12:21:52 +09:00
K. Lange
f94a09f485 add ctype.h 2018-05-04 12:17:32 +09:00
K. Lange
300d5b78ca Add incredibly bad atof 2018-05-02 19:43:33 +09:00
K. Lange
2a4914057c Add putenv, setenv 2018-05-02 19:25:03 +09:00
K. Lange
b4c1d997b4 Add getopt, getopt_long 2018-05-02 18:58:47 +09:00
K. Lange
8f2025864c Break up unistd into separate files for each function 2018-05-02 12:20:06 +09:00
K. Lange
7a39d3c3b0 Add menus to apps in panel 2018-04-28 11:33:31 +09:00
K. Lange
037f055549 Send WINDOW_CLOSE instead of SESSION_END on Alt+F4 and handle that as a close signal 2018-04-27 22:38:36 +09:00
K. Lange
f8d2b8d3a3 Experimental decorator menu stuff 2018-04-27 22:14:08 +09:00
K. Lange
5129394b07 Handle more stuff automatically in yutani 2018-04-27 22:13:42 +09:00
K. Lange
0e65e6559c Menu library improvements 2018-04-27 21:30:51 +09:00