]> Cypherpunks repositories - gostls13.git/log
gostls13.git
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

16 years ago- use new letter definition for pretty
Robert Griesemer [Wed, 14 Jan 2009 23:19:34 +0000 (15:19 -0800)]
- use new letter definition for pretty
- fixed a bug with error column reporting in the presence of utf-8 chars
- fixed an assertion failure

R=r
OCL=22762
CL=22762

16 years agoadd unicode library stub with just
Russ Cox [Wed, 14 Jan 2009 22:05:00 +0000 (14:05 -0800)]
add unicode library stub with just
IsUpper and IsLetter.

R=r
DELTA=746  (746 added, 0 deleted, 0 changed)
OCL=22743
CL=22750

16 years agorestore "os" identifier to keep consistent with text.
Rob Pike [Wed, 14 Jan 2009 16:43:32 +0000 (08:43 -0800)]
restore "os" identifier to keep consistent with text.

R=presotto
OCL=22733
CL=22733

16 years agoAdd cgo2c program to translate mixed Go/C code into C. This
Ian Lance Taylor [Wed, 14 Jan 2009 16:21:25 +0000 (08:21 -0800)]
Add cgo2c program to translate mixed Go/C code into C.  This
lets us use a single source file for both 6c and gcc, handling
the incompatible handling of return values.

R=rsc
DELTA=649  (613 added, 35 deleted, 1 changed)
OCL=22682
CL=22730

16 years agochange another yacc reference to bison.
Russ Cox [Wed, 14 Jan 2009 00:32:46 +0000 (16:32 -0800)]
change another yacc reference to bison.

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=22662
CL=22691

16 years agodelete playpen copy of malloc
Russ Cox [Wed, 14 Jan 2009 00:32:40 +0000 (16:32 -0800)]
delete playpen copy of malloc

R=r
DELTA=905  (0 added, 905 deleted, 0 changed)
OCL=22663
CL=22690

16 years agoin 6g -r (the rsc flag),
Russ Cox [Tue, 13 Jan 2009 21:46:09 +0000 (13:46 -0800)]
in 6g -r (the rsc flag),
rewrite heap pointer moves as xchg.

R=ken
OCL=22665
CL=22665

16 years agoAdd USED declarations for SysUnused parameters.
Ian Lance Taylor [Tue, 13 Jan 2009 18:24:06 +0000 (10:24 -0800)]
Add USED declarations for SysUnused parameters.

R=rsc
DELTA=2  (2 added, 0 deleted, 0 changed)
OCL=22640
CL=22642

16 years agoTweak code to make it easier to compile with gcc.
Ian Lance Taylor [Tue, 13 Jan 2009 17:55:24 +0000 (09:55 -0800)]
Tweak code to make it easier to compile with gcc.
  + Use macros to name symbols with non-ASCII characters.
  + Make some variables unsigned, because they are compared
    against unsigned values.
  + Fix a few void* pointers to be MLink*.

R=rsc
DELTA=94  (44 added, 3 deleted, 47 changed)
OCL=22303
CL=22638

16 years ago- removed an unnecessary field from AST.Expr nodes
Robert Griesemer [Tue, 13 Jan 2009 01:44:10 +0000 (17:44 -0800)]
- removed an unnecessary field from AST.Expr nodes

R=r
OCL=22601
CL=22601

16 years ago- remove obsolete files (missed before)
Robert Griesemer [Sat, 10 Jan 2009 00:30:00 +0000 (16:30 -0800)]
- remove obsolete files (missed before)

R=r
OCL=22475
CL=22475

16 years ago- preparation to add type info to ast
Robert Griesemer [Sat, 10 Jan 2009 00:28:09 +0000 (16:28 -0800)]
- preparation to add type info to ast
- consolidation of files, cleanup
- more success producing idempotent output for some files with comments
  containing tabs
- snapshot of the day

R=r
OCL=22474
CL=22474

16 years agofree(nil)
Russ Cox [Sat, 10 Jan 2009 00:22:13 +0000 (16:22 -0800)]
free(nil)

R=iant
DELTA=3  (3 added, 0 deleted, 0 changed)
OCL=22467
CL=22471

16 years agoadd sys.caller
Russ Cox [Fri, 9 Jan 2009 23:52:43 +0000 (15:52 -0800)]
add sys.caller

R=r
DELTA=139  (101 added, 38 deleted, 0 changed)
OCL=22462
CL=22466

16 years agotest of automatic indirect
Russ Cox [Fri, 9 Jan 2009 23:38:01 +0000 (15:38 -0800)]
test of automatic indirect

R=r
DELTA=93  (93 added, 0 deleted, 0 changed)
OCL=22458
CL=22461

16 years agoclean up automatic indirect, delete some dead code.
Russ Cox [Fri, 9 Jan 2009 23:21:41 +0000 (15:21 -0800)]
clean up automatic indirect, delete some dead code.

R=ken
OCL=22454
CL=22457

