| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | term: visual_focus_in/out: redraw CSDs | Daniel Eklöf | 2020-02-25 | -0/+18 |
| | | | | | | | | We draw the CSDs in a darker color when we're inactive. Weston seems to be buggy with synchronized subsurfaces, so temporarily reconfigure them to desynchronized surfaces. | |||
| * | input: wip: trigger move/resize when left-clicking CSD | Daniel Eklöf | 2020-02-25 | -5/+73 |
| | | ||||
| * | render: search: take CSD into account | Daniel Eklöf | 2020-02-25 | -5/+9 |
| | | ||||
| * | render: resize with with/height == 0 resizes to user configured dimensions | Daniel Eklöf | 2020-02-25 | -23/+6 |
| | | ||||
| * | wayland: mark the whole search surface as opaque | Daniel Eklöf | 2020-02-25 | -0/+5 |
| | | ||||
| * | wayland: synchronize the CSD surfaces to the main surface | Daniel Eklöf | 2020-02-25 | -0/+1 |
| | | ||||
| * | wayland: default to CSDs | Daniel Eklöf | 2020-02-25 | -0/+1 |
| | | | | | | Only when the compositor implements the XDG decoration manager interface, and it tells us to use server side decorations to we do so. | |||
| * | wayland: weston does not implement the xdg decoration manager interface | Daniel Eklöf | 2020-02-25 | -6/+10 |
| | | ||||
| * | wayland: xdg_surface_configure(): call wl_surface_commit() | Daniel Eklöf | 2020-02-25 | -2/+11 |
| | | | | | | | | | | | | | It seems kwin expects a wl_surface_commit() for each xdg_surface_ack_configure(). We don't want to commit before we've rendered a resized surface. So, if we *did* change the window size, let the normal rendering path do the surface commit. Only when we did *not* change the window size do we need to explicitly commit the surface in xdg_surface_configure(). | |||
| * | render: render_resize_*() returns a boolean indicating whether size changed. | Daniel Eklöf | 2020-02-25 | -9/+12 |
| | | ||||
| * | wayland: decoration-configure: call render_resize() to add/remove CSDs | Daniel Eklöf | 2020-02-25 | -0/+7 |
| | | | | | | | Call render_resize_force() when the decoration type changes run-time. This ensures the CSDs are drawn when changing from server -> client side decorations, and removed when going the other way. | |||
| * | render: render_resize(): don't allow too small window sizes | Daniel Eklöf | 2020-02-25 | -8/+31 |
| | | ||||
| * | render: call render_csd() from render_resize(), not render_grid() | Daniel Eklöf | 2020-02-25 | -3/+1 |
| | | | | | | The CSDs doesn't need to be re-drawn each time we redraw the grid, only when the window is resized. | |||
| * | render: export render_csd() | Daniel Eklöf | 2020-02-25 | -18/+34 |
| | | ||||
| * | render: make CSD border and title size globally accessible | Daniel Eklöf | 2020-02-25 | -0/+6 |
| | | ||||
| * | shm: handle EINTR in posix_fallocate() | Daniel Eklöf | 2020-02-25 | -1/+4 |
| | | ||||
| * | main: geometry defaults to 800x600 pixels | Daniel Eklöf | 2020-02-25 | -12/+5 |
| | | ||||
| * | input: pointer-motion/button: ignore actions in non-main surfaces | Daniel Eklöf | 2020-02-24 | -0/+7 |
| | | ||||
| * | input: pointer-leave: reset 'active-surface' in terminal | Daniel Eklöf | 2020-02-24 | -1/+3 |
| | | ||||
| * | input: pointer-enter: differentiate between the surfaces | Daniel Eklöf | 2020-02-24 | -3/+33 |
| | | ||||
| * | render: csd: sort geometry entries | Daniel Eklöf | 2020-02-24 | -5/+5 |
| | | ||||
| * | wayland: terminal_from_surface(): use term_surface_kind() | Daniel Eklöf | 2020-02-24 | -4/+1 |
| | | ||||
| * | term: add term_surface_kind(), and track currently active surface | Daniel Eklöf | 2020-02-24 | -0/+36 |
| | | | | | | | This is needed to handle pointer motion and button events correctly, since mouse actions in e.g. CSD surfaces are very different from mouse actions in the main window. | |||
| * | render: csd: render all borders and the title bar | Daniel Eklöf | 2020-02-24 | -3/+7 |
| | | | | | | | * Still no content in the title bar * Colors are temporary * No resize/drag yet | |||
| * | Merge branch 'master' into csd | Daniel Eklöf | 2020-02-24 | -105/+139 |
| |\ | ||||
| | * | sixel: CSI setters also write a reply to the client | Daniel Eklöf | 2020-02-24 | -5/+9 |
| | | | ||||
| | * | term: scroll: call sixel_delete_*() instead of manually erasing sixel images | Daniel Eklöf | 2020-02-24 | -35/+4 |
| | | | ||||
| | * | term: term_erase(): call sixel_delete_*() | Daniel Eklöf | 2020-02-24 | -2/+4 |
| | | | | | | | | | | | This ensures sixel images are removed, regardless of _how_ the screen was erased. | |||
| | * | sixel: ensure 'start' row is not outside the grid row range | Daniel Eklöf | 2020-02-24 | -1/+3 |
| | | | ||||
| | * | sixel: add sixel_delete_at_row and sixel_delete_in_range | Daniel Eklöf | 2020-02-24 | -7/+68 |
| | | | | | | | | | | | These are utility functions to erase sixel images that are at the specified row, or in a row range. | |||
| | * | term: resize: pre-calculate right/bottom margins | Daniel Eklöf | 2020-02-24 | -55/+51 |
| | | | ||||
| * | | csd: wip: something to get started... | Daniel Eklöf | 2020-02-23 | -5/+83 |
| |/ | ||||
| * | csi: delete all sixels on the 'alt' grid when switching back to 'normal' | Daniel Eklöf | 2020-02-22 | -0/+8 |
| | | ||||
| * | render: sixel: don't render sixels on the 'other' grid | Daniel Eklöf | 2020-02-22 | -0/+3 |
| | | ||||
| * | term: scroll: don't delete sixel images on the 'other' grid | Daniel Eklöf | 2020-02-22 | -0/+6 |
| | | ||||
| * | sixel: destroy_at_cursor(): skip images on 'other' grid | Daniel Eklöf | 2020-02-22 | -0/+3 |
| | | ||||
| * | sixel: track which grid image was created on | Daniel Eklöf | 2020-02-22 | -0/+2 |
| | | ||||
| * | sixel: rename: purge_at_cursor() -> delete_at_cursor() | Daniel Eklöf | 2020-02-22 | -4/+4 |
| | | ||||
| * | Merge branch 'sixel-graphics' | Daniel Eklöf | 2020-02-22 | -6/+849 |
| |\ | ||||
| | * | README: add screenshot of sixel graphics | Daniel Eklöf | 2020-02-22 | -0/+3 |
| | | | ||||
| | * | sixel: purge images in unhook, rather than in init | Daniel Eklöf | 2020-02-22 | -2/+2 |
| | | | | | | | | | | | This fixes an issue where the cursor was seen blinking in animated GIFs. | |||
| | * | sixel: purge images at current cursor row | Daniel Eklöf | 2020-02-22 | -7/+21 |
| | | | | | | | | | | | When printing a character, or starting a new sixel image, purge all images that cover the cursor's current row. | |||
| | * | sixel: oops | Daniel Eklöf | 2020-02-22 | -2/+2 |
| | | | ||||
| | * | README: add sixel support to feature list | Daniel Eklöf | 2020-02-22 | -0/+1 |
| | | | ||||
| | * | sixel: don't ever shrink the image | Daniel Eklöf | 2020-02-22 | -3/+9 |
| | | | ||||
| | * | sixel: add HLS color format support | Daniel Eklöf | 2020-02-22 | -2/+132 |
| | | | ||||
| | * | sixel: add comments to max_width()/max_height() | Daniel Eklöf | 2020-02-22 | -0/+2 |
| | | | ||||
| | * | sixel: application configurable image max width/height | Daniel Eklöf | 2020-02-22 | -8/+86 |
| | | | ||||
| | * | sixel: application configurable palette size (color count) | Daniel Eklöf | 2020-02-22 | -6/+73 |
| | | | | | | | | | | | This implements the CSI escapes for retrieving and (re)setting the palette size. | |||
| | * | sixel: use terminal's background color, not palette[0] | Daniel Eklöf | 2020-02-22 | -3/+3 |
| | | | ||||
| | * | csi: DA: we now implement sixel | Daniel Eklöf | 2020-02-22 | -1/+1 |
| | | | ||||
| | * | sixel: finalize: use width/height from image, not row/col pos | Daniel Eklöf | 2020-02-22 | -10/+4 |
| | | | ||||
| | * | sixel: resize: initialize new rows/columns with the background color | Daniel Eklöf | 2020-02-22 | -9/+15 |
| | | | ||||
| | * | sixel: mention why we add one | Daniel Eklöf | 2020-02-22 | -1/+3 |
| | | | ||||
| | * | sixel: clean up state machine | Daniel Eklöf | 2020-02-22 | -94/+105 |
| | | | | | | | | | | | Use proper state names, and implement the state machine using switch statements. | |||
| | * | sixel: use a struct coord for current sixel position | Daniel Eklöf | 2020-02-22 | -35/+33 |
| | | | ||||
| | * | sixel: rename state SIXEL_SIXEL -> SIXEL_GROUND | Daniel Eklöf | 2020-02-22 | -7/+7 |
| | | | ||||
| | * | sixel: raster: only resize image buffer if necessary | Daniel Eklöf | 2020-02-22 | -1/+3 |
| | | | ||||
| | * | term: free sixel images on reset | Daniel Eklöf | 2020-02-22 | -0/+4 |
| | | | ||||
| | * | sixel: resize image buffer after receiving a "raster" command | Daniel Eklöf | 2020-02-22 | -0/+1 |
| | | | ||||
| | * | sixel: resize image buffer dynamically | Daniel Eklöf | 2020-02-22 | -24/+86 |
| | | | ||||
| | * | sixel: add sixel_destroy() | Daniel Eklöf | 2020-02-21 | -14/+22 |
| | | | ||||
| | * | sixel: always bump row on unhook | Daniel Eklöf | 2020-02-21 | -6/+4 |
| | | | ||||
| | * | sixel: ugly hack to remove over-written sixel images | Daniel Eklöf | 2020-02-21 | -0/+8 |
| | | | ||||
| | * | sixel: calculate image height in (cell) rows | Daniel Eklöf | 2020-02-21 | -23/+25 |
| | | | ||||
| | * | render: break out sixel rendering code | Daniel Eklöf | 2020-02-21 | -61/+73 |
| | | | ||||
| | * | sixel: wip: maintain a list of finished, and "active" sixel images | Daniel Eklöf | 2020-02-21 | -38/+122 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In unhook, add the generated image to a list of finished sixel images, along with positioning and size information. When rendering, loop this list of images, and render the images (or parts of) that are visible. When scrolling, check if any part of the images cover the re-cycled lines, and if so, remove the *entire* image from the list. This means we have the following limitations: * The renderer always renders the whole (visible area of) the image(s). There are times when this isn't necessary - for example, when the image is scrolled inside the visible area. * It would be nice if we could crop the image when parts of it is scrolled out. | |||
| | * | Merge branch 'master' into sixel-graphics | Daniel Eklöf | 2020-02-21 | -0/+3 |
| | |\ | ||||
| | | * | scroll-up: ensure view is valid after adjusting an overshot scrollback | Daniel Eklöf | 2020-02-21 | -0/+3 |
| | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | When we scroll up, we need to ensure that we don't scroll too far, "past" the scrollback limit. I.e. we need to ensure we don't wrap around. The code did this. But, in certain scenarios, the resulting view points into uninitialized scrollback history. This happens when we haven't yet filled the entire scrollback, and scroll up enough lines to wrap around the scrollback. The old code would adjust the view for the wrap around, but doing so pointed the view at the not-yet utilized scrollback. | |||
| | * | sixel: initial support | Daniel Eklöf | 2020-02-21 | -3/+350 |
| |/ | | | | | | | | | This implements basic parsing of sixel data. Lots of limitations and temporary solutions as this is still work-in-progress: * Maximum image size hardcoded to 800x800 * No HLS color format support * Image is always rendered at 0x0 in the terminal | |||
| * | keymap: tab: handle all modifiers | Daniel Eklöf | 2020-02-21 | -2/+17 |
| | | | | | | | | Tab is one of the keys included in our "otherModifierKeys" implementation. However, since the key sym falls outside the checks required to trigger it, special case it and implement its sequences as a table. | |||
| * | keymap: align backspace escapes with XTerm | Daniel Eklöf | 2020-02-21 | -3/+44 |
| | | | | | | | | | | | | | | | | Backspace now emits DEL for all non-ctrl modifier combos, and BS for all ctrl modifier combos. The alt modifier prefixes DEL/BS with ESC. This also removes my own hack of mapping ctrl+backspace to alt+backspace. Describe backspace behavior in both the README and the man page. TODO: implement DECBKM to allow applications to toggle the backspace behavior. | |||
| * | client: make sure 'cwd' is in scope of all goto's | Daniel Eklöf | 2020-02-20 | -1/+3 |
| | | ||||
| * | doc: foot.5: login-shell: add default value ('no') | Daniel Eklöf | 2020-02-20 | -1/+1 |
| | | ||||
| * | doc: foot.5: change 'shell' example, add login-shell | Daniel Eklöf | 2020-02-20 | -1/+4 |
| | | ||||
| * | main: check return value of getcwd() | Daniel Eklöf | 2020-02-20 | -1/+5 |
| | | ||||
| * | slave: check return value of chdir() | Daniel Eklöf | 2020-02-20 | -1/+6 |
| | | ||||
| * | term: spawn_new: check return value of chdir() and write() | Daniel Eklöf | 2020-02-20 | -3/+7 |
| | | ||||
| * | client: allocate current working directory buffer dynamically | Daniel Eklöf | 2020-02-20 | -2/+14 |
| | | ||||
| * | Merge branch 'login-shell' | Daniel Eklöf | 2020-02-20 | -14/+79 |
| |\ | ||||
| | * | doc: add --login-shell | Daniel Eklöf | 2020-02-20 | -0/+6 |
| | | | ||||
| | * | completions: zsh: add --login-shell | Daniel Eklöf | 2020-02-20 | -0/+2 |
| | | | ||||
| | * | footrc: add login-shell option | Daniel Eklöf | 2020-02-20 | -0/+1 |
| | | | ||||
| | * | slave: prefix argv[0] with a '-' when spawning a login-shell | Daniel Eklöf | 2020-02-20 | -13/+44 |
| | | | ||||
| | * | config: add 'login-shell' option | Daniel Eklöf | 2020-02-20 | -0/+11 |
| | | | ||||
| | * | client: add --login-shell command line option | Daniel Eklöf | 2020-02-20 | -0/+7 |
| | | | ||||
| | * | main: add --login-shell command line option | Daniel Eklöf | 2020-02-20 | -1/+8 |
| |/ | ||||
| * | README: list 'lightweigh' under features | Daniel Eklöf | 2020-02-18 | -0/+1 |
| | | ||||
| * | PKGBUILD: meson already adds these flags | Daniel Eklöf | 2020-02-16 | -1/+1 |
| | | ||||
| * | meson: always disable stack-protector and enable strict-aliasing | Daniel Eklöf | 2020-02-16 | -1/+6 |
| | | ||||
| * | log: always log file:lineno | Daniel Eklöf | 2020-02-16 | -4/+0 |
| | | ||||
| * | meson: strip build relative paths from file macros | Daniel Eklöf | 2020-02-16 | -1/+30 |
| | | ||||
| * | render/grid: move grid reflow code to grid.c | Daniel Eklöf | 2020-02-15 | -184/+158 |
| | | ||||
| * | wayland: output_mode: update PPI | Daniel Eklöf | 2020-02-15 | -0/+1 |
| | | | | | | Since we now use the width/height values from output_mode(), we also need to update the PPI here. | |||
| * | main: bug: -t requires an argument | Daniel Eklöf | 2020-02-15 | -1/+1 |
| | | ||||
| * | README: change wording of DPI header | Daniel Eklöf | 2020-02-15 | -2/+2 |
| | | ||||
| * | README: talk about DPI, add font on-the-fly features to feature list | Daniel Eklöf | 2020-02-15 | -0/+33 |
| | | ||||
| * | doc: foot.5: make 'pad' syntax/example clearer | Daniel Eklöf | 2020-02-15 | -1/+1 |
| | | ||||
| * | PKGBUILD: experimental: build with -fstrict-aliasing | Daniel Eklöf | 2020-02-15 | -1/+1 |
| | | ||||
| * | shm: prefer posix_fallocate over ftruncate | Daniel Eklöf | 2020-02-15 | -3/+14 |
| | | ||||
