September 2002 Commit Log

Number of Commits:
121
Number of Active Developers:
12
matz 2002-09-30 12:59

* range.c (range_check): need no Fixnum check.

6 lines of code changed in:

nobu 2002-09-30 12:35

2002-09-30

4 lines of code changed in:

nobu 2002-09-30 12:31

* io.c (rb_io_inspect): not need to raise IOError for closed stream. [ruby-talk:51871]

6 lines of code changed in:

nobu 2002-09-29 14:25

2002-09-29

2 lines of code changed in:

nobu 2002-09-29 10:31

* 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:

usa 2002-09-28 22:39

* 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:

eban 2002-09-28 15:11

2002-09-28

2 lines of code changed in:

nobu 2002-09-28 12:08

* keywords: add braces around initializers.

84 lines of code changed in:

nobu 2002-09-28 05:21

* hash.c (rb_hash_become): should check self-assignment after

conversion.

6 lines of code changed in:

matz 2002-09-28 03:41



* 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:

H_Konishi 2002-09-28 01:53

* ext/extmk.rb: The condition judgment without necessity was deleted.

5 lines of code changed in:

knu 2002-09-27 14:36

Update.

37 lines of code changed in:

knu 2002-09-27 14:21

Update the MANIFEST files.

12 lines of code changed in:

knu 2002-09-27 10:56

2002-09-27

2 lines of code changed in:

nobu 2002-09-27 10:42

* eval.c (rb_thread_deadlock, rb_thread_schedule, rb_thread_join): more verbose message at deadlock.

30 lines of code changed in:

matz 2002-09-27 05:26

* 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:

knu 2002-09-26 18:55

Add a knob WITH_BUNDLED_ENGINES to test.sh.

8 lines of code changed in:

knu 2002-09-26 18:44

* 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:

knu 2002-09-26 18:26

* 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:

knu 2002-09-26 17:27

* 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:

knu 2002-09-26 14:49

* 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:

matz 2002-09-26 01:48



* regex.c (re_match): p1 may exceed pend limit.

5 lines of code changed in:

nobu 2002-09-25 15:52

* 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:

usa 2002-09-25 09:49

* lib/mkmf.rb (libpathflag): restore ENV['LIB'] when some error occured.

9 lines of code changed in:

matz 2002-09-25 08:03

* 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:

michal 2002-09-24 07:01

make it compile

0 lines of code changed in:

michal 2002-09-24 07:00

cleanup for curses, gdbm [ruby-core:502], [ruby-core:503]

63 lines of code changed in:

nobu 2002-09-23 16:48

* 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:

eban 2002-09-23 12:01

* configure.in (RUBY_MINGW32): new macro. check for the MinGW

compiler envionment.

* lib/mkmf.rb: refactoring.

144 lines of code changed in:

nobu 2002-09-22 16:34

2002-09-22

2 lines of code changed in:

nobu 2002-09-22 13:52

* 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:

nobu 2002-09-21 14:30

commit miss

0 lines of code changed in:

nobu 2002-09-21 14:30

* eval.c (rb_thread_raise): no need to save dead thread context.

11 lines of code changed in:

nobu 2002-09-20 16:47

literal_append: remove.

0 lines of code changed in:

nobu 2002-09-20 15:03

* parse.y (block_append): eliminate unused literal nodes.



* parse.y (literal_concat): refined literal concatination.

83 lines of code changed in:

knu 2002-09-20 11:46

* lib/set.rb: Merge rough/lib/set.rb rev.1.5-1.15.

398 lines of code changed in:

nahi 2002-09-18 07:02

No exception report when the exception is not specified to catch.

[ruby-talk:50330]

1 lines of code changed in:

michal 2002-09-17 14:52

move struct timeval to missing.h

13 lines of code changed in:

nobu 2002-09-17 13:07

* 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:

eban 2002-09-17 10:41

2002-09-17

2 lines of code changed in:

matz 2002-09-17 10:36

* 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:

aamine 2002-09-16 16:56

* io.c: add parameter prototype.

* re.c: ditto.

10 lines of code changed in:

H_Konishi 2002-09-15 14:02

