]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agopragma textflag
Ken Thompson [Tue, 27 Jan 2009 22:12:35 +0000 (14:12 -0800)]
pragma textflag
fixes latent bugs in go and defer

R=r
OCL=23613
CL=23613

16 years agovarious race conditions.
Russ Cox [Tue, 27 Jan 2009 22:01:20 +0000 (14:01 -0800)]
various race conditions.

R=r
DELTA=43  (29 added, 5 deleted, 9 changed)
OCL=23608
CL=23611

16 years agospelling
Ken Thompson [Tue, 27 Jan 2009 21:23:28 +0000 (13:23 -0800)]
spelling

R=r
OCL=23602
CL=23602

16 years agodefer
Ken Thompson [Tue, 27 Jan 2009 20:03:53 +0000 (12:03 -0800)]
defer

R=r
OCL=23592
CL=23592

16 years ago defer statement
Robert Griesemer [Tue, 27 Jan 2009 17:29:40 +0000 (09:29 -0800)]
 defer statement

R=r
DELTA=30  (26 added, 0 deleted, 4 changed)
OCL=23533
CL=23569

16 years agof, ok := i.(Foo) does not compile if i already is equivalent to Foo
Rob Pike [Tue, 27 Jan 2009 02:35:18 +0000 (18:35 -0800)]
f, ok := i.(Foo) does not compile if i already is equivalent to Foo

R=rsc
DELTA=18  (18 added, 0 deleted, 0 changed)
OCL=23544
CL=23547

16 years agodefer statement
Robert Griesemer [Tue, 27 Jan 2009 01:48:27 +0000 (17:48 -0800)]
defer statement

R=r
OCL=23542
CL=23542

16 years agogc #0. mark and sweep collector.
Russ Cox [Tue, 27 Jan 2009 01:37:05 +0000 (17:37 -0800)]
gc #0.  mark and sweep collector.

R=r,gri
DELTA=472  (423 added, 2 deleted, 47 changed)
OCL=23522
CL=23541

16 years agoassignment count mismatch: 2 = 1.
Russ Cox [Tue, 27 Jan 2009 01:20:29 +0000 (17:20 -0800)]
assignment count mismatch: 2 = 1.

R=ken
OCL=23534
CL=23534

16 years agobug134
Russ Cox [Tue, 27 Jan 2009 01:06:20 +0000 (17:06 -0800)]
bug134

R=ken
OCL=23532
CL=23532

16 years agobug133
Russ Cox [Tue, 27 Jan 2009 00:57:24 +0000 (16:57 -0800)]
bug133

R=ken
OCL=23528
CL=23528

16 years agoin hash implementation, if data >= 8, align to 8.
Russ Cox [Mon, 26 Jan 2009 23:36:39 +0000 (15:36 -0800)]
in hash implementation, if data >= 8, align to 8.

R=ken
OCL=23519
CL=23521

16 years agoprint(map) and print(chan) as pointers.
Russ Cox [Mon, 26 Jan 2009 23:36:28 +0000 (15:36 -0800)]
print(map) and print(chan) as pointers.

R=ken
OCL=23520
CL=23520

16 years agoimproved logging formats.
Rob Pike [Mon, 26 Jan 2009 23:34:16 +0000 (15:34 -0800)]
improved logging formats.

R=rsc
DELTA=210  (118 added, 60 deleted, 32 changed)
OCL=23508
CL=23518

16 years agointerface speedups and fixes.
Russ Cox [Mon, 26 Jan 2009 20:36:21 +0000 (12:36 -0800)]
interface speedups and fixes.
more caching, better hash functions, proper locking.
fixed a bug in interface comparison too.

R=ken
DELTA=177  (124 added, 10 deleted, 43 changed)
OCL=23491
CL=23493

16 years agoremoved a:b in range syntax
Ken Thompson [Mon, 26 Jan 2009 19:34:38 +0000 (11:34 -0800)]
removed a:b in range syntax
added another channel test

R=r
OCL=23488
CL=23488

16 years agomake time fields public
Russ Cox [Mon, 26 Jan 2009 19:22:21 +0000 (11:22 -0800)]
make time fields public

