Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 95 lines (67 sloc) 3.777 kb
8dd7448 @tenderlove * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
authored
1 Mon Nov 7 20:31:52 2011 Aaron Patterson <aaron@tenderlovemaking.com>
2
3 * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
4 like base 60 numbers are serialized as quoted strings.
5 * test/psych/test_string.rb: test for change.
6
524da34 @tenderlove adding more information to the syntax error exception
authored
7 Wed Oct 5 02:50:27 2011 Aaron Patterson <aaron@tenderlovemaking.com>
8
9 * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
10 message attributes during parse failure.
11 * ext/psych/parser.c: Update parser to raise exception with correct
12 values.
13 * test/psych/test_exception.rb: corresponding tests.
14
64f27ed @tenderlove Using context_mark from the parser struct for accuruate line / column
authored
15 Wed Oct 5 01:52:16 2011 Aaron Patterson <aaron@tenderlovemaking.com>
16
17 * ext/psych/parser.c (parse): Use context_mark for indicating error
18 line and column.
19
cda70ad @tenderlove Use `yaml` rather than `to_yaml` to avoid ENGINE changes removing this
authored
20 Tue Oct 4 06:29:55 2011 Aaron Patterson <aaron@tenderlovemaking.com>
21
22 * ext/psych/lib/psych.rb: calling `yaml` rather than `to_yaml`.
23 * ext/psych/lib/psych/nodes/node.rb: Rename `to_yaml` to just `yaml`
24 in order to avoid YAML::ENGINE switching from replacing this method.
25 * test/psych/helper.rb: fix tests for method name change.
26 * test/psych/test_document.rb: ditto
27 * test/psych/visitors/test_emitter.rb: ditto
28
2422a9f @tenderlove Avoid accepting incorrect floating point values.
authored
29 Tue Oct 4 06:20:19 2011 Aaron Patterson <aaron@tenderlovemaking.com>
30
31 * ext/psych/lib/psych/scalar_scanner.rb: Match values against the
32 floating point spec defined in YAML to avoid erronious parses.
33 * test/psych/test_numeric.rb: corresponding test.
34
68a91d5 @tenderlove * ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
authored
35 Tue Oct 4 05:59:24 2011 Aaron Patterson <aaron@tenderlovemaking.com>
36
37 * ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
38 constructed with a ScalarScanner.
39 * ext/psych/lib/psych/visitors/yaml_tree.rb: ScalarScanner can be
40 passed to the YAMLTree visitor.
41
89ff730 @tenderlove adding history from ruby-core
authored
42 Tue Oct 4 05:47:23 2011 Aaron Patterson <aaron@tenderlovemaking.com>
43
44 * ext/psych/lib/psych/visitors/to_ruby.rb: Define Regexp::NOENCODING
45 for 1.9.2 backwards compatibility.
46 * ext/psych/lib/psych/visitors/yaml_tree.rb: Fix Date string
47 generation for 1.9.2 backwards compatibility.
48
c9cd187 @tenderlove Strings tagged binary will be emitted as binary. Fixes #27
authored
49 Fri Sep 2 04:05:25 2011 Aaron Patterson <aaron@tenderlovemaking.com>
50
51 * ext/psych/lib/psych/visitors/yaml_tree.rb: emit strings tagged as
52 ascii-8bit as binary in YAML.
53 * test/psych/test_string.rb: corresponding test.
54
fe65329 @tenderlove * ext/psych/lib/psych/nodes/node.rb: default `to_yaml` encoding to be
authored
55 Thu Aug 25 06:11:35 2011 Aaron Patterson <aaron@tenderlovemaking.com>
56
57 * ext/psych/lib/psych/nodes/node.rb: default `to_yaml` encoding to be
58 UTF-8.
59 * test/psych/test_encoding.rb: test yaml dump encoding.
60
478a7ac @tenderlove fixing cyclic object reference handling. Thanks to @CvX for the test.…
authored
61 Wed Jun 22 03:20:52 2011 Aaron Patterson <aaron@tenderlovemaking.com>
62
63 * ext/psych/lib/psych/visitors/to_ruby.rb: Fix cyclic references of
64 objects. Thanks to CvX for reporting the bug and a test case.
65 * test/psych/test_object.rb: test for cyclic object references.
66
ef6db4f @tenderlove bumping version and copying changelog from ruby core
authored
67 Thu Jun 9 10:57:03 2011 Aaron Patterson <aaron@tenderlovemaking.com>
ec8ae73 @tenderlove initial commit
authored
68
ef6db4f @tenderlove bumping version and copying changelog from ruby core
authored
69 * ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be read
70 from YAML files.
71 * ext/psych/lib/psych/visitors/yaml_tree.rb: Hash subclasses can be
72 dumped to YAML files.
73 * test/psych/test_hash.rb: corresponding test.
74
75 Thu Jun 9 09:18:51 2011 Aaron Patterson <aaron@tenderlovemaking.com>
76
77 * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loaded
78 from YAML files.
79 * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby modules can be
80 dumped to YAML files.
81 * test/psych/test_class.rb: corresponding test.
82
83 Thu Jun 9 09:05:04 2011 Aaron Patterson <aaron@tenderlovemaking.com>
84
85 * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby classes can be loaded
86 from YAML files.
87 * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby classes can be
88 dumped to YAML files.
89 * test/psych/test_class.rb: corresponding test.
90
91 Mon Jun 6 09:39:43 2011 Aaron Patterson <aaron@tenderlovemaking.com>
92
93 * ext/psych/parser.c (parse): release event objects to plug memory
94 leak. Thanks Mark J. Titorenko!
Something went wrong with that request. Please try again.