* range.c (range_check): need no Fixnum check.
6 lines of code changed in:
2002-09-30
4 lines of code changed in:
* io.c (rb_io_inspect): not need to raise IOError for closed stream. [ruby-talk:51871]
6 lines of code changed in:
2002-09-29
2 lines of code changed in:
* win32/win32.c (rb_w32_open_osfhandle): adjust
rb_w32_open_osfhandle() with _open_osfhandle().
* win32/win32.c (rb_w32_accept, rb_w32_socket): return -1 on
error.
* win32/win32.h: should use file descriptor instead of SOCKET.
136 lines of code changed in:
* win32/win32.c (is_socket, rb_w32_select, rb_w32_accept, rb_w32_bind,
rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname,
rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv,
rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt,
rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr,
rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname,
rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport):
need to protect WSAGetLastError() by RUBY_CRITICAL. [ruby-talk:51778]
142 lines of code changed in:
2002-09-28
2 lines of code changed in:
* keywords: add braces around initializers.
84 lines of code changed in:
* hash.c (rb_hash_become): should check self-assignment after
conversion.
6 lines of code changed in:
* hash.c (rb_hash_become): Hash#become should check added
self-assignment.
* class.c (rb_make_metaclass): metaclass of a superclass may be
NULL at boot time.
15 lines of code changed in:
* ext/extmk.rb: The condition judgment without necessity was deleted.
5 lines of code changed in:
Update.
37 lines of code changed in:
Update the MANIFEST files.
12 lines of code changed in:
2002-09-27
2 lines of code changed in:
* eval.c (rb_thread_deadlock, rb_thread_schedule, rb_thread_join): more verbose message at deadlock.
30 lines of code changed in:
* eval.c (rb_eval): Class#inherited should be called after the
execution of the class body.
* parse.y (primary): remove "return outside of method" check at
compile time.
12 lines of code changed in:
Add a knob WITH_BUNDLED_ENGINES to test.sh.
8 lines of code changed in:
* ext/digest/sha1: Use OpenSSL's SHA1 engine if available. It is
much faster than what we have now (sha1.[ch]). Add a knob
(--with-bundled-sha1) to extconf.rb which makes it use the
bundled one anyway.
84 lines of code changed in:
* ext/digest/rmd160: Use OpenSSL's RMD160 engine if available. It
is much faster than what we have now (rmd160.[ch]). Add a knob
(--with-bundled-rmd160) to extconf.rb which makes it use the
bundled one anyway.
88 lines of code changed in:
* ext/digest/md5: Use OpenSSL's MD5 engine if available. It is
much faster than what we have now (md5.[ch]). Add a knob
(--with-bundled-md5) to extconf.rb which makes it use the
bundled one anyway.
63 lines of code changed in:
* ext/digest/digest.c (rb_digest_base_s_digest): Fix a double
free() bug mingled with allocation framework deployment.
* ext/digest/digest.c (rb_digest_base_s_hexdigest): Get rid of
redundant struct allocation.
10 lines of code changed in:
* regex.c (re_match): p1 may exceed pend limit.
5 lines of code changed in:
* dir.c (glob_helper): must not closedir() when exception raised
while globbing "**".
* marshal.c (w_uclass): unused variable.
* re.c (match_clone): unused.
* regex.c (re_compile_pattern): get rid of implicit promotion from
plain char to int.
20 lines of code changed in:
* lib/mkmf.rb (libpathflag): restore ENV['LIB'] when some error occured.
9 lines of code changed in:
* io.c (appendline): forget to terminate with nul.
* eval.c (ruby_run): should set toplevel visibility again here.
* eval.c (rb_eval): should not rely on ruby_class == rb_cObject
check. Besides allow implicit publicity for attribute set
methods.
* parse.y (primary): need not to check class_nest, just set
whether method is an attrset or not.
* string.c (rb_str_each_line): p might be at the top of the
string.
* class.c (rb_make_metaclass): class of metaclass should be
metaclass of superclass, unless class itself is a metaclass;
class of metaclass of metaclass should point back to self.
eh, confusing, isn't it.
* class.c (rb_singleton_class): check if its class is singleton
AND attached to self.
* eval.c (rb_eval): should define class/module under ruby_cbase.
* eval.c (rb_eval): should set class/module path based on
ruby_cbase, not ruby_class.
* eval.c (module_setup): use ruby_cbase instead of ruby_class.
83 lines of code changed in:
make it compile
0 lines of code changed in:
cleanup for curses, gdbm [ruby-core:502], [ruby-core:503]
63 lines of code changed in:
* eval.c (rb_call0): must not clear ruby_current_node, or
backtrace cannot be genetated.
* intern.h (ruby_yyparse): rather than yyparse().
* parse.y (yylex): nextc() returns -1 at end of input, not 0.
* parse.y (newline_node): reduce deplicated newline node.
* parse.y (literal_concat): get rid of warning.
* parse.y (new_evstr): fixed junk code.
35 lines of code changed in:
* configure.in (RUBY_MINGW32): new macro. check for the MinGW
compiler envionment.
* lib/mkmf.rb: refactoring.
144 lines of code changed in:
2002-09-22
2 lines of code changed in:
* eval.c (call_trace_func): should not call trace function while
compilation.
* eval.c (rb_call0): also inside c-func.
* parse.y (yycompile): ditto.
* ruby.c (require_libraries): preserve source file/line for each
require.
23 lines of code changed in:
commit miss
0 lines of code changed in:
* eval.c (rb_thread_raise): no need to save dead thread context.
11 lines of code changed in:
literal_append: remove.
0 lines of code changed in:
* parse.y (block_append): eliminate unused literal nodes.
* parse.y (literal_concat): refined literal concatination.
83 lines of code changed in:
* lib/set.rb: Merge rough/lib/set.rb rev.1.5-1.15.
398 lines of code changed in:
No exception report when the exception is not specified to catch.
[ruby-talk:50330]
1 lines of code changed in:
move struct timeval to missing.h
13 lines of code changed in:
* eval.c (rb_thread_die): put thread dead state.
* eval.c (rb_thread_atfork): free stack buffer at fork too.
18 lines of code changed in:
2002-09-17
2 lines of code changed in:
* eval.c (rb_mod_nesting): load wrapping module should appear in
Module#nesting list. (ruby-bugs-ja:PR#328)
* eval.c (rb_thread_remove): free stack buffer on remove.
20 lines of code changed in:
* io.c: add parameter prototype.
* re.c: ditto.
10 lines of code changed in:
* win32/win32.c (rb_w32_opendir): Corresponds to the unjust path containing ".
(rb_w32_stat) : ditto.
30 lines of code changed in:
* configure.in (OUTFLAG, CPPOUTFILE): moved from lib/mkmf.rb.
check whether ${CPP} accepts the -o option.
* win32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto.
* bcc32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto.
* djgpp/config.sed (OUTFLAG, CPPOUTFILE): ditto.
* lib/mkmf.rb (OUTFLAG, CPPOUTFILE): use CONFIG.
make easy to understand log.
* mkconfig.rb (val): should not strip.
72 lines of code changed in:
* error.c(rb_sys_fail): remove case EPIPE on bcc32 .
4 lines of code changed in:
* dir.c (glob_func_caller): add prototype to get rid of warning.
11 lines of code changed in:
2002-09-13
2 lines of code changed in:
* eval.c (rb_eval): avoid uninitialized global/class variable
warnings at `||='. [ruby-dev:18278]
* parse.y (stmt, arg): ditto
15 lines of code changed in:
Fix-Addons [ruby-core:483] with corrections from [ruby-core:484]
8 lines of code changed in:
* lib/mkmf.rb ($INSTALLFILES): avoid warning when $VERBOSE mode.
6 lines of code changed in:
* bcc32/setup.mak : Control of a message.
* bcc32/makefile.sub : include resource.
22 lines of code changed in:
* dir.c (glob_helper): should pass matched path. (ruby-bugs-ja:PR#333)
4 lines of code changed in:
* dir.c (glob_helper): fixed freeing buffer. (ruby-bugs-ja:PR#332)
6 lines of code changed in:
* dir.c (glob_helper): prevent memory leak using rb_protect().
* string.c (rb_str_associate): no need to check freeze flag.
* string.c (rb_str_resize): should honor STR_ASSOC flag on
resize.
* string.c (rb_str_resize): proper STR_ASSOC handling. pointed
out by Michal Rokos.
* string.c (rb_str_buf_cat): ditto.
* string.c (rb_str_cat): ditto.
* string.c (rb_str_buf_append): ditto.
* string.c (rb_str_append): ditto.
157 lines of code changed in:
2002-09-12
2 lines of code changed in:
* eval.c (rb_trap_eval): preserve thread status and so on.
[ruby-talk:40337], [ruby-core:00019]
84 lines of code changed in:
* pp.rb (ARGF.pretty_print): implemented.
(PP.pp): arguments reordered.
36 lines of code changed in:
* eval.c (proc_to_s): refined format. [ruby-dev:18215]
9 lines of code changed in:
* win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x.
17 lines of code changed in:
* string.c (get_pat): Add an extra argument "quote".
* string.c (rb_str_match_m): Do not bother to convert if a regexp
is given.
26 lines of code changed in:
* bcc32/Makefile.sub: remove unnecessary `.dll' from filename of
dll's resource file.
* cygwin/GNUmakefile.in: ditto. [ruby-dev:17103]
* win32/Makefile.sub: ditto. [ruby-dev:17103]
* win32/resource.rb: ditto. [ruby-dev:17103]
25 lines of code changed in:
2002-09-11
2 lines of code changed in:
retry on EINTR, ERESTART and EWOULDBLOCK. [ruby-dev:17855], [ruby-dev:17878], [ruby-core:00444]
107 lines of code changed in:
* win32/Makefile.sub (ext): make directory `ext' on compile dir.
[ruby-dev:18255]
9 lines of code changed in:
* win32/configure.bat: add CR to end of line.
0 lines of code changed in:
* eval.c (rb_mod_define_method): initialize orig_func too.
(ruby-bugs-ja:PR#330)
6 lines of code changed in:
2002-09-10
2 lines of code changed in:
* parse.y (nextc): restore line number after here documents.
(ruby-bugs-ja:PR#331)
* parse.y (heredoc_restore): ditto.
15 lines of code changed in:
* lib/mkmf.rb: $hdrdir is $top_srcdir if invoked from extmk.rb
4 lines of code changed in:
* ext/extmk.rb, lib/mkmf.rb ($INCFLAGS): new var for -I$(topdir).
* lib/mkmf.rb: add #define WIN32_LEAN_AND_MEAN to improve compile
times.
22 lines of code changed in:
* ChangeLog: specify the source.
4 lines of code changed in:
* win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS).
* win32/Makefile.sub ($(LIBRUBY_A), $(LIBRUBY)): avoid lib.exe's
warning.
* win32/Makefile.sub: remove unnecessary rules.
* win32/configure.bat, win32/setup.mak, win32/README.win32: enable to
pass some arguments to configure.
76 lines of code changed in:
* win32/win32.h (S_I?USR): define only if not mingw32.
7 lines of code changed in:
capa field in RString, and RArray is now LONG (ruby-lang:458)
2 lines of code changed in:
* ext/stringio/stringio.c (strio_set_string): reinitialize
properly.
* ext/stringio/stringio.c (strio_become): added self-assign check
and experimental auto-conversion to StringIO.
* ext/stringio/stringio.c (strio_reopen): added.
36 lines of code changed in:
* time.c (time_free): prototype; struct time_object -> void *.
avoid GCC warnings.
* lib/mkmf.rb, ext/extmk.rb ($LINK, $CPP): move to lib/mkmf.rb.
17 lines of code changed in:
2002-09-08
2 lines of code changed in:
* ext/tcltklib/tcltklib.c: prototype; invoke_queue_handler() to avoid
VC++ warning.
4 lines of code changed in:
* time.c: prototype; time_free() to avoid VC++ warnings.
* win32/win32.c (rb_w32_stat): remove S_IWGRP and S_IWOTH bits from
st_mode.
* win32/win32.h (S_I*): define if not defined.
49 lines of code changed in:
* lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb.
* ext/socket/extconf.rb: use macro_defined? instead of egrep_cpp.
* ext/etc/extconf.rb: use have_struct_member.
* ext/etc/etc.c: add prefix HAVE_ST_ to PW_ macros.
76 lines of code changed in:
removed.
0 lines of code changed in:
* configure.in: modify program_prefix only if specified
--program-prefix.
* configure.in: don't generate ext/extmk.rb.
* Makefile.in: execute directly $(srcdir)/ext/extmk.rb.
remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb.
* {win32,bccwin32}/Makefile.sub: ditto.
* instruby.rb: ditto.
* ext/extmk.rb: renamed from ext/extmk.rb.in.
* lib/mkmf.rb (module Logging): create log files (mkmf.log)
in each extension module directories.
* ext/extmk.rb: ditto.
* lib/mkmf.rb (macro_defined?): new method.
* ext/.cvsignore: remove extmk.rb.
* ext/*/.cvsignore: add "*.def".
679 lines of code changed in:
bcc32/configure.bat : Control of a message.
bcc32/makefile.sub : @(sitearch) typo.
ext/extmk.rb.in : [bccwin32] libdir is added to a library path.
lib/mkmf.rb : ditto.
10 lines of code changed in:
* misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexp
alist for error message from ruby.
* misc/inf-ruby.el (inferior-ruby-mode): fixed for Emacs.
* misc/inf-ruby.el (ruby-send-region): compilation-parse-errors
doesn't parse first line, so insert separators before each
evaluations.
48 lines of code changed in:
2002-09-07
2 lines of code changed in:
Use Enumerable#all? to optimize a bit.
2 lines of code changed in:
* lib/set.rb: Disallow Set.new(false). Add even more tests.
[Submitted by: "Christoph" <chr_news@gmx.net>]
38 lines of code changed in:
* lib/set.rb: Fix a bug in flatten()'s recursive set detection.
[Submitted by: "Christoph" <chr_news@gmx.net>] Some tests
against the bug are added.
* lib/set.rb: Resurrect the test suite by putting it after
__END__ and executing `eval DATA.read'.
328 lines of code changed in:
* parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c.
4 lines of code changed in:
* lib/mkmf.rb ($CC): command to compile C source.
* lib/mkmf.rb (try_compile): added.
* lib/mkmf.rb (egrep_cpp): use internal grep when pattern is
Regexp, otherwise use external egrep command but get rid of
pipe of command.com.
* lib/mkmf.rb (have_func): local variable should be volatile not
to be eliminated by optimization.
* lib/mkmf.rb (create_makefile): link with CONFIG["LIBS"].
* lib/mkmf.rb (create_makefile): emit .SUFFIXES:.
82 lines of code changed in:
* gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequent
garabage collection.
13 lines of code changed in:
2002-09-06
2 lines of code changed in:
* parse.y (rb_gc_mark_parser): should mark lex_input and ruby_debug_lines.
10 lines of code changed in:
* parse.y (rb_gc_mark_parser): should mark parse.y global variables.
12 lines of code changed in:
* io.c (rb_io_puts): RSTRING(line)->ptr might be NULL.
6 lines of code changed in:
* parse.y: should not use non-NODE VALUEs in the semantic stack.
21 lines of code changed in:
* file.c (rb_path_check): nothing to check under DOSISH.
[ruby-list:35772]
10 lines of code changed in:
modify function name.
1 lines of code changed in:
* gc.c (gc_sweep): should mark parser.
* parse.y (rb_gc_mark_parser): new function.
* intern.h (rb_gc_mark_parser): added.
19 lines of code changed in:
* variable.c (rb_path2class): should not use rb_eval_string().
* marshal.c (w_extended): should allow marshaling of object which
is extended by named module.
* class.c (rb_make_metaclass): super may be T_ICLASS, need to skip.
120 lines of code changed in:
fix mem leaks (ruby-core:405, ruby-core:407)
25 lines of code changed in:
2002-09-05
2 lines of code changed in:
* eval.c (rb_eval): overriding false constant with class/module
definition should be error. (PR#327)
5 lines of code changed in:
* lib/mkmf.rb (xsystem): mkmf.log.
1 lines of code changed in:
= should be ==
1 lines of code changed in:
* extmk.rb (create_makefile): add macro MAKEDIRS, INSTALL_PROG,
INSTALL_DATA.
* extmk.rb (create_makefile): support for building to any directory.
* extmk.rb (xsystem): move to mkmf.rb.
* mkmf.rb (xsystem): support for extmk.rb
* mkmf.rb ($CPP): remove '-E' option. add CPPFLAGS.
37 lines of code changed in:
refined.
2 lines of code changed in:
Opt for Array in rb_gc_mark_children() (ruby-core:410)
6 lines of code changed in:
Fix rb_digest_base_become (ruby-core:428)
2 lines of code changed in:
- ==(o) should be aware of all the Set variant instances, not just
those of its subclasses.
- Fix eql?().
Submitted by: "Christoph" <chr_news@gmx.net>
2 lines of code changed in:
* class.c (rb_make_metaclass): obj.meta.super.meta should be equal
to obj.meta.meta.super (ruby-bugs-ja:PR#324).
* parse.y (yylex): the warning message "invalid
character syntax" was never issued.
* marshal.c (r_bytes): do not use alloca (ruby-bugs:PR#382).
68 lines of code changed in:
rb_check_frozen has been added (ruby-core:412)
2 lines of code changed in:
* extmk.rb: require mkmf.rb. remove duplicate methods.
use Config::CONFIG["FOO"] instead of @FOO@.
* mkmf.rb: extmk.rb support.
126 lines of code changed in:
* variable.c (rb_copy_generic_ivar): remove old generic instance
variable table if it existes.
* class.c (rb_make_metaclass): metaclass of a metaclass is a
metaclass itself.
276 lines of code changed in:
* re.c (rb_reg_search): MatchData must be rb_cMatch. (ruby-bugs-ja:PR#319)
9 lines of code changed in:
* gc.c (gc_sweep): does reclaim nodes in also compile time, if we can.
* ruby.c (load_file): omit GC if we can.
* parse.y (ruby_parser_stack_on_heap): new function.
* intern.h (ruby_parser_stack_on_heap): added.
29 lines of code changed in:
2002-09-02
2 lines of code changed in:
read_all ftello (instead ftell) (ruby-core:392)
1 lines of code changed in:
fix mem leak in rb_file_s_readlink() (ruby-core:394)
4 lines of code changed in:
win32ole.c(fole_each) : ensure to release IEnumVARIANT interface.
28 lines of code changed in:
* config.guess: fixed for Linux/PPC.
6 lines of code changed in: