December 2002 Commit Log

Number of Commits:
138
Number of Active Developers:
12
knu 2002-12-31 22:01

Really cvs rm these files from HEAD.

0 lines of code changed in:

knu 2002-12-31 20:43

Fix one more.

1 lines of code changed in:

knu 2002-12-31 20:38

Fix typos.

6 lines of code changed in:

knu 2002-12-31 20:25

2003-01-01

5 lines of code changed in:

knu 2002-12-31 20:24

* node.h (struct RNode): Change argc from int to long. Otherwize

NEW_CFUNC() sets argc to a wrong value on platforms where

sizeof(int) != sizeof(long) and the byte order is big-endian.

This fixes breakage on FreeBSD/sparc64.

8 lines of code changed in:

eban 2002-12-31 14:22

* wrong regexp.

1 lines of code changed in:

eban 2002-12-31 13:31

* Makefile.in, {win32,bcc32}/Makefile.sub: add new target:

what-where, no-install.



* mkconfig.rb: add const: CROSS_COMPILING.



* ext/extmk.rb: no-install support. add MAKEDIRS macro.



* lib/mkmf.rb: add !ifdef .. !endif for Borland make.



* process.c: improve DJGPP support. system "ls", "-l".

92 lines of code changed in:

knu 2002-12-31 12:47

Fix typos.

2 lines of code changed in:

matz 2002-12-31 12:44

* gc.c (rb_gc_mark_frame): should mark frame->node.

10 lines of code changed in:

knu 2002-12-31 12:17

* ext/socket/addrinfo.h (NI_MAXHOST): Define NI_MAXHOST and

NI_MAXHOST only if they are not defined yet. This fixes build

such platforms as OpenBSD.

8 lines of code changed in:

knu 2002-12-31 12:13

* ext/tcltklib/extconf.rb (find_tcl, find_tk): Look for both

lib{tcl,tk}M.N and lib{tcl,tk}MN on all platforms. *BSD have

Tcl/Tk libraries named this way.

18 lines of code changed in:

knu 2002-12-31 11:53

* configure.in: Improve OpenBSD support. [obtained from: OpenBSD

ports]



* dln.c (FUNCNAME_PATTERN): Ditto.

15 lines of code changed in:

knu 2002-12-31 11:28

* array.c (rb_ary_transpose): Properly declare ary as a VALUE.



* file.c (rb_file_s_chmod): Do not directly cast an int to void *

to avoid a warning.



* defines.h (FLUSH_REGISTER_WINDOWS): Add support for

FreeBSD/sparc64. miniruby still coredumps in a different place,

though.

16 lines of code changed in:

nobu 2002-12-30 23:56

* parse.y (parse_string): readjusted.



* parse.y (heredoc_identifier): readjusted.



* parse.y (here_document): make EOL codes of single-quoted

here-documents consistent.



* parse.y (yylex): reduced unnecessary conditionals.

54 lines of code changed in:

knu 2002-12-30 20:56

mdoc'ify.

273 lines of code changed in:

eban 2002-12-30 19:19

* parse.y (yylex): do not accept " __END__\n". ([ruby-dev:19245])

20 lines of code changed in:

eban 2002-12-30 13:23

* typofix

1 lines of code changed in:

eban 2002-12-30 13:17

* parse.y (yylex): use strncmp instead of strcmp.

accept "__END__\r\n". ([ruby-dev:19241])

7 lines of code changed in:

nobu 2002-12-30 11:16

* ext/extmk.rb: split --make argument contains options, assume

the first word of --make-flags is always options even unless

preceeded by -, and ignore letter-case of options if nmake.



* instruby.rb: extract -n option also from --make and

--make-flags.



* bcc32/Makefile.sub, win32/Makefile.sub: not prepend - to

$(MFLAGS)

32 lines of code changed in:

nobu 2002-12-30 08:57

2002-12-30

3 lines of code changed in:

nobu 2002-12-30 08:55

* string.c (rb_str_substr): should share the shared string if

