- 04 Dec, 2008 8 commits
-
-
Ken Thompson authored
R=r OCL=20506 CL=20506
-
Russ Cox authored
(happens legitimately in c and assembly objects). R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=20497 CL=20499
-
Russ Cox authored
unless given -d flag. the resulting binary doesn't *use* any dynamic libraries, it just has a reference to the dynamic linker and an empty list of needed symbols and libraries. this is enough to make 6.out binaries that can be run under dtrace / dtruss. R=r DELTA=39 (34 added, 0 deleted, 5 changed) OCL=20476 CL=20482
-
Ian Lance Taylor authored
R=r,rsc DELTA=8 (8 added, 0 deleted, 0 changed) OCL=20468 CL=20473
-
Russ Cox authored
R=r DELTA=349 (348 added, 0 deleted, 1 changed) OCL=20380 CL=20472
-
Russ Cox authored
TBR=r OCL=20448 CL=20448
-
Russ Cox authored
run oldstack on g0's stack, just like newstack does, so that oldstack can free the old stack. R=r DELTA=53 (44 added, 0 deleted, 9 changed) OCL=20404 CL=20433
-
Russ Cox authored
R=r DELTA=130 (115 added, 1 deleted, 14 changed) OCL=20376 CL=20385
-
- 03 Dec, 2008 12 commits
-
-
Robert Griesemer authored
- rewrote declaration printing - was unreadable before - no semicolons after closing "}" for types R=r OCL=20379 CL=20379
-
Russ Cox authored
* syscall: add syscall.RawSyscall, which doesn't use sys.entersyscall/sys.exitsyscall add syscall.dup2 add syscall.BytePtrPtr add syscall.Rusage, RusagePtr add syscall.F_GETFD, F_SETFD, FD_CLOEXEC * runtime: clean up, correct signal handling. can now survive (continue running after) a signal. R=r DELTA=394 (286 added, 51 deleted, 57 changed) OCL=20351 CL=20369
-
Russ Cox authored
format is unchanged but shows all frames (old loop stopped one frame early). wreck=; 6.out cannot convert type *main.S·interface2 to interface main.I·interface2: missing method Foo throw: interface conversion SIGSEGV: segmentation violation Faulting address: 0x0 pc: 0x256d throw+0x46 /home/rsc/go/src/runtime/runtime.c:68 throw(0x863a, 0x0) hashmap+0x188 /home/rsc/go/src/runtime/iface.c:167 hashmap(0x8760, 0x0, 0x85b0, 0x0, 0x0, ...) sys·ifaceT2I+0xa8 /home/rsc/go/src/runtime/iface.c:201 sys·ifaceT2I(0x8760, 0x0, 0x85b0, 0x0, 0x0, ...) main·main+0x4e /home/rsc/go/src/runtime/rt0_amd64_darwin.s:87 main·main() mainstart+0xf /home/rsc/go/src/runtime/rt0_amd64.s:70 mainstart() sys·goexit /home/rsc/go/src/runtime/proc.c:110 sys·goexit() R=r DELTA=44 (5 added, 15 deleted, 24 changed) OCL=20358 CL=20368
-
Russ Cox authored
and update test. R=iant DELTA=11 (3 added, 1 deleted, 7 changed) OCL=20350 CL=20362
-
Ken Thompson authored
new syntax for exact mp floating constants decimal_int ( "p" | "P" ) [ "+" | "-" ] decimal_int the value is decimal1 * 2^decimal2 R=r OCL=20357 CL=20357
-
Russ Cox authored
TBR=r OCL=20352 CL=20355
-
Robert Griesemer authored
R=rsc DELTA=32 (28 added, 3 deleted, 1 changed) OCL=20301 CL=20340
-
Ken Thompson authored
used scaled indexing R=r OCL=20308 CL=20310
-
Ken Thompson authored
used in float64 or float32 contexts R=r OCL=20297 CL=20297
-
Robert Griesemer authored
- fixed printing of empty structs/interfaces - enable two more tests R=r OCL=20296 CL=20296
-
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
-
Russ Cox authored
R=ken OCL=20289 CL=20289
-
- 02 Dec, 2008 6 commits
-
-
Ian Lance Taylor authored
default. Fix PRETTY_OBJS to include compilation.o rather than compilation.go. R=gri DELTA=10 (0 added, 8 deleted, 2 changed) OCL=20248 CL=20257
-
Russ Cox authored
R=ken OCL=20188 CL=20188
-
Robert Griesemer authored
R=rsc DELTA=9 (9 added, 0 deleted, 0 changed) OCL=20187 CL=20187
-
Ken Thompson authored
R=r OCL=20185 CL=20185
-
Robert Griesemer authored
- changed tab width to 8 chars by default to make test run properly - excluded 4 files that are not idempotently printed - fixed a couple of incorrect file position recordings in parser - fine-tuned layout engine - white-space formatting reasonable, but not perfect - no handling of overlong lines R=r To use with smaller tabs: pretty -tabwidth=4 file.go To use with blanks instead of tabs: pretty -usetabs=0 file.go OCL=20184 CL=20184
-
Russ Cox authored
R=ken OCL=20173 CL=20173
-
- 01 Dec, 2008 2 commits
-
-
Robert Griesemer authored
- comment printing still disabled by default because idempotency test fails - whitespace control better but not perfect yet - snapshot before making some heuristics changes R=r OCL=20151 CL=20151
-
Russ Cox authored
TBR=r OCL=20127 CL=20127
-
- 27 Nov, 2008 1 commit
-
-
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
-
- 26 Nov, 2008 3 commits
-
-
Robert Griesemer authored
way to integrate comments into the generated output - various simplificatins and cleanups throughout R=r OCL=20062 CL=20062
-
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
-
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
-
- 25 Nov, 2008 8 commits
-
-
Robert Griesemer authored
- added extra tests R=r DELTA=164 (107 added, 20 deleted, 37 changed) OCL=20002 CL=20004
-
Russ Cox authored
warn about files with no tests be clear about where testing warnings come from R=r DELTA=18 (12 added, 3 deleted, 3 changed) OCL=19988 CL=19993
-
Robert Griesemer authored
- runs all.bash R=r DELTA=121 (0 added, 121 deleted, 0 changed) OCL=19960 CL=19983
-
Rob Pike authored
fix up protocol buffers to use it. R=rsc DELTA=1232 (612 added, 572 deleted, 48 changed) OCL=19964 CL=19981
-
Russ Cox authored
r45=; 6.out oops panic PC=0x400316 0x400316?zi /home/rsc/go/src/runtime/rt0_amd64_linux.s:83 main·g(4195177, 0, 4205661, ...) main·g(0x400369, 0x402c5d, 0x403e49, ...) 0x40034c?zi /home/rsc/go/src/runtime/x.go:24 main·f(4205661, 0, 4210249, ...) main·f(0x402c5d, 0x403e49, 0x1, ...) 0x400368?zi /home/rsc/go/src/runtime/x.go:37 main·main(4210249, 0, 1, ...) main·main(0x403e49, 0x1, 0x7fff9d894bd8, ...) 0x402c5c?zi /home/rsc/go/src/runtime/rt0_amd64.s:70 mainstart(1, 0, 2643020760, ...) mainstart(0x1, 0x7fff9d894bd8, 0x0, ...) r45=; R=r DELTA=251 (198 added, 25 deleted, 28 changed) OCL=19965 CL=19979
-
Russ Cox authored
R=r DELTA=7 (7 added, 0 deleted, 0 changed) OCL=19967 CL=19978
-
Russ Cox authored
R=r DELTA=150 (147 added, 0 deleted, 3 changed) OCL=19968 CL=19977
-
Robert Griesemer authored
- use more of the existing library code R=r OCL=19957 CL=19959
-