Commit Graph

1386 Commits

Author SHA1 Message Date
Kirill Chibisov 79b19176ee Add support for colored emojis on Linux/BSD
Fixes #153.
2019-12-09 23:12:44 +01:00
David Hewitt 88b4dbfc5a Fix minimize causing resize Windows 2019-12-09 18:26:31 +01:00
Mark Vainomaa 586ff78df2 Add /Application symlink to macOS DMG 2019-12-07 00:06:38 +01:00
Christian Duerr 6301775d3f
Fix unicode 11/12 glyph width 2019-12-06 22:35:44 +01:00
sterlingjensen 72df0c06bf Remove unnecessary lifetimes from winpty 2019-12-05 18:14:47 +01:00
Christian Duerr 047719bcd2
Add documentation for the release process
Fixes #3032.
2019-12-05 00:12:23 +01:00
Christian Duerr fb046091f6
Fix incorrect DPI after wakeup on X11
Fixes #3022.
2019-12-04 21:11:50 +01:00
Christian Duerr 8d9ef2c7db
Fix PR and issue template 2019-12-02 17:12:29 +01:00
Christian Duerr 918ce9dead
Add new issue and PR templates
This adds a PR template that should remind users to document their
changes in our CHANGELOG, without requiring too much direct interaction
from the user.

The issue template has also been reworked a bit, hopefully making it
easier for people to report bugs, without intruding on them if the
information is irrelevant or providing it is too much effort.

Fixes #3031.
2019-12-01 03:15:21 +01:00
Christian Duerr 400d24f023
Fix direct escape input on Windows using alt
Fixes #1939.
2019-11-30 16:36:37 +01:00
sterlingjensen 5f98de4692 Move icon embed step from winpty to Alacritty 2019-11-30 07:11:43 +01:00
Kirill Chibisov 0d637a096a Add Insert/Delete bindings with combined modifiers
Fixes #3046.
2019-11-28 21:18:22 +01:00
jansol 1836d4679a Add prerendered PNG and simplified SVG logo
This should help with compatibility problems with some platforms like
KDE, that do not support all the features necessary for rendering the
default Alacritty logo.
2019-11-28 19:09:14 +01:00
Christian Duerr a075c932f1
Fix `OSC 52` with empty clipboard param
This fixes the behavior of the clipboard escape (`OSC 52`) when the
second parameter is not specified. If it is missing, the parameter is
now assumed to be `c`, defaulting to the default clipboard.

This has been fixed both for writing and reading.

Fixes #3037.
2019-11-28 08:08:04 +01:00
Christian Duerr b9c513bd27
Fix parsing of file scheme
Fixes #3034.
2019-11-27 20:21:51 +01:00
Cole Helbling c104215ae3 Remove unused PackedVertex struct
All references to `PackedVertex` were removed in #2066, so there is no
reason to keep it around.
2019-11-26 22:02:47 +01:00
Pen Tree 4e6bbfbfc3 Simplify `cargo deb` usage 2019-11-26 17:53:43 +01:00
Christian Duerr fe9644805b
Bump copypasta to 0.6.1 2019-11-26 00:45:35 +01:00
Cole Helbling cf714f1da0 Bump x11-clipboard to 0.4.0 2019-11-25 23:04:16 +01:00
Christian Duerr 94068956e6
Fix modifiers not getting released with XWayland
This resolves a winit bug where modifiers would stay pressed when they
were released outside of Alacritty when it was started in XWayland mode.
2019-11-23 19:23:00 +01:00
Kirill Chibisov 474032742b Move renderer from alacritty_terminal to alacritty 2019-11-23 18:08:52 +01:00
Christian Duerr 624b3e2189
Fix excessive allocations in URL parser
Fixes #3002.
2019-11-22 17:09:01 +01:00
Kirill Chibisov 5ea4fb6034 Fix paste on Wayland inserting empty lines
Fixes #2844.
2019-11-21 19:11:55 +01:00
Christian Duerr ec3fa2b33a
Bump master to 0.4.1-dev
To make the release process a bit smoother and prevent a freeze of the
master process while review candidates are out, this will put the master
in a perpetual development state.

This should make it clear to everyone that the official source for
releases is always the tagged branch and make it possible to release new
versions completely independently.

Since versions are bumped after each release, this makes it so the
release branches do not have to get merged back into the master branch
to show the correct development version.
2019-11-19 21:34:34 +01:00
Christian Duerr 4b2be6d7b1
Remove tests failing in release mode 2019-11-19 19:02:10 +01:00
Christian Duerr f4fccfc7a7
Bump glutin depedency 2019-11-18 23:08:49 +01:00
Nathan Lilienthal 182a9d5c2e Fix deletion of lines when clearing the screen
Previously Alacritty would delete lines when clearing the screen, leading to a
loss of data in the scrollback buffer. Instead of deleting these lines, they
are now rotated outside of the visible region.

