* parse.y: show a warning for concatenating string literals because
  it will be deprecated in the future.
  patched by mame (Yusuke Endoh) at [ruby-core:44207].
  [ruby-core:44156] [Feature #6265]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2012-10-25

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/mkconfig.rb: remove string literal concatenation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* include/ruby/ruby.h, class.c: remove (revert)
  `rb_add_method_cfunc_frameless()' API.
  This API is not mature to become an offical API.
  For example, we can not use this API with
  `rb_define_private_method()'.
* method.h, vm_method.c (rb_add_method_cfunc_frameless): removed.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/win32.c (has_redirection): should use shell (cmd.exe) when
  the commandline containts '&'.
  reported by Roger Pack at [ruby-core:47912] [Bug #7143], and
  patched by Heesob Park at [ruby-core:47931].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
remove string literal concatenation




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Revert r37316

The commit introduces too many failures and disturbs release engineering.
Re-commit it with fixed tests.

Thu Oct 25 13:09:01 2012  NAKAMURA Usaku  <usa@ruby-lang.org>

       * parse.y: show a warning for concatenating string literals because
         it will be deprecated in the future.
         patched by mame (Yusuke Endoh) at [ruby-core:44207].
         [ruby-core:44156] [Feature #6265]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
revert r37326 "remove string literal concatenation"




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
parse.y: concatenated literals

* parse.y (literal_concat_gen): merge fixed strings across
  concatenated literals, after an interpolation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2012-10-26

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Merge branch 'trunk' into probes

* trunk:
  * 2012-10-26
  parse.y: concatenated literals
  revert r37326 "remove string literal concatenation"
  Revert r37316
  remove string literal concatenation
  * win32/win32.c (has_redirection): should use shell (cmd.exe) when   the commandline containts '&'.   reported by Roger Pack at [ruby-core:47912] [Bug #7143], and   patched by Heesob Park at [ruby-core:47931].
  * include/ruby/ruby.h, class.c: remove (revert)   `rb_add_method_cfunc_frameless()' API.   This API is not mature to become an offical API.   For example, we can not use this API with   `rb_define_private_method()'. * method.h, vm_method.c (rb_add_method_cfunc_frameless): removed.
  * tool/mkconfig.rb: remove string literal concatenation.
  * 2012-10-25
  * parse.y: show a warning for concatenating string literals because   it will be deprecated in the future.   patched by mame (Yusuke Endoh) at [ruby-core:44207].   [ruby-core:44156] [Feature #6265]
* object.c (rb_mod_const_get): const_get accepts qualified constant
  strings.  e.g. Object.const_get("Foo::Bar::Baz") [ruby-core:41404]

* test/ruby/test_module.rb: tests for new behavior

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2012-10-27

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
win32.h: fstat on mingw32

* include/ruby/win32.h (fstat): use _fstati64() instead of fstati64()
  on mingw32.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
parse.y: bit field lex_state

* parse.y (enum lex_state_e): [EXPERIMENTAL] lex_state as bit field /
  IS_lex_state() macro.  based on the patch by Dave B in
  [ruby-core:23503].  [Feature #1493]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c (rb_iseq_compile_with_option): Instead of testing
  respond_to, just check if the argument is actually a file,
  because by calling user-defined gets something weired can
  happen.  Patch by Glass_saga. [ruby-dev:40202] [Bug #2861]

* parse.y (ripper_initialize): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c (rb_mod_const_get): make sure the constant name is
  converted to a string before searching. [ruby-core:48405]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* numeric.c (rb_float_new_in_heap), include/ruby/ruby.h:
  make all Float objects frozen.
  [ruby-dev:46081] [ruby-trunk - Feature #6936]
  Most part of patch by NARUSE, Yui  <naruse@ruby-lang.org>.
* class.c (singleton_class_of): raise TypeError when
  trying to define a singleton method on Float objects.
* vm.c (vm_define_method): ditto.
* test/ruby/marshaltestlib.rb: catch up above changes.
* test/ruby/test_class.rb: ditto.
* test/test_pp.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* struct.c: fix typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (gc_profile_result, gc_profile_report): use internal structures
  to avoid allocations and progressively print the output for #report.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e