summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/digest/digest.[ch]: Since the argument order ofknu2006-10-051-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hash_final_func_t was inconsistent with others, change it and rename to hash_finish_func_t to avoid confusion. * ext/digest/digest.[ch]: Remove and eliminate the use of hash_end_func_t. Implement hexdigest conversion in the base class. * ext/digest/md5/md5.c, ext/digest/md5/md5.h, ext/digest/md5/md5init.c, ext/digest/md5/md5ossl.c, ext/digest/md5/md5ossl.h: Remove MD5_End() and change MD5_Final() to MD5_Finish(). * ext/digest/rmd160/depend, ext/digest/rmd160/extconf.rb, ext/digest/rmd160/rmd160.c, ext/digest/rmd160/rmd160.h, ext/digest/rmd160/rmd160hl.c, ext/digest/rmd160/rmd160init.c, ext/digest/rmd160/rmd160ossl.c, ext/digest/rmd160/rmd160ossl.h: Remove unused functions RMD160_End(), RMD160_File(), RMD160_Data() and change RMD160_Final() to RMD160_Finish(). * ext/digest/sha1/extconf.rb, ext/digest/sha1/sha1.c, ext/digest/sha1/sha1.h, ext/digest/sha1/sha1hl.c, ext/digest/sha1/sha1init.c, ext/digest/sha1/sha1ossl.c, ext/digest/sha1/sha1ossl.h: Likewise. * ext/digest/sha2/extconf.rb, ext/digest/sha2/sha2.c, ext/digest/sha2/sha2.h, ext/digest/sha2/sha2hl.c, ext/digest/sha2/sha2init.c: Likewise. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tile.rb, lib/tkextlib/tile/* : support Tile 0.7.6.nagai2006-10-041-0/+5
| | | | | | | | | | | | | * ext/tk/lib/tkextlib/SUPPORT_STATUS: [ruby-talk:211939] check links of extensions. * ext/tk/lib/tkextlib/blt/container.rb: define instance methods properly. * ext/tk/lib/tkextlib/tile/tcombobox.rb: bug fix [ruby-talk:213003]. * ext/tk/lib/tkextlib/tile/tnotebook.rb: ditto. * ext/tk/lib/tkextlib/tile/treeview.rb: ditto. * ext/tk/lib/tkextlib/tile/sizegrip.rb: [new] add 'ttk::sizegrip' widget. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call): check protected visibility based on real self,matz2006-10-041-0/+5
| | | | | | | not ruby_frame->self. [ruby-talk:217822] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_param): should interpret single parenthesizedmatz2006-10-041-0/+5
| | | | | | | left hand side expression. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/optparse/test_getopts.rb: changed the class name of test casenobu2006-10-031-0/+5
| | | | | | | to get rid of conflict with test_optparse.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_param): restrict block parameters to be localmatz2006-10-031-0/+6
| | | | | | | | | | variables only. * test/ruby/test_iterator.rb (TestIterator::test_nested_iterator): update test suite to conform the last change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (mlhs): simplifies the rule a bit.matz2006-10-031-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dyna_in_block): inline using macro.matz2006-10-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (splat_value): use "to_splat" instead of "to_ary" tomatz2006-10-021-0/+11
| | | | | | | | | | | | | prepare splat values as an array. * array.c (Init_Array): define to_splat. * range.c (range_to_splat): new method. * enumerator.c (enumerator_to_splat): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_lines): returns an Enumerator instead of anmatz2006-10-021-0/+7
| | | | | | | | | array of lines. * string.c (rb_str_bytes): a new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):nobu2006-10-021-1/+4
| | | | | | | load expanded path. fixed: [ruby-dev:29621] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS):nobu2006-10-021-0/+7
| | | | | | | | | base directory should be lower precedence. fixed: [ruby-dev:29622] * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: batfile should be CRLF'ed.usa2006-10-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (test-all): separate directory where running test casesnobu2006-10-011-0/+11
| | | | | | | | | | | | | from source tree. * lib/test/unit/autorunner.rb (options): added --basedir, --workdir and --load-path options. * lib/test/unit/collector/dir.rb (recursive_collect, collect_file): base directory support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, ext/extmk.rb, win{32,ce}/Makefile.in: keepnobu2006-10-011-0/+5
| | | | | | | LIBRUBY_SO unless need to be removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#make_switch): pass arguments directly.nobu2006-10-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.4.tadf2006-09-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest.rb (Digest): Require digest.so and fix theknu2006-09-291-0/+5
| | | | | | | breakage. Point out by NAKAMURA Usaku in [ruby-dev:29619]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * jcode.rb (succ!): call original succ! if $KCODE == 'n'.eban2006-09-291-0/+5
| | | | | | | fixed: [ruby-talk:216845] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func): revert fallback checking undeclared function.nobu2006-09-291-0/+5
| | | | | | | fixed: [ruby-core:08949] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Switch#conv_arg): unsplat bynobu2006-09-291-2/+3
| | | | | | | Proc#call if no conversion is given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: extout is needed for also clean.nobu2006-09-291-1/+4
| | | | | | | fixed: [ruby-core:08944] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (parse_in_order): splat arguments to callback block.nobu2006-09-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (struct thread): declare win32_exception_list on cygwin andnobu2006-09-281-0/+6
| | | | | | | | win32 regardless if it is implemented. Provisional fix for [ruby-core:08917]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb: use return value of getdir.call for length.usa2006-09-281-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/md5/md5init.c (Init_md5): Now that we have digest.rb,knu2006-09-271-0/+11
| | | | | | | | | | | | | require "digest" rather than "digest.so". * ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto. * ext/digest/sha1/sha1init.c (Init_sha1): Ditto. * ext/digest/sha2/sha2init.c (Init_sha2): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_startwith): rename startwith? to start_with?,matz2006-09-271-0/+5
| | | | | | | endwith? to endwith?, respectively. [ruby-talk:216685] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::TagMaker::nOE_element_def): replace to_s bymatz2006-09-271-0/+5
| | | | | | | join. some other methods as well. [ruby-dev:29613] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_shift): shift/unshift performance boost patch,matz2006-09-261-0/+17
| | | | | | | | | | | | | | | | | | | based on the patch from Eric Mahurin <eric_mahurin at yahoo.com>. [ruby-core:05861] * array.c (rb_ary_unshift_m): ditto. * array.c (ary_make_shared): ditto. * array.c (RESIZE_CAPA): ditto. * array.c (rb_ary_free): new function to free memory. code moved from gc.c. * string.c (rb_str_free): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func): check function pointer first and macro next.nobu2006-09-261-0/+6
| | | | | | | * lib/mkmf.rb (have_type): simplified with typedef and sizeof. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#getopts): use strings as key.nobu2006-09-261-0/+5
| | | | | | | fixed: [ruby-dev:29614] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win32,wince}/Makefile.sub (CPP): check predefined value.usa2006-09-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (CPP): check predefined value.usa2006-09-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_shift): should not move memory region if arraymatz2006-09-251-0/+6
| | | | | | | | body is shared. a patch from Kent Sibilev <ksruby at gmail.com>. [ruby-core:08922] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (rb_push_glob): need not to check by FilePathValue().matz2006-09-251-0/+7
| | | | | | | | | [ruby-dev:29599] * dir.c (dir_globs): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (rm_f): get rid of NUL.nobu2006-09-251-1/+6
| | | | | | | | * lib/mkmf.rb (init_mkmf): set default $LDFLAGS. Patch by Michal Suchanek <hramrach at centrum.cz>. [ruby-talk:216256] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_path_end): skip root directory. fixed: [ruby-core:08913]nobu2006-09-251-3401/+3405
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: "print nil" now prints empty string.matz2006-09-251-0/+6
| | | | | | | * test/ruby/test_system.rb (TestSystem::test_system): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (recursive_hash): remove unused local variable.matz2006-09-251-0/+10
| | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@11018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_shift): should clear shifting top element.matz2006-09-241-0/+8
| | | | | | | | | | [ruby-talk:216055] * array.c (rb_ary_shift): avoid creating shared object if array size is small. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rb_f_rand): RDoc typo fix. a patch from Frederickmatz2006-09-241-0/+5
| | | | | | | Cheung <fred at 82ask.com>. [ruby-talk:216047] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML entrymatz2006-09-241-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE.matz2006-09-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * runruby.rb: extension library scripts moved into common directory.nobu2006-09-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.3.tadf2006-09-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@10999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge Oniguruma 4.4.4kosako2006-09-231-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@10997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e