aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
Commit message (Collapse)AuthorAgeFilesLines
* 2002-04-11eban2002-04-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_obj_remove_instance_variable): raise NameError ifmatz2002-04-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified instance variable is not defined. * variable.c (generic_ivar_remove): modified to check ivar existence. * file.c (rb_file_s_extname): new method based on the proposal (and patch) from Mike Hall. [new] * eval.c (error_handle): default to 1 unless status is set. * eval.c (ruby_options): guard error_handle() with PROT_NONE. * eval.c (ruby_stop): ditto. * math.c (math_acosh): added. [new] * math.c (math_asinh): ditto. * math.c (math_atanh): ditto. * struct.c (rb_struct_each_pair): method added. [new] * class.c (rb_singleton_class): wrong condition; was creating unnecessary singleton class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (check_modifiable): performancenobu2002-04-091-2/+2
| | | | | | | | | | | | | | improvement. avoid calling rb_str_modify() twice. * ext/stringio/stringio.c (strio_ungetc): ditto. * ext/stringio/stringio.c (strio_putc): ditto. * ext/stringio/stringio.c (strio_write): ditto, and use rb_str_cat() as possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-04-08nobu2002-04-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-04-04nobu2002-04-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-04-02nobu2002-04-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-04-01nobu2002-04-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-29nobu2002-03-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_sysseek): new method based on a patch from Aristarkhmatz2002-03-271-2/+2
| | | | | | | | | A Zagorodnikov <xm@bolotov-team.ru>. [new] * io.c (READ_DATA_PENDING): use !feof(fp) for default behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): while/until statement modifiers to "begin"matz2002-03-261-2/+2
| | | | | | | | | | | | | | | | | | | | statement now work as "do .. while" even when begin statement has "rescue" or "ensure" [new]. * parse.y (bodystmt): rescue/ensure is allowed at every bodies, i.e. method bodies, begin bodies, class bodies[new], and module bodies[new]. * ext/socket/socket.c (sock_addrinfo): should specify ai_socktype for getaddrinfo hints. * eval.c (rb_f_abort): embed aborting message into exception object [new]. * eval.c (terminate_process): utility function for exit and abort. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-25eban2002-03-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-22usa2002-03-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-20nobu2002-03-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_search): should clear last_match if pos is out ofmatz2002-03-191-2/+2
| | | | | | | | | | | | | | | string range. * string.c (rb_str_index_m): ditto. * string.c (rb_str_rindex): ditto. * class.c (rb_define_class): should handle autoload. * class.c (rb_define_module): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parse_string): part of multi-byte sequence must notnobu2002-03-181-2/+2
| | | | | | | | | | | | | match to paren. * parse.y (parse_qstring): ditto. * parse.y (parse_quotedwords): ditto. * parse.y (str_extend): handle multi-byte characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-15eban2002-03-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-14nobu2002-03-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-13nobu2002-03-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-12nobu2002-03-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-11nobu2002-03-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-08eban2002-03-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_source_filename): added. holds unique strings for filenobu2002-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | names with GC space. * gc.c (rb_gc_mark): mark source file name. * gc.c (gc_sweep): ditto. * gc.c (Init_GC): initialize source file name table. * intern.h (rb_source_filename): added. * eval.c (rb_eval_string): use rb_source_filename(). * parse.y (yycompile): ditto. * ruby.c (proc_options): ditto. * ruby.c (load_file): ditto. * ruby.c (ruby_script): ditto. * ruby.c (ruby_prog_init): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_load): use LoadLibrary instead of LoadLibraryEx.eban2002-03-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-01eban2002-03-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-28eban2002-02-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (READ_DATA_PENDING): uClibc support.eban2002-02-271-2/+2
| | | | | | | | * random.c (rand_init): ditto. * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-26usa2002-02-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-25eban2002-02-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-22nobu2002-02-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-21eban2002-02-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-20nobu2002-02-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ungetc): don't fail pushed EOF back.nobu2002-02-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-18nobu2002-02-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-17nobu2002-02-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-16nobu2002-02-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): replace rb_cvar_declare() by rb_cvar_set().matz2002-02-151-2/+2
| | | | | | | | | | | | * 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-14nobu2002-02-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-13eban2002-02-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file): avoid SEGV on '#' only input.nobu2002-02-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-09nobu2002-02-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-08nobu2002-02-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-07nobu2002-02-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_readlines): avoid calling GetOpenFile() repeatedly.matz2002-02-061-2/+2
| | | | | | | | | | | * 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
* * io.c (fptr_finalize): should raise error when fclose fails.matz2002-02-051-2/+2
| | | | | | | | * 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-04eban2002-02-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-01nobu2002-02-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_adjust_startpos): search start of multibytenobu2002-01-291-2/+2
| | | | | | | | | backward. * regex.c (mbc_startpos): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (is_defined): defined?(Foo::Baz) should check constantsmatz2002-01-281-2/+2
| | | | | | | | | | | | | | | | | | | | | 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
* * configure.in (solaris): add '-shared' only for GNU ld.eban2002-01-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-01-23nobu2002-01-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e