]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agorewrite system call interface to use less assembler.
Rob Pike [Tue, 29 Jul 2008 21:44:48 +0000 (14:44 -0700)]
rewrite system call interface to use less assembler.

R=gri
OCL=13546
CL=13546

16 years agofix type error caused by recent change
Rob Pike [Tue, 29 Jul 2008 20:16:42 +0000 (13:16 -0700)]
fix type error caused by recent change

R=gri
OCL=13545
CL=13545

16 years ago- handling of pointer forward decls
Robert Griesemer [Tue, 29 Jul 2008 19:03:06 +0000 (12:03 -0700)]
- handling of pointer forward decls
- some comments added to bug cases
- added notes

R=r
OCL=13543
CL=13543

16 years agoupdate tests
Rob Pike [Mon, 28 Jul 2008 23:08:38 +0000 (16:08 -0700)]
update tests

R=gri
OCL=13526
CL=13526

16 years agolen now takes an expression
Ken Thompson [Mon, 28 Jul 2008 20:54:58 +0000 (13:54 -0700)]
len now takes an expression

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

16 years agoadd lstat
Rob Pike [Mon, 28 Jul 2008 20:07:58 +0000 (13:07 -0700)]
add lstat
clean up some code
fix comments
add paramter names to interface

R=ken
OCL=13521
CL=13521

16 years ago- parameters must be named
Robert Griesemer [Mon, 28 Jul 2008 19:08:06 +0000 (12:08 -0700)]
- parameters must be named

R=r
OCL=13520
CL=13520

16 years agouse real select
Rob Pike [Mon, 28 Jul 2008 19:03:56 +0000 (12:03 -0700)]
use real select

R=ken
OCL=13519
CL=13519

16 years agoprint tracebacks for all goroutines, not just the crashing one
Rob Pike [Mon, 28 Jul 2008 18:29:41 +0000 (11:29 -0700)]
print tracebacks for all goroutines, not just the crashing one

R=ken
OCL=13518
CL=13518

16 years agoupdate tests
Rob Pike [Mon, 28 Jul 2008 17:22:49 +0000 (10:22 -0700)]
update tests

R=gri
OCL=13516
CL=13516

16 years agoupdate golden
Rob Pike [Mon, 28 Jul 2008 16:57:43 +0000 (09:57 -0700)]
update golden

R=gri
OCL=13515
CL=13515

16 years agoupdate tests
Rob Pike [Sun, 27 Jul 2008 20:50:54 +0000 (13:50 -0700)]
update tests

R=ken
OCL=13507
CL=13507

16 years agoreally fix it this time
Rob Pike [Sun, 27 Jul 2008 20:32:33 +0000 (13:32 -0700)]
really fix it this time

R=ken
OCL=13506
CL=13506

16 years agocode had syntax error masking real bug
Rob Pike [Sun, 27 Jul 2008 20:30:53 +0000 (13:30 -0700)]
code had syntax error masking real bug

R=ken
OCL=13505
CL=13505

16 years agorandom bug fixes
Ken Thompson [Sun, 27 Jul 2008 20:09:15 +0000 (13:09 -0700)]
random bug fixes

R=r
DELTA=18  (6 added, 1 deleted, 11 changed)
OCL=13504
CL=13504

16 years agoselect
Ken Thompson [Sun, 27 Jul 2008 18:42:52 +0000 (11:42 -0700)]
select

R=r
DELTA=29  (27 added, 1 deleted, 1 changed)
OCL=13503
CL=13503

16 years agoadd fstat, stat
Rob Pike [Sat, 26 Jul 2008 23:22:14 +0000 (16:22 -0700)]
add fstat, stat

R=ken
OCL=13497
CL=13497

16 years agobeginnings of a low-level syscall library
Rob Pike [Sat, 26 Jul 2008 21:49:21 +0000 (14:49 -0700)]
beginnings of a low-level syscall library

R=ken
OCL=13483
CL=13496

16 years agoselect/chan
Ken Thompson [Sat, 26 Jul 2008 21:21:21 +0000 (14:21 -0700)]
select/chan

R=r
DELTA=517  (137 added, 98 deleted, 282 changed)
OCL=13495
CL=13495

16 years agoselect
Ken Thompson [Sat, 26 Jul 2008 00:03:27 +0000 (17:03 -0700)]
select

