January 2002 Commit Log

Number of Commits:
62
Number of Active Developers:
9
nobu 2002-01-31 13:03

* lib/mkmf.rb (dir_config): prior --with flag.



* lib/mkmf.rb (arg_config): avoid special variables for

font-lock-mode.

14 lines of code changed in:

akr 2002-01-31 05:57

refine previous change.

1 lines of code changed in:

akr 2002-01-31 05:24

* lib/pp.rb (File::Stat#pretty_print): print rdev_major and rdev_minor.

12 lines of code changed in:

nobu 2002-01-30 08:12

* regex.c (re_adjust_startpos): fix for SJIS and UTF-8.

1 lines of code changed in:

nobu 2002-01-30 08:00

* regex.c (re_adjust_startpos): fix for SJIS.



* regex.c (mbc_startpos): ditto.

25 lines of code changed in:

nobu 2002-01-29 20:33

* regex.c (re_adjust_startpos): search start of multibyte

backward.



* regex.c (mbc_startpos): ditto.

127 lines of code changed in:

ttate 2002-01-29 20:24

Add wresize, resizeterm and KEY_RESIZE.

32 lines of code changed in:

akr 2002-01-29 11:01

* lib/pp.rb: don't print a mode File::Stat as decimal number.

5 lines of code changed in:

akr 2002-01-29 10:15

* file.c: `major' and `minor' macro needs sys/mkdev.h on SunOS 5.x.



* configure.in: add check for `sys/mkdev.h'.

12 lines of code changed in:

matz 2002-01-29 08:16

* file.c (rb_stat_rdev_major): added. [new]



* file.c (rb_stat_rdev_minor): added. [new]



* file.c (rb_stat_inspect): print mode in octal.

283 lines of code changed in:

nobu 2002-01-28 11:18

* array.c (rb_ary_fill): shouldn't yield unless block given.

5 lines of code changed in:

nobu 2002-01-28 10:33

* parse.y (yylex): strict check for numbers.

65 lines of code changed in:

matz 2002-01-28 09:44

* eval.c (is_defined): defined?(Foo::Baz) should check constants

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.

110 lines of code changed in:

eban 2002-01-25 10:00

* configure.in (solaris): add '-shared' only for GNU ld.

12 lines of code changed in:

matz 2002-01-25 09:22

* class.c (rb_include_module): detect cyclic module inclusion.



* eval.c (rb_thread_cleanup): need not to free thread stacks at

process termination.



* array.c (rb_ary_fetch): use the block to get the default value

if the block is given.



* eval.c (rb_thread_schedule): should check time only if BOTH

WAIT_SELECT and WAIT_TIME.



* eval.c (umethod_bind): should update rklass field.



* hash.c (rb_hash_update): if a block is given, yields [key,

value1, value2] to the block to resolve conflict.



* string.c (rb_str_split_m): no need to consider KANJI

characters, if the length of separator is 1 (byte).

87 lines of code changed in:

matz 2002-01-23 08:30

* array.c (Init_Array): remove Array#filter.



* object.c (rb_mod_initialize): should accept zero argument.



* object.c (rb_mod_cmp): should raise ArgumentError if

inheritance/inclusion relation between two classes/modules is

not defined. [new]



* io.c (rb_io_fsync): new method. [new]

102 lines of code changed in:

nobu 2002-01-23 08:25

2002-01-23

2 lines of code changed in:

nobu 2002-01-23 08:24

* eval.c (rb_yield_0): restore source file/line after yield.

8 lines of code changed in:

nobu 2002-01-21 14:59

* signal.c (ruby_signal): must define sighandler_t unless

POSIX_SIGNAL.

6 lines of code changed in:

eban 2002-01-21 10:36

2002-01-21

2 lines of code changed in:

matz 2002-01-21 08:44

* eval.c (ruby_stop): should not trace error handler.



* signal.c (install_sighandler): do not install sighandler unless

the old value is SIG_DFL.



* io.c (io_write): should not raise exception on O_NONBLOCK io.



* dir.c (dir_set_pos): seek should return dir, pos= should not.

76 lines of code changed in:

usa 2002-01-19 15:32

2002-01-19

2 lines of code changed in:

matz 2002-01-19 15:22

* eval.c (rb_eval): need not to clar method cache for NODE_CLASS,

NODE_SCLASS.



* gc.c (obj_free): need not to clear method cache on class/module

finalization.

20 lines of code changed in:

nobu 2002-01-18 15:56

2002-01-18

2 lines of code changed in:

matz 2002-01-18 15:24

* io.c (rb_io_s_new): block check moved from initialize to this

method.



* io.c (rb_io_s_open): open should call initialize too. IO#for_fd

also calls initialize. [new]



* error.c (rb_sys_fail): replace INT2FIX() by INT2NUM() since

errno value may not fit in Fixnum size on Hurd.



* error.c (set_syserr): ditto.



* dir.c (dir_s_glob): returns nil if block given.



* io.c (rb_io_each_byte): should return self.



* io.c (rb_io_close_m): close check added.



* dir.c (dir_seek): should return pos.



* parse.y (fixpos): orig may be (NODE*)1, which should not be

dereferenced.

116 lines of code changed in:

usa 2002-01-18 02:13

* ext/socket/socket.c (tcp_svr_s_open): fix typo.

5 lines of code changed in:

matz 2002-01-17 09:05

* eval.c (block_pass): allow "retry" from within argument passed

block. [new]



* eval.c (localjump_error): should preserve exit status in the

exception object. [new]



* eval.c (proc_invoke): should raise exception for "break" if it's

yielding, not calling. [new]



* eval.c (block_pass): should NOT raise exception for "break". [new]



* eval.c (block_pass): should allow block argument relay even in

the tainted mode.



* ext/socket/socket.c: support subclassing by proper "initialize"

calling convention. [new]

191 lines of code changed in:

nobu 2002-01-16 11:37

2001-01-16

2 lines of code changed in:

matz 2002-01-16 10:32

* eval.c: bugus commit fixed (again, sorry).

2 lines of code changed in:

matz 2002-01-16 10:27

* eval.c: bugus commit fixed.

0 lines of code changed in:

matz 2002-01-16 10:25

* st.c: primes should be primes.



* eval.c (is_defined): method defined? check should honor

protected too.



* eval.c (block_pass): should not pass tainted block, if $SAFE > 0.



* variable.c (rb_mod_remove_cvar): should pass the char*.

76 lines of code changed in:

akr 2002-01-16 04:37

* lib/timeout.rb (timeout): new optional argument to specify an

exception class.



* lib/resolv.rb: use Resolv::ResolvTimeout for internal timeout to

avoid problem with timeout of application.

15 lines of code changed in:

nobu 2002-01-16 03:20

* object.c (rb_Float): remove underscores between digits.



* bignum.c (rb_cstr2inum): reject prefix followed by spaces only.



* class.c (rb_class_inherited): should use Object when no super

class.

23 lines of code changed in:

eban 2002-01-11 16:36

* Makefile.in (clean): add $(MAINOBJ)

1 lines of code changed in:

usa 2002-01-11 12:48

2002-01-11

2 lines of code changed in:

aamine 2002-01-11 12:24

* doc/NEWS: moved syntax related issues to top of the list.

24 lines of code changed in:

  • doc: NEWS (+24 -25)
aamine 2002-01-11 11:54

* doc/NEWS: sorted by entry name.

* doc/NEWS: modify String#[re,n] entry.

* doc/NEWS: unify method expressions.

223 lines of code changed in:

  • doc: NEWS (+223 -230)
matz 2002-01-11 10:22

* lib/English.rb: typo

1 lines of code changed in:

matz 2002-01-11 10:18

* re.c (match_select): should propagate taintness.



* hash.c (rb_hash_set_default): Hash#default= should return the

new value.



* string.c (rb_str_to_i): accepts optional base argument. [new]



* numeric.c (rb_fix2str): should not handle negative fixnum values

int32 via calling sprintf() directly.

77 lines of code changed in:

nobu 2002-01-10 21:18

* class.c (rb_make_metaclass): [new]



* class.c (rb_define_class_id): use rb_make_metaclass(), don't

call Class#inherited hook.



* class.c (rb_class_inherited): [new]



* class.c (rb_define_class): call Class#inherited hook here.



* class.c (rb_define_class_under): ditto after class path is set.



* class.c (rb_singleton_class): use rb_make_metaclass().



* eval.c (rb_eval): same as rb_define_class_under().



* intern.h: prototypes of rb_make_metaclass() and

rb_class_inherited().



* object.c (rb_class_s_new): use rb_make_metaclass() and

rb_class_inherited().



* object.c (Init_Object): use rb_make_metaclass().



* struct.c (make_struct): use rb_class_inherited().

59 lines of code changed in:

nobu 2002-01-10 14:31

2002-01-10

2 lines of code changed in:

nobu 2002-01-10 14:30

* eval.c (rb_add_method): should clear cache by id always.



* eval.c (rb_disable_super): no longer need to clear cache before

rb_add_method().



* eval.c (rb_export_method): ditto.



* eval.c (rb_attr): ditto.



* eval.c (rb_undef): ditto.



* eval.c (rb_eval): ditto.



* eval.c (rb_mod_modfunc): ditto.



* eval.c (rb_mod_define_method): ditto.

21 lines of code changed in:

akira 2002-01-10 09:06

added uri library (uri-0.9.4)

8 lines of code changed in:

akira 2002-01-10 09:00

added uri library (uri-0.9.4)

2302 lines of code changed in:

usa 2002-01-10 03:43

* win32/resource.rb: Modify copyright in resource script.

5 lines of code changed in:

nobu 2002-01-09 18:52

* misc/ruby-mode.el (ruby-calculate-indent): indentation after

comment at beginning of buffer failed.



* misc/ruby-mode.el (font-lock-defaults): unless XEmacs, set

font-lock variables in ruby-mode-hook.

23 lines of code changed in:

nobu 2002-01-08 08:02

* eval.c (rb_add_method): clear replaced method from the cache.

8 lines of code changed in:

eban 2002-01-07 08:03

2002-01-07

2 lines of code changed in:

eban 2002-01-07 07:58

Add.

2 lines of code changed in:

akr 2002-01-07 07:48

fix typo in documentation.

1 lines of code changed in:

matz 2002-01-07 06:27

* string.c (rb_str_new2): NULL pointer check added.



* class.c (rb_define_module_under): should locate predefined

module using rb_const_defined_at().

20 lines of code changed in:

akr 2002-01-07 04:56

* lib/time.rb (Time#xmlschema): new optional argument

fractional_seconds to specify a number of digits of

fractional part of the time.

32 lines of code changed in:

nobu 2002-01-05 17:09

misordered.

4 lines of code changed in:

nobu 2002-01-05 05:19

* range.c (range_member): beginning check was

wrong. [ruby-talk:30252]

6 lines of code changed in:

nobu 2002-01-05 04:25

* misc/ruby-mode.el (ruby-forward-string): forward a string. [new]



* misc/ruby-mode.el (ruby-parse-region): handle nested parentheses

in a string and terminators in #{}.



* misc/ruby-mode.el (ruby-calculate-indent): ditto.



* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords):

fix font-lock problem [ruby-talk:29296].

97 lines of code changed in:

eban 2002-01-04 16:29

2002-01-05

2 lines of code changed in:

nobu 2002-01-04 16:23

* parse.y (yycompile): strdup()'ed twice.

4 lines of code changed in:

eban 2002-01-04 16:18

2002-01-05

4 lines of code changed in:

matz 2002-01-04 15:15

* process.c (rb_f_system): abandon vfork.



* io.c (pipe_open): ditto.



* defines.h: sparc linux needs different FLUSH_REGISTER_WINDOWS



* regex.c (re_search): abandon stclass optimization.



* bignum.c (rb_cstr2inum): deny "0_".



* bignum.c (rb_cstr2inum): allow "0\n" and so on.



* error.c (rb_invalid_str): utility function to show inspect()'ed

string.



* bignum.c (rb_cstr2inum): prints invalid strings in inspect()'ed

format.



* object.c (rb_Float): ditto.



* object.c (rb_convert_type): no longer use rb_rescue().



* re.c (rb_reg_search): initialize taint status of match object.

97 lines of code changed in:

knu 2002-01-04 10:03

The author of getoptlong.rb has agreed on changing the license from

GPL to Ruby's.

2 lines of code changed in:

matz 2002-01-03 17:01

* process.c (rb_f_system): abandon vfork.



* io.c (pipe_open): ditto.



* defines.h: sparc linux needs different FLUSH_REGISTER_WINDOWS



* regex.c (re_search): abandon stclass optimization.



* bignum.c (rb_cstr2inum): deny "0_".



* bignum.c (rb_cstr2inum): allow "0\n" and so on.



* error.c (rb_invalid_str): utility function to show inspect()'ed

string.



* bignum.c (rb_cstr2inum): prints invalid strings in inspect()'ed

format.



* object.c (rb_Float): ditto.



* object.c (rb_convert_type): no longer use rb_rescue().



* re.c (rb_reg_search): initialize taint status of match object.

39 lines of code changed in:

eban 2002-01-02 15:42

* lib/mkmf.rb (create_makefile): add -I. to CPPFLAGS.

* lib/mkmf.rb (create_makefile): srcdir support(.def and depend file).

19 lines of code changed in:

December 2001 »

Generated by StatSVN 0.3.2-SNAPSHOT