1. 26 Jun, 2009 6 commits
    • Russ Cox's avatar
      bug165 · 480f5124
      Russ Cox authored
      R=ken
      OCL=30783
      CL=30783
      480f5124
    • Russ Cox's avatar
      Change os.Error convention: · a0bcaf4c
      Russ Cox authored
      echo back context of call in error if likely to be useful.
      
      For example, if os.Open("/etc/passwd", os.O_RDONLY)
      fails with syscall.EPERM, it returns as the os.Error
      
      	&PathError{
      		Op: "open",
      		Path: "/etc/passwd"
      		Error: os.EPERM
      	}
      
      which formats as
      
      	open /etc/passwd: permission denied
      
      Not converted:
      
      	datafmt
      	go/...
      	google/...
      	regexp
      	tabwriter
      	template
      
      R=r
      DELTA=1153  (561 added, 156 deleted, 436 changed)
      OCL=30738
      CL=30781
      a0bcaf4c
    • Russ Cox's avatar
      separate local path lookup from standard package directories · 70e232e6
      Russ Cox authored
      R=ken
      OCL=30760
      CL=30779
      70e232e6
    • Russ Cox's avatar
      add ./ to imports where necessary · cf370a62
      Russ Cox authored
      R=r
      DELTA=51  (4 added, 4 deleted, 43 changed)
      OCL=30759
      CL=30778
      cf370a62
    • Rob Pike's avatar
      cannot have interfaces refer to themselves as map keys · 7de48834
      Rob Pike authored
      R=rsc
      DELTA=11  (11 added, 0 deleted, 0 changed)
      OCL=30774
      CL=30774
      7de48834
    • Russ Cox's avatar
      allow · 5851a1b5
      Russ Cox authored
      package main
      type t interface
      type t interface{ m(map[t]bool) }
      type m map[t] int
      
      making it work without the forward declaration will require a second pass.
      
      R=ken
      OCL=30773
      CL=30773
      5851a1b5
  2. 25 Jun, 2009 17 commits
  3. 24 Jun, 2009 5 commits
  4. 23 Jun, 2009 7 commits
  5. 22 Jun, 2009 5 commits