summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-06Set minimum macOS version to 10.11Christian Duerr
To make sure that CI builds produced by Travis work on all supported versions of macOS and building Alacritty works on all supported versions, the minimum macOS version has been set in the Makefile. This sets the minimum macOS version to `10.11` as a reasonable estimation based on other applications. If the exact version chosen turns out to cause some issues, it can be changed in the future.
2019-01-05Improve URL detection with special charactersChristian Duerr
Various special characters and character combinations were not handled correctly with URL detection. All these instances have been resolved and covered by various tests to prevent future regressions. Notable fixes include single quotes working more properly now (like `'https://example.org'`) and IPv6 URL support. Since URL detection is now more than just a few lines of code and it's mostly unrelated to the `Term`, it has also been extracted into the `src/url.rs` file together with all URL-related tests.
2019-01-05Limit number of URL schemesChristian Duerr
This limits the number of allowed schemes for the URL launcher, to reduce the number of false-positives. The accepted URL schemes are now: - http - https - mailto - news - file - git - ssh - ftp This fixes #1727.
2019-01-05Fix removal of trailing URL charactersChristian Duerr
Some characters were not correctly stripped from the end of URLs with the URL launching feature. The list of URL separator characters has been extended to include '<', '>', '"', ' ', '{', '}', '|', '\\', '^' and '`', following the URL specification defined here: https://tools.ietf.org/html/rfc3987#page-13 Additionally, a list of characters which are always stripped from the end of URLs has been setup to contain '.', ',', ';', ':', '?', '!', and '/'. This fixes #1753.
2019-01-05Launch URLs only when left-clickingChristian Duerr
This fixes #1903.
2019-01-05Add key/mouse action for spawning new Alacritty instancesCarlos Tuñón
2019-01-03Fix double-triggering of mouse bindingsChristian Duerr
The 2d9afb9b395ea0cc71432613e0df104aefcf24c1 commit lead to mouse actions being triggered on both press and release of mouse buttons. This reverts the mouse binding behavior back to the previous state where they are only triggered when the button is pressed, not when it's released. The `mouse_input` method's structure was overly complicated and did not accurately represent the logic which should be implemented by it. This is likely what caused the regression in 2d9afb9b395ea0cc71432613e0df104aefcf24c1. To prevent similar issues from popping up in the future, the method has been cleaned up and the structure should now represent the logic required more logically.
2019-01-02Process Mouse Binding Actions EarlierNathan Lilienthal
To allow for a mouse binding to properly copy text, we should process the mouse binding actions before thee built-in functionality, which will clear the selection on right click, for example.
2019-01-02Change default Windows shell to PowerShellJason Shirk
Update the Windows shell settings and comments so they look familiar to Windows users, but comment out the shell settings for consistency with Linux and Mac. Stop checking COMSPEC when the configuration file does not specify which shell to use, and just default to PowerShell.
2019-01-02Use default cursor instead of arrow in mouse modeDarkDefender
2018-12-31Fix line metricsChristian Duerr
Since bitmap fonts do not provide their own underline metrics, the self-calculated metrics which have been used for rusttype are now also used for bitmap fonts with freetype. The rusttype and bitmap fallback metrics have incorrectly offset the underline by the underline height. Since the position is already defined as the center point, that is not necessary. All rounding and clamping has also been removed from the font library, so that the raw values are reported now. The clamping and rounding is now done in the line renderer.
2018-12-31Fix underline interruption with empty cellsChristian Duerr
Since completely empty cells are not reported by the renderable cells iterator, the line renderer has incorrectly assumed that these cells did not cause any change in cell state, leading to underlines spanning empty cells. Instead of assuming that the line state is unchanged, the line calculation now correctly interprets a jump in the renderable cells column as an interruption of the line. This fixes #1960.
2018-12-28Add support for Windows ConPTY APIv0.2.4-conptyDavid Hewitt
2018-12-28Fix Windows config location documontationChristian Duerr
The path `%APPDATA%` already includes the `Roaming` folder.
2018-12-27Fix `create_rect` function documentationNathan Lilienthal
2018-12-27Update reqwest to 0.9Bastien Orivel
2018-12-27Use mio-extras instead of mio-moreBastien Orivel
The latter isn't maintained anymore and this removes a bunch of outdated dependencies.
2018-12-27Make windows config location more sensibleZac Pullar-Strecker
2018-12-23Report Windows panics through MessageBoxMatt T. Proud
Alacritty is often spawned through the executable on Windows. Since this doesn't allow access to the stderr and crashes on startup are more common on Windows due to the agent, it can be hard to troubleshoot issues. This reports all Alacritty crashes through error popups on Windows, which should resolve the problem of crashing Alacritty instances without any error feedback.
2018-12-22Add proper underline and strikeout supportChristian Duerr
This makes use of the new rectangle rendering methods used to display the colored visual bell to add proper underline and strikeout support to Alacritty.
2018-12-20Expand snap description and remove commentsTim McNamara
This commit removes the boilerplate comments that come with the template snapcraft.yaml. It also expand the description to match the project's README.
2018-12-20Send alt key with actual key in one flushskliew
The delay between the alt key and the actual received key might cause certain key sequences to be missed, ex. when tmux has its escape-time set to 0.
2018-12-18Add Mageia install instructions to README.mdkekePower
2018-12-17Add color option to visual bellChristian Duerr
This adds the option to specify the color of the visual bell using the `visual_bell.color` configuration setting. This is done by rendering a big quad over the entire screen, which also opens up options to draw other arbitrary rectangles on the screen in the future.
2018-12-15Fixing tabs in copy-pasteSteve Blundy
This resolves issues with copy-pasting tabs by including them in the pasted string. Selection of tabs is still inconsistent with what might be expected based on other terminal emulators, however the behavior hasn't regressed. This fixes https://github.com/jwilm/alacritty/issues/219.
2018-12-15Update dependenciesChristian Duerr
This fixes #1674.
2018-12-14Add scoop install instructions for windowsRoss Smith II
2018-12-14Ignore result on deregistering ptydm1try
Fixes #1897.
2018-12-12Fix color issues in ncurses programsKyle Rooker
Certain programs like `htop` have problems with the number of color pairs which are specified by the Alacritty terminfo file. By reducing the maximum number of color pairs to the value which is specified by xterm-256color, these issues are resolved. This fixes #1862.
2018-12-10Upgrade to Rust 2018Joe Wilm
This resolves a lot of NLL issues, however full NLL will be necessary to handle a couple of remaining issues.
2018-12-09Bump version to 0.2.4v0.2.4Christian Duerr
2018-12-09Fix rendering of zero-width charactersChristian Duerr
Instead of rendering zero-width characters as full characters, they are now properly rendered without advancing the cursor. Because of performance limitations, this implementation only supports up to 5 zero-width characters per cell. However, as a result of this limitation there should not be any performance impact. This fixes #1317, fixes #696 and closes #1318.
2018-12-09Add a contributing.md fileVineeth Sagar
2018-12-08Change missing config log level to infoTezkerek
2018-12-08Refactor Alacritty scriptsNathan Lilienthal
This includes some changes to the scripts `README.md` to provide some more information on the different Alacritty scripts. A new script for testing the 24 bit support of Alacritty has been added with the `24-bit-color.sh` name. This should help with troubleshooting truecolor support issues. Since `perf` is a standard tool which is available in the official repositories for most distributions, it doesn't make much sense to provide an installation script specifically for Ubuntu. As a result of this, the script has been removed.
2018-12-08Fix recording of ref testsChristian Duerr
Due to the lazy initialization of lines in the Alacritty history, the recording of ref tests was broken. Because a WM would often resize the ref test window after it was spawned, some additional lines were initialized in the stored ref test. To make sure lazy initialization does not play any role in the recording and replaying of reftests, before recording and replaying the tests, the complete grid is initialized and then truncated. This should make sure that only the relevant lines are kept.
2018-12-07Use tool lints for clippy allow/deny lint attributesMatthias Krüger
2018-12-06Add docs for enabling system font smoothing on macOSMuhammad Talal Anwar
2018-12-06Detach Child process to avoid zombie processesVineeth Sagar
This makes use of the common double-fork behavior to prevent spawning zombie processes every time a URL is clicked.
2018-12-06Remove sudo keyword from travisMuhammad Talal Anwar
The `sudo` keyword has been deprecated. See: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-12-03Launch a login shell by default on macOSBjorn Neergaard
2018-12-02Request user attention when bell received in macOSBarret Rennie
We now request the user's attention in macOS when a visual bell character is received. This manifests as the window jumping up and down in the dock.
2018-12-02Add change log entries for macOS privacy requestsChristian Duerr
2018-12-02Request OSX privacy permissionsJohn Naylor
2018-11-25Fix for an underflow on some type conversions (#1715)Zac Pullar-Strecker
2018-11-23Ignore initial size if the window is maximized on startdm1try
2018-11-24Move winpty-sys dep to crates.ioZac Pullar-Strecker
2018-11-19Add option for launching Alacritty maximizedJonathan Dahan
2018-11-19Changed path to standard /usr/bin/..., registered as an x-terminal-emulator ↵Ilya Epifanov
alternative
2018-11-19Add keybinding action for clearing warns/errorsChristian Duerr
Since running `clear` inside of tmux doesn't actually clear any part of the screen, but just resets the scrolling region, the warning and error notices can't be removed without quitting tmux or Alacritty. As a solution, a new action `ClearLogNotice` has been added which has been bound to Ctrl+L by default. As a result, Ctrl+L can be used inside of tmux to remove the messages, even though tmux doesn't clear the screen. This fixes #1811.