R=r
APPROVED=r
DELTA=41  (24 added, 13 deleted, 4 changed)
OCL=13480
CL=13480

16 years agoselect
Ken Thompson [Fri, 25 Jul 2008 22:55:12 +0000 (15:55 -0700)]
select

R=r
APPROVED=r
DELTA=147  (94 added, 14 deleted, 39 changed)
OCL=13477
CL=13477

16 years agobug: compiler crash on select receive without variable.
Rob Pike [Fri, 25 Jul 2008 19:49:36 +0000 (12:49 -0700)]
bug: compiler crash on select receive without variable.

R=gri
OCL=13470
CL=13470

16 years agoupdate tests
Rob Pike [Fri, 25 Jul 2008 19:20:14 +0000 (12:20 -0700)]
update tests

R=gri
OCL=13469
CL=13469

16 years agoread select
Ken Thompson [Fri, 25 Jul 2008 18:58:26 +0000 (11:58 -0700)]
read select

R=r
APPROVED=r
DELTA=120  (108 added, 0 deleted, 12 changed)
OCL=13468
CL=13468

16 years agoExperiments with "export":
Robert Griesemer [Fri, 25 Jul 2008 18:27:13 +0000 (11:27 -0700)]
Experiments with "export":
Allow "export" keyword in front of a declaration. Semantics:
export *top-level* identifiers declared (but not the fields
of a struct type for instance).

R=r
OCL=13464
CL=13464

16 years ago- more work on SimpleStat production
Robert Griesemer [Fri, 25 Jul 2008 16:35:03 +0000 (09:35 -0700)]
- more work on SimpleStat production

R=r
OCL=13461
CL=13461

16 years agofix ordering problem: flag depends on fmt
Rob Pike [Fri, 25 Jul 2008 00:01:09 +0000 (17:01 -0700)]
fix ordering problem: flag depends on fmt

R=gri
OCL=13442
CL=13442

16 years ago- fixed several parser issues
Robert Griesemer [Fri, 25 Jul 2008 00:00:58 +0000 (17:00 -0700)]
- fixed several parser issues

R=r
OCL=13441
CL=13441

16 years agoselect
Ken Thompson [Thu, 24 Jul 2008 22:57:30 +0000 (15:57 -0700)]
select

R=r
APPROVED=r
DELTA=638  (433 added, 21 deleted, 184 changed)
OCL=13426
CL=13438

16 years ago- filed bug: label identifiers should not be allowed to match
Robert Griesemer [Thu, 24 Jul 2008 20:36:18 +0000 (13:36 -0700)]
- filed bug: label identifiers should not be allowed to match
other identifiers in the same scope.

R=r
OCL=13431
CL=13431

16 years ago- filed bug: label names in different scopes should not conflict
Robert Griesemer [Thu, 24 Jul 2008 20:30:49 +0000 (13:30 -0700)]
- filed bug: label names in different scopes should not conflict

R=r
OCL=13430
CL=13430

16 years agoadd usage message
Rob Pike [Thu, 24 Jul 2008 17:38:22 +0000 (10:38 -0700)]
add usage message

R=gri
OCL=13423
CL=13423

16 years agoAdd a flags package.
Rob Pike [Thu, 24 Jul 2008 03:02:54 +0000 (20:02 -0700)]
Add a flags package.

R=gri
OCL=13399
CL=13399

16 years agonew bug: x, ok = t.m[i] doesn't compile
Rob Pike [Thu, 24 Jul 2008 01:11:17 +0000 (18:11 -0700)]
new bug: x, ok = t.m[i] doesn't compile

R=ken
OCL=13395
CL=13395

16 years ago- parsing support for composite literals
Robert Griesemer [Wed, 23 Jul 2008 23:59:06 +0000 (16:59 -0700)]
- parsing support for composite literals

R=r
OCL=13394
CL=13394

16 years ago- more work on semantic checks - not yet enabled by default
Robert Griesemer [Wed, 23 Jul 2008 23:04:11 +0000 (16:04 -0700)]
- more work on semantic checks - not yet enabled by default

R=r
OCL=13391
CL=13391

16 years agoslices and string/array concatenation
Rob Pike [Wed, 23 Jul 2008 18:22:30 +0000 (11:22 -0700)]
slices and string/array concatenation

OCL=13382
CL=13382