R=r
DELTA=49  (0 added, 0 deleted, 49 changed)
OCL=23480
CL=23487

16 years agoAdd an accessor function os.FD.Fd() to get the file
Ian Lance Taylor [Mon, 26 Jan 2009 19:10:14 +0000 (11:10 -0800)]
Add an accessor function os.FD.Fd() to get the file
descriptor.  Use it in the PollServer code.

6g currently accepts this code without this change, but it
should not.  Test case for the bug is bug133.go.

R=rsc
DELTA=10  (0 added, 0 deleted, 10 changed)
OCL=23451
CL=23486

16 years agoAdd a test for a case where 6g thinks that a field is visible
Ian Lance Taylor [Mon, 26 Jan 2009 17:59:59 +0000 (09:59 -0800)]
Add a test for a case where 6g thinks that a field is visible
when it should not be.  I couldn't get this any simpler; the
error seems to have to do with the order of the imports in
bug2.go.

R=rsc
DELTA=26  (26 added, 0 deleted, 0 changed)
OCL=23450
CL=23482

16 years agoimplement new restrictions on what
Russ Cox [Mon, 26 Jan 2009 17:56:42 +0000 (09:56 -0800)]
implement new restrictions on what
can be compared/hashed.

R=r
DELTA=351  (201 added, 80 deleted, 70 changed)
OCL=23423
CL=23481

16 years ago- clarified slice index bounds rules
Robert Griesemer [Mon, 26 Jan 2009 17:34:19 +0000 (09:34 -0800)]
- clarified slice index bounds rules
- clarified comparisons of interfaces, slices, maps, channels
- removed respective TODO's

R=r
DELTA=76  (42 added, 16 deleted, 18 changed)
OCL=23132
CL=23479

16 years agoadd start to a logging package.
Rob Pike [Mon, 26 Jan 2009 17:28:07 +0000 (09:28 -0800)]
add start to a logging package.

R=rsc
DELTA=205  (205 added, 0 deleted, 0 changed)
OCL=23448
CL=23478

16 years agobug in async select read
Ken Thompson [Sat, 24 Jan 2009 23:58:44 +0000 (15:58 -0800)]
bug in async select read
buganizer 1589219
channel is returning same values multiple times

R=r
OCL=23447
CL=23447

16 years agomake test/chan/nonblock work even with real os threads
Russ Cox [Sat, 24 Jan 2009 01:04:56 +0000 (17:04 -0800)]
make test/chan/nonblock work even with real os threads

R=ken
OCL=23422
CL=23422

16 years agofix typo in comment. s/put/Put/
Rob Pike [Fri, 23 Jan 2009 23:57:52 +0000 (15:57 -0800)]
fix typo in comment. s/put/Put/

R=ken
OCL=23419
CL=23419

16 years agoremove the "open" concept from reflect and go with slices and arrays.
Rob Pike [Fri, 23 Jan 2009 23:56:04 +0000 (15:56 -0800)]
remove the "open" concept from reflect and go with slices and arrays.
the two still share an interface and Kind; that's probably ok but might be worth revisiting.

R=rsc
DELTA=74  (1 added, 8 deleted, 65 changed)
OCL=23416
CL=23418

16 years ago- snapshot before making larger change
Robert Griesemer [Fri, 23 Jan 2009 21:50:14 +0000 (13:50 -0800)]
- snapshot before making larger change

R=r
OCL=23403
CL=23403

16 years agochange the representation of arrays in protobufs from *[]item to []item.
Rob Pike [Fri, 23 Jan 2009 20:40:55 +0000 (12:40 -0800)]
change the representation of arrays in protobufs from *[]item to []item.
for simplicity of user's code, optional arrays of bytes also don't have a pointer.
requires adding a "Set()" method to arrays in reflect.
still to do: protocol compilers, google/net/rpc.

R=rsc
DELTA=227  (36 added, 95 deleted, 96 changed)
OCL=23387
CL=23389

16 years agosnapshot before making more changes:
Robert Griesemer [Fri, 23 Jan 2009 17:44:01 +0000 (09:44 -0800)]
snapshot before making more changes:
- fine-tuning of ast
- more accurate block pos info (improved printing in some cases)
- collecting local variables and fields
- more work on type checking
- lots of minor tweaks

