1
1
mirror of https://github.com/wader/fq.git synced 2024-11-25 05:55:43 +03:00
Commit Graph

2786 Commits

Author SHA1 Message Date
twystd
59b1faa4b9 midi: decorated 'delta' field with running tick 2024-08-21 19:59:34 -07:00
twystd
54a0cf1284 midi: mapped SysEx event types 2024-08-21 19:13:03 -07:00
twystd
3ed98897bb midi: mapped SMPTE framerates 2024-08-21 19:07:39 -07:00
Mattias Wadman
656bb50107
Merge pull request #999 from mrcook/tzx-readme-byte-array
tzx: add readme instructions for bits_format=byte_array
2024-08-21 23:28:14 +02:00
Michael R. Cook
b27017cc7d tzx: add readme instructions for bits_format=byte_array 2024-08-21 22:02:34 +02:00
Mattias Wadman
c70f6677b0
Merge pull request #997 from wader/bump-make-golangci-lint-1.60.2
Update make-golangci-lint to 1.60.2 from 1.60.1
2024-08-21 19:31:09 +02:00
bump
f6d02798ef Update make-golangci-lint to 1.60.2 from 1.60.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.60.2
2024-08-21 19:09:45 +02:00
Mattias Wadman
90e14c7a66
Merge pull request #998 from wader/bump-github-golangci-lint-1.60.2
Update github-golangci-lint to 1.60.2 from 1.60.1
2024-08-21 19:08:52 +02:00
bump
f9dff5c65d Update github-golangci-lint to 1.60.2 from 1.60.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.60.2

Skip some gosec rules as they give too many false positives
2024-08-21 19:00:27 +02:00
Mattias Wadman
28d1c33a5e
Merge pull request #996 from wader/revert-binary-each
intepr: Revert binary value each
2024-08-21 17:28:16 +02:00
Mattias Wadman
fc74f6857c intepr: Revert binary value each
Is a bad idea, behaves confusingly with .. etc. Maybe can be
done in the future via some option to make all raw bits behave
as arrays are instroduced.
2024-08-21 16:33:20 +02:00
Mattias Wadman
2a9dc432c2
Merge pull request #995 from wader/binary-each
intepr: Support each for binary values
2024-08-21 16:23:47 +02:00
Mattias Wadman
3f3183a5c5 intepr: Support each for binary values
Makes it possible to output all bytes or bits as integers in a binary value.
Ex: [1,2,3] | [tobytes[]] -> [1,2,3]
2024-08-21 16:17:19 +02:00
Mattias Wadman
c75ae65cf0
Merge pull request #994 from wader/go_version
cli: Add go version to version string
2024-08-20 13:59:15 +02:00
Mattias Wadman
550bcc27ff cli: Add go version to version string 2024-08-20 13:31:51 +02:00
Mattias Wadman
5766566663
Merge pull request #992 from wader/bits-format-bytes-array
interp: Add bits_format=byte_array support
2024-08-20 09:22:21 +02:00
Mattias Wadman
7bf112917b interp: Add bits_format=byte_array support
Represent binary values into an array of bytes when turn values into JSON
2024-08-20 08:43:22 +02:00
twystd
3809ddbd23 midi: combined metaevent status + event bytes 2024-08-19 20:04:19 -07:00
twystd
a337ff002f midi: reworked sysex and metaevent 'struct' events to decode as byte arrays 2024-08-19 19:49:14 -07:00
Mattias Wadman
1fac9516bf
Merge pull request #990 from mrcook/tzx-updates
TZX updates - mostly for easier JSON parsing
2024-08-19 14:35:17 +02:00
Mattias Wadman
c99a8e0aae
Merge pull request #993 from wader/gojq-update
gojq: Update fq fork
2024-08-19 14:23:33 +02:00
Mattias Wadman
824e51ec58 gojq: Update fq fork
Rebase fq changes on latester gojq main.

Most notable change visiable to users is that gojq now allows queries
as object literal values. For example this now works: {a: 1+2+3}

