1
0
mirror of https://github.com/golang/go synced 2024-11-14 09:20:28 -07:00
Commit Graph

10207 Commits

Author SHA1 Message Date
Robert Griesemer
0c374e9f89 - 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
2008-07-31 10:47:10 -07:00
Robert Griesemer
9fb9e82fa3 - added missing file
R=r
OCL=13681
CL=13681
2008-07-30 21:51:25 -07:00
Robert Griesemer
6dd92ea6cb - fixed import bug (import "...")
- better debugging support
- removed dead code

R=r
OCL=13680
CL=13680
2008-07-30 21:26:15 -07:00
Robert Griesemer
1f46513917 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
2008-07-30 17:36:03 -07:00
Robert Griesemer
0748bf3797 - filed 2 bugs: unary ^ not implemented, compiler crash with illegal const decl
R=r
OCL=13666
CL=13666
2008-07-30 16:09:29 -07:00
Rob Pike
c557836c8e - mark syscall support routines as non-stack-generating
- add unlink, creat
- add constants for open
- fix some comments

R=gri
OCL=13654
CL=13656
2008-07-30 14:23:53 -07:00
Robert Griesemer
6acdf3edff - addded interface pretty printer
R=r
OCL=13646
CL=13646
2008-07-30 13:01:28 -07:00
Robert Griesemer
9cf8312a57 - bug in function invocation
R=r
OCL=13640
CL=13640
2008-07-30 10:14:39 -07:00
Robert Griesemer
4b0b7d8dfe - 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
2008-07-29 19:02:49 -07:00
Rob Pike
ebec99179f fix a comment
fix a register name

R=gri
OCL=13548
CL=13548
2008-07-29 15:17:27 -07:00
Rob Pike
e06d1540c8 fixes for linux system call linkage
R=gri
OCL=13547
CL=13547
2008-07-29 15:06:21 -07:00
Rob Pike
ebcd76d540 rewrite system call interface to use less assembler.
R=gri
OCL=13546
CL=13546
2008-07-29 14:44:48 -07:00
Rob Pike
f095e263c5 fix type error caused by recent change
R=gri
OCL=13545
CL=13545
2008-07-29 13:16:42 -07:00
Robert Griesemer
fce9118610 - handling of pointer forward decls
- some comments added to bug cases
- added notes

R=r
OCL=13543
CL=13543
2008-07-29 12:03:06 -07:00
Rob Pike
f436ade2fd update tests
R=gri
OCL=13526
CL=13526
2008-07-28 16:08:38 -07:00
Ken Thompson
b2d9020242 len now takes an expression
R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=13523
CL=13523
2008-07-28 13:54:58 -07:00
Rob Pike
d302244c6c add lstat
clean up some code
fix comments
add paramter names to interface

