Commit graph

143 commits

Author SHA1 Message Date
Guillermo Rauch
8ec362652c Merge branch 'master' of github.com:zeit/hyper 2017-02-18 00:56:01 -03:00
Guillermo Rauch
9f9da68408 use string based RPC for data events for better perf 2017-02-18 00:55:48 -03:00
Henrik
7a8591bfaf fix uifontfamily reducer (#1550) 2017-02-18 00:37:42 -03:00
Guillermo Rauch
361db6190e avoid layout recalculation upon scrollport resize 2017-02-18 00:27:29 -03:00
Henrik
ade9ad39fd add configurable uifontfamily (#1549)
* add configurable uifontfamily

* rm uifontfamily config default

* fix uifontfamily conf default
2017-02-18 00:15:55 -03:00
Guillermo Rauch
21bd2a7bf1 Merge branch 'master' of github.com:zeit/hyper 2017-02-17 21:34:52 -03:00
Guillermo Rauch
b7362d18aa term: specify line-height in px 2017-02-17 21:34:28 -03:00
Henrik
0ee48c9841 add hterm cursor blink support (#1547)
* add hterm cursor blink support

* update website with cursorblink doc
2017-02-17 21:11:23 -03:00
Guillermo Rauch
27cf69fea3 Revert "fix for line-height that makes emojis be perfectly aligned with text"
This reverts commit 19907ff8e0.
2017-02-17 17:21:55 -03:00
Guillermo Rauch
19907ff8e0 fix for line-height that makes emojis be perfectly aligned with text 2017-02-17 17:17:01 -03:00
Henrik
368a426b01 fix tab text alignment issue (#1543) 2017-02-17 16:48:56 -03:00
Guillermo Rauch
fe6e2977bd 8 times faster matching of enter key within incoming pty data
https://jsperf.com/exec-vs-match-vs-test-vs-search/5
2017-02-17 02:47:09 -03:00
Guillermo Rauch
75b37b7690 Merge branch 'master' of github.com:zeit/hyper 2017-02-17 02:43:05 -03:00
Guillermo Rauch
414503d63b add comment about optimization 2017-02-17 02:42:44 -03:00
Henrik
600f815dff set select color based on caret color (#1532) 2017-02-16 17:56:20 -03:00
Henrik
78709d93cf add better support for narrow tabs (#1527)
* add better support for narrow tabs

* add title for tabs
2017-02-16 15:41:04 -03:00
CHaBou
75b5eb7d3f Fix replaceParent reducer on termgroup exit (#1494) 2017-02-16 14:24:35 -03:00
Martin van Driel
ada6807969 Fix xo linting errors (#1521) 2017-02-16 14:22:27 -03:00
Guillermo Rauch
2e58e568d6 @tibotiber unfortunately I have to undo this line because it was breaking vtop and braille characters 2017-02-16 02:16:59 -03:00
Guillermo Rauch
95141ac537 debounce session data events based on request animation frame 2017-02-16 02:16:41 -03:00
Thibaut Tiberghien
172d487055 Fix display of unicode characters (#1376)
* Fix display of unicode characters

* Fix unicode display issues and CJK cursor
2017-02-16 00:59:11 -03:00
Matheus Fernandes
6842e8500a
Make quickEdit true by default on Windows 2017-02-15 18:51:13 -03:00
Guillermo Rauch
6cda6cad96 Revert "Define widths for BEAM and UNDERLINE cursors (#1389)"
This reverts commit 4a085895e4.
2017-02-15 18:49:49 -03:00
Liudas Dzisevicius
270fe5bef9 [Windows] Add right click copy/paste (#1247)
* Add right click copy/paste

* Add quick edit config option
2017-02-15 17:22:09 -03:00
Matheus Fernandes
d4c1d08701 Revert "Open Preferences in Default JS Editor on Windows" (#1510) 2017-02-15 12:12:48 -03:00
Stefan Ivic
ed282560fb [UI] Make scrollbar look the same on all platforms (#1442)
* [UI] Make scrollbar look the same on all platforms

Linux suffers from the same issue as other platforms where the scrollbar is that ugly electron style. 
This commit will fix this and make it look the same on all platforms and cut down code.

* linter : Use const instead of let

* naming : make the constant easy to understand

The previous code used a variable to define code specific to the os. 
Since we combined the code for all platforms it is not required anymore, so I changed the name to be more understandable to the person reading the code.

* [UI] Make scrollbar look the same on all platforms

Linux suffers from the same issue as other platforms where the scrollbar is that ugly electron style. 
This commit will fix this and make it look the same on all platforms and cut down code.

* linter : Use const instead of let

* naming : make the constant easy to understand

The previous code used a variable to define code specific to the os. 
Since we combined the code for all platforms it is not required anymore, so I changed the name to be more understandable to the person reading the code.
2017-01-27 23:16:41 -02:00
Matheus Fernandes
b4943a05e9 🐛 Fix copy/paste shortcuts on Windows/Linux 🎉 (#1406) 2017-01-18 13:19:11 -02:00
Matheus Fernandes
232295a195 Add the cwd to the redux state (#1412) 2017-01-15 14:40:47 -08:00
Matheus Fernandes
f8d5dcd060
🐛 Fix a regression from the previous commit and a comment 2017-01-14 18:12:08 -02:00
Matheus Fernandes
e5c076e82f
🐛 Focus the current tab after switch from a new one – closes #1273 2017-01-14 17:56:18 -02:00
Louis-André Labadie
4a085895e4 Define widths for BEAM and UNDERLINE cursors (#1389) 2017-01-11 15:53:40 -08:00
Jon Galloway
6a9b3f74c5 Open Preferences in Default JS Editor on Windows (#1138)
* Open Preferences in Wordpad on Windows

Notepad doesn't handle `\n` line breaks, Wordpad does. 

Fixes #1126.

* Update: Use Win editor from reg

If not found, or set to notepad.exe (which can't handle line breaks), show hyper.js config file in folder so user can open in editor of their choice.

* Fixes for Windows

Fixed shell reference, corrected lint errors.

* Fixes for Windows

Fixed shell reference, corrected lint errors.

* Fixes for Windows

Fixed shell reference, corrected lint errors.

* Always show .hyper.js in folder for prefs

* Always show .hyper.js in folder for prefs

* Fixed electron import
2017-01-10 21:49:32 -08:00
Paul Betts
0ff1cb9584 Windows titlebar improvements (#1307)
* Make double-clicking on the titlebar work

* We don't actually need this

* Draw a Restore icon when the window is Maximized

* Update React State when BrowserWindow changes behind our back

* Cleanup

* Don't show the border if the window is maximized

* Fight with the linter
2017-01-10 21:45:49 -08:00
Albin Ekblom
95e98006c0 Cleanup getWindowHeaderConfig (#1378) 2017-01-10 14:05:19 -08:00
Guillermo Rauch
12ae25a60b 20% faster bootup time (#1350)
* bump webpack, babel and include babili

* fix for babili

* add heuristics for faster v8 parsing

* lint fixes

* fix windows build. infinitely grateful to @stefanivic for helping us test windows
2017-01-09 13:32:15 -08:00
Guillermo Rauch
74df6920e9 fix decoding race condition with new terminal sessions (#1366) 2017-01-09 16:05:44 -02:00
Gabriel Peña
ed990d473b Scrollbar Fix on Mac. Fixes issue #100 (#1354)
* Fix Scrollbar appearance on webkit mac

* fix linting issues
2017-01-07 17:50:00 -08:00
chabou
1b6d925524 Prevent loosing focus after a char composition ended by Tab key. Fix #1341 (#1349) 2017-01-06 17:46:54 -08:00
Tim Neutkens
f6eaef9457 Expose decorate to plugins (#1261) 2016-12-31 20:26:10 -08:00
Vitaly Domnikov
5a164d0a1d fix line height layout (#1322) 2016-12-29 19:19:16 -08:00
Theodore Dubois
ccf818de5a Add support for cursor styles 5 and 6 to hterm (#1286)
This fixes #270, cursor shape changing in Neovim.
2016-12-24 10:29:52 -08:00
Philippe Potvin
c7f195ba01 Fix ctrl+c to close WebView 🍾 (#1287)
* rm hyperCaretFocus => prevent callstask

* keep caret component
2016-12-21 07:19:41 -08:00
Philippe Potvin
b2f67c73e4 Fix url interpretation (#1259)
* Fix url interpretation

* update regex
2016-12-17 14:17:58 -08:00
Vitaly Domnikov
25fcf3a6a4 Update terminal clear method (#1239) 2016-12-15 17:48:47 -08:00
Vitaly Domnikov
38909e3f16 fix COMMAND-K (#1235) 2016-12-15 13:45:48 -08:00
Philippe Potvin
4943e4a2f8 Fix key focus (#1218) 2016-12-15 11:08:36 -05:00
Kevin Ramsunder
63ab44778b Do not match extra '.' symbol in domain regex (#1216) 2016-12-14 19:21:22 -05:00
Vitaly Domnikov
d6316dd209 🚀 Performance tuning & bugfix (#1111)
* Perfomance tuning

* cleanup matchesContainer method

* fixes #1131
2016-12-14 11:18:15 -08:00
David Barsky
16976bb60d added corner radius to component/notification.js (#889) 2016-12-12 22:38:19 +01:00
Vitaly Domnikov
4264493147 Increase x-row line height (#1107) 2016-12-09 20:35:29 -05:00