summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-10-06apply gofmt to the LGTM-marked files from 34501Russ Cox16-291/+321
that have not changed since I applied gofmt. R=gri DELTA=456 (77 added, 3 deleted, 376 changed) OCL=35378 CL=35383
2009-10-06Change description of time.Time.ZoneOffset to specify east is +ve.Adam Langley1-1/+1
Currently, the description says that +ve numbers are westwards of UTC. Typically, timezones are specified with +ve numbers running east of Greenwich. For example, San Francisco is specified as UTC-8. Also, when calling time.Localtime(), the following is returned on my box in PDT: {Year:2009 Month:10 Day:5 Hour:18 Minute:55 Second:6 Weekday:1 ZoneOffset:-25200 Zone:PDT} Note that the ZoneOffset is negative. This leads me to suspect that the description is mistaken. R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35356 CL=35377
2009-10-06change tabwidth to 8 for testsRobert Griesemer4-39/+39
R=rsc DELTA=39 (0 added, 0 deleted, 39 changed) OCL=35360 CL=35376
2009-10-0664 bit cmp and some sgen tweaksKai Backman3-89/+133
go/test: passes 75% (256/339) R=rsc APPROVED=rsc DELTA=142 (53 added, 4 deleted, 85 changed) OCL=35367 CL=35375
2009-10-05move cas out, add dummy runcgo.Kai Backman3-37/+40
R=rsc APPROVED=rsc DELTA=73 (45 added, 28 deleted, 0 changed) OCL=35363 CL=35366
2009-10-05allow multiple -L optionsRob Pike4-16/+28
R=rsc DELTA=31 (15 added, 3 deleted, 13 changed) OCL=35364 CL=35364
2009-10-05various go printer fixes:Robert Griesemer9-33/+394
- better handling of line breaks in expression lists - fixed line breaks around label decls - remove ()'s around if, for, switch expressions - simple index expressions don't require blanks - better line breaks around declarations of different kind R=rsc DELTA=404 (369 added, 8 deleted, 27 changed) OCL=35354 CL=35359
2009-10-05remove a file from idempotency test so that the entire suite passesRobert Griesemer1-2/+2
R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=35355 CL=35358
2009-10-05First cut at a PNG encoder.Nigel Tao3-22/+270
TODOs include filtering, and a unit test. R=rsc APPROVED=r DELTA=280 (249 added, 1 deleted, 30 changed) OCL=35262 CL=35348
2009-10-05comment tweaks; implement precise nameRuss Cox2-76/+332
character sets. R=r DELTA=339 (257 added, 1 deleted, 81 changed) OCL=35344 CL=35346
2009-10-05XML parserRuss Cox5-1/+546
R=r DELTA=546 (545 added, 0 deleted, 1 changed) OCL=35318 CL=35341
2009-10-05XML lexingRuss Cox2-308/+855
The lexer is the bottom level. Most clients will use the Unmarshal method, not yet implemented, which will behave like json.Unmarshal. R=r DELTA=1115 (766 added, 219 deleted, 130 changed) OCL=35316 CL=35339
2009-10-05preserve blank lines in // commentsRuss Cox1-18/+19
R=gri DELTA=32 (13 added, 12 deleted, 7 changed) OCL=35317 CL=35332
2009-10-05update json commentsRuss Cox1-12/+14
R=r DELTA=16 (4 added, 2 deleted, 10 changed) OCL=35320 CL=35331
2009-10-05Add write support for the GNU tar binary numeric field extension.David Symonds5-13/+100
R=rsc APPROVED=rsc DELTA=102 (89 added, 1 deleted, 12 changed) OCL=35321 CL=35327
2009-10-03fix buildRuss Cox1-1/+1
TBR=r OCL=35308 CL=35308
2009-10-03add cgo test that doesn't depend onRuss Cox1-0/+5
non-standard libraries and add to build. R=r DELTA=211 (210 added, 0 deleted, 1 changed) OCL=35293 CL=35307
2009-10-03Fixing HTTP POST handling to work with Chrome and Safari.Bill Neubauer2-2/+44
request.go does not handle Content-Type correctly for the definition of Media Types. http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 R=rsc APPROVED=rsc DELTA=44 (42 added, 0 deleted, 2 changed) OCL=35274 CL=35306
2009-10-03clean moreRuss Cox21-31/+29
R=r DELTA=40 (9 added, 3 deleted, 28 changed) OCL=35277 CL=35305
2009-10-038c, 8l dynamic loading support.Russ Cox45-633/+1156
better mach binaries. cgo working on darwin+linux amd64+386. eliminated context switches - pi is 30x faster. add libcgo to build. on snow leopard: - non-cgo binaries work; all tests pass. - cgo binaries work on amd64 but not 386. R=r DELTA=2031 (1316 added, 626 deleted, 89 changed) OCL=35264 CL=35304
2009-10-03expand error regexp in dns testRuss Cox1-3/+3
R=r DELTA=3 (0 added, 0 deleted, 3 changed) OCL=35292 CL=35303
2009-10-02- improved handling of white space around declarations and statementsRobert Griesemer11-98/+325
- extra tests R=rsc DELTA=366 (264 added, 37 deleted, 65 changed) OCL=35299 CL=35301
2009-10-02- allow parenthesized [...]T types as in: ([...]int){}Robert Griesemer3-18/+55
- added extra tests R=rsc DELTA=55 (37 added, 0 deleted, 18 changed) OCL=35250 CL=35276
2009-10-02a few more code generation bugs and an interface alignment issue.Kai Backman3-6/+31
go/test: passes 74% (251/339) R=rsc APPROVED=rsc DELTA=40 (34 added, 0 deleted, 6 changed) OCL=35254 CL=35275
2009-10-01Change deflate.go's default compression level from 4 to 6.Nigel Tao1-1/+1
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35208 CL=35261
2009-10-01Factored out boilerplate from all html docs in doc directory:Robert Griesemer1-42/+75
- the first HTML comment in those files is extracted as page title when serving them - lib/godoc.html is top-level template for all pages served - experimented a bit with package documentation layout (feedback welcome) - various related cleanups TODO: - The / page (doc/root.html) content repeats links that are in the navigation bar. It needs to be cleaned up. R=rsc DELTA=826 (86 added, 692 deleted, 48 changed) OCL=35230 CL=35245
2009-10-01generate float registers correctly.Kai Backman1-4/+6
go/test: passes 71% (242/339) R=rsc APPROVED=rsc DELTA=9 (5 added, 0 deleted, 4 changed) OCL=35233 CL=35243
2009-10-01some progress on arm linux syscall interface. ztypes_linux_armKai Backman8-634/+529
still has problems with godefs. R=rsc APPROVED=rsc DELTA=801 (134 added, 235 deleted, 432 changed) OCL=35189 CL=35211
2009-10-01cgen_asop sudoaddableKai Backman1-22/+61
R=rsc APPROVED=rsc DELTA=14 (4 added, 0 deleted, 10 changed) OCL=35190 CL=35210
2009-09-30fixed a few calls to gcmp and some really bothched OINDEX codeKai Backman1-8/+17
(how did that happen?) go/test: passes 70% (238/339) R=rsc APPROVED=rsc DELTA=18 (10 added, 0 deleted, 8 changed) OCL=35185 CL=35188
2009-09-30step toward darwin ffi: factor out macho codeRuss Cox12-391/+478
R=r DELTA=771 (374 added, 287 deleted, 110 changed) OCL=35187 CL=35187
2009-09-30load binary op arguments into registersKai Backman1-9/+1
go/test: passes 69% (237/339) R=rsc APPROVED=rsc DELTA=12 (3 added, 9 deleted, 0 changed) OCL=35178 CL=35180
2009-09-30cgo working on linux/386Russ Cox9-23/+60
R=r DELTA=70 (47 added, 4 deleted, 19 changed) OCL=35167 CL=35171
2009-09-30rename the public exvar package to be expvar.Rob Pike6-14/+14
R=rsc DELTA=684 (324 added, 324 deleted, 36 changed) OCL=35161 CL=35163
2009-09-30cgo: works on amd64.Russ Cox7-567/+121
integrated into Makefiles (see misc/cgo/gmp/Makefile). R=r DELTA=1110 (540 added, 525 deleted, 45 changed) OCL=35153 CL=35158
2009-09-30c compiler bug tickled byRuss Cox1-0/+8
void f(struct { int x[1]; } p) { } the "int" was getting attached to f. R=ken OCL=35145 CL=35151
2009-09-30clean up error output;Russ Cox1-13/+11
do not print entire buffer on error, since it can be very large. instead print identifying string. R=krasin DELTA=14 (1 added, 3 deleted, 10 changed) OCL=35141 CL=35143
2009-09-30fix 386 build - register allocation and shift bugRuss Cox2-13/+23
R=ken OCL=35140 CL=35142
2009-09-29missing error checking related to ([...]int){...}Russ Cox2-1/+6
R=ken OCL=35132 CL=35132
2009-09-29nacl system call updatesRuss Cox6-23/+216
R=r DELTA=236 (211 added, 18 deleted, 7 changed) OCL=35084 CL=35131
2009-09-29undo 35108 (disallow parens around type in struct literal).Russ Cox2-22/+12
allow parens around [...]int in struct literal. R=ken OCL=35112 CL=35130
2009-09-29ZLIB deflater.Nigel Tao6-3/+222
R=rsc APPROVED=rsc DELTA=222 (219 added, 0 deleted, 3 changed) OCL=35031 CL=35129
2009-09-29fix munging of pointer.Kai Backman1-1/+0
go/test: passes 69% (235/339) R=rsc APPROVED=rsc DELTA=5 (4 added, 1 deleted, 0 changed) OCL=35107 CL=35109
2009-09-29disallow parens around type in struct literal syntax,Russ Cox2-7/+22
per discussion with gri. R=ken OCL=35108 CL=35108
2009-09-29Deflate encoderIvan Krasin10-37/+1836
APPROVED=rsc OCL=34514 CL=35093
2009-09-29Add crypto/rc4.Adam Langley5-1/+139
RC4 is a common stream cipher. This adds a pure-go C implementation. R=r APPROVED=r DELTA=139 (138 added, 0 deleted, 1 changed) OCL=35056 CL=35092
2009-09-29fixed alignment issue resulting from confusion around theKai Backman1-4/+5
meaning of out args. go/test: passes 68% (231/339) R=rsc APPROVED=rsc DELTA=13 (7 added, 0 deleted, 6 changed) OCL=35072 CL=35080
2009-09-28- added gcmp for proper ACMP generation, changed all callKai Backman3-77/+105
sites plus optimized constant code a bit (one less register used). - changed conditional branches, might need a re-tweak later - gave up on agen OINDEX and copied/fixed the version in 8g go/test: passes 66% (225/339) R=rsc APPROVED=rsc DELTA=148 (67 added, 32 deleted, 49 changed) OCL=35040 CL=35055
2009-09-28permit only one method name per method signature in interface typesRobert Griesemer7-38/+34
(in sync with spec CL 35047) R=rsc DELTA=44 (4 added, 8 deleted, 32 changed) OCL=35048 CL=35054
2009-09-28might as well make 6g run faster.... go from gcc -O1 to -O2Rob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35023 CL=35049