aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Cargo.lock: bump clippy from 0.0.164 to 0.0.174.Matthias Krüger2017-12-03
|
* clippy: fix if_not_else warning 'breaking' the build. Swap blocks and change ↵Matthias Krüger2017-12-03
| | | | to "==".
* commit some Cargo.lock changes that "cargo build" would do automaticallyMatthias Krüger2017-12-03
|
* Revert "Wait to display window until initialization is complete (#907)"Joe Wilm2017-11-20
| | | | | | | | | | | This reverts commit a931d691a21a851ca4653cbab3542c600b72ff36. Please see https://github.com/jwilm/alacritty/pull/907#issuecomment-345666727 for rationale w/ GIF. > now alacritty starts "in stages". First it paints some small > rectangle, and in a second in "boots" and fills up the available > space.
* Wait to display window until initialization is complete (#907)Charles2017-11-19
|
* Remove outdated TASK.md (#906)Nathan Lilienthal2017-11-19
|
* Support more color escape codes (#757)Tuomas Siipola2017-11-11
| | | | | * Support text cursor color escape codes * Support reset color index escape code * Support multiple colors in set color index escape code
* Output more info for `--version` (#888)hcpl2017-11-11
| | | Useful when requesting more info to help investigating issues.
* Fix typo and whitespaceJoe Wilm2017-11-11
|
* Style fixesJoe Wilm2017-11-11
|
* Don't enforce window dimensions if configured with 0 columns or linesBryan Gilbert2017-11-11
|
* Add ref test for 855Joe Wilm2017-11-11
|
* Run all ref testsJoe Wilm2017-11-11
| | | | There were two ref tests that were not being run. Oops!
* Match LF behavior outside scroll region with urxvtJoe Wilm2017-11-11
| | | | | Outside of a scroll region, linefeed will still advances the line until reaching the bottom row in other terminals. Alacritty now matches that.
* Correct linefeed handling when scroll region set (#855)Yan2017-11-11
| | | | | | | | | | | Linefeeds should only move the cursor down if it's before the end of the scroll region. The "out of bounds" panic was triggered by linefeeds going off the bottom of the screen when the scroll region end was above the cursor. Note: https://vt100.net/docs/vt102-ug/chapter5.html "Characters added outside the scrolling region do not cause the screen to scroll."
* Fixed typo in README.md (#876)thelearnerofcode2017-11-11
|
* Support integer font size in config (#886)thelearnerofcode2017-11-11
| | | Fixes #882
* Link to FAQ when referencing it (#881)Bailey2017-10-31
|
* fix some typos in commentsMartin Lindhe2017-10-30
|
* config_subsitute(): fix typo by renaming to config_substitute()Martin Lindhe2017-10-30
|
* set_urgent on mac throws a warning (#867)Ty Coghlan2017-10-26
| | | On mac, compiling throws a warning due to `is_urgent` not being used within `set_urgent`. This can be changed just by using an underscore instead.
* Fix stack overflowJoe Wilm2017-10-26
| | | | Resolves #872
* Change cursor from pointer to text (#778)Dustin2017-10-22
| | | | | It seems that (as a rule) terminal emulators use the text mouse cursor rather than the pointer that is used now. This commit changes the cursor to using winit's built-in configuration function.
* Fix typoJoe Wilm2017-10-22
|
* Rewrite err_println to eprintln introduced in Rust 1.19 (#799)Roel2017-10-22
|
* Update README.md with more WaylandJoe Wilm2017-10-21
| | | | Adds a call to action on how to improve Wayland support in Alacritty.
* Set urgent WM flag on bell on X11 systems (#812)Barret Rennie2017-10-21
| | | | | Sets the urgent WM flag when bell is emitted on X11 systems. Additionally, the flag is cleared on focus because not all WMs clear it automatically.
* Fix solid background color opacity (#847)Joe Wilm2017-10-21
| | | | | | | | | | | | | | | Since landing the patch adding transparency support to Alacritty, there's been an issue where othewise solid background cells were also being rendered partially transparent. Now, all filled background cells are rendered fully opaque. Some logic was added to support discarding filled backgrounds which had the same color as the default background. This means that, if the default background is #000 and a cell has that background, it will never be rendered opaque. This may not be correct. Note that many truecolor vim color schemes print spaces for default colored background cells. Performance can be dramatically improved by using ctermbg=NONE guibg=NONE to skip rendering those cells.
* List all valid actions in config error message (#848)Robert Bittle2017-10-21
|
* Update macOS icon with icon from #285 (#856)Hugo Tunius2017-10-21
|
* Add Function + Modifier keybindings (#853)Joe Wilm2017-10-20
| | | | | | | Also rearranged the default config slightly to move the long key binding list to the bottom of the file. Resolves #690 Resolves #727
* Fix render issues on macOS (#845)Joe Wilm2017-10-17
| | | | | | | | | Parts of neighboring glyphs in the atlas were being rendered incorrectly. The issue is resolved by aligning cells to the pixel grid. This behavior was achieved previously by first applying integer truncation before casting to a float. Fixes #844.
* Fix config reloadingJoe Wilm2017-10-16
| | | | Must have been broken when upgrading notify-rs
* Fix default config reload valueJoe Wilm2017-10-16
| | | | | This shouldn't have any effect, but at least the default value is now consistent with the default deserialization value.
* Use correct keyname for decreasing font size in MacOS (#843)Erik Nilsen2017-10-16
| | | | | * Use correct keyname for decreasing font size in MacOS * Prefer Command instead of Control to match other TEs
* Drop nightly featureJoe Wilm2017-10-14
| | | | Forgot to remove after being done with valgrind
* Fix memory leak from font resizingJoe Wilm2017-10-14
| | | | | | | | | | | The source of the leak was loading up multiple copies of the FT_face even when not necessary. Fonts are now appropriately cached for FreeType when going through the `Rasterize::load_font` API. Additionally, textures in the glyph cache are now reused. The result of this is that resizing to already loaded fonts is free from a memory consumption perspective.
* Implement user actions for font resize (#625)Dan Aloni2017-10-14
| | | | | | | | | | | | | | | | | Adds support for font resizing at run-time. Three new actions are introduced: * IncreaseFontSize - Increases current font size by 1.0 * DecreaseFontSize - Decreases current font size by 1.0 * ResetFontSize - Resets font size to that specified in the configuration. The stock config files have example configuration for each which should match gnome-terminal. For convenience, the config entries are: - { key: Key0, mods: Control, action: ResetFontSize } - { key: Equals, mods: Control, action: IncreaseFontSize } - { key: Subtract, mods: Control, action: DecreaseFontSize }
* Fix resize behaviorJoe Wilm2017-10-14
| | | | | Should prevent the messed up background colors that appear in some situations (especially on tiling WMs).
* Support web notation for hex colorsRobert Günzler2017-10-09
|
* Add fontconfig instructions to Linux configJoe Wilm2017-10-09
|
* Update servo-fontconfig-sys forkJoe Wilm2017-10-08
| | | | Fixes naming collision issue on Fedora 26.
* Scale all fonts based on device-pixel-ratioJoe Wilm2017-10-08
| | | | | | Rather than use DPI from config, use device-pixel-ratio from winit. This is computed using the display DPI anyhow, so it should have the same effect.
* Support bitmap fontsDan Aloni2017-10-08
| | | | | | | | | | | | | | | | | | | | | | | | To allow FontConfig to work with Bitmap font, we shall pass the size we are interested in, and account for the size returned in the font matching process. This is, because we cannot scale those fonts. FontConfig will return the closest match, and we take its returned pixel size back when we are rendering the glyphs. There's an oddity when call set_char_size in TrueType - we need to behave as if the DPI is 72. It is due to the following macro: #define FT_REQUEST_HEIGHT( req ) \ ( (req)->vertResolution \ ? ( (req)->height * (FT_Pos)(req)->vertResolution + 36 ) / 72 \ : (req)->height ) Further work can allow for integer scaling of the largest bitmap font variant. Tested with Terminus PCF-type font under Linux. This addresses issue #582 .
* Add support for env_loggerJoe Wilm2017-10-08
| | | | | When RUST_LOG environment variable is set, uses env_logger instead of our custom logger. This is desirable for debugging purposes.
* FreeType rasterizer respects some fontconfigJoe Wilm2017-10-08
| | | | | | | 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.
* Improve glyph rasterization performanceJoe Wilm2017-10-08
| | | | | | | | | 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.
* Remove unused macrosJoe Wilm2017-10-08
|
* Extend and improve FcPattern bindingsJoe Wilm2017-10-08
| | | | | | | | | | | | | | | | | | | | 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); }
* Organize fontconfig wrappersJoe Wilm2017-10-08
| | | | | Each Fc type is split into a separate file. This organization will help as features are added to the bindings.