aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * regex.c (is_in_list): should work weill with UTF-8.matz2003-01-205-26/+55
| | | | | | | * regex.c (re_match_exec): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added RDoc comments.gsinclair2003-01-201-27/+375
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (egrep_cpp): use inspect to show options.nobu2003-01-192-5/+18
| | | | | | | | | | | * lib/mkmf.rb (dir_config): prior configured directories to defaults. * lib/mkmf.rb (dir_config): extract first word to determin make command type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/aix_mksym.rb: no longer used.nobu2003-01-192-12/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use builtin methodsnobu2003-01-191-30/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (eaccess): under windows, make eaccess() just callusa2003-01-192-2/+7
| | | | | | | | | access(). [ruby-core:716], [ruby-bugs:PR#556] * ChangeLog: fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb (shellwords): A backslash ('\') in singleknu2003-01-192-2/+7
| | | | | | | | quotes should not be regarded as meta character. This bug or maybe feature was inherited from Perl's shellwords.pl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-18eban2003-01-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): should not erase all 0s, butnobu2003-01-182-2/+9
| | | | | | | squeeze into one. [ruby-dev:19377] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added RDoc comments. See comments at EOF for TODOs.gsinclair2003-01-171-24/+57
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added RDoc comments. Several issues exist: see comments at EOF.gsinclair2003-01-171-0/+76
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added RDoc comments. Several TODOs remain; see comments at EOF.gsinclair2003-01-171-0/+136
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-17knu2003-01-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): Fix a bug caused by an uninitializedknu2003-01-162-11/+40
| | | | | | | | | | | | | variable v, that a bignum unexpectedly gets converted into a string with its higher figures all filled with ./f/7/1, depending on the base. This bug seems to have been introduced in rev.1.27. * sprintf.c (rb_f_sprintf): Use switch instead of a sequence of else-if's. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-16eban2003-01-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update Copyright to 2003, too.usa2003-01-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* -Wall cleanups (removed unused vars, no 'code has no effect' warnings)michal2003-01-1620-62/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated Copyrights of Matz to 2003.michal2003-01-1644-45/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_all): now works without block.matz2003-01-153-4/+35
| | | | | | | * enum.c (enum_any): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-15nobu2003-01-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ARCHFILE): set even unless --enable-shared onnobu2003-01-153-3/+11
| | | | | | | | | | AIX. [ruby-talk:61466] * marshal.c (math.h): should be included after ruby.h on AIX. [ruby-talk:61366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_require): do not search adding .rb/.so suffixes ifnobu2003-01-142-3/+13
| | | | | | | | the suffix specifiched. [ruby-dev:18702] http://moonrock.jp/~don/d/200211.html#d08_t1 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (list_append): avoid O(n) search using node->nd_next->nd_end.matz2003-01-145-34/+76
| | | | | | | | | * parse.y (list_append): ditto. * eval.c (rb_eval): NODE_ARRY nd_end adoption. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-14eban2003-01-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (next_argv): not always set binmode.nobu2003-01-132-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl/win32.rb: elimitate unnecessary "A" adding.eban2003-01-122-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Check the return value of dlopen().ttate2003-01-121-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (next_argv): inherit binmode from $defout.eban2003-01-123-3/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Correct the description about type specifiers.ttate2003-01-111-18/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl/win32.rb: compatibility improvement.eban2003-01-112-14/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-11eban2003-01-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_IO_NEED): added more tests.nobu2003-01-103-17/+28
| | | | | | | * 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
* * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): syntaxnobu2003-01-092-4/+10
| | | | | | | | 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
* * configure.in: AC_MSG_FAILURE is a new macro in 2.54b or later.nobu2003-01-092-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust indentationnobu2003-01-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_IO_NEED): check whether fseek() andnobu2003-01-095-32/+59
| | | | | | | | | | | | | | | | | | 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
* * eval.c (rb_eval): should not discard nested NODE_BLOCK.matz2003-01-092-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-09eban2003-01-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): NODE_NOT elimitation for if/unless/while/until node.matz2003-01-093-5/+59
| | | | | | | | | | * 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
* * st.h, st.c: Back out the introduction of st_*_func_t. Someknu2003-01-093-12/+13
| | | | | | | compilers complain about function type mismatch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/lib/win32/registry.rb: added. [new]usa2003-01-082-0/+832
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-08eban2003-01-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove ruby_last_node and assignments seems to bematz2003-01-083-22/+26
| | | | | | | | | 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
* * range.c (range_each): treat fixnums specially to boost.matz2003-01-084-8/+31
| | | | | | | * 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
* * eval.c (svalue_to_avalue): should return converted array.matz2003-01-072-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_clear): new Hash compatible method.matz2003-01-0710-126/+507
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-07eban2003-01-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_local_variables): skip $_, $~ and flip states innobu2003-01-062-1/+6
| | | | | | | dynamic variables. [ruby-core:00681] git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.h, st.c: Introduce new conventional typedef's, st_data_t,knu2003-01-0610-101/+131
| | | | | | | | | | | | | | | | | 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