commit cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b Author: Morgan Jones Date: Fri Apr 7 18:21:22 2017 +0100 Remove unreachable code to fix go vet (#249) commit a3f3340b5840cee44f372bddb5880fcbc419b46a Author: Aaron.L.Xu Date: Wed Feb 8 22:18:51 2017 +0800 Fix dead URL for yaml specification (#240) commit 4c78c975fe7c825c6d1466c42be594d1d6f3aba6 Author: Alex Harford Date: Wed Jan 25 06:37:19 2017 -0800 Tighten restrictions on float decoding (#171) ParseFloat() accepts strings that contain digits with a single 'e' character somewhere in the middle as valid floats. The YAML spec does not accept these. This causes problems especially when dealing with short commit hashes, e.g. `123456e1` commit 14227de293ca979cf205cd88769fe71ed96a97e2 Author: Joe Tsai Date: Tue Jan 24 08:25:11 2017 -0800 Fix decode test for Go 1.8 (#217) An upstream change (http://golang.org/cl/31144) alters the time package to be more consistent about the representation of UTC location. We adjust the time.Time used in the test to work on both 1.7 and 1.8. commit a5b47d31c556af34a302ce5d659e6fea44d90de0 Author: Gustavo Niemeyer Date: Wed Sep 28 12:37:09 2016 -0300 Fix unmarshaler handling of empty strings. commit 31c299268d302dd0aa9a0dcf765a3d58971ac83f Author: Vasily Korytov Date: Mon Sep 12 19:56:03 2016 +0300 new license in the README file (#189) New license in the README file. commit e4d366fc3c7938e2958e662b4258c7a89e1f0e3e Author: Gustavo Niemeyer Date: Fri Jul 15 00:37:55 2016 -0300 Updated LICENSE to Apache License 2.0. commit a83829b6f1293c91addabc89d0571c246397bbf4 Merge: b667914 406cad6 Author: Gustavo Niemeyer Date: Tue Mar 1 17:40:22 2016 -0300 Merge pull request #152 from mwhudson/go16-compat Fix anonymous field handling for Go 1.6. commit b6679148d27038e59d7818facc4d100e677a64ae Merge: d6c23fb 65622dc Author: Gustavo Niemeyer Date: Tue Mar 1 17:33:36 2016 -0300 Merge master. commit d6c23fbaf16f72995b58492627e65801cfb9a8dd Author: Gustavo Niemeyer Date: Tue Mar 1 17:32:01 2016 -0300 Add .travis.yml commit 65622dcbf4c25328cd440d1b322c6530abe83337 Merge: f7716cb a833012 Author: Gustavo Niemeyer Date: Tue Mar 1 17:26:45 2016 -0300 Merge pull request #151 from anthonyfok/v2-fix-typo Fix typo: "uknown" => "unknown" commit 406cad6bb47dd7d9a123d005fb8ff766f6463051 Author: Michael Hudson-Doyle Date: Wed Dec 23 12:11:14 2015 +1300 make compatible with Go 1.6 As documented at http://tip.golang.org/doc/go1.6#reflect, the rules around embedded unexported struct types containing exported fields are changing in Go 1.6. The same release notes explain how to change existing code, so do that. commit a833012353d046b1f12c82db87d01c86570b24d7 Author: Anthony Fok Date: Sun Dec 20 07:16:50 2015 -0700 Fix typo: "uknown" → “unknown" commit f7716cbe52baa25d2e9b0d0da546fcf909fc16b4 Author: Gustavo Niemeyer Date: Tue Dec 1 14:27:45 2015 -0200 More UTF-16 test cases by John. commit bd61a856f807e525beaee41959452c88c83d46cf Author: Gustavo Niemeyer Date: Tue Dec 1 13:41:20 2015 -0200 Fix UTF-16 LE and BE handling. Thanks to John Lenton for the test cases. commit 53feefa2559fb8dfa8d81baad31be332c97d6c77 Merge: 2bf6035 0516c53 Author: Gustavo Niemeyer Date: Thu Sep 24 11:23:14 2015 -0300 Merge pull request #119 from xtreme-sameer-vohra/v2 Fix typo in scannerc.go intendation->indentation. commit 2bf60357b89cbc6044dde700cf63bab94a615bf7 Author: Gustavo Niemeyer Date: Thu Sep 24 10:16:22 2015 -0300 Add simple example of field renaming. Fixes #122. commit c325d146e464fb9567e780ddfa2dad3a99323075 Merge: 7ad95dd b9b22c4 Author: Gustavo Niemeyer Date: Thu Sep 24 10:01:33 2015 -0300 Merge pull request #106 from realzeitmedia/gofmt gofmt commit 0516c53462e633a479f3826e1d3557033413eeb8 Author: Sameer Vohra Date: Tue Aug 18 14:29:51 2015 -0400 fixed typo in scannerc.go intendation->indentation commit 7ad95dd0798a40da1ccdff6dff35fd177b5edf40 Author: Gustavo Niemeyer Date: Wed Jun 24 11:29:02 2015 +0100 Fix omitempty support for floats. commit b9b22c434500d7639936fbed673fc0ef23ce88f6 Author: Robert Vollmert Date: Mon Jun 1 16:52:26 2015 +0200 gofmt commit c1cd2254a6dd314c9d73c338c12688c9325d85c6 Author: Songmu Date: Tue May 19 19:42:33 2015 +0900 fix bug: width() always returns width of first character! commit 43a0256bb22b0c2e1803ac6e28f55e5989a60523 Author: Songmu Date: Tue May 19 19:38:58 2015 +0900 add failing test cases commit 49c95bdc21843256fb6c4e0d370a05f24a0bf213 Author: Gustavo Niemeyer Date: Tue Feb 24 19:57:58 2015 -0300 Drop travis support. Not working and not missed. commit d0fefed9b627fbe0c1597ac29ed5f48ff2eb9064 Author: Gustavo Niemeyer Date: Tue Feb 24 19:53:31 2015 -0300 Fix timezone handling in time tests. commit 50f7813e6b19e58334360ab011dfbaece5b1501f Author: Gustavo Niemeyer Date: Tue Feb 24 15:24:13 2015 -0300 Add time.Time encoding/decoding test. It's not clear this is actually the best way to handle time.Time, since there is a standard yaml format that may not match time.Time's, but having tests ensuring the current behavior is basically sane is a good idea nevertheless. commit a1c4bcb6c278a41992e2f4f0f29a44b4146daa5c Merge: ee2f495 df74716 Author: Gustavo Niemeyer Date: Wed Feb 11 15:31:25 2015 -0200 Merge pull request #76 from robx/patch-1 Balance parentheses. commit df747160af0ebfcc572951e4168d4b1bc91a47f5 Author: Robert Date: Wed Feb 11 18:27:59 2015 +0100 Balance parentheses. commit ee2f4956ea46791a74a31142105f03c0d5f9492b Merge: 5d6f7e0 a347d24 Author: Gustavo Niemeyer Date: Mon Feb 9 14:47:26 2015 -0200 Merge pull request #72 from gogolok/travis_ci_support Travis CI support. commit a347d2466e459933f4fb25f8026d995977436ccf Author: Robert Gogolok Date: Wed Feb 4 13:15:35 2015 +0100 README.md: travis ci build status [ci skip] commit 1d653a737648051ca638423377052c2f5c10c050 Author: Robert Gogolok Date: Wed Feb 4 13:11:21 2015 +0100 travis ci commit 5d6f7e02b7cdad63b06ab3877915532cd30073b4 Author: Gustavo Niemeyer Date: Mon Jan 19 16:55:52 2015 -0200 Support inline flag on a map field. commit bef53efd0c76e49e6de55ead051f886bea7e9420 Author: Gustavo Niemeyer Date: Fri Jan 16 18:20:57 2015 -0200 Add test ensuring [] decodes as zero-length slice. Reported as #42 and previously fixed in 08859840. commit 1bf6a7ce154075e61134f8a68dd50902c3027a10 Author: Gustavo Niemeyer Date: Fri Jan 16 17:58:22 2015 -0200 Do not call MarshalText on yaml.Marshaler. Fixes #58. commit 71e7ede9d48a2e096f6d5d0516c763513a471bd1 Author: Gustavo Niemeyer Date: Fri Jan 16 17:22:23 2015 -0200 Add test ensuring ": " values get quoted. This was reported as PR #43, but is not reproducible. commit b7dfe2d918fda477aa5b42519294b5ada3c991fa Merge: e8976af 3e92d6a Author: Gustavo Niemeyer Date: Fri Jan 16 17:10:07 2015 -0200 Merge pull request #52 from BrianBland/v2 Fix TypeError check in Unmarshal. commit e8976af76e3d35c48f8b2c9540cca3e92995fbc6 Merge: 0885984 4f03e94 Author: Gustavo Niemeyer Date: Fri Jan 16 17:02:51 2015 -0200 Merge pull request #61 from hkjn/v2 gofmt commit 088598405c86d37e951287d094d691e221654a00 Author: Gustavo Niemeyer Date: Fri Jan 16 16:59:36 2015 -0200 Reset slice rather than appending to old value. Fixes #48. commit 26b882523374125854702734c30b0ce6a1a18d7b Author: Gustavo Niemeyer Date: Fri Jan 16 16:43:56 2015 -0200 Support omitempty on struct value fields. Fixes #54. commit 4f03e946c120a8f146f43bee6f392f9bb5d0a677 Author: Henrik Jonsson Date: Fri Dec 12 17:38:32 2014 +0100 runs 'gofmt -w *.go' on gopkg.in/yaml.v2 commit 3e92d6a11b92fa4612d66712704844bdc0c48aed Author: Brian Bland Date: Wed Nov 5 10:09:52 2014 -0800 Fixes TypeError check in Unmarshal decoder.terrors can be empty but non-nil if the unmarshaler function is called multiple times in UnmarshalYAML. This fixes the case where d.terrors is empty but has a non-zero capacity, which previously resulted in returning a TypeError with an empty list of error strings. commit d466437aa4adc35830964cffc5b5f262c63ddcb4 Author: Jordan Liggitt Date: Wed Oct 29 17:08:43 2014 -0400 Use math constants as decode_test check values commit 1dd72ac3928693b9db2533639dfc2a5f831697eb Author: Jordan Liggitt Date: Wed Oct 29 15:50:31 2014 -0400 Add support for uint64 and 64-bit binary notation Add decode tests for uint,uint64,int,int64,float32,float64 Unmarshal uint64, use math constants for precision boundaries Remove uint case, let uint64 cover uint overflows Handle int64 and uint64 with 0b... notation Make test cases contain literal values, reference math constants commit eca94c41d994ae2215d455ce578ae6e2dc6ee516 Author: Gustavo Niemeyer Date: Sat Sep 27 17:40:03 2014 -0300 Support encoding.TextMarshaler/Unmarshaler. Fixes #38. commit f5f5cc19d1f681884684426c96adadef47a3b55c Author: Gustavo Niemeyer Date: Thu Sep 25 09:33:00 2014 -0300 Only inherit map types if sufficiently flexible. Fixes #39. commit 79f5ef7c40ae7a4ee6bcd26d324bf50491b431e5 Author: Gustavo Niemeyer Date: Wed Sep 24 13:18:00 2014 -0300 Trivial documentation fix. commit b6b591a3c0ec0452719f4d4555a3e084fd9f12fb Merge: de3643d 5206f6d Author: Gustavo Niemeyer Date: Tue Sep 23 11:49:13 2014 -0300 Marshal top-level nils correctly. Merge rogpeppe's branch '001-allow-nil-marshal'. commit de3643d77b438c6f0f69f350c437639a300b5e73 Author: Gustavo Niemeyer Date: Mon Sep 22 18:50:45 2014 -0300 Allow non-ASCII characters in plain strings. Fixes #11. commit 91eb945ac02153399ac9f69e34751f1a176254c3 Author: Gustavo Niemeyer Date: Mon Sep 22 18:33:56 2014 -0300 Drop obsolete note. commit 925f818e2c358746b3a14bf3e5614db14208037f Author: Gustavo Niemeyer Date: Mon Sep 22 18:31:54 2014 -0300 v1 => v2 commit c544d0342172409bd9c8f7c45d9fb21971c8aee9 Author: Gustavo Niemeyer Date: Fri Sep 19 20:29:07 2014 -0300 Proper reporting of type errors. commit b51f82a2e3cbedab685908bd64d61d0a1b781754 Author: Gustavo Niemeyer Date: Fri Sep 19 16:41:15 2014 -0300 New marshaler and unmarshaler interfaces. commit 3e542fbf7c84c0bf22f51ad07899cf80f8658caa Author: Gustavo Niemeyer Date: Fri Sep 19 10:22:26 2014 -0300 Ordered map support with MapSlice. commit 920b7d819b42f26f4796e4a43f518090a7a6331f Author: Gustavo Niemeyer Date: Fri Sep 19 11:00:40 2014 -0300 Update README. commit c11897f0ba79d8a35d8a124ff0d76e13d9dccb9b Author: Gustavo Niemeyer Date: Thu Sep 18 18:05:31 2014 -0300 Better error on invalid map keys. Closes #25. commit bc27649cd5454055cf20fdb9ef556c214d3f9aa0 Author: Gustavo Niemeyer Date: Thu Sep 18 17:04:24 2014 -0300 Support !!binary data. Fixes #31. Fixes #32. commit 0cb32393ebcfc65467398e5daadfb63b2184caea Author: Gustavo Niemeyer Date: Wed Sep 17 18:04:12 2014 -0300 Better unmarshalling for "null". Fixes #35. commit a6dc653f939ab0e6a554873806c41add1140d90c Author: Gustavo Niemeyer Date: Wed Sep 17 16:14:07 2014 -0300 Whitelist good panics instead of bad ones. commit 838f4ea96166350b9185bf3d2cbf786d34127ca2 Author: Gustavo Niemeyer Date: Wed Sep 17 15:26:27 2014 -0300 Marshal base 60 floats quoted for YAML 1.1 compat. Closes #34. commit 5206f6dd03423b3a5462a2a4286a4efae8abe347 Author: Roger Peppe Date: Mon Sep 15 17:57:47 2014 +0100 marshal top level nil correctly commit fc7f19eff1782a0beae3065097c776183e7d01d0 Author: Gustavo Niemeyer Date: Tue Sep 9 13:09:48 2014 -0300 Add copyright notice to LICENSE file. commit feb4ca79644e8e7e39c06095246ee54b1282c118 Author: Gustavo Niemeyer Date: Thu Aug 14 15:36:29 2014 -0300 Fix handling of < in values, broken by map merging Fixes issue #24. commit 1b9791953ba4027efaeb728c7355e542a203be5e Author: Gustavo Niemeyer Date: Thu Jul 17 11:34:46 2014 -0300 Note in LICENSE.libyaml the specific files covered. commit b0c168ac0cf9493da1f9bb76c34b26ffef940b4a Merge: 41c132e 1ff37a7 Author: Gustavo Niemeyer Date: Thu May 1 10:48:07 2014 -0700 Merge branch 'v1' of github.com:go-yaml/yaml into v1 commit 41c132e8ac051886e4eb06e7c3d58ced63d58057 Author: Gustavo Niemeyer Date: Thu May 1 10:47:07 2014 -0700 Fix Setter handling on non-pointer fields. Fixes #8. commit 1ff37a7d30b085dc643dee7adb18759e3511661a Merge: 72c33f6 787afde Author: Gustavo Niemeyer Date: Tue Apr 29 08:43:41 2014 -0700 Merge pull request #9 from shawnps/v1 Fix comment typo. commit 787afde64d7b36591050440c4a14c2288b373de6 Author: Shawn Smith Date: Tue Apr 29 21:31:57 2014 +0900 Fix typo commit a5844a8f8f489bad96ab6da62cfa21ee1f5d9e6b Author: Gustavo Niemeyer Date: Sun Apr 6 10:56:05 2014 -0300 Add support for marshaling durations. commit 72c33f6840f49f9ed7d1faef7562b3266640fdf4 Author: Gustavo Niemeyer Date: Fri Apr 11 17:06:50 2014 -0300 Support map merging. Fixes #1. commit 81205292aba40f8868069e2f18d90043d3e724a6 Author: Gustavo Niemeyer Date: Fri Apr 11 15:11:20 2014 -0300 Call setter on explicitly quoted strings. Fixes #7. commit 3d8cfc3754fba03b8f1a0d44ea4e6e870cf86c57 Author: Gustavo Niemeyer Date: Sun Mar 30 18:45:21 2014 -0300 New gopkg.in versioning pattern. commit dbd6d0229d1f1e1c3055cd82efb81f60a27d1103 Merge: 4f3d34e 1418a9b Author: Gustavo Niemeyer Date: Fri Mar 14 10:22:24 2014 -0300 Merge branch 'master' of github.com:go-yaml/yaml commit 1418a9bc452f9cf4efa70307cafcb10743e64a56 Merge: ec232d2 399c334 Author: Gustavo Niemeyer Date: Fri Mar 14 10:19:40 2014 -0300 Merge pull request #3 from adeuring/1243827 Fix LP bug 1243827 commit 399c3345e0f76f583d830cd7da27518bbb00c91a Author: Abel Deuring Date: Fri Mar 14 13:22:42 2014 +0100 Fix bug 1243827: Underscores sometimes removed from string values. commit ec232d2920a84930b077414b60b5985e076ae228 Merge: 4914593 cd51583 Author: Gustavo Niemeyer Date: Fri Mar 14 09:03:22 2014 -0300 Merge pull request #2 from go-yaml/rename-imports rename imports in test files commit cd515839285fe1a31b92193360172d59f818c9b8 Author: Roger Peppe Date: Fri Mar 14 09:15:47 2014 +0000 rename imports in test files commit 4f3d34e492b8930c50204a216d960e7da0dc5f63 Author: Gustavo Niemeyer Date: Wed Mar 12 16:02:09 2014 -0300 Fix import paths in tests. commit 4914593b9558e85597f08346c798aea8f6fb899f Author: Gustavo Niemeyer Date: Thu Mar 6 13:54:45 2014 -0300 gonuts.org => gopkg.in commit b3472531944cd769419f297322dc285a0fc0d6cc Author: Gustavo Niemeyer Date: Thu Mar 6 05:42:10 2014 -0300 Fix GitHub URL. commit 125a562d7bf105e062ed2adfb2d37e6f11c209bd Author: Gustavo Niemeyer Date: Thu Mar 6 03:47:33 2014 -0300 Trivial change. commit a65e08b08285cef29253c50ffd92469bf6e26a29 Author: Gustavo Niemeyer Date: Wed Mar 5 16:49:41 2014 -0300 Mention GitHub URL in the API documentation. commit f96735bc0fa70a12e9f41277b2d909e0c477ee30 Author: Gustavo Niemeyer Date: Wed Mar 5 16:34:12 2014 -0300 Fixed import indentation in README. commit 9f33a69b86c3c76c52e41d12d83e233065bfcca9 Author: Gustavo Niemeyer Date: Wed Mar 5 16:32:19 2014 -0300 Improved README. commit 77373ee937410eceadc4dc64b1100d897ed593d0 Author: Gustavo Niemeyer Date: Wed Mar 5 16:16:10 2014 -0300 More README tweaks. commit 5e76f7cf8cb1fc353b84b96c72a36c4984cbd005 Author: Gustavo Niemeyer Date: Wed Mar 5 16:12:48 2014 -0300 Added missing yaml.go file commit f29dde21846f6357ee4421013b59eefd65c069b0 Author: Gustavo Niemeyer Date: Wed Mar 5 16:10:19 2014 -0300 Trivial README tweak. commit 43607cc2a1772b23faf366c24b8e33541187b64d Author: Gustavo Niemeyer Date: Wed Mar 5 16:09:31 2014 -0300 Fixed README urls. commit 8eba062837dc10754db7cbafcbedbfbc985ca172 Author: Gustavo Niemeyer Date: Wed Mar 5 16:08:24 2014 -0300 Added README file. commit ba29208cca8f239f2cea685183f79df8e4defc29 Author: Gustavo Niemeyer Date: Wed Mar 5 15:56:00 2014 -0300 Remove Launchpad-specific files. commit ca3d523f32f3b33fb3265bfeb8e11003a8670e3d Author: Gustavo Niemeyer Date: Wed Mar 5 15:48:33 2014 -0300 goyaml is now yaml. commit 2628b30e544c309ac3d0c8cd7e78a785400cd41f Author: Gustavo Niemeyer Date: Thu Nov 14 10:04:49 2013 -0200 Revert semantic change in previous revision. commit 9c272e25743608d6d3287141522eb4506b2dac45 Merge: 1092c5d b754a4f Author: Dave Cheney Date: Thu Nov 14 09:43:09 2013 +0400 goyaml: fix printing of bare hyphens related to bug #1227952. Quote a bare hypen rather than treating it as the start of a block. R=wallyworld, jameinel CC= https://codereview.appspot.com/26430043 commit b754a4fe6ad8db932e083a2d85ae2199b3516bef Author: Dave Cheney Date: Thu Nov 14 13:37:57 2013 +1100 gofmt commit 2f2fd02e5a54a7d4f5e5d3494b170b0cb9275c92 Author: Dave Cheney Date: Thu Nov 14 13:37:06 2013 +1100 Fix encoding error with bare hyphen commit 1092c5d94f266e0f94e485a24f7010da877eeba0 Merge: 025607c 7539b1d Author: Gustavo Niemeyer Date: Wed Nov 13 09:14:11 2013 -0200 Fix cross-type decoding of numbers. Fixes #1245752. R= CC= https://codereview.appspot.com/22600044 commit 7539b1dee2c790ab2d1aa5e254ef877f5552ff97 Author: Gustavo Niemeyer Date: Wed Nov 13 08:24:41 2013 -0200 Fix cross-type decoding of numbers. Fixes #1245752. commit 025607cd2e381e6e08a56ffec46ac79e23ca2d88 Author: Gustavo Niemeyer Date: Thu Jun 20 12:30:49 2013 -0400 Lowercase internal constant. commit 9ca8abd6882a6e741166e6ec946a73f3a64df65a Merge: 8ca81d5 a528d0e Author: Gustavo Niemeyer Date: Wed Jun 19 14:06:36 2013 -0400 Add support for ,inline flag with struct values. This also adds the code to do inlining of maps, as supported by bson (the code was copied from mgo/bson), but it's disabled for the moment as I'll need more time to implement it. R=jameinel, rog CC= https://codereview.appspot.com/10366044 commit a528d0ef484d32e416d7b9c4a249d1fa7111be6e Author: Gustavo Niemeyer Date: Wed Jun 19 14:05:58 2013 -0400 go fmt commit 0725b7707fdeeb6894c403d0f5a2a20e1dc7454d Merge: 77b5164 8ca81d5 Author: Gustavo Niemeyer Date: Wed Jun 19 13:55:35 2013 -0400 Merged from tip. commit 77b516425597da3c093a666c11608112e91604de Author: Gustavo Niemeyer Date: Wed Jun 19 13:52:23 2013 -0400 Review by Roger plus overall naming improvements. commit 8ca81d591dc2242f9c4b7a907533f0b7f93802b5 Merge: 53087c1 65b1927 Author: Gustavo Niemeyer Date: Wed Jun 19 10:26:38 2013 -0400 Test and fix bug #1191981. R= CC= https://codereview.appspot.com/10417043 commit 65b1927d8262617ca3d25f296fdde1e8c48f813d Author: Gustavo Niemeyer Date: Wed Jun 19 10:22:59 2013 -0400 go fmt commit 059398de19c863a04c55315526d6c226de540aa1 Author: Gustavo Niemeyer Date: Wed Jun 19 10:22:34 2013 -0400 Test and fix bug #1191981. commit 8691640bc70f3d96128a809341d850b550a3abb9 Author: Gustavo Niemeyer Date: Mon Jun 17 23:40:41 2013 -0400 Add support for ,inline flag with struct values. This also adds the code to do inlining of maps, as supported by bson (the code was copied from mgo/bson), but it's disabled for the moment as I'll need more time to implement it. commit 53087c11c10b453af4f2eb47471434eae75526f9 Merge: 1ade51a 05d4059 Author: Gustavo Niemeyer Date: Wed May 29 14:25:01 2013 -0300 Merged pure go port. commit 05d405925260878bd750ea7d96c746c2d726b349 Author: Gustavo Niemeyer Date: Wed May 29 14:23:20 2013 -0300 Disable benchmark that depends on external file. commit e6da37e746419537560c1e95e429f42b33f6d0e3 Author: Gustavo Niemeyer Date: Tue Apr 30 18:29:04 2013 -0300 Changed read{,_line} to prevent heap allocation of slices. commit f4d271a8a289b41fa88b802c430fefde4e018bba Author: Gustavo Niemeyer Date: Tue Apr 30 16:42:40 2013 -0300 Tweak width so it can be inlined. commit 711419034010345c604724ef87ec3db91ffe0936 Author: Gustavo Niemeyer Date: Tue Apr 30 16:13:28 2013 -0300 Tweak is_* function so the compiler can inline them. commit 4ca689e686c2caf4dda3a62936c097d6dfb56877 Author: Gustavo Niemeyer Date: Tue Apr 30 15:59:24 2013 -0300 Rename files to more familiar convention. commit fa9662d290d59b79f2ef7e1f72c885560efe512d Author: Gustavo Niemeyer Date: Tue Apr 30 15:56:59 2013 -0300 Inline cache function. commit 5b18502a28c65dfd209ea5aebb405fb6fc07f7e1 Author: Gustavo Niemeyer Date: Tue Apr 30 15:37:11 2013 -0300 Improve read function a bit. commit 9f389a1f0b1d442eba00213e7aa09ccd878d18b0 Author: Gustavo Niemeyer Date: Tue Apr 30 15:36:09 2013 -0300 Open whole buffer for writing in update_buffer. commit fb03f24d58ac0c7a3d85edc1b91dfcfea4329883 Author: Gustavo Niemeyer Date: Tue Apr 30 14:42:21 2013 -0300 reader_c.go: minor cleanups commit 284796d39ddb313ec0ae04898de280d41fe32479 Author: Gustavo Niemeyer Date: Mon Apr 29 21:42:36 2013 -0300 Cheap sanitization: - Reduce huge buffer sizes. - Drop some of the duplicated allocation. - Drop sub-structs that used to compose a union, and inline fields. commit 7c634f6a68c1076d3cfdc56930db26e86f7876d7 Author: Gustavo Niemeyer Date: Mon Apr 29 14:22:33 2013 -0300 Fix returns for Go 1.0. commit 90376f16b6d74c4e2fff21dd24397bec3dc62dd5 Author: Gustavo Niemeyer Date: Mon Apr 29 12:23:19 2013 -0300 Drop regexes.txt file. It's now in the history. commit 523c7d9470684b02d902e8d986cd9eea66884755 Author: Gustavo Niemeyer Date: Mon Apr 29 12:22:24 2013 -0300 Add future work note about unions in token type, and add regexes.txt file for historical tracking. commit 7d17c9173a3d25ebba15cedb25b5205bdfb1eac8 Author: Gustavo Niemeyer Date: Mon Apr 29 12:14:36 2013 -0300 Drop comments for already converted logic. commit d0b6f3facf302fb1bf969a12bad68ce720b3c025 Author: Gustavo Niemeyer Date: Mon Apr 29 12:13:04 2013 -0300 Added quoted multi-line string test. commit 914e67f109a574665d15c0d179cdc796abefb176 Author: Gustavo Niemeyer Date: Mon Apr 29 12:02:38 2013 -0300 Reformatted decoding tests. commit e2fbf5b72a6a12abd15be9b37656a0a136fc32f8 Author: Gustavo Niemeyer Date: Sun Apr 28 11:05:46 2013 -0300 Reformat encoder tests. Other minor tweaks. commit 4cdd993908b57c3b87bef0695e5ca989151ad55f Author: Gustavo Niemeyer Date: Sun Apr 28 01:28:40 2013 -0300 C is gone. All tests pass. commit 885e19c0dda1f4e4e22837474879f8f3d36fb449 Author: Gustavo Niemeyer Date: Fri Apr 26 16:06:07 2013 -0300 reader.c fully ported. commit 52d5976e4791cf8c96a9de7569098e3752677412 Author: Gustavo Niemeyer Date: Fri Apr 26 11:04:50 2013 -0300 All tests pass. commit 8171f560dedcb162dd3d2c925015679e84bac269 Author: Gustavo Niemeyer Date: Thu Apr 25 16:24:26 2013 -0300 decode.go builds without C or unsafe. commit 7701d177ce02b7bd38c4ebd2ba4a7783080505ae Author: Gustavo Niemeyer Date: Thu Apr 25 15:58:29 2013 -0300 Decoding side builds. commit 1ade51a028efa6990b524e0b01237dbd9123957d Author: Gustavo Niemeyer Date: Wed Apr 17 17:55:04 2013 -0300 Updated .c files from yaml-0.1.4. Just a couple of one-liners. commit b3031338ac8e006cbd668f67c36c24d2c5e64b6d Author: Gustavo Niemeyer Date: Wed Apr 17 15:57:10 2013 -0300 Document "-" key. commit e720624475f3807e3dc6477e7af6feb09da0b848 Author: Gustavo Niemeyer Date: Wed Apr 17 15:55:21 2013 -0300 Support "-" tag. commit 4d6bb54d8acc91e147763cea066cff0b89437e90 Author: Gustavo Niemeyer Date: Wed Apr 17 15:49:08 2013 -0300 Fix a couple of bugs reported by Roger. commit 82377a97b299347cd15cc1be13e1c8d04e33efbb Merge: 731788b d6385b3 Author: Gustavo Niemeyer Date: Tue Apr 2 17:29:27 2013 -0300 decode: fix pointers and fix null into string Fixes bug #1133337. R=jameinel CC= https://codereview.appspot.com/8019043 commit d6385b38675d8d03521c9290f4f3d7bff08664c0 Author: Gustavo Niemeyer Date: Tue Apr 2 17:27:08 2013 -0300 go fmt commit 731788bc8b082f8c81c63ca0abd5950c7a68a2f1 Merge: 97203c6 0f9a5c3 Author: John A Meinel Date: Tue Mar 26 17:15:54 2013 +0400 run go fmt, add .lbox.check There were a couple of files that were changed by running "go fmt", and I noticed there wasn't a .lbox.check file. I'm guessing goyaml predated the functionality in lbox. So I ran the tool, and added the check file. No functional changes. R=niemeyer CC= https://codereview.appspot.com/7801047 commit 0f9a5c380d77a8b2888a78c3d3a14db15949b1fa Author: John Arbash Meinel Date: Tue Mar 26 15:04:09 2013 +0400 Add .lbox.check commit 2afc2e57e051513a3f5f67e74857696a8558d67b Author: John Arbash Meinel Date: Tue Mar 26 15:03:15 2013 +0400 Just run go fmt over the code. commit 97203c6e4fc7347bfef3bd6d4913e90bd46c7ecb Merge: 0846a25 b01920c Author: John A Meinel Date: Tue Mar 26 15:00:47 2013 +0400 decode: add some flags for windows We are doing a static compile of libyaml, so set the YAML_STATIC_DECLARE compile macro. Also, strdup is only available in the common run time (CRT) as _strdup, so use another macro for that. We could do it in other ways if there is something more appropriate for the yaml library. Originally I was doing it in an #ifdef macro, but this makes it nice and minimal and doesn't touch the yaml files directly. R= CC= https://codereview.appspot.com/7719045 commit 857a0b2759f87f47aaebad6dd319cf4f887eb6dc Author: Gustavo Niemeyer Date: Mon Mar 25 18:15:49 2013 -0300 Drop test dependent on the Go release due to the difference between int and int64. commit 50e1b1b1332ea40fff2a9b13bfbccbbecd526f00 Author: Gustavo Niemeyer Date: Mon Mar 25 18:09:58 2013 -0300 decode: fix pointers and fix null into string Fixes bug #1133337. commit b01920c75e30179201b01633db246038b0226ce9 Author: John Arbash Meinel Date: Thu Mar 14 09:17:14 2013 +0400 Actual minimal patch to compile goyaml with mingw32 commit 6675ed2a9028caf87bb5915503c08a595e57b77d Author: John Arbash Meinel Date: Thu Mar 14 07:42:25 2013 +0400 You don't have to link -lyaml, just fix the declarations. commit 93d787c44dc828e1c67fa275cb66eb86bb2929f8 Author: John Arbash Meinel Date: Wed Mar 13 16:27:55 2013 +0400 Trying to get goyaml to build on Windows. commit 0846a25da24891a7b3c725bc190493b5f7525db8 Merge: f7a3304 fdc1ab4 Author: Gustavo Niemeyer Date: Thu Sep 20 10:42:05 2012 +0100 Sort map keys. R=dfc CC= https://codereview.appspot.com/6551043 commit fdc1ab46101a842d9e914408bd481f6647d5f9c1 Author: Gustavo Niemeyer Date: Thu Sep 20 10:33:26 2012 +0100 Add empty string to test as well, as suggested by Dave. commit c78cd3ebd83777ac093137fbb55c33a9d3f65819 Author: Gustavo Niemeyer Date: Thu Sep 20 10:27:14 2012 +0100 More tests, after Dave's suggestions. commit eea198a9c5cc6e02bfcd130a932051088a9f0950 Author: Gustavo Niemeyer Date: Thu Sep 20 10:00:32 2012 +0100 Sort map keys. commit f7a330473f18ddc052fce1f71a2b2d1231860f71 Author: Gustavo Niemeyer Date: Thu Aug 16 14:21:10 2012 -0300 Added exception for static linkage. commit 5515099aacaeb9ff3ab7492f0803327bb19fc512 Merge: 54c736c 722ff6b Author: Gustavo Niemeyer Date: Thu Mar 8 19:28:38 2012 -0300 Unbreak goyaml after interface mutability fix in reflect. R=rog CC= https://codereview.appspot.com/5784060 commit 722ff6b958a31d4ca3405db35a72648a6077a6bb Author: Gustavo Niemeyer Date: Thu Mar 8 18:51:14 2012 -0300 Adding .lbox. commit addb3a024ff5763c8facbe4767fe530d602cfedc Author: Gustavo Niemeyer Date: Thu Mar 8 18:50:15 2012 -0300 Fix problem happening after the immutability of interfaces via reflect has been fixed. commit 54c736c86c9bcc793fb4bd6f203604cd738dc0e9 Merge: 7002636 837b087 Author: Gustavo Niemeyer Date: Thu Dec 22 09:14:15 2011 -0200 Skip scalars when decoding onto unsupported types. R= CC= https://codereview.appspot.com/5505058 commit 837b0877fcd6b2c8ba83d126917267695ff16ad8 Author: Gustavo Niemeyer Date: Wed Dec 21 15:47:08 2011 -0200 Skip scalars on unsupported types. commit 7002636de42c9ef59a2921bb4f78744cabe8bfe3 Merge: 1c9241b 2c8612d Author: Gustavo Niemeyer Date: Tue Dec 20 11:44:59 2011 -0200 Fix map initialization. R=rog CC= https://codereview.appspot.com/5503044 commit 2c8612dfee1362e7e482c66c5feb892a94d53255 Author: Gustavo Niemeyer Date: Tue Dec 20 11:42:58 2011 -0200 Copied the test to verify that map pointers get initialized too. commit 5887bc194be84805c8283e9d9a66102bf9571fca Author: Gustavo Niemeyer Date: Tue Dec 20 11:36:25 2011 -0200 Minor tweak in ordering. commit ef0aede23c8c624e127a9a59183ee8915e48a3c9 Author: Gustavo Niemeyer Date: Tue Dec 20 11:31:40 2011 -0200 Fix map initialization. commit 1c9241b56a03383c77e1c33d86ea6ca4a927153e Merge: 3e69410 dd8f49a Author: Roger Peppe Date: Thu Dec 15 16:20:57 2011 +0000 merge goyaml-rune-changes commit dd8f49ae7840d1fc6810d53ee7b05356da92f81f Author: Roger Peppe Date: Thu Dec 15 16:16:25 2011 +0000 remove unnecessary type conversion commit 687eda924018599a7c4518013c369f0bfb7eb0e1 Author: Roger Peppe Date: Thu Dec 15 15:22:49 2011 +0000 gofix + rune fix commit 3e69410288aeb97d31353af8e063b798d40feb3f Merge: 5c8bfe5 4cadac2 Author: Roger Peppe Date: Mon Nov 28 13:24:44 2011 +0000 merge goyaml-omit-zero-pointers commit 4cadac2bc790baeffa0a7fa19689223966a64c24 Author: Roger Peppe Date: Mon Nov 28 13:19:39 2011 +0000 merged switch cases. commit 5c8bfe59213b6e9a5eb50debebc396e99a9fa174 Author: Roger Peppe Date: Mon Nov 28 12:48:26 2011 +0000 fix formatting commit 3b0eedc5a476efc2b2e025eff55b2fd08fa32abd Author: Roger Peppe Date: Thu Nov 24 19:50:00 2011 +0000 make omitzero omit nil pointers. commit 6491ec31f7b0d27492e3046c86de94838dcb523c Author: Roger Peppe Date: Thu Nov 24 19:47:20 2011 +0000 error fixes commit 1632dd8118ce1efece66b7f53bb167956d5d8b4e Author: Gustavo Niemeyer Date: Tue Aug 2 22:27:46 2011 -0300 Fixed tag support for r59. Tweaked flag style. commit 6941443daa441371720e9ef8f3554c3958cfb071 Author: Gustavo Niemeyer Date: Fri Jun 24 21:53:13 2011 -0300 Ported to current weekly. commit 562080bfe963d41a6870a4c500918f6361a0b61f Author: Gustavo Niemeyer Date: Wed May 4 23:12:21 2011 -0300 Switch TARG to launchpad.net/goyaml commit 9211cbc02789a32acf5e90c23a42f040ac3ec3f8 Author: Gustavo Niemeyer Date: Thu Apr 28 09:55:23 2011 -0300 Updated to current weekly. commit c7da9dcff86f24fcfdc15e1f9fa39dfc19784616 Author: Gustavo Niemeyer Date: Fri Apr 15 01:23:17 2011 -0300 Ported to weekly Go release. commit 85db785e81ed62ffae7a145404fc0f022335378c Author: Gustavo Niemeyer Date: Wed Apr 13 18:20:44 2011 -0300 Use launchpad.net/gocheck and gofmt. commit bb263360b83253468e534d974aabeddd6c22f887 Author: Gustavo Niemeyer Date: Sun Feb 6 21:44:46 2011 -0200 Added support for the new #cgo directive, which means it's now goinstall-able. commit c6314f5b627e2a1c1846d89cd775de6b2808d37e Author: Gustavo Niemeyer Date: Thu Jan 20 10:06:04 2011 -0200 make gofmt + s/float/float64/ commit e90048704a8adb0b81b2e15ebafd1a35fa110903 Author: Gustavo Niemeyer Date: Wed Jan 12 21:10:17 2011 -0200 s/HAVE_CONFIG/HAVE_CONFIG_H/ in helpers.h. commit 8173ecbc8953a159ae0fa2fad94adf3553b0bf8e Author: Gustavo Niemeyer Date: Wed Jan 12 18:09:42 2011 -0200 Experimenting with internal cgo support for CFLAGS and LDFLAGS. commit 10c59a7d91867c206737dcd482fe68906a1484ca Author: Gustavo Niemeyer Date: Wed Jan 12 13:57:51 2011 -0200 Fix references to gobson in the documentation. commit 3323b7713e656f16fbd0eec27c60370b6237f4e3 Author: Gustavo Niemeyer Date: Wed Jan 12 11:48:41 2011 -0200 Unexport GoYString. commit d4766d1dff71f8a135a57e1fcff946c8c1a140ab Author: Gustavo Niemeyer Date: Wed Jan 12 11:41:42 2011 -0200 Added documentation. commit 3c0d4d4f56c36fcfd2da00ff26c40046512b4208 Author: Gustavo Niemeyer Date: Wed Jan 12 10:46:13 2011 -0200 Moving YAML version definitions into config.h. commit 205b70273c7999d96b32db43ab54337690817184 Author: Gustavo Niemeyer Date: Tue Jan 11 23:07:04 2011 -0200 Fixed copyright message. commit a0ae8d516398f3724bb3db614ab47f0e4f643f2e Author: Gustavo Niemeyer Date: Tue Jan 11 23:02:49 2011 -0200 Added license file and copyright notice. commit 05299e459464264cd87a230b62d1aca93725c51b Author: Gustavo Niemeyer Date: Tue Jan 11 12:07:22 2011 -0200 Cast outputHandler to the proper type in helpers.c. commit e6ec13e5a80029d7ebcbc2c90d16ce5ff1fa6c84 Author: Gustavo Niemeyer Date: Tue Jan 11 12:04:45 2011 -0200 Removing embedded yaml source tree, and extracted just the necessary .c files which are built together with goyaml itself. commit 2c1be0d7f7ff8305cf666e89152e9753c8b39004 Author: Gustavo Niemeyer Date: Mon Jan 10 19:41:23 2011 -0200 Implemented support for decoding anchors and aliases. commit f0766b44ca7999dc9af38a050ddf6db79d05bf3b Author: Gustavo Niemeyer Date: Mon Jan 10 16:19:54 2011 -0200 Implemented flow support for struct fields. commit e334f8522ac9fe2b381c329b3159a328eeb14f76 Author: Gustavo Niemeyer Date: Mon Jan 10 16:03:42 2011 -0200 Implemented encoding of values. commit f3293401ceedf2a32a1c22cb062b274dba6be798 Author: Gustavo Niemeyer Date: Fri Jan 7 21:25:58 2011 -0200 all_test.go => {suite,decode}_test.go commit 910de082618d0d8ccac6443a6e7a72cc8bcd5227 Author: Gustavo Niemeyer Date: Fri Jan 7 21:11:18 2011 -0200 Lots of enhancements on decoding (setter, tags, errors, etc). commit c7f6f9c6e6c14027a46eb91241427dba67604f39 Author: Gustavo Niemeyer Date: Wed Jan 5 15:29:30 2011 -0200 Decoding of structs working. commit 41168bb7ed2fc849bc36727a2b902bd8f447bfc2 Author: Gustavo Niemeyer Date: Wed Jan 5 11:17:34 2011 -0200 Progress in decoding values. commit d00346f943c9d2c43424c8a3840f5ca58817750d Author: Gustavo Niemeyer Date: Tue Jan 4 10:31:10 2011 -0200 Makefile now works with embedded libyaml. commit 00efe9c47819ca58089c4bd5d1d8463248e23228 Author: Gustavo Niemeyer Date: Tue Jan 4 10:02:03 2011 -0200 Initial repository import of goyaml + yaml 0.1.3.