]>
Cypherpunks repositories - gostls13.git/log
Russ Cox [Thu, 15 Oct 2009 23:03:01 +0000 (16:03 -0700)]
do not migrate x to the heap because of *&x.
R=ken
OCL=35799
CL=35799
Austin Clements [Thu, 15 Oct 2009 19:59:59 +0000 (12:59 -0700)]
Implement error handling on process monitor exit. Now, before
sending any message to the monitor, the sender must check a
"ready" channel. Before exiting, the monitor records its exit
error and closes this channel, ensuring that all later reads
from the ready channel will immediately return false.
Inspired by
http://chplib.wordpress.com/2009/09/30/poison-concurrent-termination/
R=rsc
APPROVED=rsc
DELTA=47 (27 added, 11 deleted, 9 changed)
OCL=35782
CL=35784
Robert Griesemer [Thu, 15 Oct 2009 19:04:13 +0000 (12:04 -0700)]
close file after use
R=rsc
DELTA=1 (1 added, 0 deleted, 0 changed)
OCL=35778
CL=35780
Dave Bort [Thu, 15 Oct 2009 18:46:37 +0000 (11:46 -0700)]
Define the new Rand and Source types to allow creating
isolated sources of random values.
Add normal and exponential distributions.
Add some tests for the normal and exponential distributions.
R=rsc
APPROVED=rsc
DELTA=1005 (904 added, 80 deleted, 21 changed)
OCL=35501
CL=35779
Russ Cox [Thu, 15 Oct 2009 18:05:23 +0000 (11:05 -0700)]
add exp/eval to pkg list
update Make.deps.
fixes build
TBR=r
OCL=35777
CL=35777
Russ Cox [Thu, 15 Oct 2009 18:04:33 +0000 (11:04 -0700)]
nacl demos
R=r
DELTA=9147 (9147 added, 0 deleted, 0 changed)
OCL=35734
CL=35776
Russ Cox [Thu, 15 Oct 2009 18:02:18 +0000 (11:02 -0700)]
explain exp
R=r
DELTA=3 (3 added, 0 deleted, 0 changed)
OCL=35732
CL=35775
Robert Griesemer [Thu, 15 Oct 2009 17:41:07 +0000 (10:41 -0700)]
- bug fix: must not insert indentation tabs into multi-line strings in RawFormat
(always write tabwriter.Escape chars so formatting is driven correctly; but strip
them again in the end if no tabwriter is used)
- added testcase for RawFormat printing
R=rsc
DELTA=227 (198 added, 6 deleted, 23 changed)
OCL=35772
CL=35774
Robert Griesemer [Thu, 15 Oct 2009 16:29:31 +0000 (09:29 -0700)]
bug fix: do not modify (string) literals in any way even if they
contain tabs or line breaks
R=rsc
DELTA=57 (19 added, 12 deleted, 26 changed)
OCL=35749
CL=35770
Robert Griesemer [Thu, 15 Oct 2009 16:28:52 +0000 (09:28 -0700)]
permit escaped text segments which pass through tabwriter
undisturbed and uninterpreted
R=rsc
DELTA=141 (82 added, 23 deleted, 36 changed)
OCL=35747
CL=35769
Robert Griesemer [Thu, 15 Oct 2009 16:24:19 +0000 (09:24 -0700)]
Work-around for factory function heuristic failure:
only associate a couple of functions as factories
for os.Error.
Replaces CL 35628 (abandoned).
R=rsc
DELTA=35 (26 added, 0 deleted, 9 changed)
OCL=35754
CL=35768
Rob Pike [Thu, 15 Oct 2009 07:27:40 +0000 (00:27 -0700)]
typo
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35743
CL=35762
Rob Pike [Thu, 15 Oct 2009 07:27:26 +0000 (00:27 -0700)]
forgot to update the body when i changed the receiver type.
R=rsc
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=35759
CL=35761
Rob Pike [Thu, 15 Oct 2009 06:03:08 +0000 (23:03 -0700)]
interfaces and methods.
R=rsc
DELTA=160 (143 added, 5 deleted, 12 changed)
OCL=35748
CL=35758
Kai Backman [Thu, 15 Oct 2009 04:47:28 +0000 (21:47 -0700)]
cas
R=rsc
APPROVED=rsc
DELTA=31 (1 added, 8 deleted, 22 changed)
OCL=35752
CL=35757
Kai Backman [Thu, 15 Oct 2009 04:47:08 +0000 (21:47 -0700)]
LDREX and STREX
R=rsc
APPROVED=rsc
DELTA=30 (30 added, 0 deleted, 0 changed)
OCL=35751
CL=35756
Kai Backman [Thu, 15 Oct 2009 04:46:50 +0000 (21:46 -0700)]
disable ken/complit for arm
R=rsc
APPROVED=rsc
DELTA=1 (0 added, 1 deleted, 0 changed)
OCL=35753
CL=35755
Russ Cox [Thu, 15 Oct 2009 01:29:33 +0000 (18:29 -0700)]
fix build:
avoid infinite loop when cd fails.
TBR=r
OCL=35750
CL=35750
Russ Cox [Thu, 15 Oct 2009 01:10:43 +0000 (18:10 -0700)]
move austin/eval and austin/ogle to exp/eval and exp/ogle
R=r
OCL=35736
CL=35746
Russ Cox [Thu, 15 Oct 2009 01:10:00 +0000 (18:10 -0700)]
forgot to update Makefile in last CL
R=gri
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35737
CL=35745
Russ Cox [Thu, 15 Oct 2009 01:08:10 +0000 (18:08 -0700)]
delete one cgo playpen
R=r
DELTA=111 (0 added, 111 deleted, 0 changed)
OCL=35739
CL=35744
Russ Cox [Thu, 15 Oct 2009 00:17:42 +0000 (17:17 -0700)]
add CONTRIBUTORS file to record those
whose code can be accepted into the repository.
R=r
DELTA=44 (44 added, 0 deleted, 0 changed)
OCL=35729
CL=35742
Russ Cox [Thu, 15 Oct 2009 00:16:21 +0000 (17:16 -0700)]
move native client to exp/nacl.
R=r
DELTA=3706 (1857 added, 1849 deleted, 0 changed)
OCL=35731
CL=35741
Russ Cox [Thu, 15 Oct 2009 00:15:56 +0000 (17:15 -0700)]
move draw to exp
R=r
DELTA=942 (471 added, 471 deleted, 0 changed)
OCL=35733
CL=35740
Russ Cox [Wed, 14 Oct 2009 23:55:05 +0000 (16:55 -0700)]
move datafmt into exp
R=gri
DELTA=3006 (1503 added, 1503 deleted, 0 changed)
OCL=35730
CL=35735
Ian Lance Taylor [Wed, 14 Oct 2009 22:49:20 +0000 (15:49 -0700)]
Adjust for open source release.
R=go-dev
DELTA=111 (19 added, 38 deleted, 54 changed)
OCL=35722
CL=35728
Russ Cox [Wed, 14 Oct 2009 20:02:05 +0000 (13:02 -0700)]
excise some internal references.
R=r
DELTA=209 (65 added, 114 deleted, 30 changed)
OCL=35718
CL=35721
Rob Pike [Wed, 14 Oct 2009 18:53:55 +0000 (11:53 -0700)]
add an entry in the lang faq about reference types.
remove a mention of sawzall in the tutorial.
R=rsc
DELTA=36 (14 added, 4 deleted, 18 changed)
OCL=35717
CL=35719
Adam Langley [Wed, 14 Oct 2009 17:56:19 +0000 (10:56 -0700)]
Minor fixes and additions to the GMP wrapping.
R=rsc
APPROVED=rsc
DELTA=12 (11 added, 0 deleted, 1 changed)
OCL=35715
CL=35715
Russ Cox [Wed, 14 Oct 2009 16:33:15 +0000 (09:33 -0700)]
toss crypto/block Digest in favor of hash.Hash
R=r
DELTA=30 (8 added, 15 deleted, 7 changed)
OCL=35677
CL=35713
Rob Pike [Wed, 14 Oct 2009 05:48:03 +0000 (22:48 -0700)]
write stack traces and panics to stderr
R=rsc
DELTA=31 (5 added, 3 deleted, 23 changed)
OCL=35700
CL=35700
Rob Pike [Wed, 14 Oct 2009 05:10:16 +0000 (22:10 -0700)]
bye-bye to old makehtml.
go can do the job just fine.
R=rsc
DELTA=290 (209 added, 13 deleted, 68 changed)
OCL=35699
CL=35699
Rob Pike [Wed, 14 Oct 2009 01:01:24 +0000 (18:01 -0700)]
fix links in tutorial
R=rsc
DELTA=30 (0 added, 22 deleted, 8 changed)
OCL=35694
CL=35697
Rob Pike [Wed, 14 Oct 2009 00:17:30 +0000 (17:17 -0700)]
clean up the mess that copyright notices make
R=rsc
DELTA=555 (92 added, 38 deleted, 425 changed)
OCL=35691
CL=35693
Nigel Tao [Wed, 14 Oct 2009 00:14:49 +0000 (17:14 -0700)]
Documentation for png.Decode and png.Encode.
R=r,rsc
APPROVED=r
DELTA=7 (5 added, 0 deleted, 2 changed)
OCL=35651
CL=35692
Rob Pike [Tue, 13 Oct 2009 22:55:44 +0000 (15:55 -0700)]
delete silly TODO
R=rsc
DELTA=1 (0 added, 1 deleted, 0 changed)
OCL=35685
CL=35687
Adam Langley [Tue, 13 Oct 2009 21:37:48 +0000 (14:37 -0700)]
Add ASN.1 parser.
R=rsc
APPROVED=rsc
DELTA=1459 (1459 added, 0 deleted, 0 changed)
OCL=35389
CL=35681
Rob Pike [Tue, 13 Oct 2009 21:32:21 +0000 (14:32 -0700)]
some stuff about interfaces. not enough yet.
R=rsc
DELTA=209 (129 added, 24 deleted, 56 changed)
OCL=35675
CL=35680
Rob Pike [Tue, 13 Oct 2009 20:05:42 +0000 (13:05 -0700)]
align the tutorial with the renaming of SortInterface.
fix a bug in makehtml - was deleting the output!
R=rsc
DELTA=11 (2 added, 0 deleted, 9 changed)
OCL=35672
CL=35674
Rob Pike [Tue, 13 Oct 2009 20:05:16 +0000 (13:05 -0700)]
reduce stutter: sort.SortInterface -> sort.Interface.
ditto for heap.HeapInterface
R=gri,rsc
DELTA=31 (0 added, 1 deleted, 30 changed)
OCL=35665
CL=35673
Rob Pike [Tue, 13 Oct 2009 19:37:28 +0000 (12:37 -0700)]
rename the source directory for gopack from ar to gopack.
remove the references to 6ar
R=rsc
DELTA=3547 (1770 added, 1775 deleted, 2 changed)
OCL=35669
CL=35671
Rob Pike [Tue, 13 Oct 2009 19:37:04 +0000 (12:37 -0700)]
Automated g4 rollback of changelist 35383.
*** Reason for rollback ***
roll back the changes to the tutorial programs (only) since they
break the automated processing used to create the tutorial.
*** Original change description ***
apply gofmt to the LGTM-marked files from 34501
that have not changed since I applied gofmt.
R=rsc
DELTA=139 (0 added, 44 deleted, 95 changed)
OCL=35670
CL=35670
Rob Pike [Tue, 13 Oct 2009 05:58:32 +0000 (22:58 -0700)]
new logo
R=rsc
DELTA=3 (1 added, 1 deleted, 1 changed)
OCL=35652
CL=35652
Rob Pike [Tue, 13 Oct 2009 04:18:23 +0000 (21:18 -0700)]
type switches
errors
R=rsc
DELTA=150 (74 added, 34 deleted, 42 changed)
OCL=35647
CL=35650
Robert Griesemer [Tue, 13 Oct 2009 02:08:17 +0000 (19:08 -0700)]
bug fix: convert \v's into \t's if there's no tabwriter
R=rsc
DELTA=15 (12 added, 2 deleted, 1 changed)
OCL=35641
CL=35645
Robert Griesemer [Tue, 13 Oct 2009 00:10:50 +0000 (17:10 -0700)]
- improved comment intersperse heuristic:
comments should now be indented properly in corner cases
(at the end of statement lists, for instance)
- changed import decl. formatting as suggested by Russ (no "global"
indentation of imports if there are renames present)
- better field list handling
- better documentation
R=rsc
DELTA=534 (324 added, 35 deleted, 175 changed)
OCL=35557
CL=35630
Ian Lance Taylor [Mon, 12 Oct 2009 22:43:13 +0000 (15:43 -0700)]
Review and update. No major changes, lots of minor tweaks.
R=go-dev
DELTA=176 (39 added, 9 deleted, 128 changed)
OCL=35612
CL=35623
Rob Pike [Mon, 12 Oct 2009 21:51:12 +0000 (14:51 -0700)]
printing and maps
R=rsc,gri
DELTA=228 (223 added, 1 deleted, 4 changed)
OCL=35617
CL=35619
Kai Backman [Mon, 12 Oct 2009 20:35:28 +0000 (13:35 -0700)]
changed 5c 64 bit word ordering to little endian so it matches
5g. fixes to 64 bit code gen. added (finally) function to do
shifts properly.
go/test: passes 83% (287/342)
R=rsc
APPROVED=rsc
DELTA=156 (50 added, 53 deleted, 53 changed)
OCL=35589
CL=35616
Russ Cox [Mon, 12 Oct 2009 18:03:48 +0000 (11:03 -0700)]
sort errors by line number
turn off testdclstack and "not used" errors
when there are syntax errors.
BUG=
2181825
R=ken
OCL=35606
CL=35608
Russ Cox [Mon, 12 Oct 2009 17:26:38 +0000 (10:26 -0700)]
stack overflow debugging and fix.
* in 6l, -K already meant check for stack underflow.
add -KK to mean double-check stack overflows
even in nosplit functions.
* comment out print locks; they deadlock too easily
but are still useful to put back for special occasions.
* let runcgo assembly switch to scheduler stack
without involving scheduler directly. because runcgo
gets called from matchmg, it is too hard to keep it
from being called on other stacks.
R=r
DELTA=94 (65 added, 18 deleted, 11 changed)
OCL=35591
CL=35604
Russ Cox [Mon, 12 Oct 2009 17:12:37 +0000 (10:12 -0700)]
new builtin.c.boot from arm.
node printing fixes.
silence incorrect redeclaration error.
R=ken
OCL=35602
CL=35602
Russ Cox [Mon, 12 Oct 2009 17:09:35 +0000 (10:09 -0700)]
fix comment on strings.LastIndex.
add bytes.LastIndex.
add strings.Reader.
R=r
DELTA=59 (56 added, 0 deleted, 3 changed)
OCL=35585
CL=35601
Russ Cox [Mon, 12 Oct 2009 06:51:46 +0000 (23:51 -0700)]
introduce non-strict mode in xml parser,
good enough to parse some html.
in reader, add "comment" tag to collect
comment text.
do not allocate during Unmarshal unless pointer is nil.
R=r
DELTA=441 (416 added, 1 deleted, 24 changed)
OCL=35586
CL=35594
Russ Cox [Mon, 12 Oct 2009 06:46:11 +0000 (23:46 -0700)]
correct a design flaw: Atoi etc should not guess the base.
leave that for Btoi with base == 0.
R=r
DELTA=146 (101 added, 29 deleted, 16 changed)
OCL=35584
CL=35593
Russ Cox [Mon, 12 Oct 2009 06:38:44 +0000 (23:38 -0700)]
fix build
TBR=r
OCL=35592
CL=35592
Kai Backman [Mon, 12 Oct 2009 03:01:11 +0000 (20:01 -0700)]
64bit and float code generation. fmt compiles but
reflect is broken so fmt doesn't work.
go/test: passes 83% (285/342)
R=rsc
APPROVED=rsc
DELTA=415 (240 added, 29 deleted, 146 changed)
OCL=35576
CL=35588
Nigel Tao [Mon, 12 Oct 2009 02:36:29 +0000 (19:36 -0700)]
PNG encoder now filters.
R=r,rsc
APPROVED=r
DELTA=122 (102 added, 0 deleted, 20 changed)
OCL=35573
CL=35587
Rob Pike [Mon, 12 Oct 2009 01:07:47 +0000 (18:07 -0700)]
better code for allocation through indirection
R=rsc
DELTA=11 (3 added, 5 deleted, 3 changed)
OCL=35583
CL=35583
Rob Pike [Mon, 12 Oct 2009 00:37:22 +0000 (17:37 -0700)]
fix bugs in gob.
1) didn't handle attempts to encode non-structs properly.
2) if there were multiple indirections involving allocation, didn't allocate the
intermediate cells.
tests added.
R=rsc
DELTA=82 (65 added, 5 deleted, 12 changed)
OCL=35582
CL=35582
Russ Cox [Sun, 11 Oct 2009 09:35:53 +0000 (02:35 -0700)]
interpreter checkpoint.
* generate different versions of binary operators
for each size of int and float, so that proper
truncating happens after each operation to
simulate the various sized ops.
* add slice expressions
* publish World.CompileStmtList, CompileDeclList, CompileExpr
* handle type-less expressions in CompileExpr
R=austin
DELTA=1459 (1327 added, 11 deleted, 121 changed)
OCL=34382
CL=35581
Kai Backman [Sun, 11 Oct 2009 05:06:26 +0000 (22:06 -0700)]
fix float <-> int64 conversions
R=rsc
APPROVED=rsc
DELTA=25 (25 added, 0 deleted, 0 changed)
OCL=35566
CL=35574
Rob Pike [Sun, 11 Oct 2009 01:56:13 +0000 (18:56 -0700)]
change Title to ToTitle for consistency. (the doc comment was already right)
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35572
CL=35572
Rob Pike [Sat, 10 Oct 2009 19:29:06 +0000 (12:29 -0700)]
reallocate library, libraryobj: 50 isn't nearly enough
R=rsc
DELTA=7 (2 added, 0 deleted, 5 changed)
OCL=35569
CL=35569
Nigel Tao [Sat, 10 Oct 2009 05:44:40 +0000 (22:44 -0700)]
In the PNG reader inner loop, collapse the two ReadFull calls into one.
R=rsc,r
APPROVED=rsc
DELTA=29 (2 added, 4 deleted, 23 changed)
OCL=35460
CL=35565
Russ Cox [Fri, 9 Oct 2009 23:45:20 +0000 (16:45 -0700)]
acid bug fix.
lock printf output to avoid interlacing debug prints.
R=r
DELTA=10 (7 added, 0 deleted, 3 changed)
OCL=35539
CL=35561
Russ Cox [Fri, 9 Oct 2009 23:44:40 +0000 (16:44 -0700)]
handle compiler crash better:
need to use exec to avoid seeing
shell output about the crash.
R=iant
DELTA=2 (1 added, 0 deleted, 1 changed)
OCL=35542
CL=35560
Russ Cox [Fri, 9 Oct 2009 23:01:32 +0000 (16:01 -0700)]
bug209
R=ken
OCL=35546
CL=35546
Rob Pike [Fri, 9 Oct 2009 22:44:57 +0000 (15:44 -0700)]
change date format in logs - was missing slash between month and day
R=rsc
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=35526
CL=35540
Russ Cox [Fri, 9 Oct 2009 22:35:33 +0000 (15:35 -0700)]
keep a list of all the M's,
so that the garbage collector doesn't free them.
R=ken
OCL=35538
CL=35538
Robert Griesemer [Fri, 9 Oct 2009 22:28:09 +0000 (15:28 -0700)]
bug209.go
R=rsc
DELTA=23 (22 added, 1 deleted, 0 changed)
OCL=35529
CL=35537
Dave Bort [Fri, 9 Oct 2009 22:16:00 +0000 (15:16 -0700)]
Move rand.go to rng.go to prepare for some surgery.
R=rsc
APPROVED=rsc
DELTA=637 (318 added, 318 deleted, 1 changed)
OCL=35534
CL=35536
Russ Cox [Fri, 9 Oct 2009 18:18:32 +0000 (11:18 -0700)]
time tests; sort -nr times.out | sed 10q is illuminating.
cut the slowest tests down from a few seconds
to under half a second.
R=r
DELTA=21 (6 added, 1 deleted, 14 changed)
OCL=35509
CL=35519
Russ Cox [Fri, 9 Oct 2009 18:15:19 +0000 (11:15 -0700)]
fix nacl build
R=r
DELTA=23 (5 added, 0 deleted, 18 changed)
OCL=35510
CL=35518
Kai Backman [Fri, 9 Oct 2009 14:37:49 +0000 (07:37 -0700)]
floating point calc, added a few more packages that pass
go/test: passes 80% (274/340)
R=rsc
APPROVED=rsc
DELTA=61 (59 added, 0 deleted, 2 changed)
OCL=35506
CL=35517
Russ Cox [Fri, 9 Oct 2009 07:39:32 +0000 (00:39 -0700)]
rewrite errchk in perl for speed (compared to bash)
R=iant
DELTA=125 (51 added, 53 deleted, 21 changed)
OCL=35508
CL=35511
Russ Cox [Fri, 9 Oct 2009 06:03:34 +0000 (23:03 -0700)]
add & fix bug208, from ken.
fix bug198.
R=ken
OCL=35504
CL=35507
Kai Backman [Fri, 9 Oct 2009 05:16:08 +0000 (22:16 -0700)]
dupok, gcc compile fix, sync and syscall asm fix
R=rsc
APPROVED=rsc
DELTA=27 (18 added, 0 deleted, 9 changed)
OCL=35503
CL=35505
Robert Griesemer [Thu, 8 Oct 2009 22:23:49 +0000 (15:23 -0700)]
- debugging support
R=rsc
DELTA=110 (98 added, 0 deleted, 12 changed)
OCL=35487
CL=35490
Russ Cox [Thu, 8 Oct 2009 22:14:54 +0000 (15:14 -0700)]
more lgtm files from gofmt
R=gri
OCL=35485
CL=35488
Ian Lance Taylor [Thu, 8 Oct 2009 20:35:46 +0000 (13:35 -0700)]
Only clean the relevant installed files, not everything. This
should let a 6g build and an 8g build be done in sequence
without stepping on each other.
R=rsc
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=35478
CL=35481
Robert Griesemer [Thu, 8 Oct 2009 15:48:33 +0000 (08:48 -0700)]
- rewrite declaration printing to take full use of discardable tabwriter columns
- honor line breaks in multi-line expressions
- do not add extra indentation to multi-line string lists
- don't put blanks around simple function calls and conversions
- do not modify `` strings
- added extra test cases
R=rsc
DELTA=398 (246 added, 51 deleted, 101 changed)
OCL=35453
CL=35465
Nigel Tao [Thu, 8 Oct 2009 06:14:23 +0000 (23:14 -0700)]
PNG encoder unit test.
R=rsc,r
APPROVED=r
DELTA=84 (77 added, 6 deleted, 1 changed)
OCL=35456
CL=35458
Russ Cox [Thu, 8 Oct 2009 05:19:42 +0000 (22:19 -0700)]
add & fix bug207: rewritten if condition
was discarding initialization work.
R=ken
OCL=35454
CL=35457
Russ Cox [Wed, 7 Oct 2009 21:55:12 +0000 (14:55 -0700)]
better handling of mistaken top-level variable
references during the parsing of :=. the base
problem is that when reading
a,b,c,d
the parser makes those refer to existing variables,
which might create a few stub top-level ones
for undefined names, but then if a := is the next
token, we need to undo those stubs.
this was causing problems in multifile packages
in which one file used a := variable named rpc
and the other imported a package named rpc.
R=ken
OCL=35446
CL=35446
Russ Cox [Wed, 7 Oct 2009 21:52:44 +0000 (14:52 -0700)]
do not import testing twice when testing testing.
R=r
DELTA=3 (2 added, 0 deleted, 1 changed)
OCL=35443
CL=35445
Russ Cox [Wed, 7 Oct 2009 18:55:06 +0000 (11:55 -0700)]
apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync syscall testing time unicode unsafe utf8
R=gri
DELTA=1409 (79 added, 24 deleted, 1306 changed)
OCL=35415
CL=35437
Robert Griesemer [Wed, 7 Oct 2009 17:55:45 +0000 (10:55 -0700)]
support for "hard" and "soft" tabs:
- soft-tab separated columns can be discarded if empty and DiscardEmptyColumns is set
- hard-tab separated columns are never discarded
R=rsc
DELTA=63 (42 added, 7 deleted, 14 changed)
OCL=35421
CL=35435
Russ Cox [Wed, 7 Oct 2009 07:11:59 +0000 (00:11 -0700)]
factor portable object+library bits out of 5l/6l/8l into ld
R=r
DELTA=3214 (904 added, 2260 deleted, 50 changed)
OCL=35425
CL=35427
Russ Cox [Wed, 7 Oct 2009 05:03:47 +0000 (22:03 -0700)]
make reader more useful
for lower-level clients:
* expose p.Skip
* expose p.Unmarshal
* wildcard struct field "Any"
* unmarshal into bool
* unmarshal into xml.Name
* unmarshal into pointer
R=r
DELTA=61 (50 added, 5 deleted, 6 changed)
OCL=35372
CL=35422
Russ Cox [Wed, 7 Oct 2009 02:41:51 +0000 (19:41 -0700)]
apply gofmt to go, gob, hash, http, image, io, json, log
R=gri
DELTA=1359 (138 added, 32 deleted, 1189 changed)
OCL=35408
CL=35420
Russ Cox [Wed, 7 Oct 2009 02:40:35 +0000 (19:40 -0700)]
apply gofmt to malloc math once os
R=gri
DELTA=566 (4 added, 14 deleted, 548 changed)
OCL=35410
CL=35419
Russ Cox [Wed, 7 Oct 2009 02:38:30 +0000 (19:38 -0700)]
apply gofmt to auto-generated syscall files
R=gri
DELTA=4023 (104 added, 27 deleted, 3892 changed)
OCL=35416
CL=35418
Kai Backman [Wed, 7 Oct 2009 02:00:30 +0000 (19:00 -0700)]
5l library loading, 64 bit entry points
R=rsc
APPROVED=rsc
DELTA=58 (52 added, 3 deleted, 3 changed)
OCL=35417
CL=35417
Kai Backman [Tue, 6 Oct 2009 23:39:38 +0000 (16:39 -0700)]
- moved 3 functions from syscall_linux to _386 and _amd64 (arm lacks them)
- 64 bit OMINUS
- added bunch of missing arm syscalls
R=rsc
APPROVED=rsc
DELTA=203 (189 added, 3 deleted, 11 changed)
OCL=35412
CL=35414
Russ Cox [Tue, 6 Oct 2009 23:06:34 +0000 (16:06 -0700)]
fix build - missing from 35404
TBR=gri
OCL=35411
CL=35411
Robert Griesemer [Tue, 6 Oct 2009 22:44:13 +0000 (15:44 -0700)]
- set uint type for flags
- simplified some code
R=rsc
DELTA=19 (0 added, 0 deleted, 19 changed)
OCL=35405
CL=35407
Russ Cox [Tue, 6 Oct 2009 22:38:57 +0000 (15:38 -0700)]
apply gofmt to datafmt, ebnf, exec, expvar, flag, fmt
R=gri
DELTA=456 (6 added, 3 deleted, 447 changed)
OCL=35398
CL=35406
Russ Cox [Tue, 6 Oct 2009 22:28:47 +0000 (15:28 -0700)]
more comment work.
got rid of regexps.
primary bug fix is that // inside /* */ do not get stripped anymore,
so that the text inside
/*
int a;
// int b;
int c;
*/
is
int a;
// int b;
int c;
before, the "int b;" line was being uncommented too.
R=gri
DELTA=65 (13 added, 42 deleted, 10 changed)
OCL=35334
CL=35404
Robert Griesemer [Tue, 6 Oct 2009 22:22:03 +0000 (15:22 -0700)]
- simplify "needsBlanks" logic for identifiers and strings
TBR=rsc
DELTA=16 (10 added, 4 deleted, 2 changed)
OCL=35379
CL=35403