From upstream:
083fb39 refactor code using built-in min and max functions
470db58 bump up to Go 1.23, drop support for Go 1.20
0607aa5 bump up version to 0.12.16
0709341 update CHANGELOG.md for v0.12.16
1324e6e update dependencies
01355e9 improve parser to allow binary operators as object values
a41a5f8 fix debug/1 function to be available only when debug/0 is defined
f694c1b fix a benchmark test BenchmarkCompile
f2559f6 remove private compare function
0cd3a66 improve compiler to abort with error if query is missing
422cc9d refactor stringify function declarations of query
1130c4e refactor program body, rename rules, remove empty actions in parser
8d7ccc9 add tests for immutability of arrays
375e90d remove useless receivers
1b5ce7f set correct offset for multibyte tokens
8874f53 fix tests of exp10 and atan2 failing on some platforms
2024-08-19 14:15:02 +02:00
twystd
ce02d6eafe midi: added length field to TimeSignature struct 2024-08-18 21:28:18 -07:00
twystd
befdf1fc32 midi: reworked SysEx events as struct with length field 2024-08-18 21:13:12 -07:00
twystd
fdde5680fe midi: (partly) fixed SMPTEOffsetEvent gap 2024-08-18 21:01:37 -07:00
twystd
f1b888bd88 midi: fixed gap in SequencerSpecificEvent 2024-08-18 20:46:58 -07:00
twystd
c5637f0516 midi: partly fixed gaps in SysExMessage 2024-08-18 20:25:02 -07:00
twystd
a41e123020 midi: cleaned up SysExContinuation and SysExEscape logic 2024-08-18 12:08:35 -07:00
twystd
0915f75098 midi: added 'data' field to EndOfTrack event 2024-08-18 11:39:29 -07:00
twystd
4bb3292fc6 midi: fixed key signature map 2024-08-18 11:24:55 -07:00
Michael R. Cook
d3a5b8df28 tzx: revert using an array of bytes 2024-08-18 19:45:02 +02:00
Michael R. Cook
d38493066a tap: revert using an array of bytes 2024-08-18 19:44:37 +02:00
twystd
9099a3eb84 midi: decoded chunk tags as FieldUTF8 2024-08-17 19:44:42 -07:00
twystd
0ef3304e7b midi: mapped note numbers to note names 2024-08-17 19:29:02 -07:00
twystd
34fca40788 midi: mapped manufacturer IDs to strings 2024-08-17 19:04:57 -07:00
twystd
5c89d7d253 midi: moved MIDI running status and Casio flag to context struct 2024-08-17 18:23:47 -07:00
twystd
b433998bd7 midi: decoded SysEx events 2024-08-17 15:44:31 -07:00
twystd
b2e71a3206 midi: accomodated MIDI event running status 2024-08-17 10:29:04 -07:00
twystd
0226fc6999 midi: Decoded PolyphonicPressure, ChannelPressure and PitchBend MIDI events 2024-08-16 18:42:04 -07:00
twystd
109719f25d midi: Decoded MIDIChannelPrefix, MIDIPort and SequencerSpecific metaevents 2024-08-16 18:30:05 -07:00
twystd
2a16748391 Merge updated branch 'master' into 'midi' branch 2024-08-15 19:54:55 -07:00
twystd
4fe27f514c midi: decoded remaining text metaevents 2024-08-15 19:47:47 -07:00
Michael R. Cook
fc350f3da5 tzx: change data fields to array of bytes for easier JSON parsing 2024-08-15 20:13:03 +02:00
Michael R. Cook
633160bbd0 tap: handle unoffical block types and minor improvements
To make it easier to parse the JSON output the header/data blocks are
now wrapped in a FieldStruct, and data fields changed to be an array
of uint8 values
2024-08-15 20:09:47 +02:00
twystd
cbd4a8a85a midi: Decoded NoteOff event 2024-08-14 20:20:00 -07:00
twystd
d7ec38a2d3 midi: basic test set 2024-08-14 20:14:52 -07:00
twystd
3276641208 midi: Decoded KeySignature, NoteOn and Controller events 2024-08-14 19:52:15 -07:00
Mattias Wadman
56beac25b0
Merge pull request #989 from wader/bump-github-go-version-1.23.0
Update github-go-version to 1.23.0 from 1.22.6
2024-08-14 21:14:48 +02:00
Mattias Wadman
c0cde303f4
Merge pull request #987 from wader/bump-make-golangci-lint-1.60.1
Update make-golangci-lint to 1.60.1 from 1.59.1
2024-08-14 21:14:36 +02:00
Mattias Wadman
33f785cac7
Merge pull request #986 from wader/bump-docker-golang-1.23.0
Update docker-golang to 1.23.0 from 1.22.6
2024-08-14 20:16:24 +02:00