aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/pstore.rb: replaced by Hongli Lai's faster version.matz2008-04-101-75/+203
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: removed obsolete library. [ruby-core:16233]matz2008-04-101-385/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/complex.rb: remove Math first before overwriting by CMath.matz2008-04-081-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* trivial change.tadf2008-04-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/complex.rb depends lib/cmath.rb.tadf2008-04-051-224/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb: new.tadf2008-04-053-0/+231
| | | | | | | | | | | | * lib/complex.rb: depends lib/cmath.rb. * lib/rational.rb: added rdiv. * complex.c: removed some math functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_rb.rb: Fix uninitialized variable warnings.drbrain2008-04-044-5/+7
| | | | | | | | | | | * lib/rdoc/generator/html.rb: ditto. * lib/rdoc/options.rb: Fix shadowed variable warning. * lib/webrick/httprequest.rb: Fix redefined method warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails andmatz2008-04-031-0/+2
| | | | | | @n_bytes as well. [ruby-core:16144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RubyGems 1.1.0drbrain2008-03-3146-2076/+2883
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::Config.default_config_hash): requiresnobu2008-03-311-0/+1
| | | | | | | win32/resolv to use Win32::Resolv. [ruby-dev:34138] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert git backfire in r15860; sorrymatz2008-03-302-64/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_dup): should copy is_lambda attribute as well.matz2008-03-302-0/+64
| | | | | | [ruby-talk:296244] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (f_lcm): removed.tadf2008-03-272-64/+0
| | | | | | | | | | | | * rational.c (rb_lcm, rb_gcdlcm): added. * lib/complex.rb (gcd, lcm, gcdlcm): removed. * lib/rational.rb (gcd, lcm, gcdlcm): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Applied Laurent's patch to testcase.rb to fix symbol method namesryan2008-03-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::Hosts): should not use win32/resolv on cygwin.nobu2008-03-211-1/+1
| | | | | | | | | | | | [ruby-dev:29945], [ruby-dev:34095] * lib/win32/registry.rb (Win32::Registry.expand_environ): try upcased name too for cygwin. [ruby-dev:29945] * lib/win32/resolv.rb (Win32::Resolv.get_hosts_path): use expand_path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb: Say that I am the current maintainer.knu2008-03-213-0/+11
| | | | | | | | | | | * lib/set.rb: Ditto. * lib/shellwords.rb: Ditto. * ext/syslog/syslog.txt: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* both complex and rational are now builtin classes.tadf2008-03-163-1040/+117
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::Cookie::initialize): performance patch frommatz2008-03-141-6/+11
| | | | | | Makoto Kuwata <kwa@kuwata-lab.com> in [ruby-dev:34048]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/cmd/help.rb: should be updated for new ri structure.matz2008-03-123-6/+15
| | | | | | | | | | | | | | | | | [ruby-core:15825] * lib/rdoc/ri/driver.rb (RDoc::initialize): allow options to be optional. * lib/rdoc/ri/driver.rb (RDoc::class_cache): map_dirs may be empty. * lib/rdoc/ri/driver.rb (RDoc::get_info_for): revive get_info_for method. maybe broken. * lib/rdoc/ri/util.rb (RDoc::initialize): should not use RiError no more. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Restore missing line to RDoc::Generator#params. Patch by Lincoln Stoll.drbrain2008-03-091-7/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/code_objects.rb: Remove debugging Kernel#p. Patch by Lincoln Stolldrbrain2008-03-093-4/+8
| | | | | | | | | | | <lstoll at lstoll.net> * lib/rdoc/generator/html.rb: Fully qualify AllReferences. Patch by Lincoln Stoll <lstoll at lstoll.net> * lib/rdoc/ri/writer.rb: Fix 1.8 backwards compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: rdoc added. [ruby-Patches-9762]nobu2008-03-071-2/+121
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb: require 'continuation' to implement "restart"matz2008-03-051-4/+5
| | | | | | | | | | | | | | | command. [ruby-dev:33992] * lib/debug.rb (Context::debug_command): remove local variable shadowing to shut up warnings. [ruby-dev:33992] * lib/debug.rb (Context::display_list): ditto. * lib/debug.rb (Context::resume): ditto. * lib/debug.rb (Context::get_thread): no longer use #index for Hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb (IRB::Irb::eval_input): SyntaxError should not bematz2008-03-042-2/+5
| | | | | | | | | considered as IRB bug. [ruby-dev:33991] * lib/irb/workspace.rb (IRB::WorkSpace::filter_backtrace): should filter 'irb.rb' as well for context mode 2 and 3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb: should normalize pathgotoyuzo2008-03-031-2/+19
| | | | | | | | | | | | separators in path_info to prevent directory traversal attacks on DOSISH platforms. reported by Digital Security Research Group [DSECRG-08-026]. * lib/webrick/httpservlet/filehandler.rb: pathnames which have not to be published should be checked case-insensitively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/dir.rb (recursive_collect): do not alwaysnobu2008-03-011-2/+3
| | | | | | | include all test_*.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): use ASCII-8BITakr2008-02-281-5/+7
| | | | | | | for charset unspecified non-text data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): setup encodingakr2008-02-281-1/+20
| | | | | | | | | by charset. (OpenURI::Meta#meta_add_field): call meta_setup_encoding when content-type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, enc/make_encmake.rb: load current mkmf.rb even ifnobu2008-02-261-1/+1
| | | | | | | | | | cross-compiling. * ext/extmk.rb, enc/make_encmake.rb, lib/mkmf.rb: need to be 1.8 compatible for cross-compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.akr2008-02-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::escapeHTML): use gsub with Hash. [ruby-dev:33828]kazu2008-02-171-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/require_relative.rb: check require_relative call in eval.akr2008-02-161-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/require_relative.rb: new file.akr2008-02-151-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Preserve ri compatibility with 1.8drbrain2008-02-141-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb (Timeout::timeout): made sensitive to location on thenobu2008-02-131-3/+20
| | | | | | | stack. [ruby-core:15458] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#sub_ext): new method. [ruby-list:44608]akr2008-02-131-1/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb: revert r15442. 2nd argument of String#sub parsenaruse2008-02-131-1/+1
| | | | | | | | | escapes. [ruby-dev:33726] * bootstraptest/test_method.rb enc/depend instruby.rb lib/mkmf.rb mkconfig.rb: revert r15443. ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: fix typo.usa2008-02-131-6/+6
| | | | | | | | | * lib/mkmf.rb: revert r15443. "\\1#{sep}\\2" is wrong if sep is ended with "\\". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow inline markup to have a leading '#' or '\', or trailing punctuation.drbrain2008-02-121-11/+13
| | | | | | | i.e. *#freeze?*, *\foo?*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Separate HTML linking and crossreferencing into separate files.drbrain2008-02-123-66/+66
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rational.rb (floor, ceil, truncate, round): do not usetadf2008-02-123-30/+91
| | | | | | | | | | | | | | | | | | | | definitions of Numeric. * lib/rational.rb (to_i): should returns truncated self. * lib/complex.rb (numerator): requires Integer#{numerator,denominator}. * lib/complex.rb (quo): do not use definition of Numeric. * lib/complex.rb (>, >=, <, <=, between?, div, divmod, modulo, floor, ceil, truncate, round): undef'ed. * lib/mathn.rb (Rational#inspect): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend,naruse2008-02-122-7/+7
| | | | | | | | instruby.rb, lib/mkmf.rb, lib/test/unit/util/procwrapper.rb, mkconfig.rb, sample/test.rb, template/vm.inc.tmpl, test/ruby/test_stringchar.rb: fixes arround String#gsub. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/pure/generator.rb,naruse2008-02-1220-53/+50
| | | | | | | | | | | | | | | ext/json/lib/json/pure/parser.rb, ext/openssl/lib/openssl/x509.rb, ext/win32ole/sample/olegen.rb, lib/date/format.rb, lib/irb/context.rb, lib/irb/workspace.rb, lib/net/http.rb, lib/net/imap.rb, lib/rdoc/generator.rb, lib/rdoc/markup/to_html.rb, lib/rdoc/markup/to_latex.rb, lib/rdoc/parsers/parse_c.rb, lib/rdoc/ri/formatter.rb, lib/rexml/parsers/baseparser.rb, lib/rexml/quickpath.rb, lib/rexml/text.rb, lib/rss/parser.rb, lib/uri/common.rb, lib/uri/generic.rb, lib/webrick/httpresponse.rb, lib/webrick/httpservlet/filehandler.rb, lib/yaml/baseemitter.rb, lib/yaml/encoding.rb: performance tuning arround String#gsub. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wrap parse_files' read in a version check for backwards compatibility.drbrain2008-02-121-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Restore require rubygems checkdrbrain2008-02-121-21/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::VERSION), test/rss/test_version.rb:kou2008-02-118-32/+47
| | | | | | | | | | | | | | | 0.2.3 -> 0.2.4. * lib/rss/maker.rb, lib/rss/maker/, test/rss/test_maker_2.0.rb: fixed a bug that RSS::Maker.make("0.9")'s item doesn't make some elements if description is missed. Reported by Michael Auzenne. Thanks!!! * lib/rss/maker/0.9.rb, test/rss/test_maker_0.9.rb: RSS::Maker.make("0.9") generates RSS 0.92 not RSS 0.91. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb (Job::Benchmark#item): fix typo.naruse2008-02-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RubyGems r1601. [ruby-core:15381].drbrain2008-02-1012-50/+108
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/code_objects.rb: Make some attributes accessible for reuse.drbrain2008-02-1016-1509/+1562
| | | | | | | | | | | | | | | | | | | | | | | * lib/rdoc/generator/html.rb: Pull out ContextUser classes and related methods for reuse. * lib/rdoc/generator.rb: Move ContextUser classes to RDoc::Generator::Context for reuse. * lib/rdoc/rdoc.rb: Make RDoc::RDoc initialization a little easier. * lib/rdoc/options.rb: Make RDoc::Options easier to use without parsing an ARGV. * lib/rdoc/markup/to_*.rb: Subclass RDoc::Markup::Formatter. * lib/rdoc/markup/formatter.rb: Add RDoc::Markup::Formatter to make RDoc markup conversion easier. * lib/rdoc/markup/fragments.rb: Make RDoc::Markup::ListItem easier to test. * lib/rdoc/markup/to_html_hyperlink.rb: Pulled out of the HTML generator for easier reusability. * lib/rdoc/markup.rb: Fix bug with labeled lists containing bullet lists. * lib/rdoc/generators/html/html.rb: Fix Constant display. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb (IRB::Irb::eval_input): rescues Interrupt and other thannobu2008-02-081-7/+11
| | | | | | | SystemExit and SignalException. [ruby-core:15359] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e