May 2003 Commit Log

Number of Commits:
145
Number of Active Developers:
12
usa 2003-05-31 10:11

* parse.y (rb_intern): should handle multibyte name.

6 lines of code changed in:

why 2003-05-31 00:09

* ext/syck/rubyext.c (rb_syck_mktime): seconds calculated wrong.



* ext/syck/gram.c: flexibility to anchors and transfer methods on

collections.



* ext/syck/token.c: hex escapes.



* lib/yaml/basenode.rb: YamlNode references changed to YAML::BaseNode.

416 lines of code changed in:

nobu 2003-05-30 17:50

remove conflict

0 lines of code changed in:

eban 2003-05-30 17:09

2003-05-31

3 lines of code changed in:

matz 2003-05-30 17:08

* io.c (rb_f_syscall): type dispatch should be based on

rb_check_string_type(), not FIXNUM_P(), because values may be a

bignum. [ruby-talk:72257]



* eval.c (rb_call0): should pass the current klass value to

block_invoke, which may be called via "super". [ruby-core:01077]



* eval.c (block_invoke): now takes 4th argument "klass".



* eval.c (block_alloc): should propagate BLOCK_PROC to

ruby_block.



* marshal.c (r_object0): should not use "yield" method, use "call"

instead. (ruby-bugs-ja PR#476)

69 lines of code changed in:

nobu 2003-05-30 14:28

* numeric.c (rb_num2uint, rb_fix2int): new function to convert

values over INT_MAX. [ruby-core:01099]



* ruby.h (NUM2UINT, FIX2INT): ditto.

60 lines of code changed in:

nobu 2003-05-30 06:55

* eval.c (rb_Array): exclude Kernel#to_a instead of Object#to_a.

(ruby-bugs-ja:PR#483)



* lib/optparse.rb (OptionParser::Switch#parse_arg): not splat.



* lib/optparse.rb (OptionParser::Switch#conv_arg): splat if no

conversion supplied.



* lib/optparse.rb (OptionParser::Switch::PlacedArgument#parse):

override next switch after argument conversion.

40 lines of code changed in:

eban 2003-05-30 02:48

2003-05-30

3 lines of code changed in:

why 2003-05-30 00:51

* ext/syck/token.c: preserve any indentation passed an explicit

indentation.

66 lines of code changed in:

why 2003-05-30 00:33

* ext/syck/handler.c, ext/syck/syck.h: removed syck_fold_format().



* ext/syck/gram.c: flexibility for aliases and anchors.



* ext/syck/token.c: folding now handled in the tokenizer.

477 lines of code changed in:

nobu 2003-05-29 22:35

backout

5 lines of code changed in:

nobu 2003-05-29 22:21

* variable.c (rb_autoload_load): should delete autoloaded

symbol itself before load. [ruby-core:01097]



* variable.c (rb_mod_remove_const): must not return Qundef.

22 lines of code changed in:

eban 2003-05-29 10:11

* win32/win32.c (_CRTIMP): redefine _CRTIMP on MinGW.

* configure.in: remove '-D__USE_CRTIMP' from XCFLAGS on MinGW.

* win32/win32.c (NtMakeCmdVector): handle quotes only if not instring.

15 lines of code changed in:

nobu 2003-05-29 01:26

2003-05-29

3 lines of code changed in:

nobu 2003-05-29 01:25

commit miss

0 lines of code changed in:

nobu 2003-05-29 01:11

* eval.c (ev_const_defined, ev_const_get), variable.c

(rb_const_get_at, rb_const_get, rb_mod_remove_const): use Qundef

as autoload marker. [ruby-dev:18103], [ruby-dev:18184]



* eval.c (rb_mod_autoload, rb_mod_autoload_p): new method;

Module#autoload, Module#autoload?.



* variable.c (rb_autoload, rb_autoload_load, rb_autoload_p):

manage autoload constants per classes/modules.



* variable.c (rb_const_defined_at, rb_const_defined): return false

for autoloading constants.



* class.c (rb_define_class, rb_define_module), eval.c (rb_eval),

variable.c (rb_mod_const_at, rb_const_assign): removed autoload

stuff.



* intern.h: prototypes; rb_autoload, rb_autoload_load,

rb_autoload_p.



* lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse):

do not treat unmatched argument as an option.

287 lines of code changed in:

eban 2003-05-27 14:00

2003-05-27

3 lines of code changed in:

nobu 2003-05-27 12:33

* eval.c, util.c: removed duplicated includes/defines.

3 lines of code changed in:

nobu 2003-05-27 12:07

* ext/socket/socket.c (sock_addrinfo): get rid of SEGV at NULL ptr

String. increase buffer size for 64bit platforms.

7 lines of code changed in:

nobu 2003-05-26 14:17

* lib/mkmf.rb, lib/optparse.rb, lib/tracer.rb: use Method#to_block

instead of deprecated Method#to_proc. (ruby-bugs-ja:PR#477)

10 lines of code changed in:

eban 2003-05-26 14:10

2003-05-26

3 lines of code changed in:

nobu 2003-05-26 13:21

* lib/optparse.rb (OptionParser::Switch::parse,

OptionParser::order): use {Block,Proc}#call instead of deprecated

#yield.

9 lines of code changed in:

matz 2003-05-26 09:22

* eval.c (Init_Proc): Block/Proc separation. [huge change]



* eval.c (block_arity): returns exact arity number for Procs out

of methods. also gives 1 for {|a|..}.



* string.c (rb_str_match): revert use of String#index for

invocation like string =~ string.



* eval.c (rb_Array): move Object#to_a exclusion hack from

splat_value(). need to be in eval.c for a while.

336 lines of code changed in:

nobu 2003-05-25 15:52

2003-05-25

3 lines of code changed in:

nobu 2003-05-25 15:48

* bignum.c (rb_quad_pack): should negate negative bignum.

(ruby-bugs-ja:PR#474)

6 lines of code changed in:

aamine 2003-05-24 19:24

* lib/net/smtp.rb: support LOGIN authentication. The patch is contributed by Kazuhiko Izawa. [ruby-talk:78981]

45 lines of code changed in:

uema2 2003-05-24 10:17

* wince/Makefile.sub: add eMbedded Visual C++ 4.0 support.



* wince/resource.rb: ditto.



* wince/setup.mak: ditto.



* wince/configure.bat: ditto.



* wince/mkexports.rb: delete japanese comments.

62 lines of code changed in:

nobu 2003-05-23 10:39

* eval.c (rb_longjmp): wrong jump.

1 lines of code changed in:

nobu 2003-05-23 10:34

* eval.c (rb_longjmp): get rid of reentering while debug warning.

(ruby-bugs-ja:PR473)

35 lines of code changed in:

matz 2003-05-23 09:11

* eval.c (ruby_finalize): turn off ruby_debug flag before calling

at_exit procs and finalizers. (ruby-bugs-ja:PR473)



* ext/tcltklib/tcltklib.c (lib_mainloop_core): OK to block if

there's no other thread. (ruby-bugs:PR#861)

12 lines of code changed in:

nobu 2003-05-23 07:16

* pack.c (pack_unpack): sign-extend if sizeof long is bigger than

32. (ruby-bugs-ja:PR#472)

23 lines of code changed in:

nobu 2003-05-23 06:25

removed trailing white spaces.

178 lines of code changed in:

why 2003-05-22 18:56

* lib/token.c: single- and double-quoted root-level fix.



* lib/yaml.rb (YAML::object_maker): can create object attributes (such as

found in Exception class)



* lib/yaml/rubytypes.rb: roundtripping of Exception and subclasses.

100 lines of code changed in:

eban 2003-05-22 17:43

2003-05-23

3 lines of code changed in:

matz 2003-05-22 17:37

* object.c (rb_obj_clone): defer copying freezing state after

calling initialize_copy(). [ruby-dev:20276]

11 lines of code changed in:

matz 2003-05-22 09:30

* gc.c (run_final): use rb_thread_critical instead of DEFER_INTS.

[ruby-dev:20272]



* marshal.c: try to make ArgumentError and TypeError consistent.

[ruby-core:01068]

19 lines of code changed in:

matz 2003-05-22 08:45

* eval.c (rb_define_alloc_func): need not to disable

rb_call_super() for allocation functions. [ruby-core:1065]

8 lines of code changed in:

why 2003-05-22 07:14

* ext/syck/rubyext.c (rb_syck_err_handler): raise ArgumentError on

malformed YAML.



* lib/yaml/rubytypes.rb: String#to_yaml was missing space indicators at

the end of a line.

11 lines of code changed in:

why 2003-05-22 06:41

* ext/syck/rubyext.c (syck_parser_load): root-level false was returning

nil.



* ext/syck/token.c: root-level transfer method bug.



* ext/syck/gram.c: root-level empty gave a parse error.



* lib/yaml/rubytypes.rb: Symbol#to_yaml generating method call error.

132 lines of code changed in:

eban 2003-05-22 03:25

2003-05-22

3 lines of code changed in:

nobu 2003-05-21 19:27

doubled.

0 lines of code changed in:

matz 2003-05-21 19:04

* error.c (rb_sys_fail): should not specify errno explicitly.

[ruby-dev:20264]

13 lines of code changed in:

nobu 2003-05-21 18:49

commit miss

1 lines of code changed in:

nobu 2003-05-21 18:46

* eval.c (rb_eval): splat NODE_RESTARY. [ruby-dev:20268]

4 lines of code changed in:

nobu 2003-05-21 18:42

* eval.c (rb_thread_fd_close): raise for writing threads.

[ruby-dev:20269]



* io.c (rb_io_close, io_reopen): ditto.



* io.c (io_reopen): keep stdio objects for stdin, stdout,

and stderr. [ruby-dev:19442]

32 lines of code changed in:

nobu 2003-05-21 17:11

* parse.y (strings, word_list): must create new instance always.

http://yowaken.dip.jp/tdiary/20030521.html#p02



* parse.y (yylex): slight optimization.

7 lines of code changed in:

nobu 2003-05-21 17:01

*** empty log message ***

18 lines of code changed in:

nobu 2003-05-21 12:51

2003-05-21

3 lines of code changed in:

nobu 2003-05-21 12:51

* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,

wince/Makefile.sub: update dependencies.

74 lines of code changed in:

matz 2003-05-21 09:48

* error.c (syserr_initialize): prohibit specifying errno for

subclasses of SystemCallError. in addition, if initialize is

called for SystenCallError instance, its class be changed.

[ruby-dev:20257]



* gc.c (run_final): to protect thread context switch, finalizers

are wrapped in DEFER_INTS/ENABLE_INTS.

32 lines of code changed in:

nobu 2003-05-21 05:27

* lib/optparse.rb: get rid of warnings.

34 lines of code changed in:

matz 2003-05-20 11:02

* eval.c (rb_thread_save_context): prohibit rb_gc_force_recycle()

on thread saved ruby_dyna_vars. [ruby-dev:20236]

7 lines of code changed in:

matz 2003-05-20 09:40

* object.c (init_copy): call initialize_copy at the end of copy

process.

7 lines of code changed in:

nobu 2003-05-20 09:18

* error.c (syserr_initialize): use Errno constants as default

errno for subclasses. [ruby-dev:20241]

13 lines of code changed in:

eban 2003-05-20 07:48

* st.h: define ST_DATA_T_DEFINED for portability.



* ext/syck/syck.h: add typedef, st_data_t for Ruby 1.6.



* ext/syck/syck.c (syck_st_free_nodes): return int.



* ext/syck/syck.c (syck_add_sym): cast the data to st_data_t

to avoid error on bcc32.



* ext/syck/syck.c (syck_lookup_sym): ditto.



* ext/syck/syck.c (syck_free_parser): NULL is not integer.

25 lines of code changed in:

matz 2003-05-20 07:29

* eval.c (rb_yield_0): give warning for multiple values for a

block parameter.



* eval.c (rb_yield_values): a function to yield multiple values.



* array.c (sort_1): use rb_yield_values.



* enum.c (min_ii, max_ii): ditto.



* hash.c (rb_hash_update_block_i, delete_if_i, select_i,

each_pair_i, env_each, env_reject_bang, env_select,

env_update_i): ditto.



* struct.c (rb_struct_each_pair): ditto.



* eval.c (top_include): should include module in the current self,

not ruby_top_self. [ruby-dev:20198]



* eval.c (top_include): stop inclusion to ruby_wrapper; give

warning.

83 lines of code changed in:

usa 2003-05-20 05:32

* win32/win32.c (kill): set errno after calling raise().

22 lines of code changed in:

nobu 2003-05-20 02:51

* eval.c (rb_f_missing): create exception instance by ordinal

method.



* error.c (rb_name_error, rb_sys_fail): ditto.



* error.c (exc_to_s, exit_status, name_err_name,

nometh_err_args, syserr_errno, syserr_eqq): access

attributes.



* error.c (name_err_initialize, nometh_err_initialize,

syserr_initialize): initialize attributes.

100 lines of code changed in:

why 2003-05-19 19:46

* lib/token.c, lib/implicit.c: expanded character set to allow UTF-8,

other Ruby encodings.

3181 lines of code changed in:

why 2003-05-19 17:37

* lib/syck.c, lib/syck.h, lib/token.c, lib/gram.c: count line numbers

only if line pointer has increased.

77 lines of code changed in:

eban 2003-05-19 17:05

2003-05-20

3 lines of code changed in:

matz 2003-05-19 16:54

* dir.c (push_braces): do not push_braces() unless rbrace is found.

(ruby-bugs-ja:PR#469)

6 lines of code changed in:

matz 2003-05-19 16:45

* ext/pty/pty.c (pty_finalize_syswait): join (using Thread#value)

before detach pid. [ruby-talk:71519]



* eval.c (PUSH_FRAME): save outer ruby_block. [ruby-list:37677],

[ruby-dev:20202]



* eval.c (BEGIN_CALLARGS): restore outer block by using

ruby_block->outer.



* eval.c (block_pass): do not alter block->prev, but block->outer.



* array.c (get_inspect_tbl): warning on wrong condition.



* eval.c (localjump_xvalue): renamed exitstatus to exit_value

since it's not exit "status" after all.



* eval.c (localjump_error): add reason to LocalJumpError.



* compar.c (rb_cmpint): raise error via rb_cmperr(), if cmp value

is nil. now take new 2 arguments.



* time.c (time_cmp): 2003-05-16 fix was incomplete.

(ruby-bugs-ja:PR#458)

149 lines of code changed in:

aamine 2003-05-19 08:11

* class.c: add #include "version.h".

* hash.c: ditto.

* string.c: ditto.

11 lines of code changed in:

matz 2003-05-19 07:27

* object.c (rb_mod_cmp): stupid comparison fixed.



* io.c (Init_IO): ARGF.path added (alias to ARGF.filename).

[ruby-dev:20197]

9 lines of code changed in:

matz 2003-05-19 06:41

* object.c (init_copy): rename copy_object as initialize_copy,

since it works as copy constructor.



* eval.c (rb_add_method): initialize_copy should always be

private, like initialize.

61 lines of code changed in:

aamine 2003-05-19 06:05

modify ChangeLog.

1 lines of code changed in:

eban 2003-05-19 06:01

2003-05-19

3 lines of code changed in:

matz 2003-05-19 05:52

* array.c (get_inspect_tbl): check whether inspect_tbl value is a

valid array. (ruby-bugs-ja PR#65)



* array.c (inspect_ensure,rb_protect_inspect,rb_inspecting_p):

use get_inspect_tbl().



* eval.c (rb_f_abort): call exit(1) if exception is raised. This

patch was made by Nobuyoshi Nakada <nobu.nokada@softhome.net> on

2002-05-30. (ruby-bugs-ja PR#236)



* signal.c: disable Ruby's interrupt handler at the beginning.

(ruby-bugs-ja PR#236)

49 lines of code changed in:

aamine 2003-05-19 05:48

* re.c (rb_reg_quote): \n \r \f \v quoting was wrong.

* re.c (rb_reg_quote): rb_reg_quote(" ") should be "\\ ", not "\\s".

13 lines of code changed in:

tadf 2003-05-19 00:13

use warn() instead of $stderr.puts().

11 lines of code changed in:

tadf 2003-05-18 16:30

use $deferr instead of $stderr.

6 lines of code changed in:

suke 2003-05-17 14:49

add WIN32OLE_TYPE#to_s method.

add WIN32OLE_VARIABLE#to_s method.

add WIN32OLE_METHOD#to_s method.

add WIN32OLE_PARAM#to_s method.

38 lines of code changed in:

eban 2003-05-17 13:15

2003-05-17

3 lines of code changed in:

matz 2003-05-17 00:28

* object.c (rb_class_allocate_instance): singleton class check

moved to rb_obj_alloc(). (ruby-bugs-ja PR#345)



* re.c (rb_reg_quote): should escape white space characters,

\t, \f, \n, \r. (ruby-bugs-ja PR#231)

47 lines of code changed in:

nobu 2003-05-16 18:19

* lib/rational.rb (Integer::denominator): fixed typo. (ruby-bugs-ja:PR#466)

7 lines of code changed in:

nobu 2003-05-16 16:18

* ext/socket/socket.c (ruby_connect): connect() after EINPROGRESS

returns EINVAL on some platforms, need to check true error

status. [ruby-core:01037]

42 lines of code changed in:

matz 2003-05-16 06:13

* eval.c (block_pass): chain previous block to the pushing block.



* time.c (time_cmp): does not compare with numbers for

interchangeability. (ruby-bugs-ja PR#458)

19 lines of code changed in:

why 2003-05-15 22:46

* lib/gram.c: fixes to one-line documents and end of stream documents.



* lib/syck.c, lib/syck.h: add root_on_error to parser struct, specifying

the symbol to be returned on a parse error.

197 lines of code changed in:

nobu 2003-05-15 11:23

re-indented & tabified

145 lines of code changed in:

akr 2003-05-15 10:48

* lib/open-uri.rb (OpenURI::Redirect#initialize): call super to

initialize mesg.



* lib/open-uri.rb (OpenURI::Meta#charset): call block to guess charset

if block is given and charset is not given.

19 lines of code changed in:

matz 2003-05-15 08:57

* object.c (rb_mod_le): returns nil if two classes/modules are not

in class-superclass relationship.



* object.c (rb_mod_cmp): uses new rb_mod_le() behavior.

35 lines of code changed in:

why 2003-05-15 08:38

* ext/ruby/ext/syck/rubyext.c, lib/implicit.re: timestamp repairs to

timezone and milliseconds.



* lib/syck.c (syck_parser_reset_levels): duplicate string literal to avoid warning.

603 lines of code changed in:

usa 2003-05-15 05:47

2003-05-15

3 lines of code changed in:

matz 2003-05-15 05:27

* io.c (set_stdio): better message.

19 lines of code changed in:

matz 2003-05-15 05:20

* io.c (set_stdio): $stdin, $stdout, $stderr now became read-only.



* variable.c (readonly_setter): message changed.

14 lines of code changed in:

usa 2003-05-15 01:52

* ext/syck/syck.c (syck_parser_pop_level): add prototype.

* ext/syck/syck.c (syck_strndup): should return value.

9 lines of code changed in:

usa 2003-05-15 01:33

* win32/win32.c (kill): fix typo and add signal 0 support.

30 lines of code changed in:

why 2003-05-14 21:01

* ext/syck/gram.c: sequence-in-map shortcut, transfer methods on

sequence-in-sequence, memory leak in mapping merge. [0.28]



* ext/syck/syck.c: memory leak in domain anchoring. [0.28]



* lib/yaml/rubytypes.rb, lib/yaml/types.rb: eliminated 1.6.x code.

198 lines of code changed in:

eban 2003-05-14 12:47

2003-05-14

3 lines of code changed in:

usa 2003-05-14 11:57

* ext/syck/rubyext.c: add prototypes to avoid VC++ warnings.

9 lines of code changed in:

matz 2003-05-14 10:44

* regex.c (re_match_exec): \Z changed to be consistent with new $

(endbuf) behavior.

7 lines of code changed in:

aamine 2003-05-14 04:20

* lib/net/http.rb (Net::HTTP#start): should check whether HTTP session is opened before finishing. (ruby-bugs-ja:PR#463)

6 lines of code changed in:

aamine 2003-05-14 01:11

* lib/net/http.rb: reduce warning. (ruby-bugs-ja:PR#462)

24 lines of code changed in:

why 2003-05-13 23:29

* lib/yaml/rubytypes.rb, lib/yaml/types.rb: using Object#object_id

rather than deprecated Object#id.



* ext/token.c: changed ASCII escapes to octal notation.



* ext/Setup*: added entries for static linking of Syck extension.

75 lines of code changed in:

eban 2003-05-13 17:25

ext/syck/handler.c (syck_hdlr_add_alias): add cast to avoid warning.

1 lines of code changed in:

eban 2003-05-13 12:41

* ext/syck/handler.c: add proper casts.



* ext/syck/syck.c: ditto.

10 lines of code changed in:

eban 2003-05-13 12:34

* configure.in: add '--Wl,--enable-auto-import' to DLDFLAGS

on Cygwin/MinGW.



* configure.in: add '-D_USE_CRTIMP' to XCFLAGS on MinGW.

9 lines of code changed in:

usa 2003-05-13 09:59

* configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define

HAVE_FSYNC.

* win32/win32.h (fsync): define as _commit().

11 lines of code changed in:

why 2003-05-13 07:34

* lib/yaml/rubytypes.rb: object and struct loading



* lib/yaml.rb: YAML::detect_implicit will discover typing for a Ruby string



* ext/syck/: Fixed portable comments, misuse of NULL and methods without return VALUEs.

435 lines of code changed in:

eban 2003-05-13 06:55

2003-05-13

3 lines of code changed in: