Commit graph

196 commits

Author SHA1 Message Date
Tom Hudson 13561bd633 Adds arm64 to build arch list 2022-04-13 15:23:37 +01:00
Tom Hudson badf401da5 Adds -v/--values option; updates release script 2022-04-13 14:57:28 +01:00
Tom Hudson 6d4fe18367 Removes older go version from .travis.yml 2020-11-07 01:17:42 +00:00
Tom Hudson 7e958f8f54
Merge pull request #78 from alblue/master
Allow running as ungron to perform --ungron automatically
2020-11-06 21:11:17 +00:00
Alex Blewitt 33df164523 Allow running as ungron to perform --ungron automatically
The executable is normally executed as `gron` which performs the gron
operation. However, in order to install it as `ungron`, an alias is not
necessary as a symbolic link can be used instead. When the program
detects that it is being run as an executable called `ungron` then it
will automatically set the `--ungron` argument.
2020-11-06 16:51:02 +00:00
Tom Hudson 602235e754
Merge pull request #59 from akavel/go-mod
add go.mod & go.sum for go modules support
2019-04-03 16:27:56 +01:00
Tom Hudson 16b87ecfde
Merge pull request #58 from akavel/master
simplify quoteString (make its code more uniform)
2019-04-03 16:26:48 +01:00
Tom Hudson 07465cfd65
Merge pull request #49 from saka1/long-ungron
Use larger buffer when ungron
2019-04-03 16:24:26 +01:00
Mateusz Czapliński 57a0165fce add go.mod & go.sum for go modules support 2018-12-07 00:04:39 +01:00
Mateusz Czapliński d34e9963b7 simplify quoteString
Benchmark results comparison:

benchmark                              old ns/op     new ns/op     delta
BenchmarkValidIdentifier-4             250           241           -3.60%
BenchmarkValidIdentifierUnquoted-4     423           418           -1.18%
BenchmarkValidIdentifierReserved-4     22.0          26.9          +22.27%
BenchmarkBigJSON-4                     84351117      83896179      -0.54%
BenchmarkStatementsLess-4              91.9          90.7          -1.31%
BenchmarkFill-4                        10096         9877          -2.17%
BenchmarkValueTokenFromInterface-4     2274          1977          -13.06%
2018-12-06 23:58:42 +01:00
Tom Hudson 6071b6f9ba
Merge pull request #54 from HaraldNordgren/go_versions
Bump Travis versions
2018-10-25 22:30:18 +01:00
Harald Nordgren a33c966433 Bump Travis versions 2018-10-20 12:03:13 +02:00
Tom Hudson 1616a25e4b
Merge pull request #52 from kseistrup/fish_completions
Completions for the fish shell
2018-10-02 13:10:02 +01:00
Klaus Alexander Seistrup 7f8323ee05 Initial commit of completions for the fish shell 2018-10-01 21:01:31 +02:00
saka1 a2fa995cab Use larger buffer when ungron 2018-08-25 03:26:15 +09:00
Tom Hudson 404b80f960 Adds 0.5.2, 0.6.0 to CHANGELOG 2018-07-05 10:22:56 +00:00
Tom Hudson bb64b21c9b Adds 0.5.2, 0.6.0 to CHANGELOG 2018-07-05 10:17:29 +00:00
Tom Hudson dc95f64ebe Trims whitespace on monochrome output; fixes #43 2018-07-05 10:11:16 +00:00
Tom Hudson 9a86739a17
Merge pull request #42 from csabahenk/master
Adds JSON encoded data format
2018-05-26 11:17:41 +01:00
Csaba Henk 7a90b02aaa Adds JSON encoded data format
The JSON representation of gron data makes
it smoother to grep the path component of the
entries, by virtue of not being rife with '[' and ']'
characters (unlike stadard gron data can be), which
are special in regex.

