* win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,
rb_w32_opendir, rb_w32_readdir, rb_w32_strerror, rb_w32_stati64,
rb_w32_get_environ): use strlcpy() and strlcat().
* win32/win32.c (rb_w32_opendir): use realloc() instead of xrealloc().
* win32/win32.c (rb_w32_closedir): check NULL before free pointers.
58 lines of code changed in:
* lib/shell: commit miss(support for ruby 1.9(YARV) thread model).
48 lines of code changed in:
* win32/Makefile.sub (LIBS): remove an unnecessary library.
5 lines of code changed in:
* 2007-03-22
3 lines of code changed in:
* test/ruby/test_bignum.rb (test_to_s): add tests for Bignum#to_s.
15 lines of code changed in:
* marshal.c (w_short, w_long, w_object): get rid of VC++ warnings.
9 lines of code changed in:
* compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
proc.c, vm.c, vm_macro.def, vm_macro.def, yarvcore.c, yarvcore.h,
debug.c, debug.h: merge half-baked-1.9 changes. The biggest change
is to change node structure around NODE_SCOPE, NODE_ARGS. Every
scope (method/class/block) has own NODE_SCOPE node and NODE_ARGS
represents more details of arguments information. I'll write a
document about detail of node structure.
558 lines of code changed in:
* bignum.c (rb_big2str0): round up for the most significant digit.
[ruby-core:10686]
12 lines of code changed in:
* ext/Win32API/lib/win32/sspi.rb: set properties.
319 lines of code changed in:
* test/testunit/collector/test_dir.rb: Fixed test/unit tests that
were breaking due to Module#public_instance_methods now
returning a Symbol instead of a String.
* test/testunit/collector/test_objectspace.rb: Ditto.
17 lines of code changed in:
* marshal.c (w_extended): erroneous check condition when dump
method is defined. [ruby-core:10646]
9 lines of code changed in:
* lib/shell.rb, lib/shell: support for ruby 1.9(YARV) thread model.
269 lines of code changed in:
* distruby.rb: Add zip generation.
24 lines of code changed in:
* eval.c: just minor changes (rdoc).
2 lines of code changed in:
* eval.c (rb_f_callee_name): add __method__ and __callee__ again.
__callee__ need to rework to adopt YARV. [ruby-core:10671]
59 lines of code changed in:
* lib/set.rb: Revise rdoc.
* lib/set.rb (Set#freeze, Set#taint, Set#untaint): Implement
Set#freeze, Set#taint, and Set#untaint; requested by: Dan
Hutchings <dan AT moltoagitato.com> in [ruby-bugs:PR#9359].
32 lines of code changed in:
* process.c (rb_fork): flush stdouts always before fork(2).
fixed: [ruby-dev:30612]
14 lines of code changed in:
* thread.c (thread_start_func_2): store the result of first_func
as well as first_proc.
5 lines of code changed in:
* thread.c (thread_create_core): block is not used if first_func
is given.
9 lines of code changed in:
* missing/{strlcat,strlcpy}.c, missing.h: new functions.
* LEGAL: add copyright notice about above files.
* configure.in: check whether strlcat and strlcpy are exist or not.
* {bcc32,win32,wince}/Makefile.sub: use above files.
198 lines of code changed in:
* lib/matrix.rb (Matrix::inverse_from): adding partial pivoting to
the Gauss-Jordan algorithm, making it stable. a patch from
Peter Vanbroekhoven. [ruby-core:10641]
18 lines of code changed in:
* regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan
Huehner <stefan at huehner.org>. [ruby-core:10543]
57 lines of code changed in:
* 2007-03-19
3 lines of code changed in:
* lib/net/protocol.rb (rbuf_read): extend buffer size for speed.
7 lines of code changed in:
* win32/dir.h, win32/win32.c (rb_w32_opendir, rb_w32_readdir,
rb_w32_closedir): get rid of possible buffer-overflows.
23 lines of code changed in:
* lib/rss, test/rss:
- supported Atom.
- bumped version 0.1.6 to 0.1.7.
* sample/rss/convert.rb: added new sample.
10227 lines of code changed in:
* 2007-03-16
3 lines of code changed in:
* lib/net/pop.rb: change default verification mode from VERIFY_PEER to VERIFY_NONE because most POPS server does not have true certification.
12 lines of code changed in:
* ext/win32ole/win32ole.c: add WIN32OLE#ole_activex_initialize,
a little bit supporting ActiveX control. [ruby-talk:241188]
55 lines of code changed in:
* lib/net/http.rb: merge Ruby-SSPI patch contributed by Justin Bailey.
* ext/Win32API/lib/win32/sspi.rb: new file.
387 lines of code changed in:
* ext/bigdecimal/bigdecimal.c: BigDecimal("-.31") is now
treated as ("-0.31") not as ("0.31").
9 lines of code changed in:
* lib/sync.rb: support for ruby 1.9(YARV) thread model.
89 lines of code changed in:
* common.mk (clear-installed-list): separated from install-prereq.
9 lines of code changed in:
* lib/monitor.rb (mon_try_enter): call @mon_muetx.try_lock.
Thanks, Keiju ISHITSUKA. [ruby-dev:30507]
6 lines of code changed in:
* lib/cgi.rb (CGI::header): IIS >= 5.0 does not need the nph
assumption any more; submitted by MIYASAKA Masaru <alkaid AT
coral.ocn.ne.jp> in [ruby-dev:30537].
11 lines of code changed in:
20070312
3 lines of code changed in:
* ext/openssl/ossl_asn1.c (Init_ossl_asn1): Let rdoc know about
externally defined modules; submitted by Technorama
Ltd. <oss-ruby AT technorama.net> in [ruby-bugs:PR#4704].
* ext/openssl/ossl_bn.c (Init_ossl_bn): Ditto.
* ext/openssl/ossl_cipher.c (Init_ossl_cipher): Ditto.
* ext/openssl/ossl_digest.c (Init_ossl_digest): Ditto.
* ext/openssl/ossl_hmac.c (Init_ossl_hmac): Ditto.
* ext/openssl/ossl_pkey.c (Init_ossl_pkey): Ditto.
* ext/openssl/ossl_pkey_dh.c (Init_ossl_dh): Ditto.
* ext/openssl/ossl_pkey_dsa.c (Init_ossl_dsa): Ditto.
* ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): Ditto.
* ext/openssl/ossl_rand.c (Init_ossl_rand): Ditto.
* ext/openssl/ossl_ssl.c (Init_ossl_ssl): Ditto.
73 lines of code changed in:
* misc/ruby-mode.el (ruby-block-end-re): Support for the
exprimental ';;' terminator had been dropped.
6 lines of code changed in:
* 2007-03-11
3 lines of code changed in:
* ChangeLog: correct ML number. [ruby-dev:30455]
1 lines of code changed in:
* misc/README, misc/rdebug.el: Add rdebug.el, Emacs ruby-debug
interface based on rubydb3x.el; submitted by Martin Nordholts
<enselic AT gmail.com> in [ruby-bugs:PR#9023].
149 lines of code changed in:
* ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB#library_name,
WIN32OLE_TYPELIB#visible?.
* test/win32ole/test_win32ole_typelib.rb: ditto.
114 lines of code changed in:
* compile.c: iseq_compile -> rb_iseq_compile.
* iseq.c: ditto.
* intern.h: provide function prototype of Init_jump.
* eval_jump.h (Init_jump): declare function type.
* thread.c: platform-dependent functions should be surrounded by #ifdef.
* iseq.c (iseq_data_to_ary): remove unused variable.
* compile.c (set_arguments): ditto.
* thread.c (set_unblock_function): ditto.
* thread_pthread.ci: reduce printf warning.
* vm_dump.c: ditto.
33 lines of code changed in:
* lib/shell/process-controller.rb: fix thread synchronization problem for [ruby-dev:30477].
9 lines of code changed in:
* ext/tk/sample/irbtkw.rbw: fails to exit process.
10 lines of code changed in:
* ChangeLog: commit miss.
1 lines of code changed in:
* runruby.rb: added --pure (turned on by default) and --debugger
options.
24 lines of code changed in:
* lib/timeout.rb (Timeout.timeout): should return the block value always.
* lib/timeout.rb (Timeout.timeout): should yield sec argument always.
* lib/timeout.rb (Timeout.timeout): fix document.
17 lines of code changed in:
* lib/net/smtp.rb: support automatic STARTTLS.
* lib/net/smtp.rb: check server advertisement.
* lib/net/smtp.rb: introduce new class SMTP::Response.
* lib/net/smtp.rb (getok): should not use sprintf.
* lib/net/smtp.rb (get_response): ditto.
* lib/net/protocol.rb: reduce syntax warning on 1.9.
232 lines of code changed in:
* lib/net/smtp.rb: reconstruct SMTPS/STARTTLS interface. New interface is incompatible from current 1.9 interface at all.
* lib/net/smtp.rb: All SSL-related class methods are removed; use instance methods instead.
* lib/net/smtp.rb: rename methods: *ssl -> *tls (with alias "ssl").
* lib/net/smtp.rb: rename methods: *tls -> *starttls.
79 lines of code changed in:
* parse.y (parser_yylex), win32/win32.c (rb_w32_utime): fixed
indentation broken at YARV merger.
16 lines of code changed in:
* file.c (rb_stat_uid, rb_stat_gid, eaccess): use rb_uid_t and
rb_gid_t instead of int.
7 lines of code changed in:
* file.c (rb_stat_s_utime): fixed a commit miss for the platforms
where utimes() does not exist.
* lib/fileutils.rb (touch): ditto.
19 lines of code changed in:
* util.c (push_element): should return a int value.
7 lines of code changed in:
* lib/set.rb (Set#^, Set#&): Correct documentation. Those methods
return sets, not arrays; noted by Oliver Frank Wittich <nietz AT
mangabrain.de>.
8 lines of code changed in:
* lib/fileutils.rb (touch): last #touch change causes error when :mtime option was not given.
7 lines of code changed in:
* lib/fileutils.rb (mv): could not move directory between different file systems. [ruby-dev:30411]
12 lines of code changed in:
* file.c (rb_file_s_utime): allow nil to set the current time.
* lib/fileutils.rb (touch): ditto, and added :mtime and :nocreate
options. fixed: [ruby-talk:219037]
30 lines of code changed in:
* object.c (instance_variable_get): Restore rdoc markups lost in
the last commit.
12 lines of code changed in:
* ext/win32ole/win32ole.c (get_ptr_of_variant, ole_set_safe_array,
ole_val2ptr_variant, ole_val2olevariantdata, ole_variant2val,
): fix some bugs of WIN32OLE_VARIANT.new when variant type is
VT_ARRAY|VT_BSTR or VT_BYREF.
* ext/win32ole/win32ole.c (folevariant_s_array, folevariant_initialize):
WIN32OLE_VARIANT#[], WIN32OLE_VARIANT#[]=, WIN32OLE_VARIANT#value=
is defined as instance method of WIN32OLE_VARIANT.
* test/win32ole/test_win32ole_variant.rb: add some test for
VT_ARRAY, VT_BYREF variant type.
524 lines of code changed in:
* object.c (rb_obj_ivar_set): RDoc updated according to a
suggestion from Brian Candler <B.Candler AT pobox.com>.
[ruby-core:10469]
15 lines of code changed in:
* parse.y (stmt, arg): should not omit lhs of OP_ASGN1 even if
empty. [ruby-dev:30452]
7 lines of code changed in: