1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ChangeLog
mrkn 9be503f332 * math.c (math_atan2): change the behavior when x and y are zero.
* test/ruby/test_math.rb (test_atan2): add tests for the above
  changes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 03:51:56 +00:00

148 lines
4.8 KiB
Text

Fri Aug 27 12:47:44 2010 Kenta Murata <mrkn@mrkn.jp>
* math.c (math_atan2): change the behavior when x and y are zero.
* test/ruby/test_math.rb (test_atan2): add tests for the above
changes.
Fri Aug 27 12:26:23 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* object.c (rb_obj_class): remove mention of obsolete method.
a patch from Run Paint Run Run at [ruby-core:31842].
Fri Aug 27 12:25:03 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (null_device): the name of null device. [ruby-dev:41791]
Fri Aug 27 07:57:34 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_shuffle_bang): bail out from modification during
shuffle.
* array.c (rb_ary_sample): ditto.
Fri Aug 27 05:11:51 2010 Tanaka Akira <akr@fsij.org>
* ext/pathname/pathname.c (path_sysopen): Pathname#sysopen translated
from pathname.rb.
Thu Aug 26 22:53:56 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_shuffle): rdoc fix. argument name was missing.
a patch from Run Paint Run Run at [ruby-core:31848].
Thu Aug 26 21:49:46 2010 Tanaka Akira <akr@fsij.org>
* ext/pathname/pathname.c (path_readlines): Pathname#readlines
translated from pathname.rb.
Thu Aug 26 10:37:00 2010 NARUSE, Yui <naruse@ruby-lang.org>
* regint.h (OnigStackIndex): the type should be intptr_t.
Original Oniguruma assumes the size of long and that of void *
are equal, but it's not true on LLP64 platform: mswin64.
originally patched by shintaro kuwamoto [ruby-dev:42133]
Thu Aug 26 10:38:11 2010 Yutaka Kanemoto <kanemoto@ruby-lang.org>
* test/dl/test_base.rb: AIX does not have dynamically loadable lib[cm].
* test/fiddle/helper.rb: AIX does not have dynamically loadable lib[cm].
Thu Aug 26 09:49:50 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_shuffle_bang): check number of argument.
Tue Aug 26 09:11:40 2010 Kenta Murata <mrkn@mrkn.jp>
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal,
rmpd_set_thread_local_exception_mode, VpGetException,
VpSetException): thread-local exception mode.
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal,
rmpd_set_thread_local_precision_limit, VpGetPrecLimit,
VpSetPrecLimit): thread-local precision limit.
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal,
rmpd_set_thread_local_rounding_mode, VpGetRoundMode,
VpSetRoundMode, VpException, VpInternalRound):
thread-local rounding mode.
* ext/bigdecimal/bigdecimal.c (BigDecimal_mode, BigDecimal_round,
VpIsRoundMode, VpGetRoundMode, VpSetRoundMode, VpActiveRound,
VpMidRound, VpLeftRound), ext/bigdecimal/bigdecimal.h:
use unsigned short for rounding mode.
* test/bigdecimal/test_bigdecimal.rb (test_mode): add test for
setting rounding mode.
* test/bigdecimal/test_bigdecimal.rb (test_thread_local_mode):
add test for setting mode thread-locally.
Thu Aug 26 07:29:54 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_{shuffle_bang,sample}): use Random class object.
* random.c (try_get_rnd): use default_rand for Random as same as
singleton methods.
* random.c (rb_random_real): check the range of result.
Wed Aug 25 22:11:11 2010 Tanaka Akira <akr@fsij.org>
* ext/pathname/pathname.c (path_binread): Pathname#binread translated
from pathname.rb.
Wed Aug 25 03:42:43 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/dl/cfunc.c (rb_dlcfunc_call): workaround for VC9 for x64.
reported by kuwamoto shintaro in [ruby-dev:42125].
Tue Aug 24 23:28:50 2010 Yusuke Endoh <mame@tsg.ne.jp>
* .gitignore: updated.
Tue Aug 24 22:07:28 2010 Tanaka Akira <akr@fsij.org>
* ext/pathname/pathname.c (path_read): Pathname#read translated from
pathname.rb.
Tue Aug 24 10:11:04 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in: read API version from include/ruby/version.h.
* {bcc,win}32/setup.mak (-version-): ditto.
* version.h (RUBY_LIB_VERSION): use API version numbers.
Tue Aug 24 07:07:28 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_shuffle_bang, rb_ary_sample): add optional
argument random. [ruby-dev:41923] [EXPERIMENTAL]
* random.c (rb_random_{int32,real,bytes}): fallback to normal
method invocation.
Tue Aug 24 06:08:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/version.h (RUBY_API_VERSION_*): renamed and moved
from version.h. [ruby-dev:42103]
Tue Aug 24 05:58:18 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ChangeLog: flushed. [ruby-dev:42050]
For the changes before 1.9.3, see doc/ChangeLog-1.9.3
For the changes before 1.8.0, see doc/ChangeLog-1.8.0
Local variables:
add-log-time-format: (lambda ()
(let* ((time (current-time))
(system-time-locale "C")
(diff (+ (cadr time) 32400))
(lo (% diff 65536))
(hi (+ (car time) (/ diff 65536))))
(format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t)))
indent-tabs-mode: t
tab-width: 8
end: