1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

4 commits

Author SHA1 Message Date
knu
6fb3ce9804 * lib/yaml/baseemitter.rb, lib/yaml/encoding.rb: performance
tuning around String#gsub.

* lib/yaml/tag.rb: Replace nodoc with stopdoc so Module methods get
  documented.

* lib/yaml/store.rb (YAML::load): modified to support empty
  database.

* lib/yaml/store.rb (YAML::Store::marshal_dump_supports_canonical_option?):
  add a method to support faster PStore.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-19 11:38:35 +00:00
why
e1f2cdb6a5 * ext/syck/token.c: re2c no longer compiled with bit vectors. caused
problems for non-ascii characters. [ruby-core:03280]
* ext/syck/implicit.c: ditto.
* ext/syck/bytecode.c: ditto.

* lib/yaml/baseemitter.rb: folding now handles double-quoted strings,
  fixed problem with extra line feeds at end of folding, whitespace
  opening scalar blocks.

* lib/yaml/rubytypes.rb: subtelties in handling strings with
  non-printable characters and odd whitespace patterns.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-18 20:54:40 +00:00
why
e921ea2d78 * ext/syck/token.c: preserve newlines prepended to a block.
* ext/syck/implicit.c (syck_match_implicit): added !merge and !default.

* lib/yaml/constants.rb: remove '\z' escape.

* lib/yaml/emitter.rb: ensure reset of @seq_map shortcut flag.

* lib/yaml/encoding.rb: remove Unicode translation methods.

* lib/yaml/rubytypes.rb: improved round-tripping of Strings.
  [ruby-core:1134]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 14:15:27 +00:00
why
55f4dc4c9a Initial checkin of YAML substances.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-09 21:25:50 +00:00