1. 30 Aug, 2011 2 commits
    • Mike Samuel's avatar
      exp/template/html: Added handling for URL attributes. · 22d5f9aa
      Mike Samuel authored
      1. adds a urlPart field to context
      2. implements tURL to figure out the URL part
      3. modifies joinContext to allow common context mismatches
         around branches to be ignored when not material as in
         <a href="/foo{{if .HasQuery}}?q={{.Query}}{{/if}}">
      4. adds a pipeline function that filters dynamically inserted
         protocols to prevent code injection via URLs.
      
      R=nigeltao
      CC=golang-dev
      https://golang.org/cl/4957041
      22d5f9aa
    • Robert Griesemer's avatar
      godoc: support for reading/writing (splitted) index files. · d01ee38f
      Robert Griesemer authored
      This CL implements a new godoc feature to save the search
      index on disk. Use -write_index to create the search
      index file named with -index_files. Use -index_files to
      provide a glob pattern specifying index file(s) when
      starting godoc; in this case the run-time indexer is not
      run.
      
      Known issues:
      - saving/restoring full text index is not yet supported
      - the list of flags and overall usage logic could use a
        cleanup
      
      R=rsc, dsymonds
      CC=golang-dev
      https://golang.org/cl/4974045
      d01ee38f
  2. 29 Aug, 2011 27 commits
  3. 28 Aug, 2011 1 commit
    • Russ Cox's avatar
      gc: tweak and enable escape analysis · db5f9da4
      Russ Cox authored
      -s now means *disable* escape analysis.
      
      Fix escape leaks for struct/slice/map literals.
      Add ... tracking.
      Rewrite new(T) and slice literal into stack allocation when safe.
      
      Add annotations to reflect.
      Reflect is too chummy with the compiler,
      so changes like these affect it more than they should.
      
      R=lvd, dave, gustavo
      CC=golang-dev
      https://golang.org/cl/4954043
      db5f9da4
  4. 27 Aug, 2011 1 commit
  5. 26 Aug, 2011 9 commits