]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agomaybe now $O is right
Rob Pike [Thu, 26 Jun 2008 04:24:14 +0000 (21:24 -0700)]
maybe now $O is right

SVN=124764

16 years agoO=6 not O=o
Rob Pike [Thu, 26 Jun 2008 04:23:14 +0000 (21:23 -0700)]
O=6 not O=o

SVN=124763

16 years agoput a makefile into runtime
Rob Pike [Thu, 26 Jun 2008 04:19:05 +0000 (21:19 -0700)]
put a makefile into runtime
make the runtime library an archive (rt0 is still separate)
update 6l to use the archive
add fakeobj.c, missing from prior change

SVN=124762

16 years agoadd plan 9 ar, which understands our symbol tables
Rob Pike [Thu, 26 Jun 2008 03:58:35 +0000 (20:58 -0700)]
add plan 9 ar, which understands our symbol tables

SVN=124761

16 years agoautolib (#pragma lib)
Ken Thompson [Thu, 26 Jun 2008 03:22:10 +0000 (20:22 -0700)]
autolib (#pragma lib)
added to 6g to autoload
the included import files.

SVN=124759

16 years ago- dump registers in case of signal (linux)
Robert Griesemer [Thu, 26 Jun 2008 00:07:22 +0000 (17:07 -0700)]
- dump registers in case of signal (linux)

SVN=124702

16 years agoimprove bug054.go
Rob Pike [Wed, 25 Jun 2008 22:22:27 +0000 (15:22 -0700)]
improve bug054.go
fix integer.ToString to return the proper, not-nul-terminated value

SVN=124654

16 years agoadd new bug: can't compile a, b := sys.frexp(1.0)
Rob Pike [Wed, 25 Jun 2008 21:05:38 +0000 (14:05 -0700)]
add new bug: can't compile a, b := sys.frexp(1.0)

SVN=124622

16 years agosimul assignment
Ken Thompson [Wed, 25 Jun 2008 18:35:06 +0000 (11:35 -0700)]
simul assignment

SVN=124591

16 years agoprevious change was a nit too aggressive - regular comparison should apply when comparing
Rob Pike [Wed, 25 Jun 2008 04:44:48 +0000 (21:44 -0700)]
previous change was a nit too aggressive - regular comparison should apply when comparing
internal symbol names

SVN=124461

16 years agoallow an underscore to match centered dot (rune 00B7), so people don't have to
Rob Pike [Wed, 25 Jun 2008 04:42:54 +0000 (21:42 -0700)]
allow an underscore to match centered dot (rune 00B7), so people don't have to
type a centered dot when debugging.

SVN=124460

16 years agobug in returning a fat function result
Ken Thompson [Wed, 25 Jun 2008 01:14:32 +0000 (18:14 -0700)]
bug in returning a fat function result

SVN=124436

16 years agocenter dots into argument code
Rob Pike [Wed, 25 Jun 2008 01:00:24 +0000 (18:00 -0700)]
center dots into argument code

SVN=124433

16 years agoput center dot into main_main
Rob Pike [Wed, 25 Jun 2008 00:58:18 +0000 (17:58 -0700)]
put center dot into main_main
restore smashed arg code, lost in incorrect resolve

SVN=124432

16 years agomiddle dot as alpha package separator
Ken Thompson [Wed, 25 Jun 2008 00:16:06 +0000 (17:16 -0700)]
middle dot as alpha package separator

SVN=124419

16 years ago- added access to thread state info from the signal handler
Robert Griesemer [Tue, 24 Jun 2008 23:48:54 +0000 (16:48 -0700)]
- added access to thread state info from the signal handler

SVN=124404

16 years agoarguments available
Rob Pike [Tue, 24 Jun 2008 22:31:03 +0000 (15:31 -0700)]
arguments available
argc, argv, envc, envv all in sys now
sys.argc() etc.

SVN=124398

16 years agostring nil same as string ""
Ken Thompson [Tue, 24 Jun 2008 21:11:20 +0000 (14:11 -0700)]
string nil same as string ""

SVN=124381

16 years agoremove explicit import of "sys"
Rob Pike [Tue, 24 Jun 2008 19:54:26 +0000 (12:54 -0700)]
remove explicit import of "sys"
add a boolean printer

SVN=124362

16 years agomap[int] bug
Ken Thompson [Tue, 24 Jun 2008 18:10:47 +0000 (11:10 -0700)]
map[int] bug

SVN=124332

16 years agobug miscalculating ullman
Ken Thompson [Tue, 24 Jun 2008 17:30:33 +0000 (10:30 -0700)]
bug miscalculating ullman
in CALLMETH/DOTMETH

SVN=124321

16 years agosafety checks, waiting for gri's real tracking of PC and SP
Rob Pike [Tue, 24 Jun 2008 03:12:39 +0000 (20:12 -0700)]
safety checks, waiting for gri's real tracking of PC and SP
extant code is too fragile

SVN=124223

16 years agoupdate some tests
Rob Pike [Tue, 24 Jun 2008 00:13:33 +0000 (17:13 -0700)]
update some tests

SVN=124196

16 years agoadd signal handling to mac runtime
Rob Pike [Mon, 23 Jun 2008 23:34:17 +0000 (16:34 -0700)]
add signal handling to mac runtime

SVN=124184

16 years agomaps
Ken Thompson [Mon, 23 Jun 2008 04:02:06 +0000 (21:02 -0700)]
maps

SVN=124030

16 years agomore nearly correct interface code for signals on linux
Rob Pike [Sun, 22 Jun 2008 00:28:37 +0000 (17:28 -0700)]
more nearly correct interface code for signals on linux

SVN=124021

16 years agoadd signal handling and traceback support therein.
Rob Pike [Sat, 21 Jun 2008 22:36:23 +0000 (15:36 -0700)]
add signal handling and traceback support therein.
factor the runtime into architecture-dependent and -independent pieces.
ditto for the OS dependence.

SVN=124020

16 years agoredeclarations of variables in the same block.
Ken Thompson [Sat, 21 Jun 2008 22:11:29 +0000 (15:11 -0700)]
redeclarations of variables in the same block.
half-step toward multivalued map indexing

SVN=124019

16 years agoremove receclarations from tests
Ken Thompson [Sat, 21 Jun 2008 22:08:04 +0000 (15:08 -0700)]
remove receclarations from tests
that are supposed to succeed

SVN=124018

16 years agodelete incorrect offset print
Rob Pike [Fri, 20 Jun 2008 17:55:53 +0000 (10:55 -0700)]
delete incorrect offset print

SVN=123857

16 years agoimproved formatting of traceback
Rob Pike [Thu, 19 Jun 2008 06:25:37 +0000 (23:25 -0700)]
improved formatting of traceback

SVN=123527

16 years agoprint rudimentary stack traceback after panic
Rob Pike [Thu, 19 Jun 2008 06:17:39 +0000 (23:17 -0700)]
print rudimentary stack traceback after panic

SVN=123524

16 years agostack offset
Ken Thompson [Thu, 19 Jun 2008 05:07:09 +0000 (22:07 -0700)]
stack offset

SVN=123521

16 years agostack offseet table marker
Ken Thompson [Thu, 19 Jun 2008 00:51:56 +0000 (17:51 -0700)]
stack offseet table marker
tacked above each TEXT entry

SVN=123496

16 years ago- added large integer arithmetic package and test cases
Robert Griesemer [Thu, 19 Jun 2008 00:09:20 +0000 (17:09 -0700)]
- added large integer arithmetic package and test cases

SVN=123486

16 years agoclean up ken/rob2.go to eliminate a few workarounds
Rob Pike [Wed, 18 Jun 2008 21:47:46 +0000 (14:47 -0700)]
clean up ken/rob2.go to eliminate a few workarounds

SVN=123442

16 years agoadd new test bug055
Rob Pike [Wed, 18 Jun 2008 21:17:24 +0000 (14:17 -0700)]
add new test bug055

SVN=123431

16 years agoa couple of bugs around nil are fixed
Rob Pike [Wed, 18 Jun 2008 20:53:51 +0000 (13:53 -0700)]
a couple of bugs around nil are fixed

SVN=123423

16 years agoforgot command line for bug054
Rob Pike [Wed, 18 Jun 2008 20:08:01 +0000 (13:08 -0700)]
forgot command line for bug054
update golden.out

SVN=123412

16 years ago'default' bug in switch statements is fixed
Rob Pike [Wed, 18 Jun 2008 20:06:09 +0000 (13:06 -0700)]
'default' bug in switch statements is fixed

SVN=123411

16 years agoadd a bug: method call doesn't compile
Rob Pike [Wed, 18 Jun 2008 18:51:21 +0000 (11:51 -0700)]
add a bug: method call doesn't compile

SVN=123403

16 years agobogus diagnostic with
Ken Thompson [Wed, 18 Jun 2008 18:43:50 +0000 (11:43 -0700)]
bogus diagnostic with
default as first case
in a switch

SVN=123398

16 years agomore maps
Ken Thompson [Wed, 18 Jun 2008 05:33:32 +0000 (22:33 -0700)]
more maps
more semi-colons
type assignment of constants

SVN=123278

16 years agoassign nil to interface
Ken Thompson [Wed, 18 Jun 2008 01:07:40 +0000 (18:07 -0700)]
assign nil to interface

SVN=123256

16 years agoSVN=123250
Ken Thompson [Wed, 18 Jun 2008 01:02:06 +0000 (18:02 -0700)]
SVN=123250

16 years agoSVN=123249
Ken Thompson [Wed, 18 Jun 2008 01:01:05 +0000 (18:01 -0700)]
SVN=123249

16 years agoyata
Ken Thompson [Wed, 18 Jun 2008 00:59:06 +0000 (17:59 -0700)]
yata

SVN=123246

16 years agooptional semi-colons
Ken Thompson [Wed, 18 Jun 2008 00:57:31 +0000 (17:57 -0700)]
optional semi-colons

SVN=123245

16 years ago- added another bug test ('len' shouldn't be a keyword)
Robert Griesemer [Tue, 17 Jun 2008 23:22:02 +0000 (16:22 -0700)]
- added another bug test ('len' shouldn't be a keyword)

SVN=123225

16 years ago- added 2 bug tests
Robert Griesemer [Tue, 17 Jun 2008 23:04:33 +0000 (16:04 -0700)]
- added 2 bug tests

SVN=123220

16 years agoadd two more tests
Rob Pike [Tue, 17 Jun 2008 17:56:28 +0000 (10:56 -0700)]
add two more tests

SVN=123143

16 years agomaps
Ken Thompson [Tue, 17 Jun 2008 05:34:50 +0000 (22:34 -0700)]
maps

SVN=123089

16 years agoadded and, or, xor opcodes
Ken Thompson [Tue, 17 Jun 2008 00:04:39 +0000 (17:04 -0700)]
added and, or, xor opcodes

SVN=123031

16 years agoprint pc on faults
Rob Pike [Tue, 17 Jun 2008 00:04:30 +0000 (17:04 -0700)]
print pc on faults

SVN=123030

16 years agoadded two new small tests
Rob Pike [Mon, 16 Jun 2008 22:18:10 +0000 (15:18 -0700)]
added two new small tests

SVN=123010

16 years agoupdate more tests to reflect tweaked grammar for if, switch
Rob Pike [Mon, 16 Jun 2008 19:16:11 +0000 (12:16 -0700)]
update more tests to reflect tweaked grammar for if, switch

SVN=122916

16 years agofix up grammar for optional elements in if and switch conditions
Rob Pike [Mon, 16 Jun 2008 19:02:27 +0000 (12:02 -0700)]
fix up grammar for optional elements in if and switch conditions

SVN=122915

16 years agoupdate test results
Rob Pike [Mon, 16 Jun 2008 18:36:23 +0000 (11:36 -0700)]
update test results

SVN=122912

16 years agonow checks for lvalue/rvalue context of
Ken Thompson [Mon, 16 Jun 2008 03:24:30 +0000 (20:24 -0700)]
now checks for lvalue/rvalue context of
     expressions.
start of generics for calling builtin
     functions
start of map type
'any' demoted from reserved word to type

SVN=122808

16 years agoadd support for debugging in MACH binaries
Rob Pike [Mon, 16 Jun 2008 00:22:57 +0000 (17:22 -0700)]
add support for debugging in MACH binaries
fix up libmach_amd64 to handle MACH binaries and symbols
db now works on mac and linux

SVN=122807

16 years agoerror messages now have colon after line number
Rob Pike [Sun, 15 Jun 2008 19:22:35 +0000 (12:22 -0700)]
error messages now have colon after line number

SVN=122803

16 years agoplan9 line numbers and line table
Ken Thompson [Sat, 14 Jun 2008 01:16:23 +0000 (18:16 -0700)]
plan9 line numbers and line table

SVN=122793

16 years agohack to find first instruction for decoding the pc/line table properly.
Rob Pike [Sat, 14 Jun 2008 01:15:30 +0000 (18:15 -0700)]
hack to find first instruction for decoding the pc/line table properly.

SVN=122792

16 years agosupport symbol tables and line numbers in 6.out executables
Rob Pike [Fri, 13 Jun 2008 19:55:37 +0000 (12:55 -0700)]
support symbol tables and line numbers in 6.out executables

SVN=122700

16 years agoadd symbol tables and line/pc information to 6.outs
Rob Pike [Fri, 13 Jun 2008 19:54:21 +0000 (12:54 -0700)]
add symbol tables and line/pc information to 6.outs

SVN=122699

16 years agoAdd nil test, with bug
Rob Pike [Fri, 13 Jun 2008 16:09:22 +0000 (09:09 -0700)]
Add nil test, with bug

SVN=122644

16 years agobetter import/export
Ken Thompson [Fri, 13 Jun 2008 04:48:56 +0000 (21:48 -0700)]
better import/export

SVN=122584

16 years agoBug fix. Without rounding, .shstrtab is written on top of data segment
Rob Pike [Fri, 13 Jun 2008 01:51:06 +0000 (18:51 -0700)]
Bug fix.  Without rounding, .shstrtab is written on top of data segment

SVN=122567

16 years agofix name of mach_amd64 library source dir
Rob Pike [Thu, 12 Jun 2008 21:52:41 +0000 (14:52 -0700)]
fix name of mach_amd64 library source dir

SVN=122506

16 years agoAdd 6db
Rob Pike [Thu, 12 Jun 2008 21:50:25 +0000 (14:50 -0700)]
Add 6db

SVN=122505

16 years agobetter version of op=
Ken Thompson [Thu, 12 Jun 2008 21:21:09 +0000 (14:21 -0700)]
better version of op=
fixed bugs in /= and %/

SVN=122493

16 years agoadding ar.h for source-level compatibility in 6l.
Rob Pike [Thu, 12 Jun 2008 20:46:23 +0000 (13:46 -0700)]
adding ar.h for source-level compatibility in 6l.
binary compatibility is ok

SVN=122489

16 years agomake paths explicit for easier installation
Rob Pike [Thu, 12 Jun 2008 20:43:47 +0000 (13:43 -0700)]
make paths explicit for easier installation

SVN=122488

16 years agoremove reference to 9ar
Rob Pike [Thu, 12 Jun 2008 20:38:54 +0000 (13:38 -0700)]
remove reference to 9ar

SVN=122487

16 years agoremove reference to 9ar
Rob Pike [Thu, 12 Jun 2008 20:37:54 +0000 (13:37 -0700)]
remove reference to 9ar

SVN=122486

16 years agoadd missing include file
Rob Pike [Thu, 12 Jun 2008 20:31:17 +0000 (13:31 -0700)]
add missing include file

SVN=122485

16 years agoimport the plan 9 libraries libc (lib9) and libbio into the tree.
Rob Pike [Thu, 12 Jun 2008 20:26:16 +0000 (13:26 -0700)]
import the plan 9 libraries libc (lib9) and libbio into the tree.
remove the dependency on /home/r.

SVN=122482

16 years ago- fixed minor issues in spec
Robert Griesemer [Thu, 12 Jun 2008 20:12:41 +0000 (13:12 -0700)]
- fixed minor issues in spec
- fixed a couple of bugs in the spec (pointed out by iant)

SVN=122479

16 years agoThis test now runs correctly, with no bugs commented out
Rob Pike [Thu, 12 Jun 2008 18:04:40 +0000 (11:04 -0700)]
This test now runs correctly, with no bugs commented out

SVN=122460

16 years agoimport/export
Ken Thompson [Thu, 12 Jun 2008 04:06:26 +0000 (21:06 -0700)]
import/export

SVN=122309

16 years agotweaks in clean rules and dependencies
Rob Pike [Thu, 12 Jun 2008 01:01:45 +0000 (18:01 -0700)]
tweaks in clean rules and dependencies

SVN=122274

16 years agoconvert from mk to make
Rob Pike [Thu, 12 Jun 2008 00:50:07 +0000 (17:50 -0700)]
convert from mk to make
phew.

SVN=122266

16 years agogenerated file; needs updating
Rob Pike [Wed, 11 Jun 2008 21:03:52 +0000 (14:03 -0700)]
generated file; needs updating

SVN=122179

16 years agofix up mkfiles to use $GOROOT instead of $PLAN9
Rob Pike [Wed, 11 Jun 2008 20:59:55 +0000 (13:59 -0700)]
fix up mkfiles to use $GOROOT instead of $PLAN9
mention in setup doc that binaries go into $HOME/bin

SVN=122177

16 years agoadd a setup document, and tweak the scripts that it mentions
Rob Pike [Wed, 11 Jun 2008 20:34:08 +0000 (13:34 -0700)]
add a setup document, and tweak the scripts that it mentions

SVN=122175

16 years agoreorder1 - function first instead of last
Ken Thompson [Wed, 11 Jun 2008 19:25:44 +0000 (12:25 -0700)]
reorder1 - function first instead of last

SVN=122160

16 years ago- added test case
Robert Griesemer [Wed, 11 Jun 2008 19:07:43 +0000 (12:07 -0700)]
- added test case

SVN=122159

16 years agoadd bug045: bad nil assigning into array
Rob Pike [Wed, 11 Jun 2008 17:33:20 +0000 (10:33 -0700)]
add bug045: bad nil assigning into array

update robfunc.go (BUG comment deleted)

SVN=122143

16 years agodebugging to get fmt to run
Ken Thompson [Wed, 11 Jun 2008 04:29:57 +0000 (21:29 -0700)]
debugging to get fmt to run

SVN=122046

16 years agomade fp numbers from integers and
Ken Thompson [Tue, 10 Jun 2008 20:23:19 +0000 (13:23 -0700)]
made fp numbers from integers and
checked values

SVN=121972

16 years agomode elf tossing
Ken Thompson [Tue, 10 Jun 2008 19:42:37 +0000 (12:42 -0700)]
mode elf tossing

SVN=121962

16 years ago- updated spec w/ respect to variable types and shift operators
Robert Griesemer [Mon, 9 Jun 2008 23:32:49 +0000 (16:32 -0700)]
- updated spec w/ respect to variable types and shift operators

SVN=121774

16 years agodivide is now in; update golden
Rob Pike [Mon, 9 Jun 2008 20:33:33 +0000 (13:33 -0700)]
divide is now in; update golden

SVN=121739

16 years agonew elf header
Ken Thompson [Mon, 9 Jun 2008 20:16:50 +0000 (13:16 -0700)]
new elf header

SVN=121737

16 years agofix bug in closeness for float literal test
Rob Pike [Mon, 9 Jun 2008 02:37:22 +0000 (19:37 -0700)]
fix bug in closeness for float literal test

SVN=121628

16 years agofix float lit to return 1, print error
Rob Pike [Mon, 9 Jun 2008 02:33:54 +0000 (19:33 -0700)]
fix float lit to return 1, print error

SVN=121627

16 years agomove file for fixed bug
Rob Pike [Mon, 9 Jun 2008 02:26:07 +0000 (19:26 -0700)]
move file for fixed bug

SVN=121626

16 years agoupdate lots of tests
Rob Pike [Mon, 9 Jun 2008 02:21:16 +0000 (19:21 -0700)]
update lots of tests

SVN=121624

16 years agofix string_lit test to be more thorough
Rob Pike [Mon, 9 Jun 2008 02:08:00 +0000 (19:08 -0700)]
fix string_lit test to be more thorough

SVN=121623

16 years agomore nihan
Ken Thompson [Mon, 9 Jun 2008 02:02:27 +0000 (19:02 -0700)]
more nihan

SVN=121622