1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 22:34:14 +03:00
Commit Graph

1278 Commits

Author SHA1 Message Date
Mattias Wadman
a1cade5390
Merge pull request #412 from wader/interp-decode-struct-byname
interp,decode: For struct use map to lookup field
2022-09-01 11:44:02 +02:00
Mattias Wadman
768df3012c interp,decode: For struct use map to lookup field
Will make it faster for struct with logs of fields and seems to
not cuase any significant difference for small structs.

All this really needs a rewrite somehow, maybe refactor into interfaces somehow? getting messy.
2022-09-01 11:35:19 +02:00
Mattias Wadman
16ebdc1f39
Merge pull request #411 from pnsafonov/perf2
perfomance: increase performance by map usage
2022-09-01 09:47:51 +02:00
Pavel Safonov
7cd43b4919 perfomance: increase performance by map usage 2022-09-01 09:36:50 +03:00
Mattias Wadman
6748b4dccf
Merge pull request #407 from wader/more-golang-x-exp
generics: Use more from x/exp
2022-08-31 11:03:30 +02:00
Mattias Wadman
226a9a3e08 generics: Use more from x/exp 2022-08-31 10:50:56 +02:00
Mattias Wadman
e14cb49ba9
Merge pull request #406 from wader/range-sort-speedup
range,decode: Use own range sort impl to speed up a bit
2022-08-30 19:49:09 +02:00
Mattias Wadman
6a6fec54f5 range,decode: Use own range sort impl to speed up a bit 2022-08-30 15:24:19 +02:00
Mattias Wadman
a87616763e
Merge pull request #405 from wader/sort-refactor
sortex: Package with type safe sort helpers
2022-08-30 11:11:10 +02:00
Mattias Wadman
7d86534348 sortex: Package with type safe sort helpers 2022-08-30 11:02:57 +02:00
Mattias Wadman
e0bd489668
Merge pull request #404 from wader/matroska-lacing
matroska: Add proper lacing support
2022-08-28 21:13:50 +02:00
Mattias Wadman
7749e1b5b9 matroska: Add proper lacing support 2022-08-28 21:03:26 +02:00
Mattias Wadman
32c16dd839
Merge pull request #402 from wader/bitcoin-blkdata-has-header
bitcoin_blkdat,bitcoin_block: Make sure there is a header if blkdat
2022-08-26 12:40:04 +02:00
Mattias Wadman
004406de65 bitcoin_blkdat,bitcoin_block: Make sure there is a header if blkdat
Makes bitcoin_blkdat fails fast as it is part of probe group.
Speeds up reading a big JSON file etc.
2022-08-26 12:07:53 +02:00
Mattias Wadman
6bbfc66051
Merge pull request #388 from wader/release-0.0.9
fq: Release 0.0.9
2022-08-25 17:40:00 +02:00
Mattias Wadman
1997b4b3eb fq: Release 0.0.9 2022-08-25 17:29:09 +02:00
Mattias Wadman
d8fdf28ece
Merge pull request #401 from wader/xml-at-attr-prefix
xml: Switch from "-" to "@" as attribute prefix and make it an option
2022-08-25 17:24:46 +02:00
Mattias Wadman
095e1161b7 xml: Switch from "-" to "@" as attribute prefix and make it an option
Seems to be more common.
2022-08-25 17:15:23 +02:00
Mattias Wadman
de40f5cbbf
Merge pull request #400 from wader/ci-no-race-for-windows-macos
ci: Skip -race for windows and macos
2022-08-25 17:14:31 +02:00
Mattias Wadman
5d5f799bab
Merge pull request #399 from wader/xml-more-ns
xml: Even more namespace fixes
2022-08-25 17:06:17 +02:00
Mattias Wadman
9238251bd0 ci: Skip -race for windows and macos
Is slower and think should be ok
2022-08-25 17:06:03 +02:00
Mattias Wadman
716323cea1 xml: Even more namespace fixes
fromXML*: Collect namespaces before resolving to not relay on attribute order.
toXML*: Sort attributes, prefer non-namescaped first.
2022-08-25 15:45:09 +02:00
Mattias Wadman
0f42196ae3
Merge pull request #398 from wader/columnerwriter-rewrite
columnwriter,dump: Add Column interface and refactor into BarColumn a…
2022-08-24 22:00:17 +02:00
Mattias Wadman
913f5780f4 columnwriter,dump: Add Column interface and refactor into BarColumn and MultiLineColumn
This removes bar column drawing responsility from already complicated dump code.

