| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | term: fcft: max/space advance fields have been renamed | Daniel Eklöf | 2020-04-23 | -2/+2 | |
| | | | |||||
| | * | meson: we now require fcft 2.0.x | Daniel Eklöf | 2020-04-23 | -1/+1 | |
| | | | |||||
| | * | changelog: current output's subpixel order is preferred over FontConfig | Daniel Eklöf | 2020-04-22 | -0/+6 | |
| | | | |||||
| | * | term: guess subpixel mode after initializing wayland window | Daniel Eklöf | 2020-04-22 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | At this point, we're not mapped, but we should have all the outputs initialized. Which means we can at least guess which subpixel mode to use. If that turns out to be wrong, something we'll detect when we're mapped, we'll just have to re-render. | ||||
| | * | fcft: adjust to fcft-2.0 API changes | Daniel Eklöf | 2020-04-21 | -48/+48 | |
| | | | | | | | | | | | | | | | * font_*() -> fcft_*() * struct font -> struct fcft_font * struct glyph -> struct fcft_glyph * enum subpixel_order -> enum fcft_subpixel | ||||
| | * | Merge branch 'master' into fcft-v2 | Daniel Eklöf | 2020-04-21 | -0/+1 | |
| | |\ | |/ |/| | |||||
| * | | main: log locale | Daniel Eklöf | 2020-04-21 | -0/+1 | |
| | | | |||||
| | * | render: use output's subpixel mode when rasterizing glyphs | Daniel Eklöf | 2020-04-20 | -1/+79 | |
| |/ | |||||
| * | completions: zsh: -f,--font accepts multiple, comma separated values | Daniel Eklöf | 2020-04-20 | -1/+1 | |
| | | |||||
| * | readme: improve description | Daniel Eklöf | 2020-04-19 | -2/+3 | |
| | | |||||
| * | readme: bug reporting: emphasize that debug builds are preferred for backtraces | Daniel Eklöf | 2020-04-19 | -1/+1 | |
| | | |||||
| * | readme: spell 'change' correctly | Daniel Eklöf | 2020-04-19 | -1/+1 | |
| | | |||||
| * | term: destroy: free scroll damage lists | Daniel Eklöf | 2020-04-19 | -0/+3 | |
| | | | | | | | | | | These lists are typically empty when we destroy the terminal. However, if we had queued up damage, and then manage to destroy the terminal instance before the last changes were rendered, then they will *not* be empty. Found by the address sanitizer. | ||||
| * | csi: fix typo - the '(' was in the wrong place | Daniel Eklöf | 2020-04-19 | -1/+1 | |
| | | |||||
| * | render: search: improve handling of very long search strings | Daniel Eklöf | 2020-04-19 | -4/+10 | |
| | | |||||
| * | csi: CSI Ps ; Ps ; Ps t: report logical pixels | Daniel Eklöf | 2020-04-18 | -5/+8 | |
| | | |||||
| * | shm: #ifdef conditional code to measure total size of SHM allocations | Daniel Eklöf | 2020-04-18 | -0/+20 | |
| | | |||||
| * | server: don't do misaligned loads | Daniel Eklöf | 2020-04-18 | -11/+23 | |
| | | |||||
| * | Merge branch 'csi-report' | Daniel Eklöf | 2020-04-18 | -11/+96 | |
| |\ | |||||
| | * | csi: implement CSI Ps ; Ps ; Ps t reporting escape sequences | Daniel Eklöf | 2020-04-18 | -11/+96 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | A lot of the escape sequences on the "CSI Ps ; Ps ; Ps t" form are expected to return a reply. Thus, not having these implemented means we will hang if the client sends these escapes. Not all of these escapes can be meaningfully implemented on Wayland, and thus this implementation is best effort. We now support the following escapes: * 11t - report if window is iconified (always replies "no") * 13t - report window position (always replies 0,0) * 13;2t - report text area position (replies with margins, since we cannot get the window's position) * 14t - report text area size, in pixels * 14;2t - report window size, in pixels * 15t - report screen size, in pixels * 16t - report cell size, in pixels * 18t - report text area size, in cells * 19t - report screen size, in cells | ||||
| * | changelog: selection is no longer cleared on resize | Daniel Eklöf | 2020-04-17 | -0/+1 | |
| | | |||||
| * | render: resize: no need to truncate selection anymore - it's being translated | Daniel Eklöf | 2020-04-17 | -7/+1 | |
| | | |||||
| * | render: resize: need to translate selection coordinates | Daniel Eklöf | 2020-04-17 | -2/+15 | |
| | | | | | | | | | | | | | | While it *looked* like the selection was working before, it really wasn't. When rendering, we're looking at the cells' attributes to determine whether they have been selected or not. When copying text however, we use the terminal's 'selection' state, which consists of 'start' and 'end' coordinates. These need to be translated when reflowing text. | ||||
| * | grid: reflow: make tracking_points array 'const' | Daniel Eklöf | 2020-04-17 | -2/+2 | |
| | | | | | | The elements aren't, and cannot be, const. But the array itself can, and should be. | ||||
| * | Merge branch 'translate-cursor-coords-when-reflowing' | Daniel Eklöf | 2020-04-17 | -195/+236 | |
| |\ | |||||
| | * | render: resize: no need to clear the selection - just truncate if necessary | Daniel Eklöf | 2020-04-17 | -2/+6 | |
| | | | |||||
| | * | grid: reflow: caller may now pass a list of coordinates that should be translated | Daniel Eklöf | 2020-04-17 | -4/+11 | |
| | | | |||||
| | * | grid: reflow: generalize cursor coordinate translation | Daniel Eklöf | 2020-04-17 | -26/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | Define a list of "tracking points" - coordinates that should be translated while reflowing. Add the cursor coordinates to this list. When a coordinate have been translated, it is removed from the list. This means we don't have to create a copy of the 'cursor' coordinate struct. | ||||
| | * | changelog: cursor coordinates are now translated on resize | Daniel Eklöf | 2020-04-17 | -0/+1 | |
| | | | |||||
| | * | grid: reflow: remove commented out code | Daniel Eklöf | 2020-04-17 | -2/+0 | |
| | | | |||||
| | * | grid: reflow: turn line-wrapping code into a macro | Daniel Eklöf | 2020-04-17 | -24/+19 | |
| | | | |||||
| | * | grid: reflow: don't randomly insert hard linebreaks | Daniel Eklöf | 2020-04-17 | -0/+2 | |
| | | | | | | | | | | | Not sure why I added this code; maybe to workaround issues caused by the fact that the cursor position wasn't properly translated. | ||||
| | * | grid: grid_reflow() now translates cursor coordinates | Daniel Eklöf | 2020-04-16 | -42/+54 | |
| | | | |||||
| | * | grid: move 'cursor' state from terminal to grid | Daniel Eklöf | 2020-04-16 | -129/+136 | |
| |/ | | | | | This way, the 'normal' and 'alt' grids have their own cursor state, and we don't need to switch between them. | ||||
| * | misc: replace all explicit zero-initializers with empty initializers | Daniel Eklöf | 2020-04-13 | -15/+15 | |
| | | |||||
| * | mbstate: fix compile warning on systems where mbstate_t isn't an integral | Daniel Eklöf | 2020-04-13 | -3/+3 | |
| | | | | | | An empty initializer still ensures the entire object is zero-initialized. | ||||
| * | ci: alpine: add missing dependencies: pixman + libxkbcommon | Daniel Eklöf | 2020-04-13 | -0/+2 | |
| | | |||||
| * | term: reset: plug memory leak | Daniel Eklöf | 2020-04-13 | -27/+32 | |
| | | | | | | | | | | | | In reset, we allocated new rows for all the currently visible lines. We did **not** however, free the 'old' rows. Fix by not explicitly allocating new rows, but instead allocating uninitialized rows when needed, and then explicitly erasing the row. If there already was a row allocated, it is simply erased. If there wasn't, the a new line is malloc:ed, and then erased. | ||||
| * | ci: initial FreeBSD build manifest | Daniel Eklöf | 2020-04-12 | -0/+39 | |
| | | |||||
| * | ci: alpine: wlroots isn't needed (or used, at all) | Daniel Eklöf | 2020-04-12 | -1/+0 | |
| | | |||||
| * | Fix clang warnings | Daniel Eklöf | 2020-04-12 | -6/+6 | |
| | | | | | | | | | All are printf() formatter related. Even if a variable is e.g. a 'short', when used in an expression like '<variable> - 1' it is promoted to an 'int'. Closes #16 | ||||
| * | ci: move sr.ht's .build.yml to .builds/alpine.yml | Daniel Eklöf | 2020-04-11 | -0/+0 | |
| | | |||||
| * | themes: add a couple of color themes | Daniel Eklöf | 2020-04-10 | -0/+141 | |
| | | | | | | Foot doesn't really support themes, but with this, users can at least copy-paste from a couple of predefined themes into their footrc. | ||||
| * | input: slow trackpad scrolling now eventually scroll a line | Daniel Eklöf | 2020-04-10 | -1/+19 | |
| | | | | | | | | | | | | | | | | Before, we converted each axis event's scroll amount to an integer and scrolled that many lines. However, axis events are speed sensitive - very slow scrolling will result in events with a scroll amount that is < 1.0. For us, this meant we never scrolled a single line. You could slow scroll all day if you wanted, and still we would never scroll a single line. Fix this by aggregating the scroll amount from axis events until the scroll amount is > 1.0, and then scroll. | ||||
| * | render: don't dim so much when in search mode | Daniel Eklöf | 2020-04-10 | -3/+3 | |
| | | |||||
| * | render: strip 'pixman' from color function names | Daniel Eklöf | 2020-04-09 | -10/+10 | |
| | | |||||
| * | render: remove unused functions | Daniel Eklöf | 2020-04-09 | -18/+0 | |
| | | |||||
| * | config: use an unsigned constant, since we're shifting 31 bits | Daniel Eklöf | 2020-04-09 | -2/+2 | |
| | | |||||
| * | keymap: remove trailing whitespaces | Daniel Eklöf | 2020-04-08 | -7/+7 | |
| | | |||||
| * | completions: zsh: foot: default geometry is 700x500, not 700x50 | Daniel Eklöf | 2020-04-08 | -1/+1 | |
| | | |||||
| * | changelog: alt+return now emits ESC \r | Daniel Eklöf | 2020-04-08 | -0/+1 | |
| | | |||||
| * | keymap: return: all Alt+<mod> now emits \e\r | Daniel Eklöf | 2020-04-08 | -2/+9 | |
| | | |||||
| * | keymap: \t -> spaces | Daniel Eklöf | 2020-04-08 | -1/+1 | |
| | | |||||
| * | Merge branch 'mchackorg/foot-alt-return' | Daniel Eklöf | 2020-04-08 | -0/+1 | |
| |\ | |||||
| | * | Make Alt-Return send ESC Return | Michael Cardell Widerkrantz | 2020-03-16 | -0/+1 | |
| | | | |||||
| * | | terminfo: foot: setaf/b: use colon-separated variant | Daniel Eklöf | 2020-04-08 | -2/+2 | |
| | | | |||||
| * | | terminfo: foot-direct: setaf/b: set color space to '2' (RGB) | Daniel Eklöf | 2020-04-08 | -2/+2 | |
| | | | |||||
| * | | README: describe how to report bugs | Daniel Eklöf | 2020-04-04 | -0/+15 | |
| | | | |||||
| * | | doc: foot.1: list what a bug report should contain | Daniel Eklöf | 2020-04-04 | -0/+9 | |
| | | | |||||
| * | | doc: foot.1: add link to issue reporting | Daniel Eklöf | 2020-04-04 | -0/+4 | |
| | | | |||||
| * | | readme: summary: add 'lightweight' | Daniel Eklöf | 2020-04-04 | -1/+1 | |
| | | | |||||
| * | | readme: remove the 'non-features' and 'what doesn't work' sections | Daniel Eklöf | 2020-04-04 | -22/+0 | |
| | | | |||||
| * | | meson: don't set -fno-stack-protector | Daniel Eklöf | 2020-04-04 | -2/+1 | |
| | | | | | | | | | | | Disabling the stack protection is generally bad, and I can't measure any performance drops with it enabled. | ||||
| * | | Merge branch 'osc4-multi-parameter' | Daniel Eklöf | 2020-04-04 | -47/+48 | |
| |\ \ | |||||
| | * | | changelog: osc 4 multiple 'c;spec' pairs | Daniel Eklöf | 2020-04-04 | -0/+1 | |
| | | | | |||||
| | * | | osc 104: handle multiple indices the same way we do in OSC 4 - use strtok() | Daniel Eklöf | 2020-04-04 | -14/+13 | |
| | | | | |||||
| | * | | osc: 4: handle multiple idx;spec pairs | Daniel Eklöf | 2020-04-04 | -33/+34 | |
| |/ / | |||||
| * | | readme: tweak presentation of OSC 555 | Daniel Eklöf | 2020-04-04 | -1/+1 | |
| | | | |||||
| * | | readme: markup of OSC sequences | Daniel Eklöf | 2020-04-04 | -13/+13 | |
| | | | |||||
| * | | readme: document implemented OSC sequences | Daniel Eklöf | 2020-04-04 | -0/+22 | |
| | | | |||||
| * | | Merge branch 'right-mouse-extend-selection' | Daniel Eklöf | 2020-04-04 | -19/+189 | |
| |\ \ | |||||
| | * | | doc: foot.1: right mouse button extends current selection | Daniel Eklöf | 2020-04-04 | -0/+3 | |
| | | | | |||||
| | * | | readme: right mouse button extends current selection | Daniel Eklöf | 2020-04-04 | -0/+3 | |
| | | | | |||||
| | * | | changelog: right mouse button extends current selection | Daniel Eklöf | 2020-04-04 | -0/+1 | |
| | | | | |||||
| | * | | selection: extend: new row must be offsetted with the current view offset | Daniel Eklöf | 2020-04-04 | -0/+2 | |
| | | | | |||||
| | * | | input: right mouse click extends the current selection | Daniel Eklöf | 2020-04-04 | -0/+4 | |
| | | | | |||||
| | * | | selection: add selection_extend() | Daniel Eklöf | 2020-04-04 | -14/+172 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function extends an existing selection in the following way: If the extension point is *before* the upper boundary of the current selection, extend the selection upwards. If the extension point is *after* the bottom boundary of the current selection, extend the selection downwards. If the extension point is *inside* the current selection, shrink the selection such that the new size is maximized. This means we move the *closest* start/end point from in the current selection. | ||||
| | * | | input: hardcoded left mouse button handler requires click-count <= 3 | Daniel Eklöf | 2020-04-04 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This enables user mappings for the left mouse button with click count > 3 I.e. it is now possible to create custom quad-click mappings (except we don't yet support this in footrc). | ||||
| | * | | input: only cancel selection on left mouse button clicks | Daniel Eklöf | 2020-04-04 | -4/+3 | |
| |/ / | |||||
| * | | changelog: mention memfd sealing failures not being fatal errors fix | Daniel Eklöf | 2020-04-03 | -0/+1 | |
| | | | |||||
| * | | changelog: mention OSC 7 hostname validation fix | Daniel Eklöf | 2020-04-03 | -0/+1 | |
| | | | |||||
| * | | osc: ignore OSC 7 when hostname doesn't match our own hostname | Daniel Eklöf | 2020-04-03 | -9/+28 | |
| | | | |||||
| * | | shm: memfd seal failures are not fatal errors | Daniel Eklöf | 2020-04-03 | -1/+1 | |
| | | | |||||
| * | | doc: foot/footclient: fix highlighting of TITLE argument to --title | Daniel Eklöf | 2020-04-01 | -2/+2 | |
| | | | |||||
| * | | conf: add 'title' conf option and --title command line option | Daniel Eklöf | 2020-04-01 | -2/+65 | |
| | | | |||||
| * | | completions: zsh: repair -a,--app-id completions | Daniel Eklöf | 2020-04-01 | -2/+2 | |
| | | | |||||
| * | | conf: add app-id config option and --app-id command line option | Daniel Eklöf | 2020-04-01 | -15/+84 | |
| | | | |||||
| * | | doc: foot.5: minor updates to 'tweaks' | Daniel Eklöf | 2020-03-30 | -7/+9 | |
| | | | |||||
| * | | doc: fcft.5: document the 'tweak' options | Daniel Eklöf | 2020-03-30 | -0/+117 | |
| | | | |||||
| * | | meson: completions: join_paths() all the way | Daniel Eklöf | 2020-03-29 | -1/+1 | |
| | | | |||||
| * | | Merge branch 'scroll-damage-performance' | Daniel Eklöf | 2020-03-29 | -162/+796 | |
| |\ \ | |||||
| | * | | changelog: mention renderer performance improvements with scrolling | Daniel Eklöf | 2020-03-29 | -0/+2 | |
| | | | | |||||
| | * | | Merge branch 'master' into scroll-damage-performance | Daniel Eklöf | 2020-03-27 | -10/+138 | |
| | |\ \ | |||||
| | * | | | conf: max-shm-pool-size-mb=0 now disables SHM scrolling | Daniel Eklöf | 2020-03-26 | -7/+6 | |
| | | | | | |||||
| | * | | | shm: make max pool size user configurable (via a 'tweak' setting) | Daniel Eklöf | 2020-03-25 | -11/+39 | |
| | | | | | |||||
| | * | | | shm: handle ftruncate failure | Daniel Eklöf | 2020-03-25 | -1/+5 | |
| | | | | | |||||
| | * | | | shm: seal the memfd | Daniel Eklöf | 2020-03-25 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This both prevents accidental resizing of the memfd, and allows the Wayland server to optimze reads from the buffer - it no longer has to setup SIGBUS handlers. | ||||
| | * | | | shm: scroll: keep shm pool around, and fix its size at max allowed | Daniel Eklöf | 2020-03-25 | -138/+149 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lessens the burden on (primarily) the compositor, since we no longer tear down and re-create the SHM pool when scrolling. The SHM pool is setup once, and its size is fixed at the maximum allowed (512MB for now, 2GB would be possible). This also allows us to mmap() the memfd once. The exposed raw pointer is simply an offset from the memfd mmapping. Note that this means e.g. rouge rendering code will be able to write outside the buffer. Finally, only do this if the caller explicitly wants to enable scrolling. The memfd of other buffers are sized to the requested size. | ||||
| | * | | | app synchronized updates: set is_armed=false when enabling | Daniel Eklöf | 2020-03-25 | -0/+1 | |
| | | | | | |||||
| | * | | | render: pace title updates | Daniel Eklöf | 2020-03-25 | -16/+34 | |
| | | | | | | | | | | | | | | | | | Synchronize window title updates with window rendering. | ||||
