- 31 Aug, 2011 13 commits
-
-
Mikio Hara authored
changeset: 8812:3fb3e88d5aa8 gc: unsafe.Alignof, unsafe.Offsetof, unsafe.Sizeof now return uintptr R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4951051
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4973050
-
Robert Griesemer authored
- KindRuns don't need to repeat SpotKind, it is stored in each Spot - removed extra indirection from FileRuns to KindRuns - slight reduction of written index size (~500KB) R=rsc CC=golang-dev https://golang.org/cl/4969052
-
Dmitriy Vyukov authored
Also makes sync benchmark concurrent. R=r, rsc CC=golang-dev https://golang.org/cl/4911043
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4972053
-
Russ Cox authored
R=golang-dev, n13m3y3r, r CC=golang-dev https://golang.org/cl/4958053
-
Russ Cox authored
Does as much as possible in data layout instead of during the init function. Handles var x = y; var y = z as a special case too, because it is so prevalent in package unicode (var Greek = _Greek; var _Greek = []...). Introduces InitPlan description of initialized data so that it can be traversed multiple times (for example, in the copy handler). Cuts package unicode's init function size by 8x. All that remains there is map initialization, which is on the chopping block too. Fixes sinit.go test case. Aggregate DATA instructions at end of object file. Checkpoint. More to come. R=ken2 CC=golang-dev https://golang.org/cl/4969051
-
Russ Cox authored
My string literal was being rewritten from "runtime.SysReserve(%p, %D) = error %d" to "runtime.SysReserve ( %p , %D ) = error %d" R=iant CC=golang-dev https://golang.org/cl/4972051
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4963050
-
Gustavo Niemeyer authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4968054
-
Jaroslavas Počepko authored
R=golang-dev, alex.brainman CC=golang-dev, vcc.163 https://golang.org/cl/4974041
-
Brad Fitzpatrick authored
Off by default (security risk), but users can wire it up if desired. Fixes #2113 R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4959049
-
Robert Griesemer authored
- canonicalize package descriptors - remove duplicate storage of file paths - reduces (current) written index file by approx 3.5MB (from 28434237B to 24686643B, or 13%) - next step: untangle DAG (when serializing, using gob, the index dag explodes into an index tree) R=dsymonds CC=golang-dev https://golang.org/cl/4983042
-
- 30 Aug, 2011 10 commits
-
-
Jaroslavas Počepko authored
R=golang-dev, rsc, bradfitz, nigeltao CC=golang-dev https://golang.org/cl/4956046
-
Gustavo Niemeyer authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4956051
-
Lucio De Re authored
R=golang-dev CC=golang-dev, rsc https://golang.org/cl/4977045
-
Russ Cox authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4964052
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4950052
-
Jaroslavas Počepko authored
Fixes #2178. Patch2: Fixed allocating shadow space for stdcall (must be at least 32 bytes in any case) Patch3: Made allocated chunk smaller. Patch4: Typo Patch5: suppress linktime warning "runtime.callbackasm: nosplit stack overflow" Patch6: added testcase src/pkg/syscall/callback_windows_test.go Patch7: weakly related files moved to https://golang.org/cl/4965050 https://golang.org/cl/4974041 https://golang.org/cl/4965051 Patch8: reflect changes https://golang.org/cl/4926042/ Patch9: reflect comments R=golang-dev, alex.brainman, vcc.163 CC=golang-dev, hectorchu https://golang.org/cl/4958042
-
Lucio De Re authored
R=golang-dev CC=golang-dev, rsc https://golang.org/cl/4975044
-
Jaroslavas Počepko authored
windows/386: clean stack after syscall (it is necessary after call cdecl functions and does not have an effect after stdcall) Result of discussion here: http://groups.google.com/group/golang-nuts/browse_thread/thread/357c806cbb57ca62 R=golang-dev, bradfitz, alex.brainman, hectorchu, rsc CC=golang-dev https://golang.org/cl/4961045
-
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
-
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
-
- 29 Aug, 2011 17 commits
-
-
Robert Griesemer authored
The result of sort.Search is in the interval [0,n); specifically, if no entry is found, the result is n and not -1. R=dsymonds CC=golang-dev https://golang.org/cl/4982041
-
Andrew Gerrand authored
release.r50 looks for newest tag <= go.r50 weekly.2010-10-10 looks for newest tag <= go.2010-10-10 Implements behavior for hg, git, and bzr. R=dsymonds, rsc, n13m3y3r CC=golang-dev https://golang.org/cl/4873057
-
Brad Fitzpatrick authored
Since JavaScript doesn't have [u]int64 types, some JSON APIs encode such types as strings to avoid losing precision. This adds a new struct tag option ",string" to cause fields to be wrapped in JSON strings on encoding and unwrapped from strings when decoding. R=rsc, gustavo CC=golang-dev https://golang.org/cl/4918051
-
Jaroslavas Počepko authored
R=rsc CC=alex.brainman, golang-dev, vcc.163 https://golang.org/cl/4965050
-
Mateusz Czapliński authored
Fixes #979. R=rsc, alex.brainman CC=golang-dev, vcc.163 https://golang.org/cl/4894051
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4967043
-
Mike Rosset authored
This should allow symlinks in tar files. Where previously as far as I can see they were skipped completely. R=golang-dev, dsymonds, rsc, bradfitz, bradfitz CC=golang-dev, mike.rosset https://golang.org/cl/4973044
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4963047
-
Joel Sing authored
Missed in previous change (4951043). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4967044
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4978042
-
Mikio Hara authored
This CL changes the internal form of IPMask for IPv4 from 16-byte to 4-byte, also adds Size method to IPMask struct and changes output string format of IPMask.String method. R=rsc CC=golang-dev https://golang.org/cl/4950046
-
Gustavo Niemeyer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4962042
-
Joel Sing authored
Add openbsd 386 runtime support, partially based on the existing freebsd 386 runtime. This requires change 4973043. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4951043
-
Yuval Pavel Zholkover authored
8l: fix handling CALL $(constant) code generated by 8a. 8a,8l: add indirect call instruction: CALL *data(SB). R=rsc, iant CC=golang-dev https://golang.org/cl/4817054
-
Joel Sing authored
Add openbsd 386 syscall support, partially based on the existing freebsd 386 syscall implementation. FTR zerrors_openbsd_386.go cannot currently be completely built on openbsd/i386 due to what appears to be a gcc bug. The constants can be successfully generated with -m32 on openbsd/amd64 and the error table can then be generated on openbsd/i386. R=rsc CC=golang-dev https://golang.org/cl/4969045
-
Joel Sing authored
- Rename sys_sched_yield() to osyield() as this is now defined in asm.h. - Only print kern.rtheads message if rfork_thread() failed with ENOTSUP. - Remove unused variables. R=rsc CC=golang-dev https://golang.org/cl/4973043
-
Fazlul Shahriar authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4966045
-