aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tk/sample/demos-en/tcolor.bak: remove.nagai2005-09-221-513/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): generalized nmake dependent code.nobu2005-09-212-1/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/depend (SUFFIXES): no longer needed.usa2005-09-212-2/+7
| | | | | | | * ext/ripper/depend (c): avoid nmake problem. fixed [ruby-dev:27191] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-09-21eban2005-09-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/token.c: correctly compute identation of a blockwhy2005-09-202-110/+120
| | | | | | | scalar's parent node. [ruby-talk:150620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja: add new features.nobu2005-09-203-4/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (default_argv, Arguable#options): defaults stringsnobu2005-09-202-3/+14
| | | | | | | to be parsed to Arguable instance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: tabified.nobu2005-09-201-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_stat_inspect): protoized function pointer.nobu2005-09-202-39/+41
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/lib/nonblock.rb: disable on platforms non-blocking flagnobu2005-09-202-13/+18
| | | | | | | is not available. fixed: [ruby-dev:27187] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (thread_mark): mark th->last_status. [ruby-dev:27179]akr2005-09-202-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/test_cgi.rb: set ENV["PATH"] to CGIEnvPath onocean2005-09-202-0/+9
| | | | | | | | windows. bcc32's runtime is not installed into system directory, so it cannot be found without this setting. [ruby-dev:27166] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: PIPE_BUF is not defined on BeOS. use _POSIX_PIPE_BUF instead.ocean2005-09-202-0/+13
| | | | | | | [ruby-dev:27185] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_scan_scalar): prevent indicators fromwhy2005-09-2010-356/+395
| | | | | | | | | | | | | | | | | | | | | | appearing alone or at the end of plain scalars. [ruby-core:5826] * ext/syck/emitter.c (syck_emit_scalar): treat typed scalar nodes as complex keys. * lib/syck.h: version 0.60. * lib/yaml/basenode.rb (YAML::BaseNode#at): transform keys during key searches. * ext/syck/rubyext.c: loading of binary-typed nodes. prevent emission of plain strings that look like symbols, but which aren't. * ext/syck/emitter.c (syck_emit): passing an int* value to the long* parameter causes unaligned access on LP64 systems. [ruby-dev:27161] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/xmlrpc/test_webrick_server.rb (setup_http_server):ocean2005-09-192-5/+17
| | | | | | | | should not include 'webrick/https' unless 'use_ssl' because it fails where openssl is not installed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_thread_flock): should have resolved conflict.matz2005-09-191-9/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-09-20eban2005-09-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Fixnum): remove debug print.matz2005-09-193-9/+6
| | | | | | | * lib/rational.rb (Rational): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_close): call rb_io_close() directly if io is a T_FILEmatz2005-09-196-7/+56
| | | | | | | | | | | | | | | | | | | | | | | | object. [ruby-dev:27156] * file.c (file_expand_path): allow pathnames to expand. [ruby-dev:27152] * numeric.c (Init_Numeric): should define Fixnum#div. [ruby-dev:27129] * file.c (rb_thread_flock): wrap flock(2) by TRAP_BEG and TRAP_END. [ruby-dev:27122] * file.c (rb_file_join): call FilePathValue() to all Pathnames to join. [ruby-dev:27127] * file.c (rb_get_path): call StringValueCStr() to ensure no nul bytes in path strings. * gc.c (garbage_collect): need value for return. [ruby-dev:27127] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_chown): should accept nil. [ruby-dev:27171]aamine2005-09-192-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* not ruby-dev, but ruby-list. [ruby-list:41054]aamine2005-09-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb: should raise ENOENT if root entry does not exist. ↵aamine2005-09-191-0/+3
| | | | | | [ruby-dev:41054] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/depend: do not make ripper/core.rb. [ruby-dev:26462]aamine2005-09-192-6/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/eventids2.c: add prefix `t' to lambda related lexer events.aamine2005-09-193-24/+31
| | | | | | | * ext/ripper/lib/ripper/core.rb: updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to check-inaamine2005-09-191-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (do_block): do_block event dispatches 2 args. [ruby-dev:26964]aamine2005-09-193-10/+20
| | | | | | | | * ext/ripper/lib/ripper/core.rb: updated. * ext/ripper/tools/list-parser-event-ids.rb: check arity mismatch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* additional ChangeLog for rb_w32_selectocean2005-09-191-0/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c:gotoyuzo2005-09-186-23/+42
| | | | | | | | | | | | an instance variable "private" is added to OpenSSL::PKey class. this ivar is a flag that shows whether there is a private key in the instance. * ext/openssl/ossl_engine.c: (ossl_engine_load_privkey): set private key flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: method renaming: collect_methods -> collect_method.aamine2005-09-182-5/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: use module_function instead of single extend.aamine2005-09-183-20/+258
| | | | | | | * test/fileutils/test_fileutils.rb: test existence of singleton methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (remove_entry_secure): does not use chdir(2).aamine2005-09-182-24/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-09-19eban2005-09-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_thread_flock): wrap the flock system call byakr2005-09-184-1/+24
| | | | | | | | | | | | | | | TRAP_BEG/TRAP_END to enable signals. [ruby-dev:27122] * ext/socket/socket.c (bsock_send): wrap the sendto and send system call by TRAP_BEG/TRAP_END to enable signals when writing to a socket which is full. [ruby-dev:27132] * io.c (rb_io_syswrite): wrap the write system call by TRAP_BEG/TRAP_END to run signal hander in syswrite method. [ruby-dev:27134] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typo.nobu2005-09-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): documented problem.ocean2005-09-171-6/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: remove comments that are bungling upwhy2005-09-177-568/+541
| | | | | | | | | | | | | | | | | | the rdoc and ri output. output symbols as plain scalars. * ext/syck/rubyext.c (syck_emitter_reset): emit headless documents always. * ext/syck/emitter.c (syck_scan_scalar): quote scalars with any kind of surrounding line space, tabs or spaces alike. * ext/syck/token.c: accept tabs as whitespace, not for indentation, but strip from plain scalars. * test/yaml/test_yaml.rb: remove outdated tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss, forgot to add log for file.c.nobu2005-09-171-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_join): convert components by to_s instead of to_str.nobu2005-09-171-7/+2
| | | | | | | fixed: [ruby-dev:27127] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect): return false if no GC run.nobu2005-09-172-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-09-18eban2005-09-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Rational::inspect): should preserve originalmatz2005-09-173-3/+11
| | | | | | | operand. [ruby-core:05806] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_tcp.rb (TestTCPSocket::test_recvfrom): typomatz2005-09-175-7/+26
| | | | | | | | | | | | | fixed. [ruby-dev:27123] * string.c (rb_str_substr): should propagate taintness even for empty strings. [ruby-dev:27121] * string.c (rb_str_aref): should infect result if range argument is tainted. [ruby-dev:27121] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): fixed deadlock bug.ocean2005-09-172-33/+43
| | | | | | | | because select(2) modifies its fd_set arguments, it must be restored sometimes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-09-17eban2005-09-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* no messageocean2005-09-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_readpartial.rb (test_open_pipe, test_with_stdio):ocean2005-09-172-2/+5
| | | | | | | these tests are working now, so turned on. (windows) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): I hope performance problem wasocean2005-09-172-8/+29
| | | | | | | solved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): console support is back.ocean2005-09-172-1/+51
| | | | | | | | | | | but still has performance problem because I loosely took 1 second for wait time. I'll fix it later. (The reason I drastically changed the code is that I wanted to implement the fileset management as single function, and I was worried that if pipe or console was always available, socket may not be processed any time) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): select for socket didn't work.ocean2005-09-172-223/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this caused deadlock in drb test. this happened because GetFileType for socket handle returns FILE_TYPE_PIPE. Of course, it's not a pipe. So socket handle didn't reach winsock's select function. * win32/win32.c (rb_w32_select): read for pipe still kept brocking even if writer handle was closed. r,w = IO.pipe Thread.new { sleep 3; puts "------- 1" w.puts("foo") sleep 3; puts "------- 2" w.puts("boo") sleep 3; puts "------- 3" w.close } until r.eof? # should break by w.close but didn't. puts r.gets end * win32/win32.c (rb_w32_select): temprary reverted console support but it'll be back soon. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_stringnagai2005-09-173-5/+12
| | | | | | | | | should call Kernel.eval on caller's safe-level instead of slave's safe-level (Of course, the given script should be evaluated on slave's safe-level). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e