summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/fileutils.rb (mkdir, mkdir_p): set mode to 0755.eban2003-03-091-0/+6
| | | | | | | * Makefile.in (fake.rb): set ALT_SEPARATOR to the default value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* new method is Process.detach, not Proc#detach.akr2003-03-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (massign): fix a bug not to expand in assigment to solenobu2003-03-081-0/+5
| | | | | | | lhs. [ruby-dev:19766] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (Kernel.pp): module function.akr2003-03-071-0/+5
| | | | | | | (MatchData#pretty_print): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb (find_tcl, find_tk): return true ifnobu2003-03-071-0/+10
| | | | | | | non-versioned found. [ruby-dev:19759] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb: add QDBM support.eban2003-03-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dsym): :"symbol string" style should not contain `\0'.matz2003-03-071-2/+27
| | | | | | | | | | | | | | | | | * process.c (proc_detach): new method Proc#detach(pid) which create background watcher thread to issue waitpid. [new] * process.c (rb_detach_process): utility function to detach process from C code. * ext/pty/pty.c (pty_finalize_syswait): terminate watcher thread, and detach child process (by creating new idle waitpid watcher thread). * ext/pty/pty.c (pty_syswait): may lost signal stopped child. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/Win32API.c: no longer use inline-asms.eban2003-03-061-0/+6
| | | | | | | * ext/Win32API/extconf.rb: no need to add gcc options. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: better YACC support on HP-UX.eban2003-03-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-03-041-11/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: definenobu2003-03-041-0/+22
| | | | | | | | | | | | | RUBY_EXPORT to export symbols. * defines.h: use RUBY_EXTERN instead of EXTERN. * intern.h, re.h, ruby.h, rubysig.h: ditto. * win32/win32.h: remove EXTERN definition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_aref): give warning if index is a symbol.matz2003-03-041-0/+7
| | | | | | | | | [ruby-list:37217] * array.c (rb_ary_aset): raise TypeError if index is a symbol. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/strftime.c: HP-UX support.eban2003-03-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_popen): do not call rb_io_close() directly, callmatz2003-03-041-0/+14
| | | | | | | | | | | | "close" method instead. [ruby-dev:19717] * io.c (rb_io_s_open): ditto. * hash.c (rb_any_hash): remove DEFER_INTS. all do_hash() calls in st.c are at the top of functions. No reentrant problem. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: better HP-UX support.eban2003-03-041-0/+6
| | | | | | | * missing/strftime.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/MANIFEST: Exclude .cvsignore. [found by: eban]knu2003-03-031-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/MANIFEST: Belatedly add lib/win32/registry.rb.knu2003-03-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: Belatedly add Test::Unit files. D'oh!knu2003-03-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yycompile): zero clear ruby_eval_tree_begin ifmatz2003-03-031-0/+5
| | | | | | | compilation failed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_nbyte): should output always via rb_io_write().matz2003-03-031-0/+15
| | | | | | | | | | | | | | | | * marshal.c (dump_ensure): ditto. * marshal.c (marshal_dump): should call "binmode" method, if it responds to. * marshal.c (r_byte): should input always via "getc" method. * marshal.c (r_bytes0): should input always via "read" method. * marshal.c (marshal_load): need not to set up FILE* fp; git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): parse 'lhs = a rescue b' as 'lhs=(a rescue b)'.matz2003-03-031-0/+9
| | | | | | | | * io.c (rb_io_fread): should not clearerr() if there's no filled buffer (i.e. rb_io_fread() returning zero). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-expr-beg): escaped char syntax.nobu2003-03-021-0/+13
| | | | | | | | | | | | | | * misc/ruby-mode.el (ruby-parse-partial): ditto. * misc/ruby-mode.el (ruby-parse-partial): no deep indent for block. * misc/ruby-mode.el (ruby-backward-arg): skip arguments backward. * misc/ruby-mode.el (ruby-calculate-indent): too deep indentation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (map_errno): map OS error to errno. [new]usa2003-02-281-0/+17
| | | | | | | | | | | | | | | | | | * win32/win32.c (pipe_exec, CreateChild, poll_child_status, waitpid, kill, link, rb_w32_rename, unixtime_to_filetime, rb_w32_utime): use map_errno() instead of using GetLastError() directly. * win32/win32.c (rb_w32_select, rb_w32_accept, rb_w32_bind, rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname, rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv, rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt, rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr, rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname, rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport, rb_w32_fclose, rb_w32_close): map winsock error to errno. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (flock): supports larger files, and maps errornobu2003-02-281-0/+10
| | | | | | | | | | | | code. * win32/win32.c (rb_w32_asynchronize): returns errno from child thread. * win32/win32.c (rb_w32_fclose, rb_w32_close): ensures unlocked. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_new): need no MEMZERO().matz2003-02-271-19/+18
| | | | | | | | | | | | * numeric.c (fix_gt): use rb_num_coerce_cmp() instead of rb_num_coerce_bin. * numeric.c (fix_ge, fix_lt, fix_le): ditto. * numeric.c (flo_gt, flo_ge, flo_lt, flo_le): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: replace Kernel.open as well.akr2003-02-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb (DEBUGGER__::Context#debug_command): bp filename mustnahi2003-02-251-0/+5
| | | | | | | be the basename of it. [ruby-talk:65644] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils (fu_stream_blksize): wrong logial condition.eban2003-02-231-0/+5
| | | | | | | (and -> or). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_create): may called from place higher thanmatz2003-02-211-0/+8
| | | | | | | | | | rb_gc_stack_start. * gc.c (Init_stack): update rb_gc_stack_start if it is lower (or higher if stack grows down) than the previous value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: new method FileUtils#copy_stream.aamine2003-02-211-0/+10
| | | | | | | | | * lib/fileutils.rb: new method FileUtils#compare_file. * lib/fileutils.rb: new method FileUtils#compare_stream. * lib/fileutils.rb: new method FileUtils#rmtree (alias of rm_rf). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cmp_m): should use LONG2NUM().matz2003-02-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_require): do not need to abort if a DLEXT fileeban2003-02-211-0/+5
| | | | | | | is not found. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cmp_m): two small bugs fixed.matz2003-02-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_remove): back outt changes.matz2003-02-211-5/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc_mark): inline rb_gc_mark_children().matz2003-02-211-0/+6
| | | | | | | * gc.c (gc_sweep): new tactics to increase malloc_limit mildly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cmp_m): return nil if str2 does not respond tomatz2003-02-201-0/+15
| | | | | | | | | | | | | | | | | both "to_str" and "<=>". * compar.c (cmp_gt): return nil if "<=>" returns nil (means incomparable). * compar.c (cmp_ge): ditto. * compar.c (cmp_lt): ditto. * compar.c (cmp_between): use RTEST(), since cmp_lt and cmp_gt may return nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_remove): thread may die in the process ofmatz2003-02-201-0/+10
| | | | | | | | | | | | rb_thread_die(). this change was suggested by Rudi Cilibrasi <cilibrar@drachma.ugcs.caltech.edu>. * eval.c (rb_thread_start_0): main thread swapped by fork() may terminate rb_thread_start_0() successfully. call ruby_stop(0); this change too was suggested by Rudi. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): fix wrong behavior for root file.nobu2003-02-201-0/+7
| | | | | | | | | expand_path("..", "//machine/share") => "//machine/share" expand_path("..", "c:/a") => "c:/" expand_path("..", "/a") => "/" git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): should not upward beyond share name.nobu2003-02-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h (strtoul): fix prototype of strtoul.eban2003-02-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (clhs): allow "Foo::Bar = x".matz2003-02-201-0/+24
| | | | | | | | | | | | | | | | | | | | | * parse.y (primary): "self[n]=x" can be legal even when "[]=" is private. changes submitted in [ruby-talk:63982] * parse.y (aryset): ditto. * parse.y (attrset): "self.foo=x" can be legal even when "foo=" is private. * eval.c (is_defined): private "[]=" and "foo=" support. * eval.c (rb_eval): ditto. * eval.c (assign): ditto. * eval.c (rb_eval): "foo=" should not always be public. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_restore_context): inhibit interrupts innobu2003-02-191-0/+5
| | | | | | | critical section while context switching. [ruby-talk:64785] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (nd_cpath): nested class/module declaration.nobu2003-02-191-0/+11
| | | | | | | | | | | | | [EXPREIMENTAL] * eval.c (rb_eval): ditto. * gc.c (rb_gc_mark_children): ditto. * parse.y (cpath): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): should not report uninitialized warning bymatz2003-02-181-0/+10
| | | | | | | | | | | | attribute reader method. * variable.c (rb_attr_get): new function to get instance variable without uninitialized warning. * io.c (argf_to_io): should prefetch argv. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-comment-column): customize commentnobu2003-02-171-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | column. [new] * misc/ruby-mode.el (ruby-deep-indent-paren): deep indentation parentheses. [new] * misc/ruby-mode.el (ruby-expr-beg): fix for / after $?. * misc/ruby-mode.el (ruby-parse-partial, ruby-calculate-indent): deep indentation support. * misc/ruby-mode.el (ruby-forward-sexp, ruby-backward-sexp): move forward/backward across one balanced expression. [new] * misc/ruby-mode.el (ruby-indent-exp): indent balanced expression. [new] * misc/ruby-mode.el (ruby-electric-brace): indent before show matching parenthesis. (contributed by NABEYA Kenichi) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir, rb_w32_utime): need parens.nobu2003-02-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (link): implement with CreateHardLink().usa2003-02-171-0/+7
| | | | | | | | * win32/win32.c, win32/win32.h (rb_w32_utime): enable utime() to directory if on NT. [new] (ruby-bugs-ja:PR#393) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit error.nobu2003-02-171-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): buffer might be reallocated whilenobu2003-02-161-0/+9
| | | | | | | | | | | expanding default directory. * file.c (file_expand_path): default directory was being ignored if path was full path with no drive letter, under DOSISH. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (prep_stdio, Init_io): always set binmode on Cygwin.eban2003-02-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e