summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-01-12Check the return value of dlopen().ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-12* io.c (next_argv): inherit binmode from $defout.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-11Correct the description about type specifiers.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-11* ext/dl/lib/dl/win32.rb: compatibility improvement.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-112003-01-11eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-10* configure.in (RUBY_CHECK_IO_NEED): added more tests.nobu
* io.c (rb_io_check_readable): seek after synchronized write. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-09* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): syntaxnobu
classes are not allowed inside character classes. [ruby-talk:60996] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-09* configure.in: AC_MSG_FAILURE is a new macro in 2.54b or later.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-09adjust indentationnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-09* configure.in (RUBY_CHECK_IO_NEED): check whether fseek() andnobu
fflush() are needed. * io.c (flush_before_seek): flush write stream only. * io.c (rb_io_check_readable): seek instead of flush if the last operation was write. * io.c (rb_io_check_writable): seek instead of flush if the last operation was read. * bcc32/Makefile.sub, win32/Makefile.sub: needs to seek between R/W. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-09* eval.c (rb_eval): should not discard nested NODE_BLOCK.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-092003-01-09eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-09* parse.y (stmt): NODE_NOT elimitation for if/unless/while/until node.matz
* parse.y (primary): ditto. * eval.c (rb_eval): reduce recursive rb_eval() call by using sort of continuation passing style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-09* st.h, st.c: Back out the introduction of st_*_func_t. Someknu
compilers complain about function type mismatch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-08* ext/Win32API/lib/win32/registry.rb: added. [new]usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-082003-01-08eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-08* eval.c: remove ruby_last_node and assignments seems to bematz
unnecessary * intern.h: debug does not run if ID_ALLOCATOR is zero. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-08* range.c (range_each): treat fixnums specially to boost.matz
* numeric.c (num_step): remove rb_scan_args() for small speedup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-07* eval.c (svalue_to_avalue): should return converted array.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-07* hash.c (env_clear): new Hash compatible method.matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-072003-01-07eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06* eval.c (rb_f_local_variables): skip $_, $~ and flip states innobu
dynamic variables. [ruby-core:00681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06[Forced commit]knu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06* st.h, st.c: Introduce new conventional typedef's, st_data_t,knu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06* intern.h (rb_check_array_type): Declare rb_check_array_type().knu
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06* file.c: improve DOSISH drive letter support.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-062003-01-06eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06* lib/fileutils.rb (ln): add ' -f' in the verbose message.eban
* lib/fileutils.rb (cp_r): add 'p' in the verbose message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06* process.c (proc_exec_v): follow to proc_spawn_v(). call do_aspawn()usa
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05commit missnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05*** empty log message ***nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05* struct.c (make_struct): needs meta class.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05* lib/fileutils.rb (ln): `argv' is not a argument.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05* ext/extmk.rb (extmake): set $0 temporarily while loadingnobu
extconf.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05* instruby.rb: need paren in regexp(make -n install).eban
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-052003-01-05nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05* ruby.c (ruby_init_loadpath): under Windows, get the modulenobu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-04FLUSH_REGISTER_WINDOWS must not be empty. Set to NULL instead.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-04* defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call anknu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-04* file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32.usa
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-04* process.c (rb_proc_exec): use same logic as DJGPP on win32 ports.usa
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-04* configure.in: set rb_cv_need_io_flush_between_seek=yes.usa
* win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK. (pointed out by moriq [ruby-dev:19299]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-03* file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-032003-01-03nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-03* process.c (rb_proc_times): need to initialize first.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-02commit missnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-02* regex.c (re_match):nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-022003-01-02nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-02* eval.c (bmcall): arguments should be an array.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-01* process.c (rb_proc_times): avoid WindowsXP crash using volatilematz
variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e