summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * error.c (Init_Exception): remove Exception#to_str. [Ruby2]matz2004-04-052-2/+4
| | | | | | | | | | | * eval.c (error_print): should no call "to_str" anymore use "message" method instead. * io.c (rb_f_open): Kernel#open() calls "to_open" if the first argument responds to it. [Ruby2] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add require "drb/drb"seki2004-04-051-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove leading ./ from filenames so that cross references work OKdave2004-04-042-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* comments modified.akr2004-04-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow multiple --exclude options to RDocdave2004-04-042-3/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Fixed a bug in the evaluation of XPath's 'or'ser2004-04-032-12/+18
| | | | | | | | * deprecated #type changed to class.name * XPath's union was was being incorrectly interpreted git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/lib/gram.c: allow root-level inline collections.why2004-04-022-3/+19
| | | | | | | | | | [ruby-talk:94922] * lib/yaml/rubytypes.rb (Symbol#to_yaml): emit symbols as implicits. [ruby-talk:94930] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): extract necessary variables for static linknobu2004-04-021-4/+6
| | | | | | | | | | from Makefile. * lib/mkmf.rb (create_makefile): save preload and libpath for next compile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* REXML changesser2004-04-024-7/+12
| | | | | | | | | | | | | | | * The main purpose for this change is to get a fix in for nasty bug in XPath. In the new code for the descendant-or-self axis, the document order code was calling the wrong method to do node comparisons, causing a terrible overhead that slowed the axis down to the point where it was unusable. This is a common axis, also known as '//', so this fix is critical. * Using Element#text= on a non-Text, non-String argument caused an error. This has been changed so that the behavior is like puts() -- to_s() is called on the object first. * Refactored the pretty-printing code a little. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_load): make $LOADED_FEATURES built-in. [ruby-dev:23299]aamine2004-04-021-9/+0
| | | | | | | | * ruby.c (ruby_prog_init): make $PROGRAM_NAME built-in. * lib/English.rb: remove $LOADED_FEATURES and $PROGRAM_NAME. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* checked in debug version in errordave2004-04-021-9/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments ↵dave2004-04-024-26/+54
| | | | | | (experimental) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/mapping/{factory.rb,registry.rb}: fixed illegal mapped URInahi2004-04-012-2/+17
| | | | | | | | | | | object with soap/marshal. added URIFactory class for URI mapping. BasetypeFactory checks instance_variables when original mapping is not allowed (ivar must be empty). Instance of URI have instance_variables but it must be llowed whenever original mapping is allowed or not. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (DelegateClass): define internal methods of thenobu2004-03-311-7/+7
| | | | | | | result class, but not metaclass of the caller. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * exception message clean-up by Ian Macdonald <ian@caliban.org>.matz2004-03-2917-41/+44
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Documentation fixes and a patch to fix whitespace handling.ser2004-03-286-21/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2004-03-281-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: def m( arg ) -> def m(arg).aamine2004-03-281-44/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (auth): failed when account/password include "%". ↵aamine2004-03-281-2/+2
| | | | | | [ruby-talk:95933] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: revert to rev1.63. 1.64 wrongly contains POPS code.aamine2004-03-281-26/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (auth): failed when account/password include "%". ↵aamine2004-03-281-6/+26
| | | | | | [ruby-talk:95933] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (lib/open-uri.rb): permit extra semicolon in content-type field.akr2004-03-271-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethodsakr2004-03-272-39/+46
| | | | | | | instead of PrettyPrint. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: trim tail space of each line. no user visible change.nahi2004-03-262-12/+12
| | | | | | | | | * lib/rss/dublincore.rb: fixed class definition mismatch. * sample/openssl/gen_csr.rb: fixed wrong usage text. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Missing trailing "$"dave2004-03-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add --version option to ridave2004-03-251-2/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add the --list-names optiondave2004-03-246-8/+70
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Must now use "::" to separate nested classes. This fixes bug where "ri ↵dave2004-03-241-0/+1
| | | | | | Kernel.Array" was looking for a class called Array git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get --one-page working with C codedave2004-03-241-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move "y" documentation to correct placedave2004-03-241-15/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri.rb: Documented (thanks Dmitry V. Sabanin).gsinclair2004-03-248-985/+968
| | | | | | | | | | | | | * lib/uri/common.rb: Ditto. * lib/uri/ftp.rb: Ditto. * lib/uri/generic.rb: Ditto. * lib/uri/http.rb: Ditto. * lib/uri/https.rb: Ditto. * lib/uri/ldap.rb: Ditto. * lib/uri/mailto.rb: Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected bynobu2004-03-241-7/+13
| | | | | | | | | DESTDIR after installed. * lib/mkmf.rb (dummy_makefile): default file lists to be cleaned. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: fixed a stupid bug. [ruby-talk:95680]matz2004-03-241-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't be as eager to invent classes to documentdave2004-03-242-4/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow templates to be specified outside the RDoc treedave2004-03-241-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile::_close): should not clear @tmpnamematz2004-03-241-4/+7
| | | | | | | until the file is really removed. [ruby-core:02684] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_cvar_get): new method Module#class_variable_get.matz2004-03-231-1/+2
| | | | | | | | | | * object.c (rb_mod_cvar_set): ditto (Module#class_variable_set). * eval.c (rb_thread_atfork): 1.9 warns no more for thread termination. [ruby-dev:23212] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):nobu2004-03-231-3/+4
| | | | | | | | | | | | | | | | | | separate files under directories due to directory separator. * */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be removed. * win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit rules. * cygwin/GNUmakefile.in: some mingw stuffs were missed. * lib/mkmf.rb (create_makefile): Borland make wrongly removes braces from command lines. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):gotoyuzo2004-03-211-2/+9
| | | | | | | | | | sort @virtual_hosts in address, port, host order. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server): hostname should not be match if :ServerAlias is not given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shell/*: bug fix for Shell#system(command_line_string).keiju2004-03-213-9/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.kou2004-03-213-4/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.kou2004-03-2110-84/+200
| | | | | | | | * lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_require_safe): preserve old ruby_errinfo.matz2004-03-201-1/+1
| | | | | | | | | | | | | [ruby-talk:95409] * eval.c (rb_f_raise): should not clear backtrace information if exception object already have one. * parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2] this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Force RDoc html background to whitedave2004-03-201-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.6.tadf2004-03-202-12/+36
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($beos, $solaris): add OS flags.usa2004-03-191-3/+6
| | | | | | | | | | * lib/mkmf.rb (RUBY): / is not recognized as path separator on nmake/bmake. [ruby-list:39388] * lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_eq): avoid false positive by using scope andmatz2004-03-182-2/+2
| | | | | | | | | | | dyna_vars. no longer use frame.uniq. * eval.c (proc_arity): arity is now defined as number of parameters that would not be ignored. i.e. Proc.new{}.arity returns zero. update test suites too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: no longer embed srcdir and compile_dir intonobu2004-03-181-8/+8
| | | | | | | | | | rbconfig.rb. * ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library paths. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stop undef DRbObject#to_aseki2004-03-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove specialized version of rb_Array(). use simplematz2004-03-181-2/+2
| | | | | | | | | | | one defined in object.c. * object.c (Init_Object): remove Kernel#to_a. * enum.c (enum_zip): use "to_a" instead of "to_ary". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e