R=r
OCL=23375
CL=23375

16 years agofix build - missed this file
Russ Cox [Fri, 23 Jan 2009 00:49:11 +0000 (16:49 -0800)]
fix build - missed this file

TBR=r
OCL=23335
CL=23335

16 years agomove math routines from package sys to package math,
Russ Cox [Fri, 23 Jan 2009 00:23:44 +0000 (16:23 -0800)]
move math routines from package sys to package math,
though they still build in src/runtime.

use cgo instead of hand-written wrappers.

R=r
DELTA=740  (289 added, 300 deleted, 151 changed)
OCL=23326
CL=23331

16 years agouse $GC, $GL in gotest, to match gccgo's gotest.
Russ Cox [Thu, 22 Jan 2009 23:41:12 +0000 (15:41 -0800)]
use $GC, $GL in gotest, to match gccgo's gotest.

use $GC in all_test.go for portability.

R=r
DELTA=19  (12 added, 0 deleted, 7 changed)
OCL=23305
CL=23325

16 years agocosmetic change only:
Robert Griesemer [Thu, 22 Jan 2009 23:16:48 +0000 (15:16 -0800)]
cosmetic change only:
- slightly simplified a couple of productions (CommClause, SwitchClause)
  by reordering

R=r
DELTA=5  (0 added, 0 deleted, 5 changed)
OCL=23304
CL=23323

16 years agolet test sources specify commands to run
Russ Cox [Thu, 22 Jan 2009 22:23:50 +0000 (14:23 -0800)]
let test sources specify commands to run
before their compilation.

R=r
OCL=23300
CL=23300

16 years agochange reflect.CopyArray into a method on ArrayValue called CopyFrom
Rob Pike [Wed, 21 Jan 2009 23:45:54 +0000 (15:45 -0800)]
change reflect.CopyArray into a method on ArrayValue called CopyFrom

R=rsc
DELTA=16  (12 added, 0 deleted, 4 changed)
OCL=23242
CL=23242

16 years ago- added comment with various viewpoints so we have whole story
Robert Griesemer [Wed, 21 Jan 2009 22:57:47 +0000 (14:57 -0800)]
- added comment with various viewpoints so we have whole story
once we close this

R=r
OCL=23239
CL=23239

16 years agodisallow P.t for lowercase t and not our package P.
Russ Cox [Wed, 21 Jan 2009 22:51:57 +0000 (14:51 -0800)]
disallow P.t for lowercase t and not our package P.

implement hiding lowercase methods m in
signatures by adding in a hash of the package name
to the type hash code.

remove remaining checks for internally-generated _ names:
they are all gone.

R=ken
OCL=23236
CL=23238

16 years agodelete unused code and data from 6.outs.
Russ Cox [Wed, 21 Jan 2009 22:50:27 +0000 (14:50 -0800)]
delete unused code and data from 6.outs.
cuts simple test binary by 7%.
would be more except for reflection.

R=r
DELTA=126  (117 added, 4 deleted, 5 changed)
OCL=23163
CL=23237

16 years ago- duplicate struct field not diagnosed
Robert Griesemer [Wed, 21 Jan 2009 22:11:54 +0000 (14:11 -0800)]
- duplicate struct field not diagnosed

R=rsc
DELTA=16  (16 added, 0 deleted, 0 changed)
OCL=23224
CL=23229

16 years agoGet this bug back to the intended state: bug1.go is making a
Ian Lance Taylor [Wed, 21 Jan 2009 20:52:22 +0000 (12:52 -0800)]
Get this bug back to the intended state: bug1.go is making a
reference to a type which should not be visible.  The test
currently fails with 6g.

R=rsc
DELTA=7  (4 added, 0 deleted, 3 changed)
OCL=23222
CL=23225

16 years agosys.readfile has been removed. Remove the test case for it.
Ian Lance Taylor [Wed, 21 Jan 2009 19:56:47 +0000 (11:56 -0800)]
sys.readfile has been removed.  Remove the test case for it.
It was disabled last week anyhow.

R=r,rsc
DELTA=24  (0 added, 24 deleted, 0 changed)
OCL=23205
CL=23220

16 years agoWith the removal of export, this bug no longer tests anything
Ian Lance Taylor [Wed, 21 Jan 2009 19:56:28 +0000 (11:56 -0800)]
With the removal of export, this bug no longer tests anything
interesting.  It was disabled last week anyhow.  Let's just
delete it.

R=r,rsc
DELTA=12  (0 added, 12 deleted, 0 changed)
OCL=23204
CL=23219

16 years agoupdate tutorial for new export scheme
Rob Pike [Wed, 21 Jan 2009 03:32:36 +0000 (19:32 -0800)]
update tutorial for new export scheme

R=ken,rsc
DELTA=101  (9 added, 0 deleted, 92 changed)
OCL=23174
CL=23188

16 years ago6g: better genembedtramp fatal error,
Russ Cox [Tue, 20 Jan 2009 23:36:57 +0000 (15:36 -0800)]
6g: better genembedtramp fatal error,
   and don't put inaccessible private methods
   in signature.

R=ken
OCL=23138
CL=23140

16 years ago6l: do not link in objects from an archive just for init functions.
Russ Cox [Tue, 20 Jan 2009 23:36:43 +0000 (15:36 -0800)]
6l: do not link in objects from an archive just for init functions.
   (makes go libraries behave more like c libraries.)

R=r
DELTA=85  (67 added, 12 deleted, 6 changed)
OCL=23133
CL=23139

16 years ago- updated pretty (removed "export")
Robert Griesemer [Tue, 20 Jan 2009 23:22:33 +0000 (15:22 -0800)]
- updated pretty (removed "export")

R=r
OCL=23134
CL=23134

16 years agodelete export
Russ Cox [Tue, 20 Jan 2009 22:40:40 +0000 (14:40 -0800)]
delete export

TBR=r
OCL=23121
CL=23127

16 years ago* delete export
Russ Cox [Tue, 20 Jan 2009 22:40:00 +0000 (14:40 -0800)]
* delete export
* rename init functions

R=ken
OCL=23122
CL=23126

16 years ago6l: ignore undefined symbols in gotypesigs.
Russ Cox [Tue, 20 Jan 2009 21:21:22 +0000 (13:21 -0800)]
6l: ignore undefined symbols in gotypesigs.
   they end up in the symbol table with type==0
   if they are in a library but not pulled in.
   also add a few debugging prints.

R=r
DELTA=11  (5 added, 1 deleted, 5 changed)
OCL=23104
CL=23108

16 years agoadd a couple of helper methods to io.ByteBuffer
Rob Pike [Tue, 20 Jan 2009 20:57:25 +0000 (12:57 -0800)]
add a couple of helper methods to io.ByteBuffer

R=rsc
DELTA=456  (9 added, 2 deleted, 445 changed)
OCL=23107
CL=23107

16 years agoconvert tests; nothing interesting.
Russ Cox [Sat, 17 Jan 2009 00:12:14 +0000 (16:12 -0800)]
convert tests; nothing interesting.

R=r
OCL=23012
CL=23014

16 years ago- added TODO
Robert Griesemer [Fri, 16 Jan 2009 23:44:08 +0000 (15:44 -0800)]
- added TODO

R=r
DELTA=3  (3 added, 0 deleted, 0 changed)
OCL=23003
CL=23003

16 years ago- cleanup todo list
Robert Griesemer [Fri, 16 Jan 2009 23:36:46 +0000 (15:36 -0800)]
- cleanup todo list
- fixed language for arrays slightly

R=r
DELTA=81  (39 added, 25 deleted, 17 changed)
OCL=23000
CL=23000

16 years agodisallow other package's names in method calls
Russ Cox [Fri, 16 Jan 2009 23:35:07 +0000 (15:35 -0800)]
disallow other package's names in method calls

R=ken
OCL=22999
CL=22999

16 years agocasify struct fields
Robert Griesemer [Fri, 16 Jan 2009 23:31:34 +0000 (15:31 -0800)]
casify struct fields

R=r
OCL=22998
CL=22998

16 years agocasify struct fields in entire tree.
Russ Cox [Fri, 16 Jan 2009 23:28:33 +0000 (15:28 -0800)]
casify struct fields in entire tree.

