1. 15 Oct, 2010 2 commits
  2. 14 Oct, 2010 10 commits
  3. 13 Oct, 2010 9 commits
  4. 12 Oct, 2010 16 commits
  5. 11 Oct, 2010 3 commits
    • Russ Cox's avatar
      ld: be less picky about bad line number info · 054be1b6
      Russ Cox authored
      Fixes #1175.
      
      R=lvd
      CC=golang-dev
      https://golang.org/cl/2439041
      054be1b6
    • Rob Pike's avatar
      new command gotry. · 570f59c1
      Rob Pike authored
      An exercise in reflection and an unusual tool.
      
      From the usage message:
      
      usage: gotry [packagedirectory] expression ...
      Given one expression, gotry attempts to evaluate that expression.
      Given multiple expressions, gotry treats them as a list of arguments
      and result values and attempts to find a function in the package
      that, given the first few expressions as arguments, evaluates to
      the remaining expressions as results.  If the first expression has
      methods, it will also search for applicable methods.
      
      If there are multiple expressions, a package directory must be
      specified. If there is a package argument, the expressions are
      evaluated in an environment that includes
      	import . "packagedirectory"
      
      Examples:
      	gotry 3+4
      		# evaluates to 7
      	gotry strings '"abc"' '"c"' 7-5
      		# finds strings.Index etc.
      	gotry regexp 'MustCompile("^[0-9]+")' '"12345"' true
      		# finds Regexp.MatchString
      
      R=rsc, PeterGo, r2
      CC=golang-dev
      https://golang.org/cl/2352043
      570f59c1
    • Roger Peppe's avatar
      netchan: zero out request to ensure correct gob decoding. · 17c9c019
      Roger Peppe authored
      Gob decoding does not overwrite fields which are zero
      in the encoder.
      Fixes #1174.
      
      R=r, r2
      CC=golang-dev
      https://golang.org/cl/2337044
      17c9c019