Start of dump code refactor that will enable configurable columns and proper column truncate/wrap.
2022-08-24 21:48:56 +02:00
Mattias Wadman
e47fe218d6
Merge pull request #397 from wader/dump-correct-columns
interp,dump: Correctly flush columns if data will be shown
2022-08-24 21:29:19 +02:00
Mattias Wadman
d8792fd104 interp,dump: Correctly flush columns if data will be shown
Before addrbar ended up in data and also redudant colunms was added
2022-08-24 21:14:26 +02:00
Mattias Wadman
a27fdfe746
Merge pull request #396 from wader/prores
prores_frame: Add basic container and frame header decoder
2022-08-24 19:46:43 +02:00
Mattias Wadman
8fc43533a9 prores_frame: Add basic container and frame header decoder 2022-08-24 19:33:35 +02:00
Mattias Wadman
00abdc984b
Merge pull request #394 from wader/bump-make-golangci-lint-1.49.0
Update make-golangci-lint from 1.48.0 to 1.49.0
2022-08-24 18:20:01 +02:00
Mattias Wadman
0e860fb675
Merge pull request #395 from wader/bump-github-golangci-lint-1.49.0
Update github-golangci-lint from 1.48.0 to 1.49.0
2022-08-24 18:19:19 +02:00
bump
fa9fec3000 Update github-golangci-lint from 1.48.0 to 1.49.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.49.0
2022-08-24 16:03:59 +00:00
bump
004eb5641e Update make-golangci-lint from 1.48.0 to 1.49.0
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.49.0
2022-08-24 16:03:56 +00:00
Mattias Wadman
fc0414dfc1
Merge pull request #393 from wader/fqtest-speedup
Speed up tests by fixing script parser output collecting and run tests in parallell
2022-08-23 20:24:23 +02:00
Mattias Wadman
64b236591f fqtest: Run tests in parallell 2022-08-23 20:08:44 +02:00
Mattias Wadman
dc32ac08e2 script: Use strings.Builder to collect output
String concat Caused exponential slowdown
2022-08-23 20:08:44 +02:00
Mattias Wadman
38984dd311
Merge pull request #383 from bitbears-dev/wasm-support
Add WASM format
2022-08-23 15:49:14 +02:00
@0xb17bea125
074c22c955
wasm: add -timeout 20m for go test to workaround ci test fail 2022-08-23 22:13:15 +09:00
@0xb17bea125
f73965d2a3
wasm: add wasm to probe list 2022-08-23 21:19:07 +09:00
@0xb17bea125
ae4529c491
wasm: run golangci-lint run --fix 2022-08-23 21:12:29 +09:00
@0xb17bea125
bcc0dfd9f0
wasm: fix comment format 2022-08-23 21:09:56 +09:00
@0xb17bea125
2eb1750574
wasm: update tests 2022-08-23 21:07:44 +09:00
@0xb17bea125
cd037c514d
wasm: add comment to clarify lazy initialization 2022-08-23 17:46:00 +09:00
@0xb17bea125
db8021c931
wasm: define and use constants for some insturctions 2022-08-23 08:42:34 +09:00
Mattias Wadman
644344fca0
Merge pull request #392 from wader/gojq-update-path-fix
gojq: Update fq fork
2022-08-22 16:00:25 +02:00
Mattias Wadman
804ad1e2a2 gojq: Update fq fork
Fixes https://github.com/itchyny/gojq/issues/186
skip appending path while variable argument evaluation
2022-08-22 15:42:14 +02:00
Mattias Wadman
a3d05db894
Merge pull request #390 from wader/dev-fuzz-help
dev,fuzz: Add some useful retrigger snippets
2022-08-22 15:21:27 +02:00
@0xb17bea125
abcc736653
add ULEB and SLEB to known words for spell check 2022-08-22 21:48:12 +09:00
@0xb17bea125
e5cf1731e3
wasm: make the godoc formatter happy 2022-08-22 21:30:49 +09:00
@0xb17bea125
d5d9e738b6
wasm: use FieldULEB128() / FieldSLEB128() defined in the upstream 2022-08-22 21:09:26 +09:00
Mattias Wadman
15f7c67a51 dev,fuzz: Add some useful retrigger snippets 2022-08-22 14:03:56 +02:00