Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 129 lines (91 sloc) 5.168 kb
40b1bc7 @tenderlove * ext/psych/lib/psych.rb (module Psych): parse and load methods take
authored
1 Wed Dec 7 08:04:31 2011 Aaron Patterson <aaron@tenderlovemaking.com>
2
3 * ext/psych/lib/psych.rb (module Psych): parse and load methods take
4 an optional file name that is used when raising Psych::SyntaxError
5 exceptions
6 * ext/psych/lib/psych/syntax_error.rb (module Psych): allow nil file
7 names and handle nil file names in the exception message
8 * test/psych/test_exception.rb (module Psych): Tests for changes.
9
7aad593 @tenderlove * ext/psych/parser.c (parse): parse method can take an option file
authored
10 Wed Nov 30 09:09:37 2011 Aaron Patterson <aaron@tenderlovemaking.com>
11
12 * ext/psych/parser.c (parse): parse method can take an option file
13 name for use in exception messages.
14 * test/psych/test_parser.rb: corresponding tests.
15
363fad7 @tenderlove * ext/psych/lib/psych.rb: remove autoload from psych
authored
16 Tue Nov 22 04:46:22 2011 Aaron Patterson <aaron@tenderlovemaking.com>
17
18 * ext/psych/lib/psych.rb: remove autoload from psych
19 * ext/psych/lib/psych/json.rb: ditto
20
312965d @tenderlove * ext/psych/lib/psych.rb (load_file): make sure opened yaml files are
authored
21 Thu Nov 17 10:36:46 2011 Aaron Patterson <aaron@tenderlovemaking.com>
22
23 * ext/psych/lib/psych.rb (load_file): make sure opened yaml files are
24 also closed. [ruby-core:41088]
25
d7713a2 @tenderlove * ext/psych/lib/psych/tree_builder.rb: dump complex numbers,
authored
26 Wed Nov 9 04:52:16 2011 Aaron Patterson <aaron@tenderlovemaking.com>
27
28 * ext/psych/lib/psych/tree_builder.rb: dump complex numbers,
29 rationals, etc with reference ids.
30 * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
31 * ext/psych/lib/psych/visitors/to_ruby.rb: loading complex numbers,
32 rationals, etc with reference ids.
33 * test/psych/test_object_references.rb: corresponding tests
34
8dd7448 @tenderlove * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
authored
35 Mon Nov 7 20:31:52 2011 Aaron Patterson <aaron@tenderlovemaking.com>
36
37 * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
38 like base 60 numbers are serialized as quoted strings.
39 * test/psych/test_string.rb: test for change.
40
524da34 @tenderlove adding more information to the syntax error exception
authored
41 Wed Oct 5 02:50:27 2011 Aaron Patterson <aaron@tenderlovemaking.com>
42
43 * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
44 message attributes during parse failure.
45 * ext/psych/parser.c: Update parser to raise exception with correct
46 values.
47 * test/psych/test_exception.rb: corresponding tests.
48
64f27ed @tenderlove Using context_mark from the parser struct for accuruate line / column
authored
49 Wed Oct 5 01:52:16 2011 Aaron Patterson <aaron@tenderlovemaking.com>
50
51 * ext/psych/parser.c (parse): Use context_mark for indicating error
52 line and column.
53
cda70ad @tenderlove Use `yaml` rather than `to_yaml` to avoid ENGINE changes removing this
authored
54 Tue Oct 4 06:29:55 2011 Aaron Patterson <aaron@tenderlovemaking.com>
55
56 * ext/psych/lib/psych.rb: calling `yaml` rather than `to_yaml`.
57 * ext/psych/lib/psych/nodes/node.rb: Rename `to_yaml` to just `yaml`
58 in order to avoid YAML::ENGINE switching from replacing this method.
59 * test/psych/helper.rb: fix tests for method name change.
60 * test/psych/test_document.rb: ditto
61 * test/psych/visitors/test_emitter.rb: ditto
62
2422a9f @tenderlove Avoid accepting incorrect floating point values.
authored
63 Tue Oct 4 06:20:19 2011 Aaron Patterson <aaron@tenderlovemaking.com>
64
65 * ext/psych/lib/psych/scalar_scanner.rb: Match values against the
66 floating point spec defined in YAML to avoid erronious parses.
67 * test/psych/test_numeric.rb: corresponding test.
68
68a91d5 @tenderlove * ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
authored
69 Tue Oct 4 05:59:24 2011 Aaron Patterson <aaron@tenderlovemaking.com>
70
71 * ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
72 constructed with a ScalarScanner.
73 * ext/psych/lib/psych/visitors/yaml_tree.rb: ScalarScanner can be
74 passed to the YAMLTree visitor.
75
89ff730 @tenderlove adding history from ruby-core
authored
76 Tue Oct 4 05:47:23 2011 Aaron Patterson <aaron@tenderlovemaking.com>
77
78 * ext/psych/lib/psych/visitors/to_ruby.rb: Define Regexp::NOENCODING
79 for 1.9.2 backwards compatibility.
80 * ext/psych/lib/psych/visitors/yaml_tree.rb: Fix Date string
81 generation for 1.9.2 backwards compatibility.
82
c9cd187 @tenderlove Strings tagged binary will be emitted as binary. Fixes #27
authored
83 Fri Sep 2 04:05:25 2011 Aaron Patterson <aaron@tenderlovemaking.com>
84
85 * ext/psych/lib/psych/visitors/yaml_tree.rb: emit strings tagged as
86 ascii-8bit as binary in YAML.
87 * test/psych/test_string.rb: corresponding test.
88
fe65329 @tenderlove * ext/psych/lib/psych/nodes/node.rb: default `to_yaml` encoding to be
authored
89 Thu Aug 25 06:11:35 2011 Aaron Patterson <aaron@tenderlovemaking.com>
90
91 * ext/psych/lib/psych/nodes/node.rb: default `to_yaml` encoding to be
92 UTF-8.
93 * test/psych/test_encoding.rb: test yaml dump encoding.
94
478a7ac @tenderlove fixing cyclic object reference handling. Thanks to @CvX for the test. f...
authored
95 Wed Jun 22 03:20:52 2011 Aaron Patterson <aaron@tenderlovemaking.com>
96
97 * ext/psych/lib/psych/visitors/to_ruby.rb: Fix cyclic references of
98 objects. Thanks to CvX for reporting the bug and a test case.
99 * test/psych/test_object.rb: test for cyclic object references.
100
ef6db4f @tenderlove bumping version and copying changelog from ruby core
authored
101 Thu Jun 9 10:57:03 2011 Aaron Patterson <aaron@tenderlovemaking.com>
ec8ae73 @tenderlove initial commit
authored
102
ef6db4f @tenderlove bumping version and copying changelog from ruby core
authored
103 * ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be read
104 from YAML files.
105 * ext/psych/lib/psych/visitors/yaml_tree.rb: Hash subclasses can be
106 dumped to YAML files.
107 * test/psych/test_hash.rb: corresponding test.
108
109 Thu Jun 9 09:18:51 2011 Aaron Patterson <aaron@tenderlovemaking.com>
110
111 * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loaded
112 from YAML files.
113 * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby modules can be
114 dumped to YAML files.
115 * test/psych/test_class.rb: corresponding test.
116
117 Thu Jun 9 09:05:04 2011 Aaron Patterson <aaron@tenderlovemaking.com>
118
119 * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby classes can be loaded
120 from YAML files.
121 * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby classes can be
122 dumped to YAML files.
123 * test/psych/test_class.rb: corresponding test.
124
125 Mon Jun 6 09:39:43 2011 Aaron Patterson <aaron@tenderlovemaking.com>
126
127 * ext/psych/parser.c (parse): release event objects to plug memory
128 leak. Thanks Mark J. Titorenko!
Something went wrong with that request. Please try again.