1. 08 May, 2009 2 commits
  2. 07 May, 2009 10 commits
    • David Symonds's avatar
      Define Len() for JSON Map. · abdf4853
      David Symonds authored
      R=rsc
      APPROVED=rsc
      DELTA=6  (5 added, 0 deleted, 1 changed)
      OCL=28398
      CL=28430
      abdf4853
    • Russ Cox's avatar
      test of struct with embedded interface. · 9ab8129e
      Russ Cox authored
      also tests method calls on ptr to interface value.
      
      R=r
      DELTA=74  (74 added, 0 deleted, 0 changed)
      OCL=28419
      CL=28424
      9ab8129e
    • Russ Cox's avatar
      if a struct s contains an anonymous interface value · 401a95aa
      Russ Cox authored
      with method m, s.m() is ok and m now shows up
      in s's method set for interface runtime.
      
      see http://cl/28419-p2 for new test interface10.go.
      
      R=ken
      OCL=28420
      CL=28423
      401a95aa
    • Russ Cox's avatar
      next step for 6.out on Borg: fix and test · 0d339928
      Russ Cox authored
      net code on IPv4-only machines.
      
      R=r
      DELTA=27  (25 added, 0 deleted, 2 changed)
      OCL=28404
      CL=28411
      0d339928
    • Russ Cox's avatar
      6g: error messages · 88a1aa8e
      Russ Cox authored
      part 2; missing files
      
      R=ken
      OCL=28408
      CL=28410
      88a1aa8e
    • Russ Cox's avatar
      6g: error messages · b5e212ff
      Russ Cox authored
      replace "shape error across CALL" with more information.
      
      x.go:7: not enough arguments to CALL
      	a int, b int
      	int
      x.go:10: assignment count mismatch: 3 = 2
      x.go:12: too many arguments to RETURN
      	[no arguments expected]
      	int, int, int
      
      also leave type alone after conversion failure,
      for later errors:
      
      bug049.go:6: cannot convert nil constant to string
      bug049.go:6: illegal types for operand: EQ
      	string
      	nil		# this used to be blank
      
      R=ken
      OCL=28405
      CL=28407
      b5e212ff
    • Russ Cox's avatar
      6g: simplify trampoline by postponing load. · 5a67ea38
      Russ Cox authored
      	TEXT tramp
      		MOVQ 8(SP), AX
      		ADDQ $40, AX
      		MOVQ AX, 8(SP)
      		JMP oldfunc
      
      	is now
      
      	TEXT tramp
      		ADDQ $40, 8(SP)
      		JMP oldfunc
      
      	and if s/40/0/, then it simplifies to
      
      	TEXT tramp
      		JMP oldfunc
      
      	(the tramp is still needed to satisfy
      	symbol references from other object files)
      
      R=ken
      OCL=28377
      CL=28381
      5a67ea38
    • Russ Cox's avatar
      interface method tests · e508c557
      Russ Cox authored
      R=r
      DELTA=134  (134 added, 0 deleted, 0 changed)
      OCL=28373
      CL=28380
      e508c557
    • Russ Cox's avatar
      fix a few type errors, make ErrorString a value · 3071f8c8
      Russ Cox authored
      will submit with fixed compiler
      
      R=r
      DELTA=2  (0 added, 0 deleted, 2 changed)
      OCL=28371
      CL=28379
      3071f8c8
    • Russ Cox's avatar
      6g: new interface rules (code got simpler!) · a6ba5ec5
      Russ Cox authored
      R=ken
      OCL=28374
      CL=28378
      a6ba5ec5
  3. 06 May, 2009 12 commits
  4. 05 May, 2009 8 commits
  5. 04 May, 2009 3 commits
    • David Symonds's avatar
      Remake exvar package to be more Go-ish. · 2f284948
      David Symonds authored
      It now exports a Var interface (anyone can export their own custom var types now), so users need to create and manage their own vars and mark them as exportable via the Publish function. They are exposed via /debug/vars.
      
      R=r,rsc
      APPROVED=r
      DELTA=605  (314 added, 186 deleted, 105 changed)
      OCL=28143
      CL=28239
      2f284948
    • Robert Griesemer's avatar
      - remove wrong fix · 19c239c9
      Robert Griesemer authored
        (this corresponds to the currently running version of godoc)
      
      R=r
      DELTA=11  (0 added, 10 deleted, 1 changed)
      OCL=28238
      CL=28238
      19c239c9
    • Ken Thompson's avatar
      more morestack fiddling · 5963f590
      Ken Thompson authored
      R=r
      OCL=28204
      CL=28204
      5963f590
  6. 03 May, 2009 2 commits
  7. 02 May, 2009 3 commits
    • Ian Lance Taylor's avatar
      Verify that a send on a sychronous channel waits until the · be827826
      Ian Lance Taylor authored
      value has been received.  This failed with gccgo before
      today.
      
      R=ken,r
      DELTA=18  (18 added, 0 deleted, 0 changed)
      OCL=28185
      CL=28190
      be827826
    • Robert Griesemer's avatar
      weekly snapshot: · 0d6a5f41
      Robert Griesemer authored
      - template-driven ast printing now can successfully
        reproduce entire Go programs
      
      next steps:
      - fine-tuning of output
      - print interspersed comments
      - cleanup and testing against all Go programs
      - replace astprinter
      
      R=r
      OCL=28181
      CL=28181
      0d6a5f41
    • Ken Thompson's avatar
      code optmization · 49f74948
      Ken Thompson authored
      drip init function if it doesnt do anything
      
      R=r
      OCL=28180
      CL=28180
      49f74948