1512 Commits
Author SHA1 Message Date
Christian Duerr c723247c26 Bump version to 0.4.3 v0.4.3 2020-06-01 06:20:42 +00:00
Kirill Chibisov 04114e7513 Bump version to 0.4.3-rc1 v0.4.3-rc1 2020-05-26 00:02:20 +00:00
Christian Duerr 7917552794 Fix crash when writing wide char in last column
This resolves an issue where trying to write a fullwidth character in
the last column would crash Alacritty, if linewrapping was disabled.

Instead of assuming that the linewrap put after the linewrapping spacer
was successful, the character writing is now skipped completely when
trying to put a wide character in the last column.
2020-05-26 00:02:20 +00:00
Christian Duerr da78e7059f Bump winit to 0.22.2
Fixes #2601.
Fixes #2475.
2020-05-26 00:02:20 +00:00
Christian Duerr 39c7f5dfc9 Fix OSCs terminated by \x9c byte in unicode
Fixes #3591.
2020-05-26 00:02:20 +00:00
lbonn 508b9cd118 Fix emojis being blended with background
Fixes #1864.
2020-05-26 00:02:20 +00:00
Kirill Chibisov a78e6c9cab Call glFinish right after swap_buffers on X11
On X11 `swap_buffers` does not block for vsync. However the next OpenGl command
will block to synchronize (this is `glClear` in Alacritty), which causes a
permanent one frame delay.

Calling `glFinish` after swapping buffers forces Alacritty to finish the buffer
swap before returning control to the event loop.

Fixes #3061.
2020-05-26 00:02:20 +00:00
Casper Rogild Storm ef5118e23d Fix startup locale on macOS
Fixes #2800.
Fixes #2566.
2020-05-26 00:02:20 +00:00
Christian Duerr 0dee4df4ab Update depedencies 2020-05-26 00:02:20 +00:00
Bastien Orivel f12e1f7dc8 Update depedencies 2020-05-26 00:02:20 +00:00
Kirill Chibisov 244744d6aa Fix tabstops not being reset with 'reset' 2020-05-26 00:02:20 +00:00
Christian Duerr f68de375b6 Bump version to 0.4.2 v0.4.2 2020-03-29 21:57:27 +00:00
Christian Duerr 3d5fe5fa5a Bump version to 0.4.2 RC4 v0.4.2-rc4 2020-03-24 10:38:32 +00:00
Kirill Chibisov d0c53bb605 Add FreeBSD to CI
Fixes #2248.
2020-03-24 10:38:32 +00:00
Christian Duerr 7ac1ec5e2f Fix cursor position after alt screen resize
This fixes a regression introduced in 4cc6421, which ignored the main
grid's cursor when increasing the number of lines available, causing
incorrect cursor position after restoring to the primary screen.

Additionally another similar bug has been fixed where the grid was not
scrolled correctly when shrinking while in the alternate screen.

When the grid is resized multiple lines at once, there was also an issue
with Alacritty either pulling all lines from history or none at all,
instead of mixing both approaches and pulling just what is required.
This lead to incorrect cursor positions when the resize could partially
make use of history.

Fixes #3499.
2020-03-24 10:38:32 +00:00
Christian Duerr 47e63227d0 Bump version to RC3 v0.4.2-rc3 2020-03-21 01:40:47 +00:00
Christian Duerr 8ff7246c31 Bump version to RC2 v0.4.2-rc2 2020-03-18 00:50:25 +00:00
Christian Duerr 4883c4139a Bump version to 0.4.2-rc1 v0.4.2-rc1 2020-03-14 16:19:48 +01:00
Christian Duerr ead8d68c69 Fix live config reload for window title
This enables live config reload for the window title. This includes
updating the title after it has been pushed and popped from the title
stack.

The dynamic title option also isn't disabled automatically anymore when
the title is set in the config. If the title is set from CLI, the
behavior is unchanged and dynamic title changes are still disabled.

