1
1
mirror of https://github.com/wader/fq.git synced 2024-10-03 23:17:50 +03:00
Commit Graph

2757 Commits

Author SHA1 Message Date
Mattias Wadman
e927a94ca1
Merge pull request #1017 from wader/demo-less-width
doc: Less wide demo image to make it scale down less
2024-09-27 10:53:38 +02:00
Mattias Wadman
b9b14c64b2 doc: Less wide demo image to make it scale down less 2024-09-27 10:39:36 +02:00
Mattias Wadman
b5b9dd82ac
Merge pull request #1016 from wader/debug-compat
interp: debug/* should use DEBUG: not DEBUG
2024-09-26 12:11:07 +02:00
Mattias Wadman
77da7647ac interp: debug/* should use DEBUG: not DEBUG 2024-09-26 12:00:35 +02:00
Mattias Wadman
8155a9cd27
Merge pull request #1015 from wader/stderr-raw-string
interp: Output raw strings for stderr/0
2024-09-24 12:53:11 +02:00
Mattias Wadman
f8bb502e2c interp: Output raw strings for stderr/0
Same as jq

Also some cleanup and simplifications
2024-09-24 12:25:46 +02:00
Mattias Wadman
9857323e5d
Merge pull request #1014 from wader/release-0.13.0
fq: Release 0.13.0
2024-09-21 17:14:42 +02:00
Mattias Wadman
713d078f09 fq: Release 0.13.0 2024-09-21 17:01:29 +02:00
Mattias Wadman
f81a2e5838
Merge pull request #1013 from wader/update-doc
doc: Regenerate
2024-09-21 16:32:33 +02:00
Mattias Wadman
a195b3fcc3 doc: Regenerate 2024-09-21 16:21:42 +02:00
Mattias Wadman
c8baedf314
Merge pull request #1012 from fiatjaf/negentropy
Add Negentropy format
2024-09-20 08:17:12 +02:00
fiatjaf
e3c7b1a34b negentropy: another test from a different source, another doc entry, comments on source of test samples. 2024-09-19 21:47:09 -03:00
fiatjaf
3853387176 negentropy: const modes, RFC3339 dates and synthetic timestamps. 2024-09-19 16:06:12 -03:00
fiatjaf
8f9a005776 negentropy: timestamp description as UTC. 2024-09-18 23:36:09 -03:00
fiatjaf
49bd7c27fd negentropy: add format. 2024-09-18 16:39:40 -03:00
Mattias Wadman
f150085735
Merge pull request #1011 from wader/go1.22-update-linter
go,lint: Update to go 1.22 and fix some lint warnings
2024-09-12 12:07:39 +02:00
Mattias Wadman
7b6d8532fd go,lint: Update to go 1.22 and fix some lint warnings 2024-09-12 11:44:38 +02:00
Mattias Wadman
8d55f92ca0
Merge pull request #1010 from wader/matroska-spec-update
matroska: Update spec
2024-09-12 11:29:47 +02:00
Mattias Wadman
52e6e1b1fb matroska: Update spec
Update generator to support hex values
2024-09-12 11:09:41 +02:00
Mattias Wadman
a683ab4a04
Merge pull request #1009 from wader/bump-make-golangci-lint-1.61.0
Update make-golangci-lint to 1.61.0 from 1.60.3
2024-09-10 21:30:03 +02:00
bump
42998836b7 Update make-golangci-lint to 1.61.0 from 1.60.3
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.61.0
2024-09-10 16:04:00 +00:00
Mattias Wadman
21f7558502
Merge pull request #1008 from wader/bump-gomod-ergochat-readline-0.1.3
Update gomod-ergochat-readline to 0.1.3 from 0.1.2
2024-09-09 23:21:53 +02:00
bump
9e29682379 Update gomod-ergochat-readline to 0.1.3 from 0.1.2
Release notes https://github.com/ergochat/readline/releases/tag/v0.1.3
2024-09-09 16:04:16 +00:00
Mattias Wadman
79cc2b70f1
Merge pull request #1007 from wader/doc-update
doc: Update formats.svg
2024-09-08 18:59:20 +02:00
Mattias Wadman
be9a9164ad doc: Update formats.svg 2024-09-08 17:40:00 +02:00
Mattias Wadman
dcbb94d59d
Merge pull request #1004 from transcriptaze/midi
MIDI file decoder: first draft
2024-09-08 10:42:09 +02:00
twystd
3966d5bedb midi: tightened up status/event decoding logic (cf. https://github.com/wader/fq/pull/1004#issuecomment-2334916357) 2024-09-07 14:46:01 -07:00
twystd
9c7f7f961a midi: fixes for PR comments:
- Renamed 'tracks' section to 'content' (cf. https://github.com/wader/fq/pull/1004#discussion_r1746651234)
- Removed 'validation only' errors (cf. https://github.com/wader/fq/pull/1004#issuecomment-2333464662)
- Decoded MThd divisions field with SMPTE timecode
2024-09-06 15:41:57 -07:00
Mattias Wadman
227a0bc099
Merge pull request #1006 from wader/bump-docker-golang-1.23.1
Update docker-golang to 1.23.1 from 1.23.0
2024-09-06 21:28:01 +02:00
bump
ea3294f779 Update docker-golang to 1.23.1 from 1.23.0 2024-09-06 16:04:05 +00:00
twystd
87c80f5776 midi: fixes for PR comments
- Reworked event types as snake-case (cf. https://github.com/wader/fq/pull/1004#discussion_r1745101588)
- Decoded 'alien' chunks (cf. https://github.com/wader/fq/pull/1004#discussion_r1745082089)
2024-09-05 15:50:51 -07:00
twystd
9f057b6760 midi: fixes for PR comments
- Removed handling for non-MIDI chunks (cf. https://github.com/wader/fq/pull/1004#discussion_r1743889501)
- Removed redundant chunk length asserts (cf. https://github.com/wader/fq/pull/1004#discussion_r1743883995)
- Removed redundant header FieldArray (cf. https://github.com/wader/fq/pull/1004#discussion_r1743921309)
- Replaced FieldUintFn with FieldUnn for SMTPEOffsetEvent (cf. https://github.com/wader/fq/pull/1004#discussion_r1743930829)
- Added note to midi.md re. supported chunks
2024-09-04 13:36:35 -07:00
twystd
17bac771df midi: removed superfluous uint64 cast (cf. https://github.com/wader/fq/pull/1004#discussion_r1740783338) 2024-09-03 11:19:34 -07:00
Mattias Wadman
3403ea310d
Merge pull request #1005 from wader/ci-CGO_ENABLED-0
ci: Add CGO_ENABLED=0 to make sure we dont need it
2024-09-03 11:38:07 +02:00
Mattias Wadman
2c0b52896a ci: Add CGO_ENABLED=0 to make sure we dont need it 2024-09-03 11:18:41 +02:00
twystd
a3a0a06932 midi: simplifed and cleaned up MIDI 'fq' tests:
- reduced format 0, format 1 and format 2 test files to basic MIDI skeleton
- reworked reference.mid file as a test/development sample only
- added fq tests for the single event MIDI files
- updated examples to use twinkle.mid
2024-09-01 16:41:38 -07:00
twystd
a7d0cde9f6 midi: cleaned up and simplied event decoding logic
- delineated NoteOn and NoteOff events
- simplified MIDI event decoding with function map
- decoded MIDI event and channel as nibbles
- reworked system exclusive event decoding
- fixed peekEvent to correctly decode end of file events
2024-09-01 16:41:38 -07:00
twystd
578b7e78e3 midi: restructured event decoding to decode length and struct fields (cf. https://github.com/wader/fq/pull/1004#discussion_r1737105173)
- restructured and simplified metaevent decoding
- restructured and simplified  MIDI event decoding
- added sample events for remaining metaevents
- moved MIDI test and sample files to testdata/midi
- fixed fuzzing fail 8450de010e750ed5
2024-09-01 16:41:26 -07:00
twystd
e940f4766f midi: reworked metaevent decoding for PR comments
- fixed remaining snake-cased event names in tests and examples (cf. https://github.com/wader/fq/pull/1004#discussion_r1737054466)
- report 'status' and 'event' seperately (cf. https://github.com/wader/fq/pull/1004#discussion_r1737085013)
- decoded TimeSignature metaevent as length + byte fields (cf. https://github.com/wader/fq/pull/1004#discussion_r1737105173)
- decoded SequencerSpecificEvent metaevent as length + byte fields (cf. https://github.com/wader/fq/pull/1004#discussion_r1737111253)
- reworked Errorf's as Fatalf's for data reads (cf. https://github.com/wader/fq/pull/1004#discussion_r1737123374)
2024-09-01 16:40:22 -07:00
twystd
7950dd651f midi: added midi to the TestFormats all.fqtest list (cf. https://github.com/wader/fq/pull/1004#issuecomment-2314599567) 2024-08-28 14:39:45 -07:00
twystd
f424936faa midi: fixed lint warning (cf. https://github.com/wader/fq/pull/1004#discussion_r1734668130) 2024-08-28 14:15:53 -07:00
twystd
462ae15856 midi: removed superfluous AssertLeastBytesLeft (cf. https://github.com/wader/fq/pull/1004#discussion_r1734668130) 2024-08-28 14:06:17 -07:00
twystd
b5f2bdabc9 midi: added localised Makefile (cf. https://github.com/wader/fq/pull/1004#discussion_r1732745303) 2024-08-28 14:01:22 -07:00
twystd
2350afed5d midi: updated help text to use snake-case event names (cf. https://github.com/wader/fq/pull/1004#discussion_r1734659627) 2024-08-28 14:00:27 -07:00
twystd
c8d9397bc4 midi: snake-cased event types and event names (cf. https://github.com/wader/fq/pull/1004#discussion_r1732733049) 2024-08-27 16:03:45 -07:00
twystd
ea3e0898bf midi: reworked decoding to expect an MThd header as the first chunk (cf. https://github.com/wader/fq/pull/1004#discussion_r1732725275) 2024-08-27 15:41:58 -07:00
twystd
dad4a91657 midi: replace d.BytesLen(1) with d.U8() 2024-08-27 15:22:50 -07:00
twystd
7fd9ad2778 midi: removed debug leftovers (cf. https://github.com/wader/fq/pull/1004#discussion_r1732723519) 2024-08-27 15:10:59 -07:00
twystd
763d142008 midi: moved 'dev only' Makefile to workdir and removed it from .gitignore (cf. https://github.com/wader/fq/pull/1004#discussion_r1732745303) 2024-08-27 15:05:45 -07:00
twystd
899549623d midi: cleaned up event decoding logic 2024-08-26 00:50:52 -07:00