aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/readline/readline.c (insert_ignore_escape): suppressktsj2013-08-091-1/+1
| | | | | | logical-op-parentheses warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rexmlparser.rb: Remove needless REXML version check.kou2013-08-092-5/+7
| | | | | | | | | Both RSS Parser and REXML are bundled in Ruby. RSS Parser can always use the latest REXML. [Bug #8754] [ruby-core:56454] Patch by Steve Klabnik. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console.gemspec: drop 1.9nobu2013-08-091-1/+1
| | | | | | | * ext/io/console/io-console.gemspec: drop 1.9 support since rb_cloexec_open() is mandatory now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: CoreFoundation framework optionnobu2013-08-092-2/+8
| | | | | | | | * configure.in (XLDFLAGS, LIBRUBYARG_STATIC): CoreFoundation framework option is now needed always, regardless enable-shared. [ruby-core:56467] [Bug #8759] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* re.c: suppress warningnobu2013-08-091-2/+2
| | | | | | * re.c (rb_memsearch): suppress parentheses warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c: suppress warningnobu2013-08-091-1/+1
| | | | | | | * bignum.c (rb_big_mul_karatsuba): suppress logical-op-parentheses warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: tabifynobu2013-08-091-2/+2
| | | | | | * proc.c (check_local_id): tabify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.c: use String path version parser functionsnobu2013-08-093-5/+19
| | | | | | | * ruby.c (load_file_internal): use rb_parser_compile_string_path and rb_parser_compile_file_path, String path name versions. [Bug #8753] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix the reason.nobu2013-08-091-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c: delete redefinition of rb_cloexec_open.charliesome2013-08-092-17/+6
| | | | | | | This function is always defined by io.c and is declared as non-static in a header file, so this declaration causes a compilation error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: update about new methods for Binding.ko12013-08-092-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c: add Binding#local_variable_get/set/defined?ko12013-08-095-0/+245
| | | | | | | | | | | | to access local variables which a binding contains. Most part of implementation by nobu. * test/ruby/test_proc.rb: add a tests for above. * vm.c, vm_core.h (rb_binding_add_dynavars): add a new function to add a new environment to create space for new local variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: Fix order of priority for option parameter.hsbt2013-08-092-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: clock_gettimenobu2013-08-091-2/+1
| | | | | | | * configure.in: use the result of AC_CHECK_LIB(rt, clock_gettime) as clock_gettime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: normalize Form Cnobu2013-08-094-6/+31
| | | | | | | * file.c (rb_str_normalize_ospath): normalize to Normalization Form C using CFString. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (get_timeval, get_new_timeval): use rb_obj_class()ktsj2013-08-092-2/+8
| | | | | | | instead of CLASS_OF() because CLASS_OF() may return a singleton class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_invoke_block): returning from lambda procktsj2013-08-094-2/+37
| | | | | | | | now always exits from the Proc. [ruby-core:56193] [Feature #8693] * NEWS, test/ruby/test_lambda.rb: ditto. Patch by nobu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warning introduced by r42439 [ruby-dev:47040]naruse2013-08-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: install archnobu2013-08-081-1/+1
| | | | | | | * common.mk (do-install-arch): install architecture dependent files all, including libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-08-09svn2013-08-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enumerator.c: fix non-single argumentnobu2013-08-083-1/+24
| | | | | | | | * enumerator.c (lazy_zip_func): fix non-single argument. fix out-of-bound access and pack multiple yielded values. [ruby-core:56383] [Bug #8735] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: Module#singleton_class?nobu2013-08-084-0/+23
| | | | | | | | * object.c (rb_mod_singleton_p): new method Module#singleton_class? to return whether the receiver is a singleton class or not. [ruby-core:51087] [Feature #7609] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2013-08-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_overflow_p): Avoid signed integer overflow.akr2013-08-082-8/+9
| | | | | | | (rb_time_new): Fix overflow condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix the previous commit.akr2013-08-082-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_overflow_p): Avoid signed integer overflow.akr2013-08-082-9/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_threadptr_pending_interrupt_check_mask):ko12013-08-082-2/+8
| | | | | | | | | use RARRAY_RAWPTR() instead of RARRAY_PTR() because there is no new reference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_format_m): use RARRAY_RAWPTR() instead ofko12013-08-082-1/+6
| | | | | | | | RARRAY_PTR() because there is no new reference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: define USE_RGENGC_LOGGING_WB_UNPROTECT.ko12013-08-082-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: add old macro name `RUBY_EVENT_SWITCH'.ko12013-08-082-0/+9
| | | | | | | | | | | This macro name is obsolete because it is renamed to RUBY_INTERNAL_EVENT_SWITCH, but it has compatibility problem using this macro name like ruby-prof. I want to remove this macro after ruby 2.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'usa2013-08-082-1/+10
| | | | | | | | | | | instead of `p' to get rid of a side effect. Kernel#p without any argument seems to do nothing, but flushes stdout. and, if stdout is redirected to file, fsync() will be called on Windows. so, when running test-all on Windows with redirection, such as CI environment, this test took a lot of time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-08-080-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add description of incompatibility introduced by r42396.shugo2013-08-082-0/+12
| | | | | | [ruby-core:56329] [Bug #8722] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (mini): portable target to build minirubynaruse2013-08-083-0/+59
| | | | | | | | | | * common.mk (bisect): run git-bisect with miniruby * common.mk (bisect-ruby): run git-bisect with ruby * tool/bisect.sh: script for git-bisect git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: constifiynobu2013-08-082-2/+2
| | | | | | * proc.c (rb_proc_call_with_block): constifiy argv. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_range.rb: remove invalid assertionsnobu2013-08-081-8/+4
| | | | | | * test/ruby/test_range.rb: remove invalid assertions for [Bug #8739]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/test_httpresponse.rb (test_send_body_*_chunked): theseusa2013-08-082-0/+9
| | | | | | | | expectations assumes that the IOs are binmode. fixed test failures introduced at r42427 on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Follow r42431naruse2013-08-081-3/+3
| | | | | | Follow tests to revert r42400. [Bug #8739] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* range.c: revert r42400nobu2013-08-083-17/+7
| | | | | | | * range.c (range_last): revert r42400. [Bug #8739] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: rb_str_normalize_ospathnobu2013-08-083-13/+21
| | | | | | | * file.c (rb_str_normalize_ospath): extract and move from dir.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_ssl.rb: Fix test for CVE-2013-4073.charliesome2013-08-072-2/+7
| | | | | | Patch by Antonio Terceiro. [Bug #8750] [ruby-core:56437] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-08-08svn2013-08-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpresponse.rb: Allow #body to be an IO-like objectdrbrain2013-08-074-4/+107
| | | | | | | | | | that responds to #readpartial and #read. [ruby-trunk - Feature #8155] * NEWS: NEWS for above * test/webrick/test_httpresponse.rb: Tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Process.argv0.knu2013-08-075-6/+14
| | | | | | | * ruby.c (Process.argv0): New method to return the original value of $0. [Feature #8696] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Process.setproctitle().knu2013-08-074-9/+67
| | | | | | | * ruby.c (Process.setproctitle): New method to change the title of the running process that is shown in ps(1). [Feature #8696] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_odd_p): Check the bignum length.akr2013-08-072-2/+7
| | | | | | | | (rb_big_even_p): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (dbl2big): A condition simplified.akr2013-08-072-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: missed ticket number.usa2013-08-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/test_cgi.rb (TestWEBrickCGI#{start_cgi_server,test_cgi}):usa2013-08-072-2/+7
| | | | | | | mswin is not only mswin32 but also mswin64. [Bug #8746] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_fiber_start): use RARRAY_RAWPTR() instead ofko12013-08-073-7/+13
| | | | | | | | | | RARRAY_PTR() because there is no new reference. * proc.c (curry): ditto. * proc.c (rb_proc_call): remove line break. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e