R=ken
OCL=13521
CL=13521
2008-07-28 13:07:58 -07:00
Robert Griesemer
4a9b4e6604 - parameters must be named
R=r
OCL=13520
CL=13520
2008-07-28 12:08:06 -07:00
Rob Pike
9c8f48bd0e use real select
R=ken
OCL=13519
CL=13519
2008-07-28 12:03:56 -07:00
Rob Pike
3835e01d97 print tracebacks for all goroutines, not just the crashing one
R=ken
OCL=13518
CL=13518
2008-07-28 11:29:41 -07:00
Rob Pike
ea0569026c update tests
R=gri
OCL=13516
CL=13516
2008-07-28 10:22:49 -07:00
Rob Pike
c1736ed6be update golden
R=gri
OCL=13515
CL=13515
2008-07-28 09:57:43 -07:00
Rob Pike
6bff372594 update tests
R=ken
OCL=13507
CL=13507
2008-07-27 13:50:54 -07:00
Rob Pike
8fda2e4083 really fix it this time
R=ken
OCL=13506
CL=13506
2008-07-27 13:32:33 -07:00
Rob Pike
8a09c131cc code had syntax error masking real bug
R=ken
OCL=13505
CL=13505
2008-07-27 13:30:53 -07:00
Ken Thompson
b1abcc195d random bug fixes
R=r
DELTA=18  (6 added, 1 deleted, 11 changed)
OCL=13504
CL=13504
2008-07-27 13:09:15 -07:00
Ken Thompson
bd397d2f9b select
R=r
DELTA=29  (27 added, 1 deleted, 1 changed)
OCL=13503
CL=13503
2008-07-27 11:42:52 -07:00
Rob Pike
eccea1980d add fstat, stat
R=ken
OCL=13497
CL=13497
2008-07-26 16:22:14 -07:00
Rob Pike
20a02661d9 beginnings of a low-level syscall library
R=ken
OCL=13483
CL=13496
2008-07-26 14:49:21 -07:00
Ken Thompson
120827284e select/chan
R=r
DELTA=517  (137 added, 98 deleted, 282 changed)
OCL=13495
CL=13495
2008-07-26 14:21:21 -07:00
Ken Thompson
949ab5c7ff select
R=r
APPROVED=r
DELTA=41  (24 added, 13 deleted, 4 changed)
OCL=13480
CL=13480
2008-07-25 17:03:27 -07:00
Ken Thompson
e963cba8a1 select
R=r
APPROVED=r
DELTA=147  (94 added, 14 deleted, 39 changed)
OCL=13477
CL=13477
2008-07-25 15:55:12 -07:00
Rob Pike
756c63cd02 bug: compiler crash on select receive without variable.
R=gri
OCL=13470
CL=13470
2008-07-25 12:49:36 -07:00
Rob Pike
1fc8e6f74a update tests
R=gri
OCL=13469
CL=13469
2008-07-25 12:20:14 -07:00
Ken Thompson
ece3e57c85 read select
R=r
APPROVED=r
DELTA=120  (108 added, 0 deleted, 12 changed)
OCL=13468
CL=13468
2008-07-25 11:58:26 -07:00
Robert Griesemer
5fc7919147 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
2008-07-25 11:27:13 -07:00
Robert Griesemer
cf4c37cac3 - more work on SimpleStat production
R=r
OCL=13461
CL=13461
2008-07-25 09:35:03 -07:00
Rob Pike
b4902c5f40 fix ordering problem: flag depends on fmt
R=gri
OCL=13442
CL=13442
2008-07-24 17:01:09 -07:00
Robert Griesemer
f03deb339a - fixed several parser issues
R=r
OCL=13441
CL=13441
2008-07-24 17:00:58 -07:00
Ken Thompson
cb9b1038db select
R=r
APPROVED=r
DELTA=638  (433 added, 21 deleted, 184 changed)
OCL=13426
CL=13438
2008-07-24 15:57:30 -07:00
Robert Griesemer
485d1bb3ed - filed bug: label identifiers should not be allowed to match
other identifiers in the same scope.

R=r
OCL=13431
CL=13431
2008-07-24 13:36:18 -07:00
Robert Griesemer
d544ddb555 - filed bug: label names in different scopes should not conflict
R=r
OCL=13430
CL=13430
2008-07-24 13:30:49 -07:00
Rob Pike
7693409677 add usage message
R=gri
OCL=13423
CL=13423
2008-07-24 10:38:22 -07:00
Rob Pike
ac0dd5ae52 Add a flags package.
R=gri
OCL=13399
CL=13399
2008-07-23 20:02:54 -07:00
Rob Pike
5a30b5b8a9 new bug: x, ok = t.m[i] doesn't compile
R=ken
OCL=13395
CL=13395
2008-07-23 18:11:17 -07:00
Robert Griesemer
fda1d16935 - parsing support for composite literals
R=r
OCL=13394
CL=13394
2008-07-23 16:59:06 -07:00
Robert Griesemer
b0ada5ddf7 - more work on semantic checks - not yet enabled by default
R=r
OCL=13391
CL=13391
2008-07-23 16:04:11 -07:00
Rob Pike
84c8d85fe6 slices and string/array concatenation
OCL=13382
CL=13382
2008-07-23 11:22:30 -07:00
Rob Pike
f4dcf51846 document initialization
OCL=13369
CL=13369
2008-07-22 17:53:53 -07:00
Rob Pike
35b7a174e6 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
2008-07-22 15:57:46 -07:00