Commit Graph

400 Commits

Author SHA1 Message Date
nikitar020 22a5e8063a Implement three selection modes: char, word, and line. Make selection work in the same way as in Putty. (#191) 2019-02-04 13:24:49 +00:00
Max Risuhin f7b162e83e Avoid double mutex lock on programmatic resize (#192) 2019-02-04 08:26:34 +00:00
rrrooommmaaa 0c7499bf7e Vttest 2 (#190)
* added Tab Stops support

* added support for Screen Mode (DECSCNM) -- reverse colors

* bug fix: cursor rendition in Origin Mode

* bug fix: SGR parameters handling

* Save/Restore Cursor updates. Partial charset implementation.
2019-02-01 17:03:41 +00:00
nikitar020 aad680440d Fix the bug when carriage returns doubled on input (#188)
fix tests
2019-01-31 18:48:55 +00:00
nikitar020 6ccfba976f Make launching URLs on Windows work (#185) 2019-01-30 15:43:15 +00:00
nikitar020 9190afef8a Fix issue: sometimes it cuts selected text when copying to clipboard (#186) 2019-01-30 15:43:08 +00:00
rrrooommmaaa 23797d50f3 Vttest 2 (#187)
* added Tab Stops support

* added support for Screen Mode (DECSCNM) -- reverse colors

* bug fix: cursor rendition in Origin Mode
2019-01-30 15:42:55 +00:00
nikitar020 97fe7362ce
Add "select with mouse to copy" / "right click to paste" functionality (#181) 2019-01-29 14:56:03 +00:00
Max Risuhin 23cf1e8b7d Update loginshell to version with Windows support (#184) 2019-01-29 14:06:58 +00:00
Liam Galvin 8cdbe2517d
Tidy up opengl logging to prevent false bug reports (#176)
* add missing deps

* tidying
2019-01-27 14:12:52 +00:00
Liam Galvin a07ac1b469
Add missing dependencies (#177) 2019-01-27 14:12:31 +00:00
rrrooommmaaa d2214b7915 added Tab Stops support (#175) 2019-01-27 11:56:23 +00:00
rrrooommmaaa 4e7b8b40e7 Vttest (#173)
* Correct handling of DeviceAttributes request

* added DECCOLM support

* added DECALN control sequence support

* added NEL support

* bug fix: Erase To Cursor should be inclusive

* added support for 'Origin Mode' (DECOM) -- top/bottom margins only

* vttest test 1 screen 3: margin tests fixes

* added support for intermediate controls inside CSI sequence

* added support for LNM (Line Feed/New Line Mode)

* removed obsolete 'intermediate' parameter

* window resize on programmatic CSI resize

* DECCOLM should clear screen on both set and reset

* bug fix in autowrap mode

* TestCursorMovement runs all test cases; screen template images updated

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>

* bug fix: line mode messing with autowrap

* added ResetVerticalMargins() method

* IsAutoWrap(), IsNewLineMode()

* corrected DECALN

* fixed NEL to work in Line Feed mode

* tyding up: removed map of 1 element

* Terminal state moved out from buffer

* fix
2019-01-25 22:43:56 +00:00
nikitar020 3ea8a70874 Clear selection on "reset mode" sequence (#172) 2019-01-25 18:17:04 +00:00
nikitar020 04bcd68a1c Change default color scheme to a most popular and simple (#168) 2019-01-25 08:11:57 +00:00
nikitar020 fd4fee17d9 Prevent shell program from keeping alive after Aminal is closed (#165) 2019-01-24 13:06:49 +00:00
Max Risuhin 2d2f4c95cc Do not trigger window resizing work if no change in dimensions (#164)
* Do not trigger window resizing work if no change in dimensions;
Redundant dpiScale removed from GUI; dpiScale used to calculate desired size in pixels.

* Keep last applied window size

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2019-01-24 13:05:12 +00:00
rrrooommmaaa 9c60167ca8 Vttest (#162)
* Correct handling of DeviceAttributes request

* added DECCOLM support

* added DECALN control sequence support

* added NEL support

* bug fix: Erase To Cursor should be inclusive

* added support for 'Origin Mode' (DECOM) -- top/bottom margins only

* vttest test 1 screen 3: margin tests fixes

* added support for intermediate controls inside CSI sequence

* added support for LNM (Line Feed/New Line Mode)

* removed obsolete 'intermediate' parameter

* window resize on programmatic CSI resize

* DECCOLM should clear screen on both set and reset

* bug fix in autowrap mode

* TestCursorMovement runs all test cases; screen template images updated

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>

* bug fix: line mode messing with autowrap

* added ResetVerticalMargins() method

* IsAutoWrap(), IsNewLineMode()

* corrected DECALN

* fixed NEL to work in Line Feed mode

* tyding up: removed map of 1 element
2019-01-24 13:03:47 +00:00
Max Risuhin 27424d40dc Map input key codes to lower case (#163) 2019-01-24 12:57:45 +00:00
Max Risuhin 16ea4133cb Run and validate vttest on Travis (#159)
* Run vttest on Travis to validate active buffer data and screenshot.

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>

* Add deps sources to vendor

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2019-01-21 18:48:46 +00:00
nikitar020 1b843e338d In order to cope with high memory consumption, remove the 'rectangles' member from OpenGLRenderer structure (#152) 2019-01-17 12:18:31 +00:00
nikitar020 6f11a23e6a Fix memory leaking (#156) 2019-01-17 12:17:51 +00:00
nikitar020 43072eb024 Changes to minimize memory allocations and to ensure OpenGL objects cleanup (#148) 2019-01-14 20:50:03 +00:00
Liam Galvin 4242442980
Reduce default font size (#141) 2019-01-10 20:55:37 +00:00
rrrooommmaaa c674cbd5c7 Correct handling of DeviceAttributes request (#139) 2019-01-10 20:55:17 +00:00
nikitar020 89eea0921d Bug: mouse cursors leaks (#136) 2019-01-10 18:58:30 +00:00
Max Risuhin 84c0069785 Erase cell with default background colour (#137) 2019-01-10 18:58:03 +00:00
Max Risuhin 3d07409232 Sixel Part 2. Ignore embedded by Windows CSI and OSC sequences. (#132)
* Sixel Part 2. Ignore embedded by Windows CSI and OSC sequences.

* Sixel Step 3. Recover original Sixel sequence from Windows formatting
2019-01-10 14:09:32 +00:00
Liam Galvin 0555569cbf Fix changelog formatting 2019-01-09 12:48:41 +00:00
Liam Galvin f10d612aba Fix changelog formatting 2019-01-09 12:41:07 +00:00
Max Risuhin 76f883032f Fix -ignore-config flag behavior (#134)
* Fix the behavior of the -ignore-config command line flag

* Fix the bug with determining which flags are actually provided in the command line
2019-01-09 14:21:10 +07:00
Max Risuhin ab80fcd44e
Fix the bug when the application became unresponsible when minimizing (#133) 2019-01-09 01:11:06 +02:00
Liam Galvin 10a962746f
Create CODEOWNERS 2019-01-08 10:10:13 +00:00
Liam Galvin 9c5e10ae32
Add changelog to releases (#126)
* Add changelog

* Add changelog
2019-01-07 20:34:02 +00:00
Liam Galvin 6b64af362c Fix broken API key 2019-01-07 13:24:21 +00:00
Liam Galvin 7c05f37823
Switch to travis (#125) 2019-01-07 12:34:56 +00:00
Liam Galvin c60ca4778a
Update README.md (#124) 2019-01-07 12:14:23 +00:00
Max Risuhin a8ed9d472e Windows support and enhancements. (#123)
*  Windows support and enhancements.

 - Added basic platform abstraction layer for Pty and Process creation;
 - Added "platform" package that exposes a few interfaces and provides implementations for different platforms;
 - Windows build and dev env setup instructions;
 - Setup Travis and deploy git tags to GItHub releases;
 - Window scaling awares of monitor's dpi;
 - Resolved memory leaks on window resizing;
 - Default limit for terminal's buffer length.

Co-authored-by: nikitar020 <nikitar020@mail.ru>
Co-authored-by: Max Risuhin <risuhin.max@gmail.com>
Co-authored-by: Roman Shevchenko <rrrooommmaaa@mail.ru>

* ReadMe updated with Windows support; Detecting of currently used monitor.
2019-01-07 12:00:08 +00:00
Liam Galvin 4b97358eb0
Fix newline at end of buffer issue (#122)
* Fix newline at end of buffer issue

* Fix newline at end of buffer issue
2019-01-04 13:47:28 +00:00
Liam Galvin d4c684c9b5
Merge pull request #119 from liamg/vttest-changes
Prevent vttest crash with bounds checking
2019-01-04 13:18:04 +00:00
Liam Galvin 6931354579
Merge branch 'master' into vttest-changes 2019-01-04 13:13:50 +00:00
Liam Galvin bf90bfb334
Update Makefile 2018-12-06 13:38:13 +00:00
Liam Galvin 6c3252e47c
Merge pull request #114 from liamg/readme-updates
readme updates
2018-12-06 13:34:04 +00:00
Liam Galvin 81673ef366 readme updartes 2018-12-06 13:31:34 +00:00
Liam Galvin 387e3539c0 build fix again 2018-12-06 13:23:04 +00:00
Liam Galvin 1b264f3c9c emergency brew fix 2018-12-06 13:07:46 +00:00
Liam Galvin 5b79cdbca0
Merge pull request #113 from liamg/prepare-build-for-homebrew
homebrew preparation
2018-12-06 12:57:14 +00:00
Liam Galvin 8d8e9166ab homebrew preparation 2018-12-06 12:54:17 +00:00
Liam Galvin f89e60e130
Merge pull request #112 from liamg/config-details-in-readme
Added more detail about config loading to README
2018-12-05 12:58:40 +00:00
Liam Galvin efb83433fa Added more detail about config loading to README 2018-12-05 12:53:36 +00:00