Also it makes it easy to create more complex filters,
as its easy for such programs to import and to emit
JSON represention gron of data.
2018-05-21 23:54:54 +02:00
Csaba Henk 7b5450d0e5 Abstracts away statement printing 2018-05-21 23:42:29 +02:00
Csaba Henk df86d25381 Makes it possible to extend bitfield option sequence with powers of two 2018-05-21 23:42:29 +02:00
Tom Hudson 5e6dfcdf9f
Merge pull request #44 from cwarden/long-stream
Allow Longer Rows In Stream Mode
2018-05-01 13:13:11 +01:00
Christian G. Warden bd91e9a38d
Allow Longer Rows In Stream Mode
Use a larger buffer in stream mode since the json can't be
pretty-printed before parsing by gron, and therefore may have long
lines.
2018-04-25 11:02:43 -07:00
Tom Hudson 193ed27b21
Merge pull request #41 from mattn/colorable
colors on Windows
2018-04-19 02:27:12 -07:00
Tom Hudson 66934d6bb7 Merge branch 'master' of github.com:tomnomnom/gron 2018-04-19 09:22:09 +00:00
Tom Hudson ffb5f99d37 Switches from MarshalIndent to json.Encoder with SetEscapeHTML(false); #43 2018-04-19 09:21:56 +00:00
Yasuhiro Matsumoto 23e25bf076
colors on Windows 2018-04-10 17:02:18 +09:00
Tom Hudson d63fa4f72a
Merge pull request #37 from 0100001001000010/master
Adds ungron shell script suggestion to README.mkd
2018-04-09 11:08:19 +01:00
Bruce Blore a9638ea536
Update README.mkd 2018-04-04 20:31:45 -07:00
Tom Hudson 87d5fcafcc Switches /usr/bin to /usr/local/bin in README; thanks /u/djmattyg007 :) 2018-04-04 11:08:26 +00:00
Tom Hudson 7a83de3fb5
Merge pull request #31 from SimePel/master
Reduces nesting and inverts validURL condition
2018-04-03 14:55:59 +01:00
SimePel 30431c4fcc Reduces nesting and inverts validURL condition 2018-04-03 20:13:46 +07:00
Tom Hudson 68db814bee Removed cname 2018-04-03 09:06:18 +00:00
Tom Hudson eb2ea121f8 Updates changelog ahead of 0.5.1 2018-01-02 00:04:35 +00:00
Tom Hudson cd6ec77687 Fixes bug with handling of empty identifier 2018-01-01 23:57:43 +00:00
Tom Hudson 2655679390 Create CNAME 2017-11-07 20:14:26 +00:00
Tom Hudson c463f7ed03 Adds clarifying comments to statements.Less() 2017-06-30 11:10:34 +00:00
Tom Hudson 4b59306778 Splits key removal advanced example into two parts 2017-06-30 10:59:11 +00:00
Tom Hudson 206d29367f Adds alias to advanced usage doc to improve readability 2017-06-30 10:54:57 +00:00
Tom Hudson 5085de6bcc Adds 0.5.0 to CHANGELOG 2017-02-22 20:52:42 +00:00
Tom Hudson 2b5515fb7f Merge pull request #27 from jagsta/master
allow insecure https connections
2017-02-22 20:49:18 +00:00
Jag Bains b30f17221a Merge pull request #1 from tomnomnom/https-insecure-tweaks
Tweaks linter settings; updates help output in README
2017-02-22 20:48:13 +00:00
Tom Hudson 914a83502a Tweaks linter settings; updates help output in README 2017-02-22 20:27:07 +00:00
Bains 0dd0a41c4d goimports 2017-02-22 17:12:22 +00:00
Bains c22eb10b98 adds support for insecure https 2017-02-22 14:54:47 +00:00
Tom Hudson 1230c65e87 Adds credit to orivej for colorize option 2017-01-31 20:33:51 +00:00
Tom Hudson 91c33f009d Adds 0.4.0 to changelog 2017-01-31 20:17:24 +00:00
Tom Hudson f9157487e9 Adds escape sequence tracking to acceptUntilUnescaped; fixes #25 2017-01-31 20:10:29 +00:00
Tom Hudson e45f552087 Merge pull request #24 from orivej/colorize-flag
Add --colorize flag to force colorization
2017-01-28 09:28:29 +00:00