Skip to content

HTTPS clone URL

Subversion checkout URL

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