Commit Graph

1023 Commits

Author SHA1 Message Date
Kevin Lange
6d6bd7f4c8 Fix window move bounds checking in Yutani 2016-11-24 17:48:51 +09:00
Gil Mendes
ff29e578c3 Update time on glogin
This resolves one of the tasks described on the #63 issue.
2016-11-24 15:27:20 +09:00
Kevin Lange
79ad65c429 Add a userspace interface for DNS 2016-11-21 19:29:07 +09:00
Kevin Lange
8ac9742906 Add a userspace interface for loading modules 2016-10-26 14:11:12 +09:00
Kevin Lange
caee44e0fc Fix missing abs() in untile drag logic 2016-10-19 22:25:18 +09:00
Kevin Lange
5606c3be81 New wallpaper (Fuji, seen from Fujiyoshida)
The default wallpaper is now a symlink, which can be replaced
appropriately as the wallpaper changes in the future, thus future
wallpaper changes won't necessitate changes to applications which have
fallbacks. TODO: write an imagemagick script to generate the bootloader
wallpaper.
2016-10-17 19:12:25 +09:00
Kevin Lange
54e7beb58c Open the wallpaper window earlier and make it black 2016-10-13 18:27:15 +09:00
Kevin Lange
043f1abca8 Fix gap when tiling on display sizes that don't divide perfectly 2016-10-13 10:31:21 +09:00
Kevin Lange
5ff53560a1 Fix tab completing directories from current dir (bad stat) 2016-10-08 23:10:26 +09:00
Kevin Lange
b01cd62079 Tab completion of filenames in esh
esh (the shell) now supports tab completing file names.

When completing the first argument of a shell command (the command
itself), esh assumes you are tab completing command names from /bin
unless you have already typed a / somewhere in your input. For all other
parts of the command, esh will tab complete file names and directories
in much the same way bash and other shells do.
2016-10-08 23:03:43 +09:00
Kevin Lange
62926f41ae sha512sum tool 2016-09-26 16:40:35 +09:00
Kevin Lange
38e3741c66 Make sure we mark display regions for update when drawing images 2016-09-26 10:58:01 +09:00
Kevin Lange
715b39ae8e Hide cursor when drawing images 2016-09-26 10:15:08 +09:00
Kevin Lange
11d0c2d9fe Support DEC show/hide cursor escapes. 2016-09-26 10:14:59 +09:00
Kevin Lange
b46c4f180a Support not putting a linefeed after the last line of an image (so we can cat-img a bunch of one-row images) 2016-09-26 02:29:12 +09:00
Kevin Lange
c5b5a0e359 Very experimental images-in-terminal concept 2016-09-26 02:12:25 +09:00
Kevin Lange
48334ab870 Draw a checkerboard behind transparent images in imgviewer 2016-09-25 23:51:11 +09:00
Kevin Lange
03020f14ff Tutorial demos 2016-09-20 21:06:43 +09:00
Kevin Lange
4fbf2afa67 Fix panel width calculations when resized 2016-09-17 21:55:37 +09:00
Kevin Lange
2ef33054ed Reject crazy window movements 2016-09-14 23:51:02 +09:00
Kevin Lange
badfa8c008 Fix a bug in imgviewer that actually froze yutani 2016-09-14 23:50:48 +09:00
Kevin Lange
e4edd60bd9 Even better: Untile based on relative position
We take the mouse location inside the window as a percentage instead.
2016-09-12 18:38:52 +09:00
Kevin Lange
7ffd3cd74e Center on Y as well, works better for tiled windows / alt-mouse drag 2016-09-12 18:27:46 +09:00
Kevin Lange
904a498afa Center window x on mouse when untiling
This provides more understandable behavior when snapping off small
windows, ensuring the mouse doesn't hang way off to the side of the
window. It's not ideal for large windows, but it's at least reasonable
there, so it's an overall win.
2016-09-12 18:18:56 +09:00
Kevin Lange
bbbd97e4b8 Support resizing nested Yutani 2016-09-10 21:28:25 +09:00
Kevin Lange
82ee872ee8 Fix bad marks on resizing windows 2016-09-10 21:28:14 +09:00
Kevin Lange
6e56b72c08 Support resizing the login screen 2016-09-10 21:27:55 +09:00
Kevin Lange
ddb70f5968 IRC needs to kill network thread on quit 2016-09-10 21:01:54 +09:00
Kevin Lange
4aba5b1cfc Move Draw so it's not under the panel on startup 2016-09-06 08:51:10 +09:00
Kevin Lange
b276f896f2 Allow 'play' to play from stdin 2016-09-04 20:22:20 +09:00
Kevin Lange
799d36a983 Fix GPF in VGA terminal on VirtualBox 2016-09-04 19:05:12 +09:00
Kevin Lange
fc211c983f Fix alt-tab positioning after resize 2016-09-03 19:54:51 +09:00
Kevin Lange
0a872f859e Prevent rotating panel + wallpaper 2016-09-03 19:46:18 +09:00
Kevin Lange
e671d988cf Mouse-initiated window rotation 2016-09-03 00:21:45 +09:00
Kevin Lange
2365244a18 Fix bad resizing bounding box on resize start 2016-09-02 23:51:11 +09:00
Kevin Lange
36de9ca511 Correct resizing rotated windows 2016-09-02 23:38:38 +09:00
Kevin Lange
de4900f426 Add quick single-user login tool 2016-09-02 19:59:48 +09:00
Kevin Lange
46e38fba0b Make sure wallpaper frees properly 2016-09-02 19:49:11 +09:00
Kevin Lange
48ac4cd578 Experimental wallpaper selector 2016-09-02 19:30:28 +09:00
Kevin Lange
a9fabe285d Initial support for changing display modes 2016-08-30 15:45:58 +09:00
Kevin Lange
d91d1bfc57 Add /nick and /quote to IRC 2016-02-12 10:06:23 -08:00
Kevin Lange
d31428dbbd More command support in IRC 2016-01-06 21:22:19 -08:00
Kevin Lange
c37172d028 Fixup color palettes 2016-01-06 20:35:41 -08:00
Kevin Lange
18e3892f73 Fix default background colors 2016-01-06 20:15:43 -08:00
Kevin Lange
193ad3c6f8 Make an IRC client that isn't completely terrible. 2016-01-06 19:00:57 -08:00
Kevin Lange
54d418cd8b First pass at modifier+arrows in terminal.
This is kinda rough and needs a finishing touch.

