summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * process.c (proc_setgroups): [ruby-dev:25081]matz2004-12-061-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * re.c (rb_reg_eqq): document fix. [ruby-talk:122541] * io.c (io_fread): take VALUE argument. * ext/socket/socket.c (sock_connect): use rb_str_new4(). [ruby-dev:25052] * eval.c (rb_yield_0): [ruby-dev:25051] * io.c (io_write): remove rb_str_locktmp(). [ruby-dev:25050] * io.c (io_fwrite): takes VALUE string as an argument. [ruby-dev:25050] * ext/socket/socket.c (sock_connect): remove rb_str_locktmp(). [ruby-dev:25050] * ext/socket/socket.c (udp_connect): [ruby-dev:25045] * ext/socket/socket.c (udp_bind): ditto. * ext/socket/socket.c (udp_send): ditto. * ext/socket/socket.c (bsock_send): ditto. * ext/socket/socket.c (s_recvfrom): ditto. * hash.c (rb_hash_hash): should provide "hash" method where "eql?" is redefined. [ruby-talk:122482] * ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check -lsocket for socketpair and shutdown.akr2004-12-061-0/+5
| | | | | | | reported by Ville Mattila. [ruby-core:03903] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_sizeof_rlim_t): setup for DJGPP.eban2004-12-061-0/+8
| | | | | | | | | * io.c (is_socket, shutdown): define dummy macros for DJGPP. * process.c: use SIZEOF_RLIM_T instead of HAVE_RLIM_T for DJGPP. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (is_socket): fix typos. [ruby-core:03900]usa2004-12-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typo.usa2004-12-061-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (is_socket): new function.usa2004-12-061-0/+16
| | | | | | | | | | | | | | | | | * io.c (rb_io_close_read, rb_io_close_write): use is_socket(). * io.c (rb_io_fptr_finalize): need to check fptr->f before calling rb_io_fptr_cleanup(). * io.c (pipe_open): win32 pipe support (experimental). * win32/win32.[ch] (rb_w32_pipe_exec): return file descripters instead of FILE structure. * win32/win32.[ch] (rb_w32_is_socket): new function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (.y.c): simplify the rule.eban2004-12-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2004-12-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (run_trap_eval): add prototype for Microsoft compiler.usa2004-12-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c,akr2004-12-061-0/+9
| | | | | | | | | | | ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c: Use own buffering mechanism instead of stdio. * io.c, ext/stringio/stringio.c, test/ruby/ut_eof.rb: EOF flag removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_socket.rb (TestBasicSocket#test_setsockopt):nobu2004-12-061-0/+14
| | | | | | | | | | | | | | | | BasicSocket#setsockopt dumps core. [ruby-dev:25039] * test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): TCPSocket#recvfrom dumps core. [ruby-dev:24705] * test/socket/test_udp.rb (TestUDPSocket#test_connect): UDPSocket#connect dumps core. [ruby-dev:25045] * test/socket/test_udp.rb (TestUDPSocket#test_bind): UDPSocket#bind dumps core. [ruby-dev:25057] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,gotoyuzo2004-12-051-1/+14
| | | | | | | | | | | | | | | ossl_rsa_public_decrypt, ossl_rsa_private_encrypt, ossl_rsa_private_decrypt): should take an optional argument to specify padding mode. [ruby-talk:122539] * ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): add new constants PKCS1_PADDING, SSLV23_PADDING, NO_PADDING and PKCS1_OAEP_PADDING under OpenSSL::PKey::RSA. * test/openssl/test_pkey_rsa.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Completion#complete): new parameternobu2004-12-051-1/+9
| | | | | | | | | | to direct case insensitiveness. * lib/optparse.rb (OptionParser#order!): ignore case only for long option. [ruby-dev:25048] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: setup library paths before requiring library.eban2004-12-041-0/+5
| | | | | | | [ruby-core:03892] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: (In previous commit) new method chown.aamine2004-12-041-0/+9
| | | | | | | | * lib/fileutils.rb: (In previous commit) new method chown_R. * lib/fileutils.rb: (In previous commit) new method chmod_R wrongly added. Removed now. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mkdir, mkdir_p): should chmod explicitly. [ruby-core:03881]aamine2004-12-041-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb: removed empty lines from output.kou2004-12-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::VERSION): 0.1.1 -> 0.1.2kou2004-12-041-0/+6
| | | | | | | * lib/rss/rss.rb: #item=/#set_item and so on are obsolete. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore leading and trailing lines in :section: blocksdave2004-12-041-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_invoke): prepare to pass a block from "call" methodmatz2004-12-031-0/+13
| | | | | | | | | | | | | | | to a Proc generated by Method#to_proc. [ruby-dev:25031] * eval.c (rb_yield_0): actually passes a block given to "call". * object.c (convert_type): use rb_respond_to() again. this fix is based on [ruby-dev:25021] * eval.c (rb_respond_to): funcall respond_to? if it's redefined. [ruby-dev:25021] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.h: fix prototype for C++.nobu2004-12-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missingnagai2004-12-021-0/+18
| | | | | | | | | | | | | returns proper object. "widget.option = val" returns val, and "widget.option(val)" returns self. * ext/tk/lib/tk/font.rb: TkFont#replace accepts only one font argument. * ext/tk/lib/tk/radiobutton.rb: add TkRadiobutton#value and value=(val). * ext/tk/lib/tk/spinbox.rb: callback substitution support on command option. * ext/tk/sample/demos-en/widget: bug fix (wrong image height) * ext/tk/sample/demos-jp/widget: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/xmlrpc/test_parser.rb, test/xmlrpc/data/*.expected: Expectedmneumann2004-12-021-0/+6
| | | | | | | | values are now stored in YAML instead of using #inspect. This fixes false hash order. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_file_initialize): [ruby-dev:25032]matz2004-12-021-0/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_protect): prevent continuations created inside from beingnobu2004-12-021-0/+8
| | | | | | | | | | called from the outside. [ruby-dev:25003] * eval.c (rb_callcc, rb_cont_call): prohibit calling from different signal contexts. [ruby-dev:25022] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/readline/test_readline.rb: fix for NetBSD.shugo2004-12-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (thread_mark): mark thread group. [ruby-dev:25020]nobu2004-12-021-0/+6
| | | | | | | * eval.c (thgroup_add): check whether the argument is really a Thread. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ctl): [ruby-dev:25019]matz2004-12-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c: add constant NKF::VERSIONnaruse2004-12-011-0/+10
| | | | | | | | | | | * ext/nkf/nkf.c(guess): this becomes an alias of guess2 * ext/nkf/test.rb: add --no-cp932 * ext/nkf/nkf-utf8/nkf.c: original nkf2 revision 1.47 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sighandler): call handler immediately only for defaultmatz2004-11-301-0/+5
| | | | | | | handlers. [ruby-dev:25003] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): errno should be preserved for rb_sys_fail() whennobu2004-11-301-0/+5
| | | | | | | fork failed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fread): need not to null terminate. [ruby-dev:24998]matz2004-11-301-0/+2
| | | | | | | | | | | | * io.c (read_all): remove unnecessary rb_str_resize(). [ruby-dev:24996] * io.c (io_readpartial): ditto. * io.c (io_read): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): should check previous frame for ZSUPER.matz2004-11-301-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (PUSH_FRAME): flags should have been initialized.matz2004-11-301-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (install): add arguments explicitly to "super".eban2004-11-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): [ruby-core:03856]matz2004-11-301-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_sysread): use temporary lock. [ruby-dev:24992]matz2004-11-291-0/+11
| | | | | | | | | | * lib/ostruct.rb (OpenStruct::method_missing): check method duplication for -d. * lib/ostruct.rb (OpenStruct::initialize): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c: now handles many alternatives (over 500000) in regexp. ↵ksaito2004-11-291-0/+5
| | | | | | [ruby-dev:24773] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_write): insufficiently filled stringnobu2004-11-291-0/+5
| | | | | | | being extended when overwriting. [ruby-core:03836] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/nonblock/test_flush.rb: abandon tests when io/nonblock isnobu2004-11-291-1/+6
| | | | | | | not supported. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (convert_type): [ruby-core:03845]matz2004-11-291-0/+22
| | | | | | | | | | | | | | | * eval.c (rb_funcall_rescue): new function. * object.c (rb_Array): avoid using rb_respond_to(). * object.c (rb_Integer): ditto. * eval.c (get_backtrace): no conversion for nil. * parse.y (reduce_nodes): empty body should return nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (fptr_finalize): must not use FILE after fclose().nobu2004-11-291-4/+9
| | | | | | | [ruby-dev:24985] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): push back the last space before nextusa2004-11-291-0/+5
| | | | | | | loop because CharNext() eats it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't use READ_DATA_PENDING in previous changeakr2004-11-281-5/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2004-11-281-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_check_writable): restrict io_seek byakr2004-11-281-0/+7
| | | | | | | | | READ_DATA_PENDING because io_seek(fptr, 0, SEEK_CUR) is meaningful only if read buffer is not empty. call io_seek regardless of NEED_IO_SEEK_BETWEEN_RW. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added reference.kou2004-11-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::Element#tag): not use block_given? forkou2004-11-281-0/+8
| | | | | | | | | working with ruby 1.6 again. * lib/rss/{0.9,2.0,trackback}.rb, lib/rss/maker/base.rb: undef -> remove_method for working with ruby 1.6 again. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::NotSetError): added.kou2004-11-281-0/+11
| | | | | | | | | | | * lib/rss/maker/{1.0,0.9,2.0}.rb: changed RSS Maker to raise RSS::NotSetError if required values of maker.channel are not set. * test/rss/test_maker_{1.0,0.9,2.0}.rb: changed tests to check RSS Maker raises or not. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (fetch_token): fixed test failure on HP-UX ia64 ([ruby-dev:24859]).ksaito2004-11-281-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e