aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 2014-11-29svn2014-11-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_error.c (error_print): respect the encoding of the message.usa2014-11-283-2/+14
| | | | | | | | * io.c (rb_write_error_str): use rb_w32_write_console() on Windows if stderr is a tty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: unnecessary #undefnobu2014-11-281-1/+0
| | | | | | | * file.c (flock): remove unnecessary #undef flock, trace of green thread polling. patched by Rohan Garg. [Bug #10551] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update dependency.akr2014-11-271-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* README.EXT: fix typonobu2014-11-271-1/+1
| | | | | | | pointed out by at: https://github.com/ruby/ruby/commit/c262acb4e023b6cd4e06b993508ab59a5f61607c#commitcomment-8748351 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: add --with-setup optionnobu2014-11-272-1/+12
| | | | | | * configure.in (--with-setup): add option to select ext/Setup file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: INITOBJSnobu2014-11-273-9/+9
| | | | | | * common.mk (INITOBJS): rename DMYEXT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dmyenc.c: separatenobu2014-11-276-8/+17
| | | | | | | * dmyenc.c (Init_enc): separate from dmyext.c for statically linked extension excluding encoding libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* continuation.c: quiet static-linked-extnobu2014-11-271-0/+2
| | | | | | | * ext/continuation/continuation.c (Init_continuation): start quietly if statically linked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make_encmake.rb: fix typonobu2014-11-271-2/+3
| | | | | | * enc/make_encmake.rb: fix typo, and use real read filename. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-28svn2014-11-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix a grammonobu2014-11-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* store make output.akr2014-11-271-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2014-11-272-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix indent [ci skip]kazu2014-11-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (miniprelude.c): It is not depend on prelude.rb now.akr2014-11-272-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update dependencies.akr2014-11-273-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: List up files built always in the source directoryakr2014-11-271-0/+5
| | | | | | | | and source files built always in the build directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: List up files built always in the source directoryakr2014-11-271-11/+124
| | | | | | | | | and source files built always in the build directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add obsolete callcc.kazu2014-11-272-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): remove duplicated line event.ko12014-11-273-14/+45
| | | | | | | | | [Bug #10449] * test/ruby/test_settracefunc.rb: add and fix tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_args.c: fix backtrace location for keyword related exceptions.ko12014-11-275-39/+97
| | | | | | | | | | | | | | | | | | | | For example, the following program def foo(k1: 1); end # line 1 foo(k2: 2) # line 2 causes "unknown keyword: k2 (ArgumentError)". Before this patch, the backtrace location is only line 2. However, error should be located at line 1 (over line 2 in stack trace). This patch fix this problem. * class.c (rb_keyword_error_new): separate exception creation logic from rb_keyword_error(), to use in vm_args.c. * vm_insnhelper.c (rb_arg_error_new): rename to rb_arity_error_new(). * vm_args.c (argument_arity_error): rename to argument_arity_error(). * vm_args.c (arugment_kw_error): added to fix backtrace. * test/ruby/test_keyword.rb: add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: prelude.c by BASERUBYnobu2014-11-272-8/+13
| | | | | | | * common.mk (prelude.c): no longer depends on miniruby, since not depending on rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: no preludes for minirubynobu2014-11-272-1/+5
| | | | | | * common.mk (miniprelude.c): miniruby needs no preludes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* prelude.c.tmpl: no preludes, no code.nobu2014-11-272-2/+10
| | | | | | * template/prelude.c.tmpl: no code if no prelude code is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* time.c: indentnobu2014-11-271-30/+30
| | | | | | * time.c (find_time_t): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (objspace_malloc_increase): enable lazy sweep on GC by malloc()ko12014-11-273-1/+10
| | | | | | | | | | (malloc_increase) to make GC incrementally. This change can increase memory consumption. Report us if you find any problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_s_mkutc): [DOC] Time.utc's 10 arguments formakr2014-11-272-4/+12
| | | | | | | | | | | doesn't examine wday, yday, isdst and tz. (time_s_mktime): [DOC] Time.mktime's 10 arguments form doesn't examine wday, yday and tz. Suggested by naruse. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Describe about TSort.each_*akr2014-11-271-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* generic_erb.rb: read in binary modenobu2014-11-271-1/+1
| | | | | | | * tool/generic_erb.rb: read existing file in binary mode to convert nothing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_const.rb: use assert_warningnobu2014-11-271-1/+4
| | | | | | | * test/ruby/test_const.rb (test_redefinition): should use assert_warning for warning message test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: skip if load failednobu2014-11-271-0/+2
| | | | | | | * test/lib/envutil.rb (assert_no_memory_leak): skip when failed to load fiddle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c (iseq_data_to_ary): add missing GC guardnormal2014-11-272-0/+5
| | | | | | | | It seems possible for a compiler to optimize away nbody because we only access it via RARRAY_AREF and RARRAY_LEN macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h: add rb_thread_t::local_storage_recursive_hashko12014-11-276-33/+69
| | | | | | | | | | | | | | | | | to speed up Thread#[:__recursive_key__] access. [Bug #10511] * thread.c (threadptr_local_aref): add fast path for :__recursive_data__. * thread.c (threadptr_recursive_hash, threadptr_recursive_hash_set): add special accessor for recursive hash. * cont.c: store/restore local_storage_recursive_hash. * vm.c: init and mark local_storage_recursive_hash. * vm_trace.c (rb_threadptr_exec_event_hooks_orig): clear and restore local_storage_recursive_hash directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib.matrix.rb: Fix typo. Patch by Dimitrios Zorbas. [GH-772]marcandre2014-11-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-27svn2014-11-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c (iseq_calc_param_size): hoist out of iseq_set_argumentsnormal2014-11-262-32/+42
| | | | | | This will be reused for iseq loading. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_autoload.rb (class TestAutoload): change load targettarui2014-11-261-3/+3
| | | | | | | | from Continuation to Date. Becouse Continuation is no longer quiet. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2014-11-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: export keyword argument functionsnobu2014-11-266-2/+49
| | | | | | | * include/ruby/ruby.h (rb_get_kwargs, rb_extract_keywords): export keyword argument functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/inlinetest.rb: removed unused test helper.hsbt2014-11-262-55/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/continuation/continuation.c (Init_continuation): obsolete callcc.tarui2014-11-262-0/+8
| | | | | | | first step of [Feature #10548]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typosorah2014-11-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_gc.rb (test_latest_gc_info): do test separatelyko12014-11-262-0/+7
| | | | | | | | to avoid mysterious behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: for non-standard consolenobu2014-11-262-1/+6
| | | | | | | * win32/win32.c (constat_reset): do nothing on non-standard console emurators. [ruby-core:66471] [Bug #10546] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tsort.rb: Returns an enumerator if no block is given.akr2014-11-263-6/+26
| | | | | | | | [ruby-core:66270] [Feature #10508] Proposed by Andrey Savchenko. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: fix invalid keyword argumentnobu2014-11-263-8/+40
| | | | | | | | * parse.y (f_label, f_kw, formal_argument_gen): ignore invalid formal argument in keyword argument definition. [ruby-dev:48742] [Bug #10545] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use clock_gettime to avoid object creationnaruse2014-11-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for r48563naruse2014-11-261-0/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: use RUBY_SAFE_LEVEL_MAXnobu2014-11-261-2/+2
| | | | | | | | * proc.c (rb_method_call_with_block): use RUBY_SAFE_LEVEL_MAX, which is declared in include/ruby/ruby.h since 2.1. The safe level is now limited upto 3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e