Commit graph

258 commits

Author SHA1 Message Date
Christian Duerr c2c8d6bf37
Move Alacritty to organization
This fixes various outdated links pointing to the old jwilm/alacritty
repository.

Since `copypasta` now has its own github repository at
https://github.com/alacritty/copypasta, the sources have been removed
from Alacritty.
2020-01-11 02:23:13 +01:00
Christian Duerr c34ec12c30
Bump glutin to 0.22.0
Fixes #3165.
2020-01-10 01:51:37 +00:00
Christian Duerr dd1413eb4d
Force exact modifiers match for mouse bindings
Fixes #3152.
2020-01-10 00:44:41 +00:00
Christian Duerr 3fb631b91c
Fix cut off full width glyphs in last column
This resolves the issue with full width glyphs getting rendered in the
last column. Since they need at least two glyphs, it is not possible to
properly render them in the last column.

Instead of rendering half of the glyph in the last column, with the
other half cut off, an additional spacer is now inserted before the wide
glyph. This means that the specific glyph in question is then three
cells wide.

Fixes #2385.
2020-01-09 23:06:41 +00:00
Christian Duerr 18836f20dd
Fix incorrect config path in --help and manpage
Fixes #3154.
2020-01-06 16:14:59 +00:00
Kirill Chibisov 7fd17ab0dd Bump version to 0.4.2-dev 2020-01-05 14:42:11 +00:00
Kirill Chibisov 0cc68da04f Add Minimize binding action
Fixes #2534.
2020-01-05 01:54:14 +00:00
Christian Duerr 1cfb0740bc
Bump winit to 0.20.0 Alpha 6
Fixes #3070.
Fixes #2893.
Fixes #2877.
Fixes #2829.
Fixes #2767.
Fixes #2271.
2020-01-05 01:00:50 +00:00
Christian Duerr dc063180f3
Fix macOS OpenGL context resize ordering
Fixes #2226.
2020-01-04 00:19:06 +00:00
Christian Duerr 77acb26d73
Remove C1 escape support
Fixes #2981.
2019-12-31 20:56:27 +00:00
Kirill Chibisov 6478ccaaa3 Fix high startup time on wlroots compositors 2019-12-31 16:53:27 +00:00
Christian Duerr 9da0c042d4
Fix screen reset not clearing cell flags 2019-12-24 20:51:06 +00:00
Kirill Chibisov 44037fa42a Fix crash on clear when scrolled up in history
Fixes #3112.
2019-12-22 11:05:19 +00:00
David Hewitt 7a957978e4 Default to ConPTY instead of WinPTY 2019-12-21 21:23:18 +00:00
David Hewitt 6deb274b82 Fix deadlock when closing on Windows using Conpty
Fixes #3042.
2019-12-12 16:01:23 +01:00
David Hewitt 4d3f6de41a Fix vague startup crash messages with WinPTY
Fixes #2344.
2019-12-12 00:30:30 +01:00
Christian Duerr 36185c4753
Fix colored row reset performance
This fixes a bug where a row would always get reset completely if its
background does not equal the default terminal background. This leads to
big performance bottlenecks when running commands like `echo "\e[41m" &&
yes`.

Instead of resetting the entire row whenever the template cell is not
empty, the template cell is now compared to the last cell in the row.
The last cell will always be equal to the previous template cell when
`row.occ < row.inner.len()` and if `occ` is equal to the row's length,
the entire row is always reset anyways.

Fixes #2989.
2019-12-10 00:35:13 +01:00
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
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 400d24f023
Fix direct escape input on Windows using alt
Fixes #1939.
2019-11-30 16:36:37 +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
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
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
Christian Duerr 2a8c6d44e9
Fix CSI Ps M deleting lines above cursor
Fixes #2984.
2019-11-15 20:58:03 +01:00
Kirill Chibisov d707e064a9 Fix mouse modes not being mutually exclusive 2019-11-12 17:50:33 +01:00
Christian Duerr e8ca1ef7d9
Add escape for reading clipboard 2019-11-11 01:12:14 +01:00
Kirill Chibisov 2c671afb69 Add UTF-8 mouse mode support
Fixes #1934.
2019-11-04 20:41:13 +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 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
Ckat f1f51d3c02 Remove terminfo from deb package
Fixes #2685.
2019-10-16 21:31:12 +02:00
Christian Duerr 28cf90d130
Revert "Disable depth and stencil buffers"
This reverts commit 3475e44987.
2019-10-16 02:53:36 +02:00
Christian Duerr 1538f09e0c
Print launch command name on failure 2019-10-15 22:53:25 +02:00
Aleksey Kuznetsov 49380bffd2 Add support for alternate scroll escape
Fixes #2727.
2019-10-15 21:13:58 +02:00
Kirill Chibisov 124e98e94e Fix logged config path separators on Windows
It was discovered that we were logging path with `\\` instead of `\` as
separators on Windows due to use of Debug formatting instead of Display
for paths.
2019-10-14 22:34:54 +02:00
Dustin 401c2aab96 Add support for title stack escape sequences
This commit adds the concept of a "title stack" to the terminal. Some programs
(e.g. vim) send control sequences `CSI 22 ; 0` (push title) and `CSI 23 ; 0`
(pop title).

The title stack is just a history of previous titles.  Applications can push
the current title onto the stack, and pop it back off (setting the window title
in the process).

Fixes #2840.
2019-10-14 19:50:58 +02:00
Jasper Mattsson 3475e44987 Disable depth and stencil buffers
Disable allocation of depth and stencil buffers. This reduces active
GPU memory consumption by almost a third, at least on Linux.
2019-10-11 22:16:13 +02:00
Valentin Ignatev 4cb5566a9c Add --hold CLI flag
This implements --hold flag which keeps Alacritty open after
its child process exits.

Fixes #1165.
2019-10-09 23:37:48 +02:00
Kirill Chibisov 24651a6144 Remove automatic config generation
Fixes #2818.
2019-10-06 12:47:20 +02:00
Christian Duerr 729eef0c93
Update to winit/glutin EventLoop 2.0
This takes the latest glutin master to port Alacritty to the EventLoop
2.0 rework.

This changes a big part of the event loop handling by pushing the event
loop in a separate thread from the renderer and running both in
parallel.

Fixes #2796.
Fixes #2694.
Fixes #2643.
Fixes #2625.
Fixes #2618.
Fixes #2601.
Fixes #2564.
Fixes #2456.
Fixes #2438.
Fixes #2334.
Fixes #2254.
Fixes #2217.
Fixes #1789.
Fixes #1750.
Fixes #1125.
2019-10-05 02:29:26 +02:00