summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * object.c (rb_obj_ivar_set): RDoc updated according to amatz2007-03-013-9/+15
| | | | | | | suggestion from Brian Candler <B.Candler AT pobox.com>. [ruby-core:10469] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt, arg): should not omit lhs of OP_ASGN1 even ifnobu2007-03-012-0/+7
| | | | | | | empty. [ruby-dev:30452] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* better error messageknu2007-02-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (get_digest_base_metadata): Allow inheritingknu2007-02-282-4/+14
| | | | | | | | Digest::Base subclasses, which was unintentionally made impossible while restructuring Digest classes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (patchlevel): read from version.h.nobu2007-02-283-5/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_fcntl): fcntl support for MinGW.eban2007-02-281-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_fcntl): fcntl support for MinGW.eban2007-02-282-2/+9
| | | | | | | * missing/flock.c: workaround for MinGW. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): properly ignore non-base64 octets such asshyouhei2007-02-282-8/+21
| | | | | | | | UTF-8 encoded BOMs; submitted by SOUMA Yutaka <holon@radastery.jp> to fix [ruby-core:10437] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: no need to check unistd.h and sys/time.h.usa2007-02-282-2/+6
| | | | | | | | they are already checked at configure. reported by KOBAYASHI Yasuhiro [ruby-list:43225] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($DEFLIBPATH): default library paths ($(topdir), etc)usa2007-02-282-5/+12
| | | | | | | | should be the first elements of library paths list. reported by KOBAYASHI Yasuhiro [ruby-list:43225] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in, */Makefile.sub (THREAD_MODEL): systemnobu2007-02-2811-36/+77
| | | | | | | | | specific thread model. * compile.h, regint.h, vm.h, array.c: removed unnecessary #include. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (take_i): small cosmetic / documentation patch frommatz2007-02-272-6/+7
| | | | | | Tadashi Saito <shiba AT mail2.accsnet.ne.jp>. [ruby-dev:30446] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add name of bug reporter.usa2007-02-271-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/{dbm,gdbm}/test_{dbm,gdbm}.rb: shouldn't use host_os. useusa2007-02-273-4/+9
| | | | | | | target_os instead. [ruby-list:43225] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (RbConfig): add CONFIG['PATCHLEVEL']shyouhei2007-02-275-4/+64
| | | | | | | | | | * common.mk: new target dist * distruby.rb: new file git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--enable-auto-image-base): avoid the neccessity toeban2007-02-272-1/+8
| | | | | | | | | rebase the shared libs as much as possible; submitted by Corinna Vinschen <spam at vinschen.de> in [ruby-talk:240964]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi().eban2007-02-273-1/+10
| | | | | | | * configure.in (ac_cv_func_setrlimit): workaround for djgpp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (error.c, process.c): depend on yarvcore.h and rubysig.h.usa2007-02-272-22/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c (rb_str_resize, rb_nkf_kconv, rb_nkf_guess1,knu2007-02-272-5/+12
| | | | | | | | | rb_nkf_guess2): Silence warnings regarding char * vs. unsigned char * mismatch; submitted by Lyle Johnson <lyle.johnson@gmail.com> in [ruby-core:10416]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb (Base64::b64encode): Fix documentation; submittedknu2007-02-272-1/+6
| | | | | | | by David Symonds <dsymonds@gmail.com> in [ruby-core:10432]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_load): Silence warningsknu2007-02-275-6/+19
| | | | | | | | | | | | | | | regarding char * vs. unsigned char * mismatch; submitted by Lyle Johnson <lyle.johnson@gmail.com> in [ruby-core:10416]. * ext/digest/sha1/sha1ossl.c (SHA1_Finish): Ditto. * ext/digest/rmd160/rmd160ossl.c (RMD160_Finish): Ditto. * ext/digest/digest.c (rb_digest_base_finish, rb_digest_base_update): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_take): new method. [ruby-dev:30407]matz2007-02-272-0/+125
| | | | | | * enum.c (enum_drop): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.h, vm.h: rename th_invoke_yield() to th_yield().ko12007-02-267-30/+40
| | | | | | | | | | | | | * blockinlining.c: ditto. * eval.c: ditto. * vm.c, insns.def: rename th_invoke_yield_cfunc() to th_yield_with_cfunc(). * yarvcore.h, yarvcore.c: rename theYarvVM to ruby_current_vm and yarvCurrentThread to ruby_current_thread. remove yarvVMArray. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-02-27eban2007-02-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_optimization.rb: restore method before calling assert_equal.aamine2007-02-262-84/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.h: add rb_thread_t#top_wrapper, top_self.ko12007-02-259-27/+70
| | | | | | | | | | | | | | | * eval_load.c (rb_load): support eval in wrapper module (load(file, true)). * eval.c: ditto. * eval_jump.h: ditto. * iseq.c: ditto. * vm.c: ditto. * yarvcore.c: ditto. * insns.def: add a empty line. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: change "gdb" rule. You can debug miniruby withko12007-02-253-7/+16
| | | | | | | | | | $(srcdir)/test.rb on gdb by this rule (type "make gdb"). If you write break points to "breakpoints.gdb" on $srcdir, gdb runs with this file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: enable -Zi (debug) option.ko12007-02-252-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: define RUBY_VM macro and remove NATIVETHREAD* macros.ko12007-02-254-38/+11
| | | | | | | | | | * intern.h: ditto. * signal.c (posix_signal): remove unused function posix_nativethread_signal(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_run): fix to ANSI style.ko12007-02-252-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: show source code in error message.aamine2007-02-252-5/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.h:ko12007-02-2511-103/+136
| | | | | | | | | | | | | | | | | | | | | rename: rb_iseq_t#file_name -> filename rb_iseq_t#local_tbl -> local_table add: rb_iseq_t#local_table_size * compile.c: separate local_table_size and local_size (local variable size) * blockinlining.c: apply above rename. * compile.h: ditto. * eval.c: ditto. * iseq.c: ditto. * proc.c: ditto. * vm.c: ditto. * vm_dump.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: add lib/ to load path.aamine2007-02-252-4/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.nobu2007-02-252-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: new target "btest", to run bootstraptests.aamine2007-02-242-0/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c, gc.c, io.c, ruby.h, rubyio.h, win32/win32.h (rb_io_t):nobu2007-02-2415-174/+176
| | | | | | | | | | | renamed from OpenFile. * ext/dl/cptr.c, ext/io/wait/wait.c, ext/openssl/ossl.h, ext/openssl/ossl_bio.c, ext/openssl/ossl_ssl.c, ext/pty/pty.c, ext/readline/readline.c, ext/socket/socket.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: new option -v,--verbose.aamine2007-02-242-2/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvtest/test_method.rb: removed (merged to bootstraptest).aamine2007-02-243-1399/+6
| | | | | | | * yarvtest/test_class.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (DEBUG_OUT): leave pointer size to runtime.nobu2007-02-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_thread_flock, rb_file_flock): use UBF feature.nobu2007-02-242-45/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_class.rb: new file.aamine2007-02-243-1/+250
| | | | | | | * bootstraptest/test_method.rb: add tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_thread_flock, rb_file_flock): use UBF feature.nobu2007-02-241-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_waitpid_blocking, rb_waitpid): use UBF feature.nobu2007-02-244-19/+52
| | | | | | | | | | | * thread_win32.ci (rb_w32_wait_events_blocking): blocking version. * win32/win32.c (waitpid): use rb_w32_wait_events_blocking(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (rb_thread_blocking_region): add prototype.nobu2007-02-245-14/+40
| | | | | | | | | | | | | | * thread.c (BLOCKING_REGION): restore previous UBF. * thread.c (rb_thread_blocking_region): default UBF to interrupt in system dependent way by RB_UBF_DFL. + ubf_select() on posix system + ubf_handle() on Win32 + none on cygwin git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_debug): added runtime debugging flag.nobu2007-02-242-3/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_arg, opt_f_block_arg): ripper should export VALUE.aamine2007-02-242-1/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: fix syntax error.aamine2007-02-242-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: new option --help.aamine2007-02-242-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest: new test suite.aamine2007-02-244-0/+573
| | | | | | | | | * bootstraptest/runner.rb: new file. * bootstraptest/test_literal.rb: new file. * bootstraptest/test_method.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (StartSocket): remove unnecessary code.usa2007-02-242-9/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e