summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-06-02Fixes to URL functionality:Steve Newman2-32/+285
- Extend http.URLUnescape to convert '+' to space - Add http.URLEscape - Rename URL.Query to EncodedQuery (and stop decoding it, as decoding this field before separating key/value pairs loses important information) - Report a clean error on incomplete hex escapes - Update existing tests, add new ones APPROVED=rsc DELTA=293 (256 added, 3 deleted, 34 changed) OCL=29685 CL=29759
2009-06-01auto-generated, renamed, and deleted filesRuss Cox28-2046/+2539
associated with CL 29709. R=r DELTA=6444 (3476 added, 2958 deleted, 10 changed) OCL=29710 CL=29724
2009-06-01new syscall package: manually maintained files and scripts.Russ Cox15-72/+2351
auto-generated files and deletions are in another CL. goals for new syscall: * automate as much as possible * do not let clients do unsafe things * use simple types (int not int64) * fewer files the files are renamed from foo_amd64_linux to foo_linux_amd64, both because it reads better (all the linux are related, all the amd64 less so) and because it made it easier to replace the existing ones. R=r DELTA=2336 (2260 added, 6 deleted, 70 changed) OCL=29709 CL=29723
2009-06-01update Go tree to use new syscall package.Russ Cox22-555/+282
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-06-01make godefs work better for generating Go.Russ Cox3-28/+116
R=r DELTA=121 (92 added, 4 deleted, 25 changed) OCL=29706 CL=29721
2009-06-01format packageRobert Griesemer6-0/+1675
R=r,rsc DELTA=2871 (1712 added, 1118 deleted, 41 changed) OCL=29222 CL=29704
2009-06-01- enable scanner to handle illegal chars w/o returning an errorRobert Griesemer3-15/+55
so that it can be used for non-Go chars - adjust parser accordingly R=rsc DELTA=58 (42 added, 2 deleted, 14 changed) OCL=29688 CL=29703
2009-06-01io.ReadFileRobert Griesemer3-1/+66
R=r,rsc DELTA=64 (63 added, 0 deleted, 1 changed) OCL=29702 CL=29702
2009-05-31prevent multiple similar errorsKen Thompson2-19/+35
in complex literals. side effect is fix of error in initializerr.go R=r OCL=29667 CL=29667
2009-05-30bug157Russ Cox3-166/+190
R=ken OCL=29651 CL=29653
2009-05-30bug 158Ken Thompson1-3/+11
R=r OCL=29646 CL=29646
2009-05-29make gobuild failures more readable.Russ Cox3-36/+76
1. ar reports names of objects with duplicate text symbols. 2. gobuild only shows first line of error output for each failed command. 3. gobuild ignores files that begin with ascii non-alphanumeric non _. ; gobuild $ 6g -I _obj gobuild.go gobuild.go:150: PackageImports: undefined $ 6g -I _obj makefile.go makefile.go:102: ShellString: undefined $ 6g -I _obj util.go util.go:114: syntax error near zzz gobuild: stalemate ; ; gobuild $ 6ar grc _obj/gobuild.a util.6 util1.6 duplicate text symbol: util1.6 and util.6: gobuild·Build $ 6g -I _obj gobuild.go gobuild.go:150: PackageImports: undefined $ 6g -I _obj makefile.go makefile.go:102: ShellString: undefined gobuild: stalemate ; R=r DELTA=95 (49 added, 9 deleted, 37 changed) OCL=29625 CL=29640
2009-05-29bug 156Ken Thompson1-7/+2
R=r OCL=29623 CL=29623
2009-05-29bug 155Ken Thompson1-1/+3
R=r OCL=29619 CL=29619
2009-05-29bug 149Ken Thompson1-1/+4
R=r OCL=29612 CL=29612
2009-05-29Fix godoc deadlock.Russ Cox1-2/+9
The code was already careful not to use malloc/free for stack growth during calls to malloc. Avoid them during calls to free too. R=r DELTA=9 (7 added, 0 deleted, 2 changed) OCL=29606 CL=29610
2009-05-29integer conversions and test.Russ Cox1-27/+44
R=ken OCL=29577 CL=29589
2009-05-2964-bit integer arithmetic.Russ Cox4-30/+367
passes ridiculous test from CL 29569. R=ken OCL=29571 CL=29573
2009-05-28print uint64 as uint64.Russ Cox3-1/+6
R=ken OCL=29568 CL=29570
2009-05-28detect recursive initializationKen Thompson5-25/+57
R=r OCL=29544 CL=29544
2009-05-28better 64-bit handling in 8g.Russ Cox7-305/+695
fewer moves, fewer stupid LEALs. powser1 runs (with evaln commented out). beginnings of floating point. R=ken OCL=29540 CL=29543
2009-05-28Rebooted 5g effort from 6g. Tons of minor fixes and tweaks toKai Backman11-3021/+3825
get the code going. R=rsc APPROVED=rsc DELTA=4752 (1723 added, 948 deleted, 2081 changed) OCL=29403 CL=29530
2009-05-28Change 5l to use Biobufs for IO.Kai Backman2-110/+81
R=rsc APPROVED=rsc DELTA=132 (16 added, 45 deleted, 71 changed) OCL=29468 CL=29497
2009-05-27clean up gmove:Russ Cox7-497/+459
* conversions all in one place. * no separate load, store phases; direct memory addressing when possible (this is the x86 after all!). avoids extra registers, extra MOVQs. * fixes int32 -> uint64 bug (was zero-extending) R=ken OCL=29482 CL=29484
2009-05-27bug 153Ken Thompson1-1/+6
R=r OCL=29479 CL=29479
2009-05-27attach package commentRuss Cox1-1/+0
R=r DELTA=1 (0 added, 1 deleted, 0 changed) OCL=29473 CL=29477
2009-05-27added protection against race conditionKen Thompson1-6/+10
between first and second pass of converting []int to string. R=r OCL=29467 CL=29467
2009-05-27string([]int) conversionKen Thompson4-1/+43
R=r OCL=29466 CL=29466
2009-05-27fix bug154; tweak bug153 exit statusRuss Cox1-6/+11
R=ken OCL=29448 CL=29448
2009-05-27getrusage on darwin; untested but builds.Russ Cox1-0/+5
R=dsymonds DELTA=5 (5 added, 0 deleted, 0 changed) OCL=29424 CL=29447
2009-05-268g: missing change from last CLRuss Cox1-1/+1
R=ken OCL=29426 CL=29426
2009-05-268g: 64-bit arithmetic and assorted bug fixes;Russ Cox12-52/+557
can run 64-bit sieve and powser. interfaces are limping along. next hurdle is floating point. R=ken OCL=29418 CL=29423
2009-05-26Getrusage for linux.David Symonds4-2/+42
R=rsc APPROVED=rsc DELTA=40 (38 added, 0 deleted, 2 changed) OCL=29351 CL=29422
2009-05-26bug 152Ken Thompson2-13/+22
R=r OCL=29419 CL=29419
2009-05-26add NUL when allocating strings, to make useRuss Cox2-5/+9
of getenv by low-level runtime easier. fix 32-bit bug in gc (there are still more). R=ken OCL=29415 CL=29415
2009-05-26darwin support for 32-bit debuggingRuss Cox1-50/+127
R=r DELTA=129 (78 added, 1 deleted, 50 changed) OCL=29411 CL=29413
2009-05-2632-bit stack switching bug fixRuss Cox2-2/+2
R=ken OCL=29412 CL=29412
2009-05-26bug 151Ken Thompson1-6/+15
R=r OCL=29409 CL=29409
2009-05-26more 8g.Russ Cox5-12/+2224
test/turing.go runs if you move the big array off its stack. finally remembered to g4 add cgen.c gsubr.c R=ken OCL=29408 CL=29408
2009-05-26bug 150Ken Thompson2-39/+45
R=r OCL=29405 CL=29405
2009-05-268g: hello world works againRuss Cox7-42/+164
* string format changed * files got renamed * new files that i forgot to check in last time updates are all copy and paste from 6g R=ken OCL=29385 CL=29400
2009-05-266ar: explain why __.SYMDEF didn't get put in.Russ Cox1-1/+3
people using ar for non-object archives will just have to deal with the warnings. R=r DELTA=3 (2 added, 0 deleted, 1 changed) OCL=29384 CL=29398
2009-05-26Added automatic detection of system libraries to 5l.Kai Backman1-9/+15
R=rsc APPROVED=rsc DELTA=83 (73 added, 3 deleted, 7 changed) OCL=29276 CL=29382
2009-05-26Added enough arm related scaffolding to create a simpleKai Backman10-3/+199
hello.c program linking against the runtime. R=rsc APPROVED=rsc DELTA=178 (175 added, 0 deleted, 3 changed) OCL=29283 CL=29380
2009-05-25static init reenabledKen Thompson2-82/+224
R=r OCL=29358 CL=29358
2009-05-25Add os.Getpid and os.Getppid.David Symonds1-0/+11
R=rsc APPROVED=rsc DELTA=11 (11 added, 0 deleted, 0 changed) OCL=29352 CL=29357
2009-05-24Add exvar.FuncInt for exporting indirect integer variables.David Symonds2-0/+21
R=r APPROVED=r DELTA=21 (21 added, 0 deleted, 0 changed) OCL=29320 CL=29338
2009-05-23If Make.deps is not writable (e.g. in Perforce client and not opened for ↵David Symonds2-2/+6
editing), bail out immediately. R=rsc,r APPROVED=r DELTA=7 (5 added, 1 deleted, 1 changed) OCL=29319 CL=29319
2009-05-23improvement in registerizationKen Thompson1-14/+56
R=r OCL=29317 CL=29317
2009-05-231. check for dups in complex literalsKen Thompson9-73/+197
structtype{a:1, a:2} maptypetype{"xx":1, "xx":2} arraytypetype{5:1, 5:2} 2. bug in registerization concerning alias of a struct and one of its elements 3. code optimization of struct.field (which exposed bug in 2) R=r OCL=29315 CL=29315