summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2009-07-22 * ext/socket/extconf.rb: define IPPROTO_IPV6 macro for recent Windowsusa
SDK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 * ext/socket/mkconstants.rb: define IPV6_* constants only when INET6usa
is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 * ext/socket/extconf.rb: ipv6 support is disabled by default on mswin.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 * ext/socket/ipsocket.c (init_inetsock_internal): drop IPv6 addressesusa
if INET6 is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 * ext/socket/extconf.rb: enable ipv6 support for win32.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21* ext/win32ole/win32ole.c (vtdate2rbtime): VT_DATE variant object suke
is converted to Time object now. * test/win32ole/test_win32ole_variant.rb (test_s_new_with_nil, test_conversion_time2date, test_conversion_str2date, test_conversion_vt_date, test_set_value): ditto. * ext/win32ole/win32ole.c (rbtime2vtdate): refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20* ext/socket/lib/socket.rb (Addrinfo#family_addrinfo): fix a typo in akr
error message. patch by Nobuhiro IMAI. [ruby-dev:38828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-19* ext/socket/lib/socket.rb (Socket.accept_loop): rescueakr
IO::WaitReadable instead of Errno::EWOULDBLOCK. (Socket.udp_server_loop_on): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17* ext/tk/lib/tk.rb: fail to create a widget object for an unknown wiget path.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().nagai
Extend usage pattern of grid_column()/grid_row(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17* ext/readline/readline.c (Init_readline): rl_catch_signals doesyugui
not exist on some platform like Mac OS X 10.5. * ext/readline/extconf.rb: checks existance of rl_catch_signals. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 * ext/socket/socket.c (socket_s_ip_address_list): drop inactiveusa
adapters. * test/socket/test_{nonblock,addrinfo,socket}.rb: skip some tests on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 * ext/readline/readline.c (Init_readline): use rl_catch_sigwinch onlyusa
when existing. * ext/readline/extconf.rb: check existance of rl_catch_sigwinch, and workaround for native Win32 readline port. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17* ext/socket/init.c (rsock_getfamily): return AF_UNSPEC if getsocknameakr
is failed. [ruby-core:24383] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* ext/tk/extconf.rb,ext/tk/config_list.in: ignore paths which includesnagai
white space characters on Windows.[ruby-dev:38794] * ext/tk/lib/tk.rb: works on Cygwin (limitation:: Tk.mainloop works on the main thread only). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16 * ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): serversusa
is nil if an error occurs before setting it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16Fix SEGV of readline on FreeBSD. [ruby-core:21884]naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* method.h, vm_core.h: add rb_method_entry_t. Remove nodes aroundko1
method management. This change affect some VM control stack structure. * vm.c, vm_insnhelper.c, vm_method.c, vm_eval.c: ditto. and make some refactoring. * insns.def, class.c, eval.c, proc.c, vm_dump.c : ditto. * vm_core.h, compile.c (iseq_specialized_instruction): remove VM_CALL_SEND_BIT. use another optimization tech for Kernel#send. * node.h: remove unused node types. * ext/objspace/objspace.c (count_nodes): ditto. * gc.c: add mark/free functions for method entry. * include/ruby/intern.h: remove decl of rb_define_notimplement_method_id(). nobody can use it because noex is not opend. * iseq.c (iseq_mark): fix to check ic_method is available. * iseq.c (rb_iseq_disasm): fix to use rb_method_get_iseq(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* ext/purelib.rb: translates a fake path to rubygems in $" intoyugui
an alternative in $: so that Kernel.#require does not load more rubygems.rb. Resolves many failures in test/rubygems/*. * gem_prelude.rb (Gem.load_full_rubygems_library): supports case the rubygems to load is not in $(rubylibprefix). (Gem.path_to_full_rubygems_library): new method for the changes in purelib.rb and Gem.load_full_rubygems_library. (Gem.fake_rubygems_as_loaded): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14* ext/tk/extconf.rb: --with-{tcl,tk}-dir doesn't work.[ruby-dev:38782]nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14* ext/io/nonblock: moved from ext/io/wait/lib.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14* ext/tk/lib/multi-tk.rb: Long-term-callback support isn't stable yet.nagai
So, disable the feature and waiting for improvement in the future. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* ext/tk/lib/tk/menuspec.rb: commit miss on my last commitment.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-12* ext/tk/extconf.rb: New strategy for searching Tcl/Tk libraries.nagai
* ext/tk/*: Support new features of Tcl/Tk8.6b1 and minor bug fixes. ( [KNOWN BUG] Ruby/Tk on Ruby 1.9 will not work on Cygwin. ) * ext/tk/*: Unify sources between Ruby 1.8 & 1.9. Improve default_widget_set handling. * ext/tk/*: Multi-TkInterpreter (multi-tk.rb) works on Ruby 1.8 & 1.9. ( [KNOWN BUG] On Ruby 1.8, join to a long term Thread on Tk callbacks may freeze. On Ruby 1.9, cannot create a second master interpreter (creating slaves are OK); supported master interpreter is the default master interpreter only. ) * ext/tk/lib/tkextlib/*: Update supported versions of Tk extensions. Tcllib 1.8/Tklib 0.4.1 ==> Tcllib 1.11.1/Tklib 0.5 BWidgets 1.7 ==> BWidgets 1.8 TkTable 2.9 ==> TkTable 2.10 TkTreeCtrl 2005-12-02 ==> TkTreeCtrl 2.2.9 Tile 0.8.0/8.5.1 ==> Tile 0.8.3/8.6b1 IncrTcl 2005-02-14 ==> IncrTcl 2008-12-15 TclX 2005-02-07 ==> TclX 2008-12-15 Trofs 0.4.3 ==> Trofs 0.4.4 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-11* ext/tk/tcltklib.c (get_obj_from_str): suppressed a warning.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-10* ext/readline/readline.c (readline_attempted_completion_function):nobu
array length is long. * ext/readline/readline.c (readline_s_get_filename_quote_characters): missing type of self. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-10* ext/readline/extconf.rb: checked rl_refresh_line in readline.kouji
* ext/readline/readline.c (readline_s_refresh_line): add new method, a patch from Koichiro Ohba. see [ruby-list:45922]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-10* ext/readline/extconf.rb: checked rl_line_buffer and rl_point inkouji
readline. * ext/readline/readline.c (readline_s_get_line_buffer): new method. (readline_s_get_point): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-08Update ext/.document with extensions that appear to have documentation.drbrain
Fixes #1738. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-07rdoc update.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-01rdoc update.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-01* include/ruby/intern.h (rb_time_num_new): declared.akr
* time.c (nsec2timev): extracted from time_new_internal. (time_new_internal): change argument to VALUE. (rb_time_new): follow the argument change. (rb_time_nano_new): ditto. (rb_time_num_new): new function. * ext/socket/ancdata.c (ancillary_timestamp): use rb_time_num_new to represent struct bintime preciously. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-26* ext/pty/pty.c (pty_getpty): check dup failure.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-22* variable.c (rb_generic_ivar_memsize): typo fixed. a patch frommatz
Kazuhiro NISHIYAMA. [ruby-dev:38700] * ext/objspace/objspace.c (memsize_of): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-22* ext/stringio/stringio.c (strio_each_codepoint): new method.matz
[ruby-core:23949] * ext/stringio/stringio.c (strio_each_codepoint): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-18* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): went infinity toomatz
early. add BASE_FIG margin. [ruby-dev:38673] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-17* ext/strscan/strscan.c (Init_strscan): remove obsoletematz
matchedsize method, use matched_size instead. [ruby-dev:38591] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-16* ext/objspace: added. objspace library extends some methods toko1
ObjectSpace module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-11* ext/bigdecimal/bigdecimal.c (gfCheckVal): never used.nobu
* ext/bigdecimal/bigdecimal.c (VpInit): fixed format modifiers. * ext/bigdecimal/bigdecimal.c (VPrint): constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-31* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): returns Inf ifmatz
exp is bigger than DBL_MANT_DIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-26* ext/readline/readline.c (readline_getc): the function fornaruse
rl_getc_function must be a byte function. so use getbyte method. [ruby-dev:38535] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23* ext/dl/handle.c (rb_dlhandle_s_sym): added a method to accessnobu
using RTLD_NEXT. [ruby-dev:38152] * ext/dl/handle.c (Init_dlhandle): added constants DEFAULT and NEXT which correspond to RTLD_DEFAULT and RTLD_NEXT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_struct_signature):nobu
splitting with regexp source string is obsolete. a patch from Minwoo Lee at [ruby-core:23494]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23* ext/dl/cptr.c (rb_dlptr_cmp): return signed value, and restrictnobu
to Fixnum. [ruby-dev:38533] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22update rdoc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-17* ext/win32ole/win32ole.c (foletypelib_name): should returnsuke
encoded name corresponding to WIN32OLE.codepage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16* ext/dl/lib/dl/callback.rb (DL#remove_callback_internal): ignorenobu
unbound function. [ruby-dev:38474] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16* sample/drb/dhasenc.rb: add magic comment for encoding.matz
* sample/mine.rb: ditto. * ext/tk/sample/tcltklib/sample1.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-14* ext/etc/etc.c (etc_getpwuid): use rb_uid_t. [ruby-dev:38443]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-14* ext/stringio/stringio.c (strio_ungetbyte): encoding should notnobu
be effective. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e