summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * ext/socket/extconf.rb : Compilation failure on AIX.kanemoto2009-10-281-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_each_group): fixed typo.nobu2009-10-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (Init_stringio): added read_nonblock andnobu2009-10-271-0/+2
| | | | | | | write_nonblock aliases. [ruby-dev:39551] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_data_type): typed.nobu2009-10-271-15/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb: add TkVariable#+@ and -@ method.nagai2009-10-271-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: mistake on operation. sorry.nagai2009-10-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c,stubs.c: remove errors or warnings when compilednagai2009-10-263-2/+33
| | | | | | | | with old ruby 1.8.x. * ext/tk/tkutil/tkutil.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/remote-tk.rb: typo fixed.nagai2009-10-261-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (dlhandle_sym): fixed an invalid local variablenobu2009-10-251-4/+4
| | | | | | | declaration. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_close): fixed an invalid localnobu2009-10-251-1/+1
| | | | | | | variable declaration. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (**) adding documentationtenderlove2009-10-251-0/+6
| | | | | | * test/dl/test_handle.rb (test_NEXT) testing the NEXT handle git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_close_enabled_p) testing that handles cantenderlove2009-10-251-0/+28
| | | | | | be enabled and disabled for closure on GC. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (**) adding documentationtenderlove2009-10-251-0/+12
| | | | | | * test/dl/test_handle.rb (**) testing to_i and initialize git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_sym) refactoring rb_secure(2)tenderlove2009-10-251-3/+11
| | | | | | * test/dl/test_handle.rb (**) testing sym behavior git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_sym) removing unnecessary code. Addingtenderlove2009-10-251-3/+8
| | | | | | documentation and tests for current functionality. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_close) check return value of dlclose()tenderlove2009-10-241-2/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ext/dl/handle.c (rb_dlhandle_initialize) added rb_secure(2)tenderlove2009-10-232-1/+2
| | | | | | | [ruby-core:25762] * ext/dl/dl.c (rb_dl_dlopen) removed rb_secure(2) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpMidRound): remove warnings.naruse2009-10-168-13/+13
| | | | | | | | | | | | | | | | | | | | patch from Charlie Savage. [ruby-core:22869] * ext/digest/bubblebabble/bubblebabble.c (bubblebabble_str_new): ditto. * ext/digest/digest.c (hexencode_str_new): ditto. * ext/iconv/iconv.c (iconv_convert): ditto. * ext/socket/socket.c (inspect_sockaddr): ditto. * ext/socket/raddrinfo.c (sockaddr_obj): ditto. * ext/syck/emitter.c (syck_emitter_write): ditto. * ext/syck/emitter.c (syck_emitter_flush): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_create): cannot retry with given block.nobu2009-10-151-5/+12
| | | | | | | [ruby-dev:39487] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (rsock_init_sock): mswin doesn't have S_IFSOCKusa2009-10-151-0/+5
| | | | | | | | | flag in st_mode of struct stat. so, use rb_w32_issocket() function instead of S_ISSOCK macro. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (rsock_init_sock): validate file descriptor.akr2009-10-141-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/variable.rb: bug fix. additional trace definition changes thenagai2009-10-131-2/+2
| | | | | | | option of first trace definition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justinnobu2009-10-111-2/+2
| | | | | | | Collins in [ruby-core:26050]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: use rb_thread_blocking_region to avoidakr2009-10-101-19/+64
| | | | | | | | | | | | | | | | | | | rb_read_check. This makes other threads runnable in getstr and wgetstr. (getch_func): extracted from curses_getch. (curses_getch): use rb_thread_blocking_region with getch_func. (getstr_func): extracted from curses_getstr. (curses_getstr): use rb_thread_blocking_region with getstr_func. (wgetch_func): extracted from window_getch. (window_getch): use rb_thread_blocking_region with wgetch_func. (wgetstr_func): extracted from window_getstr. (window_getstr): use rb_thread_blocking_region with wgetstr_func. * include/ruby/io.h (rb_read_check): deprecated because it access internal of stdio. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: Many functions of module Curses could cause a crash ↵marcandre2009-10-081-0/+34
| | | | | | | | | if the ncurses library was not properly initialized. Fix pointed out by Alexander Beisig [ruby-core:22592] Functions fixed: attroff, attron, attrset, bkgd, bkgdset, can_change_color, close_screen, closed, color_content, curs_set, def_prog_mode, delch, deleteln, getmouse, getstr, has_colors, init_color, init_pair, insertln, keyname, mouseinterval, mousemask, pair_content, pair_number, reset_prog_mode, resizeterm, scrl, setscrreg, standend, standout, start_color, timeout, ungetmouse, use_default_colors git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.udp_server_recv): extracted fromakr2009-10-081-19/+42
| | | | | | | Socket.udp_server_loop_on. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update comment.akr2009-10-071-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***nagai2009-10-053-8/+14
| | | | | | | | | | 'tags' option of a TkcItem object gives a list of TkcTag objects. * ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug. * ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb: lack of support for methodcall_optkeys. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb: add TkVariable#to_hash,to_proc,to_int,to_str,to_arynagai2009-10-031-0/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/common.rb (recurse_proc): removed needlessnobu2009-09-291-1/+0
| | | | | | | module_function, since visibility is already module_function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * stringio/stringio.c (strio_read): set ASCII-8BIT encodingnaruse2009-09-281-3/+3
| | | | | | when length argument is given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/ext/generator/generator.c: Documention patch by okkez.naruse2009-09-261-3/+3
| | | | | | [Bug #2075] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan): atan(Infinity) isnobu2009-09-231-13/+7
| | | | | | | PI/2. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan): reduce loop withnobu2009-09-231-1/+5
| | | | | | | | the formula of the double corner. based on a patch from Masahiro Kanai (CanI) in [ruby-dev:39367]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan): refined.nobu2009-09-231-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/{ludcmp,math}.rb: depend onnobu2009-09-212-0/+4
| | | | | | | bigdecimal. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/newton.rb: rdoc needs to benobu2009-09-211-3/+3
| | | | | | | followed by the definition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/*.rb: made module functions.nobu2009-09-214-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/*.rb: fixed indent.nobu2009-09-213-42/+42
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (GetVpValue): support conversion fromnobu2009-09-211-0/+15
| | | | | | | Rational. [ruby-core:25697] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_remainder): Doc fix [ruby-core:18796]marcandre2009-09-211-4/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ossl_ocsp.c (ossl_ocspres_to_der): Bug fix in Response#to_def. Patch by ↵marcandre2009-09-211-1/+1
| | | | | | Chris Chandler [ruby-core:18411] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if ↵marcandre2009-09-211-0/+10
| | | | | | frozen (or untrusted for $SECURE >= 4) [ruby-core:18377] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (sin, cos, atan, exp, log):nobu2009-09-201-5/+31
| | | | | | | | improved precision and performance. based on a patch from Makoto Yamashita in [ruby-core:25600] and [ruby-core:25602]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (oletypelib_get_libattr): some refactoringsuke2009-09-131-31/+19
| | | | | | | | | | | | by adding oletypelib_get_libattr -This line, and those below, will be ignored-- M ChangeLog M ext/win32ole/win32ole.c git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (oletypelib_get_typelib): some refactoringsuke2009-09-131-31/+22
| | | | | | | | by adding oletypelib_get_typelib. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/win32ole.c: some refactoring.suke2009-09-131-48/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: fix WIN32OLE_TYPELIB.new when the 1st suke2009-09-121-64/+190
| | | | | | | argument is the non-registered file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (GCC): subst for GCC depending extension libraries.nobu2009-09-124-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (EVENTSINK_Invoke): initialize resultsuke2009-09-111-1/+2
| | | | | | | variant value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e