summaryrefslogtreecommitdiff
path: root/src/lib/time
AgeCommit message (Collapse)AuthorFilesLines
2009-06-09mv src/lib to src/pkgRob Pike7-927/+0
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-06-05rebuilt Makefiles for CL 29923Russ Cox1-14/+6
R=r DELTA=761 (1 added, 433 deleted, 327 changed) OCL=29927 CL=29966
2009-06-01update Go tree to use new syscall package.Russ Cox1-6/+1
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-05-08implications of stricter type equality:Russ Cox1-1/+1
if both types are named, they must be the same type (arising from the same declaration). R=r,gri DELTA=44 (21 added, 4 deleted, 19 changed) OCL=28436 CL=28577
2009-04-30better error messages, not that anyone ever sees themRuss Cox1-20/+28
R=r DELTA=30 (9 added, 1 deleted, 20 changed) OCL=28104 CL=28117
2009-04-29don't print binary data. add TODO for better errors.Rob Pike1-1/+2
TBR=rsc DELTA=2 (1 added, 0 deleted, 1 changed) OCL=28066 CL=28070
2009-04-19Readn is a silly name when there's no n. Change to FullRead.Rob Pike1-1/+1
R=gri DELTA=15 (0 added, 0 deleted, 15 changed) OCL=27619 CL=27619
2009-04-18the Big Error Shift applied to lib/time/zoneinfo.go.Rob Pike1-14/+17
R=gri DELTA=22 (5 added, 0 deleted, 17 changed) OCL=27608 CL=27614
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike2-6/+6
*os.Errors with os.Errors. lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
2009-04-16Convert go tree to hierarchical pkg directory:Russ Cox1-10/+14
import ( "vector" -> "container/vector" "ast" -> "go/ast" "sha1" -> "hash/sha1" etc. ) and update Makefiles. Because I did the conversion semi-automatically, I sorted all the import blocks as a post-processing. Some files have therefore changed that didn't strictly need to. Rename local packages to lower case. The upper/lower distinction doesn't work on OS X and complicates the "single-package directories with the same package name as directory name" heuristic used by gobuild and godoc to create the correlation between source and binary locations. Now that we have a plan to avoid globally unique names, the upper/lower is unnecessary. The renamings will cause trouble for a few users, but so will the change in import paths. This way, the two maintenance fixes are rolled into one inconvenience. R=r OCL=27573 CL=27575
2009-04-16regenerate Makefiles.Russ Cox1-11/+20
fix bug in RPC.go (import "RPC" not "rpc.pb") R=r DELTA=483 (261 added, 64 deleted, 158 changed) OCL=27547 CL=27549
2009-03-11Rename os.FD to os.File.Russ Cox1-3/+3
Make Fstat, Readdirnames, and Readdir methods on os.File. R=r DELTA=281 (79 added, 3 deleted, 199 changed) OCL=25891 CL=26130
2009-03-07document timeRob Pike4-19/+41
R=rsc DELTA=42 (23 added, 1 deleted, 18 changed) OCL=25881 CL=25886
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox3-27/+27
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-02-16fix build - missed this file beforeRuss Cox1-0/+20
TBR=r OCL=25074 CL=25074
2009-02-16io.PipeRuss Cox3-55/+54
assorted underscore cleanup R=r DELTA=488 (410 added, 3 deleted, 75 changed) OCL=25070 CL=25070
2009-02-15assorted changes:Russ Cox3-90/+99
- use a lock instead of a thread in once avoids deadlock in recursive once calls - implement os.Setenv - remove "export" from some scripts - remove _ from names in time package - fix time test for non-MTV machines R=r DELTA=265 (87 added, 58 deleted, 120 changed) OCL=25057 CL=25057
2009-02-13convert composite literals from { } to ( ).Russ Cox3-27/+27
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-01-30update go code tree to new func rules.Russ Cox1-1/+1
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-26make time fields publicRuss Cox2-48/+48
R=r DELTA=49 (0 added, 0 deleted, 49 changed) OCL=23480 CL=23487
2009-01-20delete exportRuss Cox5-15/+15
TBR=r OCL=23121 CL=23127
2009-01-16Remove types from constants, since they didn't match whatIan Lance Taylor1-2/+2
Tick() expected. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22979 CL=22986
2009-01-16casify syscall and sequelaeRob Pike1-1/+1
R=rsc DELTA=337 (0 added, 1 deleted, 336 changed) OCL=22950 CL=22950
2009-01-16casify timeRuss Cox4-96/+97
R=r DELTA=103 (1 added, 0 deleted, 102 changed) OCL=22914 CL=22937
2009-01-06new new & makeRuss Cox3-6/+6
R=r OCL=22166 CL=22166
2009-01-05change time.Tick test to use 100ms intervals.Russ Cox1-2/+2
now passes even under loaded conditions on r45. R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22019 CL=22022
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox3-23/+19
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox2-43/+51
R=r OCL=21563 CL=21571
2008-12-09replace assembly casts with unsafe.pointerRuss Cox1-3/+4
R=r DELTA=178 (18 added, 101 deleted, 59 changed) OCL=20822 CL=20826
2008-12-09more impossible time errorsRuss Cox1-4/+4
R=r DELTA=4 (0 added, 0 deleted, 4 changed) OCL=20788 CL=20818
2008-12-08avoid skew in time.Tick; remove errors from time.Seconds, time.NanosecondsRuss Cox3-25/+36
R=r DELTA=46 (21 added, 10 deleted, 15 changed) OCL=20785 CL=20787
2008-12-03add time.Tick()Russ Cox3-15/+122
R=r DELTA=130 (115 added, 1 deleted, 14 changed) OCL=20376 CL=20385
2008-11-25add author linesRuss Cox1-2/+0
R=r DELTA=150 (147 added, 0 deleted, 3 changed) OCL=19968 CL=19977
2008-11-24convert tests.Russ Cox1-0/+79
refine gotest's test selection criteria. R=r DELTA=1590 (745 added, 844 deleted, 1 changed) OCL=19903 CL=19936
2008-10-16new convert code found errorRuss Cox1-4/+4
R=r OCL=17327 CL=17327
2008-10-07update code to follow new semicolon rules:Russ Cox2-52/+52
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
2008-09-27Correct zoneinfo version number: it's not 2, it's '2'.Ian Lance Taylor1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=16032 CL=16040
2008-09-22implement zoneinfo readerRuss Cox2-8/+258
R=r DELTA=348 (338 added, 0 deleted, 10 changed) OCL=15648 CL=15660
2008-09-18make Makefiles safe for parallel makeRuss Cox1-0/+3
use -j4 (4-way parallel) in make.bash. halves time for make.bash on r45 also add libregexp, acid to default build R=r DELTA=90 (39 added, 37 deleted, 14 changed) OCL=15485 CL=15487
2008-09-17time & date.Russ Cox3-0/+411
rename AddrToInt, StatToInt, etc -> BytePtr, StatPtr, ... R=r OCL=15450 CL=15456