Joe Wilm
f4b10a1dbb
Merge pull request #164 from mbrumlow/fix_bounds
...
Fixes a slew of bounds issues.
2017-01-07 10:20:01 -08:00
Joe Wilm
56773fe7e7
Merge pull request #138 from honza/master
...
Add "shell" option to config
2017-01-07 09:46:28 -08:00
Honza Pokorny
962dd61348
Typo
2017-01-07 13:07:06 -04:00
Honza Pokorny
7ed4f205ad
Avoid unwrap when determining proper shell to use
2017-01-07 08:43:58 -04:00
Honza Pokorny
a01ef5568f
Avoid unnecessary closure in a map call
2017-01-07 08:43:34 -04:00
Honza Pokorny
e98e6bdf64
Add doc string to 'shell' config option
2017-01-07 08:43:09 -04:00
Michael Brumlow
180150bbc1
Fixes a slew of bounds issues.
2017-01-07 02:06:30 -06:00
Joe Wilm
bcd464aeec
Fix issue with some international inputs
...
cc #87 , #55
2017-01-06 22:11:54 -08:00
Manish Goregaokar
4e1f4c8cd7
Clippy fixes!
2017-01-06 20:44:51 -08:00
Manish Goregaokar
49187d53f2
Add nightly feature, use for unlikely intrinsic
2017-01-06 20:28:17 -08:00
Manish Goregaokar
fbeded8ac5
Remove need for inclusive ranges
2017-01-06 20:28:17 -08:00
Manish Goregaokar
c579d07993
Remove need for range_contains feature
2017-01-06 20:17:10 -08:00
Manish Goregaokar
ee5a9f1338
Replace need for drop_types_in_const with lazy_static
2017-01-06 20:17:10 -08:00
Manish Goregaokar
800b65622c
Remove need for step_by feature
2017-01-06 20:17:10 -08:00
Honza Pokorny
ea44427be3
Add "shell" option to config
...
This allows you to configure the shell to use when alacritty starts.
cc: #122
2017-01-06 22:07:35 -04:00
Manish Goregaokar
085800c330
Make plugin feature optional
2017-01-06 15:14:32 -08:00
Josh Leverette
4fad82bc26
Merge branch 'master' of github.com:coder543/alacritty
2017-01-06 15:02:13 -05:00
Josh Leverette
2dd5f0f45d
Handle invalid gotos more gracefully.
2017-01-06 15:00:15 -05:00
Joe Wilm
8d3f5f4e17
Fix panic when closing window
...
Resolves #81 .
2017-01-06 11:22:47 -08:00
Joe Wilm
99ef2bef9e
Add default macOS config
...
Should solve the `monospace` issue people are seeing for now.
2017-01-06 11:17:48 -08:00
quininer kel
2befe3681e
Write default config when not found
2017-01-06 11:17:33 -08:00
Joe Wilm
41f7fae34a
Merge pull request #60 from MagaTailor/master
...
Fix compilation on ARM/AARCH64
2017-01-06 08:31:29 -08:00
Joe Wilm
5f6dedd7d3
Handle EINTR in I/O loop
...
This fixes an issue where encountering some signals panicked the event
loop thread.
Resolves #76
2017-01-06 08:25:40 -08:00
Rudis Muiznieks
c0054d0fe2
Added --title argument to set window title
2017-01-06 09:18:23 -06:00
Taylor Trump
cf3e569800
Fix ARM
2017-01-05 15:22:51 +01:00
Taylor Trump
fb3a9fa80a
Fix ARM
2017-01-05 15:21:24 +01:00
quininer kel
0b157c4e92
Allow key_binding have space
2017-01-05 21:45:46 +08:00
Joe Wilm
693aefcbd7
Draw the screen when Refresh event arrives
...
cc #53
2017-01-04 19:54:29 -08:00
Joe Wilm
79d13c736e
Send correct character sequence with alt key
...
Resolves #46 .
2017-01-02 23:47:56 -08:00
Joe Wilm
1edfef4a32
Have default mouse and key bindings
...
This improves the situation where the user has not installed the default
configuration file.
Resolves #42 .
2017-01-02 20:42:57 -08:00
Joe Wilm
edd5dc7da5
Fix scrolling with SGR mode
...
Resolves #43 .
2017-01-02 20:25:28 -08:00
Joe Wilm
06991e6eee
Better error message when xclip is not available
...
Resolves #37 .
2017-01-02 20:15:24 -08:00
Joe Wilm
a105be82cf
Real support for placing config in XDG_CONFIG_HOME
...
Resolves #35 .
2017-01-02 20:05:31 -08:00
Joe Wilm
8630185639
Rework font loading
...
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-02 19:49:38 -08:00
Joe Wilm
7c794ada88
Improve error handling for shader initialization
...
Shader initialization errors at startup should print a nice message now.
2017-01-01 19:19:15 -08:00
Joe Wilm
d4e20a4741
Improve error handling for clipboard actions
...
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-01 19:09:27 -08:00
Joe Wilm
82bfc41af7
Add support for SGR mouse reporting
...
According to:
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking
2017-01-01 18:28:49 -08:00
Joe Wilm
a86dfd1a11
Print nice error messages for font loading errors
...
Resolves #22 .
2016-12-31 20:47:29 -08:00
Joe Wilm
2738969f29
Propagate font rasterizer errors
...
This allows consumers of the font crate to handle errors instead of the
library panicking.
2016-12-31 20:47:02 -08:00
Joe Wilm
72ff775b23
Improve RenderableCellsIter performance
...
Also adds a benchmark for cell.reset().
2016-12-29 21:56:49 -05:00
Joe Wilm
26ac1df0b1
Add Default impl for Cell
...
Just a bit of cleanup.
2016-12-29 21:43:55 -05:00
Joe Wilm
a91a3f2dce
Fix pty read sometimes not triggering draw
...
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.
2016-12-29 21:38:22 -05:00
Joe Wilm
b704dafb24
Fix some bugs with selections
...
Moving the window on macOS would cause a panic in certain circumstances.
2016-12-29 20:53:41 -05:00
Joe Wilm
818a2f6161
Add super hacky underline drawing
...
Using underscores because it's easy. It's also wrong.
cc #11
2016-12-29 16:05:32 -05:00
Joe Wilm
d06360216d
Hopefully fix read not triggering draw
...
The terminal mutex is no longer released between event processing and
doing a draw. This may fix the race condition with data arriving but not
being displayed until a subsequent event.
cc #29
2016-12-29 15:34:33 -05:00
Joe Wilm
689e0f4ad7
Unify Cursor, Location and name it Point
2016-12-29 11:09:29 -05:00
Joe Wilm
115a4085b4
Fix selection copy for long lines
...
Long lines were previously broken at the terminal width. Now, a wrapping
marker is kept on the final cell so that extra newlines are not
inserted.
2016-12-29 10:43:58 -05:00
Joe Wilm
0f1c742857
Minor cleanup in main()
2016-12-27 22:47:25 -05:00
Joe Wilm
8af19c3f0c
Fix bug with config reloading
...
The reloaded config was not used immediately.
2016-12-27 22:46:57 -05:00
Joe Wilm
ae470bf68b
Implement copying selection for macOS
...
Still need automatic loading into selection copy buffer for linux.
2016-12-26 22:56:19 -05:00