2003-11-01
4 lines of code changed in:
* lib/soap/mapping/factory.rb: mark marshalled basetype objects when
@allow_original_mapping is true. multi-referencing basetype node is
prohibited in SOAP/1.1 encoding but soap4r's original ruby object mapping
requires basetype to be marked to detect self referencing loop.
e.g. o = 1; o.instance_eval { @iv = o } soap4r's original mapping is only
used through soap/marshal API.
* test/soap/marshal/test_marshal.rb: add tests for self referencing immutable
objects.
* test/soap/calc/test_calc_cgi.rb: fix test name.
41 lines of code changed in:
* wince/string_wce.c (strrchr): should decrement pointer.
* wince/Makefile.sub: correct a range of isdigit().
8 lines of code changed in:
* configure.in, lib/mkmf.rb: add RPATHFLAG for NetBSD. [ruby-dev:21791]
* bcc32/Makefile.sub, win32/Makefile.sub, win32/Makefile.sub: ditto.
18 lines of code changed in:
RD -> RDoc contributed by Lyle Johnson
174 lines of code changed in:
031031
1 lines of code changed in:
* wince/Makefile.sub, win32/Makefile.sub (.y.c): allow white spaces
at the beginning of line to remove by sed. (ruby-bugs-ja PR#580)
7 lines of code changed in:
031031
34 lines of code changed in:
* lib/drb/drb.rb: add DRbArray
* lib/drb/invokemethod.rb: fix Hash#each problem. [ruby-dev:21773]
* lib/drb/unix.rb: add LoadError. [ruby-dev:21743]
8 lines of code changed in:
add DRbArray, and change yield. [ruby-dev:21773]
33 lines of code changed in:
* lib/soap/generator.rb: better XML pretty printing.
* lib/soap/encodingstyle/soapHandler.rb: remove unnecessary namespace
assignment in the element which has "encodingStyle" attribute, and add
necessary namespace assignment for "arrayType" attribute.
* test/soap/calc/test_calc_cgi.rb: take over $DEBUG to ruby process through CGI.
24 lines of code changed in:
* ext/syck/yaml2byte.c: HASH const too long. Thanks, matz.
5 lines of code changed in:
ChangeLog: typo fiix.
1 lines of code changed in:
add test Hash#each, and change load_limit
19 lines of code changed in:
* ext/syck/MANIFEST: Add yamlbyte.h.
5 lines of code changed in:
* io.c (READ_DATA_BUFFERED): new macro to detect whether stdio
buffer filled.
* io.c (rb_io_fptr_cleanup): move path deallocation to
rb_io_fptr_finalize (finalizer called by GC).
132 lines of code changed in:
* parse.y (logop): left may be NULL. [ruby-talk:84539]
* eval.c (rb_eval): NODE_CASE nd_head may be NULL.
* eval.c (rb_eval): remove never occurred NODE_WHEN branch.
13 lines of code changed in:
* lib/test/unit/autorunner.rb: make fox runners work.
6 lines of code changed in:
2003-10-30
3 lines of code changed in:
* process.c (rb_f_system): fixed lack of security check before
calling do_spawn() on win32. [ruby-talk:84555]
6 lines of code changed in:
* eval.c (proc_invoke): single array value to normal Proc#call
(i.e. not via lambda call), should be treated just like yield.
[ruby-dev:21726]
71 lines of code changed in:
* ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):
add new method to inherit @sync from @io.sync.
* ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): no need to
set sync flag explicitly.
* ext/openssl/ossl_ssl.c (ossl_sslctx_initialize): call super.
* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): set extra chain
certificates in @extra_chain_cert.
41 lines of code changed in:
* test/drb/drbtest.rb: use rbconfig.rb to make the path of ruby interpreter to
exec, instead of test/ruby/envutil.rb,
11 lines of code changed in:
* ext/tcltklib/tcltklib.c (CONST84): define CONST84 when it is not
defined and TCL_MAJOR_VERSION >= 8.
* ext/tcltklib/tcltklib.c (VwaitVarProc, WaitVariableProc,
rb_threadVwaitProc): use CONST84 instead of CONST.
* ext/tcltklib/tcltklib.c (ip_rbTkWaitCommand,
ip_rb_threadTkWaitCommand): use CONST84 always.
37 lines of code changed in:
* re.c (rb_reg_s_union, Init_Regexp): new method `Regexp.union'.
* lib/pathname.rb (realpath): examine Dir.pwd because it may have
symlinks.
120 lines of code changed in:
* eval.c (rb_longjmp): must not disturb original jump.
[ruby-dev:21733]
6 lines of code changed in:
* eval.c (Init_Proc): taint preallocated exception object
sysstack_error. [ruby-talk:84534]
7 lines of code changed in:
2003-10-29
3 lines of code changed in:
* parse.y (ret_args): node may be NULL. [ruby-talk:84530]
6 lines of code changed in:
change yield2 test. [ruby-dev:21739]
2 lines of code changed in:
* ext/tcltklib/tcltklib.c (VwaitVarProc, ip_rbVwaitObjCmd,
WaitVariableProc, WaitVisibilityProc, WaitWindowProc,
ip_rbTkWaitObjCmd, ip_rbTkWaitCommand, rb_threadVwaitProc,
rb_threadWaitVisibilityProc, rb_threadWaitWindowProc,
ip_rb_threadVwaitObjCmd, ip_rb_threadTkWaitObjCmd): prototype;
avoid VC++ warnings.
41 lines of code changed in:
2003-10-28
3 lines of code changed in:
* parse.y (new_yield): remove magic argument rule; "yield [1,2]"
should yield single array of two elements, not two values.
[ruby-dev:21726]
63 lines of code changed in:
* eval.c (rb_longjmp): ignore reentering error while warning.
[ruby-dev:21730]
9 lines of code changed in:
2003-10-27
3 lines of code changed in:
bug fix on Win : hang-up when calling 'exit' in the Tk callback
procedure. [ruby-list:38656]
10 lines of code changed in:
add yield test for [ruby-dev:21707]
5 lines of code changed in:
2003-10-26
3 lines of code changed in:
add TkRoot.destroy
4 lines of code changed in:
* eval.c (rb_method_missing): protect exception from within
"inspect". (ruby-bugs PR#1204)
19 lines of code changed in:
2003-10-24
3 lines of code changed in:
* hash.c (rb_hash_each): Hash#each should yield single value.
[ruby-talk:84420]
* hash.c (env_each): ditto for ENV.each.
51 lines of code changed in:
* lib/webrick/server.rb (GenericServer#start): should rescue
IOError from IO::accept. [ruby-dev:21692]
6 lines of code changed in:
2003-10-23
3 lines of code changed in:
* eval.c (ruby_cleanup): initialize stack bottom for embedding.
[ruby-dev:21686]
* ext/dl/extconf.rb: move list of files to clean from DEPEND file,
to get rid of macro redefinitions.
13 lines of code changed in:
* parse.y: integrate operations for stack_type. [ruby-dev:21681]
17 lines of code changed in:
typo in comment.
1 lines of code changed in:
* test/soap/calc/*, test/soap/helloworld/*: set logging threshold to ERROR.
21 lines of code changed in:
--enable-dlstack is true in default.
2 lines of code changed in:
Bugfix for PR#1196
5 lines of code changed in:
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
ignore tests which raised LoadError.
* test/drb/drbtest.rb, test/ruby/test_beginendblock.rb,
test/ruby/test_system.rb: avoid requiring same file twice.
* test/drb/test_drbssl.rb, test/drb/test_drbunix.rb: should not use
ARGV unless invoked directly. do not create test cases unless
required libraries are available.
36 lines of code changed in:
2003-10-22
3 lines of code changed in:
* eval.c (ruby_cleanup): should not ignore exit_value in END
execution. [ruby-dev:21670]
6 lines of code changed in:
* test/drb/drbtest.rb: import drb common test utilities.
299 lines of code changed in:
* eval.c (ruby_cleanup): call finalizers and exit procs before
terminating threads.
* eval.c (ruby_cleanup): preserve ruby_errinfo before ruby_finalize_0().
117 lines of code changed in:
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
prepend the directory of target file to the load path.
9 lines of code changed in:
* win32/win32.c (do_spawn, do_aspawn): should return child's exit
status to parent.
11 lines of code changed in:
* win32/win32.c (do_spawn, do_aspawn): should wait child process even
if callded with P_OVERLAY.
7 lines of code changed in:
2003-10-21
3 lines of code changed in:
bug fix
6 lines of code changed in:
Added math.rb descriptions.
17 lines of code changed in:
Local version number(BigDecimal::ver) incremented.
5 lines of code changed in:
can read data from file.
45 lines of code changed in:
C++/C99 style comments are not allowed yet. (ruby-bugs:PR#1184)
17 lines of code changed in:
* test/soap/calc/*, test/soap/helloworld/*: catch the exception from test
server thread and recover.
29 lines of code changed in:
import drb/runit/*.rb
1279 lines of code changed in:
* eval.c (rb_eval): set current node after arguments evaluation.
[ruby-dev:21632]
* eval.c (rb_yield_0): set current node and keep it at local jump.
16 lines of code changed in:
* eval.c (rb_thread_cleanup): keep thread group for main thread.
[ruby-dev:21644]
7 lines of code changed in:
* eval.c (rb_catch): backout.
5 lines of code changed in:
* eval.c (PUSH_FRAME): generate unique number to be TAG_JUMP()
destination.
* eval.c (localjump_destination): use unique number in ruby_frame
for localjump destination.
24 lines of code changed in:
* test/ruby/test_signal.rb (test_signal): restore old trap.
12 lines of code changed in:
2003-10-20
3 lines of code changed in:
* gc.c (gc_sweep): loosen page free condition to avoid add_heap()
race condition. [ruby-dev:21633]
* gc.c (gc_sweep): do not update malloc_limit when malloc_increase
is smaller than malloc_limit.
* ext/socket/socket.c (make_hostent): h_aliases may be NULL.
(ruby-bugs PR#1195)
* ext/socket/socket.c (sock_s_gethostbyaddr): ditto.
42 lines of code changed in:
* lib/debug.rb (debug_command): remove debug print.
4 lines of code changed in:
2003-10-19
3 lines of code changed in:
* lib/pathname.rb (foreachline, dir_foreach): add obsolete warning.
14 lines of code changed in:
* test/soap/calc/*, test/soap/helloworkd/*: changed port# of test server.
(17171)
24 lines of code changed in:
* missing/acosh.c (DBL_MANT_DIG): typo fix(ifdef -> ifndef).
5 lines of code changed in:
2003-10-18
3 lines of code changed in:
modify the message and comments on the source
31 lines of code changed in:
* ext/syck/yamlbyte.h: Ditto.
172 lines of code changed in:
* ext/syck/rubyext.c: YAML::Syck::compile method.
* ext/syck/syck.c: Buffer edge bug.
* ext/syck/yaml2byte.c: YAML to bytecode converter.
* ext/syck/bytecode.c: Bytecode parser fixes to empty collections
and empty strings.
* ext/syck/token.c: Ditto.
4111 lines of code changed in:
* ext/enumerator/enumerator.c, ext/enumerator/enumerator.txt:
Provide Kernel#to_enum as an alias for Kernel#enum_for. Maybe
this is a better name.
14 lines of code changed in:
* lib/generator.rb: Add rdoc documentation.
84 lines of code changed in:
* lib/set.rb: Reword and fix Overview.
* lib/set.rb: It is not necessary to require
'test/unit/ui/console/testrunner'.
7 lines of code changed in:
Reword and fix Overview.
It is not necessary to require 'test/unit/ui/console/testrunner'.
5 lines of code changed in:
2003-10-17
3 lines of code changed in:
add some documents
220 lines of code changed in:
* test/ruby/test_range.rb: added.
* MANIFEST: add test/ruby/test_range.rb.
20 lines of code changed in:
forgot to add 'unicodeout.rb'
2 lines of code changed in:
consistent parentheses in assignment RHS.
48 lines of code changed in:
* lib/debug.rb (DEBUGGER__::Context::debug_command): do not call
debug_silent_eval() when $1 is not set. (ruby-bugs PR#1194)
11 lines of code changed in:
(bug fix) instance variable @frame was used without initializing on
TkComposite module
7 lines of code changed in:
If $DEBUG == true and some exception is caused in a callback
operation, Ruby/Tk shows a (verbose) backtrace information on
the callback process.
23 lines of code changed in:
2003-10-16
3 lines of code changed in:
* string.c (rb_str_upto): ("a"..."a").to_a should return [].
[ruby-core:01634]
8 lines of code changed in:
Add Tk::EncodedString and Tk::UTF8_String class to support characters
using the \uXXXX escape to the UNICODE string.
sample/{demos-en,demos-jp}/unicodeout.rb are samples of Tk::UTF8_String.
301 lines of code changed in:
* test/digest/test_digest.rb (test_eq): show failed class.
* test/ruby/test_iterator.rb (test_break, test_return_trace_func):
test localjump destination.
31 lines of code changed in:
Add a XXX comment.
1 lines of code changed in:
* lib/soap/netHttpClient.rb: use URI::HTTP#request_uri instead of
instance_eval('path_query'). [ruby-list:38575]
7 lines of code changed in:
* lib/cgi.rb (CGI::Cookie): tiny typo fix.
5 lines of code changed in:
* eval.c (ruby_run): just return FAILURE instead of parse error
count. [ruby-list:38569]
10 lines of code changed in:
* ext/digest/digest.c (rb_digest_base_alloc): need to initialize
buffer. [ruby-dev:21622]
6 lines of code changed in:
* marshal.c (w_object): dump extended modules as well.
* marshal.c (r_object0): TYPE_USRMARSHAL should restore extended
modules before invoking marshal_load. these two fixes are done
by Masatoshi Seki <m_seki@mva.biglobe.ne.jp>.
* parse.y (yylex): argument parentheses preceded by spaces should
be warned; not error. [ruby-talk:84103]
41 lines of code changed in:
ruby-list
1 lines of code changed in:
add entry3.rb
2 lines of code changed in:
2003-10-15
3 lines of code changed in:
* ext/enumerator/enumerator.c (enumerator_each): avoid VC++ warning.
* ext/syck/syck.h: include stdio.h for definition of FILE.
8 lines of code changed in:
* ext/syck/bytecode.c: Checkin of YAML bytecode support.
* ext/syck/gram.c: Ditto.
* ext/syck/syck.c: Ditto.
* ext/syck/token.c: Ditto.
* ext/syck/handler.c: Ditto.
* ext/syck/handler.c: Now using 'tag' rather than 'taguri' in type URIs.
* ext/syck/rubyext.c: Ditto (on both counts).
2625 lines of code changed in:
Update.
2 lines of code changed in:
* lib/generator.rb: A new library which converts an internal
iterator to an external iterator.
* lib/abbrev.rb: A new library which creates an abbreviation table
from a list.
383 lines of code changed in:
ext/tk/sample/demos-en/entry3.rb, ext/tk/sample/demos-jp/entry3.rb :
* new demo-scripts
ext/tk/sample/demos-en/widget, ext/tk/sample/demos-jp/widget :
* add entries for 'entry3.rb'
419 lines of code changed in:
* test/digest/test_digest.rb: Moved from ext/digest/test.rb.
96 lines of code changed in:
ChangeLog: forgot. sorry
5 lines of code changed in:
ext/tk/lib/tk.rb:
* fixed trouble on auto-load Tcl commands (enbug on the last commit).
7 lines of code changed in:
ext/tcltklib/tcltklib.c:
* replace Tcl/Tk's vwait and tkwait to switch on threads smoothly and
avoid seg-fault.
* add TclTkIp._thread_vwait and _thread_tkwait for waiting on a thread.
( Because Tcl/Tk's vwait and tkwait command wait on a eventloop. )
ext/tk/lib/multi-tk.rb:
* support TclTkIp._thread_vwait and _thread_tkwait
ext/tk/lib/tk.rb:
* now, TkVariable#wait has 2 arguments.
If 1st argument is true, waits on a thread. If false, waits on an eventloop.
If 2nd argument is true, checks existence of rootwidgets. If false, doesn't.
Default is wait(true, false).
* add TkVariable#tkwait(arg) which is equal to TkVariable#wait(arg, true)
* wait_visibility and wait_destroy have an argument for waiting on a
thread or an eventloop.
* improve of accessing Tcl/Tk's special variables
ext/tk/lib/tkafter.rb:
* support 'wait on a thread' and 'wait on an eventloop'
1014 lines of code changed in:
forgot..
22 lines of code changed in:
* lib/soap/baseData.rb: Introduce SOAPType as the common ancestor of
SOAPBasetype and SOAPCompoundtype.
* lib/soap/generator.rb, lib/soap/element.rb, lib/soap/encodingstyle/*:
Encoding methods signature change. Pass SOAPGenerator as a parameter.
* lib/soap/mapping/*, test/soap/marshal/test_marshal.rb: Refactoring for better
marshalling/unmarshalling support. Now I think SOAP marshaller supports all
kind of object graph which is supported by Ruby's original marshaller. Of
course there could be bugs as always. Find it. :-)
* lib/soap/rpc/standaloneServer.rb: Set severity threshould to INFO. DEBUG is
too noisy.
* lib/xsd/datatypes.rb: DateTime#of is obsoleted. Use DateTime#offset.
* test/wsdl/emptycomplextype.wsdl, test/xsd/xmlschema.xml: Avoid useless
warning.
688 lines of code changed in:
* eval.c (ruby_finalize_0): return the given exit status unless
SystemExit got raised.
8 lines of code changed in:
* intern.h (ruby_stop): never return.
* ruby.h (ruby_run): ditto.
8 lines of code changed in:
* lib/pathname.rb (realpath): make ELOOP check bit more robust.
(children): prepend self by default.
(chroot): obsoleted.
45 lines of code changed in:
2003-10-14
3 lines of code changed in:
commit miss.
1 lines of code changed in:
* eval.c (rb_require_safe): segfault after loading .so.
8 lines of code changed in:
Add ext/enumerator, a helper module for the Enumerable interface.
58 lines of code changed in:
* test/ruby/envutil.rb: use Config::CONFIG["ruby_install_name"],
not "ruby".
15 lines of code changed in:
* eval.c (rb_feature_p): match by classified suffix.
* eval.c (rb_require_safe): require library in the specified safe
level.
* variable.c (rb_autoload, rb_autoload_load): restore safe level
when autoload was called. [ruby-dev:21338]
* intern.h: prototypes; rb_require_safe.
* test/runner.rb: accept non-option arguments.
202 lines of code changed in:
2003-10-13
3 lines of code changed in:
* string.c (str_new4): should not preserve FL_TAINT status in the
internal shared string. [ruby-dev:21601]
* string.c (rb_str_new4): ditto.
* eval.c: use EXIT_SUCCESS and EXIT_FAILURE for exit values.
* process.c: ditto. [ruby-dev:38521]
* lib/debug.rb (debug_command): should enter emacs mode when
assigned any value to the environment variable "EMACS".
On Meadow, (getenv "EMACS") is "meadow".
63 lines of code changed in:
2003-10-12
3 lines of code changed in:
* ext/win32ole/extconf.rb: check "windows.h", not "windows".
[ruby-talk:84051]
6 lines of code changed in:
* lib/rexml/quickpath.rb (REXML::QuickPath::match):
escape '[' to avoid warning.
6 lines of code changed in:
fix previous change.
3 lines of code changed in:
* lib/pathname.rb (realpath): check existence of the file.
4 lines of code changed in:
* lib/pathname.rb (realpath): re-implemented.
(realpath_root?, realpath_rec): removed
35 lines of code changed in:
2003-10-11
3 lines of code changed in:
* lib/pathname.rb (realpath_rec): fix handling of symlink to absolute
path.
13 lines of code changed in:
* lib/monitor.rb: handle exceptions correctly. Thanks, Gennady
Bystritsky.
25 lines of code changed in:
* MANIFEST: add these files:
lib/rexml/encodings/ICONV.rb
lib/rexml/encodings/UTF-8.rb
2 lines of code changed in:
* Forgot to update the MANIFEST, WRT the removal of files from the
rexml/encodings directory
* Missed a regexp speed optimization in rexml/parsers/baseparser.rb
1 lines of code changed in:
* Changes to the encoding mechanism. If iconv is found, it is used first
for encoding changes. This should be the case on all 1.8 installations.
When it isn't found (<1.6), the native REXML encoding mechanism is used.
This cleaned out some files, and tightened up the code a bit; and iconv
should be faster than the pure Ruby code.
* Changed deprecated assert_not_nil to assert throughout the tests.
* Parse exceptions are a little more verbose, and extend RuntimeError.
* Bug fixes to XPathParser
* The Light API is still shifting, like the sands of the desert.
* Fixed a new Ruby 1.8.0 warning, added some speed optimizations, and
tightened error reporting in the base parser
183 lines of code changed in:
2003-10-10
3 lines of code changed in:
* eval.c (is_defined): inheritance line adjustment as like as
rb_call_super().
51 lines of code changed in:
* marshal.c (r_object0): remove unnecessary iv restoration for
USRMARSHAL. [ruby-dev:21582]
* marshal.c (w_object): dump generic instance variables from
a string from '_dump'.
* variable.c (rb_generic_ivar_table): return 0 if obj's FL_EXIVAR
is not set.
* time.c (time_dump): copy instance variables to dumped string, to
be included in the marshaled data.
* bignum.c (rb_big2ulong): add range check to ensure round trip.
62 lines of code changed in:
* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): add
optional argument to specify the DirectoryString type
(ASN1::UTF8STRING by default). RFC3280 deprecates PrintableString
for DirectoryString, and strongly requires to use UTF8String for
all certificates issued after December, 31 2003.
* ext/openssl/lib/openssl/x509.rb (X509::Name::parse): ditto.
16 lines of code changed in:
* eval.c (rb_thread_start_0): prevent thread from GC.
[ruby-dev:21572]
7 lines of code changed in:
* eval.c (rb_thread_start_0): non-volatile should be restored from
volatile.
7 lines of code changed in:
* eval.c (proc_save_safe_level, proc_get_safe_level,
proc_set_safe_level): save/restore safe level 1..4.
10 lines of code changed in:
* pack.c (uv_to_utf8): change message to "out of range", since
negative values are not "too big". [ruby-dev21567]
* marshal.c (w_object): should pass the value of "weak" to
w_object(). [ruby-dev:21555] and [ruby-dev:21561]
20 lines of code changed in:
* eval.c (rb_set_end_proc, rb_exec_end_proc): restore safe level.
[ruby-dev:21557]
11 lines of code changed in:
* eval.c (rb_yield_0): no error if block is empty.
8 lines of code changed in:
2003-10-09
3 lines of code changed in:
eval.c (eval): re-indented.
9 lines of code changed in:
commit miss.
0 lines of code changed in:
* eval.c (localjump_error): id should be ID.
* eval.c (rb_eval): nd_rval is set in copy_node_scope().
* eval.c (rb_yield_0): unused variable.
* eval.c (rb_yield_0): nothing to do for empty node.
* eval.c (call_end_proc, proc_invoke): adjust backtrace in END.
[ruby-dev:21551]
* eval.c (rb_thread_start_0): set the value by break as the result.
[ruby-dev:21552]
* eval.c (rb_thread_start_0, rb_thread_raise, rb_callcc): save
variables across THREAD_SAVE_CONTEXT.
50 lines of code changed in:
2003-10-08
3 lines of code changed in:
* MANIFEST: add these files:
lib/test/unit/autorunner.rb
lib/test/unit/collector.rb
lib/test/unit/collector/dir.rb
test/testunit/collector/test_dir.rb
4 lines of code changed in:
* lib/test/unit.rb: removed installation instructions.
* lib/test/unit/ui/testrunnermediator.rb: moved the run flag to a more
central location.
* lib/test/unit.rb: ditto.
* lib/test/unit.rb: extracted the running code in to AutoRunner.
* lib/test/unit/autorunner.rb: added.
* lib/test/unit/collector/objectspace.rb: extracted common test
collection functionality in to a module.
* lib/test/unit/collector.rb: ditto; added.
* test/testunit/collector/test_objectspace.rb: ditto.
* lib/test/unit/collector/dir.rb: added. Supports collecting tests out
of a directory structure.
* test/testunit/collector/test_dir.rb: added.
* test/runner.rb: simplified to use the new capabilities.
775 lines of code changed in:
applied patch by OHARA Shigeki:
* use Apache::Request#headers_in instead of obsolete #headers methods
* XMLRPC::ModRubyServer::new is no longer a singleton method
3 lines of code changed in:
* MANIFEST: add test/ruby/endblockwarn.rb.
1 lines of code changed in:
* test/ruby/test_beginendblock.rb, test/ruby/endblockwarn.rb: commited older
version..
1 lines of code changed in:
* test/ruby/test_beginendblock.rb: add tests for nested BEGIN/END.
* test/ruby/beginmainend.rb: add tests for nested BEGIN/END.
* test/ruby/endblockwarn.rb: new file added to test of END-in-method warning.
119 lines of code changed in:
define Fcntl::O_ACCMODE instead of Fcntl::ACCMODE to be consist with
other constants.
3 lines of code changed in:
* ext/fcntl/fcntl.c (Init_fcntl): define Fcntl::ACCMODE.
8 lines of code changed in:
* ext/socket/extconf.rb: useless assignment removed.
6 lines of code changed in:
* test/ruby/test_beginendblock.rb (test_endinmethod): END{} is now
allowed in eval.
9 lines of code changed in:
* parse.y (stmt): should not expand mrhs if lhs is solely starred.
6 lines of code changed in:
* parse.y (stmt): rhs of multiple assignment should not be
expanded using "to_a". [ruby-dev:21527]
44 lines of code changed in:
* ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): use appropriate
free function for ASN1_OBJECT.
* ext/openssl/ossl_asn1.c (ossl_asn1obj_get_sn): add new function for
ASN1::ObjectId#sn; it returns short name text representation of OID.
* ext/openssl/ossl_asn1.c (ossl_asn1obj_get_ln): add new function for
ASN1::ObjectId#ln; it returns long name text representation of OID.
* ext/openssl/ossl_asn1.c (ossl_asn1obj_get_oid): add new function for
ASN1::ObjectId#oid; it returns numerical representation of OID.
61 lines of code changed in:
* lib/csv.rb (IOReader, BasicWriter): call binmode when a given IO
respond_to?(:binmode). record separator was wrong when you gave text mode IO
to Reader.parse and Writer.generate.
* test/csv/test_csv.rb: add tests for above change.
62 lines of code changed in:
* ext/socket/extconf.rb: check recvmsg even if sendmsg is exists.
* ext/socket/socket.c (thread_read_select): restored.
20 lines of code changed in:
* marshal.c (w_object): wrong method name in the message.
5 lines of code changed in:
2003-10-06
3 lines of code changed in:
* parse.y (stmt): END in method should cause warning.
[ruby-dev:21519]
7 lines of code changed in:
* test/ruby/test_iterator.rb (test_block_argument_without_paren): added.
(follows sample/test.rb)
16 lines of code changed in:
* test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: added test for
eval-ed BEGIN END order.
24 lines of code changed in:
* marshal.c (w_object): should pass "weak" value to next level.
[ruby-dev:21496]
* eval.c (proc_alloc): should not use cached object if klass is
different. [ruby-talk:83685]
11 lines of code changed in:
* lib/pathname.rb: version information is added in document.
43 lines of code changed in:
* eval.c (rb_f_END): block should be given. [ruby-dev:21497]
5 lines of code changed in:
* lib/ext/openssl/extconf.rb: add check for some engine functions
unavailable in OpenSSL-0.9.6.
* lib/ext/openssl/ossl_engine.c: ditto.
35 lines of code changed in:
* MANIFEST: add these files:
test/ruby/beginmainend.rb
test/ruby/envutil.rb
test/ruby/test_beginendblock.rb
test/testunit/runit/test_assert.rb
test/testunit/runit/test_testcase.rb
test/testunit/runit/test_testresult.rb
test/testunit/runit/test_testsuite.rb
7 lines of code changed in:
add rinda, (import from drb-2.0.4)
652 lines of code changed in:
* eval.c (rb_eval): fix evaluation order. [ruby-list:38431]
20 lines of code changed in:
* test/uri/*: translated RUNIT to Test::Unit.
76 lines of code changed in:
* lib/xsd/datatypes.rb: Rational -> Decimal string bug fix.
* test/soap/marshal/test_marshal.rb: ditto.
* test/soap/calc/test_calc_cgi.rb: add Config::CONFIG["EXEECT"] to RUBYBIN.
19 lines of code changed in:
* test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: add tests about
scope, order and allowd syntax.
48 lines of code changed in:
* test/ruby/envutil.rb: added. split "rubybin" from test_system.rb.
* test/ruby/test_system.rb: use envutil.rb
* test/ruby/test_beginendblock.rb: added.
* test/ruby/beginmainend.rb: added. used in test_beginendblock.rb.
43 lines of code changed in:
* test/testunit/runit/test_testresult.rb: removed some unnecessary
cruft.
6 lines of code changed in:
* lib/rubyunit.rb: aliasing TestCase into the top level is
problematic.
* lib/runit/assert.rb: fixed a couple of bugs caused by recent
refactoring in Test::Unit.
* test/testunit/runit/*: added.
721 lines of code changed in:
* lib/open-uri.rb (URI::Generic#find_proxy): no_proxy support did not work.
[ruby-dev:21484]
8 lines of code changed in:
* lib/test/unit/assertions.rb: will use pp for output if available.
Can be disabled by setting Assertions.use_pp = false.
* test/testunit/test_assertions.rb: made a small change to exception
formatting.
41 lines of code changed in:
* lib/test/unit/assertions.rb: made small improvements to assertion
messages. Deprecated Assertions#assert_not_nil; use #assert instead.
* test/testunit/test_assertions.rb: ditto.
* test/testunit/util/test_procwrapper.rb: use #assert instead of
#assert_not_nil.
100 lines of code changed in:
* lib/test/unit/assertions.rb: refactored message building.
98 lines of code changed in:
delete CVS confliction indicator. sorry.
0 lines of code changed in:
* ext/openssl/ossl_asn1.h: global symbols should be declared
as external.
24 lines of code changed in:
* test/ruby/test_exception.rb (test_else): added.
96 lines of code changed in:
2003-10-05
3 lines of code changed in:
* marshal.c (w_object): instance variable dump do not cause error
for objects that cannot be dumped, if they traversed from
marshal_dump. they are just ignored.
* gc.c (Init_stack): cast "space" (doble value) into unsigned
int. should run on PowerPC.
* eval.c (rb_eval): should not execute else part if any exception
is caught. [ruby-dev:21482]
* parse.y (f_args): should allow unparenthesized block argument.
* parse.y (f_rest_arg): should allow unparenthesized rest
argument.
* lib/irb/ruby-lex.rb (RubyLex::identify_identifier): support
'class ::Foo' syntax. [ruby-talk:83514]
80 lines of code changed in:
* lib/test/unit/assertions.rb: changed assertion messages to rely more
heavily on #inspect. Added backtrace filtering for exceptions in
assertion messages.
* test/testunit/test_assertions.rb: ditto.
106 lines of code changed in:
* lib/drb/acl.rb, lib/drb/ssl.rb: added.
* lib/drb/drb.rb: exit from a thread using 'break'.
6 lines of code changed in:
* add lib/drb/acl.rb, lib/drb/ssl.rb
2 lines of code changed in:
add acl.rb, ssl.rb
329 lines of code changed in:
exit from a thread using 'break'
1 lines of code changed in:
* MANIFEST: added these files:
test/uri/test_common.rb
test/uri/test_ftp.rb
test/uri/test_generic.rb
test/uri/test_http.rb
test/uri/test_ldap.rb
test/uri/test_mailto.rb
test/yaml/test_yaml.rb
7 lines of code changed in:
* gc.c (Init_stack): the type of space is changed to unsigned int
from double. [ruby-dev:21483]
6 lines of code changed in:
* lib/soap/netHttpClient.rb: follow http-access2. hosts which matches
ENV['no_proxy'] or ENV['NO_PROXY'] is not proxyed.
- [,:] separated. ("ruby-lang.org:rubyist.net")
- no regexp. (give "ruby-lang.org", not "*.ruby-lang.org")
- if you want specify hot by IP address, give full address.
("192.168.1.1, 192.168.1.2")
* lib/soap/rpc/cgistub.rb: return "Status: XXX MMM" line.
* test/runner.rb: give testsuite name.
43 lines of code changed in:
* lib/pathname.rb (initialize): raise ArgumentError if argument has
'\0' character.
(relative_path_from): new method.
(each_entry): new method for replacement of dir_foreach.
(foreach, foreachline, dir_foreach, chdir): obsoleted.
115 lines of code changed in:
* test/uri/* (6 files): added.
1079 lines of code changed in:
* lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.
7 lines of code changed in:
* lib/test/unit/testsuite.rb: changed #<< to return self, and added
#delete.
* test/testunit/test_testsuite.rb: ditto. Also slightly refactored
#test_size.
* lib/test/unit/collector/objectspace.rb: collector now preserves the
hierarchy of suites.
* test/testunit/collector/test_objectspace.rb: ditto.
63 lines of code changed in:
* ext/syck/rubyext.c: default keys handled.
* ext/syck/syck.h: lowered default buffer size to 16k for increased
performance.
* test/yaml: checkin of basic unit tests.
1189 lines of code changed in:
* ext/openssl/extconf.rb: add check for X509V3_set_nconf.
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_config):
cannot implement if X509V3_set_nconf doesn't exist.
12 lines of code changed in:
ossl_asn1.h was included twice.
0 lines of code changed in:
* lib/xsd/datatypes.rb: dump sign by itself. under the problematic platform,
sprintf("%+.10g", -0.0) => +0. Sigh.
* sample/wsdl/amazon/*: update schema ver2 to ver3.
1200 lines of code changed in:
2003-10-04
3 lines of code changed in:
* lib/pathname.rb (initialize): duplicate and freeze argument.
(to_s): return duplicated string.
(children): new method.
(each_line): new alias to foreachline.
31 lines of code changed in:
* MANIFEST: add following files:
lib/test/unit/util/backtracefilter.rb
test/testunit/test_failure.rb
test/testunit/util/test_backtracefilter.rb
284 lines of code changed in:
* ext/openssl/ossl_asn1.c: add DER encoder and decoder.
* ext/openssl/ossl_asn1.h: add OpenSSL::ASN1 module.
* ext/openssl/ossl.c (Init_openssl): call Init_ossl_asn1.
* ext/openssl/ossl.h: include ossl_asn1.h.
* ext/openssl/extconf.rb: check if X509_ATTRIBUTE has field "single".
* ext/openssl/ossl_x509attr.c (ossl_x509attr_set_value): accept
DER encoded data argument.
* ext/openssl/ossl_x509attr.c (ossl_x509attr_get_value): return
DER encoded data in OpenSSL::ASN1 types.
1035 lines of code changed in:
* lib/test/unit.rb: refactored to use optparse.
* lib/test/unit.rb: added support for selecting the output
level from the command-line.
* lib/test/unit.rb: added a command-line switch to stop processing
the command-line, allowing arguments to be passed to tests.
* lib/test/unit.rb: changed the method for specifying a runner or a
filter from the command-line.
* lib/test/unit/collector/objectspace.rb: fixed a bug causing all
tests to be excluded when the filter was set to an empty array.
* test/testunit/collector/test_objectspace.rb: ditto.
111 lines of code changed in:
2003-10-03
3 lines of code changed in:
* lib/test/unit/assertions.rb: added a default message for #assert,
#assert_block, and #flunk.
* test/testunit/test_assertions.rb: ditto.
* lib/test/unit/failure.rb: failures now show a better trace of where
they occurred.
* test/testunit/test_failure.rb: ditto (added).
* lib/test/unit/testcase.rb: ditto.
* test/testunit/test_testcase.rb: ditto.
* lib/test/unit/util/backtracefilter.rb: added.
* test/testunit/util/test_backtracefilter.rb: added.
* lib/test/unit/error.rb: changed to use BacktraceFilter and improved
output.
* test/testunit/test_error.rb: ditto.
219 lines of code changed in:
ENGINE_load_public_key takes four arguments since OpenSSL-0.9.7
1 lines of code changed in:
ENGINE_load_private_key takes four arguments since OpenSSL-0.9.7
1 lines of code changed in:
* ext/iconv/iconv.c (iconv_failure_initialize): conform with
orthodox initialization method.
* ext/iconv/iconv.c (iconv_fail): initialize exception instance
from the class, and do not share instance variables with the
others. [ruby-dev:21470]
58 lines of code changed in:
* time.c (Init_Time): define initialize. [ruby-dev:21469]
5 lines of code changed in:
* ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine.
it supports OpenSSL hardware cryptographic engine interface.
* ext/openssl/ossl_engine.h: ditto.
* ext/openssl/MANIFEST: add ossl_engine.c and ossl_engine.h.
* ext/openssl/extconf.rb: add check for openssl/engine.h.
* ext/openssl/ossl.c: call Init_ossl_engine().
* ext/openssl/ossl.h: include openssl/engine.h.
* ext/openssl/ossl_pkey_{rsa,dsa,dh}.c: check if underlying
EVP_PKEY referes engine.
375 lines of code changed in:
* time.c (time_load): restore instance variables (if any) before
loading from marshaled data.
* time.c (time_mdump): new marshal dumper. _dump is still
available for compatibility.
* time.c (time_mload): new marshal loader.
* marshal.c (w_object): preserve instance variables for objects
with marshal_dump.
* marshal.c (r_object0): restore instance variables before calling
marshal_load.
* error.c (rb_warn_m): always return nil.
189 lines of code changed in:
* ext/iconv/iconv.c (iconv_fail): now yield erred substring, and
set error object to $!.
* ext/iconv/iconv.c (iconv_convert): error handler block should
return appended part and the rest. if rest is nil, the
conversion stops.
42 lines of code changed in:
* variable.c (rb_const_defined_0): look up constants in Object as
well. [ruby-dev:21458]
* test/ruby/test_defined.rb (TestDefined::test_defined): test for
constants.
20 lines of code changed in:
* lib/test/unit/assertions.rb: should not capture an
AssertionFailedError unless explicitly requested.
* test/testunit/test_assertions.rb: ditto.
* test/testunit/collector/test_objectspace.rb: fixed a test failure
caused by methods being returned in different orders on different
platforms by moving test sorting from TestSuite into the locations
where suites are constructed. [ruby-talk:83156]
* lib/test/unit/testcase.rb: ditto.
* lib/test/unit/testsuite.rb: ditto.
* lib/test/unit/collector/objectspace.rb: ditto.
40 lines of code changed in:
* eval.c (rb_thread_raise): prototype; avoid VC++ warning.
5 lines of code changed in:
2003-10-02
3 lines of code changed in:
* eval.c (rb_f_block_given_p): real required condition is
ruby_frame->prev->iter == ITER_CUR.
* eval.c (rb_block_given_p): ditto.
* eval.c (block_pass): update ruby_frame->iter only when previous
value is ITER_NOT.
14 lines of code changed in:
* variable.c (rb_const_defined_at): should exclude constants from
Object when TYPE(klass) == T_MODULE *and* exclude is on.
[ruby-dev:21458]
* variable.c (rb_const_get_0): do not lookup constants from Object
when TYPE(klass) == T_MODULE *and* exclude is on.
16 lines of code changed in:
* test/logger/test_logger.rb: unlinking file before close causes problem under
win32 box.
* lib/xsd/datatypes.rb(XSDFloat, XSDDouble): add +/- sign explicitly when
stringified and embedded into XML instance. Ruby's sprintf may format -0.0
as "0.0" (no minus sign) depending on underlying C sprintf implementation.
* test/xsd/test_xsd.rb, test/soap/test_basetype.rb: follow above change.
* test/soap/calc/*: give httpd config param "CGIInterpreter".
"/usr/bin/env ruby" thing does not work under non-Unix boxes.
* ChangeLog: corrected wrong DoW of my log entries...
95 lines of code changed in:
* ext/etc/etc.c (etc_getgrent): typo.
3 lines of code changed in:
* signal.c (ruby_signal_name): adjust to the prototype.
* process.c (pst_inspect): ditto.
* ext/etc/etc.c (Init_etc): typo.
12 lines of code changed in:
* ext/etc/etc.c: add new functions: setpwent, getpwent, endpwent,
setgrent, getgrent, endgrent.
* ext/socket/socket.c (sock_s_gethostbyname): do not reverse lookup.
* Makefile.in: copy lex.c from $(srcdir) if it's not the current
directory. [ruby-dev:21437]
237 lines of code changed in:
* gc.c (heaps): manage slots and limits together. [ruby-dev:21453]
* gc.c (add_heap): should not clear heaps slot even if realloc()
failed.
39 lines of code changed in:
* MANIFEST: add wince/mkconfig_wce.rb.
5 lines of code changed in:
2003-10-01
4 lines of code changed in:
* eval.c (rb_load): Object scope had priority over required file
scope. [ruby-dev:21415]
5 lines of code changed in:
* wince/mkconfig_wce.rb: sorry, forget to commit.
4 lines of code changed in:
* wince/setup.mak: add sigmarionIII SDK support.
* wince/Makefile.sub: ditto.
* wince/mkexports.rb: fix linker error in SH4.
* wince/mkconfig_wce.rb: camouflage RUBY_PLATFORM for compiling ext.
49 lines of code changed in:
*wince/time_wce.c (time): add zero check.
6 lines of code changed in: