2003-12-01
4 lines of code changed in:
* lib/mkmf.rb (TRY_LINK, link_command): added support for DLDFLAGS
and ARCH_FLAG. [ruby-dev:22085]
9 lines of code changed in:
* configure.in: should put getcwd in AC_CHECK_FUNCS, not
AC_REPLACE_FUNCS. [ruby-core:01826]
5 lines of code changed in:
* Makefile.in: add ARCH_FLAG to DLDFLAGS.
3 lines of code changed in:
* lib/mkfm.rb (configuration): add ARCH_FLAG to DLDFLAGS.
3 lines of code changed in:
* Makefile.in: add ARCH_FLAG to CFLAGS.
* Makefile.in: add @CPPFLAGS@ to CPPFLAGS.
2 lines of code changed in:
* 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:
* 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:
* ext/tk/lib/tk.rb: bug fix [ruby-talk:86746]
5 lines of code changed in:
* 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:
2003-11-30
3 lines of code changed in:
* string.c (rb_str_update): get rid of SEGV at just allocated String.
[ruby-core:01812]
8 lines of code changed in:
* 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:
fix TupleSpaceProxy#read, read_all
7 lines of code changed in:
ChangeLog: FreeBSD.
1 lines of code changed in:
* test/fileutils/test_fileutils.rb (test_ln_s): should be a file, not
a directory.
8 lines of code changed in:
* test/ruby/test_env.rb (test_has_value, test_index): condition for
aboves.
6 lines of code changed in:
* hash.c (env_has_value, env_index): must match exactly.
8 lines of code changed in:
* test/ruby/test_env.rb: add tests for ENV.
89 lines of code changed in:
lib/drb/drb.rb (DRbMessage#load): rescue Errno::* and raise DRbConnError.
5 lines of code changed in:
re-raise DRbConnError
3 lines of code changed in:
rescue SystemCallError
17 lines of code changed in:
previous change refined.
4 lines of code changed in:
* lib/pathname.rb (Pathname#realpath): obsolete the force_absolute
argument.
10 lines of code changed in:
* 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:
* test/ruby/test_proc.rb (test_arity): added.
39 lines of code changed in:
* eval.c (method_arity): used wrong Proc object. [ruby-talk:86504]
5 lines of code changed in:
2003-11-28
3 lines of code changed in:
* eval.c (rb_f_exit), process.c (rb_f_exit_bang): use VALUEs not but
TYPEs.
8 lines of code changed in:
* 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:
* 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:
win32/win32.c (rb_win32_stat): add "." to buf1 only if it has a drive letter.
1 lines of code changed in:
* 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:
2003-11-27
3 lines of code changed in:
* win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device.
16 lines of code changed in:
* test/fileutils/test_fileutils.rb: should take the existing symbolic
link for OpenBSD.
6 lines of code changed in:
2003-11-26
3 lines of code changed in:
* 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:
* 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:
add reference to ruby-dev.
2 lines of code changed in:
* 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:
* test/fileutils/test_fileutils.rb: do test in more deep directory.
* test/fileutils/test_nowrite.rb: ditto.
20 lines of code changed in:
fix previous change.
2 lines of code changed in:
* lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity test
refined.
18 lines of code changed in:
* 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:
* 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:
* 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:
* 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:
* ruby.h: don't treat Cygwin as Windows.
5 lines of code changed in:
* ext/tcltklib/README.1st: edit.
2 lines of code changed in:
* configure.in: change default value of --enable-pthread (default: no)
6 lines of code changed in:
add document that pathname.rb supports only Unix style pathnames.
1 lines of code changed in:
2003-11-25
3 lines of code changed in:
* parse.y (primary): allow newlines just before right argument
parenthesis. (ruby-bugs:PR#1221)
8 lines of code changed in:
* 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:
* 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:
* 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:
* lib/open-uri.rb: validate option names.
:content_length_proc and :progress_proc option implemented.
127 lines of code changed in:
2003-11-24
3 lines of code changed in:
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
(XCFLAGS): output empty value instead of `-DRUBY_EXPORT'.
8 lines of code changed in:
* configure.in: set enable_pthread to no on MinGW.
5 lines of code changed in:
* configure.in: add --enable-pthread option (default: yes)
42 lines of code changed in:
* 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:
* ext/curses/curses.c (window_nodelay): nodelay() of NetBSD's
libcruses returns no value, just like keypad().
12 lines of code changed in:
* 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:
2003-11-22
3 lines of code changed in:
* lib/fileutils.rb (have_st_ino?): djgpp has valid st_ino.
5 lines of code changed in:
* 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:
* 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:
* 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:
Fix markups and grammar.
50 lines of code changed in:
* ruby.1: wrote about ruby related environment variables.
33 lines of code changed in:
2003-11-21
3 lines of code changed in:
* check existence of "pthread.h"
* define is_ruby_native_thread() macro when not HAVE_NATIVETHREAD
18 lines of code changed in:
* lib/test/unit/assertions.rb: use #__send__ instead of #send.
* lib/test/unit/testcase.rb: ditto.
11 lines of code changed in:
* configure.in: don't find the Cygwin's pthread library on MinGW.
5 lines of code changed in:
* 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:
2003-11-20
3 lines of code changed in:
* ext/tk/sample/tkballoonhelp.rb: new sample script
* ext/tk/sample/tkmultilistbox.rb: ditto
* ext/tk/sample/tktextframe.rb: ditto
865 lines of code changed in:
* ruby.h: define is_ruby_native_thread() for no native thread environment
* eval.c: ditto
13 lines of code changed in:
* configure.in: always check existence of the pthread library
* ruby.h: define macros for ruby's native thread check
* eval.c: add ruby's native thread check
* gc.c: ditto
93 lines of code changed in:
2003-11-19
3 lines of code changed in:
* lib/net/http.rb (to_ary): print more friendly warning message.
5 lines of code changed in:
* lib/fileutils.rb (fu_same?): add djgpp and wince.
* lib/fileutils.rb (cannot_overwrite?): add wince.
12 lines of code changed in:
* lib/fileutils.rb (cannot_overwrite_file?, have_st_ino?): bccwin32
is same as mswin32.
7 lines of code changed in:
* lib/test/unit.rb: do not run tests if $! is set.
* lib/test/unit/assertionfailederror.rb: extend StandardError instead
Exception (irb catches the former but not the latter).
9 lines of code changed in:
* missing/memmove.c (memmove): take void *, not char *.
* missing.h (memmove): ditto.
* missing.h (strchr, strrchr): return char *, not int.
17 lines of code changed in:
* lib/fileutils.rb (fu_same?): temporal fix for windows.
14 lines of code changed in:
MANIFEST: add test/stringio/test_stringio.rb.
1 lines of code changed in:
* lib/fileutils.rb (fu_same?): check by inode instead of path name, to detect two hard links pointing to the same content.
* test/fileutils.rb: did not create correctly looped symlinks.
16 lines of code changed in:
* test/stringio/test_stringio.rb: imported from [ruby-dev:21941].
23 lines of code changed in:
* ext/stringio/stringio.c (strio_read): behave as IO at empty string.
[ruby-dev:21939]
* ext/stringio/stringio.c (strio_getc, strio_getline): set EOF flag.
* ext/stringio/stringio.c (strio_rewind, strio_seek, strio_ungetc):
clear EOF flag.
37 lines of code changed in:
2003-11-18
3 lines of code changed in:
* lib/fileutils.rb (fu_each_src_dest): raise if src==dest. [ruby-talk:85344] [ruby-core:01699]
* lib/fileutils.rb: use Object#is_a? instead of Class#=== to allow e.g. remote objects for receivers.
* lib/fileutils.rb: FileTest -> File.
* lib/fileutils.rb: put parentheses for arguments of File.xxxx?
* test/fileutils/test_fileutils.rb (test_cp): test "cp a a".
* test/fileutils/test_fileutils.rb (test_mv): test "mv a a".
* test/fileutils/test_fileutils.rb (test_ln): test "ln a a".
* test/fileutils/test_fileutils.rb (test_ln_s): test "ln_s a a".
* test/fileutils/test_fileutils.rb (test_install): test "install a a".
* test/fileutils/fileasserts.rb: new method assert_symlink.
* test/fileutils/fileasserts.rb: assert_is_directory -> assert_directory.
175 lines of code changed in:
class XMLRPC::Client:
* added attr_accessor :http_header_extra that can be used to add extra lines in
HTTP header.
* added attr_accessor :cookie - shortcut for setting/getting cookies
* added attr_accressor :http_last_response that holds the last HTTP response.
Usefull when needed to extract information from HTTP header (e.g. cookies,
keep alive...)
35 lines of code changed in:
MANIFEST: add this file:
+lib/test/unit/ui/gtk2/testrunner.rb
1 lines of code changed in:
2003-11-17
3 lines of code changed in:
* lib/optparse.rb (OptionParser::Completion::complete): allow least
common completion for three or more candidates.
16 lines of code changed in:
* lib/test/unit/autorunner.rb (keyword_display): sort keywords.
4 lines of code changed in:
* lib/test/unit/ui/tk/testrunner.rb,
lib/test/unit/ui/gtk/testrunner.rb:
run GUI main loop in sub thread.
* lib/test/unit/ui/gtk2/testrunner.rb: imported from rough.
546 lines of code changed in:
* eval.c (rb_eval): iterator should return value from next inside
begin/rescue/end. (ruby-bugs:PR#1218)
16 lines of code changed in:
2003-11-16
3 lines of code changed in:
* eval.c (eval): prepend error position in evaluating string to
"mesg" attribute string only when it's available and is a
string.
12 lines of code changed in:
* lib/net/protocol.rb: logging response body. [experimental] [ruby-list:38800]
9 lines of code changed in:
* lib/thread.rb (Thread.exclusive): wrap method definition in
class Thread to enable rdoc to process.
17 lines of code changed in:
* lib/net/http.rb (set_debug_output): last commit was wrong.
1 lines of code changed in:
* lib/net/http.rb (set_debug_output): warn if method is called after #start. [ruby-dev:38798]
6 lines of code changed in:
* eval.c (eval): do not re-raise exception to avoid unnecessary
exception copying, instead modify exception and internal
information to adjust eval().
* eval.c (backtrace): can return the current frame information
only if lev < -1.
79 lines of code changed in:
* /ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext):
refine error message.
10 lines of code changed in:
2003-11-15
3 lines of code changed in:
* lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open):
refactored to support options.
(Buffer): maintain size by this class.
25 lines of code changed in:
* hash.c: remove unnecessary update.
0 lines of code changed in:
* eval.c (rb_method_node): new API to retrieve method body.
27 lines of code changed in:
2003-11-14
3 lines of code changed in:
* ext/tcltklib/tcltklib.c: fix (en-bugged at 2003/11/07)
* ext/tk/lib/tkdialog.rb: TkDialog.new accepts the parent widget [ruby-talk:85066]
21 lines of code changed in:
inconsistency of the arguments for respond_to? in previous change is fixed.
2 lines of code changed in:
Merge the patch of [ruby-ext:02242]. (Thanks, Masahiro Sakai)
2 lines of code changed in:
* lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed.
[ruby-ext:02251]
25 lines of code changed in:
* lib/test/unit/ui/tk/testrunner.rb: use grid and panedwindow (if available)
51 lines of code changed in:
* lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY.
reported by Take_tk <ggb03124@nifty.ne.jp>.
6 lines of code changed in:
* ext/openssl/ossl_x509req.c (ossl_x509req_to_der): add function for
X509::Request#to_der.
26 lines of code changed in:
2003-11-13
3 lines of code changed in:
* lib/optparse.rb (OptionParser::Completion#complete): prior shorter
name to containing longer name.
24 lines of code changed in:
* ext/tk/lib/tk.rb,multi-tk.rb: stop freezing some classes
16 lines of code changed in:
* lib/test/unit/assertions.rb (assert_throws, assert_nothing_thrown):
uncaught throw in sub thread raises ThreadError.
* lib/test/unit/ui/tk/testrunner.rb (setup_ui): "expand" is not
necessary.
23 lines of code changed in:
* test/monitor/test_monitor.rb: fix the timing problem by Queue.
51 lines of code changed in:
* test/monitor/test_monitor.rb: added.
149 lines of code changed in:
2003-11-12
3 lines of code changed in:
* lib/monitor.rb: refactored. Thanks, Gennady Bystritsky.
86 lines of code changed in:
* ext/openssl/ossl.c (ossl_x509_sk2ary, ossl_x509crl_sk2ary): add
functions to convert STACK into Array.
* ext/openssl/ossl.h: add prototypes.
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_set_certificates,
ossl_pkcs7_get_certificates, ossl_pkcs7_get_crls,
ossl_pkcs7_set_crls): add functions for PKCS7#certificates=
PKCS7#certificates, PKCS7#crls= and PKCS7#crls.
99 lines of code changed in:
* lib/test/unit/ui/testrunnermediator.rb: should require 'test/unit'.
5 lines of code changed in:
* lib/test/unit/ui/gtk/testrunner.rb: added a rescue clause to handle
the case when the requested font is not available.
8 lines of code changed in:
* io.c (appendline): file may not end with newline. a bug if
READ_DATA_PENDING_PTR is defined. [ruby-talk:84925]
16 lines of code changed in:
fixed CDATA parsing for XMLScanParser and REXMLStreamParser
5 lines of code changed in:
2003-11-11
3 lines of code changed in:
* ext/tk/lib/tk.rb: raise an exception when creating TkWindow
object, because TkWindow class is an abstract class.
7 lines of code changed in:
* lib/ext/openssl/ossl_conf.c (ossl_config_get_value): return nil
if the specified value doesn't exist.
* lib/ext/openssl/ossl_conf.c (ossl_config_get_section): return
a empty hash if the specified section doesn't exist.
15 lines of code changed in:
* lib/monitor.rb (wait): return true on signal/broadcastfalse and
false on timeout. Thanks Gennady Bystritsky.
7 lines of code changed in:
2003-11-10
3 lines of code changed in:
* parse.y (primary): primary_value may be 0 when syntax error.
[ruby-talk:84893]
9 lines of code changed in:
* lib/test/unit/assertions.rb: un-deprecated #assert_not_nil to
maintain symmetry with #assert_nil. Also added better output for
#assert_kind_of.
* test/testunit/tc_assertions.rb: ditto.
18 lines of code changed in:
Bugfix for DL::Types::encode_type.
9 lines of code changed in:
* ext/dl/sym.c: typo fix(lasterror -> last_error).
2 lines of code changed in:
* MANIFEST: added these files:
+test/wsdl/raa/RAA.rb
+test/wsdl/raa/README.txt
+test/wsdl/raa/raa.wsdl
+test/wsdl/raa/server.rb
+test/wsdl/raa/test_raa.rb
5 lines of code changed in:
* test/wsdl/raa/*: add new testcase for WSDL loading, parsing and reading.
* test/soap/marshal/*: backport from soap4r/1.5.1. all differences are for
ruby/1.6.
* lib/soap/*: backport from soap4r/1.5.1. all differences are for ruby/1.6.
* lib/wsdl/data.rb, lib/wsdl/xmlSchema/data.rb: move definition of
ArrayTypeAttrName from ::WSDL::XMLSchema::* to ::WSDL::*. [ruby-talk:84813]
* lib/wsdl/soap/definitions.rb: element name typo in custom exception struct
definition which is needed for wsdlDriver; camelCase -> underscore_name.
815 lines of code changed in:
2003-11-08
3 lines of code changed in:
* configure.in: improvement of pthread check
48 lines of code changed in:
Add DL.win32_last_error and DL.last_error.
73 lines of code changed in:
* ext/tcltklib/tcltklib.c: To fix 'pthread-enabled Tcl/Tk' problem,
TclTkIp#_eval calls Tcl_Eval() on the mainloop thread only
(queueing a handler to the EventQueue).
234 lines of code changed in:
(Pathname#parent): if self is `.', return `..'.
(Pathname#children): if self is `.', don't prepend self for a
pathname in a result.
(Pathname#join): re-implemented using Pathname#+.
(Pathname#find): if self is `.', remove `./' prefix of yielding
pathname.
51 lines of code changed in:
Minor documentation fix.
2 lines of code changed in:
lib/pathname.rb (Pathname#+): if self or the argument is `.', return another.
13 lines of code changed in:
* lib/pathname.rb (Pathname#+): return the argument if self is `.'.
8 lines of code changed in:
2003-11-07
3 lines of code changed in:
* ext/socket/socket.c (make_hostent): get rid of SEGV on aliases
lookup failure. (ruby-bugs:PR#1215)
18 lines of code changed in:
* ext/zlib/zlib.c (Init_zlib): define Zlib::GzipReader#each_line as an alias of Zlib::GzipReader#each.
6 lines of code changed in:
* eval.c (rb_load): save and restore rb_prohibit_interrupt.
[ruby-dev:21857]
7 lines of code changed in:
* MANIFEST: add these files:
+test/optparse/test_noarg.rb
+test/optparse/test_optarg.rb
+test/optparse/test_optparse.rb
+test/optparse/test_placearg.rb
+test/optparse/test_reqarg.rb
5 lines of code changed in:
* io.c (rb_io_inspect): show the path also at a closed file.
[ruby-dev:21851]
15 lines of code changed in:
* eval.c (rb_load): allow interrupt during loaded program
evaluation. [ruby-dev:21834]
* hash.c (rb_hash_fetch): always warn if default argument and a
block are supplied at the same time. [ruby-dev:21842]
* hash.c (env_fetch): ditto.
* array.c (rb_ary_fetch): ditto.
278 lines of code changed in:
* win32/win32.c (make_cmdvector): process backslashes even if a quote
is not enclosed.
5 lines of code changed in:
2003-11-06
3 lines of code changed in:
* lib/optparse.rb (OptionParser::Completion#complete): default not to
ignore case on completion. [ruby-talk:84726]
16 lines of code changed in:
* ext/stringio/stringio.c (strio_set_string, strio_reopen): check
tainted.
* ext/stringio/stringio.c (strio_copy, strio_ungetc, strio_write,
strio_putc): add infection.
* ext/stringio/stringio.c (strio_path): just nil. [ruby-dev:21846]
* ruby.c (proc_options): reserve searched script path in the
source file name table. [ruby-list:38765]
26 lines of code changed in:
* sample/openssl/gen_csr.rb: there (at least) is a CA which does not accept DN
in UTF8STRING format. it's a sample.
9 lines of code changed in:
configure.in, eval.c, signal.c: : add '--with-pthread-ext' option
to fix the pthread trouble on 'tcltklib'
ext/tcltklib/README.1st: add the description of '--with-pthread-ext'
ext/tk/lib/tktext.rb : add TkText#text_copy, text_cut, text_paste to
support Tcl/Tk8.4's tk_textCopy, tk_textCut, tk_textPaste
ext/tk/lib/tk.rb : add TkMenu#set_focus support Tcl/Tk's tk_menuSetFocus
140 lines of code changed in:
* lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse):
do not remove next argument if empty value is placed.
* test/optparse: added.
263 lines of code changed in:
* lib/test/unit/ui/gtk/testrunner.rb: typo.
8 lines of code changed in:
2003-11-05
3 lines of code changed in:
* string.c: add #include "version.h". this file still depends on it.
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
wince/Makefile.sub: add version.h dependency to string.c.
14 lines of code changed in:
* Makefile.in: remove needless version.h dependency.
3 lines of code changed in:
* lib/monitor.rb: revert to the previous revision.
17 lines of code changed in:
* lib/webrick/https.rb (HTTPRequest#parse): set @client_cert_chain.
* lib/webrick/https.rb (HTTPRequest#meta_vars): create
SSL_CLIENT_CERT_CHAIN_n from @client_cert_chain.
* ext/openssl/ossl_ssl.c (ossl_ssl_get_peer_cert_chain): return nil
if no cert-chain was given.
17 lines of code changed in:
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
remove needless version.h dependency.
14 lines of code changed in:
* class.c, hash.c, string.c: remove #include "version.h".
* Makefile.in: remove needless version.h dependency.
6 lines of code changed in:
typo
1 lines of code changed in:
2003-11-04
3 lines of code changed in:
* io.c (read_all): fptr->f may be NULL, if IO is closed in the
signal handler.
* io.c (io_read): ditto.
* string.c (get_pat): remove 1.8.0 warning code.
* string.c (rb_str_match): extend warning until 1.8.2.
* string.c (rb_str_match2): ditto.
* class.c (class_instance_method_list): remove 1.8.0 warnings.
method_list now recurs. [ruby-dev:21816]
* class.c (rb_obj_singleton_methods): ditto.
* array.c (rb_ary_select): remove select with block.
[ruby-dev:21824]
* hash.c (rb_hash_select): ditto.
* hash.c (env_select): ditto.
* re.c (match_select): ditto.
* struct.c (rb_struct_select): ditto.
* process.c (check_uid_switch): remove duplicated error messages.
* process.c (check_gid_switch): ditto.
92 lines of code changed in:
2003-11-03
3 lines of code changed in:
* lib/racc/parser.rb: synchronize with Racc 1.4.4.
* ext/racc/cparse/cparse.c: ditto.
* ext/racc/cparse/cparse.c (parse_main): should abort when the length of LR state stack <=1, not ==0.
270 lines of code changed in:
* lib/webrick/ssl.rb: new option :SSLExtraChainCert.
7 lines of code changed in:
2003-11-02
3 lines of code changed in:
* string.c (rb_str_hash): Update the HASH_PERL alternative hash
algorithm in sync with Perl 5.8.
* st.c (strhash): Ditto.
19 lines of code changed in:
#include <sys/time.h> wasn't actually needed for ruby 1.8 as missing.h
takes care of it.
0 lines of code changed in:
* ext/openssl/ossl_ssl.c (ossl_ssl_peer_cert_chain): add new method
SSLSocket#peer_cert_chain.
* ext/openssl/ossl_x509req.c (GetX509ReqPtr): new function
which returns underlying X509_REQ.
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_issuer_cert,
ossl_x509extfactory_set_subject_cert, ossl_x509extfactory_set_crl,
ossl_x509extfactory_set_subject_req, ossl_x509extfactory_set_config):
use underlying C struct without duplication not to leak momory.
55 lines of code changed in:
#include <sys/time.h> is needed for struct timeval.
6 lines of code changed in: