Tony Garnock-Jones
fe88c1cbb6
Update testing code
2012-02-08 17:36:27 -05:00
Tony Garnock-Jones
3b98769e8d
Fix stupid test-direction-problem in cname expansion
2012-02-08 17:36:27 -05:00
Tony Garnock-Jones
40ef38963b
Clear cache every N seconds (until I build a better mechanism)
2012-02-08 17:36:27 -05:00
Tony Garnock-Jones
b871a60c64
Better contract
2012-02-08 17:36:27 -05:00
Tony Garnock-Jones
1203d9a18c
Only look up nameserver names as far as necessary
2012-02-08 17:36:26 -05:00
Tony Garnock-Jones
4b7c931527
Rearrange resolver/network-query interaction, in particular making
...
network-query a separate os.rkt process.
2012-02-08 17:35:56 -05:00
Tony Garnock-Jones
ed4fe93405
Indenting elisp utilities.
2012-02-08 17:35:54 -05:00
Tony Garnock-Jones
9c231ebe6c
Rearrange timeout loop a little
2012-01-31 13:44:09 -05:00
Tony Garnock-Jones
e6568d49b5
Make network-query no longer directly aware of CompiledZones.
2012-01-31 08:11:31 -05:00
Tony Garnock-Jones
6cde0922d9
Use latest knowledge in CNAME expansions
2012-01-25 17:57:14 -05:00
Tony Garnock-Jones
c84ed33697
Measure RTT for network queries
2012-01-25 17:56:57 -05:00
Tony Garnock-Jones
d1ad3d7086
Try the nameservers we have addresses for before looking up any more nameserver addresses.
2012-01-25 17:45:53 -05:00
Tony Garnock-Jones
7217768b9a
Ignore duplicate requests while still processing an earlier repeat
2012-01-25 15:07:33 -05:00
Tony Garnock-Jones
1d110a1845
Timeouts
2012-01-25 15:06:49 -05:00
Tony Garnock-Jones
47a6607981
Silence the proxy's debug output a little
2012-01-25 14:20:20 -05:00
Tony Garnock-Jones
9770f0570b
Move big-bang-driver.rkt to driver.rkt.
2012-01-25 13:56:47 -05:00
Tony Garnock-Jones
de6ad4c065
Remove obsolete driver code.
2012-01-25 13:56:06 -05:00
Tony Garnock-Jones
26aa40053b
Convert network-query to evented style and implement proxy.
...
Create os-dns.rkt from code in big-bang-driver.rkt.
2012-01-25 13:50:49 -05:00
Tony Garnock-Jones
a447ddfd7d
Remove unneeded signature file
2012-01-25 12:01:31 -05:00
Tony Garnock-Jones
e7f3e79053
CPS-convert resolve-from-zone to expose network I/O actions.
2012-01-24 14:25:44 -05:00
Tony Garnock-Jones
f07495520e
Remove misleading and wrong (answer-available?) predicate
2012-01-24 14:18:42 -05:00
Tony Garnock-Jones
58b8d9c35b
Switch "exn?" to "exn:fail?" in a few important spots, to avoid catching SIGINT
2012-01-23 11:27:51 -05:00
Tony Garnock-Jones
43a6f52cd8
Fix a type error: DNS packets need to stay in the DNS layer
2012-01-23 11:22:52 -05:00
Tony Garnock-Jones
eebab5387b
Switch from one ad-hoc ground language to another, but eliminate HIDs.
...
This removes a bug in the design: metamessages wouldn't have been
dispatched properly in more general types of metanetwork than the
Racket CMLish framework.
2012-01-20 18:32:59 -05:00
Tony Garnock-Jones
1dcf34bd56
Remove HID counter and HIDs; extract common searchHandlers function
2012-01-20 13:46:22 -05:00
Tony Garnock-Jones
a4113f7608
Elucidating the types
2012-01-20 10:54:10 -05:00
Tony Garnock-Jones
fd64c460a4
Remove dependency on functional-queue.rkt
2012-01-19 13:38:11 -05:00
Tony Garnock-Jones
9ef1165c9a
Add compiled-zone?.
2012-01-17 16:17:42 -05:00
Tony Garnock-Jones
1f969de125
Use a nested-vm in big-bang-driver to split the UDP and DNS layers
2012-01-16 18:33:00 -05:00
Tony Garnock-Jones
ad7b823e6e
Make pattern-predicate an optional keyword argument to make-vm
2012-01-16 18:29:53 -05:00
Tony Garnock-Jones
16b4dc413e
Rename meta-message-handler to ground-message-handler
2012-01-16 18:29:32 -05:00
Tony Garnock-Jones
d24ca2a2c8
os-big-bang version of simplified-driver.rkt
2012-01-16 18:12:26 -05:00
Tony Garnock-Jones
af4cb50104
Make userland spawn raw by default, for better interop between it and big-bang
2012-01-16 17:48:02 -05:00
Tony Garnock-Jones
c6f9545817
The simplified-driver doesn't need any UDP operations
2012-01-16 17:20:10 -05:00
Tony Garnock-Jones
744c963abb
Testing for big-bang; evented UDP example
2012-01-16 16:54:57 -05:00
Tony Garnock-Jones
3d0a635b62
Better representation of local address. Still limited by BSD sockets API.
2012-01-16 16:17:47 -05:00
Tony Garnock-Jones
3415e910f8
Crude emulation of 2htdp/universe's big-bang using os-big-bang.
2012-01-13 23:09:23 -05:00
Tony Garnock-Jones
3c1c36facc
Flatten actions, to permit '() and lists of actions
2012-01-13 21:19:10 -05:00
Tony Garnock-Jones
37f242874b
Match state rather than straight binding it
2012-01-13 18:01:38 -05:00
Tony Garnock-Jones
b96114f774
Make raw spawning the default.
2012-01-13 17:05:01 -05:00
Tony Garnock-Jones
989ae4499f
Cosmetic
2012-01-13 17:01:13 -05:00
Tony Garnock-Jones
e11db78096
Use (== expr) pattern in matches
2012-01-13 17:01:06 -05:00
Tony Garnock-Jones
a4eb28f5c5
Split out call to ground-vm from definition of main
2012-01-13 16:48:43 -05:00
Tony Garnock-Jones
66f74dbe63
Make both userland and big-bang able to spawn raw siblings
2012-01-13 16:46:33 -05:00
Tony Garnock-Jones
1fae9c95e3
Remove struct runnable; provide default pattern-predicate; make os-big-bang virtualizable
2012-01-13 16:42:03 -05:00
Tony Garnock-Jones
28452b10f3
Spice up the example a little
2012-01-13 16:22:31 -05:00
Tony Garnock-Jones
79741ab7b6
Big bang analogue
2012-01-13 16:16:52 -05:00
Tony Garnock-Jones
9382da7631
UDP drivers
2012-01-11 17:47:05 -05:00
Tony Garnock-Jones
c4d74d2cab
Make rpc-service take multiple patterns
2012-01-11 17:46:53 -05:00
Tony Garnock-Jones
e8e87e338d
Split example into beginnings of stdlib
2012-01-11 17:07:13 -05:00