summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-28* lib/psych.rb: specify in rdoc what object is returned in parserZachary Scott
By Adam Stankiewicz [Github Fixes #133]
2013-02-28* lib/psych.rb: rdoc for Psych overview by Adam StankiewiczZachary Scott
[Github Fixes #134]
2013-02-16Missed author from 706545cZachary Scott
2013-02-16* lib/psych/y.rb: Document Kernel#y [Github Fixes #127]Zachary Scott
2013-02-07* ext/psych/lib/psych/visitors/yaml_tree.rb: fixing string quotationAaron Patterson
when dumping Ruby strings. Thanks Ingy * test/psych/test_psych.rb: appropriate tests. * test/psych/test_yaml.rb: ditto
2013-02-07* ext/psych/lib/psych/visitors/yaml_tree.rb: change output referenceAaron Patterson
ids to be sequential numbers.
2013-02-06sync with ruby trunkAaron Patterson
2013-01-16* ext/psych/lib/psych/scalar_scanner.rb: use constants rather thanAaron Patterson
calculating Inf and NaN.
2013-01-13* ext/psych/yaml/scanner.c: Typos by James Dabbs [Github Fixes #118]Zachary Scott
2013-01-11* ext/psych/lib/psych/visitors/to_ruby.rb: merge key values thatAaron Patterson
contain something besides a hash should be left in tact. * test/psych/test_merge_keys.rb: test for change fixes #114
2013-01-09* ext/psych/lib/psych/scalar_scanner.rb: strip trailing dots fromAaron Patterson
floats so that Float() will not raise an exception. * test/psych/test_numeric.rb: test to ensure "1." can be loaded * test/psych/test_string.rb: make sure "1." can round trip fixes #109
2013-01-06Merge pull request #113 from pck/improve-string-encodingAaron Patterson
Improve string encoding
2013-01-06Changed Psych::Visitors::YAMLTree.binary?(string).Paul Kunysch
* A human-readable representation can be used for ascii_only 8bit-encoded strings. * String subclasses are binary, even if they are character-encoded.
2013-01-06Testing 8bit ascii_only strings.Paul Kunysch
2013-01-06Testing custom character-based class.Paul Kunysch
2013-01-03* lib/psych.rb (Psych.load): Return value of Psych::SyntaxError.messageZachary Scott
should be same as example. Patch by Ippei Obayashi [ruby-core:51193]
2012-12-17Merge branch 'master' into nirvdrum-speed_up_node_mappingAaron Patterson
* master: (28 commits) merge changes from ruby trunk Strings that start with non-word characters should double quote without exclamation mark fixing rsync make some header file adjustments for ruby compile updating the version to 2.0 add the license for libyaml Update README.rdoc fix c file name only do have_header checks if we are embedding libyaml mkmf has a global for this test fix build on windows only embed libyaml if the system does not have it * ext/psych/lib/psych/scalar_scanner.rb: avoid raising exceptions when parsing Floats and Integers. Thanks riffraff [ruby-core:44426] * test/psych/test_numeric.rb: associated test * ext/psych/lib/psych/core_ext.rb: move Kernel#y so that it can manually be required as 'psych/y'. for compiling on mswin embedding libyaml * ruby.c (load_file_internal): set default source encoding as UTF-8 instead of US-ASCII. [ruby-core:46021] [Feature #6679] * ext/psych/lib/psych/handlers/recorder.rb: added a class for recording YAML parse and emit events. Use literal style when emitting multiline strings, fixes #64 * ext/psych/lib/psych/visitors/yaml_tree.rb: `tree` should return the same thing on every call. ...
2012-12-13merge changes from ruby trunkAaron Patterson
2012-12-13Merge branch 'embed'Aaron Patterson
* embed: fixing rsync make some header file adjustments for ruby compile updating the version to 2.0 add the license for libyaml fix c file name only do have_header checks if we are embedding libyaml mkmf has a global for this test fix build on windows only embed libyaml if the system does not have it for compiling on mswin embedding libyaml
2012-12-08Merge pull request #106 from atambo/masterAaron Patterson
Strings that start with non-word characters should double quote without exclamation mark
2012-12-08Strings that start with non-word characters should double quote without ↵Alex Tambellini
exclamation mark Before this commit: --- ! '@123''abc' After this commit: --- "@123'abc"
2012-11-27fixing rsyncAaron Patterson
2012-11-27make some header file adjustments for ruby compileAaron Patterson
2012-11-27updating the version to 2.0Aaron Patterson
2012-11-27add the license for libyamlAaron Patterson
2012-11-27Merge branch 'master' into embedAaron Patterson
* master: Update README.rdoc * lib/psych/deprecated.rb (load_documents): document deprecation
2012-11-24Merge pull request #95 from stomar/doc_deprecatedZachary Scott
Document deprecation of Psych.load_documents
2012-11-20Merge pull request #104 from olivernn/patch-1Zachary Scott
Typo in README.rdoc
2012-11-20Update README.rdocOliver Nightingale
Tiny typo. Psych is the default YAML parser not the fault YAML parser.
2012-11-17Merge branch 'master' into embedAaron Patterson
* master: * ext/psych/lib/psych/scalar_scanner.rb: avoid raising exceptions when parsing Floats and Integers. Thanks riffraff [ruby-core:44426] * test/psych/test_numeric.rb: associated test * ext/psych/lib/psych/core_ext.rb: move Kernel#y so that it can manually be required as 'psych/y'. Use literal style when emitting multiline strings, fixes #64
2012-11-17fix c file nameAaron Patterson
2012-11-17only do have_header checks if we are embedding libyamlAaron Patterson
2012-11-17mkmf has a global for this testAaron Patterson
2012-11-17fix build on windowsAaron Patterson
2012-11-17only embed libyaml if the system does not have itAaron Patterson
2012-11-16Merge pull request #97 from atambo/masterAaron Patterson
Use literal style when emitting multiline strings, fixes #64
2012-11-16* ext/psych/lib/psych/scalar_scanner.rb: avoid raising exceptions whenAaron Patterson
parsing Floats and Integers. Thanks riffraff [ruby-core:44426] * test/psych/test_numeric.rb: associated test
2012-11-16* ext/psych/lib/psych/core_ext.rb: move Kernel#y so that it canAaron Patterson
manually be required as 'psych/y'. * ext/psych/lib/psych/y.rb: ditto r37694
2012-11-16Merge pull request #101 from tarui/embedAaron Patterson
for compiling on mswin
2012-11-17for compiling on mswinMasaya TARUI
I checked only mswin environment. Maybe it is required for mingw?
2012-11-16embedding libyamlAaron Patterson
2012-11-16* ruby.c (load_file_internal): set default source encoding asAaron Patterson
UTF-8 instead of US-ASCII. [ruby-core:46021] [Feature #6679] * parse.y (parser_initialize): set default parser encoding as UTF-8 instead of US-ASCII. r37485
2012-11-05Merge pull request #96 from zzak/masterAaron Patterson
Install documentation, fixes #91
2012-10-28* ext/psych/lib/psych/handlers/recorder.rb: added a class forAaron Patterson
recording YAML parse and emit events. * ext/psych/lib/psych/handler.rb: adding a list of events so that handler classes can more easily be meta-programmed. * test/psych/handlers/test_recorder.rb: tests for the change.
2012-10-28Use literal style when emitting multiline strings, fixes #64Alex Tambellini
2012-10-27* ext/psych/lib/psych/visitors/yaml_tree.rb: `tree` should return theAaron Patterson
same thing on every call. * test/psych/visitors/test_yaml_tree.rb: related test.
2012-10-27* ext/psych/lib/psych/visitors/yaml_tree.rb: YAML Tree object shouldAaron Patterson
be able to take an emitter object as it's output. * test/psych/visitors/test_yaml_tree.rb: related test.
2012-10-22merging from ruby trunkAaron Patterson
2012-10-22Ignore vim swap files and *.bundleEric Hodel
2012-10-22Psych::SyntaxError now inherits from RuntimeErrorEric Hodel
Previously Psych::SyntaxError inherited from SyntaxError. Since SyntaxError does not inherit from StandardError a plain rescue could not capture a YAML parse error. This made code that needed to handle psych errors slightly more complex. Psych::SyntaxError now inherits from Psych::Error (allowing room for future expansion of psych errors that can be caught under the same umbrella) and inherits from RuntimeError.