summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-23Merge pull request #53 from eregon/patch-1Aaron Patterson
add missing #warn in #init_with for #yaml_initialize deprecation
2012-03-23add missing #warn in #init_with for #yaml_initialize deprecationBenoit Daloze
2012-03-08* ext/psych/lib/psych.rb (load, parse): stop parsing or loading afterAaron 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 isAaron 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-05only run test on ruby less than 2.0.0Aaron Patterson
2012-03-05testing against ruby-headAaron Patterson
2012-03-05* ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loadedAaron Patterson
in order to stop method pollution. fixes #50
2012-03-05* ext/psych/lib/psych.rb: default open YAML files with utf8 externalAaron 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 toAaron 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 inputAaron 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 parserAaron 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 loadingAaron 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
2012-01-17syncing with ruby trunkAaron Patterson
2011-12-17* ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restoredAaron 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 datesAaron 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 takeAaron 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 fileAaron Patterson
name for use in exception messages. * test/psych/test_parser.rb: corresponding tests.
2011-11-29sync with ruby-coreAaron Patterson
2011-11-21* ext/psych/lib/psych.rb: remove autoload from psychAaron Patterson
* ext/psych/lib/psych/json.rb: ditto
2011-11-16infinite loop seems fixed, so I can uncomment this assertionAaron Patterson
2011-11-16* ext/psych/lib/psych.rb (load_file): make sure opened yaml files areAaron Patterson
also closed. [ruby-core:41088]
2011-11-16Merge pull request #38 from brookemckim/masterAaron Patterson
Link to libyaml's website in README was incorrect.
2011-11-15Fixed url to libyaml website.Brooke McKim
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 lookAaron Patterson
like base 60 numbers are serialized as quoted strings. * test/psych/test_string.rb: test for change. Fixes #25
2011-11-07merging from rubyAaron Patterson
2011-11-02updating the manifestAaron Patterson
2011-11-01another merge from ruby coreAaron Patterson
2011-11-01merging from rubyAaron Patterson
2011-10-04adding more information to the syntax error exceptionAaron Patterson
2011-10-04Using context_mark from the parser struct for accuruate line / columnAaron Patterson
offsets during an exception.
2011-10-04Merge pull request #33 from nagachika/fix_rescue_syntaxAaron Patterson
postfix rescue statement cannot receive Exception class specification.
2011-10-04postfix rescue statement cannot receive Exception class specification.nagachika
2011-10-03also need rake compilerAaron Patterson
2011-10-03isolating before testingAaron Patterson
2011-10-03only need isolate and hoeAaron Patterson
2011-10-03updating travis yamlAaron Patterson
2011-10-03need hoe and isolate to runAaron Patterson
2011-10-03using isolate, updating travis commandAaron Patterson
2011-10-03fix manifest again. dohAaron Patterson
2011-10-03updating manifest, bumping up to 1.2.2Aaron Patterson
2011-10-03Use `yaml` rather than `to_yaml` to avoid ENGINE changes removing thisAaron Patterson
method.
2011-10-03Avoid accepting incorrect floating point values.Aaron Patterson
2011-10-03* ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can beAaron Patterson
constructed with a ScalarScanner. * ext/psych/lib/psych/visitors/yaml_tree.rb: ScalarScanner can be passed to the YAMLTree visitor.
2011-10-03adding history from ruby-coreAaron Patterson
2011-10-03sync with ruby coreAaron Patterson
2011-10-03adding the bundler GemfileAaron Patterson
2011-10-03adding a travis yamlAaron Patterson
2011-10-03rc1Aaron Patterson
2011-10-031.9.2 compatibilityAaron Patterson