TBR=r
OCL=22997
CL=22997

16 years agodisallow other package's names in struct field dot.
Russ Cox [Fri, 16 Jan 2009 23:25:52 +0000 (15:25 -0800)]
disallow other package's names in struct field dot.

R=ken
OCL=22996
CL=22996

16 years agoChange malloc.Lookup to return the size as uintptr rather than
Ian Lance Taylor [Fri, 16 Jan 2009 23:03:22 +0000 (15:03 -0800)]
Change malloc.Lookup to return the size as uintptr rather than
uint64.  This changes the Go code to be consistent with the C
code.

R=rsc
DELTA=6  (0 added, 0 deleted, 6 changed)
OCL=22983
CL=22987

16 years agoRemove types from constants, since they didn't match what
Ian Lance Taylor [Fri, 16 Jan 2009 22:59:27 +0000 (14:59 -0800)]
Remove types from constants, since they didn't match what
Tick() expected.

R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=22979
CL=22986

16 years agocasify, cleanup sys
Russ Cox [Fri, 16 Jan 2009 22:58:14 +0000 (14:58 -0800)]
casify, cleanup sys

R=r
OCL=22978
CL=22984

16 years agocasify linux syscall dependents, plus a few stragglers
Rob Pike [Fri, 16 Jan 2009 22:16:31 +0000 (14:16 -0800)]
casify linux syscall dependents, plus a few stragglers

R=rsc
DELTA=97  (0 added, 0 deleted, 97 changed)
OCL=22971
CL=22973

16 years ago- language for export via capitalized identifiers
Robert Griesemer [Fri, 16 Jan 2009 22:12:50 +0000 (14:12 -0800)]
- language for export via capitalized identifiers
- removed explicit "export" declarations and keyword
- fixed a few glitches and adjusted examples

(The details of what "export" mean should be clarified
in the spec, this is just so we have a working doc for
now.)

R=r
DELTA=131  (7 added, 63 deleted, 61 changed)
OCL=22753
CL=22970

16 years agos/split/Split/ to get compiling again
Rob Pike [Fri, 16 Jan 2009 21:55:55 +0000 (13:55 -0800)]
s/split/Split/ to get compiling again

R=rsc
OCL=22967
CL=22967

16 years agotwo more casifications in fmt
Rob Pike [Fri, 16 Jan 2009 21:29:43 +0000 (13:29 -0800)]
two more casifications in fmt

R=rsc
DELTA=14  (0 added, 0 deleted, 14 changed)
OCL=22960
CL=22962

16 years agocasify flag.
Rob Pike [Fri, 16 Jan 2009 21:19:43 +0000 (13:19 -0800)]
casify flag.

R=rsc
DELTA=16  (0 added, 9 deleted, 7 changed)
OCL=22959
CL=22961

16 years agocasify reflect.
Rob Pike [Fri, 16 Jan 2009 20:48:07 +0000 (12:48 -0800)]
casify reflect.

R=rsc
DELTA=513  (0 added, 2 deleted, 511 changed)
OCL=22954
CL=22956

16 years agocasify misc
Russ Cox [Fri, 16 Jan 2009 20:47:24 +0000 (12:47 -0800)]
casify misc

R=r
DELTA=247  (20 added, 50 deleted, 177 changed)
OCL=22951
CL=22955

16 years ago- more bignum_test letter case fixes
Robert Griesemer [Fri, 16 Jan 2009 20:04:40 +0000 (12:04 -0800)]
- more bignum_test letter case fixes

R=r
OCL=22952
CL=22952

16 years agocasify syscall and sequelae
Rob Pike [Fri, 16 Jan 2009 19:36:44 +0000 (11:36 -0800)]
casify syscall and sequelae

R=rsc
DELTA=337  (0 added, 1 deleted, 336 changed)
OCL=22950
CL=22950

16 years agocasify http
Russ Cox [Fri, 16 Jan 2009 19:06:42 +0000 (11:06 -0800)]
casify http

R=r
DELTA=33  (0 added, 0 deleted, 33 changed)
OCL=22947
CL=22949

