aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/uri/generic.rb (URI::Generic#route_from): accepts urls whichakira2003-12-223-1/+11
| | | | | | | | | has no host-part. * test/uri/test_generic.rb (TestGeneric::test_route): added a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb: reduce eval.nobu2003-12-222-68/+49
| | | | | | | | * lib/cgi.rb (CGI::QueryExtension::read_multipart): alias path to local_path. [ruby-list:38883] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/test_property.rb: remove duplicated test method.nahi2003-12-222-7/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_with_disable_interrupt): use ENABLE_INTS instead ofmatz2003-12-223-10/+17
| | | | | | | ALLOW_INTS which may switch context. [ruby-dev:22319] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub (config.h): removeusa2003-12-223-2/+6
| | | | | | | | HAVE_ISINF definition to follow previous commits of missing.h and win32/win32.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_setitimer): moved from defines.hnobu2003-12-2211-22/+43
| | | | | | | | | | | | | | | | | * defines.h, rubysig.h, signal.c: removed macro handling which should be done in configure. * configure.in (intrinsics.h): check if present. * ruby.h: include intrinsics.h if available. * bignum.c, marshal.c: include ieeefp.h if available. * missing.h (isinf): define as a macro if finite() and isnan() are available. [ruby-core:02032] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw): set isnan, finite and isinf to yes.eban2003-12-222-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc commentsdave2003-12-221-0/+150
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-22eban2003-12-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/property.rb: passing block by reference.nahi2003-12-222-12/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emitter_write): str bigger thanmatz2003-12-213-3/+17
| | | | | | | e->bufsize causes buffer overflow. [ruby-dev:22307] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/isinf.c (isinf): typo fix.eban2003-12-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-21eban2003-12-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_check_inheritable): new function. [ruby-dev:22316]nobu2003-12-215-7/+28
| | | | | | | | | | | * intern.h: add prototype. * eval.c (superclass): use rb_check_inheritable(). * object.c (rb_class_initialize): check argument validity. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/pathname.rb (Pathname#+): re-implemented to resolve ".." inakr2003-12-212-27/+68
| | | | | | | | | beginning of the argument. (Pathname#join): concatenate from the last argument. (Pathname#parent): just use Pathname#+. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add file.c comments (and necessary support in parse_c.rb)dave2003-12-219-67/+1564
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dln.c: remove last second typo.matz2003-12-204-16/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_with_disable_interrupt): prohibit thread contextmatz2003-12-208-35/+53
| | | | | | | switch during proc execution. [ruby-dev:21899] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * forgot to add a changelog entrynagai2003-12-201-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)nagai2003-12-202-0/+78
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): refine regexp.gotoyuzo2003-12-203-13/+22
| | | | | | | | | | * lib/webrick/cgi.rb (CGI#start): NPH scripts return status line instead of Status: header field. * lib/webrick/cgi.rb (CGI::Socket): refine some coditions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Completion::complete): wrongnobu2003-12-202-2/+10
| | | | | | | | | | Regexp for word boundary. pointed out by Gavin Sinclair. * lib/optparse.rb (OptionParser::make_switch): [no-] prefix was missing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb (YAML::YAML): adjust Marshal version.nobu2003-12-203-8/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* get rid of unusable conditiongotoyuzo2003-12-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb: add file. (yet another CGI library)gotoyuzo2003-12-193-0/+208
| | | | | | | * MANIFEST: add lib/webrick/cgi.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-20eban2003-12-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-calculate-indent): proper indentationmatz2003-12-194-52/+66
| | | | | | | | | | inside of parentheses. [ruby-dev:22308] * hash.c (delete_if_i): do not use ST_DELETE for thread safety. [ruby-dev:21899] (not fully solved) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Document Class and Dirdave2003-12-194-33/+421
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (meta_vers): should not setgotoyuzo2003-12-193-2/+12
| | | | | | | | | | HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH. * lib/webrick/https.rb (HTTPRequest#parse): should check presence of cert() method to detect SSLSocket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/property.rb (SOAP::Property#load): new method for loadingnahi2003-12-193-70/+154
| | | | | | | | | property value into existing property tree. * test/soap/test_property.rb: add test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/runit/cui/testrunner.rb (RUNIT::CUI::TestRunner::run):akira2003-12-192-1/+6
| | | | | | | should use Test::Unit::UI::{PROGRESS_ONLY,VERBOSE}. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkmultilistbox.rb: bug fixnagai2003-12-194-1/+923
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: new sample script git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-19eban2003-12-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add boot_classes to rdoc parsing, fix a couple of bugsdave2003-12-197-16/+191
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix dependency issuedave2003-12-194-18/+295
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Annotate enum.c. Add pager support, and report on methods in included modulesdave2003-12-1812-14/+692
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httputils.rb (parse_form_data): should return angotoyuzo2003-12-182-0/+6
| | | | | | | empty Hash if the body is empty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (stack_extend): ignore inline optimization on VC7.usa2003-12-184-26/+43
| | | | | | | | | | | | | * win32/Makefile.sub (OS, RT): can override. * win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none option. based on Tietew's patch [ruby-dev:22289] * lib/mkmf.rb (create_makefile): should remove deffile if it's made by miniruby. based on nobu's patch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (fnmatch): unlike find_dirsep(), rb_path_next() nevernobu2003-12-182-5/+9
| | | | | | | return NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/ipaddr.rb (initialize): rescue StandardError.eban2003-12-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-18eban2003-12-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (IPSocket::getaddress): merge usa's patch.eban2003-12-182-3/+58
| | | | | | | [ruby-dev:21678] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bug fixnagai2003-12-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::Value::[]): should work likematz2003-12-178-47/+53
| | | | | | | | | | | | | | | | | | | | String#[] if more than one arguments are specified. * lib/delegate.rb: avoid using common instance name as "@obj". * lib/cgi.rb (CGI::QueryExtension::Value): Value is no longer subclass of String, but DelegateClass(String). * ext/curses/extconf.rb: restore function check for init_color. [ruby-list:38905] * Makefile.in: need to specify $(MAINLIBS) for the miniruby generation rule. * configure.in: better FreeBSD -lc_r support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add pager support to ri, and start implementing command line optionsdave2003-12-173-12/+211
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-17eban2003-12-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missdave2003-12-161-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Put RDoc comments into array.c, and refine rdoc/ri to deal with stuff that arosedave2003-12-1610-45/+1005
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* introduce some new methodsaamine2003-12-163-41/+173
| | | | | | | | | | | * ext/strscan/strscan.c: new method StringScanner#beginning_of_line? (alias #bol?) * ext/strscan/strscan.c: new method StringScanner#concat and #<<. * ext/strscan/strscan.c: StringScanner#new(str) does not duplicate nor freeze STR (allow destructive modification). * test/strscan/test_stringscanner.rb: test new methods above. * test/strscan/test_stringscanner.rb: test destructive string modification. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: don't use local variable `pp'.akr2003-12-163-188/+194
| | | | | | | * lib/prettyprint.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e