Commit Graph

609 Commits

Author SHA1 Message Date
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
K. Lange
b1c86b448d Automatically track window movement in the client 2018-04-27 21:30:21 +09:00
K. Lange
ecfdffa0a6 Add a userspace tool to set resolution using ioctl binding 2018-04-25 18:39:07 +09:00
K. Lange
0037a2e84a Remove unused header 2018-04-25 17:42:14 +09:00
K. Lange
95542acded Remove the old API and don't make the new one static inline 2018-04-25 17:41:30 +09:00
K. Lange
0c4b4e3344 Have yutani messages built on the stack instead of malloc/free 2018-04-25 17:30:28 +09:00
K. Lange
8e07883088 Enable and resolve several warnings 2018-04-25 14:03:29 +09:00
K. Lange
216239f601 Adapt menu library into panel 2018-04-24 21:32:39 +09:00
K. Lange
34d1a58be7 Menus as a library (WIP) 2018-04-24 20:58:41 +09:00
K. Lange
e1d67ec921 new graphics method interp_colors 2018-04-24 20:27:15 +09:00
K. Lange
a7cd9eb54b Icon cache library 2018-04-24 20:25:42 +09:00
K. Lange
3e4a1a8805 Remove redundant kernel/va_list.h 2018-04-24 19:57:08 +09:00
K. Lange
5dd763780a Unify list, tree, hashmap implementations with userspace/kernel 2018-04-24 19:28:50 +09:00
K. Lange
a69da36fe3 About dialog 2018-04-21 20:55:23 +09:00
K. Lange
556ff8e343 Add maximize as an action
- Remove the deprecated timer request API.
- Add a new "Special Request" API for things like "maximize" / "minimize"
  etc. that takes an optional window ID. Expects no response, useful for
  one-off triggers like this.
- Add maximize button to fancy decoration theme and general support in
  decoration library.
2018-04-21 19:24:55 +09:00
K. Lange
03fdbc6d26 WIP menu library (as an app here) 2018-04-21 17:26:38 +09:00
K. Lange
629a4f373f text passed to sdf should be const 2018-04-21 16:28:57 +09:00
K. Lange
f1fbe269fa Use the right icons in the menu 2018-04-20 20:59:56 +09:00
K. Lange
eb18c8f7a5 Panel and menubar improvements 2018-04-20 20:48:01 +09:00
K. Lange
726d11f653 network status widget 2018-04-18 19:24:53 +09:00
K. Lange
5aead12a89 Support multiple fonts 2018-04-18 18:05:19 +09:00
K. Lange
2b3c21be22 lib improvements 2018-04-18 14:36:28 +09:00
K. Lange
4ebeee76db wip sdf font renderer 2018-04-18 13:27:37 +09:00
K. Lange
72e5d5fb12 Make menus look like final design 2018-04-17 20:47:01 +09:00
K. Lange
7561589610 Port old (C) panel 2018-04-17 20:03:19 +09:00
K. Lange
d20a6cc76b Add some more math functions and two graphical demos 2018-04-17 16:48:47 +09:00
K. Lange
9335951644 super silly clip implementation 2018-03-29 22:43:38 +09:00
K. Lange
1355502e6c Reorganize headers 2018-03-19 11:38:11 +09:00
K. Lange
2405387ad9 Relocate dlfcn.h 2018-03-17 17:57:04 +09:00
K. Lange
627ebc3195 Fixup std lib includes for full build from scratch with just basic gcc 2018-03-16 22:40:23 +09:00
K. Lange
e71802a2e0 Add a wallpaper 2018-03-01 22:00:00 +09:00
K. Lange
80421d395d Port 'fancy' decoration theme 2018-02-25 21:54:39 +09:00
K. Lange
963a0fca97 Full set of mouse cursors 2018-02-25 19:07:50 +09:00
K. Lange
8cd1bd4b8a just gobs of stuff 2018-02-25 17:14:43 +09:00