aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/window.rs
Commit message (Collapse)AuthorAge
* Fix clippy issuesChristian Duerr2020-08-06
| | | Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
* Fix negative window positionChristian Duerr2020-08-02
| | | | | | | This resolves an issue where negative window positions set in the configuration file would not place the Alacritty window in the correct location. Fixes #4061.
* Fix crates.io publishing restrictionsChristian Duerr2020-08-01
| | | | This works around the problem that crates pushed to crates.io cannot reference files outside of their crate directory.
* Bump minimum supported Rust version to 1.43.0Kirill Chibisov2020-07-28
|
* Rename font crate to crossfontChristian Duerr2020-07-18
|
* Add different search label for backward searchChristian Duerr2020-07-17
|
* Remove gui dependencies from alacritty_terminalKirill Chibisov2020-07-11
| | | | | | | | This commit removes font dependency from alacritty_terminal, so it'll simplify the usage of alacritty_terminal as a library, since you won't link to system's libraries anymore. It also moves many alacritty related config options from it. Fixes #3393.
* Add regex scrollback buffer searchChristian Duerr2020-07-09
| | | | | | | | | | This adds a new regex search which allows searching the entire scrollback and jumping between matches using the vi mode. All visible matches should be highlighted unless their lines are excessively long. This should help with performance since highlighting is done during render time. Fixes #1017.
* Add automatic scrolling during selectionChristian Duerr2020-06-18
| | | | | | | | | | | | | This adds a new `Scheduler` which allows for staging events to be processed at a later time. If there is a selection active and the mouse is above or below the window, the viewport will now scroll torwards the direction of the mouse. The amount of lines scrolled depends on the distance of the mouse to the boundaries used for selection scrolling. To make it possible to scroll while in fullscreen, the selection scrolling area includes the padding of the window and is at least 5 pixels high in case there is not enough padding present.
* Cleanup window.rs importsChristian Duerr2020-06-08
| | | | | | | | | | | | | | | | The window.rs imports have been extremely messy due to heavy platform-specific import usage. While some of them are just stray imports for a single platform, a lot of these are specific to Linux/BSD. To make these a little easier to read and maintain, the Linux/BSD specific imports were grouped together, since this allows us to just have a single platform annotation. Most of our imports follow the order of how relevant and foreign these imports are to Alacritty, putting our own frequently used imports at the far bottom and STD with things people usually don't need to care about at the top. Since platform specific imports are generally important to fewer people, I've decided to put them before all the other imports rather than behind them.
* 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 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`.
* 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.
* Fix clippy warningsMatthias Krüger2020-05-01
|
* Use embedded resource for window iconDavid Hewitt2020-04-25
|
* Update depedenciesBastien Orivel2020-04-18
|
* Log critical errors with error! instead of println!Kirill Chibisov2020-04-12
|
* Use config colors to theme Wayland decorationsKirill Chibisov2020-04-09
| | | Fixes #2092.
* Start window invisible on WindowsKirill Chibisov2020-02-04
|
* Bump glutin to 0.22.0Christian Duerr2020-01-10
| | | Fixes #3165.
* Add `Minimize` binding actionKirill Chibisov2020-01-05
| | | Fixes #2534.
* Replace deprecated Error methodssterlingjensen2020-01-03
|
* Move renderer from alacritty_terminal to alacrittyKirill Chibisov2019-11-23
|
* Fix wrong default cursor iconKirill Chibisov2019-11-02
|
* Remove unused imports on WindowsDavid Hewitt2019-10-31
|
* Fix unused import warning on macOS/WindowsKohki Miki2019-10-22
|
* Fix XEmbed compilation error on 32-bit platformscyclopsian2019-10-20
|
* Revert "Disable depth and stencil buffers"Christian Duerr2019-10-16
| | | This reverts commit 3475e449870b382cda4ea6d48f980577cd8c929e.
* Add support for title stack escape sequencesDustin2019-10-14
| | | | | | | | | | | | 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.
* Disable depth and stencil buffersJasper Mattsson2019-10-11
| | | | Disable allocation of depth and stencil buffers. This reduces active GPU memory consumption by almost a third, at least on Linux.
* Update to winit/glutin EventLoop 2.0Christian Duerr2019-10-05
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.