summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2006-09-182006-09-18matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-18* dir.c (dir_s_glob): remove unused variable.matz
* math.c (math_log): ditto. * re.c (rb_reg_regcomp): ditto. * eval.c (break_jump): ditto. * eval.c (rb_thread_yield_0): remove unused function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-17* lib/rdoc/rdoc.rb (RDoc::RDoc#document): scan only files modifiednobu
after the previous generation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-17* common.mk (install-doc): reverted.nobu
* instruby.rb: stores file name list without destdir prefix. * lib/rdoc/generators/ri_generator.rb: do not chdir twice. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-17* numeric.c (fix_mul): fixed typo. fixed: [ruby-core:08885]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-162006-09-17akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16use assert_same instead of assert_equal.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16* README.EXT: should mention new macros: RSTRING_PTR, RSTRING_LEN,matz
RARRAY_PTR, RARRAY_LEN. * README.EXT.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16* ChangeLog: commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16* lib/mkmf.rb (checking_for): improved the messages.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16* ext/pty/pty.c (establishShell): parent pid is not used.nobu
* ext/pty/pty.c (freeDevice): not used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16* ext/io/wait/extconf.rb: suspicious checking_for.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16* ext/dbm/extconf.rb: allow multiple candidates for dbm-type.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16* Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:nobu
use instruby.rb to install extensions instead of ext/extmk.rb. * instruby.rb: store installed list into the file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16* array.c (ary_shared_first): should create embedded copiesmatz
instead of sharing memory region for smaller arrays. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-162006-09-16matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16* struct.c (inspect_struct): do not display a class name formatz
anonymous struct. The member fields are sufficient. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-15* ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 rev.110.naruse
* Fix: check_bom cuts \xfe\xff\xXX\xXX of UTF-32. * Add support --ic=UTF-32. * Fix: can't guess UTF-16 and UTF-32. * Fix: can't decode beyond BMP of UTF-16LE. * ext/nkf/nkf.c (guess): Support UTF-32. * ext/nkf/lib/kconv.rb (kconv): Support UTF-32. * ext/nkf/lib/kconv.rb (to_utf32): new method. * ext/nkf/lib/kconv.rb (to_utf32): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-14* ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 2006-09-15.naruse
Add support for U+10000 - U+10FFFF Add support UTF-32 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e