summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2003-11-27eban2003-11-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device.eban2003-11-272-14/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: should take the existing symboliceban2003-11-262-1/+6
| | | | | | | link for OpenBSD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-26eban2003-11-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/token.c: removed YYTOKTMP references whichwhy2003-11-256-91/+144
| | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpresponse.rb: add HTTPResponse#keep_alive=.gotoyuzo2003-11-253-1/+10
| | | | | | | | * lib/webrick/httpserver.rb (HTTPServer#run): should pass the request's keep_alive flag to the response. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add reference to ruby-dev.usa2003-11-251-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h (ENV_IGNORECASE): should define when DOSISH withoutusa2003-11-253-9/+8
| | | | | | | | | human68k. * hash.c (env_has_value, env_index): don't ignore case of value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: do test in more deep directory.aamine2003-11-253-9/+20
| | | | | | | * test/fileutils/test_nowrite.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous change.akr2003-11-252-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity testakr2003-11-252-3/+18
| | | | | | | refined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: chdir Dir.tmpdir before each test. ↵aamine2003-11-253-2/+17
| | | | | | | | | [ruby-dev:22045] * test/fileutils/test_nowrite.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::Generic#find_proxy): use http_proxy under CGIakr2003-11-252-7/+31
| | | | | | | if the environment variable is case sensitive. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: removed. thisnahi2003-11-254-109/+5
| | | | | | | test requires extra libraries in soap4r/1.5.*. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/**/*.rb, lib/wsdl/**/*.rb, lib/xsd/**/*.rb: changed license; GPL2 ↵nahi2003-11-2598-1599/+1061
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: don't treat Cygwin as Windows.eban2003-11-252-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/README.1st: edit.nagai2003-11-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: change default value of --enable-pthread (default: no)nagai2003-11-252-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add document that pathname.rb supports only Unix style pathnames.akr2003-11-251-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-25nobu2003-11-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): allow newlines just before right argumentnobu2003-11-242-3/+8
| | | | | | | parenthesis. (ruby-bugs:PR#1221) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_loop, URI::HTTP#proxy_open): useakr2003-11-242-23/+37
| | | | | | | | catch/throw for redirection instead of exception. (OpenURI.open_loop, OpenURI.redirectable?): restrict redirection. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::Generic#find_proxy): use CGI_HTTP_PROXYakr2003-11-242-2/+15
| | | | | | | instead of HTTP_PROXY in the CGI environment. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/extconf.rb: check for pw_passwd in struct passwd andeban2003-11-244-3/+18
| | | | | | | | | | | gr_passwd in struct group for DJGPP. * ext/etc/etc.c: ditto. * ext/Setup.dj: support for curses, etc, zlib. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: validate option names.akr2003-11-242-8/+127
| | | | | | | :content_length_proc and :progress_proc option implemented. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-24usa2003-11-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-11-244-3/+8
| | | | | | | (XCFLAGS): output empty value instead of `-DRUBY_EXPORT'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set enable_pthread to no on MinGW.eban2003-11-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add --enable-pthread option (default: yes)nagai2003-11-222-32/+42
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.grab_release and fix bug of TkCompositenagai2003-11-226-4/+438
| | | | | | | | | * ext/tk/lib/tkafter.rb: bug fix * ext/tk/sample/tkcombobox.rb: new sample script * ext/tcltklib/tcltklib.c: add native thread check git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (window_nodelay): nodelay() of NetBSD'susa2003-11-222-1/+12
| | | | | | | libcruses returns no value, just like keypad(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-11-224-0/+14
| | | | | | | | | | (HAVE_GETCWD): output to config.h. * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub (XCFLAGS): output to config.status. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-22eban2003-11-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (have_st_ino?): djgpp has valid st_ino.aamine2003-11-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (Init_stack): stack region is far smaller than usual ifmatz2003-11-2228-134/+456
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/util/backtracefilter.rb: fixed a bug that occurredntalbott2003-11-213-4/+15
| | | | | | | | | when an exception had no backtrace. * test/testunit/util/test_backtracefilter.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkentry.rb: fix the encoding trouble of percentnagai2003-11-213-5/+19
| | | | | | | | substitutions on validatecommand option of TkEntry widget * ext/tk/lib/tk.rb: fix bug on {pack|grid}_propagate() method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix markups and grammar.knu2003-11-212-32/+50
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.1: wrote about ruby related environment variables.aamine2003-11-212-0/+33
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-21eban2003-11-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * check existence of "pthread.h"nagai2003-11-204-7/+18
| | | | | | | * define is_ruby_native_thread() macro when not HAVE_NATIVETHREAD git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: use #__send__ instead of #send.ntalbott2003-11-203-5/+11
| | | | | | | * lib/test/unit/testcase.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: don't find the Cygwin's pthread library on MinGW.eban2003-11-202-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (have_st_ino?): emx (OS/2 with EMX) does not have st_ino ↵aamine2003-11-203-21/+37
| | | | | | | | | | (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? git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-20eban2003-11-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkballoonhelp.rb: new sample scriptnagai2003-11-205-0/+865
| | | | | | | | * ext/tk/sample/tkmultilistbox.rb: ditto * ext/tk/sample/tktextframe.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: define is_ruby_native_thread() for no native thread environmentnagai2003-11-203-3/+13
| | | | | | | * eval.c: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: always check existence of the pthread librarynagai2003-11-205-83/+93
| | | | | | | | | * ruby.h: define macros for ruby's native thread check * eval.c: add ruby's native thread check * gc.c: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-19eban2003-11-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (to_ary): print more friendly warning message.aamine2003-11-192-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e