16 years agocasify DNS
Russ Cox [Fri, 16 Jan 2009 19:04:44 +0000 (11:04 -0800)]
casify DNS

R=r
DELTA=221  (0 added, 0 deleted, 221 changed)
OCL=22946
CL=22948

16 years agore-export of bools was changing
Russ Cox [Fri, 16 Jan 2009 18:45:28 +0000 (10:45 -0800)]
re-export of bools was changing
format from hex to decimal, confusing
ar's strcmp-based value comparison.

switched export format to "true" or "false"
to keep bools separate from ints.

R=ken
OCL=22944
CL=22944

16 years agorecasify regexp to use underscores and clean up the tests more
Rob Pike [Fri, 16 Jan 2009 18:34:36 +0000 (10:34 -0800)]
recasify regexp to use underscores and clean up the tests more

R=rsc
DELTA=174  (0 added, 0 deleted, 174 changed)
OCL=22917
CL=22942

16 years agocasify a few more
Rob Pike [Fri, 16 Jan 2009 18:34:21 +0000 (10:34 -0800)]
casify a few more

R=rsc
DELTA=72  (0 added, 9 deleted, 63 changed)
OCL=22918
CL=22941

16 years agocasify json
Russ Cox [Fri, 16 Jan 2009 18:14:38 +0000 (10:14 -0800)]
casify json

R=r
DELTA=163  (0 added, 0 deleted, 163 changed)
OCL=22910
CL=22939

16 years agocasify hash
Russ Cox [Fri, 16 Jan 2009 18:14:28 +0000 (10:14 -0800)]
casify hash

R=r
DELTA=235  (6 added, 26 deleted, 203 changed)
OCL=22907
CL=22938

16 years agocasify time
Russ Cox [Fri, 16 Jan 2009 18:14:12 +0000 (10:14 -0800)]
casify time

R=r
DELTA=103  (1 added, 0 deleted, 102 changed)
OCL=22914
CL=22937

16 years agoredo and clean up math.
Russ Cox [Fri, 16 Jan 2009 03:11:32 +0000 (19:11 -0800)]
redo and clean up math.

R=r
DELTA=243  (60 added, 72 deleted, 111 changed)
OCL=22909
CL=22912

16 years agocasify tutorial examples
Rob Pike [Fri, 16 Jan 2009 01:54:07 +0000 (17:54 -0800)]
casify tutorial examples
will bring document in line in a later CL, which may include revisiting some of the names

R=rsc
DELTA=58  (0 added, 0 deleted, 58 changed)
OCL=22906
CL=22908

16 years agodon't crash on:
Russ Cox [Fri, 16 Jan 2009 01:32:31 +0000 (17:32 -0800)]
don't crash on:

package main
var x int
type x struct { a int }

R=ken
OCL=22903
CL=22903

16 years agoconvert strconv
Russ Cox [Fri, 16 Jan 2009 01:22:17 +0000 (17:22 -0800)]
convert strconv

R=r
DELTA=568  (0 added, 9 deleted, 559 changed)
OCL=22898
CL=22901

16 years agocasify lib/regexp
Rob Pike [Fri, 16 Jan 2009 01:22:15 +0000 (17:22 -0800)]
casify lib/regexp

R=rsc
DELTA=259  (0 added, 0 deleted, 259 changed)
OCL=22897
CL=22900

16 years agocasify pretty
Robert Griesemer [Fri, 16 Jan 2009 01:16:41 +0000 (17:16 -0800)]
casify pretty

R=r
OCL=22899
CL=22899

16 years agocatch export on func.
Russ Cox [Fri, 16 Jan 2009 00:43:51 +0000 (16:43 -0800)]
catch export on func.
print names in message.

R=ken
OCL=22891
CL=22891

16 years agocasify fixup for bufio
Rob Pike [Fri, 16 Jan 2009 00:22:57 +0000 (16:22 -0800)]
casify fixup for bufio

R=rsc
DELTA=88  (0 added, 12 deleted, 76 changed)
OCL=22884
CL=22890

16 years agoadd warning for export of lowercase too.
Russ Cox [Fri, 16 Jan 2009 00:20:21 +0000 (16:20 -0800)]
add warning for export of lowercase too.

