* ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must
not be empty. [ruby-talk:161220]
* test/openssl/test_cipher.rb: add test for Cipher#update("").
14 lines of code changed in:
* lib/webrick/httpservlet/cgihandler.rb
(WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie:
header field should be splited into each cookie. [ruby-Bugs:2199]
* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method
to parse the value of Set-Cookie: header field.
* test/webrick/test_cookie.rb, test/webrick/test_cgi.rb,
test/webrick/webrick.cgi: add some test for cookie.
87 lines of code changed in:
* 2005-10-31
3 lines of code changed in:
* test/ruby/test_float.rb (test_precision): test by assert_in_delta.
[ruby-dev:27575]
9 lines of code changed in:
* 2005-10-29
3 lines of code changed in:
synchronized with date2 3.7
14 lines of code changed in:
* enumerator.c (enumerator_allocate): allow subclassing.
6 lines of code changed in:
* string.c (scan_once): wrong condition to use mbclen2().
[ruby-dev:27535]
* time.c (time_sunday): added predicate methods for the days of the
week. [ruby-list:41340]
589 lines of code changed in:
* 2005-10-27
3 lines of code changed in:
* missing.h, missing/memcmp.c, missing/memmove.c:
ANSI compatible interface.
19 lines of code changed in:
* ext/syck/implicit.c (syck_type_id_to_uri): should return
newly allocated memory. otherwise, type_id will be freed
twice. [ruby-dev:27384] [ruby-core:6385]
8 lines of code changed in:
* 2005-10-26
3 lines of code changed in:
* configure.in (RUBY_EXTERN): macro to export symbols in shared
library. [ruby-core:05528]
* defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to
configuration pass.
* ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions.
26 lines of code changed in:
* ruby.h (Qfalse, Qtrue, Qnil, Qundef): make sure these immediate
values have VALUE type. there is an environment where sizeof(VALUE)
!= sizeof(int) like IA64. if 32bit integer (Qtrue) is passed to ANYARGS
and received by 64bit integer (VALUE), upper bits may have garbage value.
[ruby-dev:27513]
12 lines of code changed in:
* gc.c (garbage_collect): sorry, previous commit was incorrect.
[ruby-core:6386]
6 lines of code changed in:
* gc.c (garbage_collect): return now whether there're rooms for new
objects, rather than whether GC run. fixed: [ruby-core:6376]
6 lines of code changed in:
* 2005-10-25
3 lines of code changed in:
* lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):
reduce redundant backtrack. [ruby-talk:161771]
6 lines of code changed in:
RDoc documentation from Eric Hodel <drbrain@segment7.net> added.
448 lines of code changed in:
* configure.in, io.c: use sys/syscall.h if syscall.h is not available.
[ruby-core:06247]
15 lines of code changed in:
* ext/Win32API/lib/win32/resolv.rb (get_info): support multiple DNS.
fixed: [ruby-list:40058], [ruby-dev:27479]
7 lines of code changed in:
* 2005-10-24
3 lines of code changed in:
* ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
typo fixed. [ruby-talk:162187]
* ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys):
ditto. [ruby-core:06359]
* ext/tk/lib/tk.rb: update RELEASE_DATE
11 lines of code changed in:
* 2005-10-23
3 lines of code changed in:
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
3453 lines of code changed in:
* ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extension
options. [ruby-dev:27449]
39 lines of code changed in:
* 2005-10-22
3 lines of code changed in:
* util.[hc] (ruby_add_suffix): constified.
* util.[hc] (ruby_scan_{oct,hex}): fixed typo. (renamed from
scan_{oct,hex})
* util.c: almostly ANSI styled. (except for functions depending on
macro and K&R tecknique)
25 lines of code changed in:
* ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,
ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb,
lib/rss/parser.rb, test/rss/test_content.rb,
test/rss/test_dublincore.rb, test/rss/test_syndication.rb,
test/rss/test_trackback.rb, test/ruby/test_eval.rb,
test/socket/test_socket.rb, test/socket/test_udp.rb:
Object#fcall was renamed as Object#funcall.
36 lines of code changed in:
* object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check
if valid as a symbol name more strictly. [ruby-dev:27478]
* test/ruby/test_symbol.rb: tests for [ruby-core:03573].
50 lines of code changed in:
commit miss.
0 lines of code changed in:
* time.c (rb_strftime): removed meaningless volatile modifiers, and
concatenate successive nul characters at once. [ruby-dev:27472]
13 lines of code changed in:
* object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check
if valid as a symbol name more strictly. [ruby-dev:27478]
* test/ruby/test_symbol.rb: tests for [ruby-core:03573].
124 lines of code changed in:
* missing.h, missing/*.c: SUSv3 compatible strcasecmp and strncasecmp,
ANSI compatible strtol and strtoul, and ANSI styled other functions.
37 lines of code changed in:
* rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper)
8 lines of code changed in:
* bin/erb (ERB::Main::run): typo fixed. [ruby-core:06337]
* env.h: move struct METHOD and struct BLOCK from eval.c to
support NodeWrap and ParseTree.
* rubysig.h (CHECK_INTS): prevent signal handler to run during
critical section. [ruby-core:04039]
* eval.c (load_wait): need not to call rb_thread_schedule()
explicitly. [ruby-core:04039]
* eval.c (rb_thread_schedule): clear rb_thread_critical.
[ruby-core:04039]
* eval.c (rb_obj_instance_exec): create instance_exec and
module_exec which pass arguments to the block.
* eval.c (rb_f_funcall): rename fcall to funcall to follow
tradition.
* st.c (st_free_table): do not call free() but xfree().
[ruby-core:06205]
* eval.c (splat_value): call rb_Array() to convert svalue to
values. [ruby-dev:27397]
* lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may
not be parsed correctly. A patch from August Z. Flatby
(augustzf) in [ruby-Patches-2595]. [ruby-core:06183]
* object.c (rb_Array): Array() to raise error for objects without
to_ary, nor to_a.
* object.c (nil_to_a): revert NilClass#to_a.
214 lines of code changed in:
* intern.h, struct.c (rb_struct_iv_get): constified.
* marshal.c: avoid one VC++6 warning for implicit conversion
from int to char.
* ruby.h: ANSI styled.
* bcc32/Makefile.sub (HAVE_HYPOT): added.
* ext/socket/extconf.rb: BeOS is only one platform should call
closesocket, so check __BEOS__ macro directly. (I was worried
accidently HAVE_CLOSESOCKET is defined on windows again because
it has it)
* ext/socket/{getaddrinfo.c,socket.c}: ditto.
... these are all cosmetic changes.
33 lines of code changed in:
* time.c: should use LONG_LONG instead of `long long'.
6 lines of code changed in:
* bignum.c (bignew_1): convertion from `int' to `char' discards
upper bits, (ie. (char)0xff00 -> 0) so it's better to test if
nonzero and set 0 or 1 instead of simply casting ... as a flag usage.
(but I believe this won't cause actual bug in current implementation)
[ruby-dev:27055]
12 lines of code changed in:
* 2005-10-21
3 lines of code changed in:
* ext/ripper/tools/preproc.rb (prelude): do not append surplus
newlines to fix line numbers.
6 lines of code changed in:
* parser.y (struct parser_params): parser never modify input string.
23 lines of code changed in:
* class.c, eval.c, hash.c, st.c, variable.c: changed /* ??? */ stuff
protoize generated to ANYARGS.
27 lines of code changed in:
* eval.c, file.c, ruby.c: removed strchr, strrchr, strstr definition
because they are defined in missing.h.
* missing.h, missing/strchr.c, missing/strstr.c: ANSI styled.
27 lines of code changed in:
* lib/mkmf.rb (create_makefile): Borland make seems not to allow
empty dependency list. If this change is not good, please correct
it.
15 lines of code changed in:
* 2005-10-20
3 lines of code changed in:
* lib/mkmf.rb (create_makefile): get rid of a restriction
of Borland make. fixed: [ruby-dev:27460]
* ext/ripper/depend: ditto.
11 lines of code changed in:
* ChangeLog: wrong log.
2 lines of code changed in:
* lib/mkmf.rb (create_makefile): do not create unnecessary empty
directories. fixed: [ruby-dev:27451]
2 lines of code changed in:
* lib/mkmf.rb (create_makefile): do not unnecessary empty directories.
fixed: [ruby-dev:27451]
5 lines of code changed in:
* file.c (rb_file_join): elements may contain null pointer strings.
report and fixed by Lloyd Zusman (hippoman): [ruby-core:06326]
6 lines of code changed in:
* 2005-10-19
3 lines of code changed in:
* enumerator.c, eval.c, gc.c, parse.y, regparse.c, sjis.c, time.c:
made internal symbols static. [ruby-dev:27435]
13 lines of code changed in:
* sorry, commit miss.
2 lines of code changed in:
* ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,
ext/socket/extconf.rb: shouldn't define DESTCLEANFILES in depend,
use $distcleanfiles in extconf.rb.
* win32/Makefile.sub (distclean-local): should remove .config.h.time.
13 lines of code changed in:
* 2005-10-18
3 lines of code changed in:
* mkconfig.rb: forgotten to commit.
1 lines of code changed in:
* 2005-10-17
3 lines of code changed in:
* mkconfig.rb: fixup configure_args for mswin32 configure.
* win32/configure.bat (srcdir, target): ditto.
6 lines of code changed in:
* ext/extmk.rb: omit non-existing directories.
13 lines of code changed in:
check remote hash tuple
20 lines of code changed in:
* 2005-10-16
3 lines of code changed in:
* win32/configure.bat: remove unnecessary line which prevents
creating Makefile.
5 lines of code changed in:
* lib/net/ftp.rb: (getbinaryfile): allow nil for localfile, and
returns retrieved data if localfile is nil.
* lib/net/ftp.rb: (gettextfile): ditto.
41 lines of code changed in:
* 2005-10-15
3 lines of code changed in:
typo fixed, again. thanks, Doug Kearns.
5 lines of code changed in:
* win32/Makefile.sub (MKFILES): update MKFILES if configure files get
changed.
* win32/configure.bat, win32/setup.mak (configure_args): store
arguments to configure files.
26 lines of code changed in:
* win32/win32.c (ioctl): should set errno.
5 lines of code changed in:
* 2005-10-14
3 lines of code changed in:
* lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.
It is harmful to permit the access to ~/public_html by default.
suggested by Hiroyuki Iwatsuki.
7 lines of code changed in:
* 2005-10-13
3 lines of code changed in:
* ext/iconv/charset_alias.rb (charset_alias): create wrapper libray
even if no target matched.
* ext/iconv/extconf.rb: create wrapper library under RUBYARCHDIR
directly.
10 lines of code changed in:
* io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c:
get rid of warnings. fixed: [ruby-core:06247]
14 lines of code changed in:
* parse.y (HEAPCNT): bison allocates indivisible size.
fixed: [ruby-core:06261]
6 lines of code changed in:
* ext/openssl/ossl.c (Init_openssl): should call OpenSSL_add_ssl_algorithms().
6 lines of code changed in:
* file.c (rb_f_test): typos in RDoc comments.
3 lines of code changed in:
* 2005-10-12
3 lines of code changed in:
* file.c (rb_f_test): typo in RDoc comments.
5 lines of code changed in:
* eval.c (rb_obj_respond_to): check if obj responds to the given
method with the given visibility. [ruby-dev:27408]
* eval.c (rb_respond_to): conform to Object#respond_to?. [ruby-dev:27411]
23 lines of code changed in:
* 2005-10-11
3 lines of code changed in:
* array.c, enum.c, eval.c, util.c: safer function pointer usage.
fixed: [ruby-core:06143]
* util.h (qsort): removed the definition incompatible to ANSI.
fixed: [ruby-core:06147]
31 lines of code changed in:
* configure.in (RUBY_FUNC_ATTRIBUTE): check prefixed attribute form
first. [ruby-dev:27398]
6 lines of code changed in:
* test/soap/ssl/test_ssl.rb (test_verification, test_property, test_ciphers):
use standard assert_raise.
* test/testunit/test_assertions.rb (test_assert_send): send no longer
calls private methods.
* test/uri/test_generic.rb (test_parse): corrected path in FTP URI.
25 lines of code changed in:
* 2005-10-10
3 lines of code changed in:
* parse.y (ripper_initialize): rollback obj_respond_to().
fixed: [ruby-dev:27406]
15 lines of code changed in:
* 2005-10-09
3 lines of code changed in:
add testNIL2VTEMPTY.rb
2 lines of code changed in:
* eval.c (Init_Binding): add Binding#dup method. [yarv-dev:666]
13 lines of code changed in:
* lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched
substring directly.
* ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a.
* test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed
change of sample/test.rb.
* test/net/http/test_http.rb: removed superfluous splatting stars.
18 lines of code changed in:
* io.c (rb_io_init_copy): clear PREP flag for copied IO.
fixed: [ruby-dev:27371]
6 lines of code changed in:
* 2005-10-08
3 lines of code changed in:
* ext/iconv/charset_alias.rb: parse config.charset_alias file directly.
41 lines of code changed in:
* parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on
heap. [ruby-list:41199]
* parse.y (ripper_initialize): use rb_respond_to().
* ext/ripper/depend (check): get rid of re-generating ripper.y always.
101 lines of code changed in:
* ext/strscan/strscan.c (strscan_free): remove useless code. [ruby-dev:26368] [ruby-dev:27389]
5 lines of code changed in:
* 2005-10-06
3 lines of code changed in:
* range.c (rb_range_beg_len): should return Qfalse for non-range
object.
* pack.c (EXTEND16): [ruby-dev:27383]
* eval.c (set_trace_func): add rb_secure(4) to prevent adding
tracing function.
* lib/delegate.rb: document update from James Edward Gray II
<james@grayproductions.net>. [ruby-core:05942]
* process.c (proc_daemon): should restrict execution on levels
higher than $SAFE=2. suggested by URABE Shyouhei
<shyouhei@ice.uec.ac.jp>.
* lib/forwardable.rb: replaced by new implementation from
<Daniel.Berger@qwest.com>. [ruby-core:05899]
* file.c (path_check_0): disallow sticky world writable directory
in PATH (and $LOAD_PATH). [ruby-dev:27226]
* numeric.c (fix_idiv): 1.div(1.0) should return integer value.
[ruby-dev:27235]
* lib/yaml.rb: require 'yaml/constants'. [ruby-core:5776]
* lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): add charset
information to content-type header.[ruby-core:5127]
* lib/xmlrpc/server.rb (CGIServer::serve): ditto.
* lib/xmlrpc/server.rb (ModRubyServer::serve): ditto.
* lib/xmlrpc/server.rb (WEBrickServlet::service): ditto.
* test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove
test_s_open_error test to detect duplicate open.
[ruby-dev:27202]
* eval.c (splat_value): use to_a to splat non Array object.
* object.c (nil_to_a): remove nil.to_a. [experimental]
492 lines of code changed in:
* 2005-10-05
3 lines of code changed in:
* lib/xmlrpc/server.rb (XMLRPC::Server#initialize): should mount the
servlet on "/".
6 lines of code changed in:
* lib/xmlrpc/server.rb (XMLRPC::Server#serve): delete wrong call
of "join".
6 lines of code changed in:
* 2005-10-04
3 lines of code changed in:
* ext/tk/lib/tkextlib/tktable/tktable.rb: border_* instance methods
don't call 'border' subcommands.
10 lines of code changed in:
* win32/win32.c (do_select, rb_w32_select): brush up.
74 lines of code changed in:
* bignum.c (rb_big_rand): removed. [ruby-dev:25405]
4 lines of code changed in: