summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2008-07-23* ext/win32ole/win32ole.c: got rid of improper casts.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-23* ext/tk/{stubs,tcltklib}.c, ext/tk/tkutil/tkutil.c: fix warningsnobu
about constness and signedness. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-23* ext/openssl/openssl_missing.h (d2i_of_void): define for oldernobu
versions. [ruby-dev:35637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-23* ext/curses/extconf.rb: use try_static_assert.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22* ext/syck: suppress warnings more.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22* ext/syck: suppress warnings more.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22* ext/nkf/nkf-utf8/nkf.c (struct input_code.name, input_codename):nobu
constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22* ext/syck: suppress warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22* ext/openssl: suppress warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22* ext/syck/rubyext.c, ext/syck/yaml2byte.c, ext/syck/emitter.c,mame
ext/syck/syck.c, ext/syck/handler.c, ext/syck/syck.h: suppress GCC warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): BigDecimal#<=> shouldmame
return nil if an argument can't be coerced into BigDecimal. * ext/bigdecimal/bigdecimal.h, ext/bigdecimal/bigdecimal.c (VpIsNegDoubleZero, VpItoV): comment out unused functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22 * ext/socket/socket.c (connect_blocking, socks_connect_blocking,usa
ruby_connect): cast. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-20* ext/win32ole/win32ole.c (EVENTSINK_Invoke): use rb_protectsuke
instead of rb_rescue2. [ruby-dev:35595] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-19* ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.suke
* ext/win32ole/win32ole.c (EVENTSINK_GetIDsOfNames): return ITypeInfo::GetIDsOfNames(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-19* ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.suke
* ext/win32ole/win32ole.c: add document of inspect methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18* ext/win32ole/win32ole.c (EVENTSINK_Invoke): avoid cfp consistencysuke
error when exception raised in event callback. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-17 * ext/socket/socket.c (ruby_connect): select() for connect() hasusa
mean only when the socket is non-blocking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15* ext/tk/{,tkutil/}extconf.rb: ruby/ruby.h no longer needs to benobu
checked. * ext/tk/{tcltklib.c,tkutil/tkutil.c}: check macros for each headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15* ext/tk/extconf.rb, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: Doknu
not test ruby/ruby.h, which makes OS X's gcc pick the wrong header file from Ruby.framework. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15 * ext/socket/socket.c (ruby_connect, s_accept): came back blockingusa
region because other thread/process maybe read/write the socket between select() and connect()/accept(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15 * ext/socket/socket.c (ruby_connect, s_accept): no need to wrap byusa
blocking region if checked before readable/writable by select. * ext/socket/socket.c (bsock_send, s_recvfrom, udp_send, unix_send_io, unix_recv_io): should check readable/writable before blocking calling blocking functions. see [ruby-dev:35446] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-14 * ext/socket/extconf.rb: initialize winsock on win32 to avoid errorusa
dialog of OS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-13* ext/win32ole/win32ole.c (EVENTSINK_Invoke): using hashsuke
to set value to the reference argument of event. * test/win32ole/test_win32ole_event.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-12* ext/pty/pty.c (raise_from_wait, pty_syswait, get_device_once):nobu
constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-12* ext/socket/socket.c: use PRIuSIZE.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-11* ext/zlib/zlib.c (rb_deflate_params): flush before deflateParams.mame
[ruby-core:17675] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-10* ext/coverage/coverage.c (rb_coverage_start): return nil.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-09* ext/nkf/nkf-utf8/nkf.c (options): use input_endian.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-08* thread.c (rb_set_coverages, rb_reset_coverages): enable and disablemame
coverage measurement. * thread.c (rb_get_coverages): rename and move from vm.c. * vm.c (rb_vm_get_coverages): ditto. * iseq.c (prepare_iseq_build): ditto. * thread.c (clear_coverage): ditto. * parse.y (coverage): ditto. * ext/coverage/coverage.c: use above functions, add new method Coverage.start and fix rdoc . git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-08* ext/win32ole/win32ole.c (find_default_source): bug fix whensuke
OLE object does not have default source interface. * test/win32ole/test_win32ole_event.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-08* ext/win32ole/win32ole.c (find_default_source): try tosuke
find COCLASS when WIN32OLE object is not COCLASS. * test/win32ole/test_win32ole_event.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-07* ext/win32ole/win32ole.c(Init_win32ole): addsuke
WIN32OLE_TYPE#source_ole_types, WIN32OLE_TYPE#default_ole_types, WIN32OLE_TYPE#default_event_sources. * test/win32ole/test_win32ole_type.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-06* ext/socket/socket.c (bsock_send, s_recvfrom, ruby_connect, s_accept),nobu
(udp_send, unix_send_io, unix_recv_io): blocking region support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-05* ext/socket/socket.c (host_str): fix type mismatch in rb_raiseakr
format and argument. (port_str): ditto. (unix_recv_io): ditto. (sock_s_unpack_sockaddr_un): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-05* ext/win32ole/win32ole.c: add WIN32OLE#ole_respond_to?suke
* test/win32ole/test_win32ole.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-04* ext/win32ole/win32ole.c (d2time): fix the bug of VT_DATE suke
to String conversion when negative value. * test/win32ole/test_win32ole_variant.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03* include/ruby/intern.h: remove prototypes about coverage.mame
* iseq.c (prepare_iseq_build): add prototype. * parse.y (coverage): ditto. * thread.c (clear_coverage): ditto. * thread.c (update_coverage): use rb_sourceline. * thread.c (rb_get_coverages): rename and move to vm.c. * vm.c (rb_vm_get_coverages): ditto. * ext/coverage/coverage.c: add rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03* ext/coverage/coverage.c, ext/coverage/extconf.rb: eliminatemame
COVERAGE__ and introduce coverage.so instead. How to measure coverage: (1) require "coverage.so", (2) require or load Ruby source file, and (3) Coverage.result will return the same hash as COVERAGE__. [ruby-dev:35324] * thread.c (rb_enable_coverages): start coverage measurement by using rb_add_event_hook. * thread.c (rb_get_coverages): returns current results of coverage measurement. * include/ruby/intern.h: add prototype for above two functions. * vm_core.h, vm.c: add field of coverages to rb_vm_t. * insns.def (trace): remove special handling for COVERAGE__. * iseq.c (prepare_iseq_build): switch COVERAGE__ to rb_get_coverages(). * parse.y (coverage): ditto. * thread.c (clear_coverage): ditto. * lib/coverage.rb: use coverage.so instead of COVERAGE__. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03* ext/win32ole/win32ole.c (Init_win32ole): remove duplicate line.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02* sprintf.c: include ieeefp.h to refer isinf.mame
* ext/bigdecimal/bigdecimal.c: ditto. * ext/json/ext/generator/generator.c: ditto. * rational.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02* ext/win32ole/win32ole.c: avoid creating Ruby object duringsuke
GC. thanks to arton <artonx AT yahoo.co.jp>. [ruby-dev:35313] * test/win32ole/test_win32ole_event.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 * ext/digest/digest.c (rb_digest_instance_inspect): constified.shyouhei
* variable.c (rb_path2class): field precision should have type int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* ext/stringio/stringio.c (strio_getline): fix for nil and "" asmame
separator. [ruby-dev:34591] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* ext/syslog/syslog.c (syslog_write): syslog operations should bematz
protected from $SAFE level 4. a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>. * ext/syslog/syslog.c (mSyslog_close): ditto. * ext/syslog/syslog.c (mSyslog_set_mask): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28* ext/win32ole/win32ole.c (date2time_str): fix the overflow insuke
some situation. [ruby-bugs-20793] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* ext/win32ole/win32ole.c : check String encoding whensuke
converting String to VT_BSTR in OLE. * test/win32ole/test_win32ole.rb : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24* ext/win32ole/win32ole.c(ole_invoke): fix memory leak.suke
[ruby-bugs-20792] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 * ext/io/wait/extconf.rb: check sys/socket.h for cygwin.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 * ext/socket/socket.c (init_sock): socket is binmode on platformsusa
which support binmode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-22* ext/readline/extconf.rb (have_readline_func): readline on Mac OS Xnobu
needs headers to detect some functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e