Taylor Brent
61c7f57d2b
Fix vendoring
2019-02-15 17:25:37 -08:00
02b86a0e35
Update README.md
...
Add troubleshooting section
2018-10-24 09:31:50 -05:00
fa1386d9c5
Use go mod
for vendoring
2018-10-24 07:42:04 -05:00
7d7e0bfcd3
Add simple 'read-only' mode.
...
It just closes the database as soon as it's done loading it.
To refresh, you have to close out and reopen.
2018-04-26 09:13:13 -05:00
6261d4da06
Updated Dependencies
2018-04-26 07:05:07 -05:00
fe0290c14e
Merge pull request #22 from gabstv/master
...
Print only valid (non control) UTF8 characters
2018-02-01 14:27:19 -06:00
Gabriel Ochsenhofer
e973a8c7ed
stringify key/val
2018-02-01 13:51:25 -02:00
f289915a70
Merge pull request #20 from andrewslotin/18-timeout_if_db_is_locked
...
Timeout if DB is locked
2017-10-13 12:03:53 -05:00
Andrew Slotin
c7d3622f7a
Update README
2017-10-13 22:23:02 +07:00
Andrew Slotin
d506dad041
Print out usage message to STDERR
...
`flag.PrintDefaults()` writes to `os.Stderr`, therefore the "Usage"
part should go there as well.
2017-10-13 22:23:02 +07:00
Andrew Slotin
4ab47545f7
Pass db open timeout via command-line flag
2017-10-13 22:23:02 +07:00
Andrew Slotin
4eadc39e27
Log error and exit if the db file could not be opened within 1s
2017-10-13 18:57:28 +07:00
e903cbcea6
Merge pull request #19 from andrewslotin/add_flags_support
...
Add flags support
Add *.db to .gitignore
Exit with status code 2 (command misuse) if no files were given
2017-10-12 06:57:08 -05:00
Andrew Slotin
6bfd6215e6
Exit with status code 2 if no files were given
...
By convention exit(1) is reserved for general errors, while exit(2)
means command misuse. Stdlib `flags` package invokes `os.Exit(2)`
after printing out the usage message. This commit changes the empty
files list exit code to be aligned with this behavior.
2017-10-12 11:52:33 +07:00
Andrew Slotin
46e67d5848
Add --help flag support
...
Currently executing `boltbrowser --help` creates a file with name
`--help` in the current working directory, which is counterintuitive.
This commit adds command-line flags support to boltbrowser and changes
it to print out the usage message instead.
2017-10-12 11:47:00 +07:00
Andrew Slotin
3c22c6227b
Add *.db to .gitignore
...
To avoid committing BoltDB database files by accident.
2017-10-12 11:46:12 +07:00
8733dcb5e3
Updated Dependency (Fix Ctrl+U Behavior)
2017-09-04 09:32:57 -05:00
4d25527218
Add links to pre-built binaries
2017-08-30 09:10:43 -05:00
97cc915452
Vendored Dependencies
...
Also removed some commented out code
2017-08-30 08:55:08 -05:00
ca8240e06d
Fixed bug that occurred with sub-buckets around level 4
2017-05-18 08:17:58 -05:00
9946fceba7
Merge branch 'master' of github.com:br0xen/boltbrowser
2017-04-28 16:07:08 -05:00
ff35f76c1f
Merge pull request #12 from shawnps/patch-1
...
fix images markdown in README
2017-04-28 08:31:38 -05:00
Shawn Smith
500e04e180
fix images markdown in README
2017-04-24 13:06:21 +09:00
6639f93834
Prep for right pane scrolling
2017-04-05 12:49:05 -05:00
bbef340848
Fixed issue with bucket/key/value having '/'
2017-04-05 11:29:28 -05:00
6b6a241245
Merge pull request #11 from aerth/invalid-db
...
handle non-bolt files with a simple error screen
2017-04-05 07:07:06 -05:00
aerth
e10337092f
handle the case of single nonbolt file
2017-04-04 20:31:40 -07:00
aerth
ae584be0b8
handle non-bolt files without needing to reset terminal
2017-04-04 20:13:50 -07:00
82c105e8c3
Add filename to browser title bar
2017-04-04 16:41:15 -05:00
e83f065faa
Merge pull request #10 from aerth/multi
...
Allow user to open multiple files, for example 'boltbrowser *.db'
2017-04-04 16:33:16 -05:00
f2d0291391
Merge pull request #9 from aerth/const2var
...
Consider allowing compiler to reassign the value of ProgramName
2017-04-04 16:32:44 -05:00
aerth
9cc6944303
Allow user to open multiple files, for example 'boltbrowser *.db'
2017-04-04 14:19:07 -07:00
aerth
0a10386457
Allow compiler to reassign the value of ProgramName
...
Can use ldflags in build line such as:
-ldflags='-X main.ProgramName=${NAME}"'
2017-04-04 14:08:08 -07:00
a3019e1e0a
Merge pull request #7 from chilts/install-and-usage
...
Add install and usage info to the README
2016-12-30 07:30:48 -06:00
Andrew Chilton
af8cc1ccc1
Add install and usage info to the README
2016-12-31 00:40:07 +13:00
e1430823a8
Added export functions
...
* (x) - Export value as string
* (X) - Export key/value or bucket as JSON
2016-12-29 15:23:58 -06:00
6a2dc9f776
Truncate long bucket names
2016-12-29 12:43:10 -06:00
8dba00b972
Truncate extra-long lines in the left pane
2016-12-29 12:33:09 -06:00
4c01d82dfa
'D' is delete, not 'd'
...
Resolves github issue #3
2016-06-27 07:29:59 -05:00
354b6641b6
Add comment explaining mainloop_windows.go
2016-06-27 07:23:56 -05:00
ca7e8555bd
Merge pull request #2 from louy2/guard-signal
...
Guard signal
2016-05-09 10:42:24 -05:00
fb91d0fdfa
Merge pull request #1 from louy2/remove-signal
...
Fix windows build
2016-05-09 10:42:13 -05:00
Yufan Lou
97df7c742a
Add default mainLoop with syscall
2016-05-06 05:04:04 +08:00
Yufan Lou
6710b98ca9
Move mainLoop without C-z to windows-specific file
2016-05-06 04:59:09 +08:00
Yufan Lou
c05b306cf6
Fix import: remove pkg syscall
2016-05-06 04:53:46 +08:00
Yufan Lou
e9702239da
Fix windows build
...
No UNIX signals are defined under windows, so Ctrl-Z sending SIGSTOP to self is removed.
2016-05-06 03:50:04 +08:00
b473d98f1a
Updated termbox-util library
2016-02-19 08:48:51 -06:00
447d135216
Merge branch 'master' of gogs.bullercodeworks.com:brian/boltbrowser
2016-02-09 10:13:20 -06:00
ff02fa104d
Fix a few things
2015-12-01 15:24:43 -06:00
9a45937d0f
Wrap long bucket/pair names/values
2015-12-01 15:20:52 -06:00