Commit graph

1383 commits

Author SHA1 Message Date
Daisuke Maki 9c2bbf92ce Fix a few low hanging fruits 2020-12-22 20:30:20 +09:00
Daisuke Maki 0ec5ad84d5 remove cross compilation from CI 2020-12-22 19:45:03 +09:00
Daisuke Maki 984928c8c9 use go test directly 2020-12-22 19:35:10 +09:00
Daisuke Maki dfcb142913 remove @ for debugging 2020-12-22 19:11:27 +09:00
Daisuke Maki 44e75e1ad3 quote 2020-12-22 19:09:05 +09:00
Daisuke Maki 8baacdbec9 See if we can run this on windows 2020-12-22 18:33:50 +09:00
Daisuke Maki 8298894a53 handle a few low hanging fruits, and remove termbox from them
Other termbox specific implementations are now in files with
termbox_ prefixes
2020-12-22 18:29:35 +09:00
Daisuke Maki ce2d7f812a Remove termbox-go from various places
* Events are now abstracted.
* Screen is abstracted.
* Printing is encapsulated in a "Command"
2020-12-22 18:19:58 +09:00
Daisuke Maki 8386dfeb67 remove termbox from layout_test.go 2020-12-21 15:31:30 +09:00
Daisuke Maki c17284ae6e Migrate to Github Actions 2020-12-21 15:30:01 +09:00
Daisuke Maki 85b1052c7b disable this test because we're not using this anymore 2020-12-21 15:16:26 +09:00
Daisuke Maki a9a6e1e39d Decouple printing from the common API.
Remove termbox from layout.go
2020-12-21 14:48:13 +09:00
Daisuke Maki 8075a29013 First pass at removing termbox from common APIs
Start tackling from styles. This commit still should break
the existing application, as there are still instances where
the termbox-native styles are accessed directly via struct field
lookups.

Because we separated colors from attributes, you can no longer
simply refer to Style.fg without merging them aith the attributes
such as bold, underline, etc.

Meanwhile, in order to fix tests we have dicovered the existance
of os.UserHomeDir(), so we're going to use that.
2020-12-21 13:12:03 +09:00
lestrrat 4045ebad41
Merge pull request #514 from dthadi3/ppc64le
Travis-ci: added support for ppc64le
2020-12-03 07:53:22 +09:00
Devendranath Thadi 80cc79651d Travis-ci: added support for ppc64le 2020-12-02 11:23:36 +00:00
lestrrat 9e70017663
Merge pull request #513 from peco/syohex/fix-double-cursor-issue
Fix double cursor issue
2020-10-23 12:33:57 +09:00
Shohei YOSHIDA 1ee7eade47 Fix double cursor issue 2020-10-23 11:59:56 +09:00
lestrrat 8417a33e75 docs: update toc 2020-08-14 06:47:22 +00:00
lestrrat ed54c2d02d
Update README.md 2020-08-14 15:47:01 +09:00
lestrrat 21baa08c54
Merge pull request #509 from neuenmuller/toc-push
Use SSH deploy for TOC update
2020-08-14 15:25:11 +09:00
sarisia 7dce295f0e use ssh deploy 2020-08-12 15:42:07 +09:00
lestrrat 1b7d631c07
Merge pull request #508 from neuenmuller/fix-toc
Fix TOC in README.md
2020-08-12 13:18:52 +09:00
sarisia 653e368e2f add TOC section to README 2020-08-12 11:36:20 +09:00
sarisia 3c5fc2c915 use patched toc-generator in workflow 2020-08-12 11:36:01 +09:00
lestrrat e8c3231ea8
Merge pull request #506 from peco/release/v0.5.8
This be v0.5.8
2020-07-18 20:25:23 +09:00
Daisuke Maki e82bb34767 This be v0.5.8 2020-07-18 20:12:52 +09:00
lestrrat 8d38aa104c
Merge pull request #505 from narugit/feature/support-256colors
Support 256color
2020-07-18 20:09:30 +09:00
narugit e00862063c Add contributor (apply 256color) 2020-06-06 21:44:08 +09:00
narugit 5832d4aff3 Modify test to apply 256color feature 2020-06-06 21:44:00 +09:00
narugit a7cd43ff22 Apply 256color configuration 2020-06-06 21:38:11 +09:00
narugit a14f3abf35 Add configuration for 256color 2020-06-06 21:38:11 +09:00
narugit dc845d6028 Update README for 256color 2020-06-06 21:37:56 +09:00
Daisuke Maki 9c4464680c for whatever reason, I couldn't resolve #503, so here it is 2020-05-28 07:37:02 +09:00
Daisuke Maki 458682b9db Remove darwin-386, as it is no longer supported 2020-05-28 07:35:51 +09:00
lestrrat c1fffe19e8
Merge pull request #504 from imbsky/toc-gen
Use GitHub Actions to keep our ToC up to date
2020-05-28 07:31:54 +09:00
lestrrat 358871840d
Merge branch 'master' into toc-gen 2020-05-28 07:31:45 +09:00
lestrrat d2378d0d4c
Merge pull request #502 from imbsky/macos
Correct the name of macOS
2020-05-28 07:28:08 +09:00
Sora Morimoto fe2b4b56f8 Add toc.yml 2020-05-28 04:03:06 +09:00
Sora Morimoto 822a38601a Remove table of contents section from README 2020-05-28 04:03:06 +09:00
lestrrat ffc06167f8
Merge pull request #500 from pniedzwiedzinski/patch-1
Add AUR installation instruction
2020-05-27 06:25:34 +09:00
Sora Morimoto 1f0b384376 Correct the name of macOS 2020-05-27 05:35:03 +09:00
Patryk Niedźwiedziński 45e7fc6452
Add AUR installation instruction 2020-03-21 19:09:22 +01:00
lestrrat 9a06ebeedf
Merge pull request #496 from peco/release/v0.5.7
This be v0.5.7
2020-01-10 12:53:38 +09:00
Daisuke Maki 1b1d197911 This be v0.5.7 2020-01-10 12:45:00 +09:00
lestrrat 05485f5ce5
Merge pull request #495 from peco/topic/issue-494
Handle batch mode differently when the source is an infinite stream
2020-01-10 12:28:10 +09:00
Daisuke Maki b749b6191b some cleanups 2020-01-10 12:19:44 +09:00
Daisuke Maki 71c4c48efe properly set the requested value 2020-01-10 11:57:28 +09:00
Daisuke Maki 305a208ca2 remove non-applicable comments/commented sections/debug statements 2020-01-10 11:55:12 +09:00
Daisuke Maki 143638649c Add a new flag to pass to NewSource to detect infinite source
my previous detection for continueous input was completely wrong.
Now we just assume that anything coming in from Stdin could be infinite.
Additionally, in case we think it's infinite but we were actually able
to close the Reader stream, we consider it non-infinite after that
point.
2020-01-10 09:28:39 +09:00
Daisuke Maki 43ee9051f8 Fix blocking issue cased by #491
... by punting the problem when the input is an infinite stream.
This commit fixes the blocking, but the subsequent queries don't seem
to be properly running

refs #494
2020-01-09 20:22:18 +09:00