ext/socket/socket.c (sock_s_getaddrinfo): add strcmp.
1 lines of code changed in:
Add set.rb.
786 lines of code changed in:
* ext/Win32API/Win32API.c (Win32API_Call): typo.
5 lines of code changed in:
2002-08-30
2 lines of code changed in:
* variable.c (rb_const_assign): st_delete() takes pointer to key.
5 lines of code changed in:
commit miss.
11 lines of code changed in:
* ext/Win32API/Win32API.c (Win32API_Call): RSTRING()->ptr may be
NULL.
* ext/nkf/nkf.c (rb_nkf_guess): ditto.
* ext/readline/readline.c (readline_s_set_completion_append_character):
ditto.
* ext/socket/socket.c (sock_s_getaddrinfo, sock_s_getnameinfo):
ditto.
* ext/tcltklib/tcltklib.c (ip_toUTF8, ip_fromUTF8): ditto.
22 lines of code changed in:
re.c: match_become based on (ruby-core:382, :386, :389)
17 lines of code changed in:
* bcc32/MakeFile.sub (sitearch): add.
5 lines of code changed in:
Merged Nakada's patch [ruby-dev:18097].
7 lines of code changed in:
* array.c (rb_ary_become): should not free ptr if it's shared.
* eval.c (rb_alias): prohibit making an alias named "allocate" if
klass is a metaclass.
* string.c (rb_string_value_ptr): StringValuePtr() should never
return NULL pointer.
203 lines of code changed in:
* io.c (read_all): should use off_t instead of long.
7 lines of code changed in:
(ruby-bugs-ja:PR#296)
1 lines of code changed in:
* marshal.c (r_object): yield loaded objects, not intermediates.
20 lines of code changed in:
variable.c: Get rid of fix len buffer in rb_class_path (ruby-core:381)
16 lines of code changed in:
* io.c (appendline): data was lost when raw mode.
19 lines of code changed in:
* ext/stringio/stringio.c (strio_initialize): RSTRING(mode)->ptr
can be NULL.
* ext/stringio/stringio.c (strio_ungetc): fix buffer overflow.
24 lines of code changed in:
adjust indet
1 lines of code changed in:
file.c: fix mem leak in rb_stat_init
8 lines of code changed in:
* win32/win32.c (kill): negate pid under Win9x.
23 lines of code changed in:
Int vs Long cleanup #3 (ruby-core:352)
95 lines of code changed in:
* configure.in (ar): don't check twice for ar.
7 lines of code changed in:
* string.c (rb_str_delete_bang): should check if str->ptr is 0.
* string.c (rb_str_squeeze_bang): ditto.
* string.c (rb_str_count): ditto.
* string.c (rb_str_lstrip_bang): ditto.
* string.c (rb_str_rstrip_bang): ditto.
* string.c (rb_str_intern): ditto.
31 lines of code changed in:
* win32/win32.h: define SIGINT and SIGKILL if not defined.
* win32/win32.c: remove definition of SIGINT and SIGKILL.
15 lines of code changed in:
* ruby.c (require_libraries): prevent ruby_sorcefile from GC.
10 lines of code changed in:
* string.c (rb_str_rstrip_bang): don't access address -1.
1 lines of code changed in:
* file.c (rb_find_file): $LOAD_PATH must not be empty.
* file.c (rb_find_file_ext): ditto.
* range.c (range_eq): class check should be based on range.class,
instead of Range to work with Range.dup.
* range.c (range_eql): ditto.
* class.c (rb_mod_dup): need to preserve metaclass and flags.
* object.c (rb_cstr_to_dbl): had a buffer overrun.
* marshal.c (w_class): integrate singleton check into a funciton
to follow DRY principle.
* marshal.c (w_uclass): should check singleton method.
* object.c (rb_obj_dup): dmark and dfree functions must be match
for T_DATA type.
* object.c (rb_obj_dup): class of the duped object must be match
to the class of the original.
* re.c (rb_reg_quote): do not escape \t, \f, \r, \n, for they are
not regular expression metacharacters.
* time.c (time_s_alloc): use time_free instead of free (null check,
also serves for type mark).
* time.c (time_s_at): check dfree function too.
261 lines of code changed in:
node.h: unsigned int cast (ruby-core:358)
1 lines of code changed in:
array small opt. changes (ruby-core:355)
8 lines of code changed in:
* lib/cgi.rb (CGI#form): fix ruby-bugs-ja:PR#280, add default action.
11 lines of code changed in:
2002-08-24
2 lines of code changed in:
* eval.c (call_trace_func): restore source file/line, as trace
function installed in required library with -r option can be
called while parsing. (ruby-bugs:PR#372)
* eval.c (module_setup): unused variable. [ruby-core:00358]
16 lines of code changed in:
* lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness.
* lib/pp.rb: pretty_print_cycled is renamed to pretty_print_cycle.
47 lines of code changed in:
* instruby.rb: arch -> sitearch
4 lines of code changed in:
array.c: Mem optim for Array#select
3 lines of code changed in:
* eval.c (method_call): check receiver is defined.
* eval.c (umethod_call): removed.
10 lines of code changed in:
2002-08-23
2 lines of code changed in:
* configure.in: RUBY_SO_NAME is msvcrt-rubyXX on mswin32/mingw32.
* configure.in (sitearch): new var.
* mkconfig.rb, lib/mkmf.rb (sitearch): ditto.
* win32/Makefile.sub, win32/setup.mak (sitearch): ditto.
36 lines of code changed in:
array.c: Int vs Long #2
21 lines of code changed in:
Int vs Long clenup (forgot ChangeLog)
8 lines of code changed in:
*.c: Int vs Long cleanup
147 lines of code changed in:
2002-08-21
2 lines of code changed in:
* eval.c (rb_thread_cleanup): should not modify the global
variable curr_thread.
57 lines of code changed in:
* ChangeLog: typo fix.
1 lines of code changed in:
* configure.in: set ac_cv_func__setjump to "no" on Cygwin.
* configure.in: set ac_cv_func_crypt to "no" on MinGW.
9 lines of code changed in:
* replace of check EPIPE error(in getc()) rutine on bcc32.
12 lines of code changed in:
2002-08-20
2 lines of code changed in:
* file.c (rb_file_s_expand_path): accept drive letter on Cygwin.
* file.c (is_absolute_path): ditto.
11 lines of code changed in:
* io.c (rb_io_putc): output via rb_io_write().
* re.c (rb_reg_initialize_m): frozen check should be moved here
from rb_reg_initialize().
17 lines of code changed in:
* misc/inf-ruby.el (inf-ruby-keys): ruby-send-definition
conflicted with ruby-insert-end.
* misc/inf-ruby.el (inferior-ruby-mode): compilation-minor-mode.
* misc/inf-ruby.el (ruby-send-region): send as here document to
adjust source file/line. [ruby-talk:47113], [ruby-dev:17965]
* misc/inf-ruby.el (ruby-send-terminator): added to make unique
terminator.
71 lines of code changed in:
* array.c (sort_2): fatal typo.
1 lines of code changed in:
* array.c (sort_2): comparison should be done as signed long.
* array.c (sort_2): should return int, not VALUE.
10 lines of code changed in:
* array.c (sort_2): *a - *b may overflow.
* array.c (ary_new): len*sizeof(VALUE) may be a positive value.
* array.c (rb_ary_initialize): ditto.
* object.c (rb_class_allocate_instance): move singleton class
check from rb_obj_alloc().
* re.c (rb_reg_initialize): should not modify frozen Regexp.
* ext/tcltklib/tcltklib.c (ip_init): allocation framework.
104 lines of code changed in:
particular symbol for win32_exception_list.
13 lines of code changed in:
* eval.c (win32_get_exception_list, win32_set_exception_list): Cygwin fix.
7 lines of code changed in:
2002-08-19
2 lines of code changed in:
* eval.c (rb_thread_save_context, rb_thread_restore_context):
save/restore SEH chain on MS-Windows at thread switch.
[ruby-win32:273]
* eval.c (win32_get_exception_frame, win32_set_exception_frame):
added.
65 lines of code changed in:
* io.c (NOFILE): define NOFILE as 64 if not defined.
* signal.c (sighandler_t): rename to sh_t on dietlibc.
13 lines of code changed in:
* bignum.c (rb_cstr_to_inum): new decimal and octal string.
35 lines of code changed in:
* io.c (rb_io_fread): renamed from io_fread and made extern.
* marshal.c (r_bytes0): check if successfully read, use
rb_io_fread() instead of fread() to be preemptive.
(ruby-bugs-ja:PR#294, 295)
* rubyio.h (rb_io_fread): added.
20 lines of code changed in:
commit miss.
0 lines of code changed in:
2002-08-16
2 lines of code changed in:
* eval.c (compile_error): must not clear ruby_sourcefile here.
(ruby-bugs:PR#364).
* eval.c (rb_longjmp): set ruby_sourcefile before making
backtrace.
11 lines of code changed in:
* eval.c (ruby_current_node) : added to set sourceline on demand.
* eval.c (error_pos, error_print, rb_longjmp, assign): set source
file/line.
* eval.c (rb_eval): store current node instead of file/line, and
preserve it at return.
* eval.c (module_setup): ditto.
* eval.c (struct thread): store node instead of file/line.
* eval.c (rb_thread_raise): ditto.
* intern.h (ruby_current_node): added.
* intern.h (ruby_set_current_source): added.
* parse.y (stmt, arg): not fix position of assignment.
* parse.y (node_assign): ditto.
* parse.y (yycompile): clear current node.
125 lines of code changed in:
* lib/rational.rb(Rational#hash): modify algorism for hash-function.
1 lines of code changed in:
ole_invoke: retry when calling by reference is fail.
20 lines of code changed in:
* hash.c (rb_hash_replace): should copy ifnone.
* hash.c (rb_hash_dup): should preserve HASH_PROC_DEFAULT and
HASH_DELETED flags.
* hash.c (rb_hash_shift): shift from empty hash should not return
its default proc.
* hash.c (rb_hash_default_proc): new method. [new]
* array.c (rb_ary_aref): no need for Bignum check.
* array.c (rb_ary_aset): explicit Bignum check removd.
* numeric.c (fix_aref): normalize bignum before bit-op.
* bignum.c (rb_big_rand): max may be Bignum zero.
* bignum.c (rb_cstr_to_inum): should normalize bignums, to avoid
returning fixable bignum value.
* bignum.c (rb_uint2big): there should be no zero sized bignum.
* ext/extmk.rb.in: extmake() that works properly for both tkutil
(tk/tkutil.so) and digest/sha1.
* hash.c (rb_hash_equal): should check HASH_PROC_DEFAULT too.
122 lines of code changed in:
* ruby.c (set_arg0): Correct the position of #endif.
5 lines of code changed in:
* bignum.c (rb_big_cmp): use dbl2big() for Floats, instead of
big2dbl().
* bignum.c (Init_Bignum): rb_big_zero_p() removed. There may be
Bignum zero.
* eval.c (rb_call0): new argument added for original method name.
preserve original method name in frame->orig_func.
* eval.c (is_defined): use frame->orig_func, not last_func.
* eval.c (rb_eval): ditto.
* eval.c (method_call): supply data->oid also to rb_call0().
* object.c (rb_class_allocate_instance): call rb_obj_alloc() when
called from alias, thus invoke original "allocate".
* eval.c (remove_method): removing allocate from classes should
cause NameError.
* hash.c (rb_hash_equal): should check default values.
* ext/socket/socket.c (s_recvfrom): update RSTRING len.
86 lines of code changed in:
* bignum.c (rb_big_cmp): raise for NaN. (ruby-bugs-ja:PR#284).
10 lines of code changed in:
* eval.c (rb_eval): set line number from all nodes.
* eval.c (proc_to_s): show source file/line if available.
* marshal.c (r_object): register TYPE_BIGNUM regardless real type.
23 lines of code changed in:
* win32ole.c(WIN32OLE#ole_methods): list up all methods.
* win32ole.c(WIN32OLE#ole_method_help): get all method information.
172 lines of code changed in:
* ext/Win32API/extconf.rb: check existence of <windows.h>.
5 lines of code changed in:
* lib/optparse.rb (String): must provide conversion block.
5 lines of code changed in:
* lib/optparse.rb (OptionParser::Switch::parse_arg): require block
always.
* lib/optparse.rb (NilClass): must provide conversion block.
15 lines of code changed in:
* lib/optparse/time.rb: prior time.rb.
5 lines of code changed in:
* optparse.rb (OptionParser::Completion::convert): returned all
values not first one.
* optparse.rb (OptionParser::Switch::parse): return values as is.
* optparse.rb (OptionParser::order): ditto.
15 lines of code changed in:
* lib/optparse/uri.rb: require standard uri module. thanks to
Minero Aoki.
8 lines of code changed in:
* ext/racc/cparse/cparse.c: reduce goto.
48 lines of code changed in:
* string.c (rb_str_rindex): must return -1 if unmatched.
7 lines of code changed in:
typo
16 lines of code changed in:
* ext/racc/cparse/cparse.c (parse_main): avoid GCC 3 warning.
1 lines of code changed in:
* MANIFEST: add lib/racc/parser.rb.
* ext/racc/cparse/cparse.c: code refine.
* ext/racc/cparse/MANIFEST: add depend.
449 lines of code changed in:
Multiple call of the initialize.
9 lines of code changed in:
Conform to the allocation framework.
83 lines of code changed in:
* ext/curses/curses.c: follow allocation framework.
39 lines of code changed in:
* eval.c (rb_eval): set constant in cbase scope.
* eval.c (assign): ditto.
10 lines of code changed in:
* configure.in: remove initstate checking.
1 lines of code changed in:
* ext/strscan/strscan.c: follow allocation framework.
204 lines of code changed in:
2002-08-01
2 lines of code changed in:
* parse.y (tokadd_string): ignore backslashed spaces in %w.
* enum.c (enum_find): do not use rb_eval_cmd(); should not accept
a string for if_none.
23 lines of code changed in: