* 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: