1. 15 Aug, 2012 8 commits
  2. 14 Aug, 2012 2 commits
  3. 13 Aug, 2012 4 commits
  4. 12 Aug, 2012 1 commit
  5. 10 Aug, 2012 2 commits
  6. 09 Aug, 2012 10 commits
  7. 08 Aug, 2012 10 commits
  8. 07 Aug, 2012 3 commits
    • Nigel Tao's avatar
      image/jpeg: send a correct Start Of Scan (SOS) header. · 5f7bec69
      Nigel Tao authored
      Section B.2.3 of http://www.w3.org/Graphics/JPEG/itu-t81.pdf discusses
      the End of spectral selection (Se) byte.
      
      Apparently many JPEG decoders ignore the Se byte (or let it through
      with a warning), but some configurations reject them. For example,
      http://download.blender.org/source/chest/blender_2.03_tree/jpeg/jcmaster.c
      has these lines:
      
      if (Ss != 0 || Se != DCTSIZE2-1 || Ah != 0 || Al != 0)
        ERREXIT1(cinfo, JERR_BAD_PROG_SCRIPT, scanno);
      
      Fixes #3916.
      
      R=r
      CC=golang-dev
      https://golang.org/cl/6459052
      5f7bec69
    • Shenghou Ma's avatar
      runtime: inline several float64 routines to speed up complex128 division · 0157c72d
      Shenghou Ma authored
      Depends on CL 6197045.
      
      Result obtained on Core i7 620M, Darwin/amd64:
      benchmark                       old ns/op    new ns/op    delta
      BenchmarkComplex128DivNormal           57           28  -50.78%
      BenchmarkComplex128DivNisNaN           49           15  -68.90%
      BenchmarkComplex128DivDisNaN           49           15  -67.88%
      BenchmarkComplex128DivNisInf           40           12  -68.50%
      BenchmarkComplex128DivDisInf           33           13  -61.06%
      
      Result obtained on Core i7 620M, Darwin/386:
      benchmark                       old ns/op    new ns/op    delta
      BenchmarkComplex128DivNormal           89           50  -44.05%
      BenchmarkComplex128DivNisNaN          307          802  +161.24%
      BenchmarkComplex128DivDisNaN          309          788  +155.02%
      BenchmarkComplex128DivNisInf          278          237  -14.75%
      BenchmarkComplex128DivDisInf           46           22  -52.46%
      
      Result obtained on 700MHz OMAP4460, Linux/ARM:
      benchmark                       old ns/op    new ns/op    delta
      BenchmarkComplex128DivNormal         1557          465  -70.13%
      BenchmarkComplex128DivNisNaN         1443          220  -84.75%
      BenchmarkComplex128DivDisNaN         1481          218  -85.28%
      BenchmarkComplex128DivNisInf          952          216  -77.31%
      BenchmarkComplex128DivDisInf          861          231  -73.17%
      
      The 386 version has a performance regression, but as we have
      decided to use SSE2 instead of x87 FPU for 386 too (issue 3912),
      I won't address this issue.
      
      R=dsymonds, mchaten, iant, dave, mtj, rsc, r
      CC=golang-dev
      https://golang.org/cl/6024045
      0157c72d
    • Brad Fitzpatrick's avatar
      io: document ReaderFrom and WriterTo · c8423f90
      Brad Fitzpatrick authored
      Fixes #3711
      
      R=golang-dev, adg
      CC=golang-dev
      https://golang.org/cl/6445083
      c8423f90