Commit Graph

308 Commits

Author SHA1 Message Date
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
38e3741c66 Make sure we mark display regions for update when drawing images 2016-09-26 10:58:01 +09:00
Kevin Lange
11d0c2d9fe Support DEC show/hide cursor escapes. 2016-09-26 10:14:59 +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
4aba5b1cfc Move Draw so it's not under the panel on startup 2016-09-06 08:51:10 +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
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
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
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
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
879b637822 Remove extraneous debug trace from imgviewer 2015-08-06 15:07:01 -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
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
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
f129bbcdc6 More work on livecd welcome app [ci skip] 2015-06-22 23:54:56 -07:00
Kevin Lange
f8abc9a68c Actually add all the CD source files 2015-06-22 22:02:00 -07:00
Kevin Lange
1365f55ba6 Start work on live CD welcome tutorial 2015-06-18 23:25:09 -07:00
Kevin Lange
4501419126 More sysinfo stuff 2015-06-11 21:09:25 -07:00