summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-06-08- bug fix: no need to add extra '.' when renaming custom formattersRobert Griesemer2-3/+9
- added corresponding test case R=rsc DELTA=10 (7 added, 1 deleted, 2 changed) OCL=30055 CL=30059
2009-06-08add exec example to http triv.go.Russ Cox2-4/+44
fix darwin interrupt bug (race with SIGCHLD). R=gri DELTA=46 (40 added, 0 deleted, 6 changed) OCL=30052 CL=30057
2009-06-08Fix Makefile in runtime to create proper /pkg subdir.Kai Backman1-1/+2
R=rsc APPROVED=rsc DELTA=2 (1 added, 0 deleted, 1 changed) OCL=30043 CL=30043
2009-06-06move src/runtime -> src/lib/runtime;Russ Cox7-52/+113
hand-edited files. R=r DELTA=125 (77 added, 16 deleted, 32 changed) OCL=30001 CL=30008
2009-06-06move src/runtime -> src/lib/runtime;Russ Cox75-119/+15
only automatic g4 mv here. R=r OCL=30002 CL=30007
2009-06-06gzip packageRuss Cox5-0/+568
R=dsymonds DELTA=559 (559 added, 0 deleted, 0 changed) OCL=29993 CL=30005
2009-06-06flate packageRuss Cox3-0/+864
R=dsymonds DELTA=858 (858 added, 0 deleted, 0 changed) OCL=29992 CL=30004
2009-06-06Publish types PipeReader and PipeWriterRuss Cox2-81/+138
to expose new CloseWithError methods. R=r DELTA=161 (72 added, 15 deleted, 74 changed) OCL=29980 CL=30003
2009-06-06an 8g checkpoint.Russ Cox4-53/+81
needs cleanup, optimizer, but all.bash works. R=ken OCL=29974 CL=30000
2009-06-06implement optional semicolons with help from the lexer,Russ Cox3-284/+179
instead of having to double the type and statement grammars. R=ken OCL=29987 CL=29998
2009-06-066g: add TODO about float constants backRuss Cox1-0/+1
R=ken OCL=29984 CL=29997
2009-06-06fix build: testing depends on regexp now; re-ran deps.bashRuss Cox1-2/+2
TBR=r OCL=29991 CL=29994
2009-06-06Basic HTTP POST support.David Symonds2-6/+43
R=rsc APPROVED=rsc DELTA=45 (37 added, 1 deleted, 7 changed) OCL=29964 CL=29990
2009-06-06gc: grammar cleanup:Russ Cox9-858/+827
* no longer distinguishes const, var, type, package names. * all the predefined names are not tokens anymore. R=ken OCL=29326 CL=29985
2009-06-06delete unnecessary newlineRuss Cox1-1/+1
R=gri DELTA=1 (0 added, 0 deleted, 1 changed) OCL=29971 CL=29975
2009-06-058l: add AIMULWRuss Cox1-1/+6
R=ken OCL=29972 CL=29972
2009-06-05use cc provided xlog2 instead of system log2.Russ Cox1-2/+2
(on plan 9 cc calls it log2, but that conflicts here.) the difference is that xlog2 returns -1 on non powers of 2. 8c was rewriting /10 into /8. R=ken OCL=29968 CL=29968
2009-06-05more build refinements:Russ Cox9-23/+20
* use new Make.$GOARCH files in gobuild. * rename 6ar to arch-generic gopack. * place objects in $GOROOT/pkg/$GOOS_$GOARCH (makes cross-compiling easier, and no one ever types these paths by hand anyway). R=r DELTA=29 (6 added, 8 deleted, 15 changed) OCL=29923 CL=29967
2009-06-05rebuilt Makefiles for CL 29923Russ Cox49-687/+295
R=r DELTA=761 (1 added, 433 deleted, 327 changed) OCL=29927 CL=29966
2009-06-05Add Upper, Lower, Trim methods to strings package.Steve Newman2-0/+110
APPROVED=rsc DELTA=110 (110 added, 0 deleted, 0 changed) OCL=29766 CL=29951
2009-06-05restructure makefiles, scripts to factor out O= logic.Russ Cox8-29/+60
remove a few hardcoded paths elsewhere too. R=r,gri DELTA=123 (44 added, 15 deleted, 64 changed) OCL=29914 CL=29945
2009-06-05fix 386 malloc tests,Russ Cox2-2/+2
detect 386 darwin breakpoint line. R=r DELTA=22 (4 added, 0 deleted, 18 changed) OCL=29929 CL=29944
2009-06-05fix 386 log testRuss Cox2-13/+12
R=r DELTA=13 (0 added, 1 deleted, 12 changed) OCL=29928 CL=29943
2009-06-04Rolling galign back to 32 bit.Kai Backman1-3/+3
R=rsc APPROVED=rsc DELTA=3 (0 added, 0 deleted, 3 changed) OCL=29532 CL=29917
2009-06-04don't need these anymore;Russ Cox2-44/+0
R=kaib DELTA=36 (0 added, 36 deleted, 0 changed) OCL=29908 CL=29916
2009-06-04386-related fixes and guardsRuss Cox8-27/+45
R=r DELTA=44 (19 added, 1 deleted, 24 changed) OCL=29912 CL=29915
2009-06-04bug161, fixedRuss Cox2-1/+7
R=ken OCL=29907 CL=29907
2009-06-04- interpret form feed char as newline + flushRobert Griesemer2-195/+176
- cleanups: - replaced internal byte buffer implementation with io.ByteBuffer (now that we have one) - removed all uses of goto statements in favor of structured code - converted tests into a table-driven test R=r DELTA=277 (48 added, 67 deleted, 162 changed) OCL=29890 CL=29901
2009-06-04rename -chatty to more conventional -v.Russ Cox1-1/+13
add -match flag to select tests. gotest -match 'TestDeepEqual$' R=r DELTA=13 (12 added, 0 deleted, 1 changed) OCL=29900 CL=29900
2009-06-04use the new bytes packageRob Pike6-34/+23
R=rsc DELTA=61 (8 added, 31 deleted, 22 changed) OCL=29897 CL=29899
2009-06-04more 8g progress.Russ Cox7-72/+339
likely to go back to registers for most temporaries. most tests in lib pass. these fail: datafmt fmt go/scanner log reflect strconv template R=ken OCL=29896 CL=29898
2009-06-04bytes.CopyRob Pike4-0/+38
R=rsc DELTA=38 (38 added, 0 deleted, 0 changed) OCL=29895 CL=29895
2009-06-04add a bytes package analogous to the strings package.Rob Pike3-0/+352
also has Equal and Compare R=rsc DELTA=348 (348 added, 0 deleted, 0 changed) OCL=29892 CL=29894
2009-06-04- report an error if format is nil instead of crashingRobert Griesemer1-3/+7
- treat '\f' like '\n' ('\f' has special meaning in the tabwriter now) R=rsc DELTA=7 (4 added, 0 deleted, 3 changed) OCL=29790 CL=29893
2009-06-04allow &^= in assignmentsRobert Griesemer1-2/+2
R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=29889 CL=29889
2009-06-04missing darwin files; g4 nothave.Russ Cox2-0/+117
R=r DELTA=115 (115 added, 0 deleted, 0 changed) OCL=29884 CL=29888
2009-06-04machine-generated files for CL 29882Russ Cox4-0/+1652
R=r DELTA=1652 (1652 added, 0 deleted, 0 changed) OCL=29883 CL=29887
2009-06-04linux 386 support; now in same state as darwin 386Russ Cox8-7/+362
(stuck on 8l bug). R=r DELTA=349 (342 added, 1 deleted, 6 changed) OCL=29882 CL=29886
2009-06-04dangling pointer bug (thanks valgrind)Russ Cox1-1/+1
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=29881 CL=29885
2009-06-04more 386 runtime fixes.Russ Cox11-31/+106
can pass many tests; current stumbling block is an 8l bug. R=r DELTA=122 (83 added, 8 deleted, 31 changed) OCL=29872 CL=29876
2009-06-04fix handling of floating point zero constant 0p+0Russ Cox1-0/+3
R=r DELTA=25 (25 added, 0 deleted, 0 changed) OCL=29875 CL=29875
2009-06-03zero struct in T{}Russ Cox1-1/+1
R=ken OCL=29849 CL=29849
2009-06-03fix build. i would love to know why my other clientRuss Cox1-11/+0
didn't see this as a diff. TBR=r OCL=29827 CL=29831
2009-06-03Define os.PageSize and syscall.PageSize.David Symonds3-0/+13
R=rsc APPROVED=rsc DELTA=13 (13 added, 0 deleted, 0 changed) OCL=29429 CL=29819
2009-06-02trivial cut and paste: move 64-bit simulation into cgen64.cRuss Cox3-506/+513
R=ken OCL=29812 CL=29812
2009-06-028g:Russ Cox3-246/+481
* floating point -> integer conversions. x86 defines that overflow/underflow results in 1<<15, 1<<31, 1<<63 for int16, int32, int64. when building the unsigned conversions out of the native signed ones, 8g turns overflow/underflow into zero. the spec does not say what should happen. * many tiny bug fixes. can run a large number of files from go/test now, and can fmt.Printf. * struggling with byte register allocation and float32 computation. R=ken OCL=29642 CL=29811
2009-06-02mechanically-generated syscall filesRuss Cox4-0/+1615
R=r DELTA=1615 (1615 added, 0 deleted, 0 changed) OCL=29803 CL=29810
2009-06-02386 library updatesRuss Cox8-8/+177
R=r DELTA=161 (153 added, 0 deleted, 8 changed) OCL=29802 CL=29809
2009-06-02minor cleanup, 64-bit /= and %= on 32-bitRuss Cox5-13/+119
R=ken OCL=29806 CL=29808
2009-06-02for consistency with syscall, rename filesRuss Cox6-10/+24
from GOARCH_GOOS -> GOOS_GOARCH. update os_test and add test of Time. R=r DELTA=490 (247 added, 233 deleted, 10 changed) OCL=29730 CL=29805