summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2017-07-20Implement and use ansi attribute CancelBold (#659)ftilde
2017-07-20Update to latest Glutin/winit (#671)Joe Wilm
* Update to latest Glutin/winit This *finally* gets us off the fork of Glutin we've been on for so long and will unblock a number of other items. Functionality should be the same as before. The update forced our hand on a compiler update. It's no longer feasible to pin on an old version. From now on, we require latest stable.
2017-07-19Canonicalize the config watching path (#672)Joe Wilm
This should resolve an issue where config behind a symlink was not being properly reloaded when edited.
2017-07-08Fix typo in rustdoc (#654)lukaslueg
2017-07-08Add a long option for the command flag (-e) (#655)polyfloyd
2017-07-03Revert "Reduce InstanceData footprint"Joe Wilm
This reverts commit 3cdba291242cc1c1684bff7f8242262b1cdeb582. On some systems, the target commit actually caused a massive performance issue rather than fixing one.
2017-07-01Document binding keys to a `command` (#647)Ollie Ford
* Refactor `key_bindings` documentation * Document binding keys to a `command` The ability for `key_bindings` to trigger a `command` was added in #566. This commit documents their use, and gives a simple example. Resolves #646.
2017-07-01Reduce InstanceData footprintJoe Wilm
The InstanceData type in the rendering subsystem was previously 16 floats which occupied a total of 64 bytes per instance. This meant that for every character or background cell drawn, 64 bytes were sent to the GPU. In the case of a 400x100 cell grid, a total of 2.5MB would be sent. This patch reduces InstanceData's size to 26 bytes, a 60% improvement! Using the above example for comparison, a worst case of 1MB would be transferred. The motivation for this patch comes from macOS. Once the terminal grid would reach a certain size, performance experienced a sharp and dramatic drop (render times would go from ~3ms to ~16ms). I don't want to speculate too much on the underlying issue, but suffice it to say that this patch alleviates the problem in my testing.
2017-06-30Add Solus instructionsDimas Cyriaco
2017-06-27Use foreign-types from crates.ioJoe Wilm
We had previously vendored a very early version of this package before it was ever published.
2017-06-27Update READMEJoe Wilm
Closes #636 Closes #592
2017-06-23Add dim color supportJake Merdich
Add support for the VTE 'dim' flag, with additional support for custom-themed dim colors. If no color is specified in the config, it will default to 2/3 the previous (not a spec, but the value other terminals seem to use). The actual dimming behavior brings bright colors to normal and regular colors to the new dim ones. Custom RGB values are not changed, nor are non-named indexed colors.
2017-06-20Update vte dependencyJoe Wilm
cc #68
2017-06-20remove $SNAP variable inside snap environmentChris MacNaughton
2017-06-20Adding snapcraft.yamlChris MacNaughton
Snapcraft makes Linux packaging very simple in a cross-distro way. This adds the snapcraft.yaml file to setup a snap of alacritty.
2017-06-19Update tests for new Selection APIJoe Wilm
2017-06-19Fix unnecessary redraws with active selectionJoe Wilm
Could be cleaned up a bit if there was a wrapper for Option<Selection> that contained this flag. Also fixes a few compiler warnings.
2017-06-19Implement semantic and line selection draggingJoe Wilm
Unlike the regular selection that is by cell, these selection modes highlight either semantic groupings or entire lines while the mouse is dragged.
2017-06-18Add dependency to FreeBSD-specific setupSiva Mahadevan
Fixes problem I had with issue #609, should be better documented.
2017-06-18Fix bright inverse colors (#621)DarkDefender
Fixes #611.
2017-06-18Implement 'backwards tab'Aaron Hill
This escape sequence isn't officially documented anywhere, but is supported by xterm and gnome-vte.
2017-06-14Make Travis test alacritty on nightly Rust, but allow failuresAaron Hill
This allows us to notice and report any regressions that have occured on nightly, without requiring tests to pass on nightly for the entire build to succeed. The `fast_finish` flag will cause Travis to mark the build as successful if the only builds still running are allowed to fail (e.g. `nightly`). This allows us to manually inspect builds (or implement some form of notifications) to see if any nightly regressions have occured, without slowing down the overall build time.
2017-06-14Use cursor cell template when handling 'CSI X' escape sequenceAaron Hill
This ensures that the cleared cells are set to the proper background color, which is the main usage of this escape sequence. Fixes #612
2017-06-11Add support for Beam, Underline cursorsJoe Wilm
Notable about this implementation is it takes a different approach for managing cursor cells that previously. The terminal Grid is now borrowed *immutably*. Instead of mutating Cells in the Grid, a list is managed within the RenderableCellsIter. The cell at the cursor location is skipped over, and instead cells are popped off a list of cursor cells. It would be good in the future to share some more code between the different cursor style implementations for populating the cursor cells list. Supercedes #349.
2017-06-06changes osx fallback symbol font styleJames A Keene
Previously, the fallback symbol font copied the style of the font from the config. However, the only available style for the fallback symbol font is Normal slant, Normal weight.
2017-06-06macOS use system font fallbackMartin Algesten
2017-06-06Fix selection when padding is presentTuomas Siipola