* lib/pathname.rb: Corrected small coding error.
7 lines of code changed in:
* lib/pathname.rb: Completed documentation.
270 lines of code changed in:
Make file in '// in sss.c' relative
8 lines of code changed in:
Fix problem with private alias to public method
13 lines of code changed in:
* io.c (rb_f_readline): should raise EOFError at the end of
files. [ruby-dev:22458]
* io.c (argf_read): should concatenate input files when length
argument is nil. [ruby-dev:22450]
* io.c (argf_read): should update supplied string buffer (2nd
argument) even when IO#read is called multiple times.
* io.c: should initialize lineno by zero. [ruby-dev:22460]
29 lines of code changed in:
2003-12-31
3 lines of code changed in:
Add RDoc for kernel functions, and tidy up
646 lines of code changed in:
Re-applied revision 1.21 as its changes were lost on the way to 1.22
2 lines of code changed in:
2003-12-30
3 lines of code changed in:
Fix problem when class and method names the same
24 lines of code changed in:
Fix HTML generated for .chm post-processing
1 lines of code changed in:
Fix parse problem with complex yields
12 lines of code changed in:
* lib/pathname.rb: Added documentation.
190 lines of code changed in:
* lib/net/http.rb (GenericRequest#initialize): check if path begins with '/'.
* lib/net/http.rb: def m( arg ) -> def m(arg)
142 lines of code changed in:
Add RDoc for Kernel global functions, tidy array and error
1108 lines of code changed in:
Tidy array.c RDoc
37 lines of code changed in:
RDoc Struct and random
282 lines of code changed in:
* lib/optparse.rb: Improved documentation.
260 lines of code changed in:
forgot ML pointer.
1 lines of code changed in:
2003-12-29
3 lines of code changed in:
* instruby.rb: fix install directory if destdir and compile_dir are
not in the same drive.
* ext/extmk.rb: ditto.
* win32/Makefile.sub, win32/README.win32, win32/configure.bat,
win32/setup.mak: new configure scheme. use ``configure --prefix=dir''
instead of ``nmake DESTDIR=dir install''.
49 lines of code changed in:
RDoc comments for Proc, Method, and UnboundMethod
376 lines of code changed in:
Add RDoc comments to math.c
188 lines of code changed in:
* ext/stringio/stringio.c (strio_sysread): StringIO.new.sysread didn't
raise EOFError.
10 lines of code changed in:
Add RDoc documentation for stuff in object.c
1261 lines of code changed in:
2003-12-28
3 lines of code changed in:
* test/csv/test_csv.rb: generate bom.csv and mac.csv files on the fly.
[ruby-talk:88852]
* test/csv/{bom.csv,mac.csv}: removed.
19 lines of code changed in:
Thread/ThradGroup RDoc
605 lines of code changed in:
Fix quoting of method names in regexp
7 lines of code changed in:
Add support for rules in ri output
11 lines of code changed in:
Add "Document-method:" capability
48 lines of code changed in:
RDoc comments added by Elliott Hughes
144 lines of code changed in:
Some Ruby source uses Init_xxx (lower case for the class name)
9 lines of code changed in:
* configure.in: fix "test: too many arguments" error.
10 lines of code changed in:
Add RDoc comments for Time
485 lines of code changed in:
RDoc comments for Symbol
135 lines of code changed in:
Add RDoc comments
360 lines of code changed in:
Added RDoc for class IO
819 lines of code changed in:
2003-12-27
3 lines of code changed in:
* io.c (next_argv): warn always for stdin on inplace edit mode.
* io.c (read_all): need to check string value.
* io.c (argf_read): allow ARGF.read(nil). [ruby-dev:22433]
36 lines of code changed in:
MG added RDoc comments for re.c
419 lines of code changed in:
* io.c (rb_f_backquote): need not to check nil result.
[ruby-core:02078]
* io.c (rb_io_getline): should return nil on eof, even when nil rs is
specified. [ruby-core:02077]
* pack.c (pack_pack): add sign check for 'i', and 'l'.
[ruby-dev:22427]
* bignum.c (rb_quad_pack): add range check for 'quad int'.
41 lines of code changed in:
* configure.in: check if getcontext and setcontext are available.
* eval.c: use presence of getcontext/setcontext.
38 lines of code changed in:
lib/pathname.rb (PathnameTest#test_plus): add 2 assertions.
6 lines of code changed in:
* test/ruby/test_pack.rb: new test test_pack_N.
16 lines of code changed in:
2003-12-26
3 lines of code changed in:
* MANIFEST: add vms/config.h and remove vms/config.h_in.
6 lines of code changed in:
[VMS] "rfm=stmlf" is specified for open() and fopen().
10 lines of code changed in:
config.h_in has been renamed to config.h
120 lines of code changed in:
add __FAST_SETJMP macro to support threads on VMS
7 lines of code changed in:
Fix problem with rule calculation
2 lines of code changed in:
* string.c (rb_str_update): don't return any value.
5 lines of code changed in:
* string.c (rb_str_update): call rb_str_modify().
24 lines of code changed in:
2003-12-25
4 lines of code changed in:
MG added RDoc comments to string.c
1145 lines of code changed in:
* eval.c (search_required): search actual file name once when no
extension specified.
14 lines of code changed in:
* configure.in: check for nanosleep, -lrt if required.
[ruby-core:02059]
* eval.c (thread_timer): use select(2) if nanosleep(2) is not
available.
* eval.c: check __stub_getcontext for glibc on some platforms.
[ruby-list:38984]
26 lines of code changed in:
Fix bug where two adjacent =begin/=end blocks causes the parser to get out of step.
7 lines of code changed in:
* stable version 1.8.1 released.
13 lines of code changed in:
* test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb
test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0"
to express -0.0. [ruby-talk:88786]
15 lines of code changed in:
* lib/tsort.rb (test_orphaned_break): removed.
4 lines of code changed in:
* ext/tk/sample/tkmulticolumnlist.rb: new sample
* ext/tk/sample/tkmultilistframe.rb: bug fix
761 lines of code changed in:
* configure.in (LDSHARED): Fixed typographical error in assignment of
LDSHARED for Rhapsody which caused linking of extension modules to
fail.
7 lines of code changed in:
* eval.c (catch_timer): do not call rb_thread_schedule() inside to
avoid pthread_mutex_lock() deadlock. interrupts to system calls
are detected by TRAP_END via EINTR error.
* eval.c (thread_timer): do not post signal unless it is
absolutely necessary.
* rubysig.h (TRAP_END): add CHECK_INTS to switch thread.
* regex.c (re_compile_pattern): check if nextp is smaller than
pend. [ruby-dev:22372]
* eval.c (umethod_bind): remove method overridden check.
[ruby-dev:22366]
54 lines of code changed in:
* ext/openssl/ossl_ssl.c (ossl_ssl_read): should check for error
status by SSL_get_error().
* ext/openssl/ossl_ssl.c (ossl_ssl_write): ditto.
38 lines of code changed in:
* ext/stringio/stringio.c (strio_read): clear the buffer argument
when returning nil. [ruby-dev:22363]
* test/ruby/ut_eof.rb (TestEOF::test_eof_0, TestEOF::test_eof_1):
add buffer argument tests.
30 lines of code changed in:
* lib/test/unit/assertions.rb: Modules are allowed to rescue.
* lib/test/unit/autorunner.rb: show output_level in order.
* lib/test/unit/collector/dir.rb: get rid of successive same
directories in load path.
* test/testunit/test_assertions.rb (test_assert_nothing_raised,
test_assert_raise): test for modules.
68 lines of code changed in:
* MANIFEST:
Added file:
ruby/lib/rdoc/generators/template/html/old_html.rb
Removed file:
ruby/lib/rdoc/generators/template/html/css2.rb
7 lines of code changed in:
* lib/net/imap.rb (authenticate): remove "\n" from base64 encoded
strings.
6 lines of code changed in:
Michael Granger added RDoc for range.c
184 lines of code changed in:
Forgot to save buffer.... sigh
1717 lines of code changed in:
* test/fileutils/test_fileutils.rb: should not create any
files or directories in current directory. [ruby-talk:88724]
18 lines of code changed in:
* ext/stringio/stringio.c (strio_read): never return nil at
unlimited read. [ruby-dev:22334]
* ext/stringio/stringio.c (strio_read): support second
argument. [ruby-dev:22350]
30 lines of code changed in:
2003-12-24
3 lines of code changed in:
* parse.y (arg): should return 0 after error. [ruby-dev:22360]
7 lines of code changed in:
Fix doc typos
3 lines of code changed in:
* io.c (read_all): do not return nil at the end of file.
[ruby-dev:22334]
* io.c (argf_read): do not depend on nil at eof behavior of
IO#read().
* eval.c (rb_thread_join): dup exception before re-raising it.
* io.c (rb_io_eof): call clearerr() to prevent side effect. this
patch is supplied by Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>.
[ruby-dev:22234]
* pack.c (OFF16): get offset for big endian machines.
* pack.c (pack_pack): use OFF16 instead of OFF16B.
[ruby-dev:22344]
* pack.c (pack_unpack): ditto.
69 lines of code changed in:
RDoc comments for Fixnum, Float, and Hash. Add heuristic to RDoc to handle yaml/stringio
1174 lines of code changed in:
* lib/optparse.rb: incomplete RDoc documentation added in place of
existing RD comments. Tabs converted to spaces.
406 lines of code changed in:
2003-12-23
3 lines of code changed in:
* test/soap/test_streamhandler.rb (test_basic_auth): removed.
soap4r + basic_auth is not officially supported in ruby/1.8.1 even
though soap4r + basic_auth + http-access2 should run fine.
9 lines of code changed in:
* io.c (rb_io_ungetc): raise an exception at unread stream to
avoid unspecified behavior. [ruby-dev:22330]
* test/ruby/test_system.rb (test_syntax): glob relatively from
__FILE__.
15 lines of code changed in:
Commit miss?
1 lines of code changed in:
* pack.c (pack_pack): remove unnecessary negative value check.
[ruby-dev:22329]
* io.c (rb_io_ungetc): need fflush before ungetc if write buffer
is filled. [ruby-dev:22330]
18 lines of code changed in:
* bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]
5 lines of code changed in:
* lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]
* test/ruby/test_system.rb: num of asserts depended on running dir.
* test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot
handle euc-jp. install iconv, uconv or xmlscan.
18 lines of code changed in:
* lib/uri/generic.rb (URI::Generic::check_userinfo,
URI::Generic::check_user, URI::Generic::check_password): tests
conflicts/depends with other components closely.
* test/uri/test_generic.rb (TestGeneric::test_set_component):
added tets.
37 lines of code changed in:
* test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.
"euc-jp" might not be in supported encoding name list.
[ruby-talk:88650]
12 lines of code changed in:
* lib/webrick/cgi.rb (CGI): add support for mod_ruby.
* lib/webrick/cgi.rb (CGI::Socket): add check for existence of
OpenSSL module in all HTTPS related methods.
* lib/webrick/cgi.rb (CGI::Socket#cipher): should create similar
value to OpenSSL::SSLSocket#cipher.
* lib/webrick/httpresponse.rb (HTTPResponse#setup_header): should
set "connection: close" if @keep_alive is false.
* lib/webrick/https.rb (HTTPrequest#meta_vars): add supprt for
SSL_PROTOCOL, SSL_CIPHER_USEKEYSIZE and SSL_CIPHER_ALGKEYSIZE.
102 lines of code changed in:
* lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
5 lines of code changed in:
* ext/iconv/iconv.c (map_charset): always ensure code is a String.
5 lines of code changed in:
* class.c (rb_mod_init_copy): always copy singleton class.
[ruby-dev:22325]
10 lines of code changed in:
* lib/uri/generic.rb (URI::Generic#route_from): accepts urls which
has no host-part.
* test/uri/test_generic.rb (TestGeneric::test_route): added a test.
11 lines of code changed in:
* lib/cgi.rb: reduce eval.
* lib/cgi.rb (CGI::QueryExtension::read_multipart): alias path to
local_path. [ruby-list:38883]
49 lines of code changed in:
* test/soap/test_property.rb: remove duplicated test method.
4 lines of code changed in:
* eval.c (rb_with_disable_interrupt): use ENABLE_INTS instead of
ALLOW_INTS which may switch context. [ruby-dev:22319]
17 lines of code changed in:
* bcc32/Makefile.sub, win32/Makefile.sub (config.h): remove
HAVE_ISINF definition to follow previous commits of missing.h
and win32/win32.h.
6 lines of code changed in:
* configure.in (ac_cv_func_setitimer): moved from defines.h
* defines.h, rubysig.h, signal.c: removed macro handling which
should be done in configure.
* configure.in (intrinsics.h): check if present.
* ruby.h: include intrinsics.h if available.
* bignum.c, marshal.c: include ieeefp.h if available.
* missing.h (isinf): define as a macro if finite() and isnan()
are available. [ruby-core:02032]
43 lines of code changed in:
* configure.in (mingw): set isnan, finite and isinf to yes.
7 lines of code changed in:
Add RDoc comments
150 lines of code changed in:
2003-12-22
3 lines of code changed in:
* lib/soap/property.rb: passing block by reference.
12 lines of code changed in:
* ext/syck/emitter.c (syck_emitter_write): str bigger than
e->bufsize causes buffer overflow. [ruby-dev:22307]
17 lines of code changed in:
* missing/isinf.c (isinf): typo fix.
1 lines of code changed in:
2003-12-21
3 lines of code changed in:
* class.c (rb_check_inheritable): new function. [ruby-dev:22316]
* intern.h: add prototype.
* eval.c (superclass): use rb_check_inheritable().
* object.c (rb_class_initialize): check argument validity.
28 lines of code changed in:
lib/pathname.rb (Pathname#+): re-implemented to resolve ".." in
beginning of the argument.
(Pathname#join): concatenate from the last argument.
(Pathname#parent): just use Pathname#+.
68 lines of code changed in:
Add file.c comments (and necessary support in parse_c.rb)
1564 lines of code changed in:
dln.c: remove last second typo.
17 lines of code changed in:
* eval.c (rb_with_disable_interrupt): prohibit thread context
switch during proc execution. [ruby-dev:21899]
53 lines of code changed in:
* forgot to add a changelog entry
6 lines of code changed in:
* ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)
* ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method
78 lines of code changed in:
* lib/webrick/httprequest.rb (HTTPRequest#meta_vars): refine regexp.
* lib/webrick/cgi.rb (CGI#start): NPH scripts return status line
instead of Status: header field.
* lib/webrick/cgi.rb (CGI::Socket): refine some coditions.
22 lines of code changed in:
* lib/optparse.rb (OptionParser::Completion::complete): wrong
Regexp for word boundary. pointed out by Gavin Sinclair.
* lib/optparse.rb (OptionParser::make_switch): [no-] prefix was
missing.
10 lines of code changed in:
* lib/yaml.rb (YAML::YAML): adjust Marshal version.
13 lines of code changed in:
get rid of unusable condition
1 lines of code changed in:
* lib/webrick/cgi.rb: add file. (yet another CGI library)
* MANIFEST: add lib/webrick/cgi.rb.
208 lines of code changed in:
2003-12-20
3 lines of code changed in:
* misc/ruby-mode.el (ruby-calculate-indent): proper indentation
inside of parentheses. [ruby-dev:22308]
* hash.c (delete_if_i): do not use ST_DELETE for thread safety.
[ruby-dev:21899] (not fully solved)
66 lines of code changed in:
Document Class and Dir
421 lines of code changed in:
* lib/webrick/httprequest.rb (meta_vers): should not set
HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH.
* lib/webrick/https.rb (HTTPRequest#parse): should check presence
of cert() method to detect SSLSocket.
12 lines of code changed in:
* lib/soap/property.rb (SOAP::Property#load): new method for loading
property value into existing property tree.
* test/soap/test_property.rb: add test.
154 lines of code changed in:
* lib/runit/cui/testrunner.rb (RUNIT::CUI::TestRunner::run):
should use Test::Unit::UI::{PROGRESS_ONLY,VERBOSE}.
6 lines of code changed in:
* ext/tk/sample/tkmultilistbox.rb: bug fix
* ext/tk/sample/tkmultilistframe.rb: new sample script
923 lines of code changed in:
2003-12-19
3 lines of code changed in:
Add boot_classes to rdoc parsing, fix a couple of bugs
191 lines of code changed in:
Fix dependency issue
295 lines of code changed in:
Annotate enum.c. Add pager support, and report on methods in included modules
692 lines of code changed in:
* lib/webrick/httputils.rb (parse_form_data): should return an
empty Hash if the body is empty.
6 lines of code changed in:
* eval.c (stack_extend): ignore inline optimization on VC7.
* win32/Makefile.sub (OS, RT): can override.
* win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none
option. based on Tietew's patch [ruby-dev:22289]
* lib/mkmf.rb (create_makefile): should remove deffile if it's
made by miniruby. based on nobu's patch.
43 lines of code changed in:
* dir.c (fnmatch): unlike find_dirsep(), rb_path_next() never
return NULL.
9 lines of code changed in:
lib/ipaddr.rb (initialize): rescue StandardError.
1 lines of code changed in:
2003-12-18
3 lines of code changed in:
* lib/ipaddr.rb (IPSocket::getaddress): merge usa's patch.
[ruby-dev:21678]
58 lines of code changed in:
* bug fix
3 lines of code changed in:
* lib/cgi.rb (CGI::QueryExtension::Value::[]): should work like
String#[] if more than one arguments are specified.
* lib/delegate.rb: avoid using common instance name as "@obj".
* lib/cgi.rb (CGI::QueryExtension::Value): Value is no longer
subclass of String, but DelegateClass(String).
* ext/curses/extconf.rb: restore function check for init_color.
[ruby-list:38905]
* Makefile.in: need to specify $(MAINLIBS) for the miniruby
generation rule.
* configure.in: better FreeBSD -lc_r support.
53 lines of code changed in:
Add pager support to ri, and start implementing command line options
211 lines of code changed in:
2003-12-17
3 lines of code changed in:
commit miss
2 lines of code changed in:
Put RDoc comments into array.c, and refine rdoc/ri to deal with stuff that arose
1005 lines of code changed in:
introduce some new methods
* ext/strscan/strscan.c: new method StringScanner#beginning_of_line? (alias #bol?)
* ext/strscan/strscan.c: new method StringScanner#concat and #<<.
* ext/strscan/strscan.c: StringScanner#new(str) does not duplicate nor freeze STR (allow destructive modification).
* test/strscan/test_stringscanner.rb: test new methods above.
* test/strscan/test_stringscanner.rb: test destructive string modification.
173 lines of code changed in:
* lib/pp.rb: don't use local variable `pp'.
* lib/prettyprint.rb: ditto.
194 lines of code changed in:
Initial load of support for ri/rdoc integration
1203 lines of code changed in:
* condition bug of if statement on {pack,grid}_propagate methods
14 lines of code changed in:
2003-12-16
3 lines of code changed in:
* lib/yaml/rubytypes.rb: comments in strings. [ruby-talk:88012]
* test/yaml/test_yaml.rb: add test.
14 lines of code changed in:
* eval.c (catch_timer): check rb_thread_crtical in main native
thread.
* eval.c (thread_timer): just sends signals periodically, to
prevent main native thread from receiving them in critical
section. [ruby-core:01959]
26 lines of code changed in:
* file.c: renamed and externalized rb_path_next,
rb_path_skip_prefix, rb_path_last_separator, rb_path_end.
7 lines of code changed in:
2003-12-15
3 lines of code changed in:
commit miss
2 lines of code changed in:
* dir.c (check_dirname): check string safety and remove extraneous
trailing directory separators. [ruby-dev:22279]
* file.c: extern rb_path_next, rb_path_skip_prefix,
rb_path_last_separator, rb_path_end.
* intern.h: prototypes for rb_path_next, rb_path_skip_prefix,
rb_path_last_separator, rb_path_end.
44 lines of code changed in:
* ext/openssl/ossl_pkcs12.c (ossl_pkcs12_initialize): first argument
of rb_protect should take an argument of VALUE.
10 lines of code changed in:
* descrictive warning message.
1 lines of code changed in:
2003-12-14
3 lines of code changed in:
* ext/socket/socket.c (Init_socket): IPv6 is not supported although
AF_INET6 is defined on MinGW.
* lib/ipaddr.rb (AF_INET6): workaround in the environment which does
not support IPv6.
22 lines of code changed in:
ext/tk/MANIFEST: add sample/tkalignbox.rb.
1 lines of code changed in:
* ext/iconv/charset_alias.rb: preserve original order.
* ext/iconv/extconf.rb: remove wrapper file at clean.
24 lines of code changed in:
* eval.c (thread_timer): use timer by sub-thread and nanosleep.
[ruby-talk:87519]
* gc.c (Init_stack): no stack adjustment for THREAD_SAFE.
76 lines of code changed in:
* eval.c (proc_alloc): cache the created object at first time.
[ruby-talk:61288], [ruby-dev:22240]
6 lines of code changed in:
2003-12-13
3 lines of code changed in:
* test/yaml/test_yaml.rb (test_ruby_struct): struct name din not match.
2 lines of code changed in:
* configure.in: check ucontext.h.
* eval.c: use getcontext/setcontext() instead of setjmp/longjmp()
on ia64 or with native thread enabled. [ruby-core:01932]
44 lines of code changed in:
REXML changes:
* Took out the duplicate Shift-JIS entries, for OSes that don't understand
case sensitive file names.
* Fixed some bugs in the encodings
44 lines of code changed in:
* lib/yaml/rubytypes.rb: anonymous struct fix. [ruby-core:01946]
* test/yaml/test_yaml.rb: add test.
19 lines of code changed in:
* lib/csv.rb: add Cell#to_str and Cell#to_s for /.../ =~ aCell,
"#{aCell}" and so on.
* test/csv/test_csv.rb: add tests.
46 lines of code changed in:
* lib/fileutils.rb (mkdir): remove trailing `/' from pathes.
* lib/fileutils.rb (rmdir): ditto. [ruby-dev:22238]
* lib/fileutils.rb (rmdir_r): ditto.
* lib/fileutils.rb (fu_copy_dir): check if it is a directory after mkdir(2).
53 lines of code changed in:
2003-12-12
3 lines of code changed in:
* eval.c (proc_invoke): fix class name in warning message for
define_method. [ruby-dev:22235]
8 lines of code changed in:
untypo
1 lines of code changed in:
* ext/openssl/ossl_pkcs12.[ch]: new files. add OpenSSL::PKCS12.
* ext/openssl/ossl_ossl.[ch]: ditto.
* ext/openssl/MANIFEST: add ossl_pkcs12.[ch].
182 lines of code changed in:
* test/fileutils/test_fileutils.rb (test_mkdir_p): test expand_path'ed path.
5 lines of code changed in:
* lib/fileutils.rb (mkdir_p): remove trailing `/' befere mkdir(2). mkdir("nonexistdir/") does not work on NetBSD/Alpha 1.6.1.
* lib/fileutils.rb (fu_list): call to_str for all arguments.
9 lines of code changed in:
* lib/ftools.rb (makedirs): sync with fileutils.
9 lines of code changed in:
catch all SystemCallErrors.
* lib/fileutils.rb (mkdir_p): catch all SystemCallErrors (mkdir("C:\") causes EACCESS on Windows 2000/NTFS).
7 lines of code changed in:
* lib/fileutils.rb (mkdir_p): check if it is a directory after mkdir(2) instead of before mkdir(2), to avoid race condition. [ruby-talk:87730]
17 lines of code changed in:
* lib/fileutils.rb: def m( arg ) -> def m(arg).
69 lines of code changed in:
2003-12-11
3 lines of code changed in:
* configure.in (ieeefp.h), numeric.c: needed for finite() on
Solaris. [ruby-core:01921]
* file.c (rb_stat_inspect): adjust format specifier.
* parse.c (arg_prepend): nodetype() is for debug use.
* ruby.h (ISASCII, etc): cast to int to get rid of warning.
* ruby.h (alloca.h): include even in GCC. [ruby-core:01925]
* ext/bigdecimal/bigdecimal.c (GetVpValue): adjust format
specifier.
* ext/bigdecimal/bigdecimal.c (BigDecimal_prec, BigDecimal_coerce,
BigDecimal_divmod): use rb_assoc_new() to suppress memory usage.
* ext/bigdecimal/bigdecimal.c (BigDecimal_split): ditto.
* ext/dl/sym.c (rb_dlsym_guardcall): guard itself should be
volatile.
* ext/iconv/iconv.c (iconv_convert): ensure actual parameter with
format specifier.
* ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): do not
define unless used.
* ext/pty/pty.c (getDevice): get rid of warning.
* ext/socket/socket.c (port_str, sock_s_getaddrinfo,
sock_s_getnameinfo): FIX2INT() now returns long.
* ext/socket/socket.c (init_inetsock_internal): uninitialized
variable.
* ext/syck/rubyext.c (syck_parser_assign_io): add prototype.
* ext/syck/rubyext.c (rb_syck_mktime, yaml_org_handler): use
ISDIGIT() instead of isdigit() to avoid warnings and for
platforms which don't support non-ascii charater.
90 lines of code changed in:
* ext/stringio/stringio.c (strio_read): set EOF flag at short read.
[ruby-dev:22223], [ruby-dev:22224]
43 lines of code changed in:
* lib/erb.rb: new method ERB#filename(=). [ruby-dev:22208]
8 lines of code changed in:
* ext/stringio/stringio.c (strio_read): do not set EOF flag when
requested length is zero. [ruby-dev:22214]
14 lines of code changed in:
* io.c (read_all): should return given string even if data read is
empty. [ruby-dev:22207]
23 lines of code changed in:
* ext/stringio/stringio.c (strio_read): adjust behavior at reading
beyond EOF to IO. [ruby-dev:22205]
* test/ruby/ut_eof.rb (TestEOF::Seek): test behaviors at reading
beyond EOF.
* test/ruby/test_file.rb, * test/stringio/test_stringio.rb:
include TestEOF::Seek test case.
49 lines of code changed in:
* ChangeLog: fix comments.
16 lines of code changed in:
* test/monitor/test_monitor.rb (test_cond): use Queue#deq
insteadof sleep.
8 lines of code changed in:
* ext/pty/pty.c (HAVE_SYS_IOCTL_H): already defined at config.h, so
use it.
* ext/pty/pty.c (establishShell): should close descriptors if fork
failed. (ruby-bugs:PR#1211) based on gotoyuzo's patch.
11 lines of code changed in:
2003-12-10
3 lines of code changed in:
* win32/win32.h: define execv() using do_aspawn().
* process.c (proc_exec_v): remove #ifdef's which stopped needing.
8 lines of code changed in:
* overrided instance methods, which are private methods on the super
class, are changed to 'private'
154 lines of code changed in:
make case insensitive for host-part.
15 lines of code changed in:
ditto.
1 lines of code changed in:
add test for previous change to io.c.
11 lines of code changed in:
io.c (rb_io_check_writable): don't call io_seek if EOF flag is set,
to avoid clearing EOF flag.
5 lines of code changed in:
* io.c (rb_io_check_readable): Don't clear EOF flag by io_seek.
5 lines of code changed in:
2003-12-09
3 lines of code changed in:
Added downcased shift-jis declarations. The old, all upper case declarations
are deprecated, but I need some Shift-JIS encoded documents to test against
before I remove them.
40 lines of code changed in:
* Added the lower-case Shift-JIS files to the manifest. The upper-case ones
should be deprecated, but I need a Shift-JIS encoded XML file to test
against, first.
* Added support for maintaining external entity occurances in DTDs
* Deprecated the use of Document::DECLARATION. The new default declaration
can be gotten with XMLDecl::default()
* Refactored the encoding support code. It should be more robust now,
and fixes a few bugs.
* The XPath string() function now deals with Element nodes properly.
* Serialization with Output objects now works as would be expected.
* Various code cleanups, some reducing the number of warnings that Ruby 1.8.x
produces with REXML.
817 lines of code changed in:
* typo
2 lines of code changed in:
* new sample script
174 lines of code changed in:
* lib/test/unit/assertions.rb: renamed #assert_raises to #assert_raise
and made the former call the latter. [ruby-core:01890]
* test/testunit/test_assertions.rb: ditto.
30 lines of code changed in:
* lib/soap/rpc/standaloneServer.rb: add 'shutdown' and 'status'
methods as delegates to WEBrick.
* test/soap/calc/{test_calc.rb,test_calc2.rb},
test/soap/helloworld/test_helloworld.rb,
test/wsdl/datetime/test_datetime.rb, test/wsdl/raa/test_raa.rb:
follow the change.
34 lines of code changed in:
* lib/test/unit/autorunner.rb: remove dependency to a particular
runner. [ruby-core:01901], [ruby-list:38869]
* lib/test/unit/ui/testrunnerutilities.rb: moved output level
constants from Console.
* lib/test/unit/ui/console/testrunner.rb: ditto.
* lib/test/unit/ui/{fox,gtk,gtk2,tk}/testrunner.rb (initialize):
accept output_level.
35 lines of code changed in:
* ext/syck/syck.c (syck_io_str_read): get rid of buffer overflow.
5 lines of code changed in:
* lib/uri/common.rb: new method URI.regexp. [ruby-dev:22121]
* test/uri/test_common.rb: add test for URI.regexp.
14 lines of code changed in:
* lib/uri/common.rb: new method URI.regexp. [ruby-dev:22121]
* test/uri/test_common.rb: add test for URI.regexp.
41 lines of code changed in:
2003-12-08
3 lines of code changed in:
* pack.c: define swap16 and swap32 only if they are not
defined. OpenBSD defines these macros. [ruby-dev:22181]
9 lines of code changed in:
add iconv.rb and config.charset.
2 lines of code changed in:
sort aliases.
3 lines of code changed in:
2003-12-07
3 lines of code changed in:
* ext/iconv/iconv.c (map_charset): make case sensitive.
ext/iconv/charset_alias.rb (charset_alias): don't ignore
config.charset's information.
10 lines of code changed in:
Support inline source in Kilmer template
21 lines of code changed in:
no need to care SSL_ERROR_NONE and SSL_ERROR_WANT_X509_LOOKUP.
1 lines of code changed in:
* ext/openssl/ossl_ssl.c (ossl_start_ssl): new function to wrap
SSL_connect and SSL_accept; if SSL_connect (or SSL_accept) returned
but not finished the handshake process, we should retry it.
* ext/openssl/ossl_ssl.c (ossl_ssl_connect): call ossl_start_ssl.
* ext/openssl/ossl_ssl.c (ossl_ssl_accept): ditto.
* ext/openssl/ossl_ssl.c (ossl_ssl_read): allow signal traps.
37 lines of code changed in:
* io.c (flush_before_seek): flush before seek on any platform.
* configure.in: ditto.
10 lines of code changed in:
2003-12-06
3 lines of code changed in:
* lib/soap/soap.rb(SOAP::Env.getenv): allow upcase environment variable
as well as downcase one.
* lib/soap/netHttpClient.rb(SOAP::NetHttpClient#proxy=): check URI.
13 lines of code changed in:
typo.
1 lines of code changed in:
* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises,
Test::Unit::Assertions::assert_nothing_raised): use the last
argument as message unless non-class object.
* test/testunit/test_assertions.rb (test_assert_raises): test for
multiple exception list. [ruby-core:01891]
* test/testunit/test_assertions.rb (test_assert_nothing_raised): test
for non-exception classes.
53 lines of code changed in:
* lib/soap/netHttpClient.rb: proxy support did not work. fixed.
* lib/soap/property.rb: add class methods for loading property from
stream/file/propertyfile. propertyfile is a file which is located at
somedir in $:.
* lib/soap/soap.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb,
lib/wsdl/importer.rb: load property from propertyfile 'soap/property'
e.g. /usr/local/lib/ruby/site_ruby/1.8/soap/property.
* test/soap/test_property.rb, test/soap/test_streamhandler.rb: new file.
645 lines of code changed in:
* eval.c (rb_exec_end_proc): maintain tmp_end_procs.
[ruby-dev:22154]
7 lines of code changed in:
* eval.c (rb_exec_end_proc): should not clear end_procs and
ephemeral_end_procs before execution. [ruby-dev:22144]
* eval.c (rb_obj_extend): call Module#extended hook after
extended_object. [ruby-list:38866]
* object.c (Init_Object): Module#extended defined.
26 lines of code changed in:
* test/ruby/test_pipe.rb: use IO.pipe instead of IO.popen.
12 lines of code changed in:
MANIFEST: add files.
test/ruby/test_pipe.rb
test/ruby/ut_eof.rb
2 lines of code changed in:
* ext/stringio/stringio.c (strio_read): follow IO#read.
* test/ruby/ut_eof.rb, test/ruby/test_file.rb, test/ruby/test_pipe.rb,
test/stringio/test_stringio.rb: add EOF test.
93 lines of code changed in:
2003-12-05
3 lines of code changed in:
* dln.c (aix_loaderror): should not use member named 'errno' which
might be a macro (e.g. on AIX).
* io.c (read_all): do not depend on lseek position.
[ruby-dev:22026]
* eval.c (rb_eval): preserve $! value when retry happens in the
rescue clause. [ruby-talk:86697]
27 lines of code changed in:
* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises):
allow multiple exception list. [ruby-core:01884]
* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):
check whether arguments are subclass of Exception.
30 lines of code changed in:
Try to give nicer error messages on internal failures
17 lines of code changed in:
* lib/drb/drb.rb (DRb::DRbMessage::send_request, send_reply):
should rescue errors and re-raise DRbConnError on write too.
[ruby-dev:22132]
10 lines of code changed in:
* parse.y (exc_list): allow expanding list. [ruby-dev:22134]
10 lines of code changed in:
* test/fileutils/test_fileutils.rb (test_cp): test if the error is kind of SystemCallError. It is needless details that which errno is set on each systems.
10 lines of code changed in:
mail address consistency.
4 lines of code changed in:
* lib/monitor.rb: use Object#__send__ instead of Object#send.
10 lines of code changed in:
* lib/soap/streamHandler.rb: support latest released version of
http-access2.
10 lines of code changed in:
* lib/soap/soap.rb: add SOAP::Env module for environment repository
such as HTTP_PROXY.
* lib/soap/property.rb: property implementation.
* lib/soap/streamHandler.rb, lib/soap/wsdlDriver.rb,
lib/soap/rpc/driver.rb: use soap/property.rb.
* lib/wsdl/importer.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb:
use SOAP::Env.
* lib/soap/netHttpClient.rb: add basic_auth, ssl_config, and cookie
management interface, but ignored for now.
* lib/xsd/charset.rb: add XSD::Charset.encoding= interface to set
wiredump charset explicitly. it was fixed to 'utf-8' when iconv or
uconv module was found.
724 lines of code changed in:
2003-12-04
3 lines of code changed in:
* ext/dl/sym.c (rb_dlsym_guardcall): __declspec(noinline) is VC7
feature.
9 lines of code changed in:
* lib/net/http.rb: update hyperlink to the Japanese document.
5 lines of code changed in:
[ruby-core:01881]
1 lines of code changed in:
* ext/openssl/ossl_asn1.c (asn1time_to_time): should check that
the underlying value of ASN1_TIME isn't NULL.
6 lines of code changed in:
* lib/webrick/server.rb (GenericServer#start): should rescue
Exception to avoid unexpected aborting. [ruby-core:01853]
* lib/webrick/server.rb (GenericServer#start_thread): should check
that peeraddr isn't nil before printing.
* lib/webrick/httpresponse.rb (HTTPResponse#start_thread): should
rescue Exception to avoid unexpected aborting of thread.
23 lines of code changed in:
* lib/pathname.rb (Pathname#link, Pathname#symlink): obsoleted.
(Pathname#make_link, Pathname#make_symlink): new method.
21 lines of code changed in:
* io.c (argf_read): should not terminate on empty string; wait
until real EOF. [ruby-dev:21969]
* io.c (argf_read): should adjust length to read, when length is
specified and read spans command line argument files.
25 lines of code changed in:
Implicitly define classes in 'class <<ClassName' if we haven't come across them before
5 lines of code changed in:
correct fcntl parameer
5 lines of code changed in:
* configure.in (AC_PROG_YACC): AC_DEFINE(OLD_YACC) if Yacc is found
instead of Bison or byacc.
* parse.y: If OLD_YACC is defined, ensure that YYMAXDEPTH is at least
10000 (Bison's default) since some old versions of Yacc define it as
low as 150 by default, which is too low for Ruby to parse some files,
such as date/format.rb. Among other issues, the parse problem causes
"make test" to fail.
25 lines of code changed in:
MANIFEST: add lib/rdoc/dot/dot.rb.
1 lines of code changed in:
* 'format'==>'Kernel.format' (avoid override trouble)
76 lines of code changed in:
* Makefile.in (lex.c): try gperf first, and copy from the source
directory if failed. [ruby-dev:22123]
7 lines of code changed in:
Missing file
256 lines of code changed in:
2003-12-03
3 lines of code changed in:
* ext/extmk.rb (MTIMES): let makefiles depend to mkmf.rb.
* lib/mkmf.rb (configuration): DLDFLAGS was duplicated.
9 lines of code changed in:
fixed method name
4 lines of code changed in:
* lib/net/http.rb: wrote the warning about HTTP_PROXY environment variable.
8 lines of code changed in:
* lib/test/unit/ui/gtk2 (Test::Unit::UI::GTK2#start_ui): remove debug statement.
0 lines of code changed in:
* bin/testrb: new test runner. [ruby-core:01845]
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner.run,
Test::Unit::AutoRunner#initialize): take test list to run.
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::RUNNERS,
Test::Unit::AutoRunner#run): should not exit inside a library, just
return the result instead.
* lib/test/unit.rb: ditto.
* test/runner.rb: exit with the test result.
125 lines of code changed in:
* test/fileutils/test_fileutils.rb: check if Pathnames are usable for arguments.
158 lines of code changed in:
2003-12-02
3 lines of code changed in:
Merged Tietew's patch of [ruby-dev:21991].
92 lines of code changed in:
* lib/test/unit/assertions.rb: fixed #assert_no_match message.
* test/testunit/test_assertions.rb: ditto.
16 lines of code changed in:
Allow string as argument to alias_method
2 lines of code changed in:
* ext/syck/syck.c: string buffering bug. decrementing by full
max_size now. [ruby-core:01834]
15 lines of code changed in:
* numeric.c (num_sadded): prohibit singleton method definition for
Numerics. fill yet another gap between Fixnum and Bignum.
61 lines of code changed in:
* pack.c (htov16): converts endian using swap16. htov32(), hton16,
hton32 as well. [ruby-talk:85377]
* pack.c (swap16): swap 2 bytes no matter how big short is on the
platform. swap32() is also prepared.
* numeric.c (rb_num2int): returns long to preserve information.
rb_fix2int(), rb_num2uint(), rb_fix2uint() as well.
[ruby-talk:85377]
* numeric.c (rb_num2uint): should not check for value range if the
source value is negative.
117 lines of code changed in:
* sample/optparse/opttest.rb: added.
130 lines of code changed in:
Add RDoc
11736 lines of code changed in:
Add RDoc to list
1 lines of code changed in:
* lib/fileutils.rb (fu_each_src_dest0): call #to_str to allow Pathname for arguments. [ruby-core:01795]
* test/fileutils/test_fileutils.rb: does much strict test on "same" files detecting.
51 lines of code changed in:
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
(XCFLAGS): re-export $(XCFLAGS).
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
(ARCH_FLAG): export $(ARCH_FLAG) (perhaps empty value).
14 lines of code changed in: