aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * io.c (rb_io_print): no special handling for nil as well as puts.nobu2006-09-231-1/+6
| | | | | | | fixed: [ruby-dev:29586] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_save_context, rb_thread_restore_context):why2006-09-231-0/+19
| | | | | | | | | | | | | | | | | | | | | 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
* * lib/cgi.rb (CGI::QueryExtension::read_multipart): CGI contentmatz2006-09-231-0/+5
| | | | | | | 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
* merge Oniguruma 4.4.4kosako2006-09-231-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/ri_options.rb: prevent NameError. [ruby-dev:29597]matz2006-09-221-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.2.tadf2006-09-221-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_partition): no need to call rb_call_super(),matz2006-09-221-0/+5
| | | | | | | since String is no longer includes Enumerable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_eql): new method to be used by Hash.matz2006-09-221-0/+6
| | | | | | | * hash.c (rb_hash_hash): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_hash): use rb_memhash().matz2006-09-211-0/+7
| | | | | | | | * 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
* * string.c (str_new3): embed shorter strings more eagerly.matz2006-09-211-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .cvsignore: ignore timestamp files and installed list file.nobu2006-09-211-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: include FileUtils unconditionally.nobu2006-09-211-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (Init_Numeric): fix_odd_p and fix_even_p are for Fixnum.nobu2006-09-211-0/+5
| | | | | | | 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
* * common.mk (no-install): not install rdoc actually.nobu2006-09-211-0/+10
| | | | | | | | | | | * 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
* * string.c (rb_str_startwith): a new method to check if a stringmatz2006-09-211-0/+7
| | | | | | | | | 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
* * rubytest.rb: use each_line instead of each.eban2006-09-211-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_odd_p): a new method to check even or odd.matz2006-09-211-0/+7
| | | | | | | | | [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
* * string.c (Init_String): Strings are no longer Enumerable. usematz2006-09-211-0/+5
| | | | | | | | | 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
* * ext/etc/etc.c (etc_getpwuid): uid integer should be wraped inmatz2006-09-211-0/+8
| | | | | | | | | | 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
* * string.c (rb_str_partition): RDoc typo fixed. [ruby-core:08898]matz2006-09-211-0/+6
| | | | | | | * 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
* * string.c (rb_str_lines): new method to split a string into lines.matz2006-09-211-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_partition): a new method to separate the stringmatz2006-09-201-0/+7
| | | | | | | | | 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
* * common.mk (pre-install-doc): create data directory before install.nobu2006-09-201-0/+8
| | | | | | | | | * 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
* * numeric.c (fix_mul): typo again. patch from Tadashi Saitonobu2006-09-201-0/+5
| | | | | | | <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
* * string.c (sym_eql): fail early to gain performance.matz2006-09-201-1/+14
| | | | | | | | | | | | | | * 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
* * swapped ChangeLog entries. Sorry....shugo2006-09-201-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * forgot to commit ChangeLog. Sorry.shugo2006-09-201-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub (INSTALLED_LIST): need to defineusa2006-09-201-0/+5
| | | | | | | this macro to install. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/gdbm/gdbm.c: add RDoc documentation. a patch from Petermatz2006-09-201-0/+6
| | | | | | | | 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
* * object.c (rb_obj_ivar_defined, rb_mod_cvar_defined): new methods,nobu2006-09-181-3366/+3376
| | | | | | | | | | | | 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
* * dir.c (dir_s_glob): restore GC protection volatile variable.matz2006-09-181-0/+7
| | | | | | | | | [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
* * numeric.c (fix_mul): get rid of shift overflow.nobu2006-09-181-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_s_glob): remove unused variable.matz2006-09-181-0/+12
| | | | | | | | | | | | | * 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
* * lib/rdoc/rdoc.rb (RDoc::RDoc#document): scan only files modifiednobu2006-09-171-0/+5
| | | | | | | after the previous generation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (install-doc): reverted.nobu2006-09-171-0/+8
| | | | | | | | | * 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
* * numeric.c (fix_mul): fixed typo. fixed: [ruby-core:08885]nobu2006-09-171-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: should mention new macros: RSTRING_PTR, RSTRING_LEN,matz2006-09-161-0/+7
| | | | | | | | | 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
* * ChangeLog: commit miss.nobu2006-09-161-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (checking_for): improved the messages.nobu2006-09-161-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (establishShell): parent pid is not used.nobu2006-09-161-1/+5
| | | | | | | * ext/pty/pty.c (freeDevice): not used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/extconf.rb: suspicious checking_for.nobu2006-09-161-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb: allow multiple candidates for dbm-type.nobu2006-09-161-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:nobu2006-09-161-6/+13
| | | | | | | | | 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
* * array.c (ary_shared_first): should create embedded copiesmatz2006-09-161-0/+5
| | | | | | | 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
* * struct.c (inspect_struct): do not display a class name formatz2006-09-161-0/+5
| | | | | | | anonymous struct. The member fields are sufficient. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 rev.110.naruse2006-09-151-0/+14
| | | | | | | | | | | | | | | | | | * 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
* * ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 2006-09-15.naruse2006-09-141-0/+6
| | | | | | | | 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
* * ext/digest/lib/digest.rb (Digest::Base.file): open a file in binaryakr2006-09-141-0/+5
| | | | | | | mode. suggested by Kazuhiro NISHIYAMA. [ruby-dev:29579] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_mul): avoid bignum multiplication as far asmatz2006-09-141-0/+6
| | | | | | | | possible. a patch from Ondrej Bilka <neleai at seznam.cz>. [ruby-core:08825] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_intern): allow zero length symbols.matz2006-09-141-0/+5
| | | | | | | [ruby-core:08861] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e