aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * ext/psych/lib/psych/visitors/to_ruby.rb (resolve_klass): fix thetenderlove2010-06-181-4/+4
| | | | | | | | | exception message when attempting to load an unknown class. Thanks nobu! [ruby-dev:41399] * test/psych/test_psych.rb: test for the exception message git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded.mame2010-06-151-1/+2
| | | | | | | | On Debian/lenny, which is a "supported" platform, ffi.h is installed in /usr/include/i486-linux-gnu/. This causes build error when using gcc whose target is not i486-linux-gnu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/extconf.rb: De Morgan's laws.eban2010-06-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/extconf.rb: use pkg_config to find ffi.h.eban2010-06-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/closure.c (dealloc): refix workaround r28300.naruse2010-06-131-7/+7
| | | | | | | | don't use ffi_closure_alloc, ffi_prep_closure_loc and ffi_closure_free on MACOSX and __linux__. [ruby-dev:41483] [ruby-dev:41214] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl.rb: don't require when already loaded.naruse2010-06-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/closure.c (dealloc): workaround fix for libffi'snaruse2010-06-121-0/+4
| | | | | | ffi_closure_free. [ruby-dev:41483] [ruby-dev:41214] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: __VA_ARGS__ is already checked in configure.nobu2010-06-111-10/+4
| | | | | | | * ext/openssl/extconf.rb: use try_static_assert for version check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb: accept Berkley DB version 3, 4 and 5.mame2010-06-111-3/+7
| | | | | | [ruby-dev:41531] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_sslctx_get_ciphers):naruse2010-06-111-2/+2
| | | | | | | use sk_SSL_CIPHER_num and sk_SSL_CIPHER_value instead of cast. patched by Takahiro Kambe [ruby-dev:41530] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_inspect): should taint the result.nobu2010-06-041-1/+4
| | | | | | | [ruby-dev:41533] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest/hmac.rb: Emit a deprecation warning inknu2010-06-031-0/+7
| | | | | | | | verbose mode and add a caution to the overview section of the document. [ruby-dev:41525] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings bynobu2010-06-032-12/+2
| | | | | | | | | rb_sprintf. * ext/dl/cptr.c (rb_dlptr_s_malloc): suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/dl.h (DLSTACK_TYPE): type of stack is same as VALUE.usa2010-06-031-1/+1
| | | | | | | reported by sakiyama shin in [ruby-dev:41514] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: fix typo and race condition.nagai2010-06-021-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl/cparser.rb (parse_ctype): add backwards compatibilitytenderlove2010-06-021-1/+1
| | | | | | | by supporting "uint" types in the c parser. [ruby-core:29750] * test/dl/test_cparser.rb: adding a test for "uint" changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: reject GPLv3 readline. [ruby-dev:39172]naruse2010-05-311-1/+7
| | | | | | [ruby-core:25272] [ruby-dev:39167] [ruby-core:28736] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when frameworksnagai2010-05-314-120/+573
| | | | | | | | | | | are enabled on MacOS X. * ext/tk/stubs.c: dirty hack for frameworks and stubs on MacOS X. * ext/tk/lib/tk.rb: stop creating a dummy Tcl/Tk interpreter. And hide a root window before starting eventloop. (for ruby 1.9) * ext/tk/tcltklib.c: add codes to support Ruby/Tk-Kit (Rubykit). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: updated to b856dd07.naruse2010-05-301-6/+6
| | | | | | this cleans warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_append_input2): add RB_GC_GUARD.mame2010-05-291-0/+1
| | | | | | This caused failure when test/csv is executed with GC.stress = true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2010-05-251-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/x509-internal.rb, lib/forwardable.rb,nobu2010-05-231-1/+1
| | | | | | | | | lib/irb/cmd/fork.rb, lib/mutex_m.rb, lib/shell/process-controller.rb, lib/sync.rb, object.c: suppress warnings patched by Benoit Daloze at [ruby-core:30366]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/json/stream.rb: adding a JSON streaming APItenderlove2010-05-226-19/+50
| | | | | | | | | | * ext/psych/lib/psych/stream.rb: ditto * ext/psych/lib/psych.rb: using autoload * ext/psych/lib/psych/json.rb: ditto * ext/psych/lib/psych/json/tree_builder.rb: refactor * ext/psych/lib/psych/visitors/json_tree.rb: refactor git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c (rb_nkf_convert, rb_nkf_guess): check too hugenobu2010-05-211-3/+3
| | | | | | | string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/implicit.c (YYFILL): suppress warnings.nobu2010-05-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * suppress warnings.nobu2010-05-217-30/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_invoke): raise NoMethodErrorsuke2010-05-201-2/+2
| | | | | | | | | when COM method is not found. [ruby-core:30160] [Bug #3277] * test/win32ole/test_win32ole.rb (test_no_method_error): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/emitter: f..king C99(gcc)-ism.usa2010-05-201-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/stream.rb: adding YAML streaming API fortenderlove2010-05-207-10/+92
| | | | | | | | infinite length streams. * ext/psych/lib/psych.rb: refactoring for streaming API * ext/psych/lib/psych/{handler, stream, tree_builder}.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/emitter.c: output strings are automatically transcodedtenderlove2010-05-191-2/+66
| | | | | | | * test/psych/test_emitter.rb: supporting tests * test/psych/test_encoding.rb: more supporting tests git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: [ruby-def:41334] [Bug #3307] invalid result on ↵nagai2010-05-191-3/+3
| | | | | | searching tcl.h/tk.h. Thanks, Masaya Tarui. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: mswin/mingw ruby has socketpair(), but it'susa2010-05-191-1/+2
| | | | | | | | not exist as such name in ruby static library, so mkmf.rb cannot find it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych.rb: Adding Psych::Exceptiontenderlove2010-05-192-0/+10
| | | | | | | * ext/psych/parser.c: Do not allow extern_encoding to be set twice * test/psych/test_parser.rb: test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/emitter.c: using xmalloc and xfree for memory allocationtenderlove2010-05-193-34/+56
| | | | | | | | * ext/psych/lib/psych/nodes/stream.rb: encoding should be read / write * ext/psych/parser.c: supporting UTF-16 and UTF-16 + BOM * test/psych/test_parser.rb: testing UTF-16 and UTF-16 + BOM git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c: suppress warning for signed and unsigned typemame2010-05-173-3/+3
| | | | | | | | | | | | inconsistency. * ext/psych/parser.c: ditto. * ext/sdbm/_sdbm.c: ditto. * ext/syck/rubyext.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/emitter.rb: removing unused file.tenderlove2010-05-166-127/+118
| | | | | | | | | | | | * ext/psych/lib/psych/json/tree_builder.rb: moving tree builder to an event based external class. * ext/psych/lib/psych/tree_builder.rb: adding an end_stream event. * ext/psych/lib/psych/visitors/json_tree.rb: using event based AST builder. * ext/psych/lib/psych/visitors/yaml_tree.rb: using event based AST builder. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/json_tree.rb: using factory methods fortenderlove2010-05-162-10/+20
| | | | | | | node creation * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments.nobu2010-05-161-1/+1
| | | | | | | a patch by Masaya TARUI <tarui AT prx.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (rb_iconv_sys_fail): raise BrokenLibrary ifnobu2010-05-151-0/+12
| | | | | | | errno is not set. [ruby-dev:41317] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (get_write_fd): return primary fd if nonobu2010-05-131-1/+1
| | | | | | io is tied for writing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (console_set_echo, console_echo_p): usenobu2010-05-131-2/+2
| | | | | | primary fd. [ruby-dev:41309] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/_sdbm.c: include unistd.h before sdbm.h for off_t.akr2010-05-121-4/+5
| | | | | | | fix compilation problem on FreeBSD 6.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (BigMath#log): improvednobu2010-05-121-2/+4
| | | | | | | precision and performance. [ruby-dev:41295] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test all IPPROTO_* constants for recent Win32usa2010-05-121-7/+6
| | | | | | | SDK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test IPPROTO_IP and IPPROTO_IPV6 constants.akr2010-05-112-4/+15
| | | | | | | | | | * ext/socket/mkconstants.rb: define macros for enum. [ruby-dev:38849] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan), ↵mrkn2010-05-111-1/+1
| | | | | | test/bigdecimal/test_bigmath.rb (test_atan): explicitly specify the precision for calculating a reciprocal number of an argument. [Bug #3267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/sdbm.h (DBM): large file support on win32.nobu2010-05-113-5/+7
| | | | | | | | | [ruby-core:23039] * ext/sdbm/depend: objects depend on sdbm.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c (PSYCH_TRANSCODE): get rid of bare use of gccnobu2010-05-111-14/+12
| | | | | | extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c: fixed broken indent.nobu2010-05-111-153/+154
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c (parse): Return strings encoded astenderlove2010-05-101-10/+20
| | | | | | | Encoding.default_internal if set. * test/psych/test_encoding.rb: Tests for encoding change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e