16 years agodocument initialization
Rob Pike [Wed, 23 Jul 2008 00:53:53 +0000 (17:53 -0700)]
document initialization

OCL=13369
CL=13369

16 years agomaintain __.PKGDEF files in archives if the 'g' flag is given
Rob Pike [Tue, 22 Jul 2008 22:57:46 +0000 (15:57 -0700)]
maintain __.PKGDEF files in archives if the 'g' flag is given
use this facility to simplify the math lib-building script

R=ken
DELTA=183  (158 added, 16 deleted, 9 changed)
OCL=13364
CL=13366

16 years agofix some bad spaces
Rob Pike [Tue, 22 Jul 2008 22:25:09 +0000 (15:25 -0700)]
fix some bad spaces

OCL=13363
CL=13363

16 years agoExpand section on compound literals.
Rob Pike [Tue, 22 Jul 2008 22:23:06 +0000 (15:23 -0700)]
Expand section on compound literals.

R=ken,gri
DELTA=31  (22 added, 0 deleted, 9 changed)
OCL=13351
CL=13362

16 years agochange date
Rob Pike [Tue, 22 Jul 2008 01:06:39 +0000 (18:06 -0700)]
change date

OCL=13331
CL=13331

16 years agohelp management of empty pkg and lib directories in perforce
Rob Pike [Tue, 22 Jul 2008 00:10:49 +0000 (17:10 -0700)]
help management of empty pkg and lib directories in perforce

R=gri
DELTA=4  (4 added, 0 deleted, 0 changed)
OCL=13328
CL=13328

16 years agomap delete
Rob Pike [Mon, 21 Jul 2008 23:18:04 +0000 (16:18 -0700)]
map delete

SVN=128258

16 years agocompiler crash in string('a', 'b', '\n');
Rob Pike [Mon, 21 Jul 2008 22:41:39 +0000 (15:41 -0700)]
compiler crash in string('a', 'b', '\n');

SVN=128253

16 years agostart of select
Ken Thompson [Mon, 21 Jul 2008 03:13:07 +0000 (20:13 -0700)]
start of select
random bugs fixed

SVN=128149

16 years agotweaks to init
Ken Thompson [Sun, 20 Jul 2008 20:33:45 +0000 (13:33 -0700)]
tweaks to init
rand using init

SVN=128142

16 years agoinit
Ken Thompson [Sun, 20 Jul 2008 01:39:12 +0000 (18:39 -0700)]
init

SVN=128128

16 years agoadd an eval function (written by ken)
Rob Pike [Sat, 19 Jul 2008 22:11:25 +0000 (15:11 -0700)]
add an eval function (written by ken)

SVN=128122

16 years agotest update
Rob Pike [Sat, 19 Jul 2008 22:08:56 +0000 (15:08 -0700)]
test update

SVN=128120

16 years agoupdate fmt to use some initialization
Rob Pike [Sat, 19 Jul 2008 21:52:01 +0000 (14:52 -0700)]
update fmt to use some initialization
tweak ar so the pkgdef file doesn't cause it not to generate a symbol table

SVN=128119

16 years agoinit
Ken Thompson [Sat, 19 Jul 2008 21:37:02 +0000 (14:37 -0700)]
init

SVN=128118

16 years agoinit filename vs pkgname
Ken Thompson [Sat, 19 Jul 2008 21:20:46 +0000 (14:20 -0700)]
init filename vs pkgname

SVN=128117

16 years agoinitialization
Ken Thompson [Sat, 19 Jul 2008 20:38:29 +0000 (13:38 -0700)]
initialization

SVN=128115

16 years ago- scanner returns now triple (tok, tok_pos, tok_val)
Robert Griesemer [Sat, 19 Jul 2008 00:18:29 +0000 (17:18 -0700)]
- scanner returns now triple (tok, tok_pos, tok_val)
- initial try-out of AST data structures
- removed test_parser (not working anymore - parser needs more infrastructure)

SVN=128089

16 years ago- missing changes from prev. commit
Robert Griesemer [Fri, 18 Jul 2008 21:23:04 +0000 (14:23 -0700)]
- missing changes from prev. commit

SVN=128064

16 years agoadd doug's power series package
Rob Pike [Fri, 18 Jul 2008 21:18:07 +0000 (14:18 -0700)]
add doug's power series package

SVN=128063