- Adds ncurses-specific terminfo entries for modifiers.
- Supports modifiers in the terminal itself.
- Updates the vim config to understand ctrl-arrows.
- Adds limited support for some modifiers in lib/kbd
  (as used by rline)
- Adds limited support for Ctrl+Arrows to rline
  (needs major improvements, only jumps to spaces)
2015-11-09 17:24:51 -08:00
Kevin Lange
eca744c9bc Support reloading wallpapers
With fade effects.
Send SIGUSR1 to the wallpaper app to refresh from config.
2015-11-08 18:20:56 -08:00
Kevin Lange
bb7bc4bef5 Draw sprites with opacity, unscaled 2015-11-08 18:20:35 -08:00
Kevin Lange
cb6e972a57 Clear up warnings from test-big-alloc 2015-11-06 09:20:17 -08:00
Kevin Lange
292f535a6a Fix critical directory release refcount issue 2015-11-05 22:18:49 -08:00
Kevin Lange
d877b60aaa New wallpaper: Yosemite 2015-10-15 16:15:13 -07:00
Kevin Lange
2959d53e3e Consider panel y offset when calculate tile bounds; add keybind to hide terminal by moving it up 2015-10-15 16:14:55 -07:00
Kevin Lange
02fbd0ef4b Fix weird VGA cursor positioning by moving it offscreen 2015-09-04 13:48:47 -07:00
Kevin Lange
139781d4fe Make sure some cursor updates are processed correctly 2015-08-31 14:00:23 -07:00
Kevin Lange
5e4791ae2b [yutani] Alternate cursor types.
Resize and drag cursors have been added.
These new cursor types are exposed in two ways:
- Window drag and resize will automatically use the resize cursors if
  a cursor is enabled for the window.
- Clients can use new values for yutani_window_show_mouse to set the
  current cursor type, or reset it to the previous normal or hidden
  state.

The latter functionality is now used in the decoration library to
present the appropriate resize cursor when the mouse is hovered over the
decoration borders.

More cursor options may be added in the future.
Cursor themes will be added in the future as well.

