Commit Graph

14 Commits

Author SHA1 Message Date
Menno Finlay-Smits 4710948cd1 Decouple vttest tests from user's config (#258)
* Make DefaultConfig safer

Instead of having a global mutable DefaultConfig which might be
changed by anything during run/test time turn DefaultConfig into a
function which returns a fresh DefaultConfig. This is safer and more
convenient.

* Decouple vttest tests from user's config

The screen capture tests were failing on my machine because the screen
capture based vttest tests were using my personal config in
~/.config/aminal/config.toml. This had different colours and a fixed
DPI scaling factor which mean the screen captures didn't match.

The sixel tests were also failing because my login shell is a highly
customised zsh.

A static test config is now passed by the vttest tests and the shell
is set to "/bin/sh" on Linux, OSX etc to help avoid problems due to
differences between shells and shell configs.
2019-03-13 15:57:08 +02:00
Menno Finlay-Smits a355d10656 Add option for generating CPU profile (#248) 2019-03-07 15:02:33 +02:00
Menno Finlay-Smits 35193b7981 Gofmt (#216)
* Added Make targets for gofmt

- `make check-gofmt` will check for files that aren't gofmt compliant
- `make gofmt` will fix any gofmt error's in Aminal's source

Vendored files are ignored.

* Add gofmt check to TravisCI checks

* Fix gofmt errors
2019-02-14 16:45:53 +00:00
Max Risuhin 6ded551de9 Automate ci running of vttest Test of screen features (#209)
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2019-02-12 08:10:51 +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 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 026975d6b6 store config in XDG_CONFIG_HOME if available 2018-11-30 21:54:14 +00:00
Andrew Lavery 43321e96a9 fix typos identified by 'misspell' tool 2018-11-27 21:49:05 -08:00
Liam Galvin ea56961861 version alerts 2018-11-25 19:50:53 +00:00
Liam Galvin f47e47babd added version check 2018-11-25 19:08:48 +00:00
Liam Galvin dfa828468b releasing 2018-11-24 19:43:22 +00:00
Liam Galvin 15bb45df86 remove old config 2018-10-28 16:47:51 +00:00
Liam Galvin 7052982d32 Fix for zsh 2018-10-28 16:36:26 +00:00
Liam Galvin bd4dcb1fe4 tidy up main package 2018-10-23 15:31:47 +01:00