- 13 Nov, 2011 2 commits
-
-
Andrew Balholm authored
Pass tests2.dat, test 8: <!DOCTYPE html><dt><div><dd> | <!DOCTYPE html> | <html> | <head> | <body> | <dt> | <div> | <dd> Also pass tests through test 9: <script></x R=nigeltao CC=golang-dev https://golang.org/cl/5373083
-
Andrew Balholm authored
Currently, the state transition functions in the HTML parser return the next insertion mode and whether the token is consumed. This works well except for when one insertion mode needs to use the rules for another insertion mode. Then the useTheRulesFor function needs to patch things up. This requires comparing functions for equality, which is going to stop working. Adding a field to the parser structure to store the current insertion mode eliminates the need for useTheRulesFor; one insertion mode function can now just call the other directly. The insertion mode will be changed only if it needs to be. This CL is an alternative to CL 5372078. R=nigeltao, rsc CC=golang-dev https://golang.org/cl/5372079
-
- 12 Nov, 2011 5 commits
-
-
Joel Sing authored
The code that used these has been moved to lock_sema.c. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5376062
-
Luuk van Dijk authored
Not sure if this is what you'd really want. Maybe with a higher limit than 10 or perhaps keep checking nerrors > 10 per yyerror, but check the cumulative after each function? R=rsc CC=golang-dev https://golang.org/cl/5376064
-
Robert Griesemer authored
Fixes #2441. R=r CC=golang-dev https://golang.org/cl/5376078
-
Andrew Balholm authored
Pass tests1.dat, test 111: </strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea> | <html> | <head> | <body> | <br> | <p> Also pass all the remaining tests in tests1.dat. R=nigeltao CC=golang-dev https://golang.org/cl/5372066
-
Robert Griesemer authored
Also works now together with -html, as in: godoc -html -q Sin for an html result. Fixes #2435. R=iant CC=golang-dev https://golang.org/cl/5375074
-
- 11 Nov, 2011 16 commits
-
-
Ian Lance Taylor authored
R=rsc, r CC=golang-dev https://golang.org/cl/5369089
-
Rémy Oudompheng authored
Without this check, gofmt panics when trying to apply the identity transformation on "item.field" expressions. Fixes #2410. R=rsc, gri CC=golang-dev, remy https://golang.org/cl/5376061
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5376076
-
Bobby Powers authored
Fedora 16 mounts selinux at /sys/fs/selinux, instead of the traditional /selinux. Check both locations for the selinux filesystem in make.bash Fixes #2448. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5373077
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5373074
-
Scott Lawrence authored
Without this, a missing gmake will result in bogus error "Did not find Go environment variables". R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5369066
-
Anthony Martin authored
I had to replace the single use of io/ioutil in the time package with a bytes.Buffer since there would've been a dependency cycle. There are no other uses of os.Time. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5372054
-
Wei Guangjing authored
Fixes #2409. R=mattn.jp, rsc, alex.brainman CC=golang-dev https://golang.org/cl/5334046
-
Adam Langley authored
It was never really a shell, but the name carried over from SSH's ServerShell. Two small functional changes: Add SetSize, which allows the size of the terminal to be changed in response, say, to an SSH message. Don't write the prompt if there's already something on the current line. R=rsc CC=golang-dev https://golang.org/cl/5376066
-
Joel Sing authored
R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/5369076
-
Adam Langley authored
(This is part of removing the duplicate code between exp/terminal and exp/ssh, but hg is having a very hard time keeping up so I'm doing it in small steps.) R=bradfitz, rsc CC=golang-dev https://golang.org/cl/5373061
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5375057
-
Andrew Balholm authored
Pass tests1.dat, test 109: <table><col><tbody><col><tr><col><td><col></table><col> | <html> | <head> | <body> | <table> | <colgroup> | <col> | <tbody> | <colgroup> | <col> | <tbody> | <tr> | <colgroup> | <col> | <tbody> | <tr> | <td> | <colgroup> | <col> Also pass test 110: <table><colgroup><tbody><colgroup><tr><colgroup><td><colgroup></table><colgroup> R=nigeltao CC=golang-dev https://golang.org/cl/5369069
-
Andrew Balholm authored
Pass tests1.dat, test 108: <table><colgroup><col><colgroup><col><col><col><colgroup><col><col><thead><tr><td></table> | <html> | <head> | <body> | <table> | <colgroup> | <col> | <colgroup> | <col> | <col> | <col> | <colgroup> | <col> | <col> | <thead> | <tr> | <td> R=nigeltao CC=golang-dev https://golang.org/cl/5369061
-
Russ Cox authored
R=golang-dev, mikioh.mikioh, r CC=golang-dev https://golang.org/cl/5348052
-
Russ Cox authored
Godefs was a C program that ran gcc and then parsed the stabs debugging information in the resulting object file to generate C or Go code for bootstrapping as part of package runtime or package syscall. Cgo does the same work, but using the dwarf debugging information. Add -godefs and -cdefs options to cgo that mimic godefs's output, albeit with different input (a Go program, not a C program). This has been a "nice to have" for a while but was forced by Apple removing stabs debugging output from their latest compilers. Fixes #835. Fixes #2338. R=golang-dev, bradfitz, r, dave, iant CC=golang-dev https://golang.org/cl/5367043
-
- 10 Nov, 2011 8 commits
-
-
Rob Pike authored
R=golang-dev, adg, gri CC=golang-dev https://golang.org/cl/5370058
-
Volker Dobler authored
As the ISO 8601 week number is untrivial to compute a new method on *Time provides year and number of week. R=golang-dev, rsc, r, r CC=golang-dev https://golang.org/cl/5316074
-
Rob Pike authored
A single-line error looks like this: --- FAIL: foo_test.TestFoo (0.00 seconds) foo_test.go:123: Foo(8) = "10" want "100" A multi-line error looks like this: --- FAIL: foo_test.TestFoo (0.00 seconds) foo_test.go:456: Foo(88) = "100" want "1000" R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5376057
-
Joel Sing authored
The timespec passed to thrsleep() needs to be an absolute/realtime value, so add the current nanotime to ns. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5374048
-
David G. Andersen authored
z is set to x+bit change, not z+bit change R=golang-dev CC=golang-dev https://golang.org/cl/5374056
-
Andrew Balholm authored
Pass tests1.dat, test 106: <frameset><frame><frameset><frame></frameset><noframes></noframes></frameset> | <html> | <head> | <frameset> | <frame> | <frameset> | <frame> | <noframes> Also pass test 107: <h1><table><td><h3></table><h3></h1> R=nigeltao CC=golang-dev https://golang.org/cl/5373050
-
Mikio Hara authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5370050
-
Rob Pike authored
Fixes #2416. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5370049
-
- 09 Nov, 2011 9 commits
-
-
Joe Poirier authored
Requesting suggestions for the comment and description strings in installer.wxs. Fixes #2394. R=rsc, alex.brainman, tjyang2001 CC=golang-dev https://golang.org/cl/5339046
-
Rob Pike authored
R=golang-dev, r, agl, dsymonds CC=golang-dev https://golang.org/cl/5374046
-
Rob Pike authored
R=gri, rsc, r CC=golang-dev https://golang.org/cl/5372050
-
Scott Lawrence authored
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5372049
-
Rob Pike authored
R=gri, r, bradfitz, rsc CC=golang-dev https://golang.org/cl/5369052
-
Andrew Balholm authored
Pass tests1.dat, test 99: <script></script></div><title></title><p><p> | <html> | <head> | <script> | <title> | <body> | <p> | <p> Also pass tests through test 105: <ul><li><ul></li><li>a</li></ul></li></ul> R=nigeltao CC=golang-dev https://golang.org/cl/5373043
-
Rémy Oudompheng authored
Types are left as nil if no DWARF information is found and checking in the rewriting pass so that appropriate errors with line numbers can be printed. Fixes #2408. R=rsc CC=golang-dev, remy https://golang.org/cl/5336041
-
Michał Derkacz authored
Added handler for: MOVQ xmm_reg, xmm_reg/mem64 MOVQ xmm_reg/mem64, xmm_reg using native MOVQ (it take precedence above REX.W MOVD) I don't understood 6l code enough to be sure that my small changes didn't broke it. But now 6l works with MOVQ xmm_reg, xmm_reg and all.bash reports "0 unexpected bugs". There is test assembly source: MOVQ X0, X1 MOVQ AX, X1 MOVQ X1, AX MOVQ xxx+8(FP), X2 MOVQ X2, xxx+8(FP) and generated code (gdb disassemble /r): 0x000000000040f112 <+0>: f3 0f 7e c8 movq %xmm0,%xmm1 0x000000000040f116 <+4>: 66 48 0f 6e c8 movq %rax,%xmm1 0x000000000040f11b <+9>: 66 48 0f 7e c8 movq %xmm1,%rax 0x000000000040f120 <+14>: f3 0f 7e 54 24 10 movq 0x10(%rsp),%xmm2 0x000000000040f126 <+20>: 66 0f d6 54 24 10 movq %xmm2,0x10(%rsp) Fixes #2418. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5316076
-
Michał Derkacz authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5340056
-