aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tk/tcltklib.c: enforce thread-check and exception-handling tonagai2005-03-0224-681/+7670
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid SEGV trouble. * ext/tk/tkutil/tkutil.c; fix a bug on converting a SJIS string array to a Tcl's list string. * ext/tk/tcltklib.c: wrap Tcl's original "namespace" command to protect from namespace crash. * ext/tk/lib/multi-tk.rb: enforce exception-handling. * ext/tk/lib/multi-tk.rb: catch IRB_EXIT to work on irb. * ext/tk/lib/tk.rb: ditto. * ext/tk/tcltklib.c: add TclTkLib.mainloop_thread? * ext/tk/lib/multi-tk.rb: (bug fix) callback returns a value. * ext/tk/lib/tk/canvas.rb (delete): bug fix when multiple arguments. * ext/tk/lib/clock.rb: fix 'no method error'. * ext/tk/lib/clock.rb (self.clicks): accept a Symbol argument. * ext/tk/lib/variable.rb: be able to set default_value_type; :numeric, :bool, :string, :symbol, :list, :numlist or nil (default; same to :string). If set a type, TkVariable#value returns a value of the type. * ext/tk/lib/tkextlib/tclx/tclx.rb: add Tk::TclX.signal to warn the risk of using TclX extension's 'signal' command. * ext/tk/sample/irbtk.rb: irb with Ruby/Tk. * ext/tk/sample/demos-*/anilabel.rb: bug fix on 'show code' * ext/tk/sample/demos-*/aniwave.rb: new Ruby/Tk animation demo. * ext/tk/sample/demos-*/pendulum.rb: ditto. * ext/tk/sample/demos-*/goldberg.rb: ditto. * ext/tk/sample/demos-*/widget: add entries of animation demos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-03-02nobu2005-03-021-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): [EXPERIMENTAL] NODE_LAMBDA implemented.nobu2005-03-024-3/+52
| | | | | | | | | | | | | [ruby-dev:25780] * node.h (NODE_LAMBDA): for literal Proc object. * parse.y (expr): interpret mere do...end block as proc object. * parse.y (primary): ditto, for brace block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* regcomp.c: uninitialized member (backrefed_status) was used.kosako2005-03-012-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-03-01eban2005-02-281-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* improved keeper threadseki2005-02-283-17/+54
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (Init_socket): IPv6 is not supported althoughocean2005-02-283-7/+16
| | | | | | | | | AF_INET6 is defined on bcc32. (rev1.108 again) * ext/socket/mkconstants.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* strscan.c: use new Oniguruma API.kosako2005-02-282-13/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-02-28eban2005-02-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (Init_socket): ported more Socket::Constantsocean2005-02-284-450/+279
| | | | | | | | | | | | from ruby_1_8, and made it easy to add new constants. [ruby-dev:25771] * ext/socket/depend: ditto. * ext/socket/mkconstants.rb: ditto. (added) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-02-27eban2005-02-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y [ripper]: fix typo. [ruby-core:04494]aamine2005-02-262-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-02-26kosako2005-02-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove oniggnu.h (GNU regex API).kosako2005-02-267-134/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c, st.h: imported additional file changes on Oniguruma 3.7.0.ksaito2005-02-233-9/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ascii.c, euc_jp.c, oniggnu.h, oniguruma.h, regcomp.c, regenc.c, regenc.h, ↵ksaito2005-02-238-172/+214
| | | | | | regerror.c, regexec.c, regint.h, regparse.c, regparse.h, sjis.c, utf8.c: imported Oni Guruma 3.7.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r8021,ksaito2005-02-236-94/+106
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (split_userinfo): should split ":pass" into ""akira2005-02-233-9/+22
| | | | | | | and "pass". [ruby-dev:25667] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-02-23nobu2005-02-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (initialize): handle certs correctly. Thanks,shugo2005-02-222-5/+11
| | | | | | | NABEYA Kenichi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (mkmf_failed): fixed typo.kou2005-02-222-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_start_0): update curr_thread before raisingnobu2005-02-222-7/+18
| | | | | | | TAG_THREAD. [ruby-dev:25712] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb: use simple commands if available.nobu2005-02-227-20/+72
| | | | | | | | | | | | | * mkconfig.rb: remove autoconf internal variables from rbconfig.rb. * lib/mkmf.rb (create_makefile): substitute implicit rules in depend file. * {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST): include $(topdir) and $(hdrdir) to search path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: get rid of warnings caused by a bug of VC.nobu2005-02-222-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (ruby_signal, ruby_nativethread_signal): must be valid asnobu2005-02-222-2/+17
| | | | | | | expressions, not only statements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo fix.akr2005-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-02-22eban2005-02-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): identfier after dot must not be a variable.nobu2005-02-212-6/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c: Standard signal handlers ignore signals on non-Ruby nativenagai2005-02-213-4/+97
| | | | | | | | | | | threads. When a handler is entried with ruby_signal() (like as the standard signal handlers), the handler for the signal is marked as it cannot accept non-Ruby native threads. If a handler can treat all signals on all native threads, please use ruby_nativethread_signal() to entry it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-02-20eban2005-02-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::FTP#buffer_open): access mechanismakr2005-02-192-4/+39
| | | | | | | | re-implemented according to RFC 1738. reported by Guillaume Marcais. [ruby-talk:131650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (DRbObject#respond_to?) take two arguments. [ruby-dev:25722]seki2005-02-193-2/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: call OpenSSL::SSL::SSLSocket#post_connection_checkakr2005-02-192-1/+11
| | | | | | | after connection is made. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): reverted wrongly removed lines.nobu2005-02-192-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-02-19nobu2005-02-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extract_makefile): remove no longer existing installednobu2005-02-193-24/+43
| | | | | | | | | files. * lib/mkmf.rb (install_dirs): return installation directory list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/sample/linear.rb: resolve LoadError.ocean2005-02-184-42/+10
| | | | | | | | | | * ext/bigdecimal/sample/nlsolve.rb: ditto. * ext/bigdecimal/lib/bigdecimal/nlsolve.rb: removed because this file is sample script and same file exists in ext/bigdecimal/sample. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added ML numberocean2005-02-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bigdecimal/newton.rb: resolve LoadError.ocean2005-02-183-3/+9
| | | | | | | * bigdecimal/nlsolve.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove GNU regex APIkosako2005-02-177-359/+124
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_start_1): initialize newly pushed frame.nobu2005-02-172-1/+8
| | | | | | | fixed: [ruby-dev:25707] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (DRbServer.default_safe_level): fix typo.ocean2005-02-173-60/+91
| | | | | | | | * test/digest/test_digest.rb: separate test case for each algorithms. (Thanks nobu) [ruby-dev:25412] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector.rb (collect_file): now deletes paths addedntalbott2005-02-175-12/+29
| | | | | | | | | | | | | | | to $LOAD_PATH instead of restoring it verbatim. * lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that 'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace collector again. Also tried to simplify the calling convention. * test/runner.rb: adjusted for new AutoRunner semantics. * lib/test/unit.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2005-02-171-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-02-17eban2005-02-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update unittest, port from v1.8seki2005-02-163-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/ssl_server.rb: get rid of race condition.nobu2005-02-161-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_start_1): outer block variables wasn't linked tonobu2005-02-162-1/+6
| | | | | | | threads. fixed: [ruby-dev:25700] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb (OpenSSL::Nonblock#initialize):gotoyuzo2005-02-162-1/+7
| | | | | | | native win32 platform doesn't have F_GETFL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-02-16usa2005-02-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e