February 2003 Commit Log

Number of Commits:
93
Number of Active Developers:
11
usa 2003-02-28 16:01

* win32/win32.c (map_errno): map OS error to errno. [new]



* win32/win32.c (pipe_exec, CreateChild, poll_child_status, waitpid,

kill, link, rb_w32_rename, unixtime_to_filetime, rb_w32_utime): use

map_errno() instead of using GetLastError() directly.



* win32/win32.c (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,

rb_w32_fclose, rb_w32_close): map winsock error to errno.

167 lines of code changed in:

nobu 2003-02-28 14:55

2003-02-28

3 lines of code changed in:

nobu 2003-02-28 14:54

* win32/win32.c (flock): supports larger files, and maps error

code.



* win32/win32.c (rb_w32_asynchronize): returns errno from child

thread.



* win32/win32.c (rb_w32_fclose, rb_w32_close): ensures unlocked.

38 lines of code changed in:

eban 2003-02-27 12:32

2003-02-27

3 lines of code changed in:

matz 2003-02-27 09:04

* string.c (str_new): need no MEMZERO().



* numeric.c (fix_gt): use rb_num_coerce_cmp() instead of

rb_num_coerce_bin.



* numeric.c (fix_ge, fix_lt, fix_le): ditto.



* numeric.c (flo_gt, flo_ge, flo_lt, flo_le): ditto.

69 lines of code changed in:

akr 2003-02-26 09:39

* lib/open-uri.rb: replace Kernel.open as well.

5 lines of code changed in:

nahi 2003-02-25 15:11

