aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* consistent parentheses in assignment RHS.matz2003-10-1626-48/+48
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb (DEBUGGER__::Context::debug_command): do not callmatz2003-10-162-4/+11
| | | | | | | debug_silent_eval() when $1 is not set. (ruby-bugs PR#1194) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (bug fix) instance variable @frame was used without initializing onnagai2003-10-162-1/+7
| | | | | | | TkComposite module git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* If $DEBUG == true and some exception is caused in a callbacknagai2003-10-162-1/+23
| | | | | | | | operation, Ruby/Tk shows a (verbose) backtrace information on the callback process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-16eban2003-10-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): ("a"..."a").to_a should return [].matz2003-10-162-1/+8
| | | | | | | [ruby-core:01634] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Tk::EncodedString and Tk::UTF8_String class to support charactersnagai2003-10-167-29/+301
| | | | | | | | using the \uXXXX escape to the UNICODE string. sample/{demos-en,demos-jp}/unicodeout.rb are samples of Tk::UTF8_String. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a XXX comment.knu2003-10-151-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::Cookie): tiny typo fix.matz2003-10-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-listnobu2003-10-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add entry3.rbnagai2003-10-151-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-15usa2003-10-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update.knu2003-10-141-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: forgot. sorrynagai2003-10-141-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot..nahi2003-10-141-0/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-14knu2003-10-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss.nobu2003-10-131-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-13eban2003-10-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-12eban2003-10-121-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous change.akr2003-10-111-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-11eban2003-10-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/monitor.rb: handle exceptions correctly. Thanks, Gennadyshugo2003-10-112-13/+25
| | | | | | | Bystritsky. git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e