aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Send mouse wheel commands only if they're supportedTuomas Siipola2017-02-06
| | | | Fixes #48
* Add "Quit" action to allow exit on a Cmd-W or Cmd-QBrandur2017-02-05
| | | | | | | | | | | | | | | | | | | | | | Adds a new "Quit" action and binds it to Cmd-W and Cmd-Q on Mac OS in an attempt to make Alacritty feel more like a "normal" citizen of the operating system. Alternatives like Ctrl-D are okay, but I usually want to leave my shells nested within Tmux open even if I exit my terminal. It's also largely selfish: I've built up muscle memory over the years that takes my fingers to Cmd-Q first (and I suspect I'm not the only one). The implementation for an exit is copied from `event.rs` which notably is already tagged with a FIXME. It seems that `tty.rs` contains a `process_should_exit` system to help handle a `SIGCHLD`, and it's possible that these two exit implementations should be merged together. I could probably tackle that as my next project. As mentioned in #218, Alacritty can't really spawn other windows right now, so I've tied in Cmd-W as simply another synonym for quitting until that's implemented. Fixes #218.
* Fix bug with restore cursorJoe Wilm2017-02-03
| | | | | | The saved cursor position could previously end up outside of the grid if the terminal was resized to be smaller and then calling a restore. Restore now ensures the cursor line and column are within grid bounds.
* readme: Remove stray lineDaniel M. Capella2017-02-03
| | | No longer needed thanks to #382.
* Alacritty now compiles on stable Rust :tada:Joe Wilm2017-02-03
|
* Fix bug introduced with save/restore patchJoe Wilm2017-02-02
| | | | | Switching between main and alt grids should no longer clear the main grid.
* Decouple input processing from TermJoe Wilm2017-02-02
| | | | Should make input processing much more easily tested.
* Implement save/restore cursor positionJoe Wilm2017-02-02
| | | | | | | | | | | | This passes the vttest for save and restore cursor position. The implementation was done according to: http://www.vt100.net/docs/vt510-rm/DECSC.html As of yet, there are a few things not supported by the terminal which should otherwise be saved/restored. vte was updated for a fix with CSI param parsing
* Fix bug with cursor colors and old configJoe Wilm2017-01-30
| | | | | There was no default supplied for Colors.cursor. This caused config not specifying that property to break. Adding a default should fix that.
* Load the primary clipboard when pastingjc00ke2017-01-30
| | | | | Paste & PasteSelection are not quite the same. The former should be pulling from the main clipboard where the latter does not.
* Add Arch Linux package install instructionsDaniel M. Capella2017-01-29
| | | | Includes minor touch ups.
* Update to serde 0.9 and serde-yaml 0.6.Joe Wilm2017-01-29
|
* support for inverting the cursor or using colorsDanny Dulai2017-01-29
|
* Fix section headers in READMEJoe Wilm2017-01-28
| | | | Resolves #367
* Add support for -e argumentNiklas Claesson2017-01-28
|
* Optimize glyph cache accessJoe Wilm2017-01-26
| | | | | | | | | | | | | | | | | | | | | | Loading a glyph from the cache is a very hot operation in the renderer. The original implementation would first check if a glyph was loaded and then call `get()` which would have to search a second time. This showed up as a very slow point in profiles. This patch addresses glyph cache access in two ways: by using a faster hasher optimized for small keys (fnv), and by using the entry API for fetching a cached glyph. The `fnv` hasher is faster than the default and is very efficient for small keys. Using the entry API on the HashMap means only 1 lookup instead of two. The entry API has a downside where the key needs to get cloned on fetches. Reducing the GlyphKey width to 64-bits helps in both areas. Copying an 8-byte wide type is very cheap and thus limits downside of the entry API. The small width also helps with the hasher performance. Over all, this patch reduced typical render times by several hundred microseconds on a 2013 MacBook Pro with a full screen terminal full of text.
* Add Slackware section to README.mdDerNorbert2017-01-26
|
* fix config fileNiklas Claesson2017-01-26
|
* Implement argument passing in configNiklas Claesson2017-01-25
| | | | | | | | | | | | This commit implements the following syntax in the config file: ```yaml shell: program: /bin/bash args: - --login - --norc ```
* Use clap as cli parser.Kurnevsky Evgeny2017-01-24
|
* Change to process::CommandNiklas Claesson2017-01-23
|
* Remove debug_print! macrosJoe Wilm2017-01-23
| | | | The logging macros should be used instead.
* Return an error from logging::initializeJoe Wilm2017-01-23
| | | | | Logging initialization now shares the same error handling code as the rest of the `run` function.
* Minor formatting fixesJoe Wilm2017-01-23
|
* Changes to Logger logicJoe Wilm2017-01-23
| | | | | | The logger implementation will now only show items from Alacritty. Additionally, the module info is omitted from the log output. If the origin of a log item must be found, it can easily be grepped for.
* Use the log-crate instead of printing to stdoutLukas Lueg2017-01-23
|
* Capture test output by defaultJoe Wilm2017-01-23
| | | | | The `rustc-test` crate has this feature disabled by default causing all of the test `println!` output to be displayed.
* Remove line_wrap testSteven Fackler2017-01-23
| | | | | This doesn't pass, and was mistakenly never actually enabled in the old ref.rs macro.
* Dynamically generate test harnessSteven Fackler2017-01-23
| | | | | | This uses the rustc-test crate, a copy of the standard test crate, to dynamically create tests for each reference test. No need to remember to update the macro, just add the directory to ref!
* ansi: Designate and invoke graphic character setsRichard Palethorpe2017-01-21
| | | | | | Implement the designation of graphic character sets G0-G3 to ASCII or the Special character and line drawing glyphs. As well as the invokation/selection of the character sets (shift in, shift out and lock shifting).
* Merge pull request #336 from lukaslueg/patch-3Joe Wilm2017-01-21
|\ | | | | Mention talk at Rust Meetup in README.md
| * Mention talk at Rust Meetup in README.mdlukaslueg2017-01-21
|/
* Mention our IRC channel in the READMEJoe Wilm2017-01-18
|
* Use latest nightly on travisJoe Wilm2017-01-18
| | | | Pinning should no longer be necessary.
* Remove unnecessary featureOula Kuuva2017-01-18
| | | | Proc_macro has been stable since 1.15.0, attribute no longer needed.
* Update rustc-versionOula Kuuva2017-01-18
|
* Make it run on FreeBSDjohalun2017-01-18
|
* Cleanup getpwuid_r wrapperJoe Wilm2017-01-15
| | | | | The wrapper had some transmutes still from an earlier implementation, and they are not needed now.
* add suggestive fallback messages on unavailable fontsTom Crayford2017-01-12
| | | | as per https://github.com/jwilm/alacritty/issues/39
* make thin stroke rendering configurableTom Crayford2017-01-12
| | | | | | Makes thin stroke rendering for darwin configurable by a new toplevel key under `font:` in the config file. Defaults to false, has no impact on non macos.
* Merge pull request #298 from mbrumlow/line_wrap_testJoe Wilm2017-01-11
|\ | | | | Adding test for line wrap.
| * Adding test for line wrap.Michael Brumlow2017-01-12
|/ | | | This test ensures we can enable and disable line wrap.
* Proposal for line wrap - ^[[7h and ^[[7l (private)Michael Brumlow2017-01-11
| | | | | | | | | | | | | | | | | | These changes provide support for disabling auto line wrap which is currently default to on. 'tput rman' will now disable auto line wrap and alacritty will now not automatically wrap lines. 'tput sman' will now (re)enable auto line wrap and alacritty will now automatically wrap lines once it reaches the end of the line. My testing showed this to work the same as gnome-terminal. I should note that simply having ^[[7h or ^[[7l in a recording does not enable and disable line wrapping. This is the same behavior as gnome-terminal and xterm. Those cape codes come through as private which are not handled yet. I behave this is the correct behavior.
* Fix bug where event loop could get stuck readingJoe Wilm2017-01-11
| | | | | | | One symptom of this bug was being unable to send C-c during `cat /dev/urandom`. cc #271
* Add support for setting title from OSCJoe Wilm2017-01-11
| | | | | Resolves #23 Resolves #144
* Update README.mdlukaslueg2017-01-10
| | | | `cmake` is required everywhere in order to build `expat-sys`
* Merge pull request #268 from mbrumlow/urandom_panicJoe Wilm2017-01-09
|\ | | | | Fixing panic on cat /dev/urandom
| * Fix last panic with `cat /dev/urandom`Joe Wilm2017-01-09
| |
| * Fixing panic on cat /dev/urandomMichael Brumlow2017-01-10
|/ | | | | | | | | | | | | | | | - Checks to make sure lines count coming from the pty are within a proper range before doing scrolling. - Sanitizes scroll region when being set. - Changes panic for unimplemented screen clear to a print statement. The first two changes ensure scrolling won't crash us. By sanitizing the region on set we don't have to complicate the scroll code with limits, mins, or maxes to ensure the scroll operation is within the range. Checking if the lines is greater than the total region allows us to simply clear the region and avoid subtracting large numbers from small ones.
* Merge pull request #255 from igravious/patch-1Joe Wilm2017-01-09
|\ | | | | Update README.md