* lib/debug.rb (DEBUGGER__::Context#debug_command): bp filename must

be the basename of it. [ruby-talk:65644]

6 lines of code changed in:

eban 2003-02-23 10:00

* lib/fileutils (fu_stream_blksize): wrong logial condition.

(and -> or).

6 lines of code changed in:

eban 2003-02-22 07:03

2003-02-22

3 lines of code changed in:

matz 2003-02-21 19:02

* eval.c (rb_thread_create): may called from place higher than

rb_gc_stack_start.



* gc.c (Init_stack): update rb_gc_stack_start if it is lower (or

higher if stack grows down) than the previous value.

8 lines of code changed in:

aamine 2003-02-21 12:57

* lib/fileutils.rb: new method FileUtils#copy_stream.

* lib/fileutils.rb: new method FileUtils#compare_file.

* lib/fileutils.rb: new method FileUtils#compare_stream.

* lib/fileutils.rb: new method FileUtils#rmtree (alias of rm_rf).

74 lines of code changed in:

matz 2003-02-21 10:32

* string.c (rb_str_cmp_m): should use LONG2NUM().

5 lines of code changed in:

eban 2003-02-21 09:25

* eval.c (rb_f_require): do not need to abort if a DLEXT file

is not found.

5 lines of code changed in:

matz 2003-02-21 04:52

* string.c (rb_str_cmp_m): two small bugs fixed.

7 lines of code changed in:

matz 2003-02-21 04:33

* eval.c (rb_thread_remove): back outt changes.

2 lines of code changed in:

eban 2003-02-21 02:20

2003-02-21

3 lines of code changed in:

matz 2003-02-21 01:28

* gc.c (rb_gc_mark): inline rb_gc_mark_children().



* gc.c (gc_sweep): new tactics to increase malloc_limit mildly.

47 lines of code changed in:

matz 2003-02-20 21:40

* string.c (rb_str_cmp_m): return nil if str2 does not respond to

both "to_str" and "<=>".



* compar.c (cmp_gt): return nil if "<=>" returns nil (means

incomparable).



* compar.c (cmp_ge): ditto.



* compar.c (cmp_lt): ditto.



* compar.c (cmp_between): use RTEST(), since cmp_lt and cmp_gt may

return nil.

41 lines of code changed in:

knu 2003-02-20 15:15

This '$destdir' was meant to be a local variable.

3 lines of code changed in:

matz 2003-02-20 11:09

* eval.c (rb_thread_remove): thread may die in the process of

rb_thread_die(). this change was suggested by Rudi Cilibrasi

<cilibrar@drachma.ugcs.caltech.edu>.



* eval.c (rb_thread_start_0): main thread swapped by fork() may

terminate rb_thread_start_0() successfully. call ruby_stop(0);

this change too was suggested by Rudi.

13 lines of code changed in:

nobu 2003-02-20 10:44

* file.c (file_expand_path): fix wrong behavior for root file.

expand_path("..", "//machine/share") => "//machine/share"

expand_path("..", "c:/a") => "c:/"

expand_path("..", "/a") => "/"

11 lines of code changed in:

nobu 2003-02-20 10:11

* file.c (file_expand_path): should not upward beyond share name.

41 lines of code changed in:

eban 2003-02-20 07:49

* missing.h (strtoul): fix prototype of strtoul.

8 lines of code changed in:

nobu 2003-02-20 07:23

*** empty log message ***

1 lines of code changed in:

matz 2003-02-20 04:35

* parse.y (clhs): allow "Foo::Bar = x".



* parse.y (primary): "self[n]=x" can be legal even when "[]=" is

private. changes submitted in [ruby-talk:63982]



* parse.y (aryset): ditto.



* parse.y (attrset): "self.foo=x" can be legal even when "foo="

is private.



* eval.c (is_defined): private "[]=" and "foo=" support.



* eval.c (rb_eval): ditto.



* eval.c (assign): ditto.



* eval.c (rb_eval): "foo=" should not always be public.

107 lines of code changed in:

nobu 2003-02-19 17:27

* eval.c (rb_thread_restore_context): inhibit interrupts in

critical section while context switching. [ruby-talk:64785]

7 lines of code changed in:

nobu 2003-02-19 10:40

2003-02-19

3 lines of code changed in:

nobu 2003-02-19 10:27

* node.h (nd_cpath): nested class/module declaration.

[EXPREIMENTAL]



* eval.c (rb_eval): ditto.



* gc.c (rb_gc_mark_children): ditto.



* parse.y (cpath): ditto.

93 lines of code changed in:

eban 2003-02-18 15:51

2003-02-18

3 lines of code changed in:

matz 2003-02-18 15:30

* eval.c (rb_call0): should not report uninitialized warning by

attribute reader method.



* variable.c (rb_attr_get): new function to get instance variable

without uninitialized warning.



* io.c (argf_to_io): should prefetch argv.

37 lines of code changed in:

nobu 2003-02-17 16:13

* misc/ruby-mode.el (ruby-comment-column): customize comment

column. [new]



* misc/ruby-mode.el (ruby-deep-indent-paren): deep indentation

parentheses. [new]



* misc/ruby-mode.el (ruby-expr-beg): fix for / after $?.



* misc/ruby-mode.el (ruby-parse-partial, ruby-calculate-indent):

deep indentation support.



* misc/ruby-mode.el (ruby-forward-sexp, ruby-backward-sexp):

move forward/backward across one balanced expression. [new]



* misc/ruby-mode.el (ruby-indent-exp): indent balanced

expression. [new]



* misc/ruby-mode.el (ruby-electric-brace): indent before

show matching parenthesis. (contributed by NABEYA Kenichi)

197 lines of code changed in:

nobu 2003-02-17 06:36

* win32/win32.c (rb_w32_opendir, rb_w32_utime): need parens.

7 lines of code changed in:

usa 2003-02-17 06:17

* win32/win32.c (link): implement with CreateHardLink().



* win32/win32.c, win32/win32.h (rb_w32_utime): enable utime() to

directory if on NT. [new] (ruby-bugs-ja:PR#393)

103 lines of code changed in:

nobu 2003-02-17 05:30

2003-02-17

3 lines of code changed in:

nobu 2003-02-17 05:29

commit error.

5 lines of code changed in:

nobu 2003-02-17 05:27

*** empty log message ***

7 lines of code changed in:

nobu 2003-02-16 11:22

* file.c (file_expand_path): buffer might be reallocated while

expanding default directory.



* file.c (file_expand_path): default directory was being

ignored if path was full path with no drive letter, under

DOSISH.

59 lines of code changed in:

eban 2003-02-15 19:16

* io.c (prep_stdio, Init_io): always set binmode on Cygwin.

24 lines of code changed in:

nobu 2003-02-14 17:09

* file.c (file_expand_path): fix surplus path separators while

expanding at root directory. [ruby-dev:19572]

40 lines of code changed in:

akira 2003-02-14 06:32

* lib/uri/generic.rb, lib/uri/ldap.rb, lib/uri/mailto.ldap: all foo=()

returns arguments passed by caller.



* lib/uri/generic.rb (Generic#to_str, Generic#to_s): removed to_str.

Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475].



* lib/uri/generic.rb (Generic#==): should not generate an URI object

from argument. Suggested by Tanaka Akira <akr@m17n.org> at

[ruby-dev:19475].

33 lines of code changed in:

nobu 2003-02-13 10:58

*** empty log message ***

15 lines of code changed in:

matz 2003-02-13 10:11

* range.c (range_step): step might be float 0 < x < 1.



* eval.c (rb_thread_schedule): pause if no runnable thread when

there's only one thread.

36 lines of code changed in:

nobu 2003-02-13 04:02

* ruby.c (proc_options): script argument is in effect only when -e is not given.

10 lines of code changed in:

nobu 2003-02-13 01:59

2003-02-13

3 lines of code changed in:

nobu 2003-02-13 01:59

* ruby.c (ruby_init_loadpath): ensures buffer terminated

before use strncpy().



* ruby.c (proc_options): avoid SEGV at -S with no arguments.

(ruby-bugs-ja:PR#391)

18 lines of code changed in:

nobu 2003-02-12 17:30

* eval.c (rb_thread_schedule): current thread may be dead when

deadlock. (ruby-bugs:PR#588)

8 lines of code changed in:

nobu 2003-02-12 16:10

* file.c (rb_file_s_dirname): append "." if drive only.

7 lines of code changed in:

nobu 2003-02-12 15:56

2003-02-12

3 lines of code changed in:

nobu 2003-02-12 15:56

* file.c (strrdirsep): ignore trailing directory separators.



* file.c (rb_file_s_expand_path): File.expand_path(".","/") should

return "/". (ruby-bugs-ja:PR#389)



* file.c (rb_file_s_basename): also ignore trailing directory

separators, in compliance with SUSv3. (ruby-bugs-ja:PR#390)



* file.c (rb_file_s_dirname, rb_file_s_extname): ditto.



* file.c (rb_file_s_split): get rid of converting twice.

121 lines of code changed in:

nobu 2003-02-12 07:20

convert EOL code.

0 lines of code changed in:

ntalbott 2003-02-12 05:22

This commit was generated by cvs2svn to compensate for changes in r3481,

which included commits to RCS files with non-trunk default branches.

0 lines of code changed in:

ntalbott 2003-02-12 04:12

Initial revision

2337 lines of code changed in:

eban 2003-02-10 13:01

* typo fix.

1 lines of code changed in:

eban 2003-02-10 12:59

* ext/extmk.rb (parse_args): add '-n' to $mflags BEFORE "--".

do not add DESTDIR if already included in $fmlags.

7 lines of code changed in:

aamine 2003-02-10 11:48

* lib/fileutils.rb (FileUtils#uptodate?): use mtime for comparison.

7 lines of code changed in:

matz 2003-02-10 10:40

* array.c (rb_ary_to_a): return value should be an Array if the

receiver is an instance of subclass of Array.



* string.c (rb_str_to_s): return value should be a String if the

receiver is an instance of subclass of String.



* eval.c (rb_call): calls method_missing when superclass method

does not exist.



* eval.c (rb_f_missing): now handles "no super" case.



* object.c (rb_obj_ivar_get): Object#instance_variable_get: new

method to get instance variable value without eval(). [new]



* object.c (rb_obj_ivar_set): Object#instance_variable_set: new

method to set instance variable value without eval(). [new]

70 lines of code changed in:

eban 2003-02-09 19:36

* io.c (rb_file_sysopen): rb_file_sysopen_internal() needs four

arguments.

9 lines of code changed in:

eban 2003-02-09 07:58

2003-02-09

3 lines of code changed in:

nobu 2003-02-09 07:16

* intern.h (HAVE_RB_DEFINE_ALLOC_FUNC, RB_CVAR_SET_4ARGS):

define to 1.



* ruby.h (NORETURN_STYLE_NEW): ditto.

10 lines of code changed in:

nobu 2003-02-09 04:28

* lib/mkmf.rb (init_mkmf): add libdir to LIBPATH unless cross

compiling.

7 lines of code changed in:

aamine 2003-02-09 00:29

* lib/net/http.rb: 4xx raises Net::ProtoServerError, 5xx raises Net::ProtoFatalError (for backward compatibility).

7 lines of code changed in:

aamine 2003-02-08 23:01

* lib/fileutils.rb: new method FileUtils.pwd (really).

* lib/fileutils.rb: FileUtils.pwd, cmp, identical?, uptodate? does not accept any option.

27 lines of code changed in:

akr 2003-02-08 11:37

fix typo.

2 lines of code changed in:

nobu 2003-02-08 10:57

Sorry, missed contributer's name.

3 lines of code changed in:

nobu 2003-02-08 10:35

* misc/ruby-mode.el (ruby-forward-string): fixed void variable

error.



* misc/ruby-mode.el (ruby-font-lock-keywords): method name can

be delimited by tab.

12 lines of code changed in:

knu 2003-02-07 20:00

* lib/irb/workspace.rb, lib/irb/ext/math-mode.rb,

lib/irb/ext/multi-irb.rb, lib/irb/lc/error.rb,

lib/irb/lc/help-message, lib/irb/lc/ja/error.rb,

lib/shell/command-processor.rb, lib/shell/error.rb,

lib/shell/filter.rb: Fix typos and grammos. [approved by: keiju]

43 lines of code changed in:

knu 2003-02-07 19:47

2003-02-08

3 lines of code changed in:

knu 2003-02-07 19:45

s/Mon 01/Mon 1/.

9 lines of code changed in:

knu 2003-02-07 19:37

* intern.h (HAVE_RB_DEFINE_ALLOC_FUNC): New boolean macro to make

it easier to write extensions that work with both ~1.6 and 1.8~.



* intern.h (RB_CVAR_SET_4ARGS): Ditto.



* ruby.h (NORETURN_STYLE_NEW): Ditto.

12 lines of code changed in:

eban 2003-02-07 10:31

2003-02-07

3 lines of code changed in:

nobu 2003-02-07 07:36

re-indented.

1 lines of code changed in:

nobu 2003-02-07 07:35

* intern.h, re.c (rb_memsearch): returns long.



* string.c (rb_str_index): should return offset position.

13 lines of code changed in:

nobu 2003-02-07 07:30

* eval.c (proc_invoke): should propagate self to super

methods. [ruby-dev:19510]

6 lines of code changed in:

matz 2003-02-06 11:06

* re.c (rb_reg_initialize_m): shoule not preset "kcode" unless

encoding is explicitly specified.

22 lines of code changed in:

aamine 2003-02-06 10:56

* lib/fileutils.rb: new method FileUtils.pwd.

* lib/fileutils.rb: default label is ''.

* lib/fileutils.rb: using module_eval again, to avoid ruby's bug.

* lib/fileutils.rb: fix wrong examples in rdoc.

59 lines of code changed in:

matz 2003-02-06 10:49

* lib/complex.rb (Complex#==): should not raise error by type

mismatch.



* lib/rational.rb (Rational#==): ditto.

29 lines of code changed in:

eban 2003-02-06 09:40

2003-02-06

3 lines of code changed in:

matz 2003-02-06 09:25

* re.c (rb_reg_initialize_m): 3rd argument was ignored.



* string.c (rb_str_count): return 0 for empty string (was

returning nil).

12 lines of code changed in:

akr 2003-02-05 11:44

* lib/open-uri.rb: dispatch code restructured to make it openable

that has `open' method.

43 lines of code changed in:

akr 2003-02-05 10:58

* lib/open-uri.rb: Location: field may has a relative URI.

pointed out by erik eriksson <ee@opera.com>.

12 lines of code changed in:

eban 2003-02-05 09:54

2003-02-05

3 lines of code changed in:

matz 2003-02-05 09:11

* parse.y (yylex): no .<digit> floating literal anymore.

8 lines of code changed in:

nobu 2003-02-04 08:40

typo

1 lines of code changed in:

eban 2003-02-04 08:31

2003-02-04

3 lines of code changed in:

matz 2003-02-04 08:27

* array.c (rb_ary_equal): a == b is true when b is non T_ARRAY

object, if b has "to_ary" and b == a.



* hash.c (rb_hash_equal): a == b is true when b is non T_HASH

object, if b has "to_hash" and b == a.



* string.c (rb_str_equal): a == b is true when b is non T_STRING

object, if b has "to_str" and b == a.

38 lines of code changed in:

gsinclair 2003-02-04 04:47

Added RDoc comments. See comments at EOF for remaining issues.

148 lines of code changed in:

gsinclair 2003-02-03 14:52

Added RDoc comments.

147 lines of code changed in:

matz 2003-02-03 09:48

* re.c (rb_reg_initialize_m): unfotunate serious typo.

2 lines of code changed in:

matz 2003-02-03 09:45

* object.c (Init_Object): default Object#=== now calls "=="

internally.



* re.c (rb_reg_initialize_m): should honor option status of

original regexp.



* array.c (rb_ary_equal): ary2 should be T_ARRAY (no to_ary

conversion).



* array.c (rb_ary_eql): ditto.



* string.c (rb_str_equal): str2 should be T_STRING (no to_str

conversion).

65 lines of code changed in:

nobu 2003-02-03 08:34

* re.c (rb_memsearch): a little improvement.

17 lines of code changed in:

nobu 2003-02-03 07:13

typo

3 lines of code changed in:

eban 2003-02-03 06:44

2003-02-03

4 lines of code changed in:

matz 2003-02-03 06:34

* re.c (rb_memsearch): algolithm body of String#index.



* error.c (Init_Exception): "to_str" removed.



* eval.c (eval): should not rely on Exception#to_str



* eval.c (compile_error): ditto.



* error.c (err_append): ditto.



* hash.c (rb_hash_merge): Hash#merge, non destructive "update".

now there's also Hash#merge! which is an alias to "update".

108 lines of code changed in:

January 2003 »

Generated by StatSVN 0.3.2-SNAPSHOT