1
1
mirror of https://github.com/wader/fq.git synced 2024-11-29 23:27:12 +03:00
Commit Graph

1484 Commits

Author SHA1 Message Date
Mattias Wadman
5fb81a148b mp4: Add sym and description for traf sample flags 2022-12-09 16:22:43 +01:00
Mattias Wadman
3dee9ba099
Merge pull request #513 from wader/mp4-decode-hnti-hint
mp4: Decode hint and hnti child boxes
2022-12-08 20:59:20 +01:00
Mattias Wadman
1d6ce2c07a mp4: Decode hint and hnti child boxes 2022-12-08 20:47:33 +01:00
Mattias Wadman
8ad7d56c6d
Merge pull request #512 from wader/mp4-ilst-keys
mp4,decode: Properly decode ilst items (both mdta and mdir)
2022-12-08 16:12:20 +01:00
Mattias Wadman
83ccedc506 mp4,decode: Properly decode ilst items (both mdta and mdir)
Refactor mp4 decoder to be simpler and have fallback for unknown box type
Cleanup some old ilst hacks
Add generic string reader to decode API that takes an encoding parameters
2022-12-08 15:56:22 +01:00
Mattias Wadman
2b448a5c50
Merge pull request #510 from wader/bump-docker-golang-1.19.4
Update docker-golang to 1.19.4 from 1.19.3
2022-12-07 17:13:42 +01:00
Mattias Wadman
5c4d5f0d5e
Merge pull request #511 from wader/bump-github-go-version-1.19.4
Update github-go-version to 1.19.4 from 1.19.3, 1.19.3, 1.19.3
2022-12-07 17:13:37 +01:00
bump
519eff6c21 Update github-go-version to 1.19.4 from 1.19.3, 1.19.3, 1.19.3 2022-12-07 16:04:12 +00:00
bump
4fdb73625d Update docker-golang to 1.19.4 from 1.19.3 2022-12-07 16:04:07 +00:00
Mattias Wadman
d8560cc2c5
Merge pull request #509 from wader/update-wader-gojq
gojq: Update rebased fq fork
2022-12-07 16:53:44 +01:00
Mattias Wadman
6c86945125 gojq: Update rebased fq fork
Fix issue with JQValue:s in assig/update paths.