If the dynamic title is disabled in the config, the title is still
updated when the config title is changed. Dynamic title now only
prevents changes to the UI's title.
2020-03-14 15:09:10 +00:00
Nathan Lilienthal d20051b5e5 Capitalized the .desktop Filename (#3425)
Follow free desktop file naming conventions.
2020-03-13 15:17:19 -04:00
Kirill Chibisov 4000ec04d8 Add option to pick Linux/BSD backends
This commit adds two cargo features `x11` and `wayland` to pick
Linux/BSD backends, with both enabled by default.

Fixes #3340.
2020-03-13 03:33:12 +03:00
Christian Duerr 6d60a49956 Run clippy on oldest supported version
Since there were some problems with clippy suggesting changes that were
not yet available in the oldest supported Rust compiler of Alacritty,
the clippy stage has been moved from stable to 1.37.0.
2020-03-12 22:49:46 +00:00
Christian Duerr c2e39085e3 Fix crash when selecting last column
This resolves a bug where the selection start would be set to the number
of columns, causing an out of bounds when trying to index with it.
Instead of extending the selection beyond the grid when the right side
of the last column is the start of the selection, the selection will now
start in the beginning of the next line.

Fixes #3446.
2020-03-12 03:14:00 +03:00
Christian Duerr cc2fc0b1c3 Update to glutin 0.24.0
Fixes #3266.
Fixes #3248.
Fixes #3188.
Fixes #3177.
Fixes #2445.
Fixes #1574.
2020-03-12 01:31:59 +03:00
Kirill Chibisov bb0a214a15 Bump copypasta to 0.6.3
Fixes #3050.
2020-03-10 02:15:30 +03:00
Christian Duerr 64a3115648 Fix selection with invisible start and end
This resolves an issue with the selection clamping, where no selection
would be rendered at all when the start was above the viewport while the
end was below it.
2020-03-07 22:17:38 +00:00
Kirill Chibisov de5d770416 Fix caching of variable font faces 2020-03-06 23:15:43 +00:00
Christian Duerr 33cabfc3d2 Remove ref_test option from configuration file
This removes the `debug.ref_test` option from the configuration file,
after this change was originally requested from kchibisov in
https://github.com/alacritty/alacritty/pull/3396.

While this option is valueable for the CLI, it provides no value in the
configuration file.
2020-03-04 11:32:07 +00:00
Rémi Garde f7561850b4 Remove HollowBlock/Hidden config cursor styles
Fixes #3367.
2020-03-02 20:41:26 +00:00
Timo f83d55f0f0 Fix ignoring of slow touchpad scrolling
Fixes #3377.
2020-03-02 08:32:18 +03:00
Christian Duerr 1972cce8a4 Fix DCS escape parsing crash
This resolves a problem with the vte depedency, where the parser would
crash when trying to parse a DCS escape with more than 16 parameters.
2020-03-02 01:19:06 +00:00
Christian Duerr a710866007 Move debug to bottom of config
Since this information is the least relevant to the user, it should be
the last thing in the configuration file.
2020-03-01 21:41:05 +00:00
Christian Duerr 8c64224582 Remove tabspaces config option
This completely removes the tabspaces option from the Alacritty
configuration, due to frequent misuse of it. Based on some research,
none of the terminal emulators support setting the value for tabspaces
or read the terminfo to determine init_tabs value at startup. The tested
terminal emulators were URxvt, XTerm, and Termite.
2020-03-01 07:07:36 +03:00
Christian Duerr bea6ece3f6 Fix tabs across linewrap
This resolves an issue with tabs not breaking across line boundaries,
instead the characters would just all get written to the last column and
thus be lost.

It also tweaks the behavior of what happens when the terminal resizes
with the default tabspaces changed, using something like the `tabs`
program. Previously all tabstops would be reset to the default on
resize, which is what URxvt does. Now the tabspaces are kept and the new
columns are filled with the default tabstops, which emulates Termite.
2020-03-01 06:27:23 +03:00
Valentin Ignatev 31e01cc0e0 Add GNU Guix installation instructions 2020-03-01 04:33:36 +03:00
Kirill Chibisov 2ac017fa64 Update terminfo dependency 2020-02-29 21:10:51 +03:00
Kirill Chibisov 2365425fd2 Fix log target of color config errors
Due to incorrect log target in the color config errors, the message bar was not
cleared when the error was fixed.
2020-02-28 02:28:15 +00:00
Christian Duerr 43f89a64c2 Remove unnecessary macos focus check
Since winit now filters out clicks on unfocused windows on macOS
anyways, we don't need to implement this logic ourselves anymore.
2020-02-27 23:42:39 +00:00
Christian Duerr 17b8bbb908 Remove docs for 0xRRGGBB color notation 2020-02-27 23:06:04 +00:00
Kirill Chibisov e3f095ca96 Fix crash on Wayland compositors with wl_seat version 7+ 2020-02-28 01:02:34 +03:00
Kirill Chibisov 223f8dcfd0 Revert caching of font pixelsize
We can't reliably do that, because some fonts are bitmap,
but marked as scalable by Fontconfig.

Fixes #3387.
2020-02-27 23:44:35 +03:00
Cole Helbling 50c1fd077a Add missing angled bracket to email 2020-02-27 06:07:59 +03:00
Kirill Chibisov 84f57ac836 Add FreeType face cache 2020-02-26 21:29:14 +00:00
Kirill Chibisov 14dc170caa Change documented default TERM to alacritty 2020-02-23 20:54:44 +00:00
Christian Duerr fa11b56cf6 Fix config reload updating incorrect grid 2020-02-23 01:55:29 +00:00
Kirill Chibisov 73641d0367 Fix Fontconfig's font size query
Previously we were rounding pattern's `pixelsize` before `fc_sort`, however we were using not rounded one in `get_glyph`, so bitmap fonts could look a bit smaller when used in a mix with scalable fonts.
2020-02-23 02:09:23 +03:00
Christian Duerr 71dd1bc386 Fix block selection including last column
The block selection will now only insert extra newline characters after
each line if the last line isn't already included. This resolves an
issue with duplicate newlines, since newlines are automatically appended
when the last column is part of a selection.

Fixes #3304.
2020-02-22 02:42:44 +00:00
Kirill Chibisov 8abca44182 Fix discarding of FreeType loading flags
Fixes regression introduced in 6b327b6f8f.

Fixes #3355.
2020-02-20 00:24:50 +03:00
bgkillas 933b2e25ff Add Alpine Linux installation instructions 2020-02-18 00:15:05 +00:00
Christian Duerr eb1a28ce58 Extract winpty crate
The winpty crate and its winpty-sys depedency have been moved to
https://github.com/alacritty/winpty.
2020-02-17 16:24:27 +00:00