aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * sample/drb/dhasenc.rb: add magic comment for encoding.matz2009-05-164-1/+11
| | | | | | | | * sample/mine.rb: ditto. * ext/tk/sample/tcltklib/sample1.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: commit miss.nobu2009-05-161-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (magic_comment_encoding): ignores unused emacs-stylenobu2009-05-162-3/+4
| | | | | | | encoding comment, as like Vim styles. [ruby-core:23470] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/keywords (reserved_word): made inline function static.nobu2009-05-165-47/+68
| | | | | | | | | [ruby-core:23210] * parse.y (rb_reserved_word): ordinary function for ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (magic_comment_encoding): use rb_compile_warning() tonobu2009-05-162-2/+7
| | | | | | | show the currently parsing file name. [ruby-core:23469] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ruby_version): now version.h includesnobu2009-05-163-3/+9
| | | | | | | | include/ruby/version.h, so need to tell to cpp to see $(srcdir)/include. [ruby-core:23468] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_shift, rb_ary_shift_m): clears unused elements.nobu2009-05-152-0/+11
| | | | | | | [ruby-dev:38448] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_autoload_load): checks if iv_tbl is valid.nobu2009-05-153-8/+26
| | | | | | | [ruby-dev:38456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: forgotten to mention reporter.usa2009-05-151-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-15svn2009-05-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (-version-): now version.h includesusa2009-05-151-0/+6
| | | | | | | | | include/ruby/version.h, so need to tell to cpp to check $(srcdir)/include. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_getpwuid): use rb_uid_t. [ruby-dev:38443]nobu2009-05-142-6/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_ungetbyte): encoding should notnobu2009-05-144-2/+67
| | | | | | | be effective. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: marked PHONY targets.nobu2009-05-141-11/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb (valid_syntax?): defaults to us-ascii.nobu2009-05-143-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: add longlife garbage collection. [ruby-dev:38423]nari2009-05-1313-48/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (NORMAL_HEAPS_USED): new macro. (LONGLIFE_ALLOCATE_HEAPS_MIN): ditto. (add_longlife_heaps_slot): new function. (rb_newobj_from_longlife_heap): ditto. (rb_newobj_longlife): ditto. (rb_node_newnode_longlife): ditto. (rb_gc_write_barrier): ditto. (remembered_set_recycle): ditto. (rb_gc_mark_remembered_set): ditto. (clear_mark_longlife_heaps): ditto. (gc_sweep_for_longlife): ditto. (assign_heap_slot): new argumnent to longlife heaps slot. (add_freelist): ditto. (gc_sweep): avoid lonlife heap slot. set longlife_collection flag at add heap. (rb_gc_force_recycle): avoid mark object and remembered_set object. (garbage_collect): add longlife collection. (rb_gc_start): invoke longlife collection. (gc_profile_record_get): for longlife collction profile. (gc_profile_result): ditto. * include/ruby/intern.h (rb_gc_write_barrier): declared. * include/ruby/ruby.h (FL_REMEMBERED_SET): renamed from FL_RESERVED. * debug.c (FL_REMEMBERED_SET): ditto. * insns.def (setinlinecache): insert write barrier. * vm_insnhelper.c (vm_method_search): ditto. * set_relation (set_relation): use longlife object. * vm.c (vm_define_method): ditto. * vm_core.h (NEW_INLINE_CACHE_ENTRY): ditto. * vm_method.c (rb_add_method): ditto. * class.c (rb_add_method): ditto. * node.h (NEW_NODE_LONGLIFE): new macro. (rb_node_newnode_longlife): declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-05-131-29/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/version.h: extracted the extensions interface andnobu2009-05-133-13/+67
| | | | | | | the never-changable info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_init_1): unused variable removed.akr2009-05-122-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-13svn2009-05-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test.akr2009-05-121-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: support fixed UTC offset. [ruby-dev:38326]akr2009-05-124-40/+432
| | | | | | | | | | | | | | | | | | | | | | | | (leap_year_v_p): new macro. (TIME_FIXOFF_P): new macro. (TIME_SET_FIXOFF): new macro. (time_init_0): renamed from time_init. (time_set_utc_offset): new function. (vtm_add_offset): new function. (utc_offset_arg): new function. (time_init_1): new function. (time_init): call time_init_0 or time_init_1 according argc. (validate_utc_offset): new function. (time_localtime_m): new function. (time_fixoff): new function. (time_getlocaltime): take optional UTC offset argument. (time_get_tm): support fixed UTC offset time. (Init_Time): make Time#{initialize,localtime,getlocal} varargs. * strftime.c (rb_strftime): vtm->zone can be NULL now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-12svn2009-05-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvtest: removed because it's outdated.usa2009-05-1212-3170/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: add semicolons to some grammar rules not terminatedmatz2009-05-112-0/+16
| | | | | | with them. a patch from Dave B in [ruby-core:23422]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194]kazu2009-05-112-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to commit.kazu2009-05-111-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (rubylibdir): use rubylibprefix. [ruby-dev:38426]nobu2009-05-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_coerce): supportmatz2009-05-102-5/+15
| | | | | | coercing into Rational. [ruby-core:23415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-11svn2009-05-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (Net::SMTP#check_auth_args): should not changematz2009-05-102-1/+6
| | | | | | number of methods for the sake of compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl/func.rb (DL::Function#bound?): returns if alreadynobu2009-05-103-1/+13
| | | | | | | | | | bound to a block. * ext/dl/lib/dl/value.rb (DL::ValueUtil#wrap_arg): block must be given if arg is not bound. [ruby-dev:38404] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_instance_p): new function to check ifnobu2009-05-104-11/+32
| | | | | | | | | | the argument is an instance of DL::CFunc. * ext/dl/cptr.c (rb_dlptr_initialize, rb_dlptr_s_malloc): checks if DL::CFunc. [ruby-dev:38403]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c: consistent indentation.nobu2009-05-101-157/+157
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-10svn2009-05-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl/cparser.rb (DL::CParser#parse_signature): stripsnobu2009-05-102-1/+6
| | | | | | | spaces. based on a patch from Takashi Tamura in [ruby-dev:38398]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-05-091-2/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add akazu2009-05-091-0/+5
| | | | | | | test. see [ruby-core:23282] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb: use subsec instead of nsec.tadf2009-05-093-2/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rename argument name.akr2009-05-091-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe more conversion functions between integer and VALUE.akr2009-05-092-12/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_autoload_load): suppress a warning.nobu2009-05-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: fixed types.nobu2009-05-091-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: 3rd arguemnt of rb_hash_foreach() is VALUE.nobu2009-05-092-30/+53
| | | | | | | * hash.c (rb_any_hash, recursive_hash): use VALUE for hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_f_catch): gets rid of issue with gcc 4.4. a patchnobu2009-05-093-3/+8
| | | | | | | from Alexey Froloff in [ruby-core:23398]. [ruby-core:22924] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_link0): removes waste dSYM directories leftnobu2009-05-082-2/+18
| | | | | | | when debug and universal-binary are enabled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_sizeof): fixed wrong recuring result fornobu2009-05-082-4/+13
| | | | | | | intrinsic types. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in, win32/Makefile.sub (RUBY_BASE_NAME):nobu2009-05-085-21/+54
| | | | | | | | | | program base name. [ruby-dev:38241] * configure.in (--with-soname): base name of shared library. [ruby-dev:38290] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_flatten_bang): clears temporary array.nobu2009-05-082-2/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-08svn2009-05-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e