present, instead of the original string. (ruby-bugs:PR#528)

10 lines of code changed in:

nobu 2002-12-29 21:14

* ext/socket/socket.c (tcp_svr_init): local host to

init_inetsock() is VALUE but not pointer.



* ext/socket/socket.c (sock_s_unpack_sockaddr_in): get rid of

gcc-3 -O3 warning.

11 lines of code changed in:

nobu 2002-12-29 19:14

* file.c (rb_file_s_chmod): get rid of gcc-3 -O3 warning.

3 lines of code changed in:

nobu 2002-12-29 15:52

2002-12-29

3 lines of code changed in:

nobu 2002-12-29 15:51

* gc.c (gc_sweep): adjust GC trigger.



* dln.c (init_funcname_len): get rid of gcc-3 -O3 warning.



* eval.c (copy_node_scope): ditto.



* hash.c (rb_hash_foreach, delete_if_i, select_i, each_value_i,

each_key_i, each_pair_i, envix): ditto.



* range.c (range_each_func): ditto.

35 lines of code changed in:

aamine 2002-12-29 07:32

add location.

2 lines of code changed in:

aamine 2002-12-29 07:29

forgot to commit ChangeLog.

4 lines of code changed in:

aamine 2002-12-29 07:24

* lib/fileutils.rb: should not inherit ftools.rb's misfeature.

0 lines of code changed in:

usa 2002-12-28 21:11

* lib/fileutils.rb (cmp): return false if file size differs.

5 lines of code changed in:

eban 2002-12-28 11:32

* instruby.rb: remove junk args.

* lib/mkmf.rb (create_makefile): remove a trouble library

before making a shared library.

* win32/Makefile.sub: invoke instruby.rb with the --make-flags option.

12 lines of code changed in:

wakou 2002-12-27 19:12

* lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMA

<zn@mbf.nifty.com>

8 lines of code changed in:

eban 2002-12-27 18:00

2002-12-28

14 lines of code changed in:

eban 2002-12-27 17:28

* instruby.rb: use getopts.rb.

6 lines of code changed in:

eban 2002-12-27 17:13

* {win32,bcc32}/Makefile.sub: remove `=' from --make-flags options.

nmake quotes args if included `=' in args.

* instruby.rb: use getopts.rb.

* ext/dbm/extconf.rb: substitute ' with ".

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

14 lines of code changed in:

nobu 2002-12-27 13:42

* bcc32/setup.mak, win32/setup.mak(-prologue-): move srcdir from

CPP input or UNC path will be removed as a comment.

15 lines of code changed in:

uema2 2002-12-27 09:55

* wince/config, wince/configure.bat: replace 1.7 with 1.8

in macros.

7 lines of code changed in:

aamine 2002-12-27 05:23

* instruby.rb: fileutils.rb accepts only one argument.

5 lines of code changed in:

aamine 2002-12-27 05:21

* lib/fileutils.rb (fu_parseargs): reject illegal options correctly.

* lib/fileutils.rb (uptodate?): parameter declaration was wrong.

* lib/fileutils.rb: change coding styles.

54 lines of code changed in:

nobu 2002-12-26 19:01

* instruby.rb: check only `-' option, and use fileutils instead of

ftools.

35 lines of code changed in:

wakou 2002-12-26 18:48

* lib/net/telnet.rb: Telnet#print not add "\n".



* lib/cgi.rb: cgi['key'] is equal cgi['key'][0]

35 lines of code changed in:

eban 2002-12-26 17:55

2002-12-26

3 lines of code changed in:

eban 2002-12-26 16:15

commit miss.

8 lines of code changed in:

eban 2002-12-26 16:12

* configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS.

2 lines of code changed in:

eban 2002-12-26 15:59

* ext/extmk.rb (create_makefile): check only `-' option.

* configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS.

* win32/win32.h: prototypes for isinf, isnan are not needed on MinGW.

8 lines of code changed in:

usa 2002-12-26 11:27

* win32/setup.mak (-prologue-): moved srcdir macro definition.

[ruby-win32:420].

6 lines of code changed in:

gotoken 2002-12-25 18:22

exiled historical RD inclusion, wrong [ruby-dev:19191]

2 lines of code changed in:

matz 2002-12-25 08:44

* regex.c (re_match_exec): fix odd \G behavior based on the patch

from Nobu.

24 lines of code changed in:

nobu 2002-12-25 03:08

* bcc32/setup.mak (-generic-): removed garbages.

6 lines of code changed in:

usa 2002-12-25 02:49

* bcc32/Makefile.sub, win32/Makefile.sub (RUBY_SO_NAME, config.h):

use $(MAJOR) and $(MINOR). based on Nobu's patch. [ruby-win32:413]



* bcc32/setup.mak, win32/setup.mak (-prologue-): define MAJOR, MINOR

and TEENY from version.h. based on Nobu's patch. [ruby-win32:413]



* win32/Makefile.sub (config.h): add HAVE_FLOAT_H.



* win32/Makefile.sub (parse.obj): depend on win32/win32.h.

45 lines of code changed in:

knu 2002-12-24 18:36

Synchronize with reality.

2 lines of code changed in:

knu 2002-12-24 15:50

* lib/irb/completion.rb: Use Object#class rather than Object#type.

5 lines of code changed in:

knu 2002-12-24 15:42

* lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do not

pass to split() a bare string longer than 2 characters as

separator.

8 lines of code changed in:

usa 2002-12-24 11:20

* numeric.c (DBL_MAX_10_EXP): fix typo. [ruby-dev:36826]

5 lines of code changed in:

matz 2002-12-24 09:53

021224

69 lines of code changed in:

matz 2002-12-24 09:02

* class.c (ins_methods_i): should not show ID_ALLOCATOR.



* class.c (ins_methods_prot_i): ditto.



* class.c (ins_methods_priv_i): ditto.



* class.c (ins_methods_pub_i): ditto.



* eval.c (call_trace_func): ditto.



* eval.c (rb_undefined): ditto.

32 lines of code changed in:

knu 2002-12-24 06:29

Convert RD to Rdoc.

119 lines of code changed in:

knu 2002-12-23 18:13

* lib/README: Synchronize with reality.

11 lines of code changed in:

knu 2002-12-23 18:07

* MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough.

696 lines of code changed in:

knu 2002-12-23 15:48

Rename an argument name to avoid a potential clash.

2 lines of code changed in:

usa 2002-12-21 20:08

* ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument.

6 lines of code changed in:

usa 2002-12-21 19:02

* array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc),

