]>
Cypherpunks repositories - gostls13.git/log
Ken Thompson [Mon, 4 Aug 2008 20:18:59 +0000 (13:18 -0700)]
export external functions
R=r
DELTA=16 (10 added, 4 deleted, 2 changed)
OCL=13815
CL=13815
Robert Griesemer [Mon, 4 Aug 2008 17:19:36 +0000 (10:19 -0700)]
- more import/export stuff
- use new export syntax
R=r
OCL=13807
CL=13807
Robert Griesemer [Mon, 4 Aug 2008 16:47:52 +0000 (09:47 -0700)]
- adjust Make.conf to use cc instead of cc64 for now
TBR=rsc
OCL=13804
CL=13804
Russ Cox [Mon, 4 Aug 2008 06:06:00 +0000 (23:06 -0700)]
add nm
R=r
DELTA=339 (339 added, 0 deleted, 0 changed)
OCL=13786
CL=13794
Russ Cox [Mon, 4 Aug 2008 06:03:31 +0000 (23:03 -0700)]
Use a single Make.conf for setting CC, etc.
This makes it easy to build with other flags
(like -ggdb) or other compilers (like cc64).
R=r
DELTA=45 (6 added, 22 deleted, 17 changed)
OCL=13790
CL=13793
Ken Thompson [Mon, 4 Aug 2008 01:47:02 +0000 (18:47 -0700)]
add 'export' adjectives to external
var, const and type declarations.
R=r
DELTA=49 (12 added, 28 deleted, 9 changed)
OCL=13791
CL=13791
Russ Cox [Mon, 4 Aug 2008 00:25:15 +0000 (17:25 -0700)]
make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc.
these guys really really want long to be 32-bits,
so ,s/long/int32/ (and then manual fixup).
still passes all tests.
(i started out looking for just those longs that
needed to be int32 instead, and it was just too hard
to track them down one by one.)
the longs were rare enough that i don't think
it will cause integration problems.
R=ken
OCL=13787
CL=13789
Ken Thompson [Sun, 3 Aug 2008 20:31:06 +0000 (13:31 -0700)]
6c delete .6 file on error
R=r
DELTA=1 (1 added, 0 deleted, 0 changed)
OCL=13785
CL=13785
Russ Cox [Sun, 3 Aug 2008 07:34:05 +0000 (00:34 -0700)]
Remove doubled #else
R=r
DELTA=4 (2 added, 2 deleted, 0 changed)
OCL=13775
CL=13779
Russ Cox [Sun, 3 Aug 2008 05:34:04 +0000 (22:34 -0700)]
slightly gratuitous reorg of scheduler code
* rename select (very loaded word) nextgoroutine
* separate out "enter scheduler" (sys·gosched)
from the scheduler itself (scheduler)
R=r
APPROVED=r
DELTA=36 (17 added, 15 deleted, 4 changed)
OCL=13772
CL=13774
Rob Pike [Sat, 2 Aug 2008 22:52:36 +0000 (15:52 -0700)]
go method bug is fixed.
R=gri
OCL=13766
CL=13766
Ken Thompson [Sat, 2 Aug 2008 22:31:21 +0000 (15:31 -0700)]
go method
R=r
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=13765
CL=13765
Rob Pike [Fri, 1 Aug 2008 23:23:16 +0000 (16:23 -0700)]
new bug: go on a method is wrong
R=gri
OCL=13741
CL=13741
Robert Griesemer [Fri, 1 Aug 2008 22:22:41 +0000 (15:22 -0700)]
bug: non-exported type is accessible in client
R=r
OCL=13736
CL=13738
Robert Griesemer [Fri, 1 Aug 2008 21:50:18 +0000 (14:50 -0700)]
- simplified handling of primary types (types w/ names which must
be canonicalized upon import)
- missed some exports
R=r
OCL=13733
CL=13733
Robert Griesemer [Fri, 1 Aug 2008 20:33:31 +0000 (13:33 -0700)]
more import/export stuff:
- no need to import/export predeclared types
- fix for receiver types
- cleanups
- added tests to Makefile
R=r
OCL=13728
CL=13730
Robert Griesemer [Fri, 1 Aug 2008 19:14:15 +0000 (12:14 -0700)]
- added import/export test cases
R=r
OCL=13723
CL=13723
Robert Griesemer [Thu, 31 Jul 2008 22:35:25 +0000 (15:35 -0700)]
fixed bug in FixExt routine
R=r
OCL=13695
CL=13695
Robert Griesemer [Thu, 31 Jul 2008 20:35:30 +0000 (13:35 -0700)]
- backward link from objs to containing scope
(first step towards cleaner package handling)
- check that map, function, and channel vars are pointers
R=r
OCL=13690
CL=13690
Robert Griesemer [Thu, 31 Jul 2008 17:47:10 +0000 (10:47 -0700)]
- fixed a bug w/ exports (wrong package info)
- keep track of type alias (type T1 T0) so we can print the proper type name
R=r
OCL=13688
CL=13688
Robert Griesemer [Thu, 31 Jul 2008 04:51:25 +0000 (21:51 -0700)]
- added missing file
R=r
OCL=13681
CL=13681
Robert Griesemer [Thu, 31 Jul 2008 04:26:15 +0000 (21:26 -0700)]
- fixed import bug (import "...")
- better debugging support
- removed dead code
R=r
OCL=13680
CL=13680
Robert Griesemer [Thu, 31 Jul 2008 00:36:03 +0000 (17:36 -0700)]
various fixes:
- missing return in import code
- proper propagation of flags to various components
- better error message when source position is missing
- cleanups
R=r
OCL=13676
CL=13676
Robert Griesemer [Wed, 30 Jul 2008 23:09:29 +0000 (16:09 -0700)]
- filed 2 bugs: unary ^ not implemented, compiler crash with illegal const decl
R=r
OCL=13666
CL=13666
Rob Pike [Wed, 30 Jul 2008 21:23:53 +0000 (14:23 -0700)]
- mark syscall support routines as non-stack-generating
- add unlink, creat
- add constants for open
- fix some comments
R=gri
OCL=13654
CL=13656
Robert Griesemer [Wed, 30 Jul 2008 20:01:28 +0000 (13:01 -0700)]
- addded interface pretty printer
R=r
OCL=13646
CL=13646
Robert Griesemer [Wed, 30 Jul 2008 17:14:39 +0000 (10:14 -0700)]
- bug in function invocation
R=r
OCL=13640
CL=13640
Robert Griesemer [Wed, 30 Jul 2008 02:02:49 +0000 (19:02 -0700)]
- import and export code, bug fixes
- almost back to where I was in C++, but now all in Go
R=r
OCL=13627
CL=13627
Rob Pike [Tue, 29 Jul 2008 22:17:27 +0000 (15:17 -0700)]
fix a comment
fix a register name
R=gri
OCL=13548
CL=13548
Rob Pike [Tue, 29 Jul 2008 22:06:21 +0000 (15:06 -0700)]
fixes for linux system call linkage
R=gri
OCL=13547
CL=13547
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
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
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
Rob Pike [Mon, 28 Jul 2008 23:08:38 +0000 (16:08 -0700)]
update tests
R=gri
OCL=13526
CL=13526
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
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
Robert Griesemer [Mon, 28 Jul 2008 19:08:06 +0000 (12:08 -0700)]
- parameters must be named
R=r
OCL=13520
CL=13520
Rob Pike [Mon, 28 Jul 2008 19:03:56 +0000 (12:03 -0700)]
use real select
R=ken
OCL=13519
CL=13519
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
Rob Pike [Mon, 28 Jul 2008 17:22:49 +0000 (10:22 -0700)]
update tests
R=gri
OCL=13516
CL=13516
Rob Pike [Mon, 28 Jul 2008 16:57:43 +0000 (09:57 -0700)]
update golden
R=gri
OCL=13515
CL=13515
Rob Pike [Sun, 27 Jul 2008 20:50:54 +0000 (13:50 -0700)]
update tests
R=ken
OCL=13507
CL=13507
Rob Pike [Sun, 27 Jul 2008 20:32:33 +0000 (13:32 -0700)]
really fix it this time
R=ken
OCL=13506
CL=13506
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
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
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
Rob Pike [Sat, 26 Jul 2008 23:22:14 +0000 (16:22 -0700)]
add fstat, stat
R=ken
OCL=13497
CL=13497
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
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
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
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
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
Rob Pike [Fri, 25 Jul 2008 19:20:14 +0000 (12:20 -0700)]
update tests
R=gri
OCL=13469
CL=13469
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
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
Robert Griesemer [Fri, 25 Jul 2008 16:35:03 +0000 (09:35 -0700)]
- more work on SimpleStat production
R=r
OCL=13461
CL=13461
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
Robert Griesemer [Fri, 25 Jul 2008 00:00:58 +0000 (17:00 -0700)]
- fixed several parser issues
R=r
OCL=13441
CL=13441
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
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
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
Rob Pike [Thu, 24 Jul 2008 17:38:22 +0000 (10:38 -0700)]
add usage message
R=gri
OCL=13423
CL=13423
Rob Pike [Thu, 24 Jul 2008 03:02:54 +0000 (20:02 -0700)]
Add a flags package.
R=gri
OCL=13399
CL=13399
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
Robert Griesemer [Wed, 23 Jul 2008 23:59:06 +0000 (16:59 -0700)]
- parsing support for composite literals
R=r
OCL=13394
CL=13394
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
Rob Pike [Wed, 23 Jul 2008 18:22:30 +0000 (11:22 -0700)]
slices and string/array concatenation
OCL=13382
CL=13382
Rob Pike [Wed, 23 Jul 2008 00:53:53 +0000 (17:53 -0700)]
document initialization
OCL=13369
CL=13369
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
Rob Pike [Tue, 22 Jul 2008 22:25:09 +0000 (15:25 -0700)]
fix some bad spaces
OCL=13363
CL=13363
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
Rob Pike [Tue, 22 Jul 2008 01:06:39 +0000 (18:06 -0700)]
change date
OCL=13331
CL=13331
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
Rob Pike [Mon, 21 Jul 2008 23:18:04 +0000 (16:18 -0700)]
map delete
SVN=128258
Rob Pike [Mon, 21 Jul 2008 22:41:39 +0000 (15:41 -0700)]
compiler crash in string('a', 'b', '\n');
SVN=128253
Ken Thompson [Mon, 21 Jul 2008 03:13:07 +0000 (20:13 -0700)]
start of select
random bugs fixed
SVN=128149
Ken Thompson [Sun, 20 Jul 2008 20:33:45 +0000 (13:33 -0700)]
tweaks to init
rand using init
SVN=128142
Ken Thompson [Sun, 20 Jul 2008 01:39:12 +0000 (18:39 -0700)]
init
SVN=128128
Rob Pike [Sat, 19 Jul 2008 22:11:25 +0000 (15:11 -0700)]
add an eval function (written by ken)
SVN=128122
Rob Pike [Sat, 19 Jul 2008 22:08:56 +0000 (15:08 -0700)]
test update
SVN=128120
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
Ken Thompson [Sat, 19 Jul 2008 21:37:02 +0000 (14:37 -0700)]
init
SVN=128118
Ken Thompson [Sat, 19 Jul 2008 21:20:46 +0000 (14:20 -0700)]
init filename vs pkgname
SVN=128117
Ken Thompson [Sat, 19 Jul 2008 20:38:29 +0000 (13:38 -0700)]
initialization
SVN=128115
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
Robert Griesemer [Fri, 18 Jul 2008 21:23:04 +0000 (14:23 -0700)]
- missing changes from prev. commit
SVN=128064
Rob Pike [Fri, 18 Jul 2008 21:18:07 +0000 (14:18 -0700)]
add doug's power series package
SVN=128063
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
Robert Griesemer [Fri, 18 Jul 2008 19:26:48 +0000 (12:26 -0700)]
- added 2 bugs tests
SVN=128056
Ken Thompson [Fri, 18 Jul 2008 18:59:35 +0000 (11:59 -0700)]
len(fixed array)
SVN=128050
Ken Thompson [Fri, 18 Jul 2008 01:15:05 +0000 (18:15 -0700)]
loop in subtype
SVN=127933
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
Ken Thompson [Thu, 17 Jul 2008 23:22:40 +0000 (16:22 -0700)]
one more time for divide
SVN=127911
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
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
Robert Griesemer [Thu, 17 Jul 2008 21:53:13 +0000 (14:53 -0700)]
- moved package code into globals.go, adjusted deps
SVN=127887
Rob Pike [Thu, 17 Jul 2008 18:15:11 +0000 (11:15 -0700)]
update tests
SVN=127826
Rob Pike [Thu, 17 Jul 2008 18:04:44 +0000 (11:04 -0700)]
compiler bug: infinite recursion in subtype()
SVN=127822
Rob Pike [Thu, 17 Jul 2008 17:47:32 +0000 (10:47 -0700)]
new channel syntax
select cleans up too
SVN=127816
Ken Thompson [Thu, 17 Jul 2008 01:31:01 +0000 (18:31 -0700)]
parameter in fn literals
SVN=127695