summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-25* file.c (rb_path_end): skip root directory. fixed: [ruby-core:08913]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-25* sample/test.rb: "print nil" now prints empty string.matz
* test/ruby/test_system.rb (TestSystem::test_system): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-25* hash.c (recursive_hash): remove unused local variable.matz
* parse.y (parser_yylex): ditto. * parse.y (rb_gc_mark_symbols): fix unmatched prototype . * file.c (rb_get_path): check NUL byte in the path string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-25array.c (rb_ary_shift): small bug fixmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-24* array.c (rb_ary_shift): should clear shifting top element.matz
[ruby-talk:216055] * array.c (rb_ary_shift): avoid creating shared object if array size is small. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-242006-09-25matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-24* random.c (rb_f_rand): RDoc typo fix. a patch from Frederickmatz
Cheung <fred at 82ask.com>. [ruby-talk:216047] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-24add ML entrymatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-24* gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-24* runruby.rb: extension library scripts moved into common directory.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-24updated based on date2 3.9.3.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-23* io.c (rb_io_print): no special handling for nil as well as puts.nobu
fixed: [ruby-dev:29586] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-232006-09-24why
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-23* eval.c (rb_thread_save_context, rb_thread_restore_context):why
sandbox hook to save and restore sandbox state. * eval.c (thread_no_ensure): added THREAD_NO_ENSURE thread flag. * eval.c (rb_thread_kill_bang): Thread#kill! uses the above flag to circumvent ensure, in order to prevent endless loops. contributed by MenTaLguY. [ruby-core:08768] * eval.c (rb_thread_kill): fix Thread#kill docs, which returns the thread object in all cases. * node.h: expose the rb_jmpbuf_t and rb_thread_t structs, along with the thread flags. used by the sandbox extension. * ruby.h: extern rb_eThreadError, so sandbox can swap it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-23* lib/cgi.rb (CGI::QueryExtension::read_multipart): CGI contentmatz
may be empty. a patch from Jamis Buck <jamis at 37signals.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-23merge Oniguruma 4.4.4kosako
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-22* lib/rdoc/ri/ri_options.rb: prevent NameError. [ruby-dev:29597]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-22 updated based on date2 3.9.2.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-222006-09-23tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-22* string.c (rb_str_partition): no need to call rb_call_super(),matz
since String is no longer includes Enumerable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-22* hash.c (rb_hash_eql): new method to be used by Hash.matz
* hash.c (rb_hash_hash): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* bignum.c (rb_big_hash): use rb_memhash().matz
* numeric.c (flo_hash): simplified. klass need not to affect resulting hash value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* string.c (str_new3): embed shorter strings more eagerly.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* .cvsignore: ignore timestamp files and installed list file.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* instruby.rb: include FileUtils unconditionally.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-212006-09-22nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* numeric.c (Init_Numeric): fix_odd_p and fix_even_p are for Fixnum.nobu
patch from Ondrej Bilka <neleai at seznam.cz>. [ruby-core:08904] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* common.mk (no-install): not install rdoc actually.nobu
* common.mk (install-doc, no-install-doc): use instruby.rb. * instruby.rb: rdoc installation. * ext/extmk.rb: expand ruby executable names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* string.c (rb_str_startwith): a new method to check if a stringmatz
starts with given prefix. * string.c (rb_str_endwith): the opposite of String#startwith?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* rubytest.rb: use each_line instead of each.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* numeric.c (int_odd_p): a new method to check even or odd.matz
[RCR#337] * numeric.c (int_even_p): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* string.c (Init_String): Strings are no longer Enumerable. usematz
each_lines or lines method explicitly. * string.c (Init_String): remove each method. use each_lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* ext/etc/etc.c (etc_getpwuid): uid integer should be wraped inmatz
uid_t value. [ruby-core:08897] * ext/etc/etc.c (etc_getpwuid): uid_t may be bigger than plain 'int' type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* string.c (rb_str_partition): RDoc typo fixed. [ruby-core:08898]matz
* string.c (rb_str_rpartition): fixed separation seek bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-21* string.c (rb_str_lines): new method to split a string into lines.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-202006-09-21matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20* string.c (rb_str_partition): a new method to separate the stringmatz
by a separator. taken from Python 2.5. * string.c (rb_str_rpartition): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20* common.mk (pre-install-doc): create data directory before install.nobu
* lib/mkmf.rb (dir_re): fixed typo. * lib/mkmf.rb (install_dirs): remove extra slash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20* numeric.c (fix_mul): typo again. patch from Tadashi Saitonobu
<shiba at mail2.accsnet.ne.jp>. fixed: [ruby-core:08893] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20* string.c (sym_eql): fail early to gain performance.matz
* string.c (sym_hash): cache hash value in aux.shared if possible. * gc.c (rb_obj_id): no need to treat symbols specially. * lib/fileutils.rb (FileUtils::FileUtils): singleton_methods() no longer return an array of strings, but of symbols. * lib/delegate.rb (DelegateClass): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20* swapped ChangeLog entries. Sorry....shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20* forgot to commit ChangeLog. Sorry.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20* {bcc32,win32,wince}/Makefile.sub (INSTALLED_LIST): need to defineusa
this macro to install. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20* lib/net/imap.rb: allow extra spaces in responses.shugo
Thanks, Tom Soderlund. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20* ext/gdbm/gdbm.c: add RDoc documentation. a patch from Petermatz
Adolphs <futzilogik at users dot sourceforge dot net>. [ruby-doc:1223] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-202006-09-20matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-18* object.c (rb_obj_ivar_defined, rb_mod_cvar_defined): new methods,nobu
Kernel#instance_variable_defined? and Module#class_variable_defined?. [ruby-dev:29587] * lib/date/format.rb (Date::Bag#method_missing): use new method, instance_variable_defined? to check if an instance variable is defined. fixed: [ruby-dev:29554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-182006-09-19nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-18* dir.c (dir_s_glob): restore GC protection volatile variable.matz
[ruby-dev:29588] * re.c (rb_reg_regcomp): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-18* numeric.c (fix_mul): get rid of shift overflow.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e