aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* win32ole.c: fix long conversionnobu2016-08-131-7/+10
| | | | | | | * ext/win32ole/win32ole.c (ole_val2variant): get rid of repeated conversions and fix a compile error due to V_I8 in old VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* getnameinfo.c: rubysocket.h for inet_ntopnobu2016-08-132-1/+2
| | | | | | | * ext/socket/getnameinfo.c: needs rubysocket.h for fallback definition of inet_ntop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: fix ALWAYS_INLINE usagenobu2016-08-131-1/+2
| | | | | | | * vm_insnhelper.c (vm_getivar): ALWAYS_INLINE macro needs an argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-08-13svn2016-08-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_val2variant): fix integer conversion insuke2016-08-122-3/+14
| | | | | | | | cygwin64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb (WEBrick::Config::General):naruse2016-08-122-1/+9
| | | | | | | | | disable reverse lookup by default. [ruby-core:45514] [Feature #6559] Socket.do_not_reverse_lookup is true by default but WEBrick overwrote it. patch by Eric Hodel [ruby-core:45527] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2016-08-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix name in r55863 [ci skip]nobu2016-08-121-1/+1
| | | | | | | | * ChangeLog: fix the original patch author's name to the name written in the patch, not "author name" in git. [Feature #10594] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* error.c: fix newline in syntax errornobu2016-08-123-3/+12
| | | | | | | | * error.c (rb_syntax_error_append): fix newline in syntax error message to the beginning, not after file name and line number. [Feature #11951] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: const_decl_gennobu2016-08-121-3/+11
| | | | | | | * parse.y (const_decl_gen): extract as a function as well as ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: assign_errornobu2016-08-121-6/+6
| | | | | | * parse.y (assign_error_gen): [ripper] rename without backref. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-08-12svn2016-08-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2016-08-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Comparable#clampnobu2016-08-114-0/+56
| | | | | | * compar.c (cmp_clamp): Introduce Comparable#clamp. [Feature #10594] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compar.c: utility functionsnobu2016-08-112-19/+21
| | | | | | | | * compar.c (rb_cmp): call comparison method by predefiend ID. * compar.c (cmpint): returns compared result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: node_assignnobu2016-08-111-8/+0
| | | | | | | * parse.y (stmt, command_asgn): unifiy parser and ripper code by node_assign macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: backref_assign_errornobu2016-08-111-32/+23
| | | | | | * parse.y (backref_assign_error): unify parser and ripper code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: const declaration macronobu2016-08-111-44/+19
| | | | | | * parse.y (const_decl): unify parser and ripper code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: const field macrosnobu2016-08-111-19/+10
| | | | | | | * parse.y (const_path_field, top_const_field): unify parser and ripper code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-08-11svn2016-08-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/prime.rb: Optimize prime?marcandre2016-08-103-15/+20
| | | | | | | | Adapted from patch by Jabari Zakiya [#12665] * test/test_prime.rb: Improve test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: rhs with rescue modifiernobu2016-08-102-41/+38
| | | | | | | * parse.y (command_rhs, arg_rhs): introduce new rules to reduce repeated rules with rescue modifier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/resolv: fix for cygwinnobu2016-08-101-11/+5
| | | | | | | | | | * ext/win32/resolv/resolv.c: needs windows.h for iphlpapi.h on cygwin. [ruby-core:76791] [Bug #12663] * ext/win32/resolv/resolv.c (w32error_make_error): use Win32::Resolv::Error, an alias of Win32::Registry::Error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: rescue modifier in rhsnobu2016-08-103-0/+27
| | | | | | | * parse.y (command_asgn): rescue modifier in command assignment should be limited to rhs only. [ruby-core:75621] [Bug #12402] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-08-10svn2016-08-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/resolv: fix for cygwinnobu2016-08-103-1/+12
| | | | | | | | | * ext/win32/resolv/resolv.c: needs windows.h for iphlpapi.h on cygwin. [ruby-core:76791] [Bug #12663] * ext/win32/resolv/resolv.c (w32error_make_error): use Win32::Resolv::Error, an alias of Win32::Registry::Error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove empty directorieskazu2016-08-090-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: implement Hash#map_v and Hash#map_v!mrkn2016-08-093-0/+95
| | | | | | | | | * hash.c (rb_hash_map_v, rb_hash_map_v_bang): impelement Hash#map_v and Hash#map_v! [Feature #12512] [ruby-core:76095] * test/ruby/test_hash.rb: add tests for above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_getivar): use always_inline becausenaruse2016-08-092-8/+7
| | | | | | gcc7 doesn't inline this without always_inline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_objectspace.rb: errors in a finalizernobu2016-08-091-1/+1
| | | | | | | * test/ruby/test_objectspace.rb (test_finalizer_with_super): adjust number of arguments to get rid of errors in a finalizer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk: Tk is removed from stdlib. [Feature #8539]naruse2016-08-091060-156757/+10
| | | | | | https://github.com/ruby/tk is the new upstream. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c: repeated checks and conversions [ci skip]nobu2016-08-091-6/+8
| | | | | | | * ext/tk/tcltklib.c (ip_init): get rid of repeated checks and conversions in StringValueCStr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c: use StringValueCStr [ci skip]nobu2016-08-091-13/+13
| | | | | | | | | | | * ext/tk/tcltklib.c (set_max_block_time, tcl_protect_core, ip_init, ip_create_slave_core, get_obj_from_str, ip_cancel_eval_core, lib_set_system_encoding, alloc_invoke_arguments, lib_merge_tklist): use StringValueCStr instead of StringValuePtr for values to be passed to Tcl interperter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c: use PRIsVALUE [ci skip]nobu2016-08-091-5/+1
| | | | | | | * ext/tk/tcltklib.c (set_max_block_time): use PRIsVALUE to get rid of dangling pointer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib.c: missing break [ci skip]nobu2016-08-091-0/+1
| | | | | | | | * ext/tk/tcltklib.c (set_max_block_time): fix missing break. TclTkLib.set_max_block_time(1) works but TclTkLib.set_max_block_time(1.0) didn't. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltk.rb: suppress a warning [ci skip]nobu2016-08-091-0/+1
| | | | | | | * ext/tk/lib/tcltk.rb (TclTkWidget#initialize): suppress an "assigned but unused variable" warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tcltklib/sample2.rb: use attr_accessor [ci skip]nobu2016-08-091-1/+1
| | | | | | | | * ext/tk/sample/tcltklib/sample2.rb (Othello::BoardView::Square): use attr_accessor instead of attr with optional boolean argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use true and false [ci skip]nobu2016-08-095-14/+14
| | | | | | | | | | * ext/tk/lib/tk/texttag.rb, ext/tk/sample/tcltklib/sample2.rb, ext/tk/sample/tkline.rb, ext/tk/sample/tktimer.rb: use true and false instead of TRUE and FALSE. * ext/win32ole/sample/ienavi.rb (stop_msg_loop): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-08-09svn2016-08-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/maintainers.rdoc: Remove moved file section.kazu2016-08-082-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/sample/excel1.rb, ext/win32ole/sample/excel2.rb,suke2016-08-086-7/+14
| | | | | | | | | | ext/win32ole/sample/excel3.rb, ext/win32ole/sample/ie.rb, ext/win32ole/sample/ienavi.rb, ext/win32ole/sample/ienavi2.rb: use true instead of deprecated TRUE. [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* internal.h: fix r55831nobu2016-08-081-1/+1
| | | | | | | * internal.h (RBASIC_CLEAR_CLASS): fix compile error and size to fill. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: no verbose in worker processesnobu2016-08-081-1/+1
| | | | | | | | * test/lib/test/unit.rb (Test::Unit::Parallel::Worker.launch): disable verbose flag in worker processes, get rid of unexpected output within marshaled results. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h (RBASIC_CLEAR_CLASS): Reroute ANSI C's strictshyouhei2016-08-082-2/+8
| | | | | | | | | aliasing rule. [ruby-core:74427][Bug #12191][ruby-core:76747][Bug #12657] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-08-08svn2016-08-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2016-08-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warningsnobu2016-08-072-0/+4
| | | | | | * basictest/runner.rb, bootstraptest/runner.rb: disable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: suppress warningsnobu2016-08-071-1/+1
| | | | | | * tool/vcs.rb (VCS#modified): get rid of set but unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: suppress a warningnobu2016-08-071-3/+3
| | | | | | * ext/extmk.rb: get rid of shadowing outer local variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: remove sysquotenobu2016-08-071-7/+3
| | | | | | * ext/extmk.rb (sysquote): removed. unnecessary since r52161. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e