Commit Graph

128 Commits

Author SHA1 Message Date
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
Takayuki Maeda
cb77f95505 remove useless lines 2021-09-06 23:06:54 +09:00
Takayuki Maeda
4e6f7704b8 add todos 2021-09-06 23:06:04 +09:00
Takayuki Maeda
281a02b433
Merge pull request #58 from TaKO8Ki/manage-cli-version
Manage gobang version
2021-09-06 22:49:36 +09:00
Takayuki Maeda
4a2908b843
Merge pull request #57 from TaKO8Ki/update-usage-gif
Update gobang.gif
2021-09-06 22:39:32 +09:00
Takayuki Maeda
919d0753f0 create version module 2021-09-06 22:34:23 +09:00
Takayuki Maeda
83b3e21997 use version module 2021-09-06 22:34:07 +09:00
Takayuki Maeda
8f7608fbb7 update gobang.gif 2021-09-06 22:31:27 +09:00
Takayuki Maeda
c2ee3776dd
Merge pull request #56 from TaKO8Ki/logo
Add logo
2021-09-06 19:41:13 +09:00
Takayuki Maeda
26975db651 arrange key map 2021-09-06 19:39:01 +09:00
Takayuki Maeda
accdcfc594 update keymap and sample config 2021-09-06 18:45:27 +09:00
Takayuki Maeda
34f7fd3777 fix logo 2021-09-06 18:32:13 +09:00
Takayuki Maeda
9888b1c139 add logo 2021-09-06 18:27:17 +09:00
Takayuki Maeda
d4ecb961bc
Merge pull request #55 from TaKO8Ki/config-validation
Config validation
2021-09-06 18:25:38 +09:00
Takayuki Maeda
78ba8459ad implement a log macro 2021-09-06 16:10:06 +09:00
Takayuki Maeda
3c1e6d13e9 early return error 2021-09-06 16:09:30 +09:00
Takayuki Maeda
7cc4bb7eb1 fix table status 2021-09-06 16:09:09 +09:00
Takayuki Maeda
00f3bf7ede
Merge pull request #54 from TaKO8Ki/move-table-status
Move table_status under table
2021-09-05 23:53:08 +09:00
Takayuki Maeda
4a3d32cf9b fix clippy warnings 2021-09-05 23:40:48 +09:00
Takayuki Maeda
1cd7ddf425 use a outside scroll bar with no borders 2021-09-05 23:20:42 +09:00
Takayuki Maeda
6bc3afef12 move table_status under table 2021-09-05 22:50:38 +09:00
Takayuki Maeda
3a8529f9be
Merge pull request #51 from TaKO8Ki/support-sqlite
Support SQLite
2021-09-04 00:19:48 +09:00
Takayuki Maeda
ce312c435a get index_name 2021-09-03 23:31:03 +09:00
Takayuki Maeda
ba3dcaad69 add queries for SQLit 2021-09-03 16:31:23 +09:00
Takayuki Maeda
06039f1397 add a connection for SQLite 2021-09-03 16:31:02 +09:00
Takayuki Maeda
4dbf3fd922 upper case 2021-09-03 16:30:40 +09:00
Takayuki Maeda
e37fd22266
replace gitui with gobang (#53) 2021-09-02 17:28:07 +09:00
Takayuki Maeda
bba5883c5f create sqlite module 2021-08-29 12:18:31 +09:00
Takayuki Maeda
c56f1836ed sleep 2 2021-08-28 18:51:21 +09:00
Takayuki Maeda
413b422ab7
add README to database-tree (#50) 2021-08-28 18:40:47 +09:00
Takayuki Maeda
b4a1cc792d
Publish database-tree (#49)
* publish database-tree

* use v0.1.0-alpha.1

* always run cargo publish
2021-08-28 18:30:32 +09:00
Takayuki Maeda
95d6e8b2b4
v0.1.0-alpha.1 (#48) 2021-08-28 17:52:11 +09:00
Takayuki Maeda
24c9b27a43
Add Configuration section to README (#47)
* add configuration section to README

* fix README

* update gobang.gif

* remove name field
2021-08-28 17:47:49 +09:00
Takayuki Maeda
ae639a3da2
get indexes (#46) 2021-08-28 17:16:38 +09:00
Takayuki Maeda
40f5c69a13
Pass config file path as a command line argument (#45)
* pass config file as an argument

* update keymap
2021-08-28 15:42:44 +09:00
Takayuki Maeda
1d7d6b48dc
get foreign keys (#44) 2021-08-28 14:01:11 +09:00
Takayuki Maeda
2a0abf65cb
Add constraints tab (#41)
* get constraints

* replace / with .

* add constraint tab

* return TableRow

* remove comment column

* fix clippy warnings
2021-08-28 12:46:33 +09:00
Takayuki Maeda
99961aea72
remove column type pattern matching (#40) 2021-08-19 22:29:58 +09:00
Takayuki Maeda
f3e2436a1e
Scrolling multiple lines in databases and connections (#37)
* scrolling multiple line in databases and connections

* multiple lines scrolling in databases
2021-08-17 03:18:46 +09:00
Takayuki Maeda
d493f46875
Use command for clipboard instead of copypasta (#36)
* use copy command instead of copypasta

* remove a step for installing dependencies

* rename copy_string to copy_to_clipboard
2021-08-08 23:25:22 +09:00
Takayuki Maeda
5da6b1b796
Support PostgreSQL (#35)
* move utils into database module

* draw help in connections view

* support postgres

* add table_schema field

* implement Pool for Postgres

* fix database tree for postgres

* add tests for selection_top, bottom

* fix clippy warnings

* remove unused function

* get schema

* fix clippy warnings

* show user defined types

* fix cell with when selecting far right cell

* split tests into tree functions

* convert TEXT[] to Vec<String>

* add prefix

* remove column pattern matching
2021-08-08 20:57:40 +09:00
Takayuki Maeda
8f26ffed09
Highlight filter keywords (#34)
* highlight filter keywords

* remove src from gitignore

* move tree_nav

* remove unneeded line

* refactor databases component

* fix variable names

* update gobang.gif

* add scroll_up_down_multiple_lines command help

* add tests for tree_item_to_span
2021-08-03 12:32:29 +09:00
Takayuki Maeda
07b2b5090f
Add key config (#33)
* implement key config

* use key config in help component

* use key config in databases component

* use key config in error component

* use key config in connections component

* set commands

* use database/table as a table component name

* fix a test for get_text

* use key config in tab component

* fix function name

* add focus_connections key

* use quit exit key
2021-08-01 01:03:39 +09:00
Takayuki Maeda
3c00d78326
Implement Help component (#32)
* implement help compoment

* fix database filter

* add column types

* fix clippy warnings

* help scrolling

* panic if type is not implemented yet

* not panic but return error

* add decimal

* add a test for get_text

* fix clippy warnings
2021-07-29 19:47:36 +09:00
Takayuki Maeda
c768ffd461
Refactor Table component (#31)
* fix table component field names

* refactor function name

* add a test for is_number_column

* fix variable names

* make some fields private
2021-07-25 23:34:51 +09:00
Takayuki Maeda
7e8291be22
Select multiple cells (#30)
* select multiple cells

* define `expand_selected_area_x`, `expand_selected_area_y`

* make some table component fields private

* fix keymap

* fix a cell selection bug in page 2 and after

* add tests for `is_selected_cell` and `selected_cells`

* select cells while scrolling right

* calculate the number of cells considering cell spacing

* add tests for expand_selected_area

* add comments

* implement `reset`

* fix clippy warnings
2021-07-25 19:22:31 +09:00