1. 03 Dec, 2008 2 commits
    • Robert Griesemer's avatar
      - fine-tuning of white space · cb67a832
      Robert Griesemer authored
      - by default consider extra newlines in src for better formatting
      - additional flags for control (-newlines, -maxnewlines, -optsemicolons)
      - don't print ()'s around single anonymous result types
      
      Status: Comparing the output of pretty with the input for larger files
      shows mostly whitespace/formatting differences, which is what is desired.
      
      TODO:
      - Handling of overlong lines
      - some esoteric cases which look funny
      
      R=r
      OCL=20293
      CL=20293
      cb67a832
    • Russ Cox's avatar
      6g gives no error on "0 != nil" · 1e1a3c50
      Russ Cox authored
      R=ken
      OCL=20289
      CL=20289
      1e1a3c50
  2. 02 Dec, 2008 6 commits
  3. 01 Dec, 2008 2 commits
  4. 27 Nov, 2008 1 commit
    • Robert Griesemer's avatar
      - collect addition source position information in parser · d79f687e
      Robert Griesemer authored
        for end of declarations, blocks, parameter lists, etc.
      - use extra src positions to more accurately print comments
      - fine-tuned low-level printing routine for comments
      - added better debugging support
      
      Status:
      - comments now appear at the right place (inbetween the right tokens)
      - newline control needs improvement (not very hard)
      - comment printing disabled for now because pretty is not idempotent
      with it; to enable: -comments
      
      R=r
      OCL=20079
      CL=20079
      d79f687e
  5. 26 Nov, 2008 3 commits
    • Robert Griesemer's avatar
      - snapshot of state before trying yet another, hopefully better working · 732b53a1
      Robert Griesemer authored
      way to integrate comments into the generated output
      - various simplificatins and cleanups throughout
      
      R=r
      OCL=20062
      CL=20062
      732b53a1
    • Russ Cox's avatar
      new stacktrace format · d040d268
      Russ Cox authored
      sys·gosched+0x25 /home/rsc/go/src/runtime/proc.c:477
      	sys·gosched()
      chanrecv+0x29e /home/rsc/go/src/runtime/chan.c:277
      	chanrecv(0x4be80, 0x0, 0x4cf88, 0x0, 0x0, ...)
      sys·chanrecv1+0x5b /home/rsc/go/src/runtime/chan.c:355
      	sys·chanrecv1(0x4be80, 0x0)
      once·Server+0x26 /home/rsc/go/src/lib/strconv/atoi.go:-41
      	once·Server()
      
      the last line is broken (atoi.go:-41) but that's not new.
      
      R=r
      DELTA=46  (19 added, 14 deleted, 13 changed)
      OCL=20018
      CL=20026
      d040d268
    • Russ Cox's avatar
      change meaning of $GOMAXPROCS to number of cpus to use, · efc86a74
      Russ Cox authored
      not number of threads.  can still starve all the other threads,
      but only by looping, not by waiting in a system call.
      
      fix darwin syscall.Syscall6 bug.
      
      fix chanclient bug.
      
      delete $GOMAXPROCS from network tests.
      
      add stripped down printf, sys.printhex to runtime.
      
      R=r
      DELTA=355  (217 added, 36 deleted, 102 changed)
      OCL=20017
      CL=20019
      efc86a74
  6. 25 Nov, 2008 10 commits
  7. 24 Nov, 2008 16 commits
    • Russ Cox's avatar
      add hash to build; rm pkg/* in clean.bash · bbe9bb65
      Russ Cox authored
      R=r
      DELTA=3  (3 added, 0 deleted, 0 changed)
      OCL=19935
      CL=19937
      bbe9bb65
    • Russ Cox's avatar
      convert tests. · 0f83fa3a
      Russ Cox authored
      refine gotest's test selection criteria.
      
      R=r
      DELTA=1590  (745 added, 844 deleted, 1 changed)
      OCL=19903
      CL=19936
      0f83fa3a
    • Russ Cox's avatar
      replay CL 19916 and CL 19913 now that the build can handle them · 387df5e1
      Russ Cox authored
      TBR=r
      OCL=19924
      CL=19934
      387df5e1
    • Russ Cox's avatar
      remove old .6 after install, · 0a20746c
      Russ Cox authored
      so that compilation of other .6
      will use the copy in goroot/pkg
      
      R=r
      DELTA=3  (1 added, 0 deleted, 2 changed)
      OCL=19931
      CL=19933
      0a20746c
    • Rob Pike's avatar
      really restore helpful error rules · d7c10487
      Rob Pike authored
      R=rsc
      OCL=19929
      CL=19929
      d7c10487
    • Rob Pike's avatar
      restore helpful error rules · 46f89d53
      Rob Pike authored
      R=rsc
      OCL=19928
      CL=19928
      46f89d53
    • Ken Thompson's avatar
      1. retract general field names · 8e3fe10e
      Ken Thompson authored
      2. array bounds bug
      3. ... optimization bug
      
      R=r
      OCL=19927
      CL=19927
      8e3fe10e
    • Rob Pike's avatar
      add missing file · 2a874603
      Rob Pike authored
      R=rsc
      OCL=19926
      CL=19926
      2a874603
    • Russ Cox's avatar
      Automated g4 rollback of changelist 19913. · c00295d1
      Russ Cox authored
      *** Reason for rollback ***
      
      broke build
      
      *** Original change description ***
      
      bufio.ReadRune
      
      TBR=r
      OCL=19923
      CL=19923
      c00295d1
    • Russ Cox's avatar
      Automated g4 rollback of changelist 19916. · 85fea81d
      Russ Cox authored
      *** Reason for rollback ***
      
      broke build
      
      *** Original change description ***
      
      utf8: add InString routines for decoding in strings
      reflect: add InterfaceValue.Get(), remove Empty
      strconv: add Quote, CanBackquote
      fmt:
      	* %q go-quoted " string
      	* %#q go-quoted ` string if possible, " string otherwise
      	* %x hexadecimal string
      	* anywhere a string is okay, *[]byte is okay
      	* flags # 0 - + space
      	* print value inside interface, not interface itself
      	* tests
      
      TBR=r
      OCL=19920
      CL=19920
      85fea81d
    • Russ Cox's avatar
      utf8: add InString routines for decoding in strings · b65a9304
      Russ Cox authored
      reflect: add InterfaceValue.Get(), remove Empty
      strconv: add Quote, CanBackquote
      fmt:
      	* %q go-quoted " string
      	* %#q go-quoted ` string if possible, " string otherwise
      	* %x hexadecimal string
      	* anywhere a string is okay, *[]byte is okay
      	* flags # 0 - + space
      	* print value inside interface, not interface itself
      	* tests
      
      R=r
      DELTA=756  (597 added, 121 deleted, 38 changed)
      OCL=19888
      CL=19916
      b65a9304
    • Robert Griesemer's avatar
      bufio.ReadRune · 508277de
      Robert Griesemer authored
      R=rsc
      DELTA=32  (29 added, 0 deleted, 3 changed)
      OCL=19809
      CL=19913
      508277de
    • Russ Cox's avatar
      make bignum_test a test · 0432a343
      Russ Cox authored
      R=gri
      DELTA=967  (468 added, 499 deleted, 0 changed)
      OCL=19906
      CL=19912
      0432a343
    • Russ Cox's avatar
      hash writers: adler32, crc32, md5, sha1. · e3b79300
      Russ Cox authored
      all could probably be made faster.
      
      R=r
      DELTA=929  (929 added, 0 deleted, 0 changed)
      OCL=19879
      CL=19911
      e3b79300
    • Rob Pike's avatar
      output of fmt has changed for %g · 375b1e2a
      Rob Pike authored
      R=rsc
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=19909
      CL=19909
      375b1e2a
    • Russ Cox's avatar
      gobuild: · 6c4d8f83
      Russ Cox authored
      	recognize "// package foo" in non-go files
      	recognize "gobuild: ignore" to exclude from build
      
      R=r
      DELTA=10  (7 added, 2 deleted, 1 changed)
      OCL=19878
      CL=19905
      6c4d8f83