summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/digest/test_digest.rb (test_eq): show failed class.nobu2003-10-153-3/+31
| | | | | | | | * test/ruby/test_iterator.rb (test_break, test_return_trace_func): test localjump destination. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a XXX comment.knu2003-10-151-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/netHttpClient.rb: use URI::HTTP#request_uri instead ofnahi2003-10-152-2/+7
| | | | | | | instance_eval('path_query'). [ruby-list:38575] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::Cookie): tiny typo fix.matz2003-10-152-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_run): just return FAILURE instead of parse errornobu2003-10-152-5/+10
| | | | | | | count. [ruby-list:38569] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_base_alloc): need to initializeusa2003-10-152-1/+6
| | | | | | | buffer. [ruby-dev:21622] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): dump extended modules as well.matz2003-10-158-14/+41
| | | | | | | | | | | | * 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] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-listnobu2003-10-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add entry3.rbnagai2003-10-151-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-15usa2003-10-151-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/enumerator/enumerator.c (enumerator_each): avoid VC++ warning.usa2003-10-153-1/+8
| | | | | | | * ext/syck/syck.h: include stdio.h for definition of FILE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/bytecode.c: Checkin of YAML bytecode support.why2003-10-1412-3647/+2629
| | | | | | | | | | | | | | | | | * 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). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update.knu2003-10-141-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: A new library which converts an internalknu2003-10-144-0/+383
| | | | | | | | | | iterator to an external iterator. * lib/abbrev.rb: A new library which creates an abbreviation table from a list. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/tk/sample/demos-en/entry3.rb, ext/tk/sample/demos-jp/entry3.rb :nagai2003-10-145-4/+419
| | | | | | | | | | * new demo-scripts ext/tk/sample/demos-en/widget, ext/tk/sample/demos-jp/widget : * add entries for 'entry3.rb' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest.rb: Moved from ext/digest/test.rb.knu2003-10-144-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: forgot. sorrynagai2003-10-141-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/tk/lib/tk.rb:nagai2003-10-141-2/+7
| | | | | | | * fixed trouble on auto-load Tcl commands (enbug on the last commit). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/tcltklib/tcltklib.c:nagai2003-10-146-67/+1015
| | | | | | | | | | | | | | | | | | | | | | | * 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' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot..nahi2003-10-141-0/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/baseData.rb: Introduce SOAPType as the common ancestor ofnahi2003-10-1421-375/+689
| | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_finalize_0): return the given exit status unlessnobu2003-10-142-3/+8
| | | | | | | SystemExit got raised. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (ruby_stop): never return.nobu2003-10-143-2/+8
| | | | | | | * ruby.h (ruby_run): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (realpath): make ELOOP check bit more robust.akr2003-10-132-9/+45
| | | | | | | | (children): prepend self by default. (chroot): obsoleted. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-14knu2003-10-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss.nobu2003-10-131-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_require_safe): segfault after loading .so.nobu2003-10-132-7/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ext/enumerator, a helper module for the Enumerable interface.knu2003-10-1312-1/+318
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb: use Config::CONFIG["ruby_install_name"],eban2003-10-132-2/+15
| | | | | | | not "ruby". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_feature_p): match by classified suffix.nobu2003-10-135-161/+202
| | | | | | | | | | | | | | | * 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-13eban2003-10-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_new4): should not preserve FL_TAINT status in thematz2003-10-136-39/+63
| | | | | | | | | | | | | | | | | 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". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-12eban2003-10-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/extconf.rb: check "windows.h", not "windows".eban2003-10-122-1/+6
| | | | | | | [ruby-talk:84051] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/quickpath.rb (REXML::QuickPath::match):eban2003-10-112-1/+6
| | | | | | | escape '[' to avoid warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous change.akr2003-10-111-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (realpath): check existence of the file.akr2003-10-112-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (realpath): re-implemented.akr2003-10-112-57/+35
| | | | | | | (realpath_root?, realpath_rec): removed git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-11eban2003-10-111-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (realpath_rec): fix handling of symlink to absoluteakr2003-10-112-6/+13
| | | | | | | path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/monitor.rb: handle exceptions correctly. Thanks, Gennadyshugo2003-10-112-13/+25
| | | | | | | Bystritsky. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add these files:eban2003-10-101-0/+2
| | | | | | | | lib/rexml/encodings/ICONV.rb lib/rexml/encodings/UTF-8.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Forgot to update the MANIFEST, WRT the removal of files from theser2003-10-102-8/+1
| | | | | | | | rexml/encodings directory * Missed a regexp speed optimization in rexml/parsers/baseparser.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Changes to the encoding mechanism. If iconv is found, it is used firstser2003-10-1023-222/+183
| | | | | | | | | | | | | | | | 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 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-10nobu2003-10-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (is_defined): inheritance line adjustment as like asnobu2003-10-092-34/+51
| | | | | | | rb_call_super(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): remove unnecessary iv restoration formatz2003-10-096-51/+62
| | | | | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): addgotoyuzo2003-10-093-7/+16
| | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_start_0): prevent thread from GC.nobu2003-10-092-1/+7
| | | | | | | [ruby-dev:21572] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_start_0): non-volatile should be restored fromnobu2003-10-092-1/+7
| | | | | | | volatile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e