Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 17, 2013
  1. @unak

    add tag v1_9_3_374

    unak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_3_374@38858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 15, 2013
  1. @unak

    * test/net/protocol/test_protocol.rb: the backported test assumed tha…

    unak authored
    …t the
    
      source encoding is UTF-8 (because it's 2.0.0 spec).
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    merge revision(s) 38819: [Backport #7693]

    unak authored
    	* thread_pthread.c (gvl_init): Reset gvl.wait_yield explicitly when
    	  fork()ing. Patch by Apollon Oikonomopoulos. Thanks!
    	  [Bug #7693][ruby-core:51424]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    merge revision(s) 38010: [Backport #7452]

    unak authored
    	* gc.c (rb_objspace_call_finalizer): finalize_deferred may free up
    	  a object which is reachable from a part after this function,
    	  e.g. ruby_vm_destruct(). [ruby-dev:46647] [Bug #7452]
    
    	* test/ruby/test_gc.rb (test_finalizing_main_thread): add a test
    	  for above.
    
    	* test/rdoc/test_rdoc_servlet.rb:  Tets for above
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @unak

    merge revision(s) 37487,37563: [Backport #7278]

    unak authored
    	* lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line):
    	  don't use /n in universal regexp. [ruby-dev:46394] [Bug #7278]
    
    	* lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line):
    	  treat \r as newline as mame pointed. [ruby-dev:46425] [Bug #7278]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @unak

    merge revision(s) 38801,38809,38810: [Backport #7404]

    unak authored
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_sub):
    	  need to specify precision for converting Rational and Float.
    	  [ruby-dev:46544] [Bug #7404]
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_mult): ditto.
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_divide): ditto.
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): ditto.
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_divremain): ditto.
    
    	* test/bigdecimal/test_bigdecimal.rb: add tests for the above fixes.
    
    	* ext/bigdecimal/bigdecimal.c: use `RB_TYPE_P(x, t)` instead of
    	  `TYPE(x) == t`.
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_s): use CRuby style.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @unak

    merge revision(s) 38776: [Backport #7172]

    unak authored
    	* tool/mkconfig.rb: use configured libdir value to fix
    	  --enable-load-relative on systems where libdir is not default value,
    	  overridden in config.site files.  [ruby-core:47267] [Bug #6903]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. @unak

    merge revision(s) 36272: [Backport #7634]

    unak authored
    	* object.c (Init_Object):  Added RDoc location pointers for
    	  Kernel#methods, Kernel#protected_methods, Kernel#private_methods and
    	  Kernel#public_methods.  [Bug #6666]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 11, 2013
  1. @unak

    merge revision(s) 38739: [Backport #7671]

    unak authored
    	* vm_core.h (rb_iseq_t): move flip_cnt from struct iseq_compile_data,
    	  because it has same life span as enclosing iseq.  [Bug #7671]
    	  [ruby-core:51296]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    merge revision(s) 36045: [Backport #7637]

    unak authored
    	* lib/mkmf.rb: add dummy clean-static target to prevent errors for the
    	  case real clean-static target doesn't exist.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    merge revision(s) 37661: [Backport #7633]

    unak authored
    	* vm_exec.h (GENTRY): GENTRY should be pointer size.
    	  A patch by yoshidam (Yoshida Masato) [Bug #7332].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @unak

    [Backport #7624]

    unak authored
    * vm_trace.c (rb_threadptr_exec_event_hooks): added a parameter to pop
      a frame before JUMP_TAG() if exception occurred. This change fix bug
      of Ruby 1.9. [ruby-core:51128] [ruby-trunk - Bug #7624]
    
    * vm_core.h (EXEC_EVENT_HOOK_AND_POP_FRAME): add to use
      `rb_threadptr_exec_event_hooks()' with the pop flag.
    
    * vm.c (vm_exec): use EXEC_EVENT_HOOK_AND_POP_FRAME() while exception
      handling. While exception hadnling, if an exception is raised in
      hooks, need to pop current frame and raise this raised exception by
      hook.
    
    * bootstraptest/test_flow.rb: add a test.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 7, 2013
  1. @unak

    merge revision(s) 38213: [Backport #7629]

    unak authored
    	* vm.c (rb_vm_make_proc): save the proc made from the given block so
    	  that it will not get collected.  [ruby-core:50545] [Bug #7507]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 25, 2012
  1. @unak

    merge revision(s) 37410:

    unak authored
    	* lib/mkmf.rb: fix for if config["libdir"] is nil.
    
    	* tool/make-snapshot: fix wrong regexp for releasing preview.
    	  patched by mame.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    * KNOWNBUGS.rb: if an exception is raised in hooks, need to raise the…

    unak authored
    … exception
    
      in the hooked context.  it's 1.8's behavior.
      see r38601 in trunk.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    merge revision(s) 38595,38596: [Backport #7607]

    unak authored
    	* bignum.c, include/ruby/intern.h (rb_big_eql): exported.
    
    	* thread.c (recursive_check): object_id maybe a Bignum, not Fixnum on
    	  LLP64.  see also r38493 and r38548.
    	  reported by Heesob Park at [ruby-core:51083] [Bug #7607], and patched
    	  by shirosaki at [ruby-core:51095]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @unak

    merge revision(s) 38548:

    unak authored
    	* gc.c (obj_id_to_ref): add a macro to treat Bignum object id.
    	  This follows the change r38493.
    
    	* gc.c (id2ref): fix for working fine with Bignum object id on x64
    	  Windows.
    
    	* gc.c (wmap_finalize): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 21, 2012
  1. @unak

    merge revision(s) 38493,38539: [Backport #7454]

    unak authored
    	* gc.c (nonspecial_obj_id): VALUE is not compatible with Fixnum on
    	  LLP64 platform, such as 64bit Windows.
    	  reporeted by Heesob Park at [ruby-core:50255] [Bug #7454], and the
    	  fix is suggested by akr.
    
    	* object.c (rb_obj_hash): shouldn't assume object_id can be long.
    	  based on a patch by Heesob Park at [ruby-core:51060].
    	  cf. [Backport #7454]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    merge revision(s) 36820: [Backport #7550]

    unak authored
    	mkmf.rb: clean timestamps
    
    	* lib/mkmf.rb (MakeMakefile::CLEANINGS): clean timestamp files.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    merge revision(s) 37862:

    unak authored
    	* test/ruby/test_argf.rb (TestArgf#test_chars): since marshal data is
    	  binary, shouldn't pass via text mode.  use base64 encoded data.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 20, 2012
  1. @unak

    merge revision(s) 35924: [Backport #7587]

    unak authored
    	installation dependencies
    
    	* common.mk (do-install-{all,nodoc,arch}): fix installation
      dependencies so build exts also.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    merge revision(s) 38364,38366: [Backport #7557]

    unak authored
    	* object.c (Init_Object): use rb_mod_init_copy for Class#initialize_copy
    
    	* class.c (rb_class_init_copy): rename to class_init_copy_check, performs type
    	  checks on arguments to prevent reinitialization of initialized class
    	  [ruby-core:50869] [Bug #7557]
    
    	* class.c (rb_mod_init_copy): use class_init_copy_check if receiver is T_CLASS
    
    	* test/ruby/test_class.rb (class TestClass): related test
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    merge revision(s) 38202,38238,38324,38326: [Backport #7527]

    unak authored
    * test/dl/test_func.rb (test_name_with_block, test_bind, test_qsort1):
      call unbind to release the callback closure because maximum number
      of callbacks is limited to DL::MAX_CALLBACK (== 5) with pure DL
      without Fiddle.
    
    * ext/dl/lib/dl/func.rb (DL::Function#unbind, #bound?): suppress
      NoMethodError when Fiddle is available. [ruby-core:50756] [Bug #7543]
    * test/dl/test_func.rb (test_bound*, test_unbind*): tests for the above.
    
    * ext/dl/lib/dl/func.rb (DL::Function#initialize, DL::Function#bind):
      ABI should be set by using CFunc#calltype even when Fiddle is used.
      When Fiddle is used and a block is given, name shoud not be ignored.
      [ruby-core:50562] [Bug #7514]
    
    * ext/dl/lib/dl/import.rb (DL::Importer#bind_function): should respect
      abi and name when Fiddle is used.
    
    * test/dl/test_func.rb (test_name_with_block): test for "name" method
      with giving a block.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @unak

    merge revision(s) 38073,38251,38252: [Backport #7552]

    unak authored
    	* ext/fiddle/extconf.rb, ext/fiddle/function.c
    	  (Fiddle::Function::STDCALL): FFI_STDCALL is not a macro, but an
    	  enumeration. [ruby-core:50398] [Bug #7483]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @unak

    [Backport #7538]

    unak authored
    * thread.c (exec_event_hooks): exceptions in event hooks should not
      propagate outside.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @unak

    merge revision(s) 37572,37622,37766,37773: [Backport #7527]

    unak authored
    	* string.c (rb_str_crypt): crypt(3) may return NULL.
    	  Latest glibc (2.16?) crypt(3) actually returns NULL. [Bug #7312]
    
    	* test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to get
    	  libc's directory. Patched by Vit Ondruch [ruby-core:49763] [Bug #7312]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. @unak

    merge revision(s) 38211: [Backport #7516]

    unak authored
    	* ext/dl/lib/dl/func.rb (DL::Function#bind): When Fiddle is used,
    	  @ptr should be updated. This fixes SEGV raised in DL::Function#call
    	  after calling DL::Function#bind. [Bug #7516] [ruby-dev:46708]
    
    	* test/dl/test_func.rb (test_bind): test for the above
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. @unak

    merge revision(s) 38134,38136: [Backport #7468]

    unak authored
    	* gc.h (SET_MACHINE_STACK_END): add volatile for preventing
    	  harmful optimization.
    	  harmful optimization.  [ruby-dev:46665] [Bug #7468]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. @unak

    merge revision(s) 38095: [Backport #7456]

    unak authored
    	* compile.c (ADD_CATCH_ENTRY): add a cast to fix SEGV with x64 mingw
    	  on Windows 8. Without cast, 0 might be non zero value at higher bits
    	  in rb_ary_new3().
    	  [ruby-core:50258] [Bug #7456]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 19, 2012
  1. @unak

    merge revision(s) 37851: [Backport #7438]

    unak authored
    	* io.c (argf_each_codepoint): add missing ARGF#codepoints [Bug #7438]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    merge revision(s) 34871: [Backport #7415]

    unak authored
    	* file.c (file_expand_path): use wcscasecmp().
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    merge revision(s) 38039: [Backport #7408]

    unak authored
    	* parse.y (parser_yylex): fix false usage of local variable, it cannot
    	  appear in fname state [ruby-core:49659] [Bug #7408]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @unak

    merge revision(s) 36593: [Backport #7407]

    unak authored
    	* gc.c: return true or false. Patch by Dirkjan Bussink. [Bug #6821]
    
    	* test/ruby/test_gc.rb: add test-case for this bug.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @unak

    merge revision(s) 38357,38363: [Backport #7325]

    unak authored
    	* marshal.c (r_entry0): don't taint classes and modules because
    	  Marshal.load just return the dumped classes and modules.
    	  [Bug #7325] [ruby-core:49198]
    
    	* test/ruby/test_marshal.rb: related test.
    	  Marshal.load just returns the dumped classes and modules.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 13, 2012
  1. @unak

    reverted r38318.

    unak authored
    rubyspec reports that there is incompatibility.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.