1. 20 Jul, 2009 2 commits
  2. 18 Jul, 2009 1 commit
  3. 17 Jul, 2009 23 commits
  4. 16 Jul, 2009 7 commits
    • Rob Pike's avatar
      fix some bad testing prints · b75df2f6
      Rob Pike authored
      R=rsc
      DELTA=5  (0 added, 0 deleted, 5 changed)
      OCL=31740
      CL=31742
      b75df2f6
    • Rob Pike's avatar
      clean up the decode loop and fix a couple of bad prints · 04ae91cf
      Rob Pike authored
      R=rsc
      DELTA=15  (8 added, 2 deleted, 5 changed)
      OCL=31738
      CL=31738
      04ae91cf
    • Austin Clements's avatar
      Fix handling of non-waitable zombie threads. Now they are not · 19022830
      Austin Clements authored
      considered running, so WaitStop doesn't lock up and
      breakpoints get installed and uninstalled.  We also don't try
      to detach from them, since that will fail.
      
      R=rsc
      APPROVED=rsc
      DELTA=35  (26 added, 2 deleted, 7 changed)
      OCL=31683
      CL=31731
      19022830
    • David Symonds's avatar
      exvar: new Timer var type. · 13960ae8
      David Symonds authored
      R=rsc
      APPROVED=r
      DELTA=146  (142 added, 0 deleted, 4 changed)
      OCL=31654
      CL=31716
      13960ae8
    • Rob Pike's avatar
      add rpc to the build · a9be3f46
      Rob Pike authored
      R=rsc
      DELTA=3  (3 added, 0 deleted, 0 changed)
      OCL=31693
      CL=31714
      a9be3f46
    • Rob Pike's avatar
      /usr/local/bin might not exist so use /usr/bin in the chdir test. · 7d94cfdf
      Rob Pike authored
      R=rsc
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=31708
      CL=31713
      7d94cfdf
    • Austin Clements's avatar
      Make Value always represent an l-value and never a generic · 816e3da2
      Austin Clements authored
      container for values.
      
      Instead of having one evaluator function that returns a
      generic Value, there is now an evaluator function for each
      generalized type that simply returns a native type.
      
      The compiler is more type-safe now because there are almost no
      type conversions at evaluation time and it's impossible to
      invoke a nil evaluator function during evaluation.  This also
      makes ideals and pointers really clean.
      
      As an added bonus, expression evaluation should be faster
      because it doesn't require heap allocation for every
      intermediate value, type switches, or lots of conversions to
      and from Value.  It also involves fewer function calls.
      
      R=rsc
      APPROVED=rsc
      DELTA=431  (280 added, 115 deleted, 36 changed)
      OCL=31705
      CL=31709
      816e3da2
  5. 15 Jul, 2009 7 commits
    • Rob Pike's avatar
      improve server handling of errors now that Decoder grabs full message. · 3fc7cfd5
      Rob Pike authored
      R=rsc
      DELTA=23  (4 added, 7 deleted, 12 changed)
      OCL=31701
      CL=31703
      3fc7cfd5
    • Rob Pike's avatar
      make the low-level encoder and decoder private and have them access byte.Buffers rather · e76a335a
      Rob Pike authored
      than io.Readers and io.Writers.
      change the Encoder/Decoder protocol so that each message is preceded by its length in bytes.
      
      R=rsc
      DELTA=468  (119 added, 23 deleted, 326 changed)
      OCL=31700
      CL=31702
      e76a335a
    • Rob Pike's avatar
      post-submit tweaks to previous cl · dc8c4476
      Rob Pike authored
      R=rsc
      DELTA=5  (4 added, 1 deleted, 0 changed)
      OCL=31690
      CL=31692
      dc8c4476
    • Austin Clements's avatar
      Beginnings of a Go interpreter. This implements basic and · 9211a7d4
      Austin Clements authored
      pointer types, supports literals, identifiers, type-checking
      most unary and binary operators, "compiling" a few unary and
      binary operators, and assignment and declaration statements.
      
      R=rsc
      APPROVED=rsc
      DELTA=1751  (1751 added, 0 deleted, 0 changed)
      OCL=31309
      CL=31691
      9211a7d4
    • Rob Pike's avatar
      handle errors better: · 8071cdf7
      Rob Pike authored
      	1) terminate outstanding calls on the client when we see EOF from server
      	2) allow data to drain on server before closing the connection
      
      R=rsc
      DELTA=41  (23 added, 4 deleted, 14 changed)
      OCL=31687
      CL=31689
      8071cdf7
    • Russ Cox's avatar
      change HTTP access for RPC. · aa1e8064
      Russ Cox authored
      1. use CONNECT instead of GET.
         CONNECT has exactly the meaning
         we want; most of the time people
         connect to ip:port; we're connecting
         to /_goRPC_
      
      2. wait for a successful HTTP response
         before assuming we are connected to
         the RPC protocol.  this allows better
         error reporting and also keeps the
         protocol alternating between speakers,
         so that the buffering in the HTTP request
         reader cannot accidentally eat some
         RPC bytes too.
      
      gotest sometimes hangs, but not in HTTP.
      
      gotest -match=Unknown hangs every few runs
      even in a clean client.
      
      R=r
      DELTA=117  (57 added, 44 deleted, 16 changed)
      OCL=31656
      CL=31685
      aa1e8064
    • Austin Clements's avatar
      Implement forking debugged processes. · 8b795149
      Austin Clements authored
      R=rsc
      APPROVED=rsc
      DELTA=81  (53 added, 3 deleted, 25 changed)
      OCL=31651
      CL=31675
      8b795149