aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-09-17 14:54:47 +0000
committerJoe Wilm <jwilm@users.noreply.github.com>2018-09-17 07:54:47 -0700
commitca1b75b4c094460e19e62241cc2fadb934ba56a5 (patch)
tree28da115be70a186d3375f8fcb6a6aa71eab707f9
parent43882ade33d4c14ee7248e489a2d33395faaa0b1 (diff)
downloadalacritty-ca1b75b4c094460e19e62241cc2fadb934ba56a5.tar.gz
alacritty-ca1b75b4c094460e19e62241cc2fadb934ba56a5.zip
Bump version number to 0.2.0 (#1492)
* Change deb installation from crates.io to git There have been a number of issues an PRs opened since the cargo-deb installation does not work with the latest version from crates.io. To help out users until the crates.io version is updated, the installation instructions have been temporarily changed to install `cargo-deb` through github. * Revert cargo-deb install back to use crates.io Since `cargo-deb` has been updated on crates.io it is now possible to just install it from crates.io and build Alacritty's deb without having to rely on github. * Update dependencies This fixes an `illegal hardware instruction (core dumped)` error when building in release mode. * Remove redundant copy when selecting font_key * Bump version number to 0.2.0 Since the Scrollback branch introduces some major changes, this bumps the version number from 0.1.0 to 0.2.0. The versions of Alacritty have not been updated regularly to this point, so the scrollback branch is a good point in time to start updating Alacritty's version on a regular basis. Further changes to the readme, like dropping the 'alpha' status and updating it to 'beta' could also be introduced with this branch. This way there will be a clean cut which updates everything as soon as scrollback is merged. Building versions is another thing which would be a good thing to start reasonably quickly. However starting this on the main branch after scrollback has been merged seems like a more reliable way to move forward. This fixes #1240. * Add a CHANGELOG file A CHANGELOG file has been added to offer a bit more transparency over which features have been changed, added and potentially removed in Alacritty. There are various formats available for the CHANGELOG file but the most common and sensible one seems to be the one defined by https://keepachangelog.com/en/1.0.0. Following the template proposed by this it should be possible to create a clear CHANGELOG which makes it simple for new contributors to figure out exactly which formatting should be used for it. Since there have been quite a few changes to Alacritty already, not all changes have been added to the changelog. However a few entries have been ported just to give a bit of an example what the format should look like. This also helps with the 0.2.0 version since it will not be completely empty in the changelog. This fixes #1534. * Update CHANGELOG This updates the CHANGELOG to include the changes introduced by 43882ade33d4c14ee7248e489a2d33395faaa0b1.
-rw-r--r--CHANGELOG.md28
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--alacritty.man3
-rw-r--r--assets/osx/Alacritty.app/Contents/Info.plist2
-rw-r--r--snap/snapcraft.yaml4
-rw-r--r--src/renderer/mod.rs11
7 files changed, 40 insertions, 12 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 00000000..922e4aed
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,28 @@
+# Changelog
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+### Added
+- CHANGELOG has been added for documenting relevant user-facing changes
+- Add `ClearHistory` key binding action and the `Erase Saved Lines` control sequence
+- When growing the window height, Alacritty will now try to load additional lines out of the
+ scrollback history
+- Support the dim foreground color (`echo -e '\033[2mDimmed Text'`)
+- Add support for the LCD-V pixel mode (vertical screens)
+- Pressing enter on the numpad should now insert a newline
+- The mouse bindings now support keyboard modifiers (shift/ctrl/alt/super)
+- Add support for the bright foreground color
+- Add a scrollback history buffer (10_000 lines by default)
+
+### Changed
+- Multiple key/mouse bindings for a single key will now all be executed instead of picking one and
+ ignoring the rest
+- Improve text scrolling performance (affects applications like `yes`, not scrolling the history)
+
+### Fixed
+- Clear the visible region when the RIS escape sequence (`echo -ne '\033c'`) is received
+- Prevent logger from crashing Alacritty when stdout/stderr is not available
+- Fix a crash when sending the IL escape sequence with a large number of lines
diff --git a/Cargo.lock b/Cargo.lock
index e6a5b7bb..e91321b2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -8,7 +8,7 @@ dependencies = [
[[package]]
name = "alacritty"
-version = "0.1.0"
+version = "0.2.0"
dependencies = [
"arraydeque 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"base64 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/Cargo.toml b/Cargo.toml
index df237669..bba25503 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "alacritty"
-version = "0.1.0"
+version = "0.2.0"
authors = ["Joe Wilm <joe@jwilm.com>"]
license = "Apache-2.0"
build = "build.rs"
diff --git a/alacritty.man b/alacritty.man
index 31ea2ba9..cff766ce 100644
--- a/alacritty.man
+++ b/alacritty.man
@@ -1,5 +1,4 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
-.TH ALACRITTY "1" "March 2018" "alacritty 0.1.0" "User Commands"
+.TH ALACRITTY "1" "August 2018" "alacritty 0.2.0" "User Commands"
.SH NAME
alacritty \- a cross-platform, gpu-accelerated terminal emulator
.SH "SYNOPSIS"
diff --git a/assets/osx/Alacritty.app/Contents/Info.plist b/assets/osx/Alacritty.app/Contents/Info.plist
index 3aa2f703..2792d9cd 100644
--- a/assets/osx/Alacritty.app/Contents/Info.plist
+++ b/assets/osx/Alacritty.app/Contents/Info.plist
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.1.0</string>
+ <string>0.2.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 42bb1035..64594a9c 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,5 +1,5 @@
name: alacritty # you probably want to 'snapcraft register <name>'
-version: '0.1.0' # just for humans, typically '1.2+git' or '1.3.2'
+version: '0.2.0' # just for humans, typically '1.2+git' or '1.3.2'
summary: Modern, GPU accelerated terminal emulator # 79 char long summary
description: |
Modern, GPU accelerated terminal emulator
@@ -19,4 +19,4 @@ parts:
apps:
alacritty:
command: env XDG_RUNTIME_DIR= XDG_CONFIG_HOME=$SNAP_USER_DATA XDG_DATA_DIRS=$SNAP_DATA PATH=$SNAP/bin:$PATH SNAP= alacritty
- desktop: Alacritty.desktop \ No newline at end of file
+ desktop: Alacritty.desktop
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs
index 00ac9eb2..68335e1c 100644
--- a/src/renderer/mod.rs
+++ b/src/renderer/mod.rs
@@ -827,12 +827,13 @@ impl<'a> RenderApi<'a> {
for cell in cells {
// Get font key for cell
// FIXME this is super inefficient.
- let mut font_key = glyph_cache.font_key;
- if cell.flags.contains(cell::Flags::BOLD) {
- font_key = glyph_cache.bold_key;
+ let font_key = if cell.flags.contains(cell::Flags::BOLD) {
+ glyph_cache.bold_key
} else if cell.flags.contains(cell::Flags::ITALIC) {
- font_key = glyph_cache.italic_key;
- }
+ glyph_cache.italic_key
+ } else {
+ glyph_cache.font_key
+ };
let glyph_key = GlyphKey {
font_key,