summaryrefslogtreecommitdiff
path: root/src/lib/json
AgeCommit message (Collapse)AuthorFilesLines
2009-05-12change name of reflect.NewInitValue to the more descriptive NewZeroValue.Rob Pike1-1/+1
R=rsc DELTA=10 (0 added, 0 deleted, 10 changed) OCL=28717 CL=28720
2009-05-11change utf8.FullRuneInString and utf8.DecodeRuneInStringRuss Cox1-1/+1
to use single string argument instead of string, index. R=r DELTA=136 (9 added, 7 deleted, 120 changed) OCL=28642 CL=28644
2009-05-07Define Len() for JSON Map.David Symonds2-1/+6
R=rsc APPROVED=rsc DELTA=6 (5 added, 0 deleted, 1 changed) OCL=28398 CL=28430
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike1-1/+1
*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 Cox2-11/+15
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-8/+17
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-11document jsonRuss Cox3-11/+113
R=r DELTA=115 (102 added, 0 deleted, 13 changed) OCL=25953 CL=26128
2009-03-05delete deprecated files.Rob Pike2-5/+4
deletion beats documentation for deprecation. R=rsc,gri DELTA=509 (2 added, 490 deleted, 17 changed) OCL=25737 CL=25768
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox3-11/+11
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-02-13convert composite literals from { } to ( ).Russ Cox3-11/+11
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-02-11insert type assertions when narrowing.Russ Cox2-4/+4
R=r OCL=24349 CL=24913
2009-01-23remove the "open" concept from reflect and go with slices and arrays.Rob Pike1-2/+2
the two still share an interface and Kind; that's probably ok but might be worth revisiting. R=rsc DELTA=74 (1 added, 8 deleted, 65 changed) OCL=23416 CL=23418
2009-01-21change reflect.CopyArray into a method on ArrayValue called CopyFromRob Pike1-1/+1
R=rsc DELTA=16 (12 added, 0 deleted, 4 changed) OCL=23242 CL=23242
2009-01-20delete exportRuss Cox5-15/+15
TBR=r OCL=23121 CL=23127
2009-01-16casify miscRuss Cox1-1/+1
R=r DELTA=247 (20 added, 50 deleted, 177 changed) OCL=22951 CL=22955
2009-01-16casify jsonRuss Cox4-137/+137
R=r DELTA=163 (0 added, 0 deleted, 163 changed) OCL=22910 CL=22939
2009-01-15convert strconvRuss Cox2-4/+4
R=r DELTA=568 (0 added, 9 deleted, 559 changed) OCL=22898 CL=22901
2009-01-15printf->Printf etc.Rob Pike1-2/+2
the raw fmt routines will be another, smaller but subtler pass. R=rsc DELTA=157 (0 added, 0 deleted, 157 changed) OCL=22851 CL=22851
2009-01-06new new & makeRuss Cox3-9/+9
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox3-9/+9
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox1-2/+2
R=r OCL=21563 CL=21571
2008-12-15range clause must have = or :=Ken Thompson2-3/+3
:= illegal in for-increment R=r OCL=21204 CL=21204
2008-12-11remove implicit int -> stringRuss Cox1-1/+1
R=ken OCL=21020 CL=21020
2008-12-11add JSON libraryRuss Cox6-0/+1135
R=r DELTA=1127 (1127 added, 0 deleted, 0 changed) OCL=20975 CL=20983