Commit Graph

738 Commits

Author SHA1 Message Date
Kevin Lange
78db32cb6f Config files, theming in glogin 2015-04-11 18:06:54 -07:00
Kevin Lange
e95cbda703 Merge pull request #83 from lioncash/leaks
compositor: get rid of a leak in window_actually_close
2015-04-10 17:02:55 -07:00
Lioncash
99c907bf95 compositor: get rid of a leak in window_actually_close
The function call allocates on the heap, so this would cause a leak.
2015-04-10 19:21:28 -04:00
Kevin Lange
dec9a0f031 Superfluous terminal size programs 2015-04-07 08:53:28 -07:00
Kevin Lange
1147d45cdb Don't blink the cursor in unfocused terminals 2015-04-05 15:50:52 -07:00
Kevin Lange
a243bb2849 Mouse warping and hiding (for games) 2015-04-05 15:41:00 -07:00
Kevin Lange
a9c0f36a0c Add a nifty animation when an application is started on the desktop. 2015-04-04 22:19:14 -07:00
Kevin Lange
f938569a77 Handle window move in TTK 2015-04-04 22:19:01 -07:00
Kevin Lange
9065454a75 Yutani now sends WINDOW_MOVE when windows move.
Window moves are non-lazy, so continuous updates are received while a
window is being dragged. Prior to this change, a client would not have
any idea where a window was outside of its own idea of when it last
requested a move (which may have been denied, or immediately overriden).
This allows applications to produce child windows in appropriate
locations, or to drag child windows (undocked toolbars, etc.) while they
are being moved.