R=ken
OCL=22887
CL=22887

16 years agoremove export name-list statement.
Russ Cox [Fri, 16 Jan 2009 00:16:52 +0000 (16:16 -0800)]
remove export name-list statement.
make package local the default.
warn about name case not matching export keyword.

R=ken
OCL=22881
CL=22886

16 years agomake safe for new package local defaults
Russ Cox [Fri, 16 Jan 2009 00:16:42 +0000 (16:16 -0800)]
make safe for new package local defaults

R=r
DELTA=462  (9 added, 33 deleted, 420 changed)
OCL=22879
CL=22885

16 years agomore casifying fixups
Rob Pike [Fri, 16 Jan 2009 00:03:27 +0000 (16:03 -0800)]
more casifying fixups

R=rsc
DELTA=213  (0 added, 0 deleted, 213 changed)
OCL=22878
CL=22882

16 years agocasify fmt and its dependents.
Rob Pike [Thu, 15 Jan 2009 23:40:27 +0000 (15:40 -0800)]
casify fmt and its dependents.

R=rsc
DELTA=224  (0 added, 2 deleted, 222 changed)
OCL=22875
CL=22875

16 years agodiagnose missing symbols instead of
Rob Pike [Thu, 15 Jan 2009 23:21:12 +0000 (15:21 -0800)]
diagnose missing symbols instead of
silently miscompiling.

R=rsc
OCL=22872
CL=22872

16 years ago- fixed untab.go to compile again
Robert Griesemer [Thu, 15 Jan 2009 23:14:19 +0000 (15:14 -0800)]
- fixed untab.go to compile again

R=r
OCL=22871
CL=22871

16 years ago- converted tabwriter to new naming scheme
Robert Griesemer [Thu, 15 Jan 2009 23:10:46 +0000 (15:10 -0800)]
- converted tabwriter to new naming scheme

R=r
OCL=22870
CL=22870

16 years ago- missed a few identifiers
Robert Griesemer [Thu, 15 Jan 2009 22:49:40 +0000 (14:49 -0800)]
- missed a few identifiers

R=r
OCL=22864
CL=22864

16 years ago- lowercase non-exported functions in bignum
Robert Griesemer [Thu, 15 Jan 2009 22:46:31 +0000 (14:46 -0800)]
- lowercase non-exported functions in bignum

R=r
DELTA=117  (1 added, 0 deleted, 116 changed)
OCL=22764
CL=22863

16 years ago- added mechanism to detect capitalization issues
Robert Griesemer [Thu, 15 Jan 2009 22:19:35 +0000 (14:19 -0800)]
- added mechanism to detect capitalization issues
Use: pretty -naming files

R=r
OCL=22859
CL=22859

16 years agoprintf->Printf etc.
Rob Pike [Thu, 15 Jan 2009 21:48:11 +0000 (13:48 -0800)]
printf->Printf etc.
the raw fmt routines will be another, smaller but subtler pass.

R=rsc
DELTA=157  (0 added, 0 deleted, 157 changed)
OCL=22851
CL=22851

16 years agoTest that a const with an explicit type is not treated as
Ian Lance Taylor [Thu, 15 Jan 2009 19:23:35 +0000 (11:23 -0800)]
Test that a const with an explicit type is not treated as
having an abstract type.

R=gri
DELTA=11  (11 added, 0 deleted, 0 changed)
OCL=22829
CL=22832

16 years agoTest that interfaces are correctly handled by pointer and by
Ian Lance Taylor [Thu, 15 Jan 2009 18:15:34 +0000 (10:15 -0800)]
Test that interfaces are correctly handled by pointer and by
value for large and small objects.  Currently one case fails
with 6g.

R=rsc
DELTA=150  (150 added, 0 deleted, 0 changed)
OCL=22823
CL=22827

16 years agoRecognize gccgo error messages:
Ian Lance Taylor [Thu, 15 Jan 2009 18:15:23 +0000 (10:15 -0800)]
Recognize gccgo error messages:

interface5.go:15:5: error: incompatible types in assignment
interface5.go:16:5: error: incompatible types in assignment

(Yes, these could be better).

R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=22821
CL=22826