aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/yaml: Moved to ext/syck/lib, Syck only uses Syck constant.tenderlove2010-04-0317-2175/+25
| | | | | | | * lib/yaml.rb: Added an engine manager for choosing YAML engine. * ext/syck/lib/syck/rubytypes.rb: squashed warnings when using Psych git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc#{setup,update}_output_dir): store mtimesnobu2010-04-031-8/+23
| | | | | | | | | per files in the flag file. * lib/rdoc/rdoc.rb (RDoc#normalized_file_list): skip already processed and unmodified files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (rdoc): no force-update, and add RDOCFLAGS.nobu2010-04-031-1/+1
| | | | | | * lib/rdoc/options.rb (RDoc#parse): no-force-update option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb (Benchmark::Tms#add): fix NameError.kazu2010-04-021-1/+1
| | | | | | | | [ruby-dev:40906] * test/benchmark/test_benchmark.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/ruby.rb (RDoc#make_message): no empty lines.nobu2010-04-022-3/+3
| | | | | | | | * lib/rdoc/stats.rb (RDoc::Normal#print_file): send to stdout and flush always git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/ruby.rb (RDoc#error): get rid of magic number.nobu2010-04-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/class_module.rb (RDoc#merge): get rid of stack overflow.nobu2010-04-021-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/c.rb (RDoc#handle_method): see source files innobu2010-04-021-3/+2
| | | | | | | source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb: reverted r27186 to add generators.nobu2010-04-021-4/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc::Generator): defer by autoload.nobu2010-04-022-9/+5
| | | | | | | * lib/rdoc/generator/darkfish.rb: use normal library instead of gem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch bynobu2010-04-021-5/+1
| | | | | | RUBY_VERSION. reapplied r24990. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variablesnobu2010-04-021-1/+1
| | | | | | | are delimited by a semicolon. supported Vim style. reapplied r24988 with fixing a typo for shebang. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdocnobu2010-04-021-1/+1
| | | | | | files. reapplied r24976. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/c.rb: fixed a small error in the documentation.nobu2010-04-021-1/+1
| | | | | | [ruby-core:24744] reapplied r24395. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb (RDoc::Parser.binary?): blksize may be nilnobu2010-04-021-5/+2
| | | | | | | | and is irrelevant to whether a file is binary. TAB and newlines would be usually considered to be included in text data. reapplied r23071 and r24297. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has beennobu2010-04-021-2/+1
| | | | | | obsolete. reapplied r24599. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb: follows $ridir. reapplied r23554.nobu2010-04-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): expand_path deals withnobu2010-04-021-5/+1
| | | | | | platform dependent envirionments. reapplied r21312. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {lib,test}/rdoc: removed trailing spaces. reapplied r22784.nobu2010-04-0213-70/+70
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb (binary?): regression.usa2010-04-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Matrix.determinant: raise on rectangular matricesmarcandre2010-04-011-6/+6
| | | | | | [ruby-core:28271] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: New Complex instance methods:marcandre2010-04-011-0/+73
| | | | | | | conjugate, conj, imaginary, imag, real, real?, rectangular, rect [ruby-core:26285] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: New methods Matrix#each, #each_with_index, andmarcandre2010-04-011-0/+39
| | | | | | include Enumerable [ruby-core:28400] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (empty): Reject negative sizesmarcandre2010-04-011-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: New method #empty? [ruby-core:26284]marcandre2010-04-011-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: removed compare_by*, inspect_org, cf [ruby-core:26268]marcandre2010-04-011-16/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 2.5drbrain2010-04-01126-14177/+11280
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: support %a format. [ruby-dev:40650]naruse2010-04-011-7/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb: suppoort [Feature#988], [ruby-core:21177].keiju2010-03-302-0/+4
| | | | | | | | * lib/irb/context.rb: fix Context#verbose?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib: moved external library dependent files from lib.nobu2010-03-3024-1879/+0
| | | | | | [ruby-core:29129] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/psych.rb: Fix problem with empty and white-space only strings.tenderlove2010-03-291-2/+4
| | | | | | | Thanks Peter McLain! * test/psych/test_psych.rb: tests for change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/psych.rb: documentation updates. Thanks Peter McLain!tenderlove2010-03-293-4/+4
| | | | | | * lib/psych/{coder,tree_builder}.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb(Vector#each2, Vector#collect2): add type check forkeiju2010-03-291-0/+2
| | | | | | | | Integer[Bug #2495]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (Numeric): accept rationals.nobu2010-03-291-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#open): re-open with same mode andnobu2010-03-291-1/+5
| | | | | | options as initialize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/*: importing Psych to trunktenderlove2010-03-2824-0/+1877
| | | | | | | * test/psych/*: ditto * lib/psych/*: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: fix max width modifier for %f.naruse2010-03-281-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 1.6.0 r5717.ryan2010-03-283-67/+460
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: fix %[egEFG] isn't accept.naruse2010-03-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: adding deprecation notices to YAML methodstenderlove2010-03-261-4/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/basenode.rb: deprecating YPath methodstenderlove2010-03-262-1/+9
| | | | | | | * lib/yaml/stream.rb: deprecating YAML::Stream#edit * test/yaml/test_yaml.rb: requiring yaml/ypath for tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/encoding.rb: YAML.encode, YAML.decode are deprecated.tenderlove2010-03-263-0/+6
| | | | | | | | * lib/yaml/stringio.rb: yaml/stringio.rb is deprecated. * lib/yaml/ypath.rb: YAML::YPath is deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Incorporating the fixes from the recentjeg22010-03-231-85/+87
| | | | | | | | FasterCSV releases: 1.5.2 and 1.5.3. [ruby-core:25038] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (Date#>>): fixed. [ruby-core:28011]tadf2010-03-221-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2010-03-221-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.encode_www_form_component):naruse2010-03-211-26/+15
| | | | | | | | | | | | | | convert strings of HTML5 ASCII incompatible encoding to UTF-8. * lib/uri/common.rb (URI.encode_www_form_component): "\x83\x41" of Shift_JIS should be encoded as "%83A". This follows real implementations. * lib/uri/common.rb (URI.decode_www_form_component): use given encoding for force_encoding. [ruby-dev:40721] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv-replace.rb: specify super class for rdoc.akr2010-03-212-4/+4
| | | | | | | | * lib/ipaddr.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].nobu2010-03-2020-28/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI#{en,de}code_www_form_component):naruse2010-03-171-26/+68
| | | | | | | | | | | | | | | | | | | | renamed from URI#{en,de}code_www_component. [ruby-dev:40672] * lib/uri/common.rb (URI#encode_www_form_component): %-encoded element should have always two hex. * lib/uri/common.rb (URI#encode_www_form_component): better treatment for ASCII incompatible encodings and encodings whose lead byte may use 7bit. * lib/uri/common.rb (URI#decode_www_form_component): add %20. * lib/uri/common.rb (URI#decode_www_form_component): add result's encoding as 2nd argument. * lib/uri/common.rb (URI#decode_www_form): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tmpdir: split from lib/tmpdir.rb.nobu2010-03-161-27/+5
| | | | | | | * win32/win32.c (rb_w32_system_tmpdir): extracted from init_env. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e