summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2008-12-28* ext/dl/lib/dl/import.rb (DL::Importer#sizeof): followsyugui
a feature change in 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* ext/dl/lib/dl/import.rb (DL::Importer#extern): adds filename andyugui
line number to module_eval'ing for readability of backtrace. (DL::Importer#bind): ditto. * ext/dl/lib/dl/struct.rb (DL::CStructBuilder#create): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28Sun Dec 28 17:10:13 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>takano32
* ext/dl/test/test_dl2.rb: modify strncpy, strcpy, qsort, types. Bug #633 [ruby-core:19289] * ext/dl/test/test_base.rb: /lib/libc.so is x86_64 binary in x86_64 architecture. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28 * ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27 * ext/dl/test/test_base.rb: use lib64 when the architecture is x86_64.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-23* process.c (rb_fork): propagete an error message from child to parent.akr
(rb_f_exec): show details of error in child process on exception. (save_redirect_fd): add error message arguments. (run_exec_dup2): ditto. (run_exec_close): ditto. (run_exec_open): ditto. (run_exec_dup2_child): ditto. (run_exec_pgroup): ditto. (run_exec_rlimit): ditto. (rb_run_exec_options): ditto. (rb_exec): ditto. (rb_exec_atfork): ditto. (rb_spawn_internal): ditto. (rb_spawn): ditto. (rb_f_system): follow arguments change. (proc_daemon): ditto. (rb_f_spawn): show details of error in child process on exception. * io.c (popen_exec): add error message arguments. (pipe_open): show details of error in child process on exception. * include/ruby/intern.h (rb_run_exec_options): add error message arguments. (rb_exec): ditto. (rb_fork): ditto. (rb_spawn): ditto. * ext/pty/pty.c (chfunc): add error message arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22* ext/tk/tcltklib.c: fix wrong flag value.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21* ext/tk/lib/tk.rb: temporary patch for trouble on TkAqua (> Tk8.4.9).nagai
* ext/tk/sample/demos-jp/widget: set encoding to a demo-code string to avoid garbled text on the Code Window. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18rdoc update.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17rdoc update.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* ext/socket/socket.c (unix_recv_io): relax msg_controllen errorakr
check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* ext/pty/extconf.rb: check util.h for OpenBSD.akr
* ext/pty/pty.c: include util.h if available. fix variable name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* ext/bigdecimal/bigdecimal.c (VpToString): reverted modificationmatz
(that caused a bug) in r20359. [ruby-dev:37370] * ext/bigdecimal/bigdecimal.c (BigDecimal_limit): comment update. [ruby-dev:37465] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* ext/pty/pty.c (getDevice): add nomesg argument.akr
(get_device_once): add nomesg argument. chmod slave tty to 0600 if nomesg. more error tests. (no_mesg): new function. (pty_open): make slave tty's mode 0600. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* ext/pty/extconf.rb: check posix_openpt.akr
* ext/pty/pty.c (get_device_once): use posix_openpt if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15* ext/pty/pty.c (pty_open): set FMODE_SYNC and FMODE_DUPLEX.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15* ext/pty/pty.c (pty_open): new method PTY.open.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15* ext/pty/pty.c (get_device_once): use DEVICELEN instead ofakr
sizeof SlaveName. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15* ext/pty/pty.c (chfunc): make it static.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15* ext/pty/pty.c (child_info): add slavename.akr
(chfunc): use slavename. (establishShell): set slavename. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-13* process.c (forked_child): new variable.akr
(before_exec): don't call rb_thread_stop_timer_thread if forked_child. (after_exec): reset forked_child after rb_thread_start_timer_thread. (rb_fork): set forked_child just after fork in child. * ext/pty/pty.c (chfunc): extracted from establishShell. (establishShell): use rb_fork. [ruby-dev:37418] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12 * complex.c (nucomp_canonicalization): renamed.tadf
* ext/math/complex.c: followed the above change. * rational.c (nurat_canonicalization): renamed. * ext/math/rational.c: followed the above change. * configure.in: defines a new macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12* ext/readline/readline.ckouji
(readline_s_get_completion_append_character): uses locale encoding but not ASCII-8BIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12* ext/readline/readline.c: r20662 reverted.kouji
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12* ext/readline/readline.c (readline_readline): changed the messagekouji
of IOError to 'closed stdin' from 'stdin closed' if stdin was closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12* ext/readline/readline.c: used the ExportStringValue macrokouji
instead of the OutputStringValue macro. removed the OutputStringValue macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-10* ext/bigdecimal/bigdecimal.c (BigDecimal_round): should be roundmatz
to integer. [ruby-dev:37355] * ext/bigdecimal/bigdecimal.c (BigDecimal_divmod): division should be integer. [incompatible] [ruby-dev:37355] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-09* ext/curses/curses.c: removed trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-09* ext/curses/curses.c: made indentation consistent.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-09* ext/curses/curses.c (curses_use_default_colors): add newmatz
method. a patch from Giancarlo F Bellido <support at coaxialhost.com> in [ruby-core:20434]. * ext/curses/curses.c (curses_tabsize_set): ditto. * ext/curses/curses.c (curses_tabsize_get): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08* ext/bigdecimal/bigdecimal.c (BigDecimal_truncate): returnmatz
integer if no optional argument given. [incompatible] * ext/bigdecimal/bigdecimal.c (BigDecimal_floor): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_ceil): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04* ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock):matz
OpenSSL::SSL::SSLSocket should implement read_nonblock. a patch from Aaron Patterson in [ruby-core:20277]. fix: #814 [ruby-core:20241] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04* ext/curses/curses.c (curses_getch): no ISPRINT(). [ruby-core:20294]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04* ext/curses/curses.c (window_getch): avoid ISPRINT() macro whichmatz
has an issue with OpenSolaris. [ruby-core:20189] * signal.c (ruby_signal): EINVAL from sigaction(2) is not a bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* ext/tk/lib/tk/menu.rb: TkOptionMenubutton.new fails to treat nagai
'parent' and 'variable' options on a Hash argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* ext/tk/lib/tk.rb: bug fix. use ::RubyVM instead of ::VM [ruby-list:45676]nagai
* ext/tk/tcltklib.c: update RELEASE_DATE git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* ext/tk/tcltklib.c (ip_ruby_cmd, ip_invoke_with_position): mustnobu
not access internal union directly. [ruby-list:45670] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* io.c (rb_io_getc, rb_io_readchar): documentation correction fromnobu
Emiel van de Laar. [ruby-core:20212] * ext/stringio/stringio.c (strio_ungetbyte): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02* ext/pty/pty.c (Init_pty): fix typo.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-29* ext/socket/socket.c (sock_getaddrinfo): should have updated formatz
Mac OS X. a patch from Shumpei Akai in [ruby-dev:37234] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28* ext/socket/socket.c (sock_s_getaddrinfo): refactored to removematz
code duplication regarding getaddrinfo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): bigdecimalmatz
division (including modulo) should raise ZeroDivisionError as integer division. [incompatible] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27* ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should returnmatz
Integer for #div operation. * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should raise ZeroDivisionError if divisor is zero. [ruby-dev:37207] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-26* ext/bigdecimal/bigdecimal.c (VpException): bigdecimal zeromatz
division should raise FloatDomainError if mode VP_EXCEPTION_ZERODIVIDE is set. [ruby-dev:37204] * ext/bigdecimal/bigdecimal.c (BigDecimal_mode): should handle VP_EXCEPTION_ZERODIVIDE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-26* ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-25* ext/bigdecimal/bigdecimal.c (BigDecimal_to_r): raise exceptionmatz
for nan/inf conversion. [ruby-dev:37187] fix #793 * ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-25* ext/bigdecimal/bigdecimal.c (VpAlloc): avoid ALLOCA_N() to avoidmatz
segmentation fault caused by (insanely) long decimal values. [ruby-dev:37189] fix #794 * ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_to_i, BigDecimal_to_f, BigDecimal_to_s, BigDecimal_split, BigDecimal_inspect): ditto. * ext/bigdecimal/bigdecimal.c (VpToString): small performance improvement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24* ext/tk/lib/tkextlib/blt/tabset.rb, ext/tk/lib/tkextlib/blt/tabnotebook.rb: nagai
fix many bugs. Now, those work properly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22* ext/tk/lib/tkextlib/version.rb, ext/tk/ChangeLog.tkextlib: update.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb: nagai
fix NameError bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e