Cursors are stored in /usr/share/cursor
The arrow cursor has been moved to /usr/share/cursor/normal.png

ADDENDUM: A critical heisenbug with window resizing has been fixed in
          this commit involving a race with window dimensions and
          potentially also buffers.
2015-08-30 20:05:35 -07:00
Kevin Lange
92fa5e928d Show username in status window 2015-08-21 20:41:56 -07:00
Kevin Lange
4996371a92 Some hacky cleanups to serial-console 2015-08-20 17:32:42 -07:00
Kevin Lange
e933f61f70 Fix a few control keys 2015-08-20 17:06:38 -07:00
Kevin Lange
d96bda9c95 Consolidate ^A and ^E with HOME/END, support ^D as DEL 2015-08-20 10:56:22 -07:00
Kevin Lange
0553a0802f Support DEL, HOME, END, INS, shift+TAB
Adds support for these keys in lib/kbd, adds mappings to terminfo,
supports them in the terminal, and adds support for HOME, END and DEL
to the shell.

Closes #71.
2015-08-20 10:48:53 -07:00
Kevin Lange
a8ad76c5ec Fix socket-stream weirdness 2015-08-12 20:36:41 -07:00
Kevin Lange
a2aadd336a (wip) userspace irc client with curses 2015-08-12 17:01:57 -07:00
Kevin Lange
4a191a0fd0 Add copyright header to fetch 2015-08-12 17:01:38 -07:00
Kevin Lange
f888f06b46 Fix how serial terminal does reads and writes 2015-08-07 19:07:46 -07:00
Kevin Lange
4c2a48abd1 Add a cookie option to fetch 2015-08-07 16:33:57 -07:00
Kevin Lange
28bfaaac5d TODO: Write an actual chmod implementation 2015-08-06 19:07:20 -07:00
Kevin Lange
a2a0213561 Add some options to fetch 2015-08-06 15:19:51 -07:00
Kevin Lange
879b637822 Remove extraneous debug trace from imgviewer 2015-08-06 15:07:01 -07:00
Kevin Lange
94ec33baa2 Add third-party (Joylent) HTTP parser and use it in fetch 2015-08-06 15:02:05 -07:00
Kevin Lange
c3fd67d529 Add a basic image viewer to replace the one we ditched ages ago 2015-08-06 15:01:49 -07:00
Kevin Lange
2e65c8667f Add pipe-out which acts as > for pipes 2015-08-06 15:01:30 -07:00
Kevin Lange
19a35b3c8e Cleanup fetch, net_recv 2015-08-05 20:03:44 -07:00
Kevin Lange
5f0fd70fd3 make fetch less dumb 2015-08-03 22:24:16 -07:00
Kevin Lange
2bd723b597 Hacked together things you really shouldn't push 2015-08-03 16:09:22 -07:00
Kevin Lange
1c9819eccc the dumbest fetch ever 2015-07-31 13:31:53 -07:00
Kevin Lange
3763680786 Bind Alt+F4 to SESSION_END which is accepted by applications as a close signal 2015-07-18 12:04:24 +09:00
Kevin Lange
3382200324 Move live-wizard out of gui/demo/ 2015-07-18 11:58:59 +09:00
Kevin Lange
5ad013594a Several improvements to window resizing
- Supports directional resizing, including restricted left/right/up/down
- Decoration-initiated resizing is now supported
  - Details of how the decorator determines up-restricted resizing
    still need some work.
- Corrected issues when attempting to resize to the other side of the
  origin.