* win32/win32.c (rb_w32_opendir): Corresponds to the unjust path containing ".

(rb_w32_stat) : ditto.

30 lines of code changed in:

eban 2002-09-15 13:57

* 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:

H_Konishi 2002-09-14 12:17

* error.c(rb_sys_fail): remove case EPIPE on bcc32 .

4 lines of code changed in:

nobu 2002-09-13 15:46

* dir.c (glob_func_caller): add prototype to get rid of warning.

11 lines of code changed in:

nobu 2002-09-13 12:57

2002-09-13

2 lines of code changed in:

nobu 2002-09-13 10:36

* 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:

michal 2002-09-13 09:26

Fix-Addons [ruby-core:483] with corrections from [ruby-core:484]

8 lines of code changed in:

eban 2002-09-13 05:30

* lib/mkmf.rb ($INSTALLFILES): avoid warning when $VERBOSE mode.

6 lines of code changed in:

H_Konishi 2002-09-12 15:27

* bcc32/setup.mak : Control of a message.

* bcc32/makefile.sub : include resource.

22 lines of code changed in:

nobu 2002-09-12 10:11

* dir.c (glob_helper): should pass matched path. (ruby-bugs-ja:PR#333)

4 lines of code changed in:

nobu 2002-09-12 09:48

* dir.c (glob_helper): fixed freeing buffer. (ruby-bugs-ja:PR#332)

6 lines of code changed in:

matz 2002-09-12 07:27

* 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:

knu 2002-09-11 16:45

2002-09-12

2 lines of code changed in:

nobu 2002-09-11 16:13

* eval.c (rb_trap_eval): preserve thread status and so on.

[ruby-talk:40337], [ruby-core:00019]

84 lines of code changed in:

akr 2002-09-11 13:29

* pp.rb (ARGF.pretty_print): implemented.

(PP.pp): arguments reordered.

36 lines of code changed in:

nobu 2002-09-11 10:58

* eval.c (proc_to_s): refined format. [ruby-dev:18215]

9 lines of code changed in:

usa 2002-09-11 09:50

* win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x.

17 lines of code changed in:

knu 2002-09-11 05:05

* 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:

usa 2002-09-11 03:38

* 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:

nobu 2002-09-11 02:25

2002-09-11

2 lines of code changed in:

nobu 2002-09-11 02:09

retry on EINTR, ERESTART and EWOULDBLOCK. [ruby-dev:17855], [ruby-dev:17878], [ruby-core:00444]

107 lines of code changed in:

usa 2002-09-11 01:39

* win32/Makefile.sub (ext): make directory `ext' on compile dir.

[ruby-dev:18255]

9 lines of code changed in:

usa 2002-09-11 01:24

* win32/configure.bat: add CR to end of line.

0 lines of code changed in:

nobu 2002-09-10 16:44

* eval.c (rb_mod_define_method): initialize orig_func too.

(ruby-bugs-ja:PR#330)

6 lines of code changed in:

nobu 2002-09-10 15:38

2002-09-10

2 lines of code changed in:

nobu 2002-09-10 15:38

* 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:

eban 2002-09-10 10:53

* lib/mkmf.rb: $hdrdir is $top_srcdir if invoked from extmk.rb

4 lines of code changed in:

eban 2002-09-10 10:30

* 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:

usa 2002-09-10 09:28

* ChangeLog: specify the source.

4 lines of code changed in:

usa 2002-09-10 09:24

* 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:

eban 2002-09-09 15:48

* win32/win32.h (S_I?USR): define only if not mingw32.

7 lines of code changed in:

michal 2002-09-09 11:26

capa field in RString, and RArray is now LONG (ruby-lang:458)

2 lines of code changed in:

nobu 2002-09-09 03:27

* 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:

eban 2002-09-08 13:59

* 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:

eban 2002-09-08 12:08

2002-09-08

2 lines of code changed in:

usa 2002-09-08 11:33

* ext/tcltklib/tcltklib.c: prototype; invoke_queue_handler() to avoid

VC++ warning.

4 lines of code changed in:

usa 2002-09-08 11:06

* 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:

eban 2002-09-08 11:00

* 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:

eban 2002-09-08 10:08

removed.

0 lines of code changed in:

eban 2002-09-08 10:08

* 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:

H_Konishi 2002-09-08 06:46

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:

nobu 2002-09-07 15:37

* 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:

eban 2002-09-07 14:50

2002-09-07

2 lines of code changed in:

knu 2002-09-07 11:58

Use Enumerable#all? to optimize a bit.

2 lines of code changed in:

knu 2002-09-07 11:48

* lib/set.rb: Disallow Set.new(false). Add even more tests.

[Submitted by: "Christoph" <chr_news@gmx.net>]

38 lines of code changed in:

knu 2002-09-07 11:32

* 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:

aamine 2002-09-07 00:41

* parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c.

4 lines of code changed in:

nobu 2002-09-06 12:23

* 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:

matz 2002-09-06 09:59

* gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequent

garabage collection.

13 lines of code changed in:

eban 2002-09-06 06:20

2002-09-06

2 lines of code changed in:

aamine 2002-09-06 04:09

* parse.y (rb_gc_mark_parser): should mark lex_input and ruby_debug_lines.

10 lines of code changed in:

aamine 2002-09-06 03:44

* parse.y (rb_gc_mark_parser): should mark parse.y global variables.

12 lines of code changed in:

aamine 2002-09-06 02:58

* io.c (rb_io_puts): RSTRING(line)->ptr might be NULL.

6 lines of code changed in:

aamine 2002-09-06 02:24

* parse.y: should not use non-NODE VALUEs in the semantic stack.

21 lines of code changed in:

nobu 2002-09-05 21:53

* file.c (rb_path_check): nothing to check under DOSISH.

[ruby-list:35772]

10 lines of code changed in:

aamine 2002-09-05 21:09

modify function name.

1 lines of code changed in:

aamine 2002-09-05 21:00

* 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:

matz 2002-09-05 10:42

* 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:

michal 2002-09-05 10:17

fix mem leaks (ruby-core:405, ruby-core:407)

25 lines of code changed in:

nobu 2002-09-05 05:17

2002-09-05

2 lines of code changed in:

nobu 2002-09-05 05:15

* eval.c (rb_eval): overriding false constant with class/module

definition should be error. (PR#327)

5 lines of code changed in:

eban 2002-09-05 03:24

* lib/mkmf.rb (xsystem): mkmf.log.

1 lines of code changed in:

matz 2002-09-05 03:11

= should be ==

1 lines of code changed in:

eban 2002-09-04 17:52

* 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:

arai 2002-09-04 12:25

refined.

2 lines of code changed in:

michal 2002-09-04 10:23

Opt for Array in rb_gc_mark_children() (ruby-core:410)

6 lines of code changed in:

michal 2002-09-04 10:21

Fix rb_digest_base_become (ruby-core:428)

2 lines of code changed in:

knu 2002-09-04 08:15

- ==(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:

matz 2002-09-04 07:37

* 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:

michal 2002-09-03 11:00

rb_check_frozen has been added (ruby-core:412)

2 lines of code changed in:

eban 2002-09-03 09:40

* 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:

matz 2002-09-03 06:20

* 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:

nobu 2002-09-02 15:04

* re.c (rb_reg_search): MatchData must be rb_cMatch. (ruby-bugs-ja:PR#319)

9 lines of code changed in:

aamine 2002-09-02 13:19

* 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:

eban 2002-09-02 09:09

2002-09-02

2 lines of code changed in:

michal 2002-09-02 09:05

read_all ftello (instead ftell) (ruby-core:392)

1 lines of code changed in:

michal 2002-09-02 09:02

fix mem leak in rb_file_s_readlink() (ruby-core:394)

4 lines of code changed in:

suke 2002-09-01 09:14

win32ole.c(fole_each) : ensure to release IEnumVARIANT interface.

28 lines of code changed in:

eban 2002-09-01 07:58

* config.guess: fixed for Linux/PPC.

6 lines of code changed in:

August 2002 »

Generated by StatSVN 0.3.2-SNAPSHOT