summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-08FreeType rasterizer respects some fontconfigJoe Wilm
The FreeType rasterizer now reads settings like antialias, rgba, lcdfilter, and hintstyle and chooses FreeType settings accordingly. The result is that Alacritty fonts should look similar to the rest of the system.
2017-10-08Improve glyph rasterization performanceJoe Wilm
The hash map of key -> face was previouly cloned every time a glyph was rasterized. This refactored the rasterization path to be more borrowck friendly. Sadly, this implementation is not *that* clean, but once NLLs land, much of this can be cleaned up.
2017-10-08Remove unused macrosJoe Wilm
2017-10-08Extend and improve FcPattern bindingsJoe Wilm
The fontconfig `FcPattern` type is wrapped as `fc::Pattern` and `fc::Pattern` ref. All methods for accessing data on the pattern now return an `Iterator`. This API turns out to be much more ergonomic than providing an integer index. We also override the default `nth` implementation of `Iterator` on these accessors to allow random (incremental only) access. For instance, accessing `family` attributes from a pattern: let families = pattern.family(); let second = pattern.nth(1); Or printing available styles for style in pattern.style() { println!("style={}", style); }
2017-10-08Organize fontconfig wrappersJoe Wilm
Each Fc type is split into a separate file. This organization will help as features are added to the bindings.
2017-10-07Update Solus deps (#792)Joshua Strobl
Removed freetype2-devel, it isn't necessary given fontconfig-devel depends on freetype2-devel, just as it depends on expat-devel.
2017-10-06Revert "Update glutin & fix a few wayland issues (#815)"Joe Wilm
This reverts commit e17d38167e174a2cf664e430fe968ec6492e1f08. Was breaking builds for mac users.
2017-10-06Update glutin & fix a few wayland issues (#815)Victor Berger
This PR fixes a few wayland issues of alacritty (and updates glutin on the process because it is needed). Mainly two changes are done: 1. Add a drawing_ready() method on Window: see https://docs.rs/winit/0.8.2/winit/os/unix/trait.WindowExt.html#tymethod.is_ready for explanations. Hopefully glutin will be able to handle it itself in the future, but it currently does not. 2. resize window and OpenGL contextes. The way wayland forces winit to draw its own decorations and how surface size is defined by its content means that in practice: - winit's window.set_inner_size() defines the dimensions of the borders - glutins gl_window.resize() defines the dimensions of the content (and is a noop in other platforms) It is for now glutin's user responsibility to keep them in sync otherwise borders are drawn stupidly. This PR changes the resize methods of alacritty::Window to always update both. This fixed the borders issues for me, tested on weston.
2017-10-04centos/RHEL 7 build instructions added (#813)Peter Butkovic
2017-09-30Add ref test for CSI REPJoe Wilm
2017-09-30implement ANSI CSI REP (Repeat)Jasper Bryant-Greene
2017-09-27Use clippy = "*", update, and fix some warnings (#796)Aaron Hill
Because there are so many clippy warnings in the current codebase, this commit removes '#![cfg_attr(feature = "clippy", deny(clippy))]', to make it easier to fix warnings incrementally.
2017-09-11Log where config was loaded fromJoe Wilm
2017-09-05Comment about duration arg to file watcherJoe Wilm
2017-09-05Reduce file watcher debounce periodJoe Wilm
500ms introduced a visual lag between file save and display update.
2017-09-05Update notifyJonathan Schleußer
2017-09-05Update most remaining depsJonathan Schleußer
2017-09-05Update servoJonathan Schleußer
2017-09-05A (very) little english fixup... (#770)vale981
2017-09-02Fix #721: touchpad scrolling (#726)Linus Heckemann
2017-09-02Remove invalid characters from default config files. (#769)tanitta
2017-08-29Update README.mdJoe Wilm
2017-08-29Change CLI live-config-reload options into flagsJoe Wilm
The previous format of --live-config-reload=VAL had a specific set of allowed values which may not immediately be obvious. Instead, there are now two flags which control the behavior: --live-config-reload --no-live-config-reload If a user tries to specify both, the option parsing will fail with this message: error: The argument '--no-live-config-reload' cannot be used with '--live-config-reload'
2017-08-29Default to enabling live config reloadJoe Wilm
This will keep the original behavior for users who don't update their config.
2017-08-29Implement options to not start the config_monitor thread (#689)Liu Wei
Provide a command line option as well as a configuration file option. The command line option takes precedence.
2017-08-29Fix reloading colors from config (#756)Tuomas Siipola
2017-08-29Add gentoo instructions. (#759)azarus
2017-08-29Add issue templateJoe Wilm
2017-08-29Restore winit deps (#763)Tiziano Santoro
Accidentally removed in https://github.com/jwilm/alacritty/commit/c4ece6dde3c9dcf825a44aa775535a65c0c376a6 when winit version was bumped.
2017-08-28winit: 0.7.5 -> 0.7.6, glutin: 0.9.1 -> 0.9.2 (#761)Tim Steinbach
2017-08-22Fix default config for home/endJoe Wilm
These now match the sequences sent by xterm. Not sure where I got the original values. Resolves #746.
2017-08-22Fix newline + scroll region bug (#747)Joe Wilm
When a scroll region is active with the cursor below the bottom of the region, newlines should not cause the region to scroll. A ref test was added for this situation to prevent regressions. Thanks @hiciu for reporting and @nicm for the test case. Resolves #745.
2017-08-21Fix panic when resizingJoe Wilm
The selection might have a beginning or end that is outside the bounds after a resize and cause a panic on subsequent draws. Easy solution is to just clear the selection on resize.
2017-08-20Add background_opacity option to set terminal transparency (#331)Gabriel Martinez
The option is an Alpha struct that ensures that the contained float is between 0.0 and 1.0. Background colors are multiplied by the opacity to properly alpha blend them.
2017-08-12Move rust dependency to the Prerequisites section (#724)Maxim Baz
* Move rust dependency to the Prerequisites section * Remove reference to a specific compiler version
2017-08-11Add rust to the list of Arch Linux dependenciesMaxim Baz
Fixes #718
2017-08-11Add ref test for 24-bit vim BCEJoe Wilm
2017-08-11Fix smcup/rmcup toggle bugJoe Wilm
Resolves #634.
2017-08-11Rename some variables for clarityJoe Wilm
2017-08-11Fix warnings on macOSJoe Wilm
2017-08-11Fix BCE issues affecting vimJoe Wilm
Now pass more vttests as well. Resolves #123 cc #660 - screenshot there exhibited the problem, but issue is not entirely about the background problem.
2017-08-08remove unused macrosJack O'Connor
This silences a couple of compiler warnings in the build.
2017-07-31Read more from ptyJoe Wilm
Resolves an issue with partial draws where programs like vim would send data, but only part of it would be drawn. The logic for escaping when a write is pending has been removed in favor of limiting bytes processed during a pty_read call. The value of MAX_READ may not be ideal.
2017-07-28Support background and foreground color escape codes (#662)Tuomas Siipola
2017-07-28Don't panic when setting cursor visibility fails (#683)Tuomas Siipola
Currently setting cursor visibility always fails on Wayland. It shouldn't be a critical error on any platform.
2017-07-28docs(): add instructions for mac apps (#688)Mike Hartington
2017-07-28font: update macOS core-text dependency to 6.1.0, fixes #685 (#692)Martin Lindhe
2017-07-28README.md: add NixOS (#694)Jörg Thalheim
2017-07-24add support for X input method (#691)Ted Yin
2017-07-21Use latest winitJoe Wilm
Resolves #679