This also fixes some issues with Alacritty only resetting lines partially when
the background color of the template cell changed.

Fixes #2199.
2019-11-18 22:15:25 +01:00
Kirill Chibisov bcdc605436 Fix ESC escapes not ignoring invalid intermediates
Previously, `ESC` escapes would ignore invalid intermediates and still
execute the specified actions, leading to false positives. If there's an
unexpected, intermediate specified now, the escape will be dropped.

This also fixes an issue with `CSI Ps c` not dropping the escape with
invalid intermediates.
2019-11-17 03:10:11 +01:00
Kirill Chibisov 495a6f3526 Fix cell reset not clearing flags and foreground
Fixes #2330.
2019-11-17 01:04:16 +01:00
Maciej Makowski 48861e4633 Fix WinPTY freeze on termination
Fixes #2889.
2019-11-16 22:11:56 +01:00
Christian Duerr d741d3817d
Add reftest for line deletion 2019-11-15 23:37:24 +01:00
Christian Duerr 2a8c6d44e9
Fix `CSI Ps M` deleting lines above cursor
Fixes #2984.
2019-11-15 20:58:03 +01:00
Burak Yigit Kaya 561063b560 Fix division by zero without any cols or lines
The URL check uses a division to wrap column indices across lines, which
will cause a runtime error if the size of the terminal is zero columns
wide.

Since a lot of our logic assumes that we at least have one column and
line to work with and our behavior doesn't matter otherwise, this change
fixes the terminal dimensions to have space for at least one cell.
2019-11-14 00:36:54 +01:00
Kirill Chibisov d707e064a9 Fix mouse modes not being mutually exclusive 2019-11-12 17:50:33 +01:00
Christian Duerr cce3af3d91
Fix incorrect DPI at startup on X11
Fixes #2938.
2019-11-12 00:18:33 +01:00
Christian Duerr c6510a29e6
Fix modifier inconsistencies
Fixes #2906.
2019-11-11 22:05:24 +01:00
Christian Duerr e8ca1ef7d9
Add escape for reading clipboard 2019-11-11 01:12:14 +01:00
Christian Duerr 0ac3481f83
Add ref test for verifying colored clear behavior
This covers the behavior of clearing the screen and a row with colored
cells.

This covers a bug discovered in #2329 which was not detected in any
existing ref tests.
2019-11-10 20:26:39 +01:00
Christian Duerr 679e67d045
Fix URL scheme highlighting 2019-11-04 20:41:42 +01:00
Kirill Chibisov 2c671afb69 Add UTF-8 mouse mode support
Fixes #1934.
2019-11-04 20:41:13 +01:00
Christian Duerr 93e87eb0f1
Fix incorrect cell foreground when clearing screen
This fixes a bug that would clear the cells with the current template
cell with just the `flags` reset, to make sure the colors are correct.
However, the cell foreground was not reset, leading to cells counting as
occupied when resizing.

With this change both cell flags and foreground color are ignored when
clearing both the whole screen and inside the line, allowing us to
accurately keep track of cell occupation.

Fixes #2866.
2019-11-04 00:14:23 +01:00
Christian Duerr b47a88b142
Fix URL highlighting
Fixes #2898.
Fixes #2479.
2019-11-03 21:59:28 +01:00
wayne fa6ceacfa4 Add live config reload for font family and style
Fixes #2737.
2019-11-03 20:02:26 +01:00
Kirill Chibisov 4dd327f0ae Fix wrong default cursor icon 2019-11-02 12:34:07 +01:00
Christian Duerr 356e418636
Fix clippy warnings 2019-11-02 01:25:34 +01:00
David Hewitt 3e5511a693 Remove unused imports on Windows 2019-10-31 22:10:30 +01:00
Kirill Chibisov b3afb97fcd Fix message bar drawing over terminal after resize
This regression was introduced in
729eef0c93.

Fixes #2924.
2019-10-29 17:58:26 +01:00
Kirill Chibisov b735975486 Fix sending chars with bind not clearing selection
Fixes #2925.
2019-10-29 17:56:48 +01:00
Kirill Chibisov 9ff2838844 Fix visual bell rendering mode
Fixes #2911.
2019-10-26 21:45:47 +02:00
Kenny Levinsen 77127fbb41 Fix bell not redrawing without event updates
Fixes #2914.
2019-10-25 00:26:33 +02:00