summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2017-01-23Dynamically generate test harnessSteven Fackler
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!
2017-01-21ansi: Designate and invoke graphic character setsRichard Palethorpe
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).
2017-01-18Remove unnecessary featureOula Kuuva
Proc_macro has been stable since 1.15.0, attribute no longer needed.
2017-01-18Make it run on FreeBSDjohalun
2017-01-15Cleanup getpwuid_r wrapperJoe Wilm
The wrapper had some transmutes still from an earlier implementation, and they are not needed now.
2017-01-12make thin stroke rendering configurableTom Crayford
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.
2017-01-11Proposal for line wrap - ^[[7h and ^[[7l (private)Michael Brumlow
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.
2017-01-11Fix bug where event loop could get stuck readingJoe Wilm
One symptom of this bug was being unable to send C-c during `cat /dev/urandom`. cc #271
2017-01-11Add support for setting title from OSCJoe Wilm
Resolves #23 Resolves #144
2017-01-09Fix last panic with `cat /dev/urandom`Joe Wilm
2017-01-10Fixing panic on cat /dev/urandomMichael Brumlow
- 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.
2017-01-09Add another optional config path `$HOME/.alacritty.yml`Alberto Corona
- Added note about the default file created if no path is found
2017-01-09Support config path `$XDG_CONFIG/alacritty.yml`Alberto Corona
- Update README to reflect changes
2017-01-09Conform to XDG spec for configurationAlberto Corona
- Use $XDG_CONFIG_HOME/alacritty/alacritty.yml for loading the configuration file falling back to $HOME/.config/alacritty/alacritty.yml - Closes #203
2017-01-08Merge pull request #236 from tcrayford/print_glutin_eventsJoe Wilm
print glutin events if --print-events is passed
2017-01-08Remove some dead codeJoe Wilm
2017-01-08Fix parsing of coalesced SGR attributesJoe Wilm
cc #116
2017-01-08print glutin events if --print-events is passedTom Crayford
When debugging many issues, it's often very helpful to have the raw glutin events printed out to stderr as they come in. This does that. Note that since `glutin::Event` doesn't implement `Display`, we just use rust's debugging output for now via `{:?}`.
2017-01-07Merge pull request #216 from mbrumlow/better_bounds_checkingJoe Wilm
Better bounds checking.
2017-01-07Changes requested.Michael Brumlow
- Rename wrap to input_needs_wrap and providing documentation. - Standardize on min. - Optimization on subtracting col.
2017-01-07Fixing resize crashes.Michael Brumlow
Most of the crashes on resize were due to columns and lines being set to zero. This causes all sorts of other checks within the code to ensure these values are greater than zero before running calculations. To avoid this we just need to ensure that lines and columns are some non zero value. This is seems to be what gnome terminal does. I have selected 2 lines and two columns for min terminal size for now.
2017-01-07Removing stale comment.Michael Brumlow
2017-01-07Implementing line wrapping.Michael Brumlow
This implementation of line wrapping ensures self.cursor.col is never out of bounds, thus not requiring checking.
2017-01-07Better bounds checking.Michael Brumlow
- Remove the use of limit. - Reduce the number of comparisons. When using numbers provided by the PTY for subtractions there is a extra step of ensuring that we won't trigger failure on testing when trying to subtract form zero. ** NOTE ** This commit fails fails the tmux_git_log test. I am submitting a PR to talk about the test. I think the test was generated before a few things were fixed the final test gird still has cells that should have been scrolled off the screen. Also, comparing output from gnome-terminal there is no difference. So this PR is here to discuss and gather information on balding test and discussing the possibility that this test may be flawed. ** NOTE **
2017-01-07Merge pull request #164 from mbrumlow/fix_boundsJoe Wilm
Fixes a slew of bounds issues.
2017-01-07Merge pull request #138 from honza/masterJoe Wilm
Add "shell" option to config
2017-01-07TypoHonza Pokorny
2017-01-07Avoid unwrap when determining proper shell to useHonza Pokorny
2017-01-07Avoid unnecessary closure in a map callHonza Pokorny
2017-01-07Add doc string to 'shell' config optionHonza Pokorny
2017-01-07Fixes a slew of bounds issues.Michael Brumlow
2017-01-06Fix issue with some international inputsJoe Wilm
cc #87, #55
2017-01-06Clippy fixes!Manish Goregaokar
2017-01-06Add `nightly` feature, use for `unlikely` intrinsicManish Goregaokar
2017-01-06Remove need for inclusive rangesManish Goregaokar
2017-01-06Remove need for range_contains featureManish Goregaokar
2017-01-06Replace need for drop_types_in_const with lazy_staticManish Goregaokar
2017-01-06Remove need for step_by featureManish Goregaokar
2017-01-06Add "shell" option to configHonza Pokorny
This allows you to configure the shell to use when alacritty starts. cc: #122
2017-01-06Make plugin feature optionalManish Goregaokar
2017-01-06Merge branch 'master' of github.com:coder543/alacrittyJosh Leverette
2017-01-06Handle invalid gotos more gracefully.Josh Leverette
2017-01-06Fix panic when closing windowJoe Wilm
Resolves #81.
2017-01-06Add default macOS configJoe Wilm
Should solve the `monospace` issue people are seeing for now.
2017-01-06Write default config when not foundquininer kel
2017-01-06Merge pull request #60 from MagaTailor/masterJoe Wilm
Fix compilation on ARM/AARCH64
2017-01-06Handle EINTR in I/O loopJoe Wilm
This fixes an issue where encountering some signals panicked the event loop thread. Resolves #76
2017-01-06Added --title argument to set window titleRudis Muiznieks
2017-01-05Fix ARMTaylor Trump
2017-01-05Fix ARMTaylor Trump