1. 22 May, 2009 10 commits
  2. 21 May, 2009 15 commits
  3. 20 May, 2009 9 commits
    • Robert Griesemer's avatar
      xcode config files, self-describing · e6cddeae
      Robert Griesemer authored
      R=r
      DELTA=250  (250 added, 0 deleted, 0 changed)
      OCL=29120
      CL=29127
      e6cddeae
    • Russ Cox's avatar
      reflect bug: NewZeroValue was refusing to create slices. · 2d5d4a1b
      Russ Cox authored
      as far as I can tell there's no reason not to.
      
      the Nillable test was succeeding because NewZeroValue
      returned the nil interface value and the type guard
      was letting it through.  the only change in the test is
      more detail in the print.
      
      R=r
      DELTA=8  (0 added, 7 deleted, 1 changed)
      OCL=29124
      CL=29126
      2d5d4a1b
    • Russ Cox's avatar
      ifaceop was being called with integers · a39bae09
      Russ Cox authored
      that came from two different enums.
      spilt into ifacecvt and ifaceop depending
      on which enum the argument is.
      
      R=ken
      OCL=29122
      CL=29122
      a39bae09
    • Russ Cox's avatar
      change representation of interface values. · 2da5022b
      Russ Cox authored
      this is not a user-visible change.
      
      before, all interface values were
      
      	struct Itype {
      		Sigt *type;
      		Sigi *inter;
      		void *method[n];
      	}
      
      	struct Iface {
      		void *addr;
      		Itype *itype;
      	}
      
      the itype is basically a vtable, but it's unnecessary
      if the static type is interface{ }.
      for interface values with static type empty, the
      new representation is
      
      	struct Eface {
      		void *addr;
      		Sigt *type;
      	}
      
      this complicates the code somewhat, but
      it reduces the number of Itypes that
      have to be computed and cached,
      it opens up opportunities to avoid function
      calls in a few common cases,
      and it will make it possible to lay out
      interface{} values at compile time,
      which i think i'll need for the new reflection.
      
      R=ken
      OCL=28701
      CL=29121
      2da5022b
    • Russ Cox's avatar
      fix implicit star for range on *map, *[]. · 47e51527
      Russ Cox authored
      do not update lineno from ONAME nodes,
      	because they have declaration lineno not use.
      show actual name in top-level statement error.
      
      before
      runtime.a:7: x.go:5: walkstate: NAME not a top level statement
      
      after
      x.go:14: walkstate: runtime.Goexit not a top level statement
      
      R=ken
      OCL=29113
      CL=29116
      47e51527
    • Russ Cox's avatar
      clear out pkg tree in clean.bash. · 04d8605c
      Russ Cox authored
      rename place-holder to _place_holder_ so it can be avoided.
      
      R=r
      DELTA=5  (2 added, 2 deleted, 1 changed)
      OCL=29093
      CL=29097
      04d8605c
    • Robert Griesemer's avatar
      removed TODO · c1fd171d
      Robert Griesemer authored
      (new rules on type compatibility cover this already)
      
      DELTA=2  (0 added, 2 deleted, 0 changed)
      OCL=29094
      CL=29096
      c1fd171d
    • Robert Griesemer's avatar
      new method set rules · 56809d0a
      Robert Griesemer authored
      DELTA=63  (27 added, 6 deleted, 30 changed)
      OCL=29065
      CL=29091
      56809d0a
    • Robert Griesemer's avatar
      more useful error string · 1b3b51f7
      Robert Griesemer authored
      R=r
      DELTA=5  (4 added, 0 deleted, 1 changed)
      OCL=29088
      CL=29090
      1b3b51f7
  4. 19 May, 2009 6 commits
    • Russ Cox's avatar
      build crypto/block. · 02f13e47
      Russ Cox authored
      deps.bash tweak.
      
      R=r
      DELTA=95  (95 added, 0 deleted, 0 changed)
      OCL=29046
      CL=29059
      02f13e47
    • Russ Cox's avatar
      final AES: CMAC authentication and EAX authenticated encryption · 513faccb
      Russ Cox authored
      R=r
      DELTA=791  (779 added, 0 deleted, 12 changed)
      OCL=29045
      CL=29058
      513faccb
    • Ian Lance Taylor's avatar
      Match gccgo error messages. · bc5620c2
      Ian Lance Taylor authored
      bug117.go:13:12: error: reference to undefined field or method
      
      import1.go:9:2: error: redefinition of '.main.bufio'
      import1.go:8:2: note: previous definition of '.main.bufio' was here
      import1.go:9:2: error: incompatible imported type 'bufio.Error'
      
      interface9.go:25:5: error: incompatible types in assignment (method P requires a pointer)
      interface9.go:30:5: error: incompatible types in assignment (method P requires a pointer)
      
      R=rsc
      DELTA=5  (0 added, 0 deleted, 5 changed)
      OCL=29044
      CL=29055
      bc5620c2
    • Russ Cox's avatar
      deps.bash tweak - no need to sort -u the $O files. · d8523863
      Russ Cox authored
      R=dsymonds
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=29048
      CL=29053
      d8523863
    • Russ Cox's avatar
      Xor-based crypto modes: OFB and CTR stream encryption. · 20ea881c
      Russ Cox authored
      R=r
      DELTA=643  (643 added, 0 deleted, 0 changed)
      OCL=29017
      CL=29047
      20ea881c
    • Russ Cox's avatar
      Crypto modes: CBC, CFB, ECB. · b0608c13
      Russ Cox authored
      Not ready to link into build yet.
      
      Delta says 1272 lines but only 474
      if you subtract the test files,
      which are mostly data.
      
      R=r
      DELTA=1252  (1249 added, 0 deleted, 3 changed)
      OCL=29013
      CL=29037
      b0608c13