21841 Commits

Author SHA1 Message Date
svn
36e908901b * 2010-11-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-16 23:55:31 +00:00
jeg2
40e5b39336 * lib/csv.rb: Upgrading output encoding as needed. [ruby-core:33135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-16 23:55:29 +00:00
mame
6cba0f0663 * vm_insnhelper.c (vm_throw): remove fear of undefined behavior :-)
Coverity Scan found this bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-16 13:32:30 +00:00
naruse
3124b5fc3e Refix timing problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-16 06:20:06 +00:00
mrkn
0ec61a3156 * ext/bigdecimal/lib/bigdecimal/util.rb (to_digits): avoid unused
variables warning, reported by Aaron Patterson.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-16 00:37:31 +00:00
nobu
8b09bf2a72 * pack.c (PACK_ITEM_ADJUST): return nil not result array and yield
values if block is given.  [ruby-core:33193]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 21:39:39 +00:00
mame
0dbe6b6113 * regparse.c (and_cclass, or_cclass): fix memory leak. Coverity Scan
found this bug.  [ruby-dev:42579]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 16:06:35 +00:00
svn
16b7c1e3c6 * 2010-11-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 15:09:41 +00:00
mame
4c17014bf3 * gc.c (assign_heap_slot): fix fear of memory leak and memory
violation.  Coverity Scan found this bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 15:09:40 +00:00
mame
9ffd060b30 * eval_intern.h (CHECK_STACK_OVERFLOW): it was not intended to add
size_t to a pointer typed VALUE*.  Coverity Scan found this defect.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 14:57:18 +00:00
mame
7b7210439c * compile.c (iseq_set_exception_local_table, iseq_set_local_table,
rb_iseq_build_from_ary): fix type inconsistency (which is benign
  because sizeof(ID) == sizeof(ID*), though).  Coverity Scan found
  these bugs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 14:44:19 +00:00
mame
e20d736467 * vm_eval.c (rb_funcall): ensure va_end after va_init_list. Coverity
Scan found this bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 13:48:37 +00:00
naruse
cb2235c112 Avoid timing problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 09:09:39 +00:00
tenderlove
b73d1fbd25 * lib/racc/parser.rb (do_parse, yyparse): using class eval to define
method and avoid __send__.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 02:47:05 +00:00
tenderlove
8a6ebf4c51 making ssl test a little better
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 02:46:55 +00:00
naruse
a33b5edda0 STDIN is not valid when ruby doesn't have tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 02:37:23 +00:00
naruse
10c73a7b44 Prevent timing failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 02:37:19 +00:00
svn
b89bd51d9c * 2010-11-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-14 21:46:10 +00:00
tenderlove
fb7a337e97 * etc/openssl/ossl_ssl.c (ossl_ssl_get_cert): raise exception if
pointer is invalid.  Thanks Ippei Obayashi! [ruby-dev:42573]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-14 21:46:08 +00:00
nobu
54e1affd16 * enc/Makefile.in (distclean): should not remove sources which are
distributed in tarball.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-14 08:57:53 +00:00
nobu
b5c3fb2465 * parse.y (parser_set_token_info): turn on/off with directives.
[ruby-core:25442]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-14 07:49:06 +00:00
nobu
f2dd4eb3cc * io.c (argf_readlines): forward to current_file for arguments
check.  http://twitter.com/nagachika/status/3634254856589312


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-14 03:05:29 +00:00
nobu
261903223a * win32/setup.mak (-basic-vars-, -runtime-): suppress trailing
space and compiler command line.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13 23:48:12 +00:00
azav
327adb32e3 * symbian/setup (config.h): Added HAVE_LABS and HAVE_LLABS to config.h.
* symbian/configure.bat: Changed packaging version in line with API style 3 versioning.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13 19:32:35 +00:00
azav
18ae742369 Added HAVE_LABS and HAVE_LLABS to config.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13 19:26:55 +00:00
svn
5e8efdd610 * 2010-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13 19:21:13 +00:00
azav
2ffe5e7d98 Changed packaging version in line with API style 3 versioning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13 19:21:12 +00:00
nobu
223c0b48a1 * common.mk (showflags, help): emit messages at once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13 07:38:01 +00:00
nobu
c37066fab7 * win32/Makefile.sub (MSG, EOM): remove surrounding quotes by %~I.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13 07:26:16 +00:00
arton
89616d6fe3 win32/Makefile.sub: remove useless 'ECHO is <ON>' message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 16:38:44 +00:00
svn
89189767ef * 2010-11-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 16:32:00 +00:00
arton
f4c98c3e10 win32/Makefile.sub: reoreder varialbe EOM (don't display it)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 16:31:59 +00:00
nobu
fe2295ea75 * common.mk (showflags, help): use caret to quote leading spaces on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 11:52:45 +00:00
nobu
fd7c0279f8 * Makefile.in, common.mk, cygwin/GNUmakefile.in, enc/depend,
ext/ripper/depend, lib/mkmf.rb, win32/Makefile.sub: caddle up.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 11:51:42 +00:00
naruse
54ba50918e * configure.in: support C level backtrace information on FreeBSD.
When devel/libexecinfo is installed on FreeBSD, now ruby
  can show C level backtrace information.
  http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libexecinfo/

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 07:54:27 +00:00
usa
7b109f1772 * win32/setup.mak: use findstr.exe instead of find.exe, because all
target build platforms should have findstr.exe, and, find.exe often
  means another command such as cygwin's.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 01:00:39 +00:00
nobu
a22b9b0945 * configure.in (DOT, DOXYGEN, PKG_CONFIG): tools running on build
platform, no tool prefix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 16:36:04 +00:00
nobu
812fc57a9a * lib/mkmf.rb (create_makefile): missing newline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 15:53:07 +00:00
nobu
5937e8d5d6 * win32/Makefile.sub: shorten messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 15:31:59 +00:00
svn
430da2ad30 * 2010-11-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 15:30:25 +00:00
nobu
32bd439f76 * win32/Makefile.sub (config.h): need PRI_LL_PREFIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 15:30:24 +00:00
nobu
feb67bc729 * common.mk (showflags): nmake ignores case difference of targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 14:56:48 +00:00
nobu
54fb9d3ca7 * configure.in: ANSI C-conforming const and volatile are mandatory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 14:38:36 +00:00
nobu
12f742306e * configure.in (AC_C_CONST, AC_C_INLINE, AC_C_VOLATILE): check
before used in other checks.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 14:32:15 +00:00
nobu
6a256d448d * configure.in (RUBY_CHECK_PRINTF_PREFIX): should not break from
RUBY_WERROR_FLAG, so that ac_c_werror_flag gets restored.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 14:29:42 +00:00
nobu
a774aa4e79 * ext/iconv/iconv.c (warn_deprecated): show caller position.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 14:04:48 +00:00
nobu
a77d2ac5ba * io.c (argf_close): untie tied io before closing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 14:03:17 +00:00
nobu
684a6059e9 * common.mk (all, main): show flags first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 13:37:35 +00:00
nobu
fa5034ed02 * common.mk (Doxyfile, capi, rdoc): show messages only by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 13:37:33 +00:00
nobu
6c5115379d * cygwin/GNUmakefile.in: shorten messages.
* Makefile.in (install-cross, ext/extinit.o): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 13:03:42 +00:00