file.c (rb_stat_s_alloc), hash.c (hash_alloc), io.c (io_alloc),

object.c (rb_module_s_alloc, rb_class_allocate_instance),

re.c (match_alloc, rb_reg_s_alloc), string.c (str_alloc),

time.c (time_s_alloc), ext/digest/digest.c (rb_digest_base_alloc),

ext/tcltklib/tcltklib.c (ip_alloc),

ext/win32ole/win32ole.c (fole_s_allocate, fev_s_allocate)

: add prototype to get rid of VC++ warnings.



* ext/sdbm/init.c (fsdbm_alloc): allocator takes only one argument.

32 lines of code changed in:

eban 2002-12-21 16:42

* lib/mkmf.rb (create_makefile): accept pure ruby libraries.

28 lines of code changed in:

nobu 2002-12-20 23:27

* misc/ruby-mode.el (ruby-parse-partial): keywords must not be

preceded by @ or $.

7 lines of code changed in:

nobu 2002-12-20 12:30

ditto.

12 lines of code changed in:

nobu 2002-12-20 12:23

* ext/curses/curses.c, ext/digest/digest.c, ext/dl/handle.c,

ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c, ext/iconv/iconv.c,

ext/stringio/stringio.c, ext/strscan/strscan.c,

ext/tcltklib/tcltklib.c, ext/win32ole/win32ole.c:

use rb_define_alloc_func().

22 lines of code changed in:

nobu 2002-12-20 10:29

* io.c (rb_io_fwrite): separated from io_write().



* marshal.c (w_byten): use rb_io_fwrite() to support non-blocking

IO, and added error check.



* rubyio.h: prototypes; rb_io_fwrite

45 lines of code changed in:

eban 2002-12-20 10:02

2002-12-20

2 lines of code changed in:

matz 2002-12-20 10:00

* object.c (Init_Object): should not remove Class#allocate.



* lib/profiler.rb: separate profiling functions, without

trace_func and at_exit setting.

73 lines of code changed in:

matz 2002-12-20 09:33

* parse.y (do_block): split "do" block and tLBRACE_ARG block.



* parse.y (cmd_brace_block): new tLBRACE_ARG block rule



* parse.y (command): can take optional cmd_brace_block; use %prec

