aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/Makefile
AgeCommit message (Collapse)Author
2012-01-30build: remove Make.pkg, Make.toolRuss Cox
Consequently, remove many package Makefiles, and shorten the few that remain. gomake becomes 'go tool make'. Turn off test phases of run.bash that do not work, flagged with $BROKEN. Future CLs will restore these, but this seemed like a big enough CL already. R=golang-dev, r CC=golang-dev https://golang.org/cl/5601057
2012-01-31image: remove image/bmp and image/tiff from std.Nigel Tao
They have moved to the code.google.com/p/go.image subrepo. R=rsc CC=golang-dev https://golang.org/cl/5552052
2012-01-30go: move compilers into the go-tool directoryRob Pike
Also delete gotest, since it's messy to fix and slated for deletion anyway. A couple of things outside src can't be tested any more. "go test" will be fixed and these tests will be re-enabled. They're noisy for now. Fixes #284. R=rsc CC=golang-dev https://golang.org/cl/5598049
2012-01-29cmd/goinstall: remove now that 'go get' worksGustavo Niemeyer
The changes to builder were not tested. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5572083
2012-01-29cmd/go: add go tools to rearrangementRob Pike
fix, vet yacc is also fixed (it was wrong before) All that's left is the commands used during compilation This looks like a huge CL, but it's almost all file renames. The action is in cmd/go/pkg.go, the Makefiles, and .../doc.go. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5595044
2012-01-29cmd/go: first piece of tool rearrangementRob Pike
1) create go-tool dir in make.bash 2) clean up stale binaries in make.bash 3) add 'tool' command to go 4) convert goyacc->yacc as a first test tool Since goyacc stands alone, it's a safe trial. R=rsc CC=golang-dev https://golang.org/cl/5576061
2012-01-25build: remove code now in subrepositoriesRuss Cox
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5569064
2012-01-25html: move the HTML parser to an exp/html package. The parser is aNigel Tao
work in progress, and we are not ready to freeze its API for Go 1. Package html still exists, containing just two functions: EscapeString and UnescapeString. Both the packages at exp/html and html are "package html". The former is a superset of the latter. At some point in the future, the exp/html code will move back into html, once we have finalized the parser API. R=rsc, dsymonds CC=golang-dev https://golang.org/cl/5571059
2012-01-19database/sql: move from exp/sqlBrad Fitzpatrick
R=golang-dev, r CC=golang-dev https://golang.org/cl/5536076
2012-01-15exp/terminal: still trying to unbreak non-Linux builds.Adam Langley
R=golang-dev CC=golang-dev https://golang.org/cl/5542050
2012-01-15exp/terminal: add to level Makefile for the (non-Linux?) systems that need it.Adam Langley
R=golang-dev CC=golang-dev https://golang.org/cl/5528102
2012-01-11Makefile: update openpgp/error -> openpgp/errorsAdam Langley
R=golang-dev CC=golang-dev https://golang.org/cl/5530078
2011-12-21image/ycbcr: move the Y'CbCr types into image and image/color.Nigel Tao
R=r, rsc CC=golang-dev https://golang.org/cl/5493084
2011-11-30html/template: update to new template APIRob Pike
Not quite done yet but enough is here to review. Embedding is eliminated so clients can't accidentally reach methods of text/template.Template that would break the invariants. TODO later: Add and Clone are unimplemented. TODO later: address issue 2349 R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5434077
2011-11-23text/template: new, simpler APIRob Pike
The Set type is gone. Instead, templates are automatically associated by being parsed together; nested definitions implicitly create associations. Only associated templates can invoke one another. This approach dramatically reduces the breadth of the construction API. For now, html/template is deleted from src/pkg/Makefile, so this can be checked in. Nothing in the tree depends on it. It will be updated next. R=dsymonds, adg, rsc, r, gri, mikesamuel, nigeltao CC=golang-dev https://golang.org/cl/5415060
2011-11-20exp/gui: delete exp/gui and exp/gui/x11. They are moving toNigel Tao
x-go-binding.googlecode.com. R=rsc, rogpeppe CC=golang-dev https://golang.org/cl/5406041
2011-11-18exp/terminal: fix build after os.Errno changesGustavo Niemeyer
Also include exp/terminal in linux build so such failures are noticed. R=rsc CC=golang-dev https://golang.org/cl/5416044
2011-11-16exp/ssh: add to pkg MakefileChristopher Wedgwood
R=rsc, dave CC=golang-dev https://golang.org/cl/5399045
2011-11-03httputil: move ReverseProxy out of httpBrad Fitzpatrick
http diet plan, continued. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5305090
2011-11-03net/http/httputil: new package; move ClientConn and ServerConnBrad Fitzpatrick
Part of http diet plan. More of the lesser-used and newcomer-misleading parts of http will move here. R=r, rsc CC=golang-dev https://golang.org/cl/5336049
2011-11-03os,text,unicode: renamingsRob Pike
This is Go 1 package renaming CL #4. This one merely moves the source; the import strings will be changed after the next weekly release. This one moves pieces into os, text, and unicode. exec -> os/exec scanner -> text/scanner tabwriter -> text/tabwriter template -> text/template template/parse -> text/template/parse utf16 -> unicode/utf16 utf8 -> unicode/utf8 This should be the last of the source-rearranging CLs. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5331066
2011-11-03net: renamingsRob Pike
This is Go 1 package renaming CL #3. This one merely moves the source; the import strings will be changed after the next weekly release. This one moves pieces into net. http -> net/http http/cgi -> net/http/cgi http/fcgi -> net/http/fcgi http/pprof -> net/http/pprof http/httptest -> net/http/httptest mail -> net/mail rpc -> net/rpc rpc/jsonrpc -> net/rpc/jsonrpc smtp -> net/smtp url -> net/url Also remove rand (now math/rand) from NOTEST - it has a test. The only edits are in Makefiles and deps.bash. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5335048
2011-11-03html,log,math: renamingsRob Pike
This is Go 1 package renaming CL #2. This one merely moves the source; the import strings will be changed after the next weekly release. exp/template/html -> html/template big -> math/big cmath -> math/cmplx rand -> math/rand syslog -> log/syslog The only edits are in Makefiles and deps.bash. Note that this CL moves exp/template/html out of exp. I decided to do that so all the renamings can be done together, even though the API (and that of template, for that matter) is still fluid. R=r, rsc CC=golang-dev https://golang.org/cl/5332053
2011-11-03encoding: move asn1, csv, gob, json, xml into encodingRob Pike
This is Go 1 package renaming CL #1. This one merely moves the source; the import strings will be changed after the next weekly release. The only edits are in Makefiles. R=r, rsc CC=golang-dev https://golang.org/cl/5331060
2011-11-02exp/sql: finish transactions, flesh out types, docsBrad Fitzpatrick
Fixes #2328 (float, bool) R=rsc, r CC=golang-dev https://golang.org/cl/5294067
2011-11-01errors: new packageRuss Cox
The only function is errors.New, at least for now. R=r, gustavo, adg, r CC=golang-dev https://golang.org/cl/5321061
2011-10-20go/ast, go/token: actually run tests; fix go/ast testIan Lance Taylor
R=gri CC=golang-dev https://golang.org/cl/5292048
2011-10-19os/inotify: move to exp/inotifyMikio Hara
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5295044
2011-10-13gotype: move to exp/gotype per Go 1 planRobert Griesemer
R=r, dsymonds CC=golang-dev https://golang.org/cl/5269043
2011-10-13go/types: move to exp/types per Go 1 planRobert Griesemer
This package is only used by gotype at the moment. R=rsc, r CC=golang-dev https://golang.org/cl/5266042
2011-10-12go/typechecker: delete per Go 1 planRobert Griesemer
(go/types will be future replacement) R=r CC=golang-dev https://golang.org/cl/5232052
2011-10-12netchan: move to old/netchanRob Pike
Part of Go version 1 rearrangement. No gofix, since the new name is not in Go 1. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5245055
2011-10-11exp/datafmt: delete per Go 1 planRobert Griesemer
R=r, bradfitz CC=golang-dev https://golang.org/cl/5249055
2011-10-11ebnf, ebnflint: move under expRobert Griesemer
pkg/ebnf -> pkg/exp/ebnf cmd/ebnflint -> pkg/exp/ebnflint R=golang-dev, r CC=golang-dev https://golang.org/cl/5188042
2011-10-11exp/spdy: move http/spdy to exp/spdyBrad Fitzpatrick
R=golang-dev, r CC=golang-dev https://golang.org/cl/5238051
2011-10-11container/vector: deleteRob Pike
Slices are better: http://code.google.com/p/go-wiki/wiki/SliceTricks R=golang-dev, bradfitz, dsymonds CC=golang-dev https://golang.org/cl/5248060
2011-10-11try: deleteRob Pike
A fun experiment but not carrying its weight. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5246054
2011-10-04image: spin off a new color package out of the image package.Nigel Tao
The spin-off renames some types. The new names are simply better: image.Color -> color.Color image.ColorModel -> color.Model image.ColorModelFunc -> color.ModelFunc image.PalettedColorModel -> color.Palette image.RGBAColor -> color.RGBA image.RGBAColorModel -> color.RGBAModel image.RGBA64Color -> color.RGBA64 image.RGBA64ColorModel -> color.RGBA64Model (similarly for NRGBAColor, GrayColorModel, etc) The image.ColorImage type stays in the image package, but is renamed: image.ColorImage -> image.Uniform The image.Image implementations (image.RGBA, image.RGBA64, image.NRGBA, image.Alpha, etc) do not change their name, and gain a nice symmetry: an image.RGBA is an image of color.RGBA, etc. The image.Black, image.Opaque uniform images remain unchanged (although their type is renamed from image.ColorImage to image.Uniform). The corresponding color types (color.Black, color.Opaque, etc) are new. Nothing in the image/ycbcr is renamed yet. The ycbcr.YCbCrColor and ycbcr.YCbCrImage types will eventually migrate to color.YCbCr and image.YCbCr, but that will be a separate CL. R=r, bsiegert CC=golang-dev https://golang.org/cl/5132048
2011-09-29exp/sql{,/driver}: new database packagesBrad Fitzpatrick
R=gustavo, rsc, borman, dave, kevlar, nigeltao, dvyukov, kardianos, fw, r, r, david.crawshaw CC=golang-dev https://golang.org/cl/4973055
2011-09-26regexp: move to old/regexp, replace with exp/regexpRuss Cox
R=golang-dev, r CC=golang-dev https://golang.org/cl/5127042
2011-09-19 crypto/bcrypt: new packageJeff Hodges
A port of Provos and Mazières's adapative hashing algorithm. See http://www.usenix.org/events/usenix99/provos/provos_html/node1.html R=bradfitz, agl, rsc, dchest CC=golang-dev https://golang.org/cl/4964078
2011-09-07exp/regexp: bug fixes and RE2 testsRuss Cox
Also add exp/regexp to build (forgot before). At this point I am very confident in exp/regexp's behavior. It should be usable as a drop-in replacement for regexp now. Later CLs could introduce a CompilePOSIX to get at traditional POSIX ``extended regular expressions'' as in egrep and also an re.MatchLongest method to change the matching mode to leftmost longest instead of leftmost first. On the other hand, I expect very few people to use either. R=r, r, gustavo CC=golang-dev https://golang.org/cl/4990041
2011-08-30goinstall: select the tag that is closest to runtime.VersionAndrew Gerrand
release.r50 looks for newest tag <= go.r50 weekly.2010-10-10 looks for newest tag <= go.2010-10-10 Implements behavior for hg, git, and bzr. R=dsymonds, rsc, n13m3y3r CC=golang-dev https://golang.org/cl/4873057
2011-08-26time: fix zone during windows testRuss Cox
Factor out sleep interrupt. Fixes #1109. R=alex.brainman, go.peter.90, mattn.jp CC=golang-dev https://golang.org/cl/4968041
2011-08-22build: build more packages/commands for Plan 9Fazlul Shahriar
R=golang-dev, r CC=golang-dev https://golang.org/cl/4921041
2011-08-17template: move exp/template into template.Rob Pike
(Leave exp/template/html where it is for now.) R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4899048
2011-08-17template: delete old template code.Rob Pike
It's already in old/template; make that build. Update a couple of references to point to the old template. They can be updated later. Update goplay to use exp/template. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4902046
2011-08-17url: new packageRob Pike
This is just moving the URL code from package http into its own package, which has been planned for a while. Besides clarity, this also breaks a nascent dependency cycle the new template package was about to introduce. Add a gofix module, url, and use it to generate changes outside http and url. Sadness about the churn, gladness about some of the naming improvements. R=dsymonds, bradfitz, rsc, gustavo, r CC=golang-dev https://golang.org/cl/4893043
2011-08-12exp/template/html: New package with a toy template transformation.Mike Samuel
func Reverse(*Template) *Template returns a template that produces the reverse of the original for any input. Changes outside exp/template/html include: - Adding a getter for a template's FuncMap so that derived templates can inherit function definitions. - Exported one node factory function, newIdentifier. Deriving tempaltes requires constructing new nodes, but I didn't export all of them because I think shallow copy functions might be more useful for this kind of work. - Bugfix: Template's Name() method ignores the name field so template.New("foo") is a nil dereference instead of "foo". Caveats: Reverse is a toy. It is not UTF-8 safe, and does not preserve order of calls to funcs in FuncMap. For context, see http://groups.google.com/group/golang-nuts/browse_thread/thread/e8bc7c771aae3f20/b1ac41dc6f609b6e?lnk=gst R=rsc, r, nigeltao, r CC=golang-dev https://golang.org/cl/4808089
2011-08-09exp/template: split the parse tree into a separate package exp/template/parseRob Pike
Mostly a mechanical change, with a few cleanups to make the split easier. The external interface to exp/template is unaffected. In another round I will play with the function map setup to see if I can avoid exposing reflect across the boundary, but that will require some structural changes I did not want to mix into this CL. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4849049