Commit Graph

447 Commits

Author SHA1 Message Date
K. Lange
cdee81699a Panel should accept close-enough clicks for menus 2018-07-21 18:36:50 +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
3da02638d1 Ensure network status panel doesn't go offscreen 2018-07-20 23:53:45 +09:00
K. Lange
d6000306c7 Hilight icons for panel widgets with pops 2018-07-20 23:14:39 +09:00
K. Lange
13a6886570 Add network status popup 2018-07-20 23:08:20 +09:00
K. Lange
23267a21c5 Swap font sizes between alt-f2 and alt-tab 2018-07-20 22:25:00 +09:00
K. Lange
3995a0f938 Basic alt+f2 app runner 2018-07-20 21:54:24 +09:00
K. Lange
7cd46127a9 Add imperfect, but sufficient, rounded rectangle routine 2018-07-20 21:26:01 +09:00
K. Lange
45e4aed8f1 More sh tab complete stuff 2018-07-20 17:08:47 +09:00
K. Lange
cb6ac38004 special case sudo and gsudo in sh tab completion 2018-07-20 16:48:05 +09:00
K. Lange
79bada381a Add error messages to set-resolution 2018-07-19 22:52:17 +09:00
K. Lange
6ec4f807e1 print error message for mount failure 2018-07-19 22:36:34 +09:00
K. Lange
f292de0ab6 Port gsudo 2018-07-18 22:31:59 +09:00
K. Lange
e774a8a13c Add display harness hack 2018-07-18 16:29:15 +09:00
K. Lange
50ce403c0e add option to quietly query qemu-fwcfg 2018-07-18 16:20:01 +09:00
K. Lange
5eddf74c68 symlink stuff 2018-07-18 15:43:17 +09:00
K. Lange
35a2a4bc5c more filesystem permission things, add rm 2018-07-18 15:35:52 +09:00
K. Lange
b5aa474ae2 Copy owners for files in migrate 2018-07-18 12:37:33 +09:00
K. Lange
b1fe4fa4ce More errno stuff 2018-07-18 10:45:42 +09:00
K. Lange
c75b586829 Fix some error handling 2018-07-18 09:43:39 +09:00
K. Lange
799ec420ac cat-img should support scaling to terminal width 2018-07-17 22:15:20 +09:00
K. Lange
60accf8088 Should only force 0-9 and ? as single-character variable names, not end of variable name 2018-07-17 21:33:05 +09:00
K. Lange
3cc0faab77 Add special argument variables 2018-07-17 20:14:53 +09:00
K. Lange
897fa4bef8 Better last_ret handling 2018-07-17 20:01:24 +09:00
K. Lange
fb061ce17e Add $? special variable 2018-07-17 19:54:12 +09:00
K. Lange
89f6398727 Fix default behavior for +rwx 2018-07-17 19:53:50 +09:00
K. Lange
eb680cd947 Allow sh to execute files 2018-07-17 19:44:43 +09:00
K. Lange
0fa8cc4143 Add chmod command 2018-07-17 19:44:23 +09:00
K. Lange
a161dbc998 Handle | and > without spaces 2018-07-17 17:22:25 +09:00
K. Lange
188b4b4a04 sh should truncate for new files 2018-07-17 17:08:44 +09:00
K. Lange
e7b2e5a006 write-out should truncate 2018-07-17 17:08:34 +09:00
K. Lange
b8c6ae5439 Shotty support for > and >> 2018-07-17 16:52:33 +09:00
K. Lange
73839aa0dc remove fwcfg limit of 32 bytes 2018-07-17 16:28:09 +09:00
K. Lange
338c3bc11c Fix write-out file permissions 2018-07-17 16:27:16 +09:00
K. Lange
689f94f889 Add hexify 2018-07-17 16:27:02 +09:00
K. Lange
ad7ae7307f should exit on not-qemu 2018-07-17 14:51:48 +09:00
K. Lange
404bdaf854 cleanup qemu-fwcfg 2018-07-17 14:42:29 +09:00
K. Lange
0500a6b4b0 add qemu-fwcfg 2018-07-17 14:29:26 +09:00
K. Lange
a9b415f8d8 vte stores bold status, so set before saving 2018-07-06 13:20:41 +09:00
K. Lange
62d5eb5c7a Support fancy logo in non-toaru terminals 2018-07-06 13:05:58 +09:00
K. Lange
997ee1419d [H is redundant and [u can be moved into the initial write 2018-07-06 12:47:54 +09:00
K. Lange
a4df3f43a8 Port debug shell divine size, with improvements, to ttysize 2018-07-06 12:22:03 +09:00
K. Lange
ba9e9078dd Add headless boot options 2018-07-06 10:40:49 +09:00
K. Lange
9533ea1bf6 Remove some excess serail debugging 2018-07-02 13:21:27 +09:00
K. Lange
ff1338d137 Replace http-get with new fetch (based on old fetch) 2018-07-01 17:11:35 +09:00
K. Lange
65d69b9836 Experimental, currently broken, netboot 2018-06-29 13:55:03 +09:00
K. Lange
7bd5c716b3 Actually bother to parse PATH for tab completion in shell 2018-06-26 14:18:52 +09:00
K. Lange
ff292f6c8d Actually, just make that compliant and use NDEBUG 2018-06-25 21:43:16 +09:00
K. Lange
4e23a22019 test-conf must set DEBUG 2018-06-25 21:41:22 +09:00
K. Lange
8080b5272f Cleanup default paths 2018-06-25 16:46:13 +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
cba3b2e804 Fix arbitrary submenus and add 'Set Zoom...' to terminal 2018-06-18 22:04:08 +09:00
K. Lange
6e1e9a4c97 Experimental, hacky printf(%f) 2018-06-10 19:06:48 +09:00
K. Lange
74e4ee5f56 Add basic numpad support 2018-06-08 15:11:41 +09:00
K. Lange
f4ba7b0e50 Have migrate mount a dummy tmpfs to /dev/base because we don't have an option to unmount 2018-06-08 13:46:10 +09:00
K. Lange
78128e0839 gitlab migration 2018-06-05 09:44:56 +09:00
K. Lange
6a64a9013e Readd removal of git short sha from toaruos version in 'about' 2018-06-04 20:02:00 +09:00
K. Lange
d37d5fc16f Pass a requested center coordinate to 'about' 2018-06-04 19:37:30 +09:00
K. Lange
b111044cca Make sure menu bar stops being hilighted when options are selected 2018-06-04 18:50:36 +09:00
K. Lange
53d041135c fix accidental runaway forks 2018-06-04 17:44:51 +09:00
K. Lange
e68dfe20b6 Add flexible about dialogs 2018-06-04 12:35:46 +09:00
K. Lange
39a1cc73d3 Add whoami 2018-06-04 11:29:28 +09:00
K. Lange
7ac4821420 Fix up TRACE on cmd in glogin 2018-06-04 11:29:16 +09:00
K. Lange
e5d5921526 symlink support in migrate 2018-05-21 21:45:18 +09:00
K. Lange
1af6c8f16e Add (null) Contents menu to Terminal > Help 2018-05-21 19:55:06 +09:00
K. Lange
49850c0067 Try not to put menus off screen 2018-05-21 19:52:00 +09:00
K. Lange
23c458e88a wip file browser, help browser (blank apps) 2018-05-21 08:12:02 +09:00
K. Lange
3906ad55b0 Don't print debug traces in compositor 2018-05-20 17:14:32 +09:00
K. Lange
d6afa06c80 Menu bar in a separate library 2018-05-20 16:47:35 +09:00
K. Lange
3a94e26a40 Add experimental menu bar functionality to terminal 2018-05-20 12:37:33 +09:00
K. Lange
6699d6f983 Add graphical login manager and a temporary login provider 2018-05-19 20:33:41 +09:00
K. Lange
9d6ccd44ba Polish logout buttons 2018-05-19 19:58:39 +09:00
K. Lange
16200d76f1 Allow apps to opt out of a maximize button 2018-05-19 16:05:17 +09:00
K. Lange
2ab344f847 quick fix for building bim under linux 2018-05-17 18:25:01 +09:00
K. Lange
8b23f31ef7 Background shouldn't be premultiplied in terminal cells 2018-05-15 17:03:11 +09:00
K. Lange
72b666f25c Better relative mouse handling in text mode 2018-05-15 16:48:11 +09:00
K. Lange
9c4063563f Add clipboard support to vga terminal 2018-05-15 16:38:20 +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
c7f1f0c4a7 new irc client 2018-05-15 13:23:30 +09:00
K. Lange
3991c55145 http-get should not be textually including list/hashmap 2018-05-15 11:05:54 +09:00
K. Lange
02fbbaf69d Fix terminal crash on Shift+Home when no scrollback 2018-05-15 11:01:32 +09:00
K. Lange
75d7d8fdcd Fix some weirdness 2018-05-14 23:29:37 +09:00
K. Lange
7382da4016 screwy approach to support arrow keys in bim 2018-05-14 23:24:57 +09:00
K. Lange
e81354aba5 Make bim slightly faster 2018-05-14 22:53:04 +09:00
K. Lange
a09f6326d0 Insert line feeds when selection is over multiple lines 2018-05-14 21:59:13 +09:00
K. Lange
f25c17cf8b Fix terminal not redrawing on resize 2018-05-14 21:33:39 +09:00
K. Lange
96c7abae48 speed up redrawing blank cells 2018-05-14 21:26:23 +09:00
K. Lange
d805ac8684 quickly bound mouse events to terminal size 2018-05-14 21:24:02 +09:00
K. Lange
772542a271 Fix selection and mouse events at bottom of terminal 2018-05-14 21:20:54 +09:00
K. Lange
aae6d18b0c Cleanup help text in term-set 2018-05-14 21:20:43 +09:00
K. Lange
1bf50540ba Add rudimentary *experimental* text selection in terminal 2018-05-14 21:16:29 +09:00
K. Lange
ae207676ce Change some compositor key binds 2018-05-14 21:16:20 +09:00
K. Lange
d1148356ff resolve spurious build issues 2018-05-11 08:29:31 +09:00
K. Lange
19280c974e Don't set auth vars on sudo... for now.. 2018-05-10 22:38:34 +09:00
K. Lange
ffa4bd7360 Add login, sudo, user session, auth lib, etc. 2018-05-10 22:33:32 +09:00
K. Lange
aa343f74c6 Prevent panel and background from being started accidentally 2018-05-10 21:54:19 +09:00
K. Lange
6d34a3c966 If there's no bottom window, or it is fading in/out, fill gray 2018-05-10 21:20:07 +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
67b8e2e295 use libc rand in drawlines 2018-05-09 19:43:11 +09:00
K. Lange
e07d9af218 Stop spewing move TRACEs 2018-05-09 19:42:39 +09:00
K. Lange
9239449c97 Make mixerctl usage output comply with the rest of the system 2018-05-09 19:31:46 +09:00
K. Lange
471d56e42d Add a few more extra apps from mainline 2018-05-09 19:27:42 +09:00
K. Lange
06c3574067 Don't show redundant thread id when not showing threads 2018-05-09 12:12:50 +09:00
K. Lange
f614bdbd72 Better ps 2018-05-09 12:10:14 +09:00
K. Lange
da909e4f79 Add confreader library 2018-05-08 23:04:49 +09:00
K. Lange
cf7255e329 Cheat a tiny bit on terminal font rendering, should be one pixel to the left for best results... 2018-05-08 22:42:11 +09:00
K. Lange
0b2d25b243 fix a silly crash in ls 2018-05-08 22:39:37 +09:00
K. Lange
014f8f01a6 font size of 16 looks better 2018-05-08 19:09:51 +09:00
K. Lange
c0a166363e Adjust terminal sizes 2018-05-08 17:29:19 +09:00
K. Lange
e54c6af754 move set command to an app named term-set 2018-05-08 17:19:28 +09:00
K. Lange
8ccbcb001c Allow switching rendering mode in terminal on the fly 2018-05-08 17:16:58 +09:00
K. Lange
d67021d7b8 Store SDF fonts in shared memory regions 2018-05-08 17:03:13 +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
a3b1b253d7 stdio fgets and stuff that actually kinda work correctly 2018-05-04 17:53:31 +09:00
K. Lange
5cf95b4fc0 Fix alpha handling resulting in no images with 24-bit bmp 2018-05-04 13:16:22 +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
6bba5dd59e add readelf app 2018-05-04 12:36:25 +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
557f578574 Don't use my given name in copyright headers; update everything to 2018 because why not 2018-05-01 17:12:56 +09:00
K. Lange
d1437c4c62 add decorator menus to a few more apps 2018-04-29 23:50:23 +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
72a99052ee Fix terminal resizing 2018-04-27 22:23:45 +09:00
K. Lange
5ae2929fc9 Implement experimental decorator menu stuff in terminal 2018-04-27 22:14:24 +09:00
K. Lange
12cc4bac7e Fix panel not flushing yutani queue 2018-04-27 22:13:16 +09:00
K. Lange
d02eda3e06 Fix unmaximize when not current mouse window 2018-04-27 22:13:02 +09:00
K. Lange
3d199decd5 Replicate more of the panel design from the Python version 2018-04-25 22:04:24 +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
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
86134cca5d At least attempt to handle focus loss 2018-04-24 21:19:06 +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
b59f8e8aea fix arg parsing bug in echo with no arguments 2018-04-24 20:25:49 +09:00
K. Lange
a7cd9eb54b Icon cache library 2018-04-24 20:25:42 +09:00
K. Lange
1006c865a9 Add missing break; in new compositor method 2018-04-24 15:28:55 +09:00
K. Lange
f7f6c6ffe8 Strip unused features from background; no terminal at startup 2018-04-24 09:27:36 +09:00
K. Lange
7b7f2f416c Tweaks to how julia renders 2018-04-23 21:20:22 +09:00
K. Lange
a69da36fe3 About dialog 2018-04-21 20:55:23 +09:00
K. Lange
e9d193b4cc Don't drop window when dragged to maximize; alt-f10 should unmaximize too 2018-04-21 19:44:57 +09:00
K. Lange
f6e52dc615 Restore unmaximized windows to their previous location 2018-04-21 19:28:37 +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
48267d0c8d panel doesn't need drawstring, avoid linking it 2018-04-21 15:04:46 +09:00
K. Lange
3866b49d3b Use a larger font on the menus 2018-04-20 22:18:06 +09:00
K. Lange
eb18c8f7a5 Panel and menubar improvements 2018-04-20 20:48:01 +09:00
K. Lange
6fab8bd069 Fix bad click detection in panel app menu 2018-04-19 16:55:16 +09:00
K. Lange
726d11f653 network status widget 2018-04-18 19:24:53 +09:00
K. Lange
c5466a4d2a Adjust panel weekday format 2018-04-18 18:22:59 +09:00
K. Lange
091f35f2e2 More text adjustment 2018-04-18 18:14:28 +09:00
K. Lange
5aead12a89 Support multiple fonts 2018-04-18 18:05:19 +09:00
K. Lange
636a3b1693 Fix up some kerning, use this in the panel 2018-04-18 15:15:11 +09:00
K. Lange
a8ddac6ff2 use SDF in decorations 2018-04-18 14:53:04 +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
9f14275bbc add play 2018-04-17 23:15:25 +09:00
K. Lange
a7b41bd6cc add write-out 2018-04-17 23:15:20 +09:00
K. Lange
a8e1820be7 Integrate auto-dep into build system through make file generation 2018-04-17 21:49:56 +09:00
K. Lange
ea3d1cbceb Fix gradient clipping issue 2018-04-17 21:06:57 +09:00
K. Lange
daed784183 Minor menu tweak 2018-04-17 20:54:39 +09:00
K. Lange
eba15c3327 Make plasma window start larger 2018-04-17 20:49:49 +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
ad255b4474 resize screen before rendering to avoid a bad frame 2018-04-17 18:52:39 +09:00
K. Lange
6f074e065b our ps isn't normal, but this isn't ignored 2018-04-17 18:24:09 +09:00
K. Lange
d20a6cc76b Add some more math functions and two graphical demos 2018-04-17 16:48:47 +09:00
K. Lange
a7975b96df add rudimentary http-get tool similar to fetch 2018-04-12 12:27:38 +09:00
K. Lange
ecafad3bea Fudge some numbers to fix a rounding error 2018-03-29 21:33:56 +09:00
K. Lange
274261d5ba handle -- properly in compositor 2018-03-26 21:28:36 +09:00
K. Lange
e1056ef605 Build cleanup 2018-03-22 16:06:29 +09:00
K. Lange
f6bbb8b2cb More flags for compositor; don't run again unless nested 2018-03-20 20:38:08 +09:00
K. Lange
1355502e6c Reorganize headers 2018-03-19 11:38:11 +09:00
K. Lange
8d31257fb6 Support window opacity in compositor again 2018-03-17 17:27:17 +09:00
K. Lange
19beee71b5 Compositor cleanup 2018-03-17 13:10:48 +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
95bc33a3bc add free, uptime 2018-03-15 20:01:28 +09:00
K. Lange
dbae967ed2 derp 2018-03-15 19:39:07 +09:00
K. Lange
dd089dcac5 Port ramdisk migration tool from python to c 2018-03-15 19:30:04 +09:00
K. Lange
da4cc1a5fe Remove font loading from compositor; add unused font-server 2018-03-08 18:19:19 +09:00
K. Lange
54c48446e7 Add cursor-off 2018-03-06 23:12:32 +09:00
K. Lange
7c6cd9c531 Add VGA terminal 2018-03-04 22:50:53 +09:00
K. Lange
8cd83fd093 Adjust bim size on win change 2018-03-03 21:12:18 +09:00
K. Lange
41d94bc440 add some more bim commands 2018-03-03 21:04:42 +09:00
K. Lange
9d06ac40bb Add bim
i would not try to write files in this environment as it's not a tmpfs
migration, so good luck
2018-03-03 20:57:43 +09:00
K. Lange
c9ab27ceca Random headers too 2018-03-03 20:54:35 +09:00
K. Lange
4d57ba0481 move apps to subdir 2018-03-03 20:53:13 +09:00