Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-18 | * ext/psych/emitter.c (initialize): allow a configuration object to be | Aaron Patterson | |
passed to the constructor so that mutation isn't required after instantiation. * ext/psych/lib/psych/handler.rb: add configuration object * ext/psych/lib/psych/visitors/emitter.rb: use configuration object if extra configuration is present. | |||
2012-05-17 | * ext/psych/parser.c (transcode_string): fix encoding index names. | Aaron Patterson | |
Thanks markizko for reporting. | |||
2012-05-15 | * ext/psych/lib/psych/visitors/to_ruby.rb: fix a bug with string | Aaron Patterson | |
subclass dumping and loading. * test/psych/test_array.rb: pertinent tests * test/psych/test_string.rb: ditto | |||
2012-05-15 | * ext/psych/lib/psych/visitors/to_ruby.rb: convert omap tagged maps to | Aaron Patterson | |
Psych::Omap objects rather than hashes. [Bug #6425] * test/psych/test_omap.rb: pertinent test. | |||
2012-05-15 | * ext/psych/lib/psych/visitors/yaml_tree.rb: keep a reference to | Aaron Patterson | |
custom coders so that GC does not impact dumped yaml reference ids. Fixes #60 | |||
2012-04-29 | * ext/psych/lib/psych/json/yaml_events.rb: implicit styles should not | Aaron Patterson | |
be changeable for JSON events. | |||
2012-04-06 | * ext/psych/parser.c: fall back to any encoding if the external | Aaron Patterson | |
encoding is wrong. [ruby-core:44163] * test/psych/test_encoding.rb: fix test | |||
2012-03-08 | * ext/psych/lib/psych.rb (load, parse): stop parsing or loading after | Aaron Patterson | |
the first document has been parsed. * test/psych/test_stream.rb: pertinent tests. | |||
2012-03-08 | * ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is | Aaron Patterson | |
given, documents will be yielded to the block as they are parsed. [ruby-core:42404] [Bug #5978] * ext/psych/lib/psych/handlers/document_stream.rb: add a handler that yields documents as they are parsed * test/psych/test_stream.rb: corresponding tests. | |||
2012-03-05 | * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded | Aaron Patterson | |
in order to stop method pollution. fixes #50 | |||
2012-03-05 | * ext/psych/lib/psych.rb: default open YAML files with utf8 external | Aaron Patterson | |
encoding. [ruby-core:42967] * test/psych/test_tainted.rb: ditto | |||
2012-02-27 | * ext/psych/parser.c: prevent a memory leak by protecting calls to | Aaron Patterson | |
handler callbacks. * test/psych/test_parser.rb: test to demonstrate leak. | |||
2012-02-23 | * ext/psych/parser.c: set parser encoding based on the YAML input | Aaron Patterson | |
rather than user configuration. * test/psych/test_encoding.rb: corresponding tests. * test/psych/test_parser.rb: ditto * test/psych/test_tainted.rb: ditto | |||
2012-02-09 | * ext/psych/parser.c: removed external encoding setter, allow parser | Aaron Patterson | |
to be reused. * ext/psych/lib/psych/parser.rb: added external encoding setter. * test/psych/test_parser.rb: test parser reuse | |||
2012-01-17 | * ext/psych/lib/psych/visitors/to_ruby.rb: Added support for loading | Aaron Patterson | |
subclasses of String with ivars * ext/psych/lib/psych/visitors/yaml_tree.rb: Added support for dumping subclasses of String with ivars * test/psych/test_string.rb: corresponding tests | |||
2011-12-17 | * ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restored | Aaron Patterson | |
from YAML. * ext/psych/lib/psych/visitors/yaml_tree.rb: BigDecimals can be dumped to YAML. * test/psych/test_numeric.rb: tests for BigDecimal serialization Fixes #31 | |||
2011-12-17 | * ext/psych/lib/psych/scalar_scanner.rb: Strings that look like dates | Aaron Patterson | |
should be treated as strings and not dates. Fixes #42 * test/psych/test_scalar_scanner.rb: corresponding tests. | |||
2011-12-06 | * ext/psych/lib/psych.rb (module Psych): parse and load methods take | Aaron Patterson | |
an optional file name that is used when raising Psych::SyntaxError exceptions * ext/psych/lib/psych/syntax_error.rb (module Psych): allow nil file names and handle nil file names in the exception message * test/psych/test_exception.rb (module Psych): Tests for changes. | |||
2011-12-06 | * ext/psych/parser.c (parse): parse method can take an option file | Aaron Patterson | |
name for use in exception messages. * test/psych/test_parser.rb: corresponding tests. | |||
2011-11-21 | * ext/psych/lib/psych.rb: remove autoload from psych | Aaron Patterson | |
* ext/psych/lib/psych/json.rb: ditto | |||
2011-11-16 | * ext/psych/lib/psych.rb (load_file): make sure opened yaml files are | Aaron Patterson | |
also closed. [ruby-core:41088] | |||
2011-11-08 | * ext/psych/lib/psych/tree_builder.rb: dump complex numbers, | Aaron Patterson | |
rationals, etc with reference ids. * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto * ext/psych/lib/psych/visitors/to_ruby.rb: loading complex numbers, rationals, etc with reference ids. * test/psych/test_object_references.rb: corresponding tests fixes #36 | |||
2011-11-07 | * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look | Aaron Patterson | |
like base 60 numbers are serialized as quoted strings. * test/psych/test_string.rb: test for change. Fixes #25 | |||
2011-10-04 | adding more information to the syntax error exception | Aaron Patterson | |
2011-10-04 | Using context_mark from the parser struct for accuruate line / column | Aaron Patterson | |
offsets during an exception. | |||
2011-10-03 | Use `yaml` rather than `to_yaml` to avoid ENGINE changes removing this | Aaron Patterson | |
method. | |||
2011-10-03 | Avoid accepting incorrect floating point values. | Aaron Patterson | |
2011-10-03 | * ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be | Aaron Patterson | |
constructed with a ScalarScanner. * ext/psych/lib/psych/visitors/yaml_tree.rb: ScalarScanner can be passed to the YAMLTree visitor. | |||
2011-10-03 | adding history from ruby-core | Aaron Patterson | |
2011-09-01 | Strings tagged binary will be emitted as binary. Fixes #27 | Aaron Patterson | |
2011-08-24 | * ext/psych/lib/psych/nodes/node.rb: default `to_yaml` encoding to be | Aaron Patterson | |
UTF-8. * test/psych/test_encoding.rb: test yaml dump encoding. | |||
2011-06-21 | fixing cyclic object reference handling. Thanks to @CvX for the test. fixes #19 | Aaron Patterson | |
2011-06-09 | bumping version and copying changelog from ruby core | Aaron Patterson | |
2009-09-28 | CHANGELOG and README cleanup for hoe-git. | John Barnette | |
2009-09-26 | initial commit | Aaron Patterson | |