Commit Graph

1328 Commits

Author SHA1 Message Date
K. Lange
3c7d79b695 Restructure input escape processing 2018-08-18 17:33:41 +09:00
K. Lange
99ef3cb80f [bim] New command stuff and help 2018-08-18 15:34:00 +09:00
K. Lange
0b8fda0a20 [bim] 16-color support in theming 2018-08-18 15:20:37 +09:00
K. Lange
5521676f4f [bim] Support for color themes, solarized-dark, citylights 2018-08-18 13:23:12 +09:00
K. Lange
b70ad67ac4 Potentially support 24-bit color in themes 2018-08-18 12:13:51 +09:00
K. Lange
179ffe37da [bim] Colors as const char * to prepare for themes 2018-08-18 12:08:40 +09:00
K. Lange
5903ff9a73 [bim] Change up how the line numbers work 2018-08-18 11:27:13 +09:00
K. Lange
f69d965749 [bim] rudimentary numeral highlighting 2018-08-18 11:17:04 +09:00
K. Lange
072520bf01 [bim] Fix default tabstop, tabs settings 2018-08-18 09:21:27 +09:00
K. Lange
c210ec4987 tabstops 2018-08-18 09:10:14 +09:00
K. Lange
27b46493f6 [bim] Fix bad buffer for utf8 encoding in write 2018-08-17 23:22:41 +09:00
K. Lange
4d735731f9 [bim] tabs or spaces? 2018-08-17 23:16:49 +09:00
K. Lange
f5ceddfab4 [bim] Hilight C character constants 2018-08-17 22:42:54 +09:00
K. Lange
3b9a8c18c7 [bim] fix an accidental off-by-one closing comments 2018-08-17 22:30:27 +09:00
K. Lange
626e3557cd Fix tab/escapes reseting colors 2018-08-17 22:21:34 +09:00
K. Lange
f79ee98749 [bim] Additionally release Bim under ISC 2018-08-17 22:05:24 +09:00
K. Lange
3f6c6b3320 qq sorry lioncash, your code disappeared years ago 2018-08-17 22:02:09 +09:00
K. Lange
8b69bba2dd Update outdated heading comment in shell 2018-08-17 21:56:50 +09:00
K. Lange
d1f1aa465e [bim] Add :help command 2018-08-17 21:52:37 +09:00
K. Lange
2089ab7bd8 [bim] Be sure to set syntax on new file 2018-08-17 21:31:33 +09:00
K. Lange
dbeeb21091 [bim] Better color theming support 2018-08-17 21:25:14 +09:00
K. Lange
c2dbcea8f2 [bim] oops, need to account for tab 2018-08-17 20:53:07 +09:00
K. Lange
3362f22b7f Render bytes <32 like vim does 2018-08-17 20:51:15 +09:00
K. Lange
90df5828f7 [bim] getopt and option to disable hilighting 2018-08-17 20:08:12 +09:00
K. Lange
896b5ba877 Fix missing free in sh file completion 2018-08-17 19:52:18 +09:00
K. Lange
8bff3a917e Basic command tab completion 2018-08-17 19:37:55 +09:00
K. Lange
ba0139f477 Fixup syntax command 2018-08-17 15:37:13 +09:00
K. Lange
c6844efd99 [bim] Support mouse for setting tab 2018-08-17 15:32:01 +09:00
K. Lange
e0447ffa34 [bim] More cleanup 2018-08-17 10:23:43 +09:00
K. Lange
c5e42f80e7 [bim] Multiline quotes and comments 2018-08-17 10:11:43 +09:00
K. Lange
e9e0b5141a [bim] Fix an off-by-one when scrolling the last line on screen 2018-08-17 08:40:09 +09:00
K. Lange
4c103806d0 Fix bad reads due to erroneous use of stdio 2018-08-17 08:36:45 +09:00
K. Lange
b79e33ad76 [bim] Fix more bad accesses 2018-08-17 08:30:16 +09:00
K. Lange
e1999b5306 [bim] Fixups and Linux support 2018-08-17 08:27:27 +09:00
K. Lange
f9d9226e07 [bim] Don't create or throw errors on non-existent files 2018-08-16 23:28:37 +09:00
K. Lange
1d967c882b [bim] Mouse support 2018-08-16 23:23:04 +09:00
K. Lange
87b6a3aba5 [bim] Improve rendering speed by not sending so many color codes 2018-08-16 22:43:18 +09:00
K. Lange
a84e3e7c4d [bim] syntax code doc cleanup 2018-08-16 19:55:07 +09:00
K. Lange
22221a20fe [bim] Syntax highlighting 2018-08-16 19:46:13 +09:00
K. Lange
0a46feb201 [bim] Be sure to z flags in new char_t's 2018-08-16 17:43:26 +09:00
K. Lange
1576a65597 Don't reset colors after drawing commandline 2018-08-16 17:37:42 +09:00
K. Lange
6eef68699d Add rudimentary text search 2018-08-16 17:25:59 +09:00
K. Lange
1bed29911e Lots of BIM cleanup 2018-08-16 16:50:05 +09:00
K. Lange
a51c5113f2 Change how mode gets tracked for status bars 2018-08-16 14:55:22 +09:00
K. Lange
458ceb00bd [bim] Support page up, page down, del 2018-08-16 14:06:54 +09:00
K. Lange
317a500bd6 [bim] redraw INSERT when scrolling insert mode 2018-08-16 13:30:46 +09:00
K. Lange
2d8c538b71 [bim] Use scrolling to not redraw display on cursor movements 2018-08-16 13:03:34 +09:00
K. Lange
c311199ad1 [bim] Fix buffer loading 2018-08-16 12:38:30 +09:00
K. Lange
991479501f [bim] Add shell commands 2018-08-16 12:16:07 +09:00
K. Lange
9cf3fa4fe2 Stuff ^[[H/^[[F for home/end instead of ^[OH/^[OF 2018-08-16 12:02:28 +09:00
K. Lange
bc1cce36e2 Fix cursor redraw in terminals 2018-08-16 12:00:53 +09:00
K. Lange
132b77ba53 no special toaru cursor handling 2018-08-16 11:45:18 +09:00
K. Lange
0d02884572 Fix end-of-file line feed handling 2018-08-16 11:38:35 +09:00
K. Lange
d5d04799ef [bim] Fix horizontal scrolling 2018-08-16 11:35:15 +09:00
K. Lange
dd5e256ad2 Complete editing 2018-08-16 10:47:49 +09:00
K. Lange
d72de8568c Try to cleanup cursor stuff in bim, but this may be a lost cause 2018-08-16 09:58:36 +09:00
K. Lange
f36d45b21c Adapt sh 'help' command to built-in command lengths 2018-08-15 23:00:12 +09:00
K. Lange
0ac9adf3f0 Catch bad file in readelf 2018-08-15 17:27:03 +09:00
K. Lange
36ca4d420b sys/mount.h 2018-08-15 15:49:01 +09:00
K. Lange
cce92274b8 Remove stray vim:s at ends of files 2018-08-15 15:47:43 +09:00
K. Lange
cf5e6ea3be Cleanups; remove write-out 2018-08-15 15:47:03 +09:00
K. Lange
6ac1370025 Catch some bad shell syntax 2018-08-15 13:09:12 +09:00
K. Lange
b6c3951497 Application cleanup 2018-08-15 10:07:33 +09:00
K. Lange
5b5462fb72 Library cleanup 2018-08-14 17:24:25 +09:00
K. Lange
2531edb2da Header comments for a bunch of apps 2018-08-14 17:13:38 +09:00
K. Lange
2d231a97af Cleanup init 2018-08-14 14:45:30 +09:00
K. Lange
1d28a49dd7 Remove calls to _XLOG in shell 2018-08-14 14:03:47 +09:00
K. Lange
0f9c404ee8 Support having spaces in kcmdline-parsed kernel command line paremeters by using the UNIT SEPARATOR 2018-08-14 11:39:00 +09:00
K. Lange
6430ce85b3 Handle spaces in variables when not quoted 2018-08-14 11:38:33 +09:00
K. Lange
96f2d346d1 Terminal code cleanup 2018-08-14 11:12:56 +09:00
K. Lange
f7e6ceebf2 add not command to shell to invert return codes 2018-08-14 08:11:19 +09:00
K. Lange
70e4125032 getty -a, login -f 2018-08-13 13:30:12 +09:00
K. Lange
a8ead1f0b0 fix crash when clicking out of bounds 2018-08-12 20:33:08 +09:00
K. Lange
459fdd1eae don't show . and .. 2018-08-12 20:14:07 +09:00
K. Lange
2d23fad113 Functioning file-browser 2018-08-12 20:03:37 +09:00
K. Lange
e8246673b9 qemu display harness should use ttyS1 2018-08-12 17:55:23 +09:00
K. Lange
eff64a3fc0 Automatically run qemu display hack if under harness 2018-08-12 17:21:05 +09:00
K. Lange
ad8d87c081 Improve stat 2018-08-12 17:14:06 +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
6234f2f157 Improvements to kcmdline 2018-08-12 16:42:02 +09:00
K. Lange
4fbfafc442 New shell-script-based init system 2018-08-12 16:36:56 +09:00
K. Lange
4dfa82543e add kcmdline 2018-08-12 16:36:15 +09:00
K. Lange
4f36cadff4 New sh features
- `if` should call clauses in correct context if they are builtins
- add equals? and exec
2018-08-12 16:35:07 +09:00
K. Lange
ff294fd1eb scrolling in file browser 2018-08-12 13:59:00 +09:00
K. Lange
db9e401354 Don't fork off to call system for help, about 2018-08-12 13:24:34 +09:00
K. Lange
74cf97ebc2 eshrc 2018-08-12 10:52:00 +09:00
K. Lange
a4f90bfe34 Configurable prompts 2018-08-12 10:42:01 +09:00
K. Lange
ad7a43623f More skeleton stuff for help-browser 2018-08-10 17:31:44 +09:00
K. Lange
cc681ba312 poc file browser stuff 2018-08-10 13:57:24 +09:00
K. Lange
3b6b6b3afd Better usage help for fetch 2018-08-10 13:34:52 +09:00
K. Lange
ae79cf7830 implicit def of getopt in yutani-query 2018-08-08 18:16:25 +09:00
K. Lange
caee0644a5 Fix some backtick stuff in shell 2018-08-08 15:53:34 +09:00
K. Lange
e2b25ebaca yutani-clipboard 2018-08-08 11:46:10 +09:00
K. Lange
9b4a1174b6 More shoddy shell stuff 2018-08-08 10:14:59 +09:00
K. Lange
b677716900 Shoddy ; support 2018-08-07 16:56:25 +09:00
K. Lange
517335df44 Mediocre conditionals in shell 2018-08-07 14:27:49 +09:00
K. Lange
e00ab8983c replace term-set completions with toggle-abs-mouse (since term-set is gone) 2018-08-04 09:43:26 +09:00
K. Lange
dd1baf17ca rename toggle-abs-mouse 2018-08-04 09:43:15 +09:00
K. Lange
cd7609c420 vbox SetPointerShape support 2018-08-04 08:46:13 +09:00
K. Lange
0c5187f8ab Add tool to toggle relative/absolute mouse modes 2018-08-04 08:41:08 +09:00
K. Lange
19d0c05557 Fix relative mouse in vga under virtualbox 2018-08-04 08:40:59 +09:00
K. Lange
63670e7a4b Fix enforcing maximum seamless window count 2018-08-03 20:01:28 +09:00
K. Lange
888b4a0c75 Basic VirtualBox Seamless display driver 2018-08-03 19:29:37 +09:00
K. Lange
100e586e33 Handle nested exit more gracefully 2018-08-02 19:17:18 +09:00
K. Lange
b524630bec Exit compositor when last client exits 2018-08-02 19:13:16 +09:00
K. Lange
4b50fd324d Change how text login generally works so getty can die and reboot after login session ends 2018-08-02 18:48:45 +09:00
K. Lange
d80c893c38 Add killall, pidof 2018-08-02 14:55:37 +09:00
K. Lange
ebd877624f add true, false 2018-08-02 14:50:06 +09:00
K. Lange
e98b017e0d Add pwd 2018-08-02 14:10:46 +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
be7d961ee7 make fallback hostname localhost 2018-08-02 03:42:25 +09:00
K. Lange
bd3f1b0334 get/sethostname 2018-08-02 03:40:43 +09:00
K. Lange
39beedf9c5 sudo -s should set USER to root... 2018-08-01 10:27:15 +09:00
K. Lange
e2de537a28 hack for sudo -s 2018-08-01 10:19:22 +09:00
K. Lange
b3123d7e67 add uname -o 2018-08-01 10:12:27 +09:00
K. Lange
afe2282286 more yutani startup checks 2018-08-01 10:03:44 +09:00
K. Lange
43da728a6b getty can run ttysize on startup, I guess 2018-08-01 10:03:34 +09:00
K. Lange
2b8ad34533 Complete variable names in shell (only at start of argument) 2018-08-01 09:35:46 +09:00
K. Lange
eed3926793 Don't just segfault on failed compositor connections 2018-08-01 09:21:13 +09:00
K. Lange
03d6199af7 Decorator can handle checking for menus 2018-07-24 09:20:11 +09:00
K. Lange
e698fa5e81 Remove stray references to my old name 2018-07-23 20:01:23 +09:00
K. Lange
40ae768948 Put all the network info into the panel widget 2018-07-22 12:33:13 +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
c46861ef08 Stop tracing commands in glogin and leakin' passwords 2018-07-21 23:54:11 +09:00
K. Lange
1727ececf4 Try a bigger font 2018-07-21 23:45:24 +09:00
K. Lange
a0954ddb9c Move the text down one more pixel 2018-07-21 23:42:27 +09:00
K. Lange
ac54109f1f Adjust text position in text boxes 2018-07-21 23:34:47 +09:00
K. Lange
e65ede014b Focused text box should have white background and a blue border 2018-07-21 23:30:48 +09:00
K. Lange
f7cc3fc327 Style tweaks for glogin-provider 2018-07-21 23:00:33 +09:00
K. Lange
f77064f364 Bring back old C gui login as new glogin-provider 2018-07-21 22:53:18 +09:00
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