aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-07Make gles2 renderer actually gles2Kirill Chibisov
Fixes #6209.
2023-02-05Align quadrants with half blocks in built-in fontKirill Chibisov
Fixes #6201.
2023-02-05Revert "Apply 'font.glyph_offset.y' for underline/strikeout"Kirill Chibisov
This reverts commit d5e9d1d88317afc1f4374f2c2a7679cece14cb7b.
2023-02-05Resize the window by cell dimensionsKirill Chibisov
This should resize window by cell dimensions granularity instead of using pixels. Fixes #388.
2023-02-02Bump winit to 0.28.1Kirill Chibisov
This fixes crash on Wayland with multiple windows.
2023-02-02Fix notify doing active pollingKirill Chibisov
The `notify-debouncer-mini` spawn a thread which checks the events every timeout, which is not desired since we want to avoid active polling. This commit re-implements debouncer based on the `RecommendedWatcher` without adding an extra thread on top and not doing any busy-waiting. Fixes #6652.
2023-02-02Update ndk-sys to workaround cargo checksum issueoxalica
See https://github.com/rust-lang/cargo/issues/11412
2023-02-02Update winit to 0.28Kirill Chibisov
Fixes #6644. Fixes #6615. Fixes #6558. Fixes #6515. Fixes #3187. Fixes #62.
2023-02-02Prefer environment variables over passwdJovan Gerodetti
2023-01-27Create new windows with Cmd+N by defaultChristian Duerr
This changes the default Cmd+N binding on macOS to create a new window rather than spawning a new instance. Initially this change was held back for further testing of the multi-window feature. At this point all significant issues found with it have been fixed so it should be ready for prime-time now.
2023-01-26Add alacritty.yml to dmgh-leth
2023-01-23Bump bumpalo from 3.11.0 to 3.12.0dependabot[bot]
2023-01-16Add support for horizontal scrollingKirill Chibisov
This adds support for horizontal mouse scrolling in mouse mode and alternative scrolling modes. Fixes #2185.
2023-01-15Preserve last column with erase in line rightChristian Duerr
When the erase in line escape sequence with a parameter of 0 (right) is passed while the wrapline flag is already set, it will no longer clear the last column and instead ignore the operation. The behavior of `\e[1K` and `\e[2K` is unchanged and both will clear the entire first line without clearing the wrapline flag. Closes #6159.
2023-01-07Use sRGB color space for NSWindow on macOSNaru
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2022-12-30User timer based rendering instead of vsyncKirill Chibisov
Fixes #824.
2022-12-30Fix crash when one dimension of the window is zeroKirill Chibisov
This fixes a crash on Windows when the user resizes the window to the point that it has the height of zero. The crash was introduced by the glutin update, since it requires non-zero sizes for the resize.
2022-12-29Disable depth and stencil buffersChristian Duerr
This patch reduces the active GPU memory consumption by disabling the depth and stencil buffers. During original testing it reduced GPU memory usage on Linux by almost a third. This is a reintroduction of previously reverted patch 3475e44. Closes #2881.
2022-12-25Apply 'font.glyph_offset.y' for underline/strikeoutKirill Chibisov
Fixes #6561.
2022-12-14Fix multi-line bracket selectionChristian Duerr
This fixes a bug where semantic selection for bracket characters wasn't working properly over multiple lines since start and end of the selection were swapped. Closes #6567.
2022-12-11Add changelog to alacritty crateJames McCoy
Shipping the changelog as part of the Alacritty crate allows packagers to use it for their packages.
2022-12-11Add -T short form for --titleJames McCoy
Debian-based distributions provide a standard interface to launch a terminal via the x-terminal-emulator name. In order for a terminal emualtor to satisfy that interface, it must * Be VT100 compatiable * Support the "-e <command> <args>" CLI option * Support the "-T <title>" CLI option Adjust the short form of --title accordingly, providing -t as an alias to avoid breaking any existing usage.
2022-12-09Fix damage computation on boundariesKirill Chibisov
Given that the Rect started to use signed integers saturating_sub became irrelevant and no clamp to zero were performed. This commit uses max instead to fix it.
2022-12-06Fix crash while typing on WaylandKirill Chibisov
Fixes #6487.
2022-12-02Fix VirtualKeyCode config documentationPhilip Taron
The `winit` crate was split off of the `glutin` crate. This patch fixes the config link to correctly point to the winit enum instead of the old glutin reexport.
2022-12-02Ignore errors from swap_buffersKirill Chibisov
Most of them are innocent and require just swap again. It was like that before anyway due to old glutin bug in the error handling implementation where errors won't pulled on swap buffers, but old observed error was used. Fixes #6538.
2022-12-02Bump glutin to 0.30.2Kirill Chibisov
Fixes #6498.
2022-11-28Add 'debug.renderer' config optionKirill Chibisov
This should help trouble shooting the renderer being created and different renderer options to determine when something like dual-source rendering isn't working.
2022-11-28Fix padding update not updating rendererChristian Duerr
This fixes an issue where it was possible to update the padding of the terminal without actually queueing an update for the renderer projection, leading to a blurry projection. Closes #6502.
2022-11-15Update to notify v5 via notify_debouncer_miniJames McCoy
Notify v5 moved the debounced API into the notify_debouncer_mini crate. The debounced API doesn't provide details on the type of event that happened, just that a list of events or errors happened. Therefore, reload is triggered on any event for a matching path. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2022-11-11Fix cursor visibility with focus change on macOSChris Copeland
Fixes #6452.
2022-11-03Update glutin to 0.30.0Kirill Chibisov
The glutin 0.30.0 update decouples glutin from winit which provides us with basis for a multithreaded renderer. This also improves robustness of our configuration picking, context creation, and surface handling. As an example we're now able to start on systems without a vsync, we don't try to build lots of contexts to check if some config works, and so on. That also brings us possibility to handle context losses, but that's a future work. Fixes #1268.
2022-10-26Update winit to 0.27.5Kirill Chibisov
Fixes #6396.
2022-10-26Bump crossfont and sctk-adwaitaKirill Chibisov
Fixes #6432. Fixes #6414. Fixes #6400. Fixes #6338.
2022-10-22Fix startup failure on macOS with dash as /bin/shKirill Chibisov
The dash's exec doesn't have `-a` argument we rely on when running login shell, so use zsh instead. Fixes #6426.
2022-10-21Fix crash with very low font sizesKirill Chibisov
Fixes #6432.
2022-10-21Fix cursor and underlines always being blackKirill Chibisov
Some old hardware doesn't like universal shader approach for all the rectangle kinds leading to ALU instruction limits. This commit fixes it by splitting the shader per rectangle kind. Fixes #6417.
2022-10-18Fix `--help` output for `--class` to match man pagesAndrzej Grzeslak
The output of --help did not match the man pages with regards to the ordering of arguments for the --class flag. This has now been fixed. Fixes #6413.
2022-10-14Fix changelog versioningChristian Duerr
2022-10-14Fix Windows release buildChristian Duerr
Closes #6392.
2022-10-12Fix clippy warningsChristian Duerr
This patch applies all clippy lints currently present on the latest clippy master than are compatible with our oldstable clippy (only exception is the `_else(||` stuff).
2022-10-09Bump winit to 0.27.4Kirill Chibisov
Fixes #6370. Fixes #6356.
2022-10-07Add RHEL8 instructions to INSTALL.mdNathaniel Graham
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2022-10-05Fix icon decoding on X11Hugal31
Glutin is waiting for an RGBA buffer with 8-bit depth, but our icon is 16-bit depth. So we need to normalize the color data when decoding the icon.
2022-09-30Migrate from winapi to windows-syskillian
2022-09-17Fix IPC config overriding previous valuesChristian Duerr
Before this patch whenever changing the IPC configuration, all previous configuration options would be discarded. This was the case even when the new option was invalid. This patch ensures that the IPC config is only ever cleared when the `--reset` flag is passed. Invalid IPC config options are logged and discarded. Additionally whenever a new IPC config message is sent, all previous IPC error messages are cleared. Closes #6330.
2022-09-17Update unicode-width to Unicode 15Christian Duerr
This applies all not-breaking dependency changes, including an update to unicode-width. This brings support for Unicode 15 with its new widths table so new glyphs and Emojis are shown correctly.
2022-09-15Bump winit to 0.27.3Kirill Chibisov
Fixes #6324. Fixes #6313.
2022-09-14Avoid text cursor location for hyperlink previewKirill Chibisov
Fixes #6325.
2022-09-12Update Cargo.lock for new `-dev` bumpKirill Chibisov