- Corrected some other compositor issues.
2015-07-17 22:54:10 +09:00
Kevin Lange
d0518b1775 Fix loop in sudo on command-not-found 2015-07-13 07:49:16 +09:00
Kevin Lange
d968d27636 Add some silly extra stuff to the tutorial 2015-07-12 19:40:47 +09:00
Kevin Lange
4cf6843441 Prune garbage from keyboard from before terminal started 2015-07-12 19:23:59 +09:00
Kevin Lange
06b57c14f8 Use pure-software cursor for VGA terminal, works better 2015-07-12 19:15:29 +09:00
Kevin Lange
7f608107dc Add half-filled character to VGA terminal mappings 2015-07-12 19:08:30 +09:00
Kevin Lange
a9b2f5a8c0 Bail immediately if not connected to Yutani in yutani-query 2015-07-12 19:08:13 +09:00
Kevin Lange
1d8a7b0056 Restructure live CD wizard to two processes 2015-07-12 18:57:12 +09:00
Kevin Lange
67c74f3224 free -? shows wrong options [ci skip] 2015-06-24 11:06:10 -07:00
Kevin Lange
f129bbcdc6 More work on livecd welcome app [ci skip] 2015-06-22 23:54:56 -07:00
Kevin Lange
acbb5c16a8 Merge branch 'symlink-60fix' of https://github.com/gerow/toaruos into gerow-symlink-60fix 2015-06-22 22:03:44 -07:00
Kevin Lange
f8abc9a68c Actually add all the CD source files 2015-06-22 22:02:00 -07:00
gerow
4745d05f7e Added failing test for symbolic links near the ext2 cutoff size 2015-06-19 21:14:33 -04:00
Kevin Lange
1365f55ba6 Start work on live CD welcome tutorial 2015-06-18 23:25:09 -07:00
Kevin Lange
2c551fd81b Pass unrecognized start= parameters to compositor 2015-06-18 21:48:56 -07:00
Kevin Lange
4501419126 More sysinfo stuff 2015-06-11 21:09:25 -07:00
Kevin Lange
c6a2d2ebe7 Add a totally noncompliant /bin/free 2015-06-11 21:06:59 -07:00
Kevin Lange
9d723fe601 Add version info to sh 2015-06-11 21:06:27 -07:00
Kevin Lange
334abd12b4 Add a /bin/uptime 2015-06-11 21:06:15 -07:00
Kevin Lange
e05c9b78a0 Silly sysinfo tool 2015-06-11 18:43:41 -07:00
Kevin Lange
8fae365760 Display link targets in ls -l 2015-06-10 23:34:39 -07:00
Kevin Lange
20367b15f9 Fixups for merging symlinks 2015-06-10 20:59:27 -07:00
Mike Gerow
f033111390 Added hilighting for symlinks to ls 2015-06-03 19:10:44 -07:00
Mike Gerow
9f83cd6aec Added support to stat for reading info on symlinks 2015-06-03 19:10:17 -07:00
Mike Gerow
83c715d9df Added userspace command readlink 2015-06-03 19:09:49 -07:00
Mike Gerow
e094251139 Added userspace command ln 2015-06-03 19:09:18 -07:00
Kevin Lange
478835401e pcspkr piano should exit if it can't open spkr [ci skip] 2015-06-02 22:24:41 -07:00
Kevin Lange
31fe3eb672 Fix missing setuid color in short output mode (ls) 2015-06-01 17:54:57 -07:00
Kevin Lange
20c9535d29 Clean up termemu and add a new kernel vga logging mechanism 2015-06-01 00:20:02 -07:00
Kevin Lange
afb5543771 move tracing from glogin out into a header, use it in yutani 2015-05-26 18:41:48 -07:00
Kevin Lange
7f66c10230 Bind scroll to volume up/down on volume icon 2015-05-18 22:19:30 -07:00
Kevin Lange
d8ac0fc902 Add a working (but read-only) volume knob to the panel. 2015-05-18 21:36:49 -07:00
Kevin Lange
9d41b3fc25 Merge branch 'mixer-rebase' of https://github.com/gerow/toaruos into gerow-mixer-rebase 2015-05-18 21:15:25 -07:00
Kevin Lange
bc806cf774 Merge branch 'sh-C-p-C-n' of https://github.com/gerow/toaruos into gerow-sh-C-p-C-n 2015-05-18 21:10:23 -07:00
Kevin Lange
60568a70a5 Remove debug messages from png loading 2015-05-18 21:08:37 -07:00
Mike Gerow
3515353704 Allow walking through shell history using C-n and C-p 2015-05-18 19:29:33 -07:00
Mike Gerow
368d2c0525 Add a command line utility for interacting with /dev/mixer 2015-05-17 20:31:36 -07:00
Mike Gerow
0f35a5bfe3 Add ioctl interface for snd mixer 2015-05-17 20:31:36 -07:00
Mike Gerow
f53ea98e05 Implement snd mixer interface in ac97.c 2015-05-17 20:31:36 -07:00
Mike Gerow
ad708efd5a Add support for managing mixer knobs to snd interface 2015-05-17 20:31:36 -07:00
Kevin Lange
8e61d4ee3a Cleanup unused functions in glogin 2015-05-15 22:51:47 -07:00
Kevin Lange
e047cea9a3 Boring comment header cleanups [ci skip] 2015-05-15 22:50:58 -07:00
Mike Gerow
64d771b4fa Remove the now unnecessary ioctl from play utility 2015-05-15 01:04:07 -07:00
Kevin Lange
6acef2ab41 Add audio player 2015-05-14 09:25:48 -07:00
Kevin Lange
eb3e865036 Update pong description 2015-05-12 23:29:24 -07:00
Kevin Lange
de3e405b52 Make pong prettier 2015-05-12 20:51:07 -07:00
Kevin Lange
2a59b09a9a This is terrible: Yutani Pong 2015-05-11 22:20:27 -07:00
Kevin Lange
f0f286acb7 Yield after flipping display after glogin
Fixes very common issue where artifacts of the login widget were visible
after logging in before the desktop started up.
2015-05-09 22:11:55 -07:00
Kevin Lange
c661e3073d Add more icon search paths 2015-05-02 18:57:49 -07:00
Kevin Lange
a6f071f9c8 New scroll rows should set background colors. 2015-05-01 00:36:50 -07:00
Kevin Lange
365295010c Make animations in Yutani faster. 2015-04-30 18:06:36 -07:00
Kevin Lange
49952347d6 add a piano app 2015-04-30 16:34:30 -07:00
Kevin Lange
dd74cdcec2 Map Vim config'd tab/space characters in VGA terminal 2015-04-29 16:29:36 -07:00
Kevin Lange
cf2bd4cb22 Fix missing in return in 'set' command 2015-04-26 18:14:52 -07:00
Kevin Lange
4fd1ae9aa3 Support scrollwheel mice 2015-04-26 18:05:14 -07:00
Kevin Lange
a3f9ab465b Basic xterm (?1000 and ?1002) mouse support 2015-04-26 17:14:14 -07:00
Kevin Lange
278059d6a2 Use timers for animations (compositor, desktop)
Yutani, glogin, and wallpaper now use timing information from the kernel
to perform animations. Some animation lengths have been adjusted. The
animations should run at the same speed, though with varying
"smoothness" across different hardware (including non-KVM emulators).
2015-04-14 23:09:54 -07:00
Kevin Lange
e7ff3e20f8 Wallpaper from config, readd old wallpapers 2015-04-11 18:22:26 -07:00
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
Lioncash
b3ba650ac2 Fix a sprintf size typo which would overwrite the error buffer in bim's open_file func 2014-05-21 21:03:45 -04:00
Kevin Lange
29e7f0def1 Fix null pointer trying to alt-tab without windows 2014-05-19 18:38:16 -07:00
Kevin Lange
dcdf53db89 Make a bunch of apps respond to session end message 2014-05-19 18:34:05 -07:00
Kevin Lange
ce0dacb912 Use spinlock.h instead of continually definign this as static in a bunch of apps 2014-05-18 19:34:49 -07:00
Kevin Lange
0cdfcf766e Support frameless non-fullscreen terminals 2014-05-18 19:23:05 -07:00
Kevin Lange
dde993c79c Store decoration theme settings in /etc/passwd 2014-05-18 18:13:14 -07:00
Kevin Lange
71946d8a97 Invert resize rounding behavior for terminal 2014-05-18 18:10:18 -07:00
Kevin Lange
a1e8a40b22 More gridding options 2014-05-18 18:08:34 -07:00
Kevin Lange
4c99c387f5 Expose pc speaker as device file 2014-05-18 16:11:14 -07:00
Kevin Lange
6379aa19ff Bring a few more apps up to speed with new yutani features 2014-05-18 13:57:33 -07:00
Kevin Lange
068f933a71 Kill some excessive debug output in the terminal 2014-05-18 12:24:17 -07:00
Kevin Lange
2675532013 Add a terminal option to disable rounding resizes to cell widths 2014-05-18 12:18:34 -07:00
Kevin Lange
6e028b6550 left-right tiling 2014-05-18 12:15:18 -07:00
Kevin Lange
3cb7b18c60 Client-initiated window drag 2014-05-18 11:54:20 -07:00
Kevin Lange
d9830f7989 Major refactor of panel 2014-05-12 20:11:58 -07:00