Commit Graph

123 Commits

Author SHA1 Message Date
Takayuki Maeda
dbe9634b4c use HOME env 2021-09-20 02:12:57 +09:00
Takayuki Maeda
d4210c6e78 fix home dir 2021-09-19 16:39:26 +09:00
Takayuki Maeda
4a63e63ee7 use HOMEPATH 2021-09-19 14:57:06 +09:00
Takayuki Maeda
f0fc293d0e fix typo 2021-09-19 14:43:06 +09:00
Takayuki Maeda
cdc31c369c fix compile error on Windows 2021-09-19 14:36:35 +09:00
Takayuki Maeda
855935708c implement expand_path 2021-09-19 14:30:25 +09:00
Takayuki Maeda
2d43c705a9 join path 2021-09-18 01:26:15 +09:00
Takayuki Maeda
19661421df expand tlide in path field 2021-09-17 16:41:02 +09:00
Takayuki Maeda
78d1297452
Refactor filter components (#114)
* prevent cursor from sticking out of paragraph

* define StatefulDrawableComponent

* use database filter component

* fix event order
2021-09-17 15:16:31 +09:00
Takayuki Maeda
9c46512f70
Add the way to install gobang on NetBSD (#118)
* add the way to install gobang on NetBSD

* separate OS with commas
2021-09-17 09:36:08 +09:00
Takayuki Maeda
950992df8d
Enable to change database tree width (#99)
* add a border width

* add a left_chunk_percentage field

* add keys for extending widget width

* fix completion pop-ups so that they do not protrude from frame

* use expand_or_shorten_widget_width

* handle extend shorten widget width event after component events

* add tests

* add command description

* add tests

* change commands help order

* fix extend_or_shorten_widget_width help

* change left_chunk_percentage to left_main_chunk_percentage
2021-09-16 13:20:11 +09:00
Takayuki Maeda
3b7f837724
pass token to cargo-workspaces (#113) 2021-09-16 00:29:20 +09:00
Takayuki Maeda
acaec96204
v0.1.0-alpha.5 (#112) 2021-09-15 20:14:32 +09:00
Takayuki Maeda
4fc75b3a6d
increase database connection timeout (#109) 2021-09-15 18:02:00 +09:00
Takayuki Maeda
283e835c94
fix job name (#103) 2021-09-15 00:00:04 +09:00
Takayuki Maeda
6c1e41ebdb
v0.1.0-alpha.4 (#102) 2021-09-14 23:18:36 +09:00
Takayuki Maeda
ef8194b449
Fix SQL syntax error in PostgreSQL get_record (#101)
* fix SQL syntax error

* v0.1.0-alpha.4

* revert database-tree version
2021-09-14 22:55:16 +09:00
Takayuki Maeda
6615a235a7
Filter completion (#88)
* create completion component

* add move_up/down

* fix variable name

* pass config

* create debug component

* remov set

* add reserved words

* remove equal

* allow dead code

* always reset offset

* apply completion candidates correctly

* implement selected_candidate, word

* fix clippy warnings

* complete

* add tests for complete

* fix variable name

* fmt

* add tests for `filterd_candidates`

* add "IN" to reserved words

* remove "IN"

* add test cases

* add debug_assertions

* return complete directly

* add s

* make input field private

* update gobang.gif
2021-09-12 15:50:59 +09:00
Takayuki Maeda
7796947b76
add "what does gobang come from" (#94)
* add "what does gobang come from"

* move section
2021-09-12 02:10:35 +09:00
Takayuki Maeda
61c9298dc6
Merge pull request #93 from utam0k/improvement/get_or_null
improve  the `row.try_get()`
2021-09-12 01:22:48 +09:00
utam0k
204f3a9d79 remove a unnecessary code. 2021-09-12 01:12:09 +09:00
utam0k
922c605b39 use else if to ensure that try_get is only called once. 2021-09-12 01:04:11 +09:00
utam0k
08a70fe76d reduce duplicate codes bacause of try_get() to make it a little easier to read. 2021-09-12 00:58:35 +09:00
Takayuki Maeda
ecf6fb0bd7
Fix usage (#91)
* update gobang.gif

* compress GIF

* add `gobang -h`

* update gobang.gif
2021-09-11 14:16:13 +09:00
Takayuki Maeda
1ffb2c36c0
Integrate table_value into table (#90)
* integrate table_value into table

* remove wrap

* remove wrap and alignment
2021-09-11 13:07:53 +09:00
Takayuki Maeda
241cf9136e
Change GIF speed (#89)
* update gobang.gif

* update gobang.gif

* update gobang.gif

* remove gobang

* update gobang.gif
2021-09-10 22:04:07 +09:00
Takayuki Maeda
7fb3565992
use pool options (#86) 2021-09-10 01:13:21 +09:00
Takayuki Maeda
f42ebafe68
Enter to expand database tree (#85)
* enter to expand database tree

* always check if the key is enter

* return current_selection

* fix clippy warnings
2021-09-09 17:05:25 +09:00
Takayuki Maeda
6f8b13714a
Add number type to postgres (#78)
* add number type to postgres

* fix README

* add bool type to postgres

* add contribution section
2021-09-08 13:04:50 +09:00
Takayuki Maeda
ce1ea291d2
install cargo-workspaces (#77) 2021-09-08 11:05:17 +09:00
Takayuki Maeda
69ec8b232b Merge branch 'main' of github.com:TaKO8Ki/gobang 2021-09-08 10:33:38 +09:00
Takayuki Maeda
e82d78ea00
v0.1.0-alpha.3 release (#75)
* create FUNDING.yml

* v0.1.0-alpha.3
2021-09-08 10:29:43 +09:00
Takayuki Maeda
3c3a496b73 Merge branch 'main' of github.com:TaKO8Ki/gobang 2021-09-08 10:24:03 +09:00
Takayuki Maeda
0fb5d77dc6
Add password field to config (#74)
* create FUNDING.yml

* add password field

* add a example using password field to README
2021-09-08 10:23:32 +09:00
Takayuki Maeda
95a0824f6b Merge branch 'main' of github.com:TaKO8Ki/gobang 2021-09-08 00:26:58 +09:00
Takayuki Maeda
2c49d2b786
create FUNDING.yml (#71) 2021-09-08 00:23:29 +09:00
Takayuki Maeda
039d316be6 create FUNDING.yml 2021-09-08 00:23:01 +09:00
Takayuki Maeda
f513189c58
add key for connections (#70) 2021-09-07 23:17:32 +09:00
Takayuki Maeda
01f3a26bac
Add the way to install gobang using homebrew (#68)
* add the way to install gobang using homebrew

* fix formula name
2021-09-07 23:01:18 +09:00
Takayuki Maeda
d41cef225e
exclude images (#66) 2021-09-07 22:12:44 +09:00
Takayuki Maeda
09f4eeda83
Use cargo-workspaces for publishing multiple crates (#67)
* use cargo-workspaces

* add git information
2021-09-07 22:11:09 +09:00
Takayuki Maeda
55fec4cc35
v0.1.0-alpha.2 release (#65) 2021-09-07 19:51:49 +09:00
Takayuki Maeda
c3cdc3950b remove if line 2021-09-07 19:41:30 +09:00
Takayuki Maeda
99130c0660
Create LICENSE (#64)
* Create LICENSE

* remove unused files
2021-09-07 19:30:38 +09:00
Takayuki Maeda
d8f35cb2a7
nightly to stable (#63) 2021-09-07 19:18:22 +09:00
Takayuki Maeda
1437f71717
Bump up dependency versions (#62)
* bump up dependency versions

* fix ci.yml

* turn off incremental compilation

* bump up sqlx version

* fix rust

* remove unused features

* add profile

* optimize proc macro

* default features false in database-tree

* remove sqlx from database-tree

* remove --release

* fix

* bump up opt-level 2

* 1

* sqlx 3

* remove profile

* remove windows gnu

* remove windows-gnu

* cache dependencies

* remove windows gnu

* fix typo
2021-09-07 19:10:27 +09:00
Takayuki Maeda
07357f2a3b add fail-fast to release 2021-09-07 02:02:41 +09:00
Takayuki Maeda
271aac9db8
Cross-platform release (#61)
* cross-platform release

* fix style
2021-09-07 01:38:40 +09:00
Takayuki Maeda
be9a1c87ec
Some minor modifications (#60)
* remove unused dependencies

* add table indexes to help

* fix description

* fix placeholder

* reset selection

* fix structopt description

* add usage section

* add the way to add connections

* remove a space
2021-09-07 00:41:44 +09:00
Takayuki Maeda
f1bc32b057
Merge pull request #59 from TaKO8Ki/add-todo
Add TODOs
2021-09-06 23:09:09 +09:00