to resolve shift/reduce conflict. (ruby-bugs-ja PR#372)



* eval.c (ruby_finalize): trace_func should be cleared here (after

executing exit procs and finalizers).



* eval.c (rb_define_alloc_func): new allocation framework, based

on Nobu's work [ruby-dev:19116]. "allocate" method is no longer

used for object allocation.

194 lines of code changed in:

knu 2002-12-20 05:51

Fix a fatal typo. (pointed out by Jim Freeze)

1 lines of code changed in:

knu 2002-12-19 21:56

Improve.

13 lines of code changed in:

knu 2002-12-19 21:45

Be consistent on the use of the implicit $_.

1 lines of code changed in:

knu 2002-12-19 21:42

Improve.

9 lines of code changed in:

knu 2002-12-19 21:39

Fix a bug.

1 lines of code changed in:

knu 2002-12-19 21:30

The use of $_ and ~/RE/ is discouraged.

4 lines of code changed in:

knu 2002-12-19 21:26

Strive to give better examples.

20 lines of code changed in:

knu 2002-12-19 21:08

* lib/README, lib/cgi/ftplib.rb, lib/telnet.rb: Delete ftplib.rb

and telnet.rb. It has been quite some time sinc they were

obsoleted and made to emit warnings.

6 lines of code changed in:

knu 2002-12-19 21:03

Delete final.rb.

0 lines of code changed in:

knu 2002-12-19 21:00

* lib/tempfile.rb: Embed Rdoc style comments.



* lib/tempfile.rb: Add length as an alias for size.

62 lines of code changed in:

knu 2002-12-19 20:01

Add Tempfile#close!() as a shorthand for Tempfile#close(true).



Add Tempfile#{unlink,delete}().

32 lines of code changed in:

knu 2002-12-19 19:55

Delete final.rb, which was obsoleted long ago.

5 lines of code changed in:

nobu 2002-12-19 16:21

* re.c (rb_reg_match_pre, rb_reg_match_post, match_to_a,

match_select): return instances of same class as the original

string. [ruby-dev:19119]

15 lines of code changed in:

usa 2002-12-19 14:56

* numeric.c (DBL_EPSILON): fix typo.

5 lines of code changed in:

nobu 2002-12-19 14:39

[BUG] not SEGV.

1 lines of code changed in:

nobu 2002-12-19 14:38

* eval.c (assign): avoid SEGV at multiple attribute assignment.

5 lines of code changed in:

nobu 2002-12-19 13:28

2002-12-19

2 lines of code changed in:

matz 2002-12-19 10:20

* numeric.c (num_step): use DBL_EPSILON.



* array.c (rb_check_array_type): new function: return an array

(convert if possible), or nil.



* string.c (rb_check_string_type): new function: return a string

(convert if possible), or nil.



* numeric.c (rb_dbl_cmp): returns nil if values are not

comparable.



* numeric.c (fix_cmp,flo_cmp): use rb_num_coerce_cmp()



* bignum.c (rb_big_cmp): ditto.



* numeric.c (rb_num_coerce_cmp): new coercing function for "<=>",

which does not raise TypeError.



* numeric.c (do_coerce): can be supress exception now.



* object.c (rb_mod_cmp): should return nil for non class/module

objects.



* re.c (rb_reg_eqq): return false if the argument is not a

string. now returns boolean value.



* class.c (rb_include_module): argument should be T_MODULE, not

T_class, nor T_ICLASS.



* eval.c (is_defined): "defined?" should return "assignment" for

attribute assignment (e.g. a.foo=b) and indexed assignment

(e.g. a[2] = 44).



* parse.y (aryset): use NODE_ATTRASGN.

158 lines of code changed in:

knu 2002-12-19 09:29

Mention the open-uri.rb import.

4 lines of code changed in:

akr 2002-12-19 08:56

forgot to commit with open-uri.rb.

1 lines of code changed in:

knu 2002-12-18 20:22

Add a missing ||.

5 lines of code changed in:

nobu 2002-12-18 12:50

* string.c (rb_str_dup_frozen): handle tail shared string.

8 lines of code changed in:

nobu 2002-12-17 19:20

* string.c (rb_str_new4): handle tail shared string.

(ruby-bugs-ja:PR#370)

29 lines of code changed in:

nobu 2002-12-17 13:15

* re.c (rb_reg_nth_match): tail sharing.

5 lines of code changed in:

nobu 2002-12-17 11:54

* eval.c (is_defined): NODE_ATTRASGN should be assignment.

1 lines of code changed in:

nobu 2002-12-17 11:43

2002-12-17

2 lines of code changed in:

nobu 2002-12-17 11:34

* node.h (NODE_ATTRASGN): new node, assignment to attribute.

[ruby-core:00637].



* eval.c (is_defined, rb_eval): ditto.



* parse.y (attrset, node_assign): ditto.



* string.c (rb_str_substr): tail sharing. [ruby-core:00650]

45 lines of code changed in:

akr 2002-12-16 20:06

* lib/open-uri.rb: new file.

395 lines of code changed in:

usa 2002-12-16 16:30

* file.c (utimbuf): need to define for VC++.

7 lines of code changed in:

nobu 2002-12-16 07:56

2002-12-16

2 lines of code changed in:

nobu 2002-12-16 07:56

* parse.y (nextc): get rid of overrun. (pointed out by akr

[ruby-list:36773])

6 lines of code changed in:

akira 2002-12-16 01:52

* removed URI::Generic#to_ary.

* URI::Generic included URI.

5 lines of code changed in:

knu 2002-12-15 22:15

Add and update entries.



Submitted by: Matt Armstrong <matt@lickey.com> (mostly)

74 lines of code changed in:

  • doc: NEWS (+74 -21)
eban 2002-12-15 13:20

* lib/mkmf.rb (init_mkmf): add $(topdir) to $LIBPATH if $extmk.

remove adding $(archdir) to $LIBPATH.

16 lines of code changed in:

nobu 2002-12-15 07:18

2002-12-15

2 lines of code changed in:

uema2 2002-12-15 04:18

* configure.in, defines.h, dir.c, dir.h, dln.c, error.c,

eval.c, file.c, hash.c, io.c, main.c, missing.c,

process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h,

bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h,

ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c,

ext/socket/getnameinfo.c, ext/socket/socket.c,

ext/tcltklib/stubs.c

: replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER

* wince/exe.mak : delete \r at the end of lines.

* wince/mswince-ruby17.def : delete rb_obj_become

134 lines of code changed in: