summaryrefslogtreecommitdiff
path: root/version.h
AgeCommit message (Collapse)Author
2002-02-212002-02-21eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-202002-02-20nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-19* io.c (rb_io_ungetc): don't fail pushed EOF back.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-182002-02-18nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-172002-02-17nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-162002-02-16nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-15* eval.c (rb_eval): replace rb_cvar_declare() by rb_cvar_set().matz
* eval.c (assign): ditto. * variable.c (rb_cvar_set): 4th argument (warn) added; define new class variable if it's not defined yet. * variable.c (rb_cvar_declare): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-142002-02-14nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-132002-02-13eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-10* ruby.c (load_file): avoid SEGV on '#' only input.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-092002-02-09nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-082002-02-08nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-072002-02-07nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-06* io.c (rb_io_readlines): avoid calling GetOpenFile() repeatedly.matz
* io.c (rb_io_each_line): ditto. * io.c (argf_getline): ditto. * process.c: should include <time.h> to get proper CLK_TCK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-05* io.c (fptr_finalize): should raise error when fclose fails.matz
* eval.c (method_inspect): proper output format to distinguish methods and singleton methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-042002-02-04eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-012002-02-01nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-29* regex.c (re_adjust_startpos): search start of multibytenobu
backward. * regex.c (mbc_startpos): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-28* eval.c (is_defined): defined?(Foo::Baz) should check constantsmatz
only, no methods. * eval.c (is_defined): should not dump core on defined?(a::b) where a is not a class nor a module. * object.c (Init_Object): remove dup and clone from TrueClass, FalseClass, and NilClass. * array.c (rb_ary_fill): Array#fill takes block to get the value to fill. * string.c (rb_str_to_i): to_i(0) auto-detects base radix. * array.c (rb_ary_initialize): fill by the block evaluation value if block is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-25* configure.in (solaris): add '-shared' only for GNU ld.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-232002-01-23nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-212002-01-21eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-192002-01-19usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-182002-01-18nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-17* eval.c (block_pass): allow "retry" from within argument passedmatz
block. [new] * eval.c (localjump_error): should preserve exit status in the exception object. [new] * eval.c (proc_invoke): should raise exception for "break" if it's yielding, not calling. [new] * eval.c (block_pass): should NOT raise exception for "break". [new] * eval.c (block_pass): should allow block argument relay even in the tainted mode. * ext/socket/socket.c: support subclassing by proper "initialize" calling convention. [new] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-162001-01-16nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-112002-01-11usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-102002-01-10nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-08* eval.c (rb_add_method): clear replaced method from the cache.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-072002-01-07eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-042002-01-05eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-042002-01-05eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-042002-01-05eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-31* parse.y (yycompile): always store copy of filename.nobu
* parse.y (rb_compile_file): no longer need to strdup() here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-28* array.c (rb_cmpint): fixed typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-27* bignum.c (rb_cstr2inum): deny "0_".nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-26* bignum.c (rb_cstr2inum): allow "0\n" and so on.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-212001-12-21eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-20* lib/mkmf.rb (with_destdir): new.nobu
* lib/mkmf.rb: prefix target directories with $(DESTDIR) all. * lib/mkmf.rb: no need to mkdir $(libdir) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-19* eval.c (rb_mod_define_method): define_method should followmatz
default method visibility. * eval.c (rb_attr): should warn if the default method visibility is "module_function" (can be error). * eval.c (rb_mod_define_method): should define class/module method also if the visibility is "module_function". * eval.c (rb_mod_define_method): should call hook method "method_added", and "singleton_method_added". * string.c: use RESIZE_CAPA for capacity change. * ext/socket/socket.c (Init_socket): add listen method to TCPServer and UNIXServer. * ext/socket/socket.c (bsock_send): should raise EWOULDBLOCK exception. * ext/socket/socket.c (s_recvfrom): ditto. * ext/socket/socket.c (s_accept): ditto. * ext/socket/socket.c (udp_send): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-18* string.c (rb_str_replace): swap arguments of OBJ_INFECT.matz
* eval.c (rb_thread_schedule): should not select a thread which is not yet initialized. * time.c (time_plus): wrong boundary check. * time.c (time_minus): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-172001-12-17eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-13* time.c (time_new_internal): avoid loop to calculate negativematz
div, mod. * time.c (time_cmp): should handle Bignums. * array.c (rb_ary_pop): should ELTS_SHARED flag check before REALLOC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-10* array.c (rb_ary_modify): should copy the internal buffer if thematz
modifying buffer is shared. * array.c (ary_make_shared): make an internal buffer of an array to be shared. * array.c (rb_ary_shift): avoid sliding an internal buffer by using shared buffer. * array.c (rb_ary_subseq): avoid copying the buffer. * parse.y (gettable): should freeze __LINE__ string. * io.c (rb_io_puts): old behavoir restored. rationale: a) if you want to call to_s for arrays, you can just call print a, "\n". b) to_s wastes memory if array (and sum of its contents) is huge. c) now any object that has to_ary is treated as an array, using rb_check_convert_type(). * hash.c (rb_hash_initialize): now accepts a block to calculate the default value. [new] * hash.c (rb_hash_aref): call "default" method to get the value corrensponding to the non existing key. * hash.c (rb_hash_default): get the default value based on the block given to 'new'. Now it takes an optinal "key" argument. "default" became the method to get the value for non existing key. Users may override "default" method to change the hash behavior. * hash.c (rb_hash_set_default): clear the flag if a block is given to 'new' * object.c (Init_Object): undef Data.allocate, left Data.new. * ext/curses/curses.c (window_scrollok): use RTEST(). * ext/curses/curses.c (window_idlok): ditto. * ext/curses/curses.c (window_keypad): ditto. * ext/curses/curses.c (window_idlok): idlok() may return void on some platforms; so don't use return value. * ext/curses/curses.c (window_scrollok): ditto for consistency. * ext/curses/curses.c: replace FIX2INT() by typechecking NUM2INT(). * parse.y (str_extend): should not process immature #$x and #@x interpolation, e.g #@#@ etc. * enum.c (enum_sort_by): sort_by does not have to be stable always. * enum.c (enum_sort_by): call qsort directly to gain performance. * util.c (ruby_qsort): ruby_qsort(qs6) is now native thread safe. * error.c (rb_sys_fail): it must be a bug if it's called when errno == 0. * regex.c (WC2MBC1ST): should not pass through > 0x80 number in UTF-8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-0920011209nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-032001-12-03eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-28* eval.c (rb_thread_select): should subtract timeofday() frommatz
limit, not reverse. * util.c (scan_hex): x is not a hexadecimal digit. * eval.c (rb_thread_schedule): should treat the case that select(2) returns 0, if a thread is under both WAIT_SELECT and WAIT_TIME. Jakub Travnik <J.Travnik@sh.cvut.cz> actually fixed this bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-252001-11-25usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-222001-11-22eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-202001-11-20eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e