- 08 Dec, 2008 1 commit
-
-
Ian Lance Taylor authored
bug126.go:7:7: error: redefinition of 'none' bug126.go:6:7: note: previous definition of 'none' was here R=gri DELTA=3 (1 added, 0 deleted, 2 changed) OCL=20563 CL=20723
-
- 06 Dec, 2008 2 commits
-
-
Ken Thompson authored
a range m (implies :=) a,b range m (implies :=) a:b range m (implies :=) a := range m a,b := range m a:b := range m a = range m a,b = range m a:b = range m R=r OCL=20676 CL=20676
-
Ken Thompson authored
R=r OCL=20667 CL=20667
-
- 05 Dec, 2008 11 commits
-
-
Rob Pike authored
R=rsc DELTA=13 (13 added, 0 deleted, 0 changed) OCL=20638 CL=20641
-
Russ Cox authored
mark and sweep, stop the world garbage collector (intermediate step in the way to ref counting). can run pretty with an explicit gc after each file. R=r DELTA=502 (346 added, 143 deleted, 13 changed) OCL=20630 CL=20635
-
Rob Pike authored
R=rsc DELTA=12 (3 added, 1 deleted, 8 changed) OCL=20631 CL=20634
-
Ian Lance Taylor authored
broken if you give it something which matches everything--the .* swallows all the error messages. Recognize some reasonable error text directly. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=20564 CL=20595
-
Robert Griesemer authored
R=r DELTA=84 (27 added, 3 deleted, 54 changed) OCL=20539 CL=20584
-
Russ Cox authored
can run peano 10 in 100 MB (instead of 1+ GB) of memory when linking against this. can run peano 11 in 1 GB of memory now. R=r DELTA=100 (44 added, 44 deleted, 12 changed) OCL=20504 CL=20553
-
Russ Cox authored
R=r DELTA=94 (52 added, 33 deleted, 9 changed) OCL=20547 CL=20552
-
Rob Pike authored
R=rsc DELTA=43 (19 added, 24 deleted, 0 changed) OCL=20551 CL=20551
-
Robert Griesemer authored
- first cut at html writer (will do html escaping, html tag production) - first cut at generating basic html output via pretty - some cleanups R=r OCL=20550 CL=20550
-
Robert Griesemer authored
Ken's suggestion for the "iota" extension to tuples. DELTA=171 (88 added, 57 deleted, 26 changed) OCL=20460 CL=20544
-
Ken Thompson authored
R=r OCL=20520 CL=20522
-
- 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
-