1. 12 Oct, 2009 12 commits
    • Kai Backman's avatar
      changed 5c 64 bit word ordering to little endian so it matches · 101f7cbd
      Kai Backman authored
      5g. fixes to 64 bit code gen. added (finally) function to do
      shifts properly.
      
      go/test: passes 83% (287/342)
      
      R=rsc
      APPROVED=rsc
      DELTA=156  (50 added, 53 deleted, 53 changed)
      OCL=35589
      CL=35616
      101f7cbd
    • Russ Cox's avatar
      sort errors by line number · 23724081
      Russ Cox authored
      turn off testdclstack and "not used" errors
      when there are syntax errors.
      
      BUG=2181825
      R=ken
      OCL=35606
      CL=35608
      23724081
    • Russ Cox's avatar
      stack overflow debugging and fix. · add89dd1
      Russ Cox authored
        * in 6l, -K already meant check for stack underflow.
          add -KK to mean double-check stack overflows
          even in nosplit functions.
      
        * comment out print locks; they deadlock too easily
           but are still useful to put back for special occasions.
      
        * let runcgo assembly switch to scheduler stack
          without involving scheduler directly.  because runcgo
          gets called from matchmg, it is too hard to keep it
          from being called on other stacks.
      
      R=r
      DELTA=94  (65 added, 18 deleted, 11 changed)
      OCL=35591
      CL=35604
      add89dd1
    • Russ Cox's avatar
      new builtin.c.boot from arm. · fd76b4f3
      Russ Cox authored
      node printing fixes.
      silence incorrect redeclaration error.
      
      R=ken
      OCL=35602
      CL=35602
      fd76b4f3
    • Russ Cox's avatar
      fix comment on strings.LastIndex. · 10c7d19e
      Russ Cox authored
      add bytes.LastIndex.
      add strings.Reader.
      
      R=r
      DELTA=59  (56 added, 0 deleted, 3 changed)
      OCL=35585
      CL=35601
      10c7d19e
    • Russ Cox's avatar
      introduce non-strict mode in xml parser, · d0aac0ac
      Russ Cox authored
      good enough to parse some html.
      
      in reader, add "comment" tag to collect
      comment text.
      
      do not allocate during Unmarshal unless pointer is nil.
      
      R=r
      DELTA=441  (416 added, 1 deleted, 24 changed)
      OCL=35586
      CL=35594
      d0aac0ac
    • Russ Cox's avatar
      correct a design flaw: Atoi etc should not guess the base. · fcdba72d
      Russ Cox authored
      leave that for Btoi with base == 0.
      
      R=r
      DELTA=146  (101 added, 29 deleted, 16 changed)
      OCL=35584
      CL=35593
      fcdba72d
    • Russ Cox's avatar
      fix build · 867e10f2
      Russ Cox authored
      TBR=r
      OCL=35592
      CL=35592
      867e10f2
    • Kai Backman's avatar
      64bit and float code generation. fmt compiles but · 6d0983ae
      Kai Backman authored
      reflect is broken so fmt doesn't work.
      
      go/test: passes 83% (285/342)
      
      R=rsc
      APPROVED=rsc
      DELTA=415  (240 added, 29 deleted, 146 changed)
      OCL=35576
      CL=35588
      6d0983ae
    • Nigel Tao's avatar
      PNG encoder now filters. · 64145109
      Nigel Tao authored
      R=r,rsc
      APPROVED=r
      DELTA=122  (102 added, 0 deleted, 20 changed)
      OCL=35573
      CL=35587
      64145109
    • Rob Pike's avatar
      better code for allocation through indirection · c0e0f82e
      Rob Pike authored
      R=rsc
      DELTA=11  (3 added, 5 deleted, 3 changed)
      OCL=35583
      CL=35583
      c0e0f82e
    • Rob Pike's avatar
      fix bugs in gob. · 330ab5fd
      Rob Pike authored
      1) didn't handle attempts to encode non-structs properly.
      2) if there were multiple indirections involving allocation, didn't allocate the
      intermediate cells.
      tests added.
      
      R=rsc
      DELTA=82  (65 added, 5 deleted, 12 changed)
      OCL=35582
      CL=35582
      330ab5fd
  2. 11 Oct, 2009 3 commits
    • Russ Cox's avatar
      interpreter checkpoint. · e9841229
      Russ Cox authored
        * generate different versions of binary operators
          for each size of int and float, so that proper
          truncating happens after each operation to
          simulate the various sized ops.
        * add slice expressions
        * publish World.CompileStmtList, CompileDeclList, CompileExpr
        * handle type-less expressions in CompileExpr
      
      R=austin
      DELTA=1459  (1327 added, 11 deleted, 121 changed)
      OCL=34382
      CL=35581
      e9841229
    • Kai Backman's avatar
      fix float <-> int64 conversions · 1620023d
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=25  (25 added, 0 deleted, 0 changed)
      OCL=35566
      CL=35574
      1620023d
    • Rob Pike's avatar
      change Title to ToTitle for consistency. (the doc comment was already right) · 5743fb59
      Rob Pike authored
      R=rsc
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=35572
      CL=35572
      5743fb59
  3. 10 Oct, 2009 2 commits
  4. 09 Oct, 2009 13 commits
  5. 08 Oct, 2009 6 commits
  6. 07 Oct, 2009 4 commits
    • Russ Cox's avatar
      better handling of mistaken top-level variable · d5150635
      Russ Cox authored
      references during the parsing of :=.  the base
      problem is that when reading
      
      	a,b,c,d
      
      the parser makes those refer to existing variables,
      which might create a few stub top-level ones
      for undefined names, but then if a := is the next
      token, we need to undo those stubs.
      
      this was causing problems in multifile packages
      in which one file used a := variable named rpc
      and the other imported a package named rpc.
      
      R=ken
      OCL=35446
      CL=35446
      d5150635
    • Russ Cox's avatar
      do not import testing twice when testing testing. · 4fd7a908
      Russ Cox authored
      R=r
      DELTA=3  (2 added, 0 deleted, 1 changed)
      OCL=35443
      CL=35445
      4fd7a908
    • Russ Cox's avatar
      apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync... · 91549438
      Russ Cox authored
      apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync syscall testing time unicode unsafe utf8
      
      R=gri
      DELTA=1409  (79 added, 24 deleted, 1306 changed)
      OCL=35415
      CL=35437
      91549438
    • Robert Griesemer's avatar
      support for "hard" and "soft" tabs: · f77b255c
      Robert Griesemer authored
      - soft-tab separated columns can be discarded if empty and DiscardEmptyColumns is set
      - hard-tab separated columns are never discarded
      
      R=rsc
      DELTA=63  (42 added, 7 deleted, 14 changed)
      OCL=35421
      CL=35435
      f77b255c