Commit graph

9774 commits

Author SHA1 Message Date
svn
50783b870e * 2014-01-28
git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/branches/ruby_1_8@44718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-27 18:58:00 +00:00
naruse
fcec1aa6e2 * configure.in: define USE_BUILTIN_FRAME_ADDRESS on x86_64
even if __builtin_frame_address is not used now.
  By this, FreeBSD's clang can build ruby 1.8,
  and alloca(1) doesn't work on it.



git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/branches/ruby_1_8@44717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-27 18:57:57 +00:00
knu
16f61ee5fc Complete the change log entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27 02:17:08 +00:00
svn
0748313315 * 2013-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27 02:10:33 +00:00
knu
8fc8d598c9 * array.c (rb_ary_collect), enum.c (enum_collect): rb_warn() is a
bit too noisy when RubyGems, so change it to rb_warning().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27 02:10:29 +00:00
svn
e2eae5372c * 2013-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 17:10:41 +00:00
akr
57bca36e08 * configure.in: Minix 3.2.1 supports shared libraries as NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 17:10:36 +00:00
svn
cf4117f5c3 * 2012-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@38146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-02 13:08:56 +00:00
knu
a88dc95df3 Make an internal block of Generator return nil instead of self.
* lib/generator.rb (Generator#initialize): Make an internal block
  return nil instead of self. [Bug #7493]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@38145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-02 13:08:52 +00:00
knu
14ddf6c9f0 * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_gc): Fix
a bogus test that would have never passed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16 08:55:15 +00:00
svn
6585a304ce * 2012-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16 08:55:13 +00:00
knu
2fa4652028 * test/-ext-/test_threadswitch_hook.rb
(Test_ThreadSwitch#test_threadswitch_init): This test does not
  pass because the hook method actually calls rb_add_event_hook()
  which does not emit a warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16 08:55:11 +00:00
knu
2c791e967a Merge r37148 from ruby_1_8_7.
* error.c (name_err_to_s): we need not infect msg.

* test/ruby/test_exception.rb (TestException#test_exception_to_s_should_not_propagate_untrustedness): test for it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16 08:55:07 +00:00
knu
4928543d61 Merge r35953 from ruby_1_8_7.
* ext/bigdecimal/bigdecimal.c (VpMemAlloc): Fixes a bug reported by Drew Yao <ayao at apple.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16 08:55:03 +00:00
knu
7eb8872b9a Merge r33999 from ruby_1_8_7.
* ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initialize
  store->ex_data.sk.  [ruby-core:28907] [ruby-core:23971]
  [ruby-core:18121]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16 08:54:57 +00:00
knu
71ac625b71 Merge r32233 and r32320 from ruby_1_8_7.
* ext/tk/extconf.rb: copy from trunk, as requested by Hidetoshi NAGAI.

* ext/tk/extconf.rb (intptr_t, uintptr_t): support for the latest ActiveTcl with mingw.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16 08:54:53 +00:00
svn
669775baae * 2012-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@36547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-27 04:12:20 +00:00
knu
3b6affb067 * numeric.c (int_pow, fix_mul): Avoid optimization bugs of
clang.  Submitted by Wataru Kimura [Bug #6796].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@36546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-27 04:12:08 +00:00
svn
9de0a76ab2 * 2012-06-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@36252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-29 12:19:45 +00:00
nobu
bdaaae417a stack_extend
* eval.c (stack_extend): prevent ALLOCA_N, which reserves a memory
  space with for restoring machine stack stored in each threads, from
  optimization out.  backport r34278 from the trunk.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@36251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-29 12:19:39 +00:00
svn
1c8167781f * 2012-05-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-21 07:32:10 +00:00
knu
5968c595e0 * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
module before calling rb_class2name().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-21 07:32:03 +00:00
svn
ad36457b51 * 2012-05-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18 09:13:57 +00:00
nobu
73ec54406d [ruby-dev:45650]
* lib/mkmf.rb (MakeMakefile#configuration): keep space at end of
  OUTFLAG and COUTFLAG.  [ruby-dev:45650]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18 09:13:47 +00:00
nobu
8acdd955f9 * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,
must not cast it to unsigned long, which may be shorter than
	  VALUE, and the result can be mere garbage.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-11 05:09:58 +00:00
svn
fa9f734f26 * 2012-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-14 09:01:09 +00:00
nobu
52cd11a305 * bignum.c (rb_big2str0): prevent working clone from
GC. [exerb-dev:0578].  patched by MURASE Masamitsu
  <masamitsu.murase AT gmail.com> at [exerb-dev:0580]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-14 09:01:05 +00:00
nobu
383ad6740e merge revision(s) 34908:
* lib/yaml/rubytypes.rb (Exception.yaml_new): fix bug that causes
	  YAML serialization problem for Exception.
	  Exception#initialize doesn't use visible instance variable for
	  the exception message, so call the method with the message.
	  patched by Jingwen Owen Ou <jingweno AT gmail.com>.
	  http://github.com/ruby/ruby/pull/41

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06 03:03:37 +00:00
nobu
6e7e726b8f * marshal.c (mark_dump_arg): mark destination string. patch by
Vit Ondruch.  [Bug #4339]
* marshal.c (clear_dump_arg, clear_load_arg): clean up also data
  tables as same as symbols tables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02 01:53:11 +00:00
nahi
0dea8a71c9 Backport r34482 from trunk. See #5353
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-08 05:57:18 +00:00
svn
910d475db8 * 2012-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-08 05:48:47 +00:00
nahi
e3f049d250 merge revision(s) 31346,31528:
* ext/openssl/extconf.rb: Should check SSLv2_*method.
          openssl compiled with "no-ssl2" the extconf don't fail
          when running `make' having this compilation errors.
          Patched by Laurent Arnoud. fixes #4562, #4556


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-08 05:48:44 +00:00
svn
087b9f9417 * 2012-01-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-26 07:10:08 +00:00
knu
05a579c9ec Forward port r34151 from ruby_1_8_7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-26 07:10:03 +00:00
svn
bea5278a11 * 2011-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-01 23:18:00 +00:00
akr
cd53a65274 * lib/webrick/utils.rb: fix fcntl call.
* lib/drb/unix.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-01 23:17:53 +00:00
svn
c1ad87aae1 * 2011-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-29 15:49:42 +00:00
knu
b146b4305d * configure.in (CXX): Set CXX when mkconfig.rb wants it defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-29 15:49:38 +00:00
svn
d4299c2fbc * 2011-10-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-26 07:05:46 +00:00
nobu
2102e6443a * string.c (rb_str_partition, rb_str_rpartition)
(rb_str_start_with, rb_str_end_with): preserve the last match
  data.  [ruby-core:39671] [Bug #5351]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-26 07:05:42 +00:00
nobu
990e3e6d9a * configure.in (RSHIFT): quote to get rid of argument expansion
for autoconf 2.68.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-29 15:30:09 +00:00
svn
e7f4a32f65 * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-29 15:01:30 +00:00
akr
4c9b7e791a * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
  based on the patch by Masahiro Tomita.  [ruby-dev:44270] 


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-29 15:01:20 +00:00
knu
ffd9245af6 Backport r24500; fixes #2556.
* lib/date.rb (complete_frags): Monday must be suitable for %W's
  default day.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17 09:32:04 +00:00
knu
d040bf7593 Backport r23730; fixes #2462.
* numeric.c (flo_cmp): Infinity is greater than any bignum
  number.  [ruby-dev:38672]

* bignum.c (rb_big_cmp): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17 08:53:08 +00:00
knu
d187fc7251 Fix credit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17 08:30:52 +00:00
svn
cd276fcd88 * 2011-07-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17 08:01:52 +00:00
knu
dc13c010da Backport r31365; fixes #4661.
* configure.in (STRIP): use proper toolchain.  based on a patch
  from Jon Forums at [ruby-core:35909].  fixes #4617


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-17 08:01:48 +00:00
nobu
268b6ddd36 * eval.c (ruby_setjmp): need to save the stack after r2 (the Table
of Contents on ppc64) is saved onto the stack by getcontext().
  based on <https://bugzilla.redhat.com/show_bug.cgi?id=628715>.
  Bug#4411


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-14 07:53:05 +00:00
svn
a1bad3acec * 2011-07-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-14 06:00:39 +00:00