summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2006-11-02matz2006-11-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: revert lfree shift/unshift boost patch to avoid unknownmatz2006-11-022-91/+24
| | | | | | | memory error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h (struct RArray): revert embedding ptr in RVALUE.matz2006-11-014-207/+114
| | | | | | | * array.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (hash): use Bob Jenkins' hash algorithm.matz2006-11-012-88/+118
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest/hmac.rb (Digest::HMAC::update): Minorknu2006-11-013-5/+14
| | | | | | | | | | optimization. * ext/digest/digest.c (rb_digest_instance_equal): Allow comparing a digest instance with another of a different class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-11-01knu2006-11-011-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_dup): duplicate the class of original time.matz2006-10-313-6/+14
| | | | | | | | | | [ruby-core:09357] * lib/time.rb (Time::make_time, Time::rfc2822, Time::httpdate): should respect subclasses. [ruby-core:09357] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-31matz2006-10-311-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_shared_first): should address offset aftermatz2006-10-312-0/+6
| | | | | | | ary_shared_array(). [ruby-core:09358] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (miniruby): add XLDFLAGS.nobu2006-10-303-14/+19
| | | | | | | * configure.in (aix): use -bE option for miniruby. [ruby-dev:29698] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): get rid of possible memory leak.nobu2006-10-303-30/+108
| | | | | | | | | * win32/win32.c (cmdglob, rb_w32_cmdvector, rb_w32_opendir, rb_w32_get_environ): not to use GC before initialization. [ruby-core:09024] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big2str0): use better approximation.usa2006-10-302-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: add patch submitter.matz2006-10-301-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big2str0): wrong allocation length.matz2006-10-302-1/+6
| | | | | | | [ruby-dev:29710] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): fix commit miss. [ruby-dev:29707]matz2006-10-302-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-30matz2006-10-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): should preserve leading zeromatz2006-10-304-13/+31
| | | | | | | information for negative %b and %x. [ruby-talk:221347] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix offset value in STATE_CHECK_BUFF_INIT()kosako2006-10-293-4/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge Oniguruma 4.4.5kosako2006-10-287-26/+97
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-28matz2006-10-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): missing break. [ruby-core:09345]matz2006-10-272-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-27matz2006-10-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enum_each_cons): move RETURN_ENUMERATOR() aftermatz2006-10-272-1/+6
| | | | | | | argument check. git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@11229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: remove by_slice and by_cons.matz2006-10-262-67/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (Init_digest): typo.usa2006-10-262-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-26usa2006-10-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest_hmac.rb: added.knu2006-10-252-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@11217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.6.tadf2006-10-242-5/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@11214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-25nobu2006-10-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: typo fixedmatz2006-10-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@11211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***matz2006-10-221-5/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@11208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-23matz2006-10-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***matz2006-10-222-1/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@11204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-22nobu2006-10-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@11200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-10-21knu2006-10-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@11194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e