Commit Graph

2178 Commits

Author SHA1 Message Date
Miek Gieben ac39024a25 gofmt 2012-11-21 23:20:56 +01:00
Miek Gieben 9e02a40cc8 Merge branch 'reader' 2012-11-21 22:32:23 +01:00
Miek Gieben 5a3db7b240 delayed newline counting
Fix a lot of corning cases for correct newline counting, but not
the ones where the closing brace is solely on a newline.
2012-11-21 22:21:40 +01:00
Miek Gieben c15d4fe3a3 Ugly hack to get line count correct
When the parser has read a \n to error messsage is off-by-one.
This fixes that.
2012-11-21 17:19:16 +01:00
Miek Gieben aba66ed110 beter 2012-11-21 16:27:36 +01:00
Miek Gieben 37d3009cec Add escaped @ is ok 2012-11-21 15:59:00 +01:00
Miek Gieben 7bd7a65e4d Add CAA 2012-11-20 16:53:58 +01:00
Miek Gieben 67343920d5 Add CDS type 2012-11-20 16:52:18 +01:00
Miek Gieben 4737bfa319 Add the all important RKEY 2012-11-20 16:48:28 +01:00
Miek Gieben 3686d24ca7 Add NINFO record 2012-11-20 16:42:16 +01:00
Miek Gieben f7956a96e6 ATMA 2012-11-20 14:32:06 +01:00
Miek Gieben d34c05f4fc Add def. of SIDN RR 2012-11-20 14:14:00 +01:00
Miek Gieben f6896bea4f Add X25 Resource Record 2012-11-20 14:07:16 +01:00
Miek Gieben 35744e52f8 semi add the NULL record 2012-11-20 13:53:41 +01:00
Miek Gieben 288df5bcc8 remove the w-i-p nsec3 stuff
Not useful, if you want to validate: use unbound
2012-11-20 10:12:00 +01:00
Miek Gieben aaa65c0ae0 documentation 2012-11-20 10:10:09 +01:00
Miek Gieben d114d23cd2 more inline with what we support 2012-11-19 19:28:49 +01:00
Miek Gieben 49ca0cd3df remove async test as we no longer have that function 2012-11-19 19:25:55 +01:00
Miek Gieben 53bc98f2ca update docs 2012-11-19 18:14:52 +01:00
Miek Gieben c7ad10314a Remove the Do function -- easy to do in standard Go 2012-11-19 18:14:09 +01:00
Miek Gieben 33e3a5396e Dont even bother do allocate a channel 2012-11-19 16:55:14 +01:00
Miek Gieben e2ca025569 update documentation 2012-11-19 16:22:54 +01:00
Miek Gieben 0cb7706e03 Use my new static ip address 2012-11-19 16:19:17 +01:00
Miek Gieben 4e2af5cdb1 gofmt 2012-11-19 16:17:13 +01:00
Miek Gieben fa8a5e5757 Fix the tests + gofmt 2012-11-19 16:15:03 +01:00
Miek Gieben dad5761301 q compiles again 2012-11-19 15:58:02 +01:00
Miek Gieben 5a5c71eed3 Some lousy updates - does not compile 2012-11-19 15:46:49 +01:00
Miek Gieben 5349c3532f Per suggestion of Jan Mercle 2012-11-19 14:43:02 +01:00
Miek Gieben 534b3ddfd8 Actually parse the uint64 as uint64, not as uint48 2012-11-19 12:30:42 +01:00
Miek Gieben 27de9bad36 Actually parse the whole uint64 2012-11-19 12:26:13 +01:00
Miek Gieben 1f2528fab5 Start of new api in q 2012-11-18 16:45:40 +01:00
Miek Gieben 46426f14df Rtt isnt needed 2012-11-18 13:58:09 +01:00
Miek Gieben 62072a1d92 Fix reflect 2012-11-18 13:56:54 +01:00
Miek Gieben 9edf63c26a Rtt is always returned 2012-11-18 13:53:36 +01:00
Miek Gieben a0b6e30da7 Fix chaos.go for the new api 2012-11-18 13:51:42 +01:00
Miek Gieben 553b780257 Rearrange some comments 2012-11-18 13:28:16 +01:00
Miek Gieben b34501bc1a add remark 2012-11-18 13:12:11 +01:00
Miek Gieben cbf025827a Fix the documentation 2012-11-18 13:03:11 +01:00
Miek Gieben ccaa90b31e Make client.Do() return a channel (ala time.NewTicker)
This new API finally makes sense, and ditches the callback
2012-11-18 12:50:22 +01:00
Miek Gieben 099d0c1fc7 Add exchange structure for the client 2012-11-18 12:33:56 +01:00
Miek Gieben 3c3d2af072 Remove the Rtt variants 2012-11-18 12:29:40 +01:00
Miek Gieben 267cfaab11 Make ResponseWriter a io.Writer
The WriteBuf() is renamed Write() and returns and int and
an error. The old Write() call, is now WriteBuf()
2012-11-18 12:21:02 +01:00
Miek Gieben 00c4f46c7e Make WriteBuf ala io.Write 2012-11-18 12:05:18 +01:00
Miek Gieben 314a0eebcc Add support for L32, NID, L64 and LP records 2012-11-18 10:29:05 +01:00
Miek Gieben a95de22bc3 Pref -> Preference for all types that have one 2012-11-18 09:13:43 +01:00
Miek Gieben 5afca3330b Add tests and uppercase output of L64 2012-11-18 09:10:28 +01:00
Miek Gieben 85366b595b Fix presentation format 2012-11-17 23:01:35 +01:00
Miek Gieben c1ae9a3039 Also parse L32 2012-11-17 22:02:22 +01:00
Miek Gieben 702510bc0d Also parse L32 2012-11-17 22:01:45 +01:00
Miek Gieben e2bc22cb43 Add LP record 2012-11-17 21:43:09 +01:00