November 2003 Commit Log

Number of Commits:
186
Number of Active Developers:
20
eban 2003-11-30 17:09

2003-12-01

4 lines of code changed in:

eban 2003-11-30 17:09

* lib/mkmf.rb (TRY_LINK, link_command): added support for DLDFLAGS

and ARCH_FLAG. [ruby-dev:22085]

9 lines of code changed in:

eban 2003-11-30 15:47

* configure.in: should put getcwd in AC_CHECK_FUNCS, not

AC_REPLACE_FUNCS. [ruby-core:01826]

5 lines of code changed in:

eban 2003-11-30 15:20

* Makefile.in: add ARCH_FLAG to DLDFLAGS.

3 lines of code changed in:

eban 2003-11-30 15:00

* lib/mkfm.rb (configuration): add ARCH_FLAG to DLDFLAGS.

3 lines of code changed in:

eban 2003-11-30 14:41

* Makefile.in: add ARCH_FLAG to CFLAGS.



* Makefile.in: add @CPPFLAGS@ to CPPFLAGS.

2 lines of code changed in:

eban 2003-11-30 12:27

* configure.in: keep ARCH_FLAG separate. export ARCH_FLAG.

[ruby-core:01819]



* Makefile.in: add ARCH_FLAG to CFLAGS.



* Makefile.in: add @CPPFLAGS@ to CPPFLAGS.



* lib/mkmf.rb (link_command, cc_command): use ARCH_FLAG.

21 lines of code changed in:

eban 2003-11-30 10:33

* configure.in: do not override CCDLDFLAGS, LDFLAGS, XLDFLAGS,

DLDFLAGS and LDSHARED.



* configure.in: XCFLAGS for compiling ruby itself. ARCH_FLAG is

reflected in CFLAGS.



* lib/mkmf.rb: ditto. do not import XCFLAGS from config.status.

91 lines of code changed in:

nagai 2003-11-30 09:41

* ext/tk/lib/tk.rb: bug fix [ruby-talk:86746]

5 lines of code changed in:

nahi 2003-11-30 05:33

* lib/soap/encodingstyle/soapHandler.rb: refactoring - Simplifying

Conditional Expressions.



* lib/wsdl/soap/definitions.rb: refactoring - Move Method.



* test/xsd/{test_noencoding.rb,noencoding.xml}: new files. test for

encoding unspecified XML file parsing.



* test/wsdl/{test_fault.rb,map,datetime}: new files. test of

SOAPFault, dateTime and Apache's Map.

498 lines of code changed in:

nobu 2003-11-30 01:39

2003-11-30

3 lines of code changed in:

nobu 2003-11-30 01:35

* string.c (rb_str_update): get rid of SEGV at just allocated String.

[ruby-core:01812]

8 lines of code changed in:

matz 2003-11-28 15:23

* gc.c (gc_mark): explicitly check mark recursion levels, instead

of unreliable stack length.



* file.c (path_check_1): honor sticky bits always.

[ruby-talk:86273]

92 lines of code changed in:

seki 2003-11-28 14:51

fix TupleSpaceProxy#read, read_all

7 lines of code changed in:

eban 2003-11-28 13:47

ChangeLog: FreeBSD.

1 lines of code changed in:

eban 2003-11-28 13:46

* test/fileutils/test_fileutils.rb (test_ln_s): should be a file, not

a directory.

8 lines of code changed in:

nobu 2003-11-28 11:38

* test/ruby/test_env.rb (test_has_value, test_index): condition for

aboves.

6 lines of code changed in:

nobu 2003-11-28 11:28

* hash.c (env_has_value, env_index): must match exactly.

8 lines of code changed in:

usa 2003-11-28 10:00

* test/ruby/test_env.rb: add tests for ENV.

89 lines of code changed in:

seki 2003-11-28 09:53

lib/drb/drb.rb (DRbMessage#load): rescue Errno::* and raise DRbConnError.

5 lines of code changed in:

seki 2003-11-28 09:30

re-raise DRbConnError

3 lines of code changed in:

seki 2003-11-28 08:45

rescue SystemCallError

17 lines of code changed in:

akr 2003-11-28 08:04

previous change refined.

4 lines of code changed in:

akr 2003-11-28 07:43

* lib/pathname.rb (Pathname#realpath): obsolete the force_absolute

argument.

10 lines of code changed in:

nahi 2003-11-28 06:53

* lib/soap/streamHandler.rb: drop unused http parameters.



* lib/soap/encodingstyle/soapHandler.rb, lib/soap/mapping/factory.rb,

lib/soap/mapping/mapping.rb, lib/soap/mapping/registry.rb,

lib/wsdl/soap/complexType.rb: ApacheSOAP's map support was broken under WSDL

dynanic client environment. fixed.



* test/wsdl/raa/*: add tests.



* lib/xsd/datatypes.rb: dateTime precision bug fix (at least, I hope.) bug of

soap4r. XSDDateTimeImple.to_time passed a Float to Time.local/Time.gm as an

usec, and NUM2LONG(rb_num2long for Float) causes rounding error.

338 lines of code changed in:

nobu 2003-11-27 20:45

* test/ruby/test_proc.rb (test_arity): added.

39 lines of code changed in:

nobu 2003-11-27 20:15

* eval.c (method_arity): used wrong Proc object. [ruby-talk:86504]

5 lines of code changed in:

eban 2003-11-27 16:49

2003-11-28

3 lines of code changed in:

nobu 2003-11-27 16:47

* eval.c (rb_f_exit), process.c (rb_f_exit_bang): use VALUEs not but

TYPEs.

8 lines of code changed in:

nobu 2003-11-27 16:34

* eval.c (rb_f_exit), process.c (rb_f_exit_bang): treat true as

success, false as failure. [ruby-dev:22067]



* eval.c (rb_f_abort, rb_thread_switch), process.c (rb_f_system): use

ANSI macro instead of hard coded value.

46 lines of code changed in:

knu 2003-11-27 14:08

* eval.c, gc.c: FreeBSD/ia64 currently does not have a way for a

process to get the base address for the RSE backing store, so

hardcode it for the moment.

[submitted by: Marcel Moolenaar <marcel@FreeBSD.org>]

23 lines of code changed in:

eban 2003-11-27 10:13

win32/win32.c (rb_win32_stat): add "." to buf1 only if it has a drive letter.

1 lines of code changed in:

nagai 2003-11-27 09:39

* ext/tk/lib/tkafter.rb: bug fix on TkTimer#cancel_on_exception=(mode).

TkTimer#wait recieves the exception of the callback.

The exception is kept on @return_value.

28 lines of code changed in:

eban 2003-11-27 09:00

2003-11-27

3 lines of code changed in:

eban 2003-11-27 09:00

* win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device.

16 lines of code changed in:

eban 2003-11-26 07:42

* test/fileutils/test_fileutils.rb: should take the existing symbolic

link for OpenBSD.

6 lines of code changed in:

eban 2003-11-26 03:02

2003-11-26

3 lines of code changed in:

why 2003-11-25 20:51

* ext/syck/token.c: removed YYTOKTMP references which

were causing buffer overflows on large block scalars,

comments, quoted scalars and plain scalars.



* ext/syck/rubyext.c: dynamic changing of buffer size.



* ext/syck/syck.h: default buffer size of 4k.

144 lines of code changed in:

gotoyuzo 2003-11-25 17:02

* lib/webrick/httpresponse.rb: add HTTPResponse#keep_alive=.



* lib/webrick/httpserver.rb (HTTPServer#run): should pass the

request's keep_alive flag to the response.

10 lines of code changed in:

usa 2003-11-25 13:45

add reference to ruby-dev.

2 lines of code changed in:

usa 2003-11-25 13:44

* defines.h (ENV_IGNORECASE): should define when DOSISH without

human68k.



* hash.c (env_has_value, env_index): don't ignore case of value.

8 lines of code changed in:

aamine 2003-11-25 12:02

* test/fileutils/test_fileutils.rb: do test in more deep directory.

* test/fileutils/test_nowrite.rb: ditto.

20 lines of code changed in:

akr 2003-11-25 11:04

fix previous change.

2 lines of code changed in:

akr 2003-11-25 10:56

* lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity test

refined.

18 lines of code changed in:

aamine 2003-11-25 10:13

* test/fileutils/test_fileutils.rb: chdir Dir.tmpdir before each test. [ruby-dev:22045]

* test/fileutils/test_nowrite.rb: ditto.

17 lines of code changed in:

akr 2003-11-25 09:53

* lib/open-uri.rb (URI::Generic#find_proxy): use http_proxy under CGI

if the environment variable is case sensitive.

31 lines of code changed in:

nahi 2003-11-25 08:44

* test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: removed. this

test requires extra libraries in soap4r/1.5.*.

5 lines of code changed in:

nahi 2003-11-25 08:31

* lib/soap/**/*.rb, lib/wsdl/**/*.rb, lib/xsd/**/*.rb: changed license; GPL2 -> Ruby's.



* lib/soap/rpc/driver.rb, lib/soap/wsdlDriver.rb, lib/soap/streamHandler.rb: add interface to streamhandler.



* lib/soap/marshal.rb: raise error if parse fails.



* lib/soap/netHttpClient.rb: add https support. Patched by Oliver M. Bolzer.



* lib/soap/netHttpClient.rb: dump HTTP response message body by itself.



* lib/soap/rpc/driver.rb, lib/soap/rpc/proxy.rb, lib/soap/wsdlDriver.rb: add driver#mandatorycharset interface to foce using charset for parsing response from buggy server.



* lib/soap/encodingstyle/soapHandler.rb: support Apache Axis's half typed multi-ref array.



* lib/soap/mapping/factory.rb, lib/soap/mapping/registry.rb: map SOAPStruct which has multi-accessors which name are the same, to an array.



* lib/soap/rpc/element.rb: fixed illegal parameter order.



* lib/soap/rpc/element.rb: element name of response message could have the name other than 'return'.



* lib/wsdl/operation.rb, lib/wsdl/operationBinding.rb, lib/wsdl/soap/classDefCreator.rb, lib/wsdl/soap/methodDefCreator.rb, lib/wsdl/soap/methodDefCreatorSupport.rb: WSDL/1.1 allows plural fault definition in a operation. [ruby-talk:84948]



* test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: add test for above fix.



* lib/wsdl/soap/complexType.rb: support WSDL array definition with maxOccures="unbound".



* lib/xsd/charset.rb: use cp932 under emx. Patched by Siena. / SHINAGAWA, Norihide in [ruby-dev:21972]



* lib/xsd/xmlparser/parser.rb: set @charset nil by default. Nil means 'follow encoding declaration in XML'.



* sample/soap/digraph.rb, sample/wsdl/amazon/wsdlDriver.rb, sample/wsdl/googleSearch/sampleClient.rb, sample/wsdl/googleSearch/wsdlDriver.rb, test/wsdl/test_emptycomplextype.rb, test/wsdl/marshal/test_wsdlmarshal.rb, test/xsd/test_xmlschemaparser.rb: use File.open(...) { |f| f.read } instead of File.open(...).read. [ruby-dev:21964]



* test/wsdl/emptycomplextype.wsdl, test/wsdl/test_emptycomplextype.rb: simplify the test case.



* test/wsdl/axisArray/*: add tests for axis's array encoding.

1020 lines of code changed in:

eban 2003-11-25 08:17

* ruby.h: don't treat Cygwin as Windows.

5 lines of code changed in:

nagai 2003-11-25 07:45

* ext/tcltklib/README.1st: edit.

2 lines of code changed in:

nagai 2003-11-25 07:26

* configure.in: change default value of --enable-pthread (default: no)

6 lines of code changed in:

akr 2003-11-25 06:00

add document that pathname.rb supports only Unix style pathnames.

1 lines of code changed in:

nobu 2003-11-25 00:23

2003-11-25

3 lines of code changed in:

nobu 2003-11-24 23:31

* parse.y (primary): allow newlines just before right argument

parenthesis. (ruby-bugs:PR#1221)

8 lines of code changed in:

akr 2003-11-24 15:36

* lib/open-uri.rb (OpenURI.open_loop, URI::HTTP#proxy_open): use

catch/throw for redirection instead of exception.

(OpenURI.open_loop, OpenURI.redirectable?): restrict redirection.

37 lines of code changed in:

akr 2003-11-24 12:01

* lib/open-uri.rb (URI::Generic#find_proxy): use CGI_HTTP_PROXY

instead of HTTP_PROXY in the CGI environment.

15 lines of code changed in:

eban 2003-11-24 11:42

* ext/etc/extconf.rb: check for pw_passwd in struct passwd and

gr_passwd in struct group for DJGPP.



* ext/etc/etc.c: ditto.



* ext/Setup.dj: support for curses, etc, zlib.

18 lines of code changed in:

akr 2003-11-24 09:02

* lib/open-uri.rb: validate option names.

:content_length_proc and :progress_proc option implemented.

127 lines of code changed in:

usa 2003-11-24 06:54

2003-11-24

3 lines of code changed in:

usa 2003-11-24 06:54

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

(XCFLAGS): output empty value instead of `-DRUBY_EXPORT'.

8 lines of code changed in:

eban 2003-11-22 15:24

* configure.in: set enable_pthread to no on MinGW.

5 lines of code changed in:

nagai 2003-11-22 14:58

* configure.in: add --enable-pthread option (default: yes)

42 lines of code changed in:

nagai 2003-11-22 14:52

* ext/tk/lib/tk.rb: add Tk.grab_release and fix bug of TkComposite

* ext/tk/lib/tkafter.rb: bug fix

* ext/tk/sample/tkcombobox.rb: new sample script

* ext/tcltklib/tcltklib.c: add native thread check

438 lines of code changed in:

usa 2003-11-22 10:51

* ext/curses/curses.c (window_nodelay): nodelay() of NetBSD's

libcruses returns no value, just like keypad().

12 lines of code changed in:

usa 2003-11-22 09:38

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

(HAVE_GETCWD): output to config.h.



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

(XCFLAGS): output to config.status.

14 lines of code changed in:

eban 2003-11-22 05:12

2003-11-22

3 lines of code changed in:

aamine 2003-11-22 05:10

* lib/fileutils.rb (have_st_ino?): djgpp has valid st_ino.

5 lines of code changed in:

matz 2003-11-22 05:00

* gc.c (Init_stack): stack region is far smaller than usual if

pthread is used.



* marshal.c (w_extended): singleton methods should not be checked

when dumping via marshal_dump() or _dump(). [ruby-talk:85909]



* file.c (getcwdofdrv): avoid using getcwd() directly, use

my_getcwd() instead.



* merged NeXT, OpenStep, Rhapsody ports patch from Eric Sunshine

<sunshine@sunshineco.com>. [ruby-core:01596]



* marshal.c (w_object): LINK check earlier than anything else,

i.e. do not dump TYPE_IVAR for already dumped objects.

(ruby-bugs PR#1220)



* eval.c (rb_eval): call "inherited" only when a new class is

generated; not on reopening.



* eval.c (eval): prepend error position in evaluating string to



* configure.in: revived NextStep, OpenStep, and Rhapsody ports which

had become unbuildable; enhanced --enable-fat-binary option so that

it accepts a list of desired architectures (rather than assuming a

fixed list), or defaults to a platform-appropriate list if user does

not provide an explicit list; made the default list of architectures

for MAB (fat binary) more comprehensive; now uses -fno-common even

when building the interpreter (in addition to using it for

extensions), thus allowing the interpreter to be embedded into a

plugin module of an external project (in addition to allowing

embedding directly into an application); added checks for

<netinet/in_systm.h> (needed by `socket' extension) and getcwd(); now

ensures that -I/usr/local/include is employed when extensions'

extconf.rb scripts invoke have_header() since extension checks on

NextStep and OpenStep will fail without it if the desired resource

resides in the /usr/local tree; fixed formatting of --help message.



* Makefile.in: $(LIBRUBY_A) rule now deletes the archive before

invoking $(AR) since `ar' on Apple/NeXT can not "update" MAB archives

(see configure's --enable-fat-binary option); added rule for new

missing/getcwd.c.



* defines.h: fixed endian handling during MAB build (see configure's

--enable-fat-binary option) to ensure that all portions of the

project see the correct WORDS_BIGENDIAN value (some extension modules

were getting the wrong endian setting); added missing constants

GETPGRP_VOID, WNOHANG, WUNTRACED, X_OK, and type pid_t for NextStep

and OpenStep; removed unnecessary and problematic HAVE_SYS_WAIT_H

define in NeXT section.



* dir.c: do not allow NAMLEN() macro to trust dirent::d_namlen on

NextStep since, on some installations, this value always resolves

uselessly to zero.



* dln.c: added error reporting to NextStep extension loader since the

previous behavior of failing silently was not useful; now ensures

that NSLINKMODULE_OPTION_BINDNOW compatibility constant is defined

for OpenStep and Rhapsody; no longer includes <mach-o/dyld.h> twice

on Rhapsody since this header lacks multiple-include protection,

which resulted in "redefinition" compilation errors.



* main.c: also create hard reference to objc_msgSend() on NeXT

platforms (in addition to Apple platforms).



* lib/mkmf.rb: now exports XCFLAGS from configure script to extension

makefiles so that extensions can be built MAB (see configure's

--enable-fat-binary option); also utilize XCFLAGS in cc_command()

(but not cpp_command() because MAB flags are incompatible with

direct invocation of `cpp').



* ext/curses/extconf.rb: now additionally checks for presence of these

curses functions which are not present on NextStep or Openstep:

bkgd(), bkgdset(), color(), curs(), getbkgd(), init(), scrl(), set(),

setscrreg(), wattroff(), wattron(), wattrset(), wbkgd(), wbkgdset(),

wscrl(), wsetscrreg()



* ext/curses/curses.c: added appropriate #ifdef's for additional set of

curses functions now checked by extconf.rb; fixed curses_bkgd() and

window_bkgd() to correctly return boolean result rather than numeric

result; fixed window_getbkgd() to correctly signal an error by

returning nil rather than -1.



* ext/etc/etc.c: setup_passwd() and setup_group() now check for null

pointers before invoking rb_tainted_str_new2() upon fields extracted

from `struct passwd' and `struct group' since null pointers in some

fields are common on NextStep/OpenStep (especially so for the

`pw_comment' field) and rb_tainted_str_new2() throws an exception

when it receives a null pointer.



* ext/pty/pty.c: include "util.h" for strdup()/ruby_strdup() for

platforms such as NextStep and OpenStep which lack strdup().



* ext/socket/getaddrinfo.c: cast first argument of getservbyname(),

gethostbyaddr(), and gethostbyname() from (const char*) to non-const

(char*) for older platforms such as NextStep and OpenStep.



* ext/socket/socket.c: include "util.h" for strdup()/ruby_strdup() for

platforms such as NextStep and OpenStep which lack strdup(); include

<netinet/in_systm.h> if present for NextStep and OpenStep; cast first

argument of gethostbyaddr() and getservbyname() from (const char*) to

non-const (char*) for older platforms.



* ext/syslog/syslog.c: include "util.h" for strdup()/ruby_strdup() for

platforms such as NextStep and OpenStep which lack strdup().

456 lines of code changed in:

ntalbott 2003-11-21 23:36

* lib/test/unit/util/backtracefilter.rb: fixed a bug that occurred

when an exception had no backtrace.



* test/testunit/util/test_backtracefilter.rb: ditto.

15 lines of code changed in:

nagai 2003-11-21 08:49

* ext/tk/lib/tkentry.rb: fix the encoding trouble of percent

substitutions on validatecommand option of TkEntry widget

* ext/tk/lib/tk.rb: fix bug on {pack|grid}_propagate() method

19 lines of code changed in:

knu 2003-11-21 08:13

Fix markups and grammar.

50 lines of code changed in:

aamine 2003-11-21 06:49

* ruby.1: wrote about ruby related environment variables.

33 lines of code changed in:

eban 2003-11-21 05:15

2003-11-21

3 lines of code changed in:

nagai 2003-11-20 17:47

* check existence of "pthread.h"

* define is_ruby_native_thread() macro when not HAVE_NATIVETHREAD

18 lines of code changed in:

ntalbott 2003-11-20 16:45

* lib/test/unit/assertions.rb: use #__send__ instead of #send.



* lib/test/unit/testcase.rb: ditto.

11 lines of code changed in:

eban 2003-11-20 11:20

* configure.in: don't find the Cygwin's pthread library on MinGW.

5 lines of code changed in:

aamine 2003-11-20 11:16

* lib/fileutils.rb (have_st_ino?): emx (OS/2 with EMX) does not have st_ino (always 0). [ruby-dev:21972]

* lib/fileutils.rb (rename_cannot_overwrite_file?): emx does not allow overwriting files by rename(2).

* test/fileutils/test_fileutils.rb: windows? -> have_drive_letter?, have_file_perm?

37 lines of code changed in:

eban 2003-11-20 09:57

2003-11-20

3 lines of code changed in: