aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* configure.in: gcc_majornobu2013-04-051-8/+2
| | | | | | * configure.in: use gcc_major value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: no -Wextra-token on gcc 3nobu2013-04-051-1/+8
| | | | | | | * configure.in (warnflags): -Wextra-tokens is same as -Wextra and let -Wno- options ignored on gcc 3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: -Werror=extra-tokensnobu2013-04-051-0/+1
| | | | | | | * configure.in (warnflags): bail out at extra tokens, instead continuing with lots of warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update comments.akr2013-04-051-12/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.akr2013-04-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (HAVE_TRUE_LONG_LONG): Defined to distinguishakr2013-04-053-7/+18
| | | | | | | | | | availability of long long and availability of 64bit integer type. * pack.c: Use HAVE_TRUE_LONG_LONG to distinguish q! and Q! support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* pack.c: use LONG_LONGnobu2013-04-051-1/+1
| | | | | | | * pack.c (NATINT_LEN_Q): do not use long long directly, use LONG_LONG instead. fix compilation error on mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * addr2line.c: include ruby/missing.h to fix compile error on Debian.akr2013-04-052-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: defined? with empty expressionnobu2013-04-053-1/+16
| | | | | | | * compile.c (iseq_compile_each): fix of defined? with empty expression. [ruby-core:53999] [Bug #8220] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: no -include optionsnobu2013-04-051-1/+1
| | | | | | | * configure.in (XCFLAGS): stop including missing.h by command line option, as the header seems included necessary places already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* defines.h: RUBY_SYMBOL_EXPORT_{BEGIN,END}nobu2013-04-0531-191/+75
| | | | | | | * include/ruby/defines.h (RUBY_SYMBOL_EXPORT_{BEGIN,END}): visibility control macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-04-050-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/-test-/win32/dln: remove static librarynobu2013-04-051-0/+1
| | | | | | * ext/-test-/win32/dln/extconf.rb: remove static library too at clean. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dl/dl.h: suppress warningnobu2013-04-051-1/+1
| | | | | | * ext/dl/dl.h (dlopen): suppress unused-but-set-variable warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* curses.c: fix functionnobu2013-04-053-1/+12
| | | | | | | * ext/curses/curses.c (Init_curses): fix implementation function, crmode should be same as cbreak. [ruby-core:54013] [Bug #8222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_curses.rb: tests for getch.nobu2013-04-051-0/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/hello.rb: Typo in Curses example by Drew Blaszzak2013-04-052-1/+6
| | | | | | | [Fixes GH-273] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-05svn2013-04-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: avoid inadvertent symbol creationnobu2013-04-043-4/+28
| | | | | | * object.c (rb_mod_cvar_set): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (bind_random_port): Rescue EACCES for SunOS.akr2013-04-042-1/+8
| | | | | | | | | | bind() on SunOS for port 2049 (nfs) and 4045 (lockd) causes EACCES with unprivileged process. cf. PRIV_SYS_NFS in privileges(5) [ruby-core:48064] [Bug #7183] reported by Frank Meier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: Remove condition for bcc.akr2013-04-043-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (FIX2LONG): Parenthesize the macro body.akr2013-04-042-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_strftime): Describe %L and %N truncates digits underakr2013-04-042-0/+9
| | | | | | | | the specified length. [ruby-core:52130] [Bug #7829] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_cvar_set): Reverted "avoid inadvertentakr2013-04-042-14/+10
| | | | | | | | | symbol creation" to avoid SEGV by Class.new.class_variable_set(1, 2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pathname/pathname.c (path_write): New method.akr2013-04-044-0/+71
| | | | | | | | | (path_binwrite): Ditto. [ruby-core:49468] [Feature #7378] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: assert stderr if marshal failednobu2013-04-041-1/+6
| | | | | | | * test/ruby/envutil.rb (assert_separately): force to assert stderr to be empty if marshal failed, as something is emitted probably. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reduce overhead of TYPEnobu2013-04-043-34/+27
| | | | | | | | | | * array.c (ary_join_1): reduce overhead of TYPE(). * eval.c (rb_frozen_class_p, rb_mod_{append,prepend}_features): ditto. * string.c (rb_to_id): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: avoid inadvertent symbol creationnobu2013-04-041-6/+41
| | | | | | | | * object.c (rb_mod_const_set): fix symbol name check. (rb_obj_ivar_set): ditto. (rb_mod_cvar_set): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c: Fixes wrong scopes of #if USE_SLEEPY_TIMER_THREADyugui2013-04-042-6/+8
| | | | | | .. #endif sections. This fixes a build error on NativeClient. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (ruby_init_stack): Avoid using uninitialized value.yugui2013-04-042-21/+34
| | | | | | stackaddr and size are not set if get_stack() fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* struct.c: avoid inadvertent symbol creationnobu2013-04-043-7/+50
| | | | | | | | | * struct.c (make_struct): avoid inadvertent symbol creation. (rb_struct_aref): ditto. (rb_struct_aset): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: avoid inadvertent symbol creationnobu2013-04-043-18/+39
| | | | | | | | | * object.c (rb_mod_const_set): avoid inadvertent symbol creation. (rb_obj_ivar_set): ditto. (rb_mod_cvar_set): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enum.c: avoid inadvertent symbol creationnobu2013-04-043-3/+27
| | | | | | * enum.c (enum_inject): avoid inadvertent symbol creation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: avoid inadvertent symbol creationnobu2013-04-043-7/+49
| | | | | | | | | * thread.c (rb_thread_aref): avoid inadvertent symbol creation. (rb_thread_variable_get): ditto. (rb_thread_key_p): ditto. (rb_thread_variable_p): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: error messagenobu2013-04-041-1/+1
| | | | | | | * thread.c (rb_thread_variable_get): fix error message. getter doesn't modify thread variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_bn.c (ossl_bn_to_i): Use bn2hex to speed up.naruse2013-04-042-2/+7
| | | | | | In general, binary to/from decimal needs extra cost. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: Specify arguments to test functions.akr2013-04-032-23/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-04svn2013-04-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix can't create from bn.naruse2013-04-033-2/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: Test functions and libraries after headers.akr2013-04-032-21/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add comment.akr2013-04-031-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_seek_m): Accept :CUR, :END, :SET as "whence" argument.akr2013-04-034-8/+54
| | | | | | | | | (interpret_seek_whence): New function. [ruby-dev:45818] [Feature #6643] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c: Describe the behavior which Ruby invokes a commandlineakr2013-04-032-0/+12
| | | | | | | | directly without shell if the commandline is simple enough. [ruby-core:50459] [Bug #7489] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo in NEWSkazu2013-04-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): Invoke Logging::log_close in a ensureakr2013-04-032-2/+6
| | | | | | | | clause. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): Use Logging.open to switch stdout andakr2013-04-033-13/+21
| | | | | | | | | | | | | stderr. Delay Logging::log_close until the failure message is written. Write the failure message only if log file is opened. * lib/mkmf.rb (Logging.log_opened?): New method. [ruby-dev:47215] [Bug #8209] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: pass through unknown sequencenobu2013-04-031-0/+6
| | | | | | | | * win32/win32.c (constat_apply): pass through unknown sequence which starts with ESC but is not followed by a bracket. [ruby-core:53879] [Bug #8201] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: pass through unknown sequencenobu2013-04-031-1/+11
| | | | | | | | * win32/win32.c (constat_apply): pass through unknown sequence which starts with ESC but is not followed by a bracket. [ruby-core:53879] [Bug #8201] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c: hide intermediate Bignumsnobu2013-04-034-1/+18
| | | | | | | | | * bignum.c (rb_big_eq): hide intermediate Bignums not just freeing memory. [ruby-core:53893] [Bug #8204] * object.c (rb_obj_hide): hide an object by clearing klass. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c: Bignum zero comparisonnobu2013-04-036-0/+52
| | | | | | | | * bignum.c (rb_big_eq): test as Fixnum if possible and get rid of zero length Bignum. [ruby-core:53893] [Bug #8204] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e