Rebase on upstream master, commits since last rebase:
c1a3ebd (tag: v0.12.10, origin/main) bump up version to 0.12.10
5294c9e update CHANGELOG.md for v0.12.10
319a797 update dependencies
20ca575 add notes on precedence of unary operators against variable binding
62ffdf7 fix break in try catch syntax
35c123b improve the order of test cases
fe0e20a improve performance of ascii_downcase, ascii_upcase functions
76648c7 improve match/2 to reduce syntax tree nodes just like splits/2
6a683bb improve the install targets in Makefile
6631dd3 escape the null character in csv, tsv, sh formats (close #200)
5253817 fix path value validation on getpath function (fix #198)
2022-12-07 16:45:08 +01:00
Mattias Wadman
5dd0e2a92c
Merge pull request #507 from wader/use-jqtest
dev,test: Use jqtest code from jqjq for jq tests
2022-12-05 21:00:09 +01:00
Mattias Wadman
57d11600a4
Merge pull request #508 from wader/text-unbreak-base64-test
text,test: Unbeak base64 tests
2022-12-05 20:59:20 +01:00
Mattias Wadman
423bab9e33 dev,test: Use jqtest code from jqjq for jq tests 2022-12-05 20:52:27 +01:00
Mattias Wadman
47a568e076 text,test: Unbeak base64 tests 2022-12-05 20:51:30 +01:00
Mattias Wadman
92eadf9876
Merge pull request #506 from wader/mp4-sidx-version1-duration
mp4: sidx version 1 segment_duration is s64
2022-12-05 17:15:47 +01:00
Mattias Wadman
a23fe618b0 mp4: sidx version 1 segment_duration is s64 2022-12-05 17:04:05 +01:00
Mattias Wadman
f4e13212b1
Merge pull request #505 from wader/doc-formats-some-pad
doc: Add some padding margin to formats table to make it less likely …
2022-12-05 12:42:37 +01:00
Mattias Wadman
2fc16ae22a doc: Add some padding margin to formats table to make it less likely to cause git conflicts 2022-12-05 12:25:00 +01:00
Mattias Wadman
e17355ba42
Merge pull request #504 from wader/bump-gomod-golang/text-0.5.0
Update gomod-golang/text to 0.5.0 from 0.4.0
2022-12-04 17:12:32 +01:00
bump
2a91d29358 Update gomod-golang/text to 0.5.0 from 0.4.0
Source diff 0.4.0..0.5.0 https://github.com/golang/text/compare/v0.4.0..v0.5.0
2022-12-04 16:03:39 +00:00
Mattias Wadman
2c4862c9fb
Merge pull request #498 from bitbears-dev/master
support tzif (time zone information format)
2022-12-04 13:21:19 +01:00
Mattias Wadman
d4898f39be
Merge pull request #503 from wader/doc-move-formats-svg-target
dev,doc,make: Cleanup makefile and have proper targets for *.md and *.svg
2022-12-04 13:18:48 +01:00
@0xb17bea125
fd22426b3d tzif: add help_tzif.fqtest 2022-12-04 21:04:15 +09:00
@0xb17bea125
c4e7fc7919 tzif: moved document to tzif.md 2022-12-04 21:04:13 +09:00
@0xb17bea125
4481a77a1c tzif: use scalar.Fn() to define a mapper ad hoc 2022-12-04 21:02:39 +09:00
@0xb17bea125
abde823a79 tzif: use PeekFindByte() to find end of the string 2022-12-04 21:02:39 +09:00
@0xb17bea125
2ee6360b97 support tzif (time zone information format) 2022-12-04 21:02:39 +09:00
Mattias Wadman
42debe5871 dev,doc,make: Cleanup makefile and have proper targets for *.md and *.svg
Update format dev docs to only generate README.md and doc/foramts.md to not
cause formats.svg conflicts.
2022-12-04 12:37:10 +01:00
Mattias Wadman
7f7bf1e125
Merge pull request #501 from wader/doc-usage-dev-tips
doc,dev: Add more usage and dev tips
2022-12-03 19:29:32 +01:00
Mattias Wadman
6fc84a885c doc,dev: Add more usage and dev tips 2022-12-03 19:00:47 +01:00
Mattias Wadman
1dd9c8759a
Merge pull request #500 from wader/rename-unknown-gap
decode,interp: Rename unknown gap fields from "unknown#" to "gap#"
2022-12-01 21:07:11 +01:00
Mattias Wadman
e77f776999 decode,interp: Rename unknown gap fields from "unknown#" to "gap#"
Think it makes it clearer and also less likely to collide with a field
name a deocder wants to use.
2022-12-01 20:43:30 +01:00
Mattias Wadman
012e7527f0
Merge pull request #499 from wader/bit-format-default-string
interp: Change default bits_format=string
2022-12-01 18:08:12 +01:00
Mattias Wadman
8d69f1fb23 interp: Change default bits_format=string
I think this is more intuitive but might in some case cause very large JSON output
but maybe that less common or expected. In does cases i think you either want to
use some other bits_format (md5, truncate, etc) or you delete/transform the jq value
before turn it into JSON.

Strings in gojq are binary safe so you can use to hold raw bytes. But note that
convert the binary into JSON is lossy, same as the JSON standard.

Add bits_format option documentation.
2022-12-01 17:49:34 +01:00
Mattias Wadman
36ea3a95cd
Merge pull request #497 from wader/help-nicer-line-break
interp,help: Properly count line length when breaking on whole words
2022-11-29 19:08:00 +01:00
Mattias Wadman
42d9f2c27d interp,help: Properly count line length when breaking on whole words
Whitespace between words were not counted
2022-11-29 18:59:32 +01:00
Mattias Wadman
684e24d1a4
Merge pull request #496 from wader/interp-mimic-jq-usage-only-expr-tty
interp: mimic jq: if expr arg is given read stdin even if tty
2022-11-29 18:56:28 +01:00
Mattias Wadman
ba88a68466 interp: mimic jq: if expr arg is given read stdin even if tty 2022-11-29 18:39:57 +01:00
Mattias Wadman
af71be2b64
Merge pull request #495 from wader/ctxstack-fix-trigger-before-push-panic
interp: Fix panic when trigger before any context has been pushed
2022-11-29 17:45:56 +01:00
Mattias Wadman
568afff3f0 interp: Fix panic when trigger before any context has been pushed
Make sure there is a top cancel function before calling it.
Fixes panic caused when interrupting decode before interp context has been pushed.

Also cleanup confusing naming a bit.

Thanks @pldin601 for reporting
2022-11-29 17:38:58 +01:00
Mattias Wadman
73ec686f7a
Merge pull request #492 from wader/mp4-png-mapping
mp4: Add png mapping
2022-11-25 20:00:25 +01:00
Mattias Wadman
ef2d5232ba mp4: Add png mapping
Also support samples decode for tracks without hdlr box
2022-11-25 19:49:18 +01:00
Mattias Wadman
a97d37ee42
Merge pull request #490 from wader/release-0.1.0
fq: Release 0.1.0
2022-11-24 16:26:04 +01:00
Mattias Wadman
bd4287b4ff fq: Release 0.1.0 2022-11-24 16:16:53 +01:00
Mattias Wadman
8af2905775
Merge pull request #488 from wader/mp4-decode-more-sample-flags
mp4: Decode more sample flags
2022-11-23 14:37:29 +01:00
Mattias Wadman
d75748d816 mp4: Decode more sample flags 2022-11-23 14:29:13 +01:00
Mattias Wadman
d1dbc2dc16
Merge pull request #486 from wader/matroska-fix-path
matroska: Fix path tests and make _tree_path more robust
2022-11-20 20:23:14 +01:00
Mattias Wadman
646f32d563 matroska: Fix path tests and make _tree_path more robust 2022-11-20 20:16:41 +01:00
Mattias Wadman
a68aeb4b7e
Merge pull request #485 from wader/replace-raw-bits-bytes
raw,bits,bytes: Replace raw format with bits and bytes format that de…
2022-11-20 20:09:32 +01:00