summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-10-14move regexp to libRob Pike3-0/+947
next cl will update names and add to build R=rsc DELTA=1876 (938 added, 938 deleted, 0 changed) OCL=17149 CL=17166
2008-10-09Adding Mkdir.Cary Hull3-0/+21
R=rsc APPROVED=rsc DELTA=21 (21 added, 0 deleted, 0 changed) OCL=16794 CL=16803
2008-10-08add http to lib buildRuss Cox1-1/+1
R=r OCL=16721 CL=16727
2008-10-08Fixes breakage caused by semicolon restriction.Cary Hull6-46/+50
R=rsc APPROVED=rsc DELTA=50 (4 added, 0 deleted, 46 changed) OCL=16707 CL=16725
2008-10-07Unterminated declaration breaks build.Cary Hull1-1/+1
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=16688 CL=16690
2008-10-07remove uses of *T as an implicit forward declaration of TRuss Cox1-0/+6
R=gri,r OCL=16648 CL=16652
2008-10-07update code to follow new semicolon rules:Russ Cox22-354/+354
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
2008-09-30i can import "net" in package netRuss Cox1-18/+18
and still have a variable named "net" R=r DELTA=18 (0 added, 0 deleted, 18 changed) OCL=16220 CL=16222
2008-09-29Use unsigned int in itoa to avoid relying on the behaviour ofIan Lance Taylor1-11/+4
signed integer overflow when negating the most negative integer. R=rsc DELTA=11 (0 added, 7 deleted, 4 changed) OCL=16105 CL=16120
2008-09-29* implement Linux epoll for polling i/oRuss Cox9-330/+498
* isolate OS-specific polling goop in Pollster type * move generic poll loop out of fd_darwin.go into fd.go R=r DELTA=782 (448 added, 281 deleted, 53 changed) OCL=16108 CL=16119
2008-09-29delete unused filesRuss Cox2-502/+0
R=r DELTA=494 (0 added, 494 deleted, 0 changed) OCL=16109 CL=16115
2008-09-27Correct zoneinfo version number: it's not 2, it's '2'.Ian Lance Taylor1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=16032 CL=16040
2008-09-26Darwin kqueue/kevent-based network FDsRuss Cox1-39/+294
R=r OCL=15998 CL=16004
2008-09-26add os.PipeRuss Cox1-0/+9
R=r OCL=15989 CL=16001
2008-09-26fix build: new net MakefileRuss Cox1-2/+1
TBR=r OCL=15996 CL=15996
2008-09-26move src/syscall to src/lib/syscall.Russ Cox29-147/+2824
enforce rule: all kernel data structures and constants go in syscall module. move things that should be in syscall out of net. make net a single package. R=r OCL=15985 CL=15994
2008-09-25Change the name of the result variable so that it does notIan Lance Taylor1-1/+1
hide the package "ip". R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=15914 CL=15914
2008-09-25To get an empty string, return an empty string, not 0.Ian Lance Taylor1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=15858 CL=15860
2008-09-24early HTTP library and trivial serverRuss Cox6-0/+692
R=r OCL=15777 CL=15791
2008-09-22add os.Getenv()Rob Pike2-1/+30
R=rsc DELTA=51 (50 added, 0 deleted, 1 changed) OCL=15665 CL=15667
2008-09-22implement zoneinfo readerRuss Cox2-8/+258
R=r DELTA=348 (338 added, 0 deleted, 10 changed) OCL=15648 CL=15660
2008-09-22add "once" packageRuss Cox2-0/+80
R=r DELTA=79 (79 added, 0 deleted, 0 changed) OCL=15656 CL=15656
2008-09-19export an os.Error constructorRuss Cox2-14/+13
R=r DELTA=20 (6 added, 7 deleted, 7 changed) OCL=15569 CL=15571
2008-09-19more nuanced handling of usage message to allow user control.Rob Pike1-16/+28
also print argv(0) in default message R=gri DELTA=37 (21 added, 9 deleted, 7 changed) OCL=15540 CL=15554
2008-09-19add gobuild.Russ Cox8-324/+82
use gobuild-generated Makefile for math and os. other makefile tweaks. move math/main.go to test/math.go R=r OCL=15529 CL=15537
2008-09-18make Makefiles safe for parallel makeRuss Cox6-0/+18
use -j4 (4-way parallel) in make.bash. halves time for make.bash on r45 also add libregexp, acid to default build R=r DELTA=90 (39 added, 37 deleted, 14 changed) OCL=15485 CL=15487
2008-09-17time & date.Russ Cox6-3/+445
rename AddrToInt, StatToInt, etc -> BytePtr, StatPtr, ... R=r OCL=15450 CL=15456
2008-09-17add network listening & testsRuss Cox6-41/+185
R=r,presotto OCL=15410 CL=15440
2008-09-16fix / work around bugs in bufio testRuss Cox1-2/+10
R=r DELTA=11 (8 added, 0 deleted, 3 changed) OCL=15405 CL=15405
2008-09-16preliminary network - just Dial for nowRuss Cox6-0/+1474
R=r,presotto OCL=15393 CL=15399
2008-09-12buffered input & outputRuss Cox4-9/+447
R=r DELTA=812 (803 added, 0 deleted, 9 changed) OCL=15225 CL=15280
2008-09-12change rand names to match type namesRuss Cox1-34/+44
R=r DELTA=66 (19 added, 9 deleted, 38 changed) OCL=15232 CL=15265
2008-09-12rudimentary string utilities.Russ Cox2-8/+206
R=r DELTA=314 (306 added, 8 deleted, 0 changed) OCL=15074 CL=15263
2008-09-11fixes for funcs without returnsRob Pike4-5/+4
R=ken OCL=15170 CL=15170
2008-09-11pull O_RDONLY etc. up to os libraryRob Pike1-0/+14
R=rsc DELTA=16 (14 added, 0 deleted, 2 changed) OCL=15156 CL=15163
2008-09-11make syscall use strings for file namesRob Pike5-189/+6
tweak os to adjust move StringToBytes into syscall, at least for now this program still works: package main import os "os" func main() { os.Stdout.WriteString("hello, world\n"); a, b := os.NewFD(77).WriteString("no way"); os.Stdout.WriteString(b.String() + "\n"); } R=rsc DELTA=263 (59 added, 176 deleted, 28 changed) OCL=15153 CL=15153
2008-09-11add lib/os to standard buildRob Pike6-10/+189
break lib/os into multiple source files R=rsc DELTA=189 (178 added, 4 deleted, 7 changed) OCL=15149 CL=15152
2008-09-10make FD a struct with Read, Write, etc.Rob Pike1-38/+63
as methods R=gri,rsc DELTA=99 (56 added, 31 deleted, 12 changed) OCL=15103 CL=15103
2008-09-10add an Error type to be used as a singleton pointerRob Pike3-52/+127
put all the code in one file for now to work around compiler bug R=gri,rsc DELTA=168 (120 added, 41 deleted, 7 changed) OCL=15100 CL=15100
2008-09-10rudimentary beginnings of soon-to-be-real os libraryRob Pike3-0/+88
R=gri DELTA=76 (76 added, 0 deleted, 0 changed) OCL=15086 CL=15088
2008-09-09- added convenience wrappers for sortRobert Griesemer1-2/+12
(work now with Ken's latest compiler fix) - exoanded test cases accordingly - fixed a type in the spec (thx r) R=r DELTA=65 (62 added, 2 deleted, 1 changed) OCL=15050 CL=15050
2008-09-08- added sort package and test caseRobert Griesemer2-1/+96
R=r OCL=14975 CL=14975
2008-09-05use a makefile to build mathRob Pike3-3/+50
fix a typo in syscall/Makefile R=ken OCL=14863 CL=14863
2008-09-04include math in standard buildRob Pike4-0/+27
R=ken OCL=14811 CL=14811
2008-09-04Update fmt, refl, and rpc to exploit bug fixes in compilerRob Pike1-3/+3
R=gri OCL=14806 CL=14806
2008-09-02vector cleanup:Rob Pike1-25/+8
- change Delete to Remove - return deleted element in Remove - remove range checking (runtime does this for you) R=gri OCL=14714 CL=14714
2008-09-01minor bugsKen Thompson3-4/+6
R=r OCL=14702 CL=14702
2008-08-29- updated and cleaned up vector.go to use new array instructionsRobert Griesemer1-50/+47
- added initial test cases (needs to be expanded) R=r DELTA=135 (84 added, 30 deleted, 21 changed) OCL=14654 CL=14654
2008-08-12update bugsRob Pike1-0/+1
exploit the compiler now supporting i2s and i2i and clean up some code fix up some panics and prints R=gri OCL=14141 CL=14141
2008-08-11fix two print statementsRob Pike1-2/+2
R=gri OCL=14105 CL=14105