summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/Win32API/lib/win32/registry.rb: added. [new]usa2003-01-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove ruby_last_node and assignments seems to bematz2003-01-081-0/+13
| | | | | | | | | unnecessary * intern.h: debug does not run if ID_ALLOCATOR is zero. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (svalue_to_avalue): should return converted array.matz2003-01-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_clear): new Hash compatible method.matz2003-01-071-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hash.c (env_shift): ditto. * hash.c (env_invert): ditto. * hash.c (env_replace): ditto. * hash.c (env_update): ditto. * array.c (rb_ary_join): dispatch based on "to_str". * array.c (rb_ary_times): ditto. * array.c (rb_ary_equal): ditto. * process.c (rb_f_exec): dispatch based on "to_ary". * eval.c (umethod_bind): exact class match is not required. relax the restriction to subclasses. * eval.c (rb_eval): call "inherited" before executing class body. * class.c (rb_define_class): call "inherited" after defining the constant. * class.c (rb_define_class_under): ditto. * eval.c (massign): expand first element if RHS is an array and its size is 1, and LHS has concrete assignment target (i.e. LHS has target(s) other than *var). * eval.c (massign): avoid unnecessary avalue/svalue conversion. * eval.c (rb_yield_0): ditto * array.c (rb_ary_update): do not allocate unused array if rpl is nil (i.e. merely removing elements). * io.c (io_read): should resize supplied string if it's shorter than expected. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_local_variables): skip $_, $~ and flip states innobu2003-01-061-0/+5
| | | | | | | dynamic variables. [ruby-core:00681] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [Forced commit]knu2003-01-061-5/+1
| | | | | | | | | | | | I was wrong about something. It was a return value, not arguments that are not covered by the int-to-long promotion rule on IA64, if the function is not explicitly declared. The commit itself was generally a right thing to do, but just let me correct my commit message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.h, st.c: Introduce new conventional typedef's, st_data_t,knu2003-01-061-0/+15
| | | | | | | | | | | | | | | | | st_compare_func_t, st_hash_func_t and st_each_func_t. * st.h, st.c: Do explicit function declarations and do not rely on implicit declarations. On such platforms as IA64, int argument values are NOT automatically promoted to long (64bit) values, so explicit declarations are mandatory for those functions that take long values or pointers. This fixes miniruby's coredump on FreeBSD/IA64. * class.c, eval.c, gc.c, hash.c, marshal.c, parse.y, variable.c: Add proper casts to avoid warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (rb_check_array_type): Declare rb_check_array_type().knu2003-01-061-0/+14
| | | | | | | | | | * ext/digest/md5/md5ossl.c: Include stdio.h for sprintf() and string.h for memcmp(). * ext/dl/ptr.c: Include ctype.h for isdigit(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c: improve DOSISH drive letter support.usa2003-01-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (ln): add ' -f' in the verbose message.eban2003-01-061-0/+6
| | | | | | | * lib/fileutils.rb (cp_r): add 'p' in the verbose message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_exec_v): follow to proc_spawn_v(). call do_aspawn()usa2003-01-061-0/+11
| | | | | | | | | | | | | on Win32. * process.c (rb_proc_exec): call do_spawn() on Win32. * win32/win32.c, win32/win32.h (do_spawn, do_aspawn): add mode flag. * process.c (proc_spawn_v, rb_f_system): follow above change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-01-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2003-01-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (make_struct): needs meta class.nobu2003-01-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (ln): `argv' is not a argument.eban2003-01-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): set $0 temporarily while loadingnobu2003-01-051-0/+5
| | | | | | | extconf.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: need paren in regexp(make -n install).eban2003-01-051-0/+12
| | | | | | | | | | | | | * ext/extmk.rb (sysquote): do not need to quote on mswin/bccwin/mingw. * ext/extm.rb ($mflags): uniq items and remove '-' and '--'. move options to the lead. * lib/fileutils.rb (install): model on the real install command(message). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath): under Windows, get the modulenobu2003-01-051-0/+12
| | | | | | | | | | | | | | path from an internal address instead of hard coded library name. * cygwin/GNUmakefile.in, bcc32/Makefile.sub, win32/Makefile.sub (CPPFLAGS): removed LIBRUBY_SO macro. * bcc32/Makefile.sub, win32/Makefile.sub (config.h): no longer depends on makefiles. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* FLUSH_REGISTER_WINDOWS must not be empty. Set to NULL instead.knu2003-01-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call anknu2003-01-041-0/+10
| | | | | | | | | | | | inline function instead so it can be used as an expression. * eval.c (EXEC_TAG, THREAD_SAVE_CONTEXT): Consistently call FLUSH_REGISTER_WINDOWS before calling setjmp(). (I suspect that every setjmp() implementation should take care of register windows, though) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32.usa2003-01-041-0/+16
| | | | | | | | | | | | | | | | | * win32/Makefile.sub (LIBS): use oldnames.lib. * win32/win32.c (rb_w32_getcwd): follow above change. * win32/win32.h: ditto. * wince/direct.c, wince/direct.h (getcwd): ditto. * wince/io.h: ditto. * wince/string.c, wince/wince.h (stricmp, strnicmp): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_proc_exec): use same logic as DJGPP on win32 ports.usa2003-01-041-0/+14
| | | | | | | | | | | | | | | * process.c (rb_f_system): ditto. * win32/win32.c, win32/win32.h (do_aspawn): [new]. for arrayed arguments. * win32/win32.c (CreateChild): add new argument for real filename of executing process. * win32/win32.c (NtHasRedirection, pipe_exec): follow above change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set rb_cv_need_io_flush_between_seek=yes.usa2003-01-041-0/+7
| | | | | | | | * win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK. (pointed out by moriq [ruby-dev:19299]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning.nobu2003-01-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_proc_times): need to initialize first.nobu2003-01-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-01-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_match):nobu2003-01-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (bmcall): arguments should be an array.nobu2003-01-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: better DJGPP support. add GNUmakefile.eban2003-01-011-1/+8
| | | | | | | * djgpp/GNUmakefile: new. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (massign): removed awkward conversion between yvalue,matz2003-01-011-0/+11
| | | | | | | | | | | | | mvalue, etc. * eval.c (rb_yield_0): new parameter added to tell whether val is an array value or not. * parse.y (yield_args): restructuring: new nodes: NODE_RESTARY2, NODE_SVALUE; removed node: NODE_RESTARGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix one more.knu2002-12-311-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos.knu2002-12-311-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (struct RNode): Change argc from int to long. Otherwizeknu2002-12-311-0/+7
| | | | | | | | | NEW_CFUNC() sets argc to a wrong value on platforms where sizeof(int) != sizeof(long) and the byte order is big-endian. This fixes breakage on FreeBSD/sparc64. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, {win32,bcc32}/Makefile.sub: add new target:eban2002-12-311-0/+13
| | | | | | | | | | | | | | | what-where, no-install. * mkconfig.rb: add const: CROSS_COMPILING. * ext/extmk.rb: no-install support. add MAKEDIRS macro. * lib/mkmf.rb: add !ifdef .. !endif for Borland make. * process.c: improve DJGPP support. system "ls", "-l". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos.knu2002-12-311-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc_mark_frame): should mark frame->node.matz2002-12-311-0/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/addrinfo.h (NI_MAXHOST): Define NI_MAXHOST andknu2002-12-311-0/+6
| | | | | | | | NI_MAXHOST only if they are not defined yet. This fixes build such platforms as OpenBSD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb (find_tcl, find_tk): Look for bothknu2002-12-311-0/+6
| | | | | | | | lib{tcl,tk}M.N and lib{tcl,tk}MN on all platforms. *BSD have Tcl/Tk libraries named this way. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Improve OpenBSD support. [obtained from: OpenBSDknu2002-12-311-0/+7
| | | | | | | | | ports] * dln.c (FUNCNAME_PATTERN): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_transpose): Properly declare ary as a VALUE.knu2002-12-311-0/+11
| | | | | | | | | | | | * file.c (rb_file_s_chmod): Do not directly cast an int to void * to avoid a warning. * defines.h (FLUSH_REGISTER_WINDOWS): Add support for FreeBSD/sparc64. miniruby still coredumps in a different place, though. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parse_string): readjusted.nobu2002-12-301-0/+11
| | | | | | | | | | | | * parse.y (heredoc_identifier): readjusted. * parse.y (here_document): make EOL codes of single-quoted here-documents consistent. * parse.y (yylex): reduced unnecessary conditionals. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mdoc'ify.knu2002-12-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): do not accept " __END__\n". ([ruby-dev:19245])eban2002-12-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): use strncmp instead of strcmp.eban2002-12-301-0/+5
| | | | | | | accept "__END__\r\n". ([ruby-dev:19241]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: split --make argument contains options, assumenobu2002-12-301-0/+12
| | | | | | | | | | | | | | the first word of --make-flags is always options even unless preceeded by -, and ignore letter-case of options if nmake. * instruby.rb: extract -n option also from --make and --make-flags. * bcc32/Makefile.sub, win32/Makefile.sub: not prepend - to $(MFLAGS) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_substr): should share the shared string ifnobu2002-12-301-0/+5
| | | | | | | present, instead of the original string. (ruby-bugs:PR#528) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (tcp_svr_init): local host tonobu2002-12-291-0/+8
| | | | | | | | | | init_inetsock() is VALUE but not pointer. * ext/socket/socket.c (sock_s_unpack_sockaddr_in): get rid of gcc-3 -O3 warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_chmod): get rid of gcc-3 -O3 warning.nobu2002-12-291-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): adjust GC trigger.nobu2002-12-291-0/+13
| | | | | | | | | | | | | | * dln.c (init_funcname_len): get rid of gcc-3 -O3 warning. * eval.c (copy_node_scope): ditto. * hash.c (rb_hash_foreach, delete_if_i, select_i, each_value_i, each_key_i, each_pair_i, envix): ditto. * range.c (range_each_func): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add location.aamine2002-12-291-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e