summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well asnobu2008-06-072-3/+9
| | | | | | | | SITE_DIR. a patch from Richard Brown <rbrown AT exherbo.org> in [ruby-core:17129]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_open), re.c (rb_reg_search), transcode.c (str_transcode):nobu2008-06-075-5/+15
| | | | | | | | | suppress warnings. * util.c (quorem, rv_alloc, nrv_alloc): only used in dtoa(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (CFLAGS, CXXFLAGS): append default flags.nobu2008-06-072-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.usa2008-06-063-7/+14
| | | | | | | | fixed [ruby-dev:34979] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_callee_setup_arg): check simple flag beforeko12008-06-062-80/+89
| | | | | | | | calling setup_arg function(). this change reduce function call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.usa2008-06-063-1/+16
| | | | | | | | | | | | * ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo, freehostent, freeaddrinfo): undef before define because these are macros in some versions of Windows SDK. merged from ruby_1_8. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/iconv/utils.rb (default_test): override not to croak.nobu2008-06-065-21/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]usa2008-06-062-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (count_objects): clear hash after counting objects.akr2008-06-062-4/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_iconv): no needs to initialize with Qnilnobu2008-06-062-4/+3
| | | | | | | before rb_scan_args call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.xmlschema): don't use float. fixakr2008-06-052-1/+10
| | | | | | | http://rubyforge.org/tracker/index.php?func=detail&group_id=426&atid=1698&aid=20504 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_gc.rb: add tests to achieve over 90% test coverage ofmame2008-06-054-0/+59
| | | | | | | | | | | gc.c. * test/ruby/test_objectspace.rb: ditto. * test/ruby/test_marshal.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_alloc): this function is needed only whenmame2008-06-053-0/+11
| | | | | | | | | ENABLE_VM_OBJSPACE macro is defined. * vm.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/stringio/test_stringio.rb: add tests to achieve over 95% testmame2008-06-053-0/+444
| | | | | | | | | coverage of stringio. * test/strscan/test_stringscanner.rb: ditto for strscan. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_finalize_0): clear trace_func after executing ENDmame2008-06-053-4/+11
| | | | | | | | | procs. * thread.c: fix typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (os_obj_of): heaps may be modified in yield.akr2008-06-052-5/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_reverse_foreach): comment out unused function.mame2008-06-053-0/+10
| | | | | | | * util.c (dtoa): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):knu2008-06-054-3/+25
| | | | | | | | | | | | | | | | Add a null check for ssl; submitted by akira yamada in [ruby-dev:34950]. * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Define OP_NO_TICKET if SSL_OP_NO_TICKET is present; submitted by akira yamada in [ruby-dev:34944]. * test/openssl/test_ssl.rb (OpenSSL#test_server_session): Add a workaround for the case where OpenSSL is configured with --enable-tlsext; submitted by akira yamada in [ruby-dev:34944]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_set_trace_func_m): fix check for proc argument.mame2008-06-052-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/document.rb (REXML::Document:write): leaky modificationmame2008-06-053-3/+10
| | | | | | | | | trans -> transitive. [ruby-dev:32040], r13686 * lib/rexml/text.rb (Text.check): fix check for illigal characher. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/iconv/utils.rb (TestIconv.testcase): make test cases conditionally.nobu2008-06-054-6/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_create): find encoding without options.nobu2008-06-052-1/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/iconv/test_{basic,option}.rb, test/iconv/utils.rb: added.nobu2008-06-055-27/+143
| | | | | | | * test/iconv/test_partial.rb: renamed from test_simple.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/iconv/test_simple.rb: added.nobu2008-06-051-0/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (hash): should be "static".ko12008-06-042-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_transcode.rb: add tests for iso-2022-jp.mame2008-06-042-0/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb: add tests.mame2008-06-043-3/+148
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo.mame2008-06-042-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_alloc): RDoc updated. a patch from Gastonmatz2008-06-042-2/+20
| | | | | | Ramos <ramos.gaston at gmail.com> in [ruby-core:17073]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: massive spelling correction patch from Evan Farrarmatz2008-06-0458-91/+96
| | | | | | <evanfarrar at gmail.com> in [ruby-doc:1382] applied. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_iconv): fix for length argument and nownobu2008-06-042-20/+33
| | | | | | | allows range. [ruby-core:17092] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_with_index, enumerator_with_memo): Fixknu2008-06-042-4/+9
| | | | | | | grammo in rdoc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid infinite loop on FreeBSD 6.3.akr2008-06-041-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (CFLAGS, CXXFLAGS): include additional flags tonobu2008-06-043-5/+16
| | | | | | | CFLAGS and CXXFLAGS while configuration. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fixmame2008-06-032-4/+9
| | | | | | | document. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_exist_p): fix document.mame2008-06-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir.rb: add tests to achieve over 90% test coveragemame2008-06-034-0/+219
| | | | | | | | | | | | of dir.c. * test/ruby/test_encoding.rb: add tests for dummy?, name_list and aliases. * test/ruby/test_marshal.rb: add some tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/etc/test_etc.rb: new tests for etc.mame2008-06-032-0/+131
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_with_memo): New method: with_memo().knu2008-06-034-0/+61
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (miniruby$(EXEEXT)): miniruby cannot benobu2008-06-032-1/+6
| | | | | | | written by miniruby itself. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_init_copy): Take care ofknu2008-06-032-1/+11
| | | | | | | initialize_copy as well as initialize. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): fix for non-existent files and SFN ofnobu2008-06-032-19/+21
| | | | | | | symlinks. [ruby-talk:303736] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#classify): Back out the `group_by' alias.knu2008-06-032-1/+5
| | | | | | | Better think twice. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Properly back out.knu2008-06-031-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#collect, Set#select): Back out. I thought itknu2008-06-032-20/+6
| | | | | | | was consistent but turned out to be wrong. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#collect, Set#select): Override Enumerableknu2008-06-032-3/+39
| | | | | | | | | | | | methods and make them return a set. [ruby-core:17055] (Set#delete_if, Set#collect!, Set#reject!, Set#classify) (Set#divide, Set#delete_if): Return an enumerator if no block is given. (Set#classify): Define an alias `group_by' to override that of Enumerable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (run_exec_pgroup): C99 ism.usa2008-06-032-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_allocate, enumerator_ptr): Properlyknu2008-06-032-6/+23
| | | | | | | | | detect if the object is initialized and raise error when appropriate. (enumerator_initialize): Fix a typo in rdoc. [ruby-core:17052] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_method.rb: add a test.mame2008-06-022-0/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): add a check for modification of array duringmame2008-06-023-8/+14
| | | | | | | its dump. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e