aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * enumerator.c (enum_each_cons): move RETURN_ENUMERATOR() aftermatz2006-10-272-1/+6
| | | | | | | argument check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_verify): should clear error.gotoyuzo2006-10-263-0/+10
| | | | | | | | | (fix http://bugs.debian.org/394336) * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: remove by_slice and by_cons.matz2006-10-262-67/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (Init_digest): typo.usa2006-10-262-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-26usa2006-10-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest_hmac.rb: added.knu2006-10-252-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/test.sh: make this script work again.knu2006-10-252-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_by_slice): new method added.matz2006-10-252-0/+70
| | | | | | | * enumerator.c (enumerator_by_cons): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enum_each_slice, enum_each_cons): returnsmatz2006-10-252-43/+10
| | | | | | | | | | Enumerable::Enumerator if no block is given. [ruby-dev:29246] * enumerator.c: remove methods: enum_with_index, enum_slice, enum_cons. [ruby-dev:29246] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_zip): add RETURN_ENUMERATOR() to zip method.matz2006-10-252-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.6.tadf2006-10-242-5/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb, win32/resource.rb: use unique variable names.nobu2006-10-243-5/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-25nobu2006-10-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: typo fixedmatz2006-10-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): use return value from prov given as thematz2006-10-222-23/+32
| | | | | | | | second argument to Marshal#load() to allow value replacement in the restoring data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***matz2006-10-221-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: alloca is broken; use C_ALLOCA instead.matz2006-10-221-0/+5
| | | | | | | [ruby-dev:29416] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-23matz2006-10-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***matz2006-10-222-1/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (Init_signal): avoid duplicated installation of SIGCHLDmatz2006-10-222-3/+7
| | | | | | | handler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upcase, rb_str_downcase, rb_str_downcase,matz2006-10-222-0/+15
| | | | | | | | | rb_str_upcase_bang, rb_str_downcase_bang, rb_str_swapcase_bang): add RDoc description that case conversion to be effective only in ASCII region. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-22nobu2006-10-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_substr): should be infected with only originalnobu2006-10-222-4/+15
| | | | | | | | | | string, but not the shared string. fixed: [ruby-core:09152] * strnig.c (rb_str_new4): keep shared string untainted when orignal string is tainted. fixed: [ruby-dev:29672] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest.rb: Follow the framework updates.knu2006-10-212-5/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-21knu2006-10-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest/hmac.rb: Complete half-boiled updates.knu2006-10-203-9/+16
| | | | | | | * ext/digest/sha2/lib/digest/sha2.rb: Fix #initialize_clone(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest: Prefix C constants with RUBY_ and C type names withknu2006-10-2013-404/+595
| | | | | | | | | | | | | | | | | | | | | | | | | | | | rb_ to avoid name clash in writing extensions. * ext/digest: Introduce Digest::Class and Digest::Instance for ease of implementing subclasses and add-ons, inspried by gotoyuzo. * ext/digest: The Digest::Instance module now requires and assumes that any instance be resettable and clonable, and add some convenient instance methods such as "new()", for creating a new copy, parameter taking "digest()" and "hexdigest()", for instant calculation. These methods make digest instances work just like digest classes. * ext/digest/sha2/lib/digest/sha2.rb: Add the Digest::SHA2 class to wrap up SHA2 variants: SHA256, SHA384 and SHA512, hoping this module would make a decent example of a digest subclass written in Ruby. * ext/digest/lib/digest.rb: Adjust autoload entries for SHA2 classes. * ext/digest/lib/digest/hmac.rb: Follow the framework updates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: fixed the bug of handling COMMON_MACROS.eban2006-10-202-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (NULLCMD): dummy command.nobu2006-10-193-6/+26
| | | | | | | | * bcc32/Makefile.sub (post-install-*): Borland make cannot ignore command-less double-colon rules. [ruby-dev:29676] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: Borland make needs also -D flags to override variablesnobu2006-10-191-5/+7
| | | | | | | in Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub ($(LIBRUBY_SO)): execute pre-link hook.nobu2006-10-193-2/+16
| | | | | | | * ext/extmk.rb: workaround for Borland make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-20nobu2006-10-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_utime): allow NULL to set the current time.nobu2006-10-182-5/+14
| | | | | | | [ruby-talk:219248] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (Init_signal): handle SIGTERM. fixed: [ruby-list:42895]nobu2006-10-182-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_shift): shorten copy size. fixed: [ruby-list:42907]nobu2006-10-182-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_line): String#lines now works when a blockmatz2006-10-182-25/+28
| | | | | | | | | | is given. in other words, lines become an alias to each_line. [ruby-core:09218] * string.c (rb_str_each_byte): ditto for bytes in place of lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_shared_array): should set NOEMBED flag for a copiedmatz2006-10-182-0/+6
| | | | | | | array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-18nobu2006-10-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): use particular enums. [ruby-core:09221]nobu2006-10-172-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb: String#each was removed, use #each_line instead.aamine2006-10-172-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-17matz2006-10-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_lines): now takes optional argument for thematz2006-10-163-4/+44
| | | | | | | | | line separator. * io.c (rb_io_lines, rb_io_bytes): new methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_unshift_m): a bug in lfree shift lengthmatz2006-10-163-38/+50
| | | | | | | calculation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: *OBJS are not needed for extension libraries.nobu2006-10-156-6/+13
| | | | | | | | * {bcc32,wince,win32}/Makefile.sub (config.status): fixed typo, missing comma. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-16matz2006-10-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): execute block if given with unpacked valuematz2006-10-152-37/+51
| | | | | | | instead of creating an array. an idea from Tim Bray. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/dir.rb (Collector::Dir#collect): append basenobu2006-10-142-2/+11
| | | | | | | | | | directory but not prepend. * lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): do not join with dot. fixed: [ruby-core:09179] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-15nobu2006-10-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (singleton): no need to re-create NODE_SELF() again.matz2006-10-142-7/+7
| | | | | | | [ruby-core:09177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_warning, parser_warn): some error message maymatz2006-10-146-10/+24
| | | | | | | | | | | | | | | | contain format specifiers. a patch from Akinori MUSHA <knu at iDaemons.org>. [ruby-dev:29657] * regparse.c (onig_rb_warning, onig_rb_warn): ditto. * ext/bigdecimal/bigdecimal.c (VpException): ditto. * ext/dl/handle.c (rb_dlhandle_initialize): ditto. * ext/gdbm/gdbm.c (rb_gdbm_fatal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e