summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-01-05change time.Tick test to use 100ms intervals.Russ Cox1-2/+2
now passes even under loaded conditions on r45. R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22019 CL=22022
2008-12-30one bignum test failsKen Thompson1-0/+2
has to do with printing patched it out R=r OCL=21921 CL=21923
2008-12-30allow slices (open arrays) to beKen Thompson1-66/+49
receivers in methods. put back original code for hilbert/bignum R=r OCL=21910 CL=21920
2008-12-26diagnostic to catch pointer toKen Thompson2-15/+45
rvalue promoted to method receiver. fixes to bignum that failed. R=r OCL=21827 CL=21827
2008-12-23put array test in table, with TODO to fix when arrays work in interfaces.Rob Pike1-0/+8
TBR=rsc OCL=21766 CL=21766
2008-12-22print array (not just *array) using %vRob Pike2-1/+34
TBR=rsc DELTA=34 (33 added, 0 deleted, 1 changed) OCL=21718 CL=21718
2008-12-20hilbert now runs.Rob Pike1-1/+4
it's 25% faster and runs with 40% less memory allocation than before R=rsc DELTA=20 (15 added, 0 deleted, 5 changed) OCL=21690 CL=21690
2008-12-20update to new regime.Rob Pike3-98/+138
lines marked BUG are rewrites working around 6g bug. R=rsc DELTA=161 (42 added, 2 deleted, 117 changed) OCL=21689 CL=21689
2008-12-19[] and struct in interfaces.Russ Cox4-21/+10
other [] cleanup. convert() is gone. R=r DELTA=352 (144 added, 68 deleted, 140 changed) OCL=21660 CL=21662
2008-12-19allow Listen on ":9999" as an alias for "0.0.0.0:9999"Russ Cox2-9/+21
R=r DELTA=21 (12 added, 0 deleted, 9 changed) OCL=21653 CL=21653
2008-12-19malloc bug fixes.Russ Cox1-1/+1
use malloc by default. free stacks. R=r DELTA=424 (333 added, 29 deleted, 62 changed) OCL=21553 CL=21584
2008-12-19fmt and reflect updates for recent changesRuss Cox7-59/+58
TBR=r OCL=21580 CL=21583
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox41-242/+218
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox56-510/+498
R=r OCL=21563 CL=21571
2008-12-18host and port name lookupRuss Cox13-102/+951
R=r,presotto DELTA=1239 (935 added, 281 deleted, 23 changed) OCL=21041 CL=21539
2008-12-18malloc in runtime (not used by default)Russ Cox2-0/+20
R=r DELTA=1551 (1550 added, 0 deleted, 1 changed) OCL=21404 CL=21538
2008-12-18- fixed a bug in Natural.And()Robert Griesemer1-186/+129
- removed some non-beneficial factorization and reduced number of array slices per operations significantly - reduced line count - benchhil benchmark time reduced by ~2% R=r DELTA=313 (106 added, 163 deleted, 44 changed) OCL=21473 CL=21497
2008-12-16clear flags so that %+v does not pass the +Russ Cox1-1/+2
to the first field it prints. R=r DELTA=2 (1 added, 0 deleted, 1 changed) OCL=21324 CL=21328
2008-12-16If ByteBuffer has never been used, b.buf is nil but Data() should still work.Rob Pike1-0/+8
Fix the bug using a (safe) shared global empty array. R=rsc DELTA=8 (8 added, 0 deleted, 0 changed) OCL=21303 CL=21303
2008-12-15range clause must have = or :=Ken Thompson2-3/+3
:= illegal in for-increment R=r OCL=21204 CL=21204
2008-12-15add test for onceRuss Cox2-0/+32
R=r DELTA=31 (31 added, 0 deleted, 0 changed) OCL=21043 CL=21175
2008-12-11remove implicit int -> stringRuss Cox1-1/+1
R=ken OCL=21020 CL=21020
2008-12-11print field names on struct members.Russ Cox3-17/+117
also don't concatenate strings next to each other in the struct, like p.doprint does. expose additional print flags to formatters R=r DELTA=128 (111 added, 11 deleted, 6 changed) OCL=20991 CL=21018
2008-12-11add uintptr to reflect and printRob Pike3-35/+66
R=rsc DELTA=70 (35 added, 4 deleted, 31 changed) OCL=20993 CL=20998
2008-12-11if the typestring gives a field name of "?", drop it.Rob Pike3-4/+11
R=rsc DELTA=11 (7 added, 0 deleted, 4 changed) OCL=20988 CL=20988
2008-12-11handle the nil interface better in reflect and printRob Pike3-6/+25
R=rsc DELTA=25 (19 added, 0 deleted, 6 changed) OCL=20985 CL=20985
2008-12-11add JSON libraryRuss Cox7-0/+1138
R=r DELTA=1127 (1127 added, 0 deleted, 0 changed) OCL=20975 CL=20983
2008-12-10looks like i broke the buildRuss Cox1-1/+1
TBR=r OCL=20963 CL=20963
2008-12-10DNS messagesRuss Cox2-2/+686
R=r DELTA=685 (683 added, 0 deleted, 2 changed) OCL=20926 CL=20951
2008-12-10assorted cleanup and fixesRuss Cox8-98/+128
R=r DELTA=209 (109 added, 79 deleted, 21 changed) OCL=20930 CL=20934
2008-12-10StringBytes help routine, common functionality put into package io for sharing.Rob Pike1-0/+10
R=rsc DELTA=10 (10 added, 0 deleted, 0 changed) OCL=20928 CL=20931
2008-12-09bug126Ken Thompson2-2/+2
R=r OCL=20879 CL=20879
2008-12-09fix historical editing glitchRob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=20871 CL=20873
2008-12-09implement two TODOs in reflect:Rob Pike1-30/+23
- delete vestigial SetString method - make type map use interface instead of *interface R=rsc DELTA=31 (0 added, 7 deleted, 24 changed) OCL=20861 CL=20863
2008-12-09use unsafe.pointer in reflection objectsRob Pike6-313/+55
R=rsc DELTA=326 (4 added, 259 deleted, 63 changed) OCL=20853 CL=20856
2008-12-09- fixed bug with unicode text formatting: the number of bytesRobert Griesemer2-95/+201
per rune cannot be computed correctly if we have only parts of a rune - delay computation - added html filtering mode: html tags and entities are ignored for width computations - expanded tests: - extra tests for html text - extra tests that write text in various portions R=r DELTA=227 (126 added, 20 deleted, 81 changed) OCL=20833 CL=20835
2008-12-09replace assembly casts with unsafe.pointerRuss Cox13-164/+77
R=r DELTA=178 (18 added, 101 deleted, 59 changed) OCL=20822 CL=20826
2008-12-09more impossible time errorsRuss Cox1-4/+4
R=r DELTA=4 (0 added, 0 deleted, 4 changed) OCL=20788 CL=20818
2008-12-08avoid skew in time.Tick; remove errors from time.Seconds, time.NanosecondsRuss Cox3-25/+36
R=r DELTA=46 (21 added, 10 deleted, 15 changed) OCL=20785 CL=20787
2008-12-05use sync.Mutex instead of a channel for lockingRob Pike2-5/+6
R=rsc DELTA=12 (3 added, 1 deleted, 8 changed) OCL=20631 CL=20634
2008-12-05- handle UTF-8 text in tabwriterRobert Griesemer2-55/+79
R=r DELTA=84 (27 added, 3 deleted, 54 changed) OCL=20539 CL=20584
2008-12-04strings.utflen -> utf8.RuneCount, RuneCountInStringRuss Cox5-43/+62
R=r DELTA=94 (52 added, 33 deleted, 9 changed) OCL=20547 CL=20552
2008-12-04Make run.bash run all the current tests.Ian Lance Taylor1-0/+4
R=r,rsc DELTA=8 (8 added, 0 deleted, 0 changed) OCL=20468 CL=20473
2008-12-04add mutex.MutexRuss Cox5-0/+173
R=r DELTA=349 (348 added, 0 deleted, 1 changed) OCL=20380 CL=20472
2008-12-04fix build - forgot these filesRuss Cox3-0/+115
TBR=r OCL=20448 CL=20448
2008-12-03add time.Tick()Russ Cox5-15/+134
R=r DELTA=130 (115 added, 1 deleted, 14 changed) OCL=20376 CL=20385
2008-12-03preparation for exec.Russ Cox9-2/+120
* 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
2008-12-03Make strconv.atof("-0") return -0Russ Cox2-7/+9
and update test. R=iant DELTA=11 (3 added, 1 deleted, 7 changed) OCL=20350 CL=20362
2008-12-01be more precise in ftoa_test.Russ Cox1-12/+17
R=ken OCL=20173 CL=20173
2008-12-01add blank line (response to post-submit review of CL 19422)Russ Cox1-0/+1
TBR=r OCL=20127 CL=20127