ruby/ext
tenderlove 7d984d76ba merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212]
* ext/psych/lib/psych.rb: updating version to match gem
	* ext/psych/psych.gemspec: ditto
	* ext/psych/lib/psych/visitors/to_ruby.rb: fixing deprecation warning

	* ext/psych/lib/psych.rb: define a new BadAlias error class.

	* ext/psych/lib/psych/visitors/to_ruby.rb: raise an exception when
	  deserializing an alias that does not exist.

	* test/psych/test_merge_keys.rb: corresponding test.

	* ext/psych/lib/psych.rb (load, parse): stop parsing or loading after
	  the first document has been parsed.

	* test/psych/test_stream.rb: pertinent tests.

	* ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is
	  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.

	* ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded
	  in order to stop method pollution.

	* ext/psych/lib/psych.rb: default open YAML files with utf8 external
	  encoding. [ruby-core:42967]
	* test/psych/test_tainted.rb: ditto

	* ext/psych/parser.c: prevent a memory leak by protecting calls to
	  handler callbacks.
	* test/psych/test_parser.rb: test to demonstrate leak.

	* ext/psych/parser.c: set parser encoding based on the YAML input
	  rather than user configuration.
	* test/psych/test_encoding.rb: corresponding tests.
	* test/psych/test_parser.rb: ditto
	* test/psych/test_tainted.rb: ditto

	* ext/psych/parser.c: removed external encoding setter, allow parser
	  to be reused.
	* ext/psych/lib/psych/parser.rb: added external encoding setter.
	* test/psych/test_parser.rb: test parser reuse

	* ext/psych/lib/psych/visitors/to_ruby.rb: Added support for loading
	  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

	* ext/psych/lib/psych/visitors/to_ruby.rb: Added ability to load array
	  subclasses with ivars.
	* ext/psych/lib/psych/visitors/yaml_tree.rb: Added ability to dump
	  array subclasses with ivars.
	* test/psych/test_array.rb: corresponding tests

	* ext/psych/emitter.c: fixing clang warnings. Thanks Joey!

	* ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restored
	  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

	* ext/psych/lib/psych/scalar_scanner.rb: Strings that look like dates
	  should be treated as strings and not dates.

	* test/psych/test_scalar_scanner.rb: corresponding tests.

	* ext/psych/lib/psych.rb (module Psych): parse and load methods take
	  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.

	* ext/psych/parser.c (parse): parse method can take an option file
	  name for use in exception messages.
	* test/psych/test_parser.rb: corresponding tests.

	* ext/psych/lib/psych.rb: remove autoload from psych
	* ext/psych/lib/psych/json.rb: ditto

	* ext/psych/lib/psych/tree_builder.rb: dump complex numbers,
	  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

	* ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
	  like base 60 numbers are serialized as quoted strings.
	* test/psych/test_string.rb: test for change.

	* ext/psych/parser.c: remove unused variable.

	* ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
	  message attributes during parse failure.
	* ext/psych/parser.c: Update parser to raise exception with correct
	  values.
	* test/psych/test_exception.rb: corresponding tests.

	* ext/psych/parser.c (parse): Use context_mark for indicating error
	  line and column.

	* ext/psych/lib/psych/scalar_scanner.rb: use normal begin / rescue
	  since postfix rescue cannot receive the exception class. Thanks
	  nagachika!

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-29 01:25:11 +00:00
..
-test- * string.c (rb_str_modify_expand): fix memory leak. 2012-02-08 13:30:04 +00:00
bigdecimal merge revision(s) 32747: 2012-03-06 03:27:16 +00:00
continuation * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
coverage * ext/coverage/coverage.c: resurrect r32071 + add GC guard for 2011-07-04 15:55:06 +00:00
curses * ext/curses/curses.c: Clean up documentation. 2011-06-17 04:10:37 +00:00
date merge revision(s) 33326: 2012-02-21 09:27:51 +00:00
dbm merge revision(s) 34644: 2012-02-17 01:16:19 +00:00
digest * Backport r32950 from trunk. 2011-08-12 17:26:00 +00:00
dl merge revision(s) 32712,32718,32719: [Backport #6014] 2012-02-14 20:09:27 +00:00
etc * ext: remove trailing spaces. 2011-05-22 09:26:02 +00:00
fcntl .cvsignore: have not been used already. [Bug #3468] 2010-08-07 05:43:21 +00:00
fiber * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
fiddle merge revision(s) 34626,34627: 2012-02-15 21:31:16 +00:00
gdbm * enc/utf_16le.c: surpress warning: shorten-64-to-32. 2011-03-21 21:23:42 +00:00
iconv * ext/iconv/iconv.c (Init_iconv): no warnings if $VERBOSE is nil. 2010-12-03 23:50:13 +00:00
io merge revision(s) 34917: 2012-03-06 03:48:34 +00:00
json merge revision(s) 34306: 2012-02-05 15:06:50 +00:00
mathn * complex.c (nucomp_canonicalization): renamed. 2008-12-12 23:40:55 +00:00
nkf merge revision(s) 33225: 2011-09-08 12:18:41 +00:00
objspace * backport r32876 from trunk. 2011-08-07 05:18:22 +00:00
openssl merge revision(s) 33485: 2012-02-10 17:27:22 +00:00
pathname * backport r33086 from trunk. 2011-08-26 23:54:49 +00:00
psych merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212] 2012-03-29 01:25:11 +00:00
pty merge revision(s) 33468: 2012-01-03 01:00:23 +00:00
racc/cparse .cvsignore: have not been used already. [Bug #3468] 2010-08-07 05:43:21 +00:00
readline * remove trailing spaces. 2012-02-09 03:25:07 +00:00
ripper * ext: remove trailing spaces. 2011-05-22 09:26:02 +00:00
sdbm * ext/sdbm/init.c: parenthesize macro arguments. 2011-03-25 12:56:34 +00:00
socket * remove trailing spaces. 2012-02-09 03:25:07 +00:00
stringio merge revision(s) 34376: 2012-03-06 03:32:28 +00:00
strscan * ext/strscan/strscan.c: parenthesize macro arguments. 2011-03-31 11:42:23 +00:00
syck merge revision(s) 34908: 2012-03-06 02:43:21 +00:00
syslog * ext: remove trailing spaces. 2011-05-22 09:26:02 +00:00
tk * ex/tk/extconf.rb: support for the latest ActiveTcl with mingw. 2011-06-29 14:11:19 +00:00
win32ole * ext: remove trailing spaces. 2011-05-22 09:26:02 +00:00
zlib merge revision(s) 33946: 2012-02-10 18:37:45 +00:00
.document * backport r32981 and r32982 from trunk. 2011-08-16 00:51:58 +00:00
extmk.rb * ext/extmk.rb (extmake): suppresses outputs from extconf.rb. 2011-07-03 14:44:59 +00:00
Setup * sprintf.c (rb_str_format): allow %c to print one character 2006-06-09 21:20:17 +00:00
Setup.atheos * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.emx * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.nt * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00