Commit graph

145 commits

Author SHA1 Message Date
Sam
81da49093d
refactor: Make all calls to options pointers (#132)
All checks were successful
continuous-integration/drone/push Build is passing
Instead of copying the opts struct every time it gets passed around, it should be created once and passed through reference.

This should reduce memory utilization, unfortunately I cannot test it since this program runs so fast pprof won't report anything useful.

I think I found all of them 🙂

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #132
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-13 12:49:36 +00:00
e6a3d6040a [SKIP CI] fix: Make makefiles portable
-D isn't supported on MacOS (sample size: 1)

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-13 12:49:15 +00:00
c1b5961717 fix(deps): update module github.com/lucas-clemente/quic-go to v0.29.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-12 15:00:22 +00:00
3d97359070 fix(deps): update golang.org/x/net digest to 0b7e1fb
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-12 14:00:14 +00:00
561958c1b0 fix(deps): update golang.org/x/sys digest to 090e330
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-10 18:00:14 +00:00
d2c6ed317e fix(deps): update module gotest.tools/v3 to v3.4.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-07 17:00:13 +00:00
9734f8ddad fix(deps): update module github.com/dchest/uniuri to v1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-07 13:00:13 +00:00
296f5f0a0b fix(deps): update golang.org/x/sys digest to 84dc82d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-06 22:00:17 +00:00
4d0605bd1e
fix(deps): go get -u
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-06 16:49:48 +02:00
a74fbf525b fix(deps): update golang.org/x/net digest to 8021a29
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-04 17:03:36 +00:00
cf095313a4 fix(deps): update golang.org/x/net digest to bcab684
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-02 03:00:20 +00:00
6749361395 fix(deps): update golang.org/x/net digest to 107f3e3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-30 22:00:19 +00:00
4495da2f3e
[SKIP CI] correct README
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-09-30 19:38:26 +02:00
11c06f9662 fix(deps): update github.com/dchest/uniuri digest to 3027df4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-29 11:00:18 +00:00
Sam
d701059b5f [SKIP CI] docs(readme): add links
Signed-off-by: Sam <sam@samtherapy.net>
2022-09-28 21:09:11 +00:00
Sam
56baff4e18 test: forgot one
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-28 19:07:46 +00:00
Sam
6a839ba8e5 [SKIP CI] Update wiki
All checks were successful
continuous-integration/drone/tag Build is passing
2022-09-28 18:36:38 +00:00
Sam
f2cf35ca31 misc: Snapcraft support (#87)
All checks were successful
continuous-integration/drone/push Build is passing
Preliminary shell for supporting a snap

Reviewed-on: #87
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 18:32:20 +00:00
Sam
607c321de3
feat: fish completions (#122)
All checks were successful
continuous-integration/drone/push Build is passing
These are basically thrown together but more is always good

Reviewed-on: #122
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 18:11:05 +00:00
Sam
f01f2bc15a
feat(resolvers/HTTPS): add HTTP proxy support (#119)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #119
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 18:08:56 +00:00
Sam
c053c077c8
test: Add retries to all tests (#121)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #121
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 17:51:35 +00:00
0a371cd335 fix(deps): update golang.org/x/sys digest to f11e5e4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-28 15:00:18 +00:00
Sam
f2218481ee
feat(completions): add bash (#118)
All checks were successful
continuous-integration/drone/push Build is passing
well, at least the same Dig and drill do

Reviewed-on: #118
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 12:40:27 +00:00
14416d5aec fix(deps): update golang.org/x/net digest to f486391
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-27 19:00:18 +00:00
7b11583d6e fix(deps): update golang.org/x/sys digest to d9d178b
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-27 18:00:21 +00:00
7bd481cd7a fix(deps): update golang.org/x/net digest to aa73b25
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-27 16:00:20 +00:00
Sam
60643e2b3e
Remove AUR submodule
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-09-27 15:36:34 +00:00
Sam
434632884c
chore(test): Add more retires (#115)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #115
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-27 13:54:17 +00:00
284c0646f2 fix(deps): update golang.org/x/net digest to 02166a9
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-09-26 20:00:19 +00:00
3a0a8f015a chore(Refactor) (#110)
All checks were successful
continuous-integration/drone/push Build is passing
refactor

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #110
Reviewed-by: Sam <sam@samtherapy.net>
2022-09-24 23:11:09 +00:00
ac55b21b25
[SKIP CI] go mod tidy
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-09-24 18:49:02 +02:00
840397a85a fix(deps): update golang.org/x/net digest to 8be6392
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-23 21:00:16 +00:00
f24608667a fix(deps): update module github.com/lucas-clemente/quic-go to v0.29.1
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-09-23 12:00:18 +00:00
Sam
0845ae2a82
refactor: Make tests less ugly (#102)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #102
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-21 23:08:31 +00:00
94b7f523b7 fix(deps): update golang.org/x/net digest to d300de1
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-09-21 21:00:15 +00:00
c75db286dc fix(deps): update golang.org/x/net digest to db77216
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-21 16:00:16 +00:00
261e5fd6c1 fix(deps): update golang.org/x/net digest to d0c6ba3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-20 21:00:16 +00:00
75ca107e55 fix(deps): update golang.org/x/net digest to f2f64eb
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-20 00:00:20 +00:00
98c641848e fix(deps): update golang.org/x/net digest to f8f703f
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-19 18:00:14 +00:00
86f115f361 fix(deps): update golang.org/x/sys digest to fb04ddd
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-19 10:00:14 +00:00
Sam
ef87175190
fix: remove race conditions with flags (#101)
All checks were successful
continuous-integration/drone/push Build is passing
Mainly for testing but a nice to have.

Proceeds a larger testing refactor

Reviewed-on: #101
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-17 10:42:49 +00:00
Sam
933967016f [SKIP CI] misc: makefile refactoring (#100)
Mainly making it so that it doesn't always run tests when making coverage

Also, making it more cross platform and less splintered is nice.

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #100
2022-09-16 23:38:46 +00:00
Sam
8df0347891 fix: EDNS cookies work properly (#98)
All checks were successful
continuous-integration/drone/push Build is passing
also slight refactors :)

closes #96

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #98
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-16 23:26:10 +00:00
Sam
ddd0277de9 [SKIP CI] ci: add caching (#99)
Reviewed-on: #99
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-16 23:25:56 +00:00
55b965d084 fix(deps): update golang.org/x/sys digest to 7b5979e
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-15 21:00:17 +00:00
Sam
9746ae0a6f feat: more API work
Some checks reported errors
continuous-integration/drone/push Build was killed
Reviewed-on: #94
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-15 11:02:43 +00:00
0d011bb097 fix(deps): update golang.org/x/sys digest to 63ea559
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-13 18:00:18 +00:00
Sam
6fa6b2d1f6 feat: Allow opt pseudosection to be printed (#91)
All checks were successful
continuous-integration/drone/push Build is passing
...when not using the standard print
(JSON/XML/YAML)

This should make making an API for this even easier :)

Reviewed-on: #91
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-10 18:41:25 +00:00
4f743f861d fix(deps): update golang.org/x/sys digest to aba9fc2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-10 00:00:32 +00:00
90d2fed6ab fix(deps): update golang.org/x/net digest to bea034e
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-09 17:00:16 +00:00