aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src
Commit message (Collapse)AuthorAge
...
* Remove copypasta dependency from alacritty_terminalKirill Chibisov2020-06-07
|
* Remove copyright notice from filesChristian Duerr2020-06-06
| | | | | | | | | | | | | | Keeping the license as part of every file bloats up the files unnecessarily and introduces an additional overhead to the creation of new modules. Since cargo already provides excellent dependency management, most of the code-reuse of Alacritty should occur through Rust's dependency management instead of copying it source. If code is copied partially, copying the license from the main license file should be just as easy as copying from the top of the file and making some adjustments based on where it is used is likely necessary anyways.
* Refactor Shell, Command, and Launcher to share implKirill Chibisov2020-06-05
|
* Add whitespace after dropped file pathsFernando2020-06-03
| | | Fixes #3767.
* Refactor Term/Grid separationChristian Duerr2020-05-30
| | | | | | | | | | | This commit aims to clear up the separation between Term and Grid to make way for implementing search. The `cursor` and `cursor_save` have been moved to the grid, since they're always bound to their specific grid and this makes updating easier. Since the selection is independent of the active grid, it has been moved to the `Term`.
* Remove env_logger depedencyChristian Duerr2020-05-29
| | | | | The env logger has been broken for over a year and is not used by anyone as far as I know. This removes this option entirely in favor of Alacritty's built-in logger level selection flags.
* Fix build warnings on macOS/WindowsKirill Chibisov2020-05-27
|
* Add subpixel anti-aliasing support on macOS 10.14+Casper Rogild Storm2020-05-17
|
* Fix vi ScrollToBottom motionChristian Duerr2020-05-16
| | | | | This resolves an issue with the ScrollToBottom motion in vi mode where it would jump between the first unoccupied cell across wrapped lines and the first unoccupied cell in the current line.
* Fix emojis being blended with backgroundlbonn2020-05-12
| | | Fixes #1864.
* Treat Shift + Backspace as BackspaceAlexey Chernyshov2020-05-07
|
* Don't hide cursor on modifier pressDavid Herberth2020-05-06
| | | Fixes #2761.
* Extend style guideline documentationChristian Duerr2020-05-05
|
* Use frame callbacks instead of vsync on WaylandKirill Chibisov2020-05-03
| | | | | | | | | Instead of blocking on vsync, Alacritty now requests a notification from wayland about when the next frame should be rendered. this helps with input latency, since it gives alacritty more time to process events before a redraw. it also prevents alacritty from drawing unless the compositor tells it to do so. Fixes #2851.
* Use numbers instead of strings for additional mouse bindingsDavid Herberth2020-05-02
| | | Fixes: #2861.
* Call glFinish right after swap_buffers on X11Kirill Chibisov2020-05-01
| | | | | | | | | | 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.
* Fix clippy warningsMatthias Krüger2020-05-01
|
* Use embedded resource for window iconDavid Hewitt2020-04-25
|
* Update depedenciesBastien Orivel2020-04-18
|
* Add config option to set cursor thicknessKirill Chibisov2020-04-15
| | | Fixes #3526.
* Log critical errors with error! instead of println!Kirill Chibisov2020-04-12
|
* Fix various mouse mode + vi mode interactionsKirill Chibisov2020-04-10
| | | | | | | | | This commit fixes some issues introduced by 1a8cd172e520e493bacc9c6a2ae6f80de086eaa3: 1. Vi cursor not moving properly on double/triple click 2. URL not launching via mouse click in vi mode + mouse mode 3. Ability to select in mouse mode with double/triple click regardless of shift modifier
* Use config colors to theme Wayland decorationsKirill Chibisov2020-04-09
| | | Fixes #2092.
* Add CopyPrimary keybinding action on Linux/BSDKirill Chibisov2020-03-23
|
* Remove right click deselectionStefan Devai2020-03-19
| | | Fixes #3144.
* Fix scrolling with selection outside of vimodeChristian Duerr2020-03-19
|
* Add modal keyboard motion modeChristian Duerr2020-03-18
| | | | | | | | | | | | | | | | | | | This implements a basic mode for navigating inside of Alacritty's history with keyboard bindings. They're bound by default to vi's motion shortcuts but are fully customizable. Since this relies on key bindings only single key bindings are currently supported (so no `ge`, or repetition). Other than navigating the history and moving the viewport, this mode should enable making use of all available selection modes to copy content to the clipboard and launch URLs below the cursor. This also changes the rendering of the block cursor at the side of selections, since previously it could be inverted to be completely invisible. Since that would have caused some troubles with this keyboard selection mode, the block cursor now is no longer inverted when it is at the edges of a selection. Fixes #262.
* Add default keybinding for SpawnNewInstance on macOSNathan Lilienthal2020-03-17
|
* Remove std::fs::read_to_string reimplementationMatthias Krüger2020-03-17
|
* Fix live config reload for window titleChristian Duerr2020-03-14
| | | | | | | | | | | | | 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.
* Run clippy on oldest supported versionChristian Duerr2020-03-12
| | | | | 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.
* Update to glutin 0.24.0Christian Duerr2020-03-12
| | | | | | | | Fixes #3266. Fixes #3248. Fixes #3188. Fixes #3177. Fixes #2445. Fixes #1574.
* Fix selection with invisible start and endChristian Duerr2020-03-07
| | | | | 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.
* Fix ignoring of slow touchpad scrollingTimo2020-03-02
| | | Fixes #3377.
* Remove `tabspaces` config optionChristian Duerr2020-03-01
| | | | | | | 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.
* Remove unnecessary macos focus checkChristian Duerr2020-02-27
| | | | Since winit now filters out clicks on unfocused windows on macOS anyways, we don't need to implement this logic ourselves anymore.
* Add seconds and nanoseconds to log outputChristian Duerr2020-02-14
|
* Increase Beam, Underline and Box cursors' line widthKirill Chibisov2020-02-13
|
* Revert "Fix backspace deleting chars when IME is open"Christian Duerr2020-02-10
| | | | | | | | | | | This reverts commit 7f4dce2ee04859fb0b48f15cf808b60065778703. Originally it was assumed that macOS always sends the \x7f on backspace anyways, however this is not true. It seems like the character on backspace can change even within the same terminal session, so we need to have our own binding to reliably set the correct binding. A solution for #1606 should be implemented in cooperation with winit.
* Update glutin to v0.23.0Kirill Chibisov2020-02-07
| | | | | | | Fixes #3191. Fixes #3150. Fixes #1465. Fixes #1359.
* Fix selection expansion across full-width glyphsChristian Duerr2020-02-07
| | | | | | | | | | | Instead of trying to expand the start and end of a selection across full-width glyphs, the selection should now only go from its origin to the end without any kind of expansion. Instead, the expansion is now done where the cells are actually checked for their selection status, expanding across the entire full-width glyph whenever any part of it is selected. Fixes #3106.
* Start window invisible on WindowsKirill Chibisov2020-02-04
|
* Remove unsetting of dirty flag on key pressChristian Duerr2020-02-03
| | | | | | There's no reason why we should ever manually set the terminal to not be dirty, since this can lead to a lot of other logic being affected. This also does not have any benefit and was likely added in the event loop rework as a bug (probably should have been dirty = true).
* Fix backspace deleting chars when IME is openChristian Duerr2020-01-30
| | | Fixes #1606.
* Fix inconsistent test module namingChristian Duerr2020-01-28
|
* Add font metric cachingKirill Chibisov2020-01-25
|
* Add debug log for missing configChristian Duerr2020-01-22
| | | | | | | | | | We currently log whenever we fall back to the default config because of an error in the config itself. We also log when the config was successfully loaded and where it was loaded from. The only scenario where no config related message is logged is when there is no configuration file present. Logging this case should make it easier to debug issues like #3240, without requiring any knowledge from maintainers about this edgecase.
* Fix underline position for bitmap fontsKirill Chibisov2020-01-22
| | | | Fixes #3235.
* Fix stack overflow when printing shader errorKirill Chibisov2020-01-21
| | | Fixes #3238.
* Remove scrolling.auto_scroll featureKirill Chibisov2020-01-20
| | | Fixes: #1873