aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * ext/io/console/console.c (console_set_echo, console_echo_p): usenobu2010-05-131-0/+5
| | | | | | primary fd. [ruby-dev:41309] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_float): use minimal representation.nobu2010-05-131-0/+6
| | | | | | | * numeric.c (ruby_dbl2cstr): split from rb_float_new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (rb_vm_get_sourceline): moved from eval_intern.h fornobu2010-05-131-0/+5
| | | | | | | vm_dump.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [Bug #1576]usa2010-05-131-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (swallow): support text mode and UTF-16/32 as internal encoding.usa2010-05-131-0/+6
| | | | | | | * io.c (io_shift_cbuf): read and throw it away when str is NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: link with ffs.obj.usa2010-05-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/_sdbm.c: include unistd.h before sdbm.h for off_t.akr2010-05-121-0/+5
| | | | | | | fix compilation problem on FreeBSD 6.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_quad_pack): deprecated.akr2010-05-121-0/+5
| | | | | | | (rb_quad_unpack): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_big_abs_find_minbit): use ffs().akr2010-05-121-0/+10
| | | | | | | | | | | | * configure.in: check ffs(). * missing/ffs.c: new file. * include/ruby/missing.h (ffs): declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_to_s): fixed broken output including nuls.nobu2010-05-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_to_s): exponent needs 2 digits.nobu2010-05-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_to_s): fill lower zeros.nobu2010-05-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/generator/ri.rb (generate): should load existing cacheusa2010-05-121-0/+5
| | | | | | | before generating it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (BigMath#log): improvednobu2010-05-121-0/+5
| | | | | | | precision and performance. [ruby-dev:41295] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test all IPPROTO_* constants for recent Win32usa2010-05-121-0/+5
| | | | | | | SDK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_to_s): make minimum string representation.nobu2010-05-121-0/+5
| | | | | | [ruby-core:30145] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize_m): fix wrong index for the langnaruse2010-05-121-0/+5
| | | | | | option's value 'N'. reported by Masaya TARUI via IRC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test IPPROTO_IP and IPPROTO_IPV6 constants.akr2010-05-111-0/+8
| | | | | | | | | | * ext/socket/mkconstants.rb: define macros for enum. [ruby-dev:38849] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rake/test_task_arguments.rb: makes ENV empty during testsmame2010-05-111-0/+6
| | | | | | | because ENV may change the behavior of Rake::TaskArguments. [ruby-core:29984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_8.c: Add new alias UTF-8-HFS for UTF8-MAC.naruse2010-05-111-0/+5
| | | | | | http://www.gnu.org/software/emacs/NEWS.23.2 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan), ↵mrkn2010-05-111-0/+7
| | | | | | test/bigdecimal/test_bigmath.rb (test_atan): explicitly specify the precision for calculating a reciprocal number of an argument. [Bug #3267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/sdbm.h (DBM): large file support on win32.nobu2010-05-111-0/+7
| | | | | | | | | [ruby-core:23039] * ext/sdbm/depend: objects depend on sdbm.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h (rb_vm_get_sourceline): add prototype.nobu2010-05-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c (PSYCH_TRANSCODE): get rid of bare use of gccnobu2010-05-111-0/+5
| | | | | | extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c (parse): Return strings encoded astenderlove2010-05-101-0/+5
| | | | | | | Encoding.default_internal if set. * test/psych/test_encoding.rb: Tests for encoding change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): add a missing break.akr2010-05-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_big_abs_find_minbit): get rid of a warning of VC.usa2010-05-101-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (rdoc): rdoc should depend main. Moreover when XRUBYnaruse2010-05-091-0/+5
| | | | | | is miniruby, it can run after miniruby is built. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (eval_string_with_cref): propagative filename and line_nomame2010-05-091-0/+8
| | | | | | | | | of binding. [ruby-dev:38767] [ruby-core:28307] * vm_core.h (rb_binding_t), proc.c: add filename and line_no fields to preserve them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each), vm_insnhelper.c (vm_invoke_block,mame2010-05-091-0/+16
| | | | | | | | | | | | | | | | | vm_throw): allow "return" and "yield" even in singleton class definition. based on a patch from wanabe <s.wanabe AT gmail.com> for "return". [ruby-core:21379] [ruby-dev:40975] * insns.def (defineclass): ditto (straightforwardly push block ptr, instead of dfp ptr with special flag). * vm_core.h (RUBY_VM_CLASS_SPECIAL_P): ditto (no longer needed). * proc.c (proc_new): ditto (remove handling for special flag). * bootstraptest/test_jump.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_switch): raise FiberError when returning to deadmame2010-05-091-0/+5
| | | | | | fiber. [ruby-dev:40833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb (ConditionVariable#wait): ensure to remove the currentmame2010-05-091-0/+5
| | | | | | thread from waiters. [ruby-core:29835] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (console_set_raw): new method.nobu2010-05-091-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (ttymode): reverted previous commit.nobu2010-05-091-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RB_GC_GUARD_PTR): get rid of removal bynobu2010-05-091-0/+5
| | | | | | | optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_dup): copy blockprocval. proc_dup is used bymame2010-05-091-0/+6
| | | | | | | define_method, which made blockprocval be GC'ed mistakenly. [ruby-core:30023] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_initialize_machine_stack_context): try to releasenobu2010-05-091-0/+6
| | | | | | | | unnecessary fibers and retry to create. based on a patch from masaya tarui at [ruby-dev:41230]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/generator/generator.c (fbuffer_inc_capa):naruse2010-05-091-0/+5
| | | | | | fix tha use of REALLOC_N. [ruby-dev:41227] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/{generator/generator.c,parser/parser.rl}: fixed indent.nobu2010-05-091-0/+6
| | | | | | | * ext/json/{generator,parser}/depend: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/imap/test_imap.rb: use IPv4 forshugo2010-05-091-0/+5
| | | | | | test_imaps_post_connection_check. [ruby-dev:41189] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (disconnect): terminates @receiver_thread even ifshugo2010-05-081-0/+5
| | | | | | @sock.shutdown raises an exception. [ruby-dev:34881] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (nogvl_copy_stream_sendfile): ISO C90 forbids mixed declarations and ↵kazu2010-05-081-0/+5
| | | | | | code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/lib/fiddle.rb: only require DL if it hasn't been requiredtenderlove2010-05-081-0/+5
| | | | | | yet. [ruby-core:30095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (stackgrowdirection): removed duplicated code, usenobu2010-05-081-0/+7
| | | | | | | | | STACK_UPPER macro instead. * gc.h (STACK_DIR_UPPER): moved from thread_pthread.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_base.rb (libc_so, libm_so): supports solaris.yugui2010-05-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/default.mspec (config): . is no longer in $:.yugui2010-05-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_aset): fixed argument type.nobu2010-05-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (io/console): IO#noecho and IO#raw without block arenobu2010-05-081-1/+4
| | | | | | obsolete already. [ruby-dev:41226] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (ttymode): save dupped file descriptorsnobu2010-05-081-0/+6
| | | | | | | and restore tty modes using them, so that original modes can be restored even if orignal fds are closed. [ruby-dev:41225] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_fetch, rb_ary_splice, rb_ary_store): Improve IndexErrormarcandre2010-05-081-0/+8
| | | | | | | | messages [ruby-core:28394] * hash.c (rb_hash_fetch_m): Improve KeyError message git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e