1. 21 Nov, 2011 2 commits
    • Lucio De Re's avatar
      syscall: fix for Plan 9 build · 8ec32e8d
      Lucio De Re authored
      exec_plan9.go:
      . Adjusted return argument to match other changes.
      #mksyscall.pl:
      . Replaced "err = e1" with "err = NewError(e1)".
      * Change abandoned, Russ made a better suggestion involving
        syscall_plan9.go.
      syscall_plan9.go:
      . Removed redundant "err = nil" lines.
      . Adjusted //sys lines for mksyscall.pl.
      * Replaced "err string" with "err ErrorString" in return arguments.
      zsyscall_plan9_386.go:
      . This module ought to be generated, but as it exists in the
        repository, I rebuilt it and checked that it matched expectations.
        Anybody is welcome to remove this from the repository if
        they feel it should go, but remember that not all Plan 9
        installations have a working Perl.
      
      R=rsc
      CC=ality, golang-dev
      https://golang.org/cl/5411046
      8ec32e8d
    • Russ Cox's avatar
      gofix: test and fix missorted renames · 2e9d7a6d
      Russ Cox authored
      Also introduce a new insertion heuristic:
      insert new import next to existing import
      with the longest matching prefix.
      
      R=golang-dev, adg, gri
      CC=golang-dev
      https://golang.org/cl/5412053
      2e9d7a6d
  2. 20 Nov, 2011 4 commits
  3. 19 Nov, 2011 6 commits
  4. 18 Nov, 2011 22 commits
  5. 17 Nov, 2011 6 commits
    • Joe Poirier's avatar
      misc/windows packager development intermediate check-in · 984b4e38
      Joe Poirier authored
      The installer now: allows a user to select an alternative
      install directory, it now adds a Go folder to the Programs
      Menu, and it places two shortcuts on the user's desktop.
      The Program Menu folder contains shortcuts to the uninstaller
      and two batch files, go.bat and godoc.bat. The desktop
      shortcuts also point to go.bat and godoc.bat.
      
      go.bat sets the Go environment, including Path, and spawns a
      Window's shell. godoc.bat starts the godoc server at
      localhost:6060 then spawns a browser window pointing to the
      document server.
      
      Setting the environment temporarily and spawning a shell, via
      go.bat, should be safer than messing with the system's environment
      and it makes the user experience a bit more streamlined.
      
      The packager does work in its current state but it still needs
      some polishing. And yes, the plan is to add a dialogue to allow
      the user to decline the desktop shortcuts.
      
      R=rsc, alex.brainman, tjyang2001
      CC=golang-dev
      https://golang.org/cl/5399042
      984b4e38
    • Alex Brainman's avatar
      mime: implement TypeByExtension for windows · ac17fd4c
      Alex Brainman authored
      Fixes #2071.
      
      R=golang-dev, hcwfrichter, pascal, rsc
      CC=golang-dev
      https://golang.org/cl/5369056
      ac17fd4c
    • Robert Griesemer's avatar
      godoc: provide mode for flat (non-indented) directory listings · 9859af87
      Robert Griesemer authored
      This feature should make it easier to look at very large
      directory trees.
      
      - a new mode (URL: /pkg/?m=flat) shows directory listings w/o
        indentation and entries with full path (html and text mode)
      - in text mode, hierarchical (non-flat) directory listings are
        now presented with indentation (/pkg/?m=text)
      - in html mode, hierarchical (non-flat) directory listings are
        presented with slightly less indentation
      - there is an internal hook for programmatic control of the
        display mode (for specialized versions of godoc).
      
      R=bradfitz
      CC=golang-dev, rsc
      https://golang.org/cl/5410043
      9859af87
    • Joel Sing's avatar
      os: re-enable hostname test on openbsd · ea2c0cd8
      Joel Sing authored
      Now that Sysctl() works, re-enable the hostname test.
      
      R=golang-dev, mikioh.mikioh
      CC=golang-dev
      https://golang.org/cl/5408042
      ea2c0cd8
    • Joel Sing's avatar
      syscall: hostname/domainname fix for openbsd · 9b571a31
      Joel Sing authored
      Work around a bug that was fixed after OpenBSD 5.0 - a request for
      kern.hostname or kern.domainname with a nil value for oldp will result
      in a length of zero being returned. If we hit this case use a length
      of MAXHOSTNAMELEN (256).
      
      R=golang-dev, mikioh.mikioh
      CC=golang-dev
      https://golang.org/cl/5408041
      9b571a31
    • Joel Sing's avatar
      syscall: implement nametomib for openbsd. · 773a921c
      Joel Sing authored
      Move the existing darwin/freebsd specific nametomib implementation
      into the respective operating system dependent files.
      
      Provide a nametomib implementation for openbsd, which operates on a
      sysctl MIB that has been pre-generated from the various system headers
      by mksysctl_openbsd.pl.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4935044
      773a921c