aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rdoc/servlet.rb: Fixed root search paths, filesystem pathsdrbrain2013-02-053-16/+26
| | | | | | | | instead of HTTP paths were returned. * test/rdoc/test_rdoc_servlet.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/config_file.rb: Ignore permissions check on windows.drbrain2013-02-052-0/+7
| | | | | | | | Windows writes 0600 file as 0644 permissions making the check useless. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: drop include_all flagnobu2013-02-053-1/+35
| | | | | | | | * vm_method.c (rb_obj_respond_to): drop optional include_all flag if respond_to? method is defined in old style. [Bug #7722] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-02-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_binding_new_with_cfp): permit to create binding objectko12013-02-056-5/+59
| | | | | | | | | | | | | | | | | | | | of IFUNC frame. When `rb_binding_new_with_cfp()' is called, VM finds out the first normal (has iseq) frame and create a binding object of this frame and create Env objects. `ep's of related frames are updated (`ep's point Env object managed spaces). However, `ep' of skipped IFUNC frame was not updated and old invalid `ep' was remained. It causes serious problems. To solve this issue, permit IFUNC to create binding. (Maybe there is no problem on it) [ruby-dev:46908] [ruby-trunk - Bug #7774] * test/ruby/test_settracefunc.rb: add a test. * vm.c (rb_vm_get_binding_creatable_next_cfp), vm_core.h: added. * vm_trace.c: fix to use `rb_vm_get_binding_creatable_next_cfp()'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: Remove rdoc that is obsolete because of lazymarcandre2013-02-051-57/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Fix error message, patch by pypypy [Bug #7777]marcandre2013-02-052-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_pow): Handle special cases when base is 0, -1 or +1marcandre2013-02-053-12/+36
| | | | | | [Bug #5713] [Bug #5715] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (nurat_expt): Deal with special cases for rationals 0, ±1marcandre2013-02-052-0/+66
| | | | | | [bug #5713] [bug #5715] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c: Fix rdoc for Fixnum#**marcandre2013-02-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_range.rb: refine messagenobu2013-02-051-1/+8
| | | | | | | * test/ruby/test_range.rb (TestRange#test_bsearch_with_mathn): refine failure messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* console.c: default by stty rawnobu2013-02-053-8/+24
| | | | | | | * ext/io/console/console.c (rawmode_opt): use default values by `stty raw`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c: Use div instead of / for bsearchmarcandre2013-02-053-2/+14
| | | | | | * test/ruby/test_range.rb: Test showing bug when requiring mathn git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: Use to_enum for Enumerable methods returning Enumerators.marcandre2013-02-055-13/+43
| | | | | | | | | | | | | | This makes Lazy#cycle no longer needed, so it was removed. Make Enumerator#chunk and slice_before return lazy Enumerators. [Bug #7715] * internal.h: Remove ref to rb_enum_cycle_size; no longer needed * enum.c: Make enum_cycle_size static. * test/ruby/test_lazy_enumerator.rb: Test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: Finalize and document Lazy.new. [Bug #7248]marcandre2013-02-053-90/+140
| | | | | | | | Add Lazy#to_enum and simplify Lazy#size. * test/ruby/test_lazy_enumerator.rb: tests for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: Fix and improve rdoc for to_enummarcandre2013-02-051-14/+36
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/commands/push_command.rb: Fixed credential download fordrbrain2013-02-0515-92/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `gem push --host` * lib/rubygems/gemcutter_utilities.rb: ditto. * test/rubygems/test_gem_commands_push_command.rb: Test for the above. * test/rubygems/test_gem_gemcutter_utilities.rb: ditto. * lib/rubygems/config_file.rb: Abort if the `gem push` credentials file has insecure permissions. * test/rubygems/test_gem_config_file.rb: Test for the above. * lib/rubygems/ext/builder.rb: Do not look for Gemfile, Isolate, etc. while building gem extensions. * lib/rubygems/package.rb: Unset spec and files list if a gem's signatures cannot be verified. * test/rubygems/test_gem_package.rb: Test for the above. * lib/rubygems/specification.rb: Reduce use of eval. * lib/rubygems/test_case.rb: ditto. * test/rubygems/test_gem_specification.rb: Test setting specification_version for legacy gems. Dup Gem.ruby before untainting in case it's frozen. * lib/rubygems.rb: Reduce use of eval. Only read files when looking for Gemfile, Isolate, etc. * test/rubygems/test_gem.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/security.rdoc: Wrap security guide at 80 columnszzak2013-02-052-20/+66
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/security.rdoc: Grammatical error on security guidezzak2013-02-052-1/+6
| | | | | | | Patch by Josh Bassett [Github fixes #245] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-02-050-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/racc/parser.rb: Update #do_parse and #yyparse from upstreamzzak2013-02-052-14/+27
| | | | | | | See [Github tenderlove/racc@7d954b5] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/racc: Merge Racc documentation downstream, add grammar ref filezzak2013-02-053-13/+420
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/irb/ext/save-history.rb: Add documentation on how tozzak2013-02-043-0/+24
| | | | | | | enabled irb history [ruby-core:51347] [Bug #7679] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/irb/context.rb: Add documentation on how to enablezzak2013-02-043-6/+37
| | | | | | | | auto-indentation and autocompletion using irbrc and irb_context [ruby-core:51209] [Bug #7642] and [ruby-core:51348] [Bug #7680] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/standard_library.rdoc: Document list of libraries and extensionszzak2013-02-043-93/+132
| | | | | | | | and their purpose or short description * lib/README: Remove lib/README in favor of doc/standard_library.rdoc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json.rb: Move module overview definition for rdoczzak2013-02-042-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-05svn2013-02-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: Move class overview definition and reformatzzak2013-02-042-21/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console.gemspec: 0.4.1nobu2013-02-041-1/+1
| | | | | | * ext/io/console/io-console.gemspec: bump to 0.4.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console.gemspec: limit date lengthnobu2013-02-041-1/+1
| | | | | | * ext/io/console/io-console.gemspec: limit Date keyword length to get rid of locale format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console.gemspec: updatenobu2013-02-041-1/+3
| | | | | | * ext/io/console/io-console.gemspec: use Date keyword and add licenses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* init.c: declaration-after-statementnobu2013-02-041-9/+7
| | | | | | * ext/socket/init.c (cloexec_accept): fix declaration-after-statement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* console.c: initializenobu2013-02-042-0/+7
| | | | | | | | * ext/io/console/console.c (rawmode_opt): initialize options for the case all options are not given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (control_frame_dump): capitalize prefix of `ep'ko12013-02-042-1/+6
| | | | | | | | if `ep' points an env object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* English.rb: no setnobu2013-02-041-2/+1
| | | | | | | * lib/English.rb (English): disable setting instead of removing after set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-02-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/English.rb: Add English module for RDoc to parse, thenzzak2013-02-032-1/+38
| | | | | | | | remove_const to avoid confusion. Include full list of aliases and their associated global variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-04svn2013-02-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb (YAML::EngineManager): Documentation for #yamler andzzak2013-02-032-3/+22
| | | | | | | #yamler= for using the removed Syck gem as the YAML::ENGINE git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/io-console.gemspec: fix date.nobu2013-02-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console.gemspec: bumpnobu2013-02-033-2/+11
| | | | | | | * ext/io/console/io-console.gemspec: bump. [Bug #7762] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io_console.rb: descriptive assertionsnobu2013-02-032-4/+13
| | | | | | | | * test/io/console/test_io_console.rb (test_stringio_getch): use more descriptive assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* console.c: fix unit of minnobu2013-02-033-2/+38
| | | | | | | | * ext/io/console/console.c (rawmode_opt): min is minimum characters, not tenths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-02-030-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-02-030-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/security.rdoc: add first cut at a Ruby security documentcharliesome2013-02-032-0/+68
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c: Document range argument for Kernel#rand.zzak2013-02-032-3/+10
| | | | | | | [ruby-core:51794] [Bug #7770] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c: Document Float constants [ruby-core:51484] [Bug #7709]zzak2013-02-032-0/+79
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* profiler.rb: block callsnobu2013-02-032-3/+6
| | | | | | | | * lib/profiler.rb (PROFILE_CALL_PROC, PROFILE_RETURN_PROC): add b_call and b_return to profile block calls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-03svn2013-02-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e