1. 09 Sep, 2010 16 commits
    • Russ Cox's avatar
      gc: more accurate line numbers for ATEXT · 1678dcc3
      Russ Cox authored
      and other begin and end of function code
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/2158044
      1678dcc3
    • Ian Lance Taylor's avatar
      test: Match gccgo error messages. · 4427965e
      Ian Lance Taylor authored
      tmp.go:4:20: error: invalid NUL byte
      tmp.go:6:24: error: invalid NUL byte
      tmp.go:8:15: error: invalid NUL byte
      tmp.go:10:21: error: invalid NUL byte
      tmp.go:12:22: error: invalid NUL byte
      tmp.go:14:21: error: invalid UTF-8 encoding
      tmp.go:14:22: error: invalid UTF-8 encoding
      tmp.go:16:25: error: invalid UTF-8 encoding
      tmp.go:18:15: error: invalid UTF-8 encoding
      tmp.go:18:16: error: invalid UTF-8 encoding
      tmp.go:20:21: error: invalid UTF-8 encoding
      tmp.go:20:22: error: invalid NUL byte
      tmp.go:20:23: error: invalid NUL byte
      tmp.go:23:6: error: invalid UTF-8 encoding
      tmp.go:23:7: error: invalid UTF-8 encoding
      tmp.go:25:22: error: invalid UTF-8 encoding
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2151046
      4427965e
    • Nigel Tao's avatar
      exp/draw: clip destination rectangle to the image bounds. · 2deee293
      Nigel Tao authored
      image: introduce Intersect and Union rectangle methods.
      
      R=r, rog, nigeltao
      CC=golang-dev
      https://golang.org/cl/2115043
      2deee293
    • Nigel Tao's avatar
      exp/draw: rename Context to Window, and add a Close method. · 6c8b8527
      Nigel Tao authored
      exp/draw/x11: allow clean shutdown when the user closes the window.
      
      R=r
      CC=golang-dev
      https://golang.org/cl/2134045
      6c8b8527
    • Joe Poirier's avatar
      build: generate, clean .exe files on Windows · 1d62becb
      Joe Poirier authored
      R=rsc, brainman, vcc
      CC=golang-dev
      https://golang.org/cl/2165044
      1d62becb
    • Scott Lawrence's avatar
      test: remove slice syntax test · a0fc33a8
      Scott Lawrence authored
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2145043
      a0fc33a8
    • Ivan Krasin's avatar
      path: add IsAbs · dfb2af60
      Ivan Krasin authored
      R=rsc, imkrasin, r
      CC=golang-dev
      https://golang.org/cl/1969042
      dfb2af60
    • Rob Pike's avatar
      Make.inc: fix build for tiny. · e56c0555
      Rob Pike authored
      Suggested by paulzhol@gmail.com
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2122049
      e56c0555
    • Robert Griesemer's avatar
      c4e27b7c
    • Rob Pike's avatar
      runtime: fix bug in tracebacks · ba517540
      Rob Pike authored
      Need to correct for deferproc's extra 2 words of stack or in some
      cases (such as memory profiling) traceback can cause a crash.
      Also bulletproof the closure test.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2138047
      ba517540
    • Ian Lance Taylor's avatar
      test: Match gccgo error messages. · c23657e7
      Ian Lance Taylor authored
      named1.go:40:11: error: argument 1 has incompatible type (cannot use type bool as type Bool)
      named1.go:41:11: error: argument 1 has incompatible type (cannot use type bool as type Bool)
      named1.go:43:7: error: incompatible types in assignment (cannot use type bool as type Bool)
      named1.go:44:12: error: argument 4 has incompatible type (cannot use type Bool as type bool)
      named1.go:46:4: error: incompatible types in assignment (cannot use type bool as type Bool)
      named1.go:48:11: error: argument 1 has incompatible type (cannot use type bool as type Bool)
      named1.go:50:7: error: incompatible types in assignment (cannot use type bool as type Bool)
      named1.go:54:7: error: incompatible types in assignment (cannot use type bool as type Bool)
      named1.go:60:7: error: incompatible types in assignment (cannot use type bool as type Bool)
      named1.go:63:9: error: argument 1 has incompatible type (cannot use type bool as type Bool)
      named1.go:64:4: error: incompatible types in assignment (cannot use type bool as type Bool)
      named1.go:67:17: error: invalid type conversion (cannot use type Slice as type String)
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2146044
      c23657e7
    • Ian Lance Taylor's avatar
      test: Match gccgo error messages. · 2d8433a7
      Ian Lance Taylor authored
      explicit.go:36:4: error: incompatible types in assignment (need explicit conversion)
      explicit.go:41:4: error: incompatible types in assignment (type has no methods)
      explicit.go:42:4: error: incompatible types in assignment (need explicit conversion)
      explicit.go:45:5: error: incompatible types in assignment (need explicit conversion; missing method ‘N’)
      explicit.go:48:9: error: invalid type conversion (need explicit conversion; missing method ‘N’)
      explicit.go:51:4: error: incompatible types in assignment
      explicit.go:51:7: error: invalid type conversion (need explicit conversion)
      explicit.go:57:10: error: impossible type assertion: type does not implement interface (type has no methods)
      explicit.go:62:10: error: impossible type assertion: type does not implement interface (incompatible type for method ‘M’ (different number of parameters))
      explicit.go:67:5: error: incompatible type in initialization (type has no methods)
      explicit.go:68:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different number of parameters))
      explicit.go:70:11: error: invalid type conversion (type has no methods)
      explicit.go:71:11: error: invalid type conversion (incompatible type for method ‘M’ (different number of parameters))
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2139044
      2d8433a7
    • Russ Cox's avatar
      test new slices · f4a5d733
      Russ Cox authored
      R=r
      CC=golang-dev
      https://golang.org/cl/2128047
      f4a5d733
    • Joe Poirier's avatar
      build: test for _WIN32, not _MINGW32 · e21b3a40
      Joe Poirier authored
      Use OS rather than compiler specific flag the same way that
      __FreeBSD__, __APPLE__, __OpenBSD__, and __linux__ are used.
      
      _WIN32 is defined by GCC (and others) on windows for Win32
      and Win64 applications. _WIN32 is set by default for several
      other windows based compilers: DMC, MSVC, Intel, Watcom, LCC.
      
      Although the change is for consistency, it allows the Go tools
      to be compiled with non-Mingw GCC distributions and non-GCC
      compilers that support the GCC extensions.
      
      R=rsc, brainman, vcc
      CC=golang-dev
      https://golang.org/cl/2168043
      e21b3a40
    • Scott Lawrence's avatar
      gc: implement new slice spec · fce222a9
      Scott Lawrence authored
      Fixes #382.
      
      R=gri, cw, r, rsc
      CC=golang-dev
      https://golang.org/cl/1957045
      fce222a9
    • Alex Brainman's avatar
      runtime: fix windows build · 89e92318
      Alex Brainman authored
      R=rsc, r2
      CC=golang-dev
      https://golang.org/cl/2135045
      89e92318
  2. 08 Sep, 2010 8 commits
  3. 07 Sep, 2010 14 commits
  4. 06 Sep, 2010 1 commit
  5. 05 Sep, 2010 1 commit