summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/net/protocol.rb (each_crlf_line): remove junk line.aamine2004-05-101-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Change symbol lookup scheme in HTML generationdave2004-05-101-4/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Search parent for unqualified constantsdave2004-05-101-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (loggin): append "\n".aamine2004-05-091-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: ported documentation improvement from 1.8 branchgsinclair2004-05-095-478/+512
| | | | | | | | | | * lib/net/imap.rb: ditto * lib/net/pop.rb: ditto * lib/net/smtp.rb: ditto * lib/net/telnet.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/store.rb: use FileUtils::copy.eban2004-05-091-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_open): open should not ignore block when "to_open"matz2004-05-081-4/+0
| | | | | | | | | method is used. [ruby-dev:23478] * ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for Kernel.open(Pathname.new(...)) { ... }.akr2004-05-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mv): new option `force'. [ruby-talk:99457]aamine2004-05-071-66/+99
| | | | | | | | * lib/fileutils.rb: new method for command option reflection: FileUtils.commands, .options, .have_option?, .options_of, .collect_methods. * lib/fileutils.rb: module Verbose, NoWrite, DryRun do not have option flags @fileutils_verbose and @fileutils_noop, they make no sense. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow multiple arguments to includedave2004-05-071-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_list): Array() breaks pathes including "\n". ↵aamine2004-05-071-1/+1
| | | | | | | | | [ruby-core:02843] * test/fileutils/test_fileutils.rb (mkdir): test "\n" in path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (string_content): turn off NODE_NEWLINE flag to avoidmatz2004-05-074-16/+31
| | | | | | | | | | | | | | | | | | | | | | | unnecessary line trace for inlined expression. (ruby-bugs PR#1320) * numeric.c (flo_to_s): tweak output string based to preserve decimal point and to remove trailing zeros. [ruby-talk:97891] * string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM search. [ruby-talk:97342] * hash.c (rb_hash_equal): returns true if two hashes have same set of key-value set. [ruby-talk:97559] * hash.c (rb_hash_eql): returns true if two hashes are equal and have same default values. * string.c (rb_str_equal): always returns true or false, never returns nil. [ruby-dev:23404] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (to_yaml): added instance variable handlingwhy2004-05-063-75/+197
| | | | | | | | | | | | | | | for Ranges, Strings, Structs, Regexps. * lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a String's flow style. * lib/yaml.rb (YAML::object_maker): now uses Object.allocate. * ext/syck/gram.c: fixed transfer methods on structs, broke it last commit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (string): accept NIL.shugo2004-05-061-8/+27
| | | | | | | * lib/net/imap.rb (body_type_basic): allow body-fields omissions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't include &block if we have yield parametersdave2004-05-053-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use recv instead of recvfromseki2004-05-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/gserver.rb: documentedgsinclair2004-05-042-2/+107
| | | | | | | * lib/xmlrpc/README.txt: introduced for documentation purposes git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix parsing problem with yield within blockdave2004-05-031-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: passing Range tests.why2004-04-261-4/+8
| | | | | | | | | | | | | | | | | | | * ext/syck/syck.h: version 0.44. * ext/syck/gram.c: transfers no longer open an indentation. fixed transfers which precede blocks. * ext/syck/token.c: ditto. * ext/syck/syck.c: fixed segfault if an anchor has been released already. * ext/syck/node.c (syck_free_members): organized order of free'd nodes. * ext/syck/rubyext.c (syck_emitter_write_m): test for proper string with StringValue. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2004-04-261-0/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Alias alias to instance methodsdave2004-04-261-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix bug where consecutive headings were mergeddave2004-04-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Non-String attributes are now converted to Strings; this means code such asser2004-04-237-27/+49
| | | | | | | | | | | | | | | | | | elem.attributes["a"] = 1 will not cause an error when dumping the XML. It also means that: elem.attributes["a"] # => "1", not 1 * Transitive indenting has been cleaned up. * Fixed a potential bug in parsing non-ASCII encoded streams * Fixed a bug where trying to fill in ParseException data was causing an IO error (stream closed) * Changes to Text mean that Element (and Text) can be used outside of a Document context. * In some rare cases, the base parser wasn't reading enough bytes from the stream for the parsing algorithm to work properly. This has been fixed (this was Ruby bug #48426) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: $hdrdir should not contain macros, for backwardnobu2004-04-231-3/+3
| | | | | | | | | | compatibility. [bruby-dev:28] * lib/mkmf.rb (create_makefile): in the case of extout, just copy script files, without comparison. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb: sync taint/freeze flag betweenakr2004-04-231-1/+33
| | | | | | | a pathname object and its internal string object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb: don't use Regexp#source to embed regexps.akr2004-04-231-5/+5
| | | | | | | [ruby-dev:23432] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* check hash tuple sizeseki2004-04-211-5/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::HTTP#proxy_open): set Host: field explicitly.akr2004-04-211-4/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: merge SMTP-TLS patch. This patch is contributed by ↵aamine2004-04-211-18/+153
| | | | | | Daniel Hob. [ruby-core:02789] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: change coding style: def m( a ) -> def m(a).aamine2004-04-211-28/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: do not use class variables.aamine2004-04-211-40/+58
| | | | | | | * lib/net/pop.rb (do_start): ensure to clean up connection when authentication failed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (connect): CONNECT must precede SSL connect. [ruby-dev:23379]aamine2004-04-211-35/+33
| | | | | | | * lib/net/http.rb (HTTP.new): class variables are not inherited now. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/ui/console/testrunner.rb (test_started): restore $0nobu2004-04-211-1/+2
| | | | | | | after changing process title. [ruby-talk:97426] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,nobu2004-04-1827-61/+61
| | | | | | | | | | | | | | lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb, lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb, lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb, lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb, lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb, lib/rinda/tuplespace.rb, lib/shell/command-processor.rb, lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb, lib/test/unit/testsuite.rb: typo fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow for HAVE_PROTOTYPES macrodave2004-04-181-4/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Change :enddoc: to terminate processing of current filedave2004-04-171-18/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (DRb::DRbUnknown::initialize): Exception#to_str isnobu2004-04-162-4/+4
| | | | | | | | | | | | | deprecated. * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform): multiple value class changed. * lib/drb/invokemethod.rb (DRb::DRbServer::InvokeMethod18Mixin::block_yield): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change pattern matching [druby-ja:98]seki2004-04-131-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (begin_transport): should not overwrite HTTP request ↵aamine2004-04-131-3/+3
| | | | | | header. [ruby-list:39543] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: merge POP3S patch. This patch is contributed by Daniel Hobe.aamine2004-04-131-17/+124
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enable document for Kernel.open.akr2004-04-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forgot to check special case at top leveldave2004-04-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix :enddoc"dave2004-04-102-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed problem with \_cat_<b>dog</b>dave2004-04-092-16/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): skip uncompiled extensions.nobu2004-04-082-5/+8
| | | | | | | | | | | | | | | | | | | | | * lib/mkmf.rb (create_makefile): emit no rules for static library if $static is nil, e.g., outside of ext/. * lib/test/unit/ui/console/testrunner.rb (test_started): show test name via $0. * runruby.rb: set environments to use the compiled binary. * test/runner.rb: do nothing while cross-compiling. * test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to know ruby binary. * test/ruby/envutil.rb: give priority to RUBY environment variable to use just compiled binary and libraries. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* REXML CHANGESser2004-04-072-25/+21
| | | | | | | | The previous bug fixing the behavior of Element::text= introduced a bug that occurred when calling (el.text = nil) to delete the first text node. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update the document for to_path.akr2004-04-071-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource orkou2004-04-075-27/+33
| | | | | | | | | | resource attribute in rdf:li. * test/rss/test_parser.rb: added test for above change. * lib/rss/dublincore.rb: reverted style. * lib/rss/xmlparser.rb: normalized XMLParser class hierarchy. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_get_path): get path string via "to_path" method ifmatz2004-04-072-5/+7
| | | | | | | | | | | | path object is not a string. [Ruby2] * gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the exit finalizers. * io.c (rb_io_reopen): should use rb_io_check_io(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix hash tuple bugseki2004-04-062-3/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e