16 years agoupdate tutorial to new language.
Rob Pike [Fri, 9 Jan 2009 23:16:31 +0000 (15:16 -0800)]
update tutorial to new language.
add a section on printing
add a section on allocation

R=rsc
DELTA=500  (278 added, 15 deleted, 207 changed)
OCL=22381
CL=22456

16 years agoUse make instead of new to allocate a channel.
Ian Lance Taylor [Fri, 9 Jan 2009 23:13:26 +0000 (15:13 -0800)]
Use make instead of new to allocate a channel.

R=r
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=22452
CL=22455

16 years agonow that TCHAN, TMAP, and TSTRING are real types,
Russ Cox [Fri, 9 Jan 2009 21:50:58 +0000 (13:50 -0800)]
now that TCHAN, TMAP, and TSTRING are real types,
can do methods on them without pointer worries.

R=ken
OCL=22434
CL=22436

16 years agosimplify flag interface. no more BVal etc. you just get a pointer.
Rob Pike [Fri, 9 Jan 2009 21:42:46 +0000 (13:42 -0800)]
simplify flag interface. no more BVal etc. you just get a pointer.
fixed everything except the tutorial.

R=rsc
DELTA=404  (94 added, 139 deleted, 171 changed)
OCL=22414
CL=22422

16 years agotypo
Russ Cox [Fri, 9 Jan 2009 19:17:13 +0000 (11:17 -0800)]
typo

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=22411
CL=22411

16 years agosilence gcc warnings.
Russ Cox [Fri, 9 Jan 2009 19:13:59 +0000 (11:13 -0800)]
silence gcc warnings.
not sure if the warning in reg.c was a real bug.

R=ken
OCL=22408
CL=22410

16 years ago6g cleanup suggested by ken.
Russ Cox [Fri, 9 Jan 2009 19:13:39 +0000 (11:13 -0800)]
6g cleanup suggested by ken.
remove TPTR wrapper around TMAP, TCHAN, TSTRING.

R=ken
OCL=22406
CL=22409

16 years agoupdate sys.reflect and sys.unreflect to accomodate
Russ Cox [Fri, 9 Jan 2009 08:17:46 +0000 (00:17 -0800)]
update sys.reflect and sys.unreflect to accomodate
the possibility of large objects in interface values.

R=r
DELTA=171  (97 added, 22 deleted, 52 changed)
OCL=22382
CL=22382

16 years agobug046 and bug080 are fixed
Russ Cox [Fri, 9 Jan 2009 04:06:37 +0000 (20:06 -0800)]
bug046 and bug080 are fixed

R=r
DELTA=72  (30 added, 42 deleted, 0 changed)
OCL=22373
CL=22378

16 years agosecond pass on interface fixes and tests.
Russ Cox [Fri, 9 Jan 2009 02:06:06 +0000 (18:06 -0800)]
second pass on interface fixes and tests.

R=ken
OCL=22370
CL=22372

16 years ago- removed temporary work-arounds from bignum_test, not needed anymore
Robert Griesemer [Fri, 9 Jan 2009 01:38:24 +0000 (17:38 -0800)]
- removed temporary work-arounds from bignum_test, not needed anymore

R=r
DELTA=93  (0 added, 61 deleted, 32 changed)
OCL=22348
CL=22366

16 years agonew sort interface - no structs, just slices.
Rob Pike [Thu, 8 Jan 2009 23:12:00 +0000 (15:12 -0800)]
new sort interface - no structs, just slices.

R=rsc
DELTA=37  (0 added, 7 deleted, 30 changed)
OCL=22330
CL=22342

16 years agofix:
Russ Cox [Thu, 8 Jan 2009 23:01:22 +0000 (15:01 -0800)]
fix:
type T []int
var a []int
var t = T(a)

R=ken
OCL=22341
CL=22341

16 years ago- first (global) idents with proper links to declarations in html output
Robert Griesemer [Thu, 8 Jan 2009 22:43:56 +0000 (14:43 -0800)]
- first (global) idents with proper links to declarations in html output
(e.g. pretty -html source.go > source.html; then look at the html.file in a browser)

R=r
OCL=22331
CL=22331

16 years agotypo
Russ Cox [Thu, 8 Jan 2009 22:31:11 +0000 (14:31 -0800)]
typo

R=ken
OCL=22327
CL=22327

16 years agomany interface bug fixes.
Russ Cox [Thu, 8 Jan 2009 22:30:00 +0000 (14:30 -0800)]
many interface bug fixes.

also, after
func g() (int, int)
func f(int, int)
allow
f(g())
and
func h() (int, int) { return g() }

R=ken
DELTA=356  (252 added, 26 deleted, 78 changed)
OCL=22319
CL=22325

16 years ago- fixed a bug with building right-recursive trees iteratively
Robert Griesemer [Thu, 8 Jan 2009 20:04:00 +0000 (12:04 -0800)]
- fixed a bug with building right-recursive trees iteratively
- moving scope handling into parser (simpler)
- snapshot of work today so far

R=r
OCL=22301
CL=22301