aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-01-08Add logging to test alt handlingalt-key-testerJoe Wilm
cc #93
2017-01-08Fix parsing of coalesced SGR attributesJoe Wilm
cc #116
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
2017-01-05Allow key_binding have spacequininer kel
2017-01-04Draw the screen when Refresh event arrivesJoe Wilm
cc #53
2017-01-02Send correct character sequence with alt keyJoe Wilm
Resolves #46.
2017-01-02Have default mouse and key bindingsJoe Wilm
This improves the situation where the user has not installed the default configuration file. Resolves #42.
2017-01-02Fix scrolling with SGR modeJoe Wilm
Resolves #43.
2017-01-02Better error message when xclip is not availableJoe Wilm
Resolves #37.
2017-01-02Real support for placing config in XDG_CONFIG_HOMEJoe Wilm
Resolves #35.
2017-01-02Rework font loadingJoe Wilm
This work started because we wanted to be able to simply say "monospace" on Linux and have it give us some sort of font. The config format for fonts changed to accomodate this new paradigm. As a result, italic and bold can have different families from the normal (roman) face. The fontconfig based font resolution probably works a lot better than the CoreText version at this point. With CoreText, we simply iterate over fonts and check it they match the requested properties. What's worse is that the CoreText version requires a valid family. With fontconfig, it will just provide the closest matching thing and use it (unless a specific style is requested).
2017-01-01Improve error handling for shader initializationJoe Wilm
Shader initialization errors at startup should print a nice message now.
2017-01-01Improve error handling for clipboard actionsJoe Wilm
Previously, these could have crashed alacritty. Now, they simply print an error message in Red to stderr. The Red format wrapper was moved to a central location where both main.rs and the alacritty lib can access it.
2017-01-01Add support for SGR mouse reportingJoe Wilm
According to: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking
2016-12-31Print nice error messages for font loading errorsJoe Wilm
Resolves #22.
2016-12-31Propagate font rasterizer errorsJoe Wilm
This allows consumers of the font crate to handle errors instead of the library panicking.
2016-12-29Improve RenderableCellsIter performanceJoe Wilm
Also adds a benchmark for cell.reset().
2016-12-29Add Default impl for CellJoe Wilm
Just a bit of cleanup.
2016-12-29Fix pty read sometimes not triggering drawJoe Wilm
There was a lot of complexity around the threadsafe `Flag` type and waking up the event loop. The idea was to prevent unnecessary calls to the glutin window's wakeup_event_loop() method which can be expensive. This complexity made it difficult to get synchronization between the pty reader and the render thread correct. Now, the `dirty` flag on the terminal is also used to prevent spurious wakeups. It is only changed when the mutex is held, so race conditions associated with that flag shouldn't happen.