This uses the same message format as the request format, as well as the
same message type, as has been previously done for various events.
2015-04-04 21:29:29 -07:00
Kevin Lange
338174a75c Various improvements to glogin 2015-04-04 18:39:55 -07:00
Kevin Lange
8a1430879a Break out rline, add ^W support 2015-04-04 12:33:30 -07:00
Kevin Lange
a7b1397c7d Fix debug output from yutani-server listed as 'yutani' 2015-04-03 09:59:19 -07:00
Kevin Lange
570bb3e1b7 Kill some debug output in wallpaper. 2015-04-03 09:58:38 -07:00
Kevin Lange
632f13144f Fix garbage output from ls on bad directory 2015-04-01 09:08:08 -07:00
Lioncash
9bf82d174d yutani: Fix a memory leak in yutani_window_advertise_icon
strings isn't deallocated in any functions it's passed to.
2015-03-31 20:26:52 -04:00
Kevin Lange
0bf67a5a8c some random extra test apps 2015-03-27 12:48:34 -07:00
Lioncash
3438cb1771 sudo: Fix a missing fprintf argument 2015-03-17 12:08:29 -04:00
Kevin Lange
9f34619078 Fix alt-tab 2014-11-06 11:31:24 -08:00
Kevin Lange
83f3f0dfa2 Send keycodes for shift/ctrl/alt/super press/release 2014-09-09 20:17:28 -07:00
Kevin Lange
fe95e33422 Fall back to variable-width font in terminal 2014-09-08 21:17:46 -07:00
Kevin Lange
09df205a87 Make sure we cd ~ on login 2014-08-26 22:17:51 -07:00
Kevin Lange
aaeb7d10f4 Port a bunch of other stuff to use getpwuid, etc. 2014-08-26 22:12:33 -07:00
Kevin Lange
a0a6ece24d Run $SHELL on terminal startup instead of hard-coded /bin/sh 2014-08-26 21:37:45 -07:00
Kevin Lange
9cc5ddd0e9 pwent stuff in libc, auth modules moved toa library 2014-08-26 21:34:29 -07:00
Kevin Lange
5d90fa8c24 Restore screenshot functionality to compositor (ctrl+super+s/w) 2014-08-05 17:32:29 -07:00
Kevin Lange
ae570f8f48 Toggle decorations in terminal with F12 2014-08-04 21:54:18 -07:00
Kevin Lange
d746209191 Fix critical problem with toast daemon 2014-08-01 22:51:39 -07:00
Kevin Lange
771b28a9c7 Fix crash on resizing plasma 2014-08-01 21:29:48 -07:00
Kevin Lange
49752793b7 Close button support in decorations library 2014-08-01 21:17:41 -07:00
Kevin Lange
62de55b5f4 Cleanup and function header comments in compositor. 2014-07-28 21:10:34 -07:00
Kevin Lange
9a9f3fdc17 silence debug output from menu 2014-06-28 23:15:38 -07:00
Kevin Lange
d5002a819c Add a bit of transparency to menus 2014-06-13 16:04:29 -07:00
Kevin Lange
1bd947f331 fix incorrect help text for teapot 2014-06-13 15:48:17 -07:00
Kevin Lange
c37b532948 More menu visual tweaks 2014-06-13 00:27:57 -07:00
Kevin Lange
3378a548a5 Fix clock event handling 2014-06-12 11:10:56 -07:00
Kevin Lange
e388d600db Finally, an applications menu. 2014-06-11 21:09:38 -07:00
Kevin Lange
f4e038f602 why is my clock multithreaded, staaahp 2014-06-11 19:23:52 -07:00
Kevin Lange
4d3bde2f3a more shape thresholds: teapot, clock-win 2014-06-11 19:02:15 -07:00
Kevin Lange
17e332b5e7 expose mounting to userspace 2014-06-09 20:13:11 -07:00
Kevin Lange
b59871ca67 More random terminal cleanup while we're here 2014-06-08 19:47:24 -07:00
Kevin Lange
30e5829fc6 cd home in graphical session, too 2014-06-08 13:33:59 -07:00
Kevin Lange
6492fb2d8e add which 2014-06-08 12:02:21 -07:00
Kevin Lange
775895e5ea remove extraneous test command from sh 2014-06-08 12:02:15 -07:00
Kevin Lange
06bd230076 fix out-of-order reference to cwd in sh prompt 2014-06-08 01:33:40 -07:00
Kevin Lange
546ec13ec2 Use diamond as Unicode replacement character in vga text-mode 2014-06-08 00:32:00 -07:00
Kevin Lange
827bd1fe04 Fix horizontal lines in vga text mode 2014-06-08 00:29:56 -07:00
Kevin Lange
01c3cb5581 Cleanup/fix ~ handling in shell 2014-06-08 00:21:23 -07:00
Kevin Lange
1ad63b4eae Dump user into their homedir on login 2014-06-08 00:13:07 -07:00
Kevin Lange
d3b4a7c5dc Tweak a few extraneous copyright headers 2014-06-07 23:29:17 -07:00
Kevin Lange
6f1a76a2c4 Merge 2048 license into the source file 2014-06-07 23:25:12 -07:00
Kevin Lange
cd6f175d02 Replace [accidentally] missing minix license from stty 2014-06-07 23:22:40 -07:00
Kevin Lange
ef7d72c1e1 License headers and a tool to generate them 2014-06-07 23:13:29 -07:00
Kevin Lange
e4732df6e1 And support dynamic (24-bit, 32-bit) colors as well 2014-06-07 22:20:27 -07:00
Kevin Lange
eccbd5d41e Map 256-color palette to VGA colors 2014-06-07 22:14:03 -07:00
Kevin Lange
b114700751 Fix scrolling/overhang in vga terminal 2014-06-07 22:13:51 -07:00
Kevin Lange
b6a50e4041 Fix missing linefeed before last argument in ls 2014-06-07 19:33:29 -07:00
Kevin Lange
7fa3a6ce32 fancy pstree 2014-06-07 18:32:19 -07:00
Kevin Lange
36feea1673 Support multiple paths in ls, with more expected output 2014-06-07 16:20:54 -07:00
Kevin Lange
b2f0324370 show s in right place for setuid binaries 2014-06-07 15:11:08 -07:00
Kevin Lange
9d3cef60cf support c (char device) and b (block device) in ls -l 2014-06-07 15:05:24 -07:00
Kevin Lange
8d897bedac move random test that ended up in userspace/ over to userspace/test 2014-06-06 13:54:03 -07:00
Kevin Lange
5a59d1b4b5 flush before exit in echo [xxx: this needs to happen on exit] 2014-06-06 11:42:19 -07:00
Kevin Lange
2680ee8660 use save/restore in prompt rather than ramming to the left 2014-06-06 11:42:04 -07:00
Kevin Lange
55e52e2c33 make sure init is init and not just some kernel thread with ppid=0 2014-06-05 23:48:36 -07:00
Kevin Lange
72b63109b2 Add a simple pstree [not fancy yet] 2014-06-05 23:41:33 -07:00
Kevin Lange
40c399e43a Differentiate shell prompt for root 2014-06-05 22:36:03 -07:00
Kevin Lange
94c976a903 More awesome improvements to ls 2014-06-05 22:19:55 -07:00
Kevin Lange
6c72d9c3ae Various improvements to ls, like -h 2014-06-05 21:34:10 -07:00
Kevin Lange
51d0f31f42 use setuid in login/glogin 2014-06-03 23:14:03 -07:00
Kevin Lange
f019dc7b7a Ditch zlists and selectbuffers for better methods 2014-06-01 13:09:58 -07:00
Kevin Lange
067797031f Fix window shape blurring during transforms 2014-06-01 02:12:00 -07:00
Kevin Lange
a4b5f6a107 Add some extra toggles to gears 2014-06-01 01:56:01 -07:00
Kevin Lange
fb6ce15372 Blur alpha channel in box blur 2014-06-01 01:55:50 -07:00
Kevin Lange
eb4d05b86b Faster blurring with box blur (will use in compositor in future) 2014-06-01 01:33:25 -07:00
Kevin Lange
fdc5265aff Handle resize in gears 2014-05-31 22:12:57 -07:00
Kevin Lange
226002057f Slightly different debug method for shapes and bounds 2014-05-31 21:54:52 -07:00
Kevin Lange
cc7bb71b06 (Optionally, manually updated) alpha-based window shapes 2014-05-31 21:37:07 -07:00
Kevin Lange
1b3401b71b Change some styling in the 'classic' decorations theme 2014-05-30 22:28:02 -07:00
Kevin Lange
5813ea96e1 remove the debug print in tab completion in sh 2014-05-30 22:00:07 -07:00
Kevin Lange
7e67bf0727 Break out of that particular escape on linefeed 2014-05-30 21:29:29 -07:00
Kevin Lange
e157147550 Fix buffer overflow in termemu 2014-05-30 21:20:13 -07:00
Kevin Lange
41b7bb88f7 Allow builtins in pipelines 2014-05-30 20:50:19 -07:00
Kevin Lange
6296aff867 Fix handling of eof in login 2014-05-30 17:05:49 -07:00
Kevin Lange
8ed59a8cb8 Hacky implementation of pipes in shell 2014-05-30 16:23:40 -07:00
Kevin Lange
1edb302b94 support ^D in shell rline 2014-05-29 21:46:38 -07:00
Kevin Lange
84420f9e5c Support closing packetfs connections 2014-05-28 19:21:56 -07:00
Kevin Lange
8c5b5f3f0c hostnames won't start with -, let's naively pretend... 2014-05-27 23:45:00 -07:00
Kevin Lange
952b6de6bb Add some test apps that helped track it down 2014-05-27 22:52:55 -07:00
Kevin Lange
d696f51f8b Real unix pipes 2014-05-27 21:38:30 -07:00
Kevin Lange
e1a1c1058f system() blocks, let's call sh -c ourselves... 2014-05-26 13:46:55 -07:00
Kevin Lange
a576c84f28 Load desktop icons from a file 2014-05-26 13:36:38 -07:00
Kevin Lange
45cfecc043 Present the nested compositor at 50,50 instead of 0,0 2014-05-26 12:57:39 -07:00
Kevin Lange
ab2a9f056f Quick and dirty display server nesting - lots of mouse event changes 2014-05-26 12:43:22 -07:00
Kevin Lange
ed36fe9c7f Remove vga-warning (why do I still have this?) 2014-05-26 00:18:20 -07:00
Kevin Lange
f054cebdce naive implementation of sudo and possibly insecure setuid support 2014-05-25 21:59:51 -07:00
Kevin Lange
095675b012 Be sure cleanup in i>image_size exit case 2014-05-23 18:56:49 -07:00
Kevin Lange
9cf5cafd28 Merge pull request #49 from lioncash/forgot-one
Forgot one other leak case
2014-05-23 16:43:38 -07:00
Lioncash
2d313df844 Forgot one other leak case 2014-05-23 19:42:17 -04:00
Lioncash
85a84291b6 Fix some potential memory leaks within graphics.c 2014-05-23 19:36:32 -04:00
Kevin Lange
ad303097d3 Merge pull request #47 from lioncash/dat-overflow-doe
Fix a sprintf size typo which would overwrite the error buffer in bim's open_file func
2014-05-21 18:06:38 -07:00