16 years ago- made initial export work
Robert Griesemer [Fri, 18 Jul 2008 21:04:21 +0000 (14:04 -0700)]
- made initial export work
- added code for importing (not tested)
- various fixes

SVN=128061

16 years ago- added 2 bugs tests
Robert Griesemer [Fri, 18 Jul 2008 19:26:48 +0000 (12:26 -0700)]
- added 2 bugs tests

SVN=128056

16 years agolen(fixed array)
Ken Thompson [Fri, 18 Jul 2008 18:59:35 +0000 (11:59 -0700)]
len(fixed array)

SVN=128050

16 years agoloop in subtype
Ken Thompson [Fri, 18 Jul 2008 01:15:05 +0000 (18:15 -0700)]
loop in subtype

SVN=127933

16 years ago- more front-end stuff: hooking up packages, preparing for exports
Robert Griesemer [Fri, 18 Jul 2008 01:02:10 +0000 (18:02 -0700)]
- more front-end stuff: hooking up packages, preparing for exports

SVN=127931

16 years agoone more time for divide
Ken Thompson [Thu, 17 Jul 2008 23:22:40 +0000 (16:22 -0700)]
one more time for divide

SVN=127911

16 years ago- moved struct Compilation into globals.go, adjusted deps
Robert Griesemer [Thu, 17 Jul 2008 22:11:46 +0000 (15:11 -0700)]
- moved struct Compilation into globals.go, adjusted deps
- bail out after > 10 errors
- fixed send/recv statements

SVN=127890

16 years agodiv bug
Ken Thompson [Thu, 17 Jul 2008 22:03:39 +0000 (15:03 -0700)]
div bug
[]ptr bug
proc reuses old g* structures
differnt assignment of offsets to parameters

SVN=127888

16 years ago- moved package code into globals.go, adjusted deps
Robert Griesemer [Thu, 17 Jul 2008 21:53:13 +0000 (14:53 -0700)]
- moved package code into globals.go, adjusted deps

SVN=127887

16 years agoupdate tests
Rob Pike [Thu, 17 Jul 2008 18:15:11 +0000 (11:15 -0700)]
update tests

SVN=127826

16 years agocompiler bug: infinite recursion in subtype()
Rob Pike [Thu, 17 Jul 2008 18:04:44 +0000 (11:04 -0700)]
compiler bug: infinite recursion in subtype()

SVN=127822

16 years agonew channel syntax
Rob Pike [Thu, 17 Jul 2008 17:47:32 +0000 (10:47 -0700)]
new channel syntax
select cleans up too

SVN=127816

16 years agoparameter in fn literals
Ken Thompson [Thu, 17 Jul 2008 01:31:01 +0000 (18:31 -0700)]
parameter in fn literals

SVN=127695

16 years agoparameter declartions in func literals
Ken Thompson [Thu, 17 Jul 2008 00:22:54 +0000 (17:22 -0700)]
parameter declartions in func literals

SVN=127678

16 years ago- changed channel operators
Robert Griesemer [Thu, 17 Jul 2008 00:00:48 +0000 (17:00 -0700)]
- changed channel operators
- more work on packages

SVN=127671

16 years agostrengthen test by checking values
Rob Pike [Wed, 16 Jul 2008 21:49:01 +0000 (14:49 -0700)]
strengthen test by checking values

SVN=127601

16 years agoadd test for non-blocking channel ops
Rob Pike [Wed, 16 Jul 2008 21:41:27 +0000 (14:41 -0700)]
add test for non-blocking channel ops

SVN=127595

16 years agonew (more fifo) schedulint algorithm
Ken Thompson [Wed, 16 Jul 2008 20:50:23 +0000 (13:50 -0700)]
new (more fifo) schedulint algorithm
newproc will reuse dead procs

SVN=127565

16 years agoback out last chan fix
Ken Thompson [Wed, 16 Jul 2008 19:44:21 +0000 (12:44 -0700)]
back out last chan fix
allow print of pointers

SVN=127548

16 years agochan bool offset bug
Ken Thompson [Wed, 16 Jul 2008 18:46:33 +0000 (11:46 -0700)]
chan bool offset bug

SVN=127537

16 years agonew chan syntax
Ken Thompson [Wed, 16 Jul 2008 04:07:59 +0000 (21:07 -0700)]
new chan syntax

SVN=127437

