aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/shell/process-controller.rb: fix thread synchronization problem for ↵keiju2007-03-062-3/+9
| | | | | | [ruby-dev:30477]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/irbtkw.rbw: fails to exit process.nagai2007-03-062-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2007-03-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * runruby.rb: added --pure (turned on by default) and --debuggernobu2007-03-062-6/+24
| | | | | | | options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb (Timeout.timeout): should return the block value always.aamine2007-03-052-7/+17
| | | | | | | | * lib/timeout.rb (Timeout.timeout): should yield sec argument always. * lib/timeout.rb (Timeout.timeout): fix document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: support automatic STARTTLS.aamine2007-03-053-85/+232
| | | | | | | | | | | * lib/net/smtp.rb: check server advertisement. * lib/net/smtp.rb: introduce new class SMTP::Response. * lib/net/smtp.rb (getok): should not use sprintf. * lib/net/smtp.rb (get_response): ditto. * lib/net/protocol.rb: reduce syntax warning on 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: reconstruct SMTPS/STARTTLS interface. New interface is ↵aamine2007-03-042-108/+79
| | | | | | | | | | | incompatible from current 1.9 interface at all. * lib/net/smtp.rb: All SSL-related class methods are removed; use instance methods instead. * lib/net/smtp.rb: rename methods: *ssl -> *tls (with alias "ssl"). * lib/net/smtp.rb: rename methods: *tls -> *starttls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex), win32/win32.c (rb_w32_utime): fixednobu2007-03-044-11/+16
| | | | | | | indentation broken at YARV merger. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_stat_uid, rb_stat_gid, eaccess): use rb_uid_t andnobu2007-03-042-4/+7
| | | | | | | rb_gid_t instead of int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_stat_s_utime): fixed a commit miss for the platformsnobu2007-03-044-9/+19
| | | | | | | | | where utimes() does not exist. * lib/fileutils.rb (touch): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (push_element): should return a int value.eban2007-03-042-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#^, Set#&): Correct documentation. Those methodsknu2007-03-032-2/+8
| | | | | | | | return sets, not arrays; noted by Oliver Frank Wittich <nietz AT mangabrain.de>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (touch): last #touch change causes error when :mtime ↵aamine2007-03-032-6/+7
| | | | | | option was not given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mv): could not move directory between different file ↵aamine2007-03-032-3/+12
| | | | | | systems. [ruby-dev:30411] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_utime): allow nil to set the current time.nobu2007-03-034-7/+30
| | | | | | | | * lib/fileutils.rb (touch): ditto, and added :mtime and :nocreate options. fixed: [ruby-talk:219037] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (instance_variable_get): Restore rdoc markups lost inknu2007-03-033-7/+12
| | | | | | | the last commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (get_ptr_of_variant, ole_set_safe_array,suke2007-03-023-45/+524
| | | | | | | | | | | | | | | | | ole_val2ptr_variant, ole_val2olevariantdata, ole_variant2val, ): fix some bugs of WIN32OLE_VARIANT.new when variant type is VT_ARRAY|VT_BSTR or VT_BYREF. * ext/win32ole/win32ole.c (folevariant_s_array, folevariant_initialize): WIN32OLE_VARIANT#[], WIN32OLE_VARIANT#[]=, WIN32OLE_VARIANT#value= is defined as instance method of WIN32OLE_VARIANT. * test/win32ole/test_win32ole_variant.rb: add some test for VT_ARRAY, VT_BYREF variant type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@11954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* better error messageknu2007-02-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@11947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (patchlevel): read from version.h.nobu2007-02-283-5/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@11927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add name of bug reporter.usa2007-02-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@11898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-02-27eban2007-02-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@11883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: enable -Zi (debug) option.ko12007-02-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@11877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: add lib/ to load path.aamine2007-02-252-4/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e