Commit Graph

262 Commits

Author SHA1 Message Date
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