16 years agochannel tests with new syntax
Rob Pike [Wed, 16 Jul 2008 03:52:07 +0000 (20:52 -0700)]
channel tests with new syntax

SVN=127436

16 years ago- more infrastructure
Robert Griesemer [Wed, 16 Jul 2008 02:59:00 +0000 (19:59 -0700)]
- more infrastructure

SVN=127430

16 years agoadd a couple of tests
Rob Pike [Wed, 16 Jul 2008 02:19:50 +0000 (19:19 -0700)]
add a couple of tests
update golden

SVN=127428

16 years ago- added more code (package, export, compilation)
Robert Griesemer [Tue, 15 Jul 2008 22:37:14 +0000 (15:37 -0700)]
- added more code (package, export, compilation)
- first cut at semantic checks (disabled)

SVN=127348

16 years agoimprove the examples in the section on iota
Rob Pike [Tue, 15 Jul 2008 22:27:31 +0000 (15:27 -0700)]
improve the examples in the section on iota

SVN=127347

16 years agoupdate golden.out
Rob Pike [Tue, 15 Jul 2008 17:49:26 +0000 (10:49 -0700)]
update golden.out

SVN=127240

16 years agonested breaks handled wrong
Rob Pike [Tue, 15 Jul 2008 17:44:02 +0000 (10:44 -0700)]
nested breaks handled wrong

SVN=127239

16 years agonew bug
Rob Pike [Tue, 15 Jul 2008 17:27:05 +0000 (10:27 -0700)]
new bug

SVN=127232

16 years ago- func reorg to reduce forward decls and improve structure
Robert Griesemer [Tue, 15 Jul 2008 17:05:17 +0000 (10:05 -0700)]
- func reorg to reduce forward decls and improve structure

SVN=127229

16 years ago- fixed issue with parsing function literals in statement lists
Robert Griesemer [Tue, 15 Jul 2008 16:22:20 +0000 (09:22 -0700)]
- fixed issue with parsing function literals in statement lists

SVN=127218

16 years agoadd linkage for writefile on darwin
Rob Pike [Tue, 15 Jul 2008 15:27:50 +0000 (08:27 -0700)]
add linkage for writefile on darwin

SVN=127208

16 years agoadd sys.writefile; support for darwin only in this CL
Rob Pike [Tue, 15 Jul 2008 03:54:55 +0000 (20:54 -0700)]
add sys.writefile; support for darwin only in this CL

SVN=127153

16 years agodisambiguate error message
Rob Pike [Tue, 15 Jul 2008 03:54:16 +0000 (20:54 -0700)]
disambiguate error message

SVN=127152

16 years agogo call fn address
Ken Thompson [Tue, 15 Jul 2008 03:40:48 +0000 (20:40 -0700)]
go call fn address

SVN=127151

16 years agofix bug names
Rob Pike [Tue, 15 Jul 2008 02:31:06 +0000 (19:31 -0700)]
fix bug names
add a new one: go func() { print "ok\n" } ();

SVN=127144

16 years ago- no column info in error messages for Rob
Robert Griesemer [Tue, 15 Jul 2008 01:06:41 +0000 (18:06 -0700)]
- no column info in error messages for Rob
- fixed parsing of function literals
- added first round of scope handling

SVN=127124

16 years agochan asynch
Ken Thompson [Tue, 15 Jul 2008 00:41:38 +0000 (17:41 -0700)]
chan asynch

SVN=127121

16 years ago- added universe, universe initialization
Robert Griesemer [Mon, 14 Jul 2008 23:57:42 +0000 (16:57 -0700)]
- added universe, universe initialization
- fixed types, added missing exports, etc.

SVN=127104

16 years ago- filed 6g crash bug
Robert Griesemer [Mon, 14 Jul 2008 23:26:41 +0000 (16:26 -0700)]
- filed 6g crash bug

SVN=127093

16 years agostop traceback when pc leaves text segment
Rob Pike [Mon, 14 Jul 2008 23:00:44 +0000 (16:00 -0700)]
stop traceback when pc leaves text segment

SVN=127088

16 years agoupdate golden
Rob Pike [Mon, 14 Jul 2008 22:13:59 +0000 (15:13 -0700)]
update golden
improve sieve test, and split into two versions

SVN=127077

16 years agosynch chan
Ken Thompson [Mon, 14 Jul 2008 21:34:27 +0000 (14:34 -0700)]
synch chan

SVN=127057