1. 03 Jun, 2009 6 commits
    • Russ Cox's avatar
      32-bit fixes in lessstack. · aa3222d8
      Russ Cox authored
      avoid tight coupling between deferreturn and jmpdefer.
      before, jmpdefer knew the exact frame size of deferreturn
      in order to pop it off the stack.  now, deferreturn passes
      jmpdefer a pointer to the frame above it explicitly.
      that avoids a magic constant and should be less fragile.
      
      R=r
      DELTA=32  (6 added, 3 deleted, 23 changed)
      OCL=29801
      CL=29804
      aa3222d8
    • Russ Cox's avatar
      8l fixes, cut and paste from 6l. · 07393f87
      Russ Cox authored
      move PtrSize value into 6l/8l files.
      
      R=r
      DELTA=78  (47 added, 15 deleted, 16 changed)
      OCL=29729
      CL=29798
      07393f87
    • David Symonds's avatar
      Add container/list package. · bf0a339b
      David Symonds authored
      This is imported from //cacheserving/gash/cache/list*.go,
      but with style changes to suit the Go standard library.
      
      R=r,rsc
      APPROVED=r
      DELTA=286  (286 added, 0 deleted, 0 changed)
      OCL=29438
      CL=29796
      bf0a339b
    • Robert Griesemer's avatar
      change datafmt syntax to use '@' instead of '^' (to match · aa9ce614
      Robert Griesemer authored
      convention used in template.go)
      
      R=rsc
      DELTA=22  (3 added, 1 deleted, 18 changed)
      OCL=29780
      CL=29782
      aa9ce614
    • Robert Griesemer's avatar
      remove superfluous indirection · 43456b4a
      Robert Griesemer authored
      R=rsc
      DELTA=7  (0 added, 0 deleted, 7 changed)
      OCL=29776
      CL=29778
      43456b4a
    • Robert Griesemer's avatar
      - renamed format -> datafmt · 8083467d
      Robert Griesemer authored
      - factored out datafmt-specifics from pretty to ast
      
      R=rsc
      DELTA=3580  (1810 added, 1763 deleted, 7 changed)
      OCL=29770
      CL=29774
      8083467d
  2. 02 Jun, 2009 8 commits
    • Steve Newman's avatar
      Fixes to URL functionality: · da0a5825
      Steve Newman authored
      - Extend http.URLUnescape to convert '+' to space
      - Add http.URLEscape
      - Rename URL.Query to EncodedQuery (and stop decoding it, as decoding this field
        before separating key/value pairs loses important information)
      - Report a clean error on incomplete hex escapes
      - Update existing tests, add new ones
      
      APPROVED=rsc
      DELTA=293  (256 added, 3 deleted, 34 changed)
      OCL=29685
      CL=29759
      da0a5825
    • Russ Cox's avatar
      auto-generated, renamed, and deleted files · e11f833b
      Russ Cox authored
      associated with CL 29709.
      
      R=r
      DELTA=6444  (3476 added, 2958 deleted, 10 changed)
      OCL=29710
      CL=29724
      e11f833b
    • Russ Cox's avatar
      new syscall package: manually maintained files and scripts. · 602a446b
      Russ Cox authored
      auto-generated files and deletions are in another CL.
      
      goals for new syscall:
      	* automate as much as possible
      	* do not let clients do unsafe things
      	* use simple types (int not int64)
      	* fewer files
      
      the files are renamed from foo_amd64_linux to foo_linux_amd64,
      both because it reads better (all the linux are related, all the amd64 less so)
      and because it made it easier to replace the existing ones.
      
      R=r
      DELTA=2336  (2260 added, 6 deleted, 70 changed)
      OCL=29709
      CL=29723
      602a446b
    • Russ Cox's avatar
      update Go tree to use new syscall package. · 9e0fec9c
      Russ Cox authored
      R=r
      DELTA=713  (109 added, 386 deleted, 218 changed)
      OCL=29707
      CL=29722
      9e0fec9c
    • Russ Cox's avatar
      make godefs work better for generating Go. · 278b1ab0
      Russ Cox authored
      R=r
      DELTA=121  (92 added, 4 deleted, 25 changed)
      OCL=29706
      CL=29721
      278b1ab0
    • Robert Griesemer's avatar
      format package · d7acfc75
      Robert Griesemer authored
      R=r,rsc
      DELTA=2871  (1712 added, 1118 deleted, 41 changed)
      OCL=29222
      CL=29704
      d7acfc75
    • Robert Griesemer's avatar
      - enable scanner to handle illegal chars w/o returning an error · 2494bcb4
      Robert Griesemer authored
      so that it can be used for non-Go chars
      - adjust parser accordingly
      
      R=rsc
      DELTA=58  (42 added, 2 deleted, 14 changed)
      OCL=29688
      CL=29703
      2494bcb4
    • Robert Griesemer's avatar
      io.ReadFile · 34d12bfb
      Robert Griesemer authored
      R=r,rsc
      DELTA=64  (63 added, 0 deleted, 1 changed)
      OCL=29702
      CL=29702
      34d12bfb
  3. 31 May, 2009 5 commits
    • Ken Thompson's avatar
      prevent multiple similar errors · c17ce9f9
      Ken Thompson authored
      in complex literals. side effect is
      fix of error in initializerr.go
      
      R=r
      OCL=29667
      CL=29667
      c17ce9f9
    • Russ Cox's avatar
      new 64-bit math test. · ead9f8be
      Russ Cox authored
      allow multiline recipes in run.
      
      R=r
      DELTA=712  (708 added, 2 deleted, 2 changed)
      OCL=29641
      CL=29666
      ead9f8be
    • Ian Lance Taylor's avatar
      Adjust expected errors to work with gccgo. · 8cbb5d03
      Ian Lance Taylor authored
      The change to assign.go is because the gcc testsuite fails to
      handle .* in a normal way: it matches against the entire
      compiler output, not just a single line.
      
      assign.go:15:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
      assign.go:19:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
      assign.go:23:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
      assign.go:27:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
      
      chan/perm.go:14:5: error: incompatible types in assignment
      chan/perm.go:15:5: error: incompatible types in assignment
      chan/perm.go:16:6: error: incompatible types in assignment
      chan/perm.go:17:6: error: incompatible types in assignment
      chan/perm.go:24:7: error: invalid send on receive-only channel
      chan/perm.go:25:12: error: invalid send on receive-only channel
      chan/perm.go:31:4: error: invalid receive on send-only channel
      chan/perm.go:32:9: error: invalid receive on send-only channel
      chan/perm.go:38:2: error: invalid send on receive-only channel
      chan/perm.go:42:2: error: invalid receive on send-only channel
      
      initializerr.go:14:17: error: reference to undefined variable 'X'
      initializerr.go:14:19: error: mixture of field and value initializers
      initializerr.go:15:26: error: duplicate value for field 'Y'
      initializerr.go:16:10: error: too many values in struct composite literal
      initializerr.go:18:19: error: index expression is not integer constant
      initializerr.go:17:11: error: too many elements in composite literal
      
      R=rsc
      DELTA=12  (0 added, 0 deleted, 12 changed)
      OCL=29657
      CL=29665
      8cbb5d03
    • Russ Cox's avatar
      bug157 · d6a98170
      Russ Cox authored
      R=ken
      OCL=29651
      CL=29653
      d6a98170
    • Ken Thompson's avatar
      bug 158 · be63b6dc
      Ken Thompson authored
      R=r
      OCL=29646
      CL=29646
      be63b6dc
  4. 30 May, 2009 1 commit
    • Russ Cox's avatar
      make gobuild failures more readable. · 91395ae6
      Russ Cox authored
      1. ar reports names of objects with duplicate text symbols.
      2. gobuild only shows first line of error output for each failed command.
      3. gobuild ignores files that begin with ascii non-alphanumeric non _.
      
      ; gobuild
      $ 6g -I _obj gobuild.go
        gobuild.go:150: PackageImports: undefined
      $ 6g -I _obj makefile.go
        makefile.go:102: ShellString: undefined
      $ 6g -I _obj util.go
        util.go:114: syntax error near zzz
      gobuild: stalemate
      ;
      
      ; gobuild
      $ 6ar grc _obj/gobuild.a util.6 util1.6
        duplicate text symbol: util1.6 and util.6: gobuild·Build
      $ 6g -I _obj gobuild.go
        gobuild.go:150: PackageImports: undefined
      $ 6g -I _obj makefile.go
        makefile.go:102: ShellString: undefined
      gobuild: stalemate
      ;
      
      R=r
      DELTA=95  (49 added, 9 deleted, 37 changed)
      OCL=29625
      CL=29640
      91395ae6
  5. 29 May, 2009 11 commits
  6. 28 May, 2009 8 commits
  7. 27 May, 2009 1 commit