Commit Graph

778 Commits

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