1. 30 Jun, 2011 1 commit
  2. 29 Jun, 2011 1 commit
  3. 22 Jun, 2011 1 commit
  4. 20 Jun, 2011 1 commit
  5. 15 Jun, 2011 2 commits
  6. 13 Jun, 2011 1 commit
    • Russ Cox's avatar
      exp/regexp/syntax: syntax data structures, parser · b96c3477
      Russ Cox authored
      Parser is a work in progress but can populate most of the
      interesting parts of the data structure, so a good checkpoint.
      All the complicated Perl syntax is missing, as are various
      important optimizations made during parsing to the
      syntax tree.
      
      The plan is that exp/regexp's API will mimic regexp,
      and exp/regexp/syntax provides the parser directly
      for programs that need it (and for implementing exp/regexp).
      
      Once finished, exp/regexp will replace regexp.
      
      R=r, sam.thorogood, kevlar, edsrzf
      CC=golang-dev
      https://golang.org/cl/4538123
      b96c3477
  7. 10 Jun, 2011 1 commit
    • David Symonds's avatar
      bike/shed: new package. · b5071e92
      David Symonds authored
      It comes up often enough that it's time to provide
      the utility of a standard package.
      
      R=r, mirtchovski, adg, rsc, n13m3y3r, ality, go.peter.90, lstoakes, iant, jan.mercl, bsiegert, robert.hencke, rogpeppe, befelemepeseveze, kevlar
      CC=golang-dev
      https://golang.org/cl/4557047
      b5071e92
  8. 06 Jun, 2011 1 commit
    • Adam Langley's avatar
      crypto: reorg, cleanup and add function for generating CRLs. · c281ddf1
      Adam Langley authored
      This change moves a number of common PKIX structures into
      crypto/x509/pkix, from where x509, and ocsp can reference
      them, saving duplication. It also removes x509/crl and merges it into
      x509 and x509/pkix.
      
      x509 is changed to take advantage of the big.Int support that now
      exists in asn1. Because of this, the public/private key pair in
      http/httptest/server.go had to be updated because it was serialised
      with an old version of the code that didn't zero pad ASN.1 INTEGERs.
      
      R=bradfitz, rsc
      CC=golang-dev
      https://golang.org/cl/4532115
      c281ddf1
  9. 05 Jun, 2011 1 commit
  10. 04 Jun, 2011 1 commit
  11. 01 Jun, 2011 1 commit
  12. 24 May, 2011 1 commit
  13. 11 May, 2011 2 commits
  14. 08 May, 2011 1 commit
  15. 05 May, 2011 1 commit
    • Benny Siegert's avatar
      image/tiff: implement a decoder. · d97b8a81
      Benny Siegert authored
      The current iteration can decode 8-bit images in
      grayscale, paletted, RGB, RGBA and NRGBA mode. LZW compression
      is implemented but does not work on my test images.
      Deflate (i.e. zlib) compression with or without a horizontal
      predictor is supported.
      
      R=nigeltao, nigeltao_gnome
      CC=golang-dev, mpl
      https://golang.org/cl/4240051
      d97b8a81
  16. 28 Apr, 2011 1 commit
  17. 27 Apr, 2011 1 commit
  18. 22 Apr, 2011 1 commit
  19. 19 Apr, 2011 1 commit
  20. 15 Apr, 2011 1 commit
  21. 13 Apr, 2011 2 commits
  22. 12 Apr, 2011 1 commit
  23. 08 Apr, 2011 1 commit
    • Robert Griesemer's avatar
      go/types: New Go type hierarchy implementation for AST. · a87382e7
      Robert Griesemer authored
      This CL defines a new, more Go-like representation of
      Go types (different structs for different types as
      opposed to a single Type node). It also implements
      an ast.Importer for object/archive files generated
      by the gc compiler tool chain. Besides the individual
      type structs, the main difference is the handling of
      named types: In the old world, a named type had a
      non-nil *Object pointer but otherwise looked no
      different from other types. In this new model, named
      types have their own representation types.Name. As
      a result, resolving cycles is a bit simpler during
      construction, at the cost of having to deal with
      types.Name nodes explicitly later. It remains to be
      seen if this is a good approach. Nevertheless, code
      involving types reads more nicely and benefits from
      full type checking. Also, the representation seems
      to more closely match the spec wording.
      
      Credits: The original version of the gc importer was
      written by Evan Shaw (chickencha@gmail.com). The new
      version in this CL is based largely on Evan's original
      code but contains bug fixes, a few simplifications,
      some restructuring, and was adjusted to use the
      new type hierarchy. I have added a comprehensive test
      that imports all packages found under $GOROOT/pkg (with
      a 3s time-out to limit the run-time of the test). Run
      gotest -v for details.
      
      The original version of ExportData (exportdata.go) was
      written by Russ Cox (rsc@golang.org). The current version
      is returning the internal buffer positioned at the beginning
      of the export data instead of printing the export data to
      stdout.
      
      With the new types package, the existing in-progress
      typechecker package is deprecated. I will delete it
      once all functionality has been brought over.
      
      R=eds, rog, rsc
      CC=golang-dev
      https://golang.org/cl/4314054
      a87382e7
  24. 06 Apr, 2011 3 commits
    • Russ Cox's avatar
      fix build (sorry) · 2671ddd1
      Russ Cox authored
      TBR=r
      CC=golang-dev
      https://golang.org/cl/4378042
      2671ddd1
    • Russ Cox's avatar
      src/pkg/Makefile: trim per-directory make output except on failure · 0ea7bf48
      Russ Cox authored
      Not committed to this but it sure makes
      the output easier to skim.  With this CL:
      
      $ make
      install runtime
      install sync/atomic
      install sync
      install unicode
      install utf16
      install syscall
      install os
      ...
      install ../cmd/govet
      install ../cmd/goyacc
      install ../cmd/hgpatch
      $ make test
      test archive/tar
      test archive/zip
      test asn1
      test big
      test bufio
      ...
      test path
      test path/filepath
      TEST FAIL reflect
      gotest
      rm -f _test/reflect.a
      6g -o _gotest_.6 deepequal.go type.go value.go
      rm -f _test/reflect.a
      gopack grc _test/reflect.a _gotest_.6
      all_test.go:210: invalid type assertion: reflect.NewValue(tt.i).(*StructValue) (non-interface type reflect.Value on left)
      all_test.go:217: cannot type switch on non-interface value v (type reflect.Value)
      all_test.go:218: undefined: IntValue
      all_test.go:221: cannot use 132 (type int) as type reflect.Value in function argument
      all_test.go:223: cannot use 8 (type int) as type reflect.Value in function argument
      all_test.go:225: cannot use 16 (type int) as type reflect.Value in function argument
      all_test.go:227: cannot use 32 (type int) as type reflect.Value in function argument
      all_test.go:229: cannot use 64 (type int) as type reflect.Value in function argument
      all_test.go:231: undefined: UintValue
      all_test.go:234: cannot use 132 (type int) as type reflect.Value in function argument
      all_test.go:234: too many errors
      gotest: "/Users/rsc/g/go/bin/6g -I _test -o _xtest_.6 all_test.go tostring_test.go" failed: exit status 1
      make[1]: *** [test] Error 2
      make: *** [reflect.test] Error 1
      
      R=r, r2
      CC=golang-dev
      https://golang.org/cl/4343046
      0ea7bf48
    • Alex Brainman's avatar
      pkg/path: enable tests on Windows · 7f7371e9
      Alex Brainman authored
      Fixes #1107.
      
      R=golang-dev, dsymonds
      CC=golang-dev
      https://golang.org/cl/4374041
      7f7371e9
  25. 05 Apr, 2011 2 commits
  26. 29 Mar, 2011 1 commit
  27. 28 Mar, 2011 1 commit
  28. 25 Mar, 2011 1 commit
  29. 23 Mar, 2011 1 commit
  30. 15 Mar, 2011 1 commit
  31. 12 Mar, 2011 1 commit
  32. 11 Mar, 2011 1 commit
  33. 10 Mar, 2011 2 commits