summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/ping.rb (Ping.pingecho): should rescue StandardError.gotoyuzo2005-08-012-1/+6
| | | | | | | [ruby-dev:26677] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-02gotoyuzo2005-08-011-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tile.rb: fixed autoload for Treeview.ocean2005-08-014-10/+68
| | | | | | | | | | | * ext/tk/lib/tkextlib/tile/treeview.rb: replaced `ary2tk_list(items)' with `*items'. * ext/tk/sample/tkextlib/tile: added treeview demo. (tile 0.5 or later is needed) [ruby-dev:26668] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: refactoring - replaced rb_ivar_defined &ocean2005-08-012-41/+16
| | | | | | | rb_ivar_get with single rb_attr_get call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (Tcl_GetStringResult): refactoring - defineocean2005-08-012-87/+9
| | | | | | | alternative macro on Tcl7.x or earlier. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tile/demo.rb: added combobox demo.ocean2005-08-012-2/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML numberocean2005-08-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (deleted_ip): refactoring - interpreter deletionocean2005-08-012-165/+59
| | | | | | | check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use private_methods and protected_methods instead of respond_to? to checkseki2005-07-314-16/+56
| | | | | | | method visibility. [ruby-dev:26616] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-01seki2005-07-311-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-07-30suke2005-07-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE_TYPE#ole_typelib, WIN32OLE_TYPE#implemented_ole_types.suke2005-07-303-44/+169
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb: fix `irb --readline` option. [ruby-dev:40955]keiju2005-07-292-4/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-07-29nobu2005-07-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): push yielded node instead of yielding.nobu2005-07-292-1/+5
| | | | | | | fixed: [yarv-dev:549] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): fix calling zsuper from a method with anonymousnobu2005-07-293-3/+8
| | | | | | | rest argument. [ruby-dev:26639] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_parser_end_seen_p): exclude from ripper.nobu2005-07-283-12/+21
| | | | | | | | | | <http://moonrock.jp/~don/d/200507.html#d28_t2> * sprintf.c (clearerr): remove standard macro before re-definition. <http://moonrock.jp/~don/d/200507.html#d28_t3> git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/stubs.c: When --enable-tcltk-stubs, the initializenagai2005-07-289-205/+836
| | | | | | | | | | | | | | | | | | | | | | | | | | | routine creates a Tcl/Tk interpreter and deletes it. However, init cost of Tk's MainWindow is not so small. And that makes it impossible to use libraries written with Tcl functions only on an environment without a graphical display. This changes support delaying initalization of Tk_Stubs until the script needs Tk. * ext/tk/stubs.h: New file. Define prototypes and return codes of functions on stubs.c. * ext/tk/tcltklib.c: Support delaying initalization of Tk_Stubs until the script needs Tk. * ext/tk/tcltklib.c: Show friendly error messages for errors on initialization. * ext/tk/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is exiting and $DEBUG is true. (Not fix. If you know the reason of why, please fix it.) * ext/tk/tkutil/tkutil.c (ary2list, ary2list2): bug fix on handling of encoding. * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string don't work propery. * ext/tk/lib/tk.rb: Forget extending Tk::Encoding module to Tk. * ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the object for an element of a Tcl's array variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_larglist): allow block argument in lambda parametermatz2005-07-282-8/+13
| | | | | | | list without parenthesis. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (each_i): typo fixed. [ruby-dev:26622]matz2005-07-282-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_arg): better argument name duplication checkmatz2005-07-283-24/+89
| | | | | | | | | | | * parse.y (new_args_gen): factored out name duplication check for optional and rest arguments. * parse.y (new_bv_gen): allow shadowing outer local variables; warning remains. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-07-28matz2005-07-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_larglist): allow bv_decl at the end of lambdamatz2005-07-284-33/+67
| | | | | | | | | | | | | argument list. [EXPERIMENTAL] * parse.y (new_bv_gen): allow local variable shadowing, with warning in verbose mode. * ext/socket/socket.c (ruby_connect): break immediately if a socket is non-blocking. [ruby-talk:111654] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (obj_free): make message formant consistent with one frommatz2005-07-274-14/+23
| | | | | | | | | gc_mark(). [ruby-talk:149668] * sprintf.c (quad_t): prepare quad_t as well. [ruby-talk:149668] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/rss/tdiary_plugin: removed. because the pluginkou2005-07-274-323/+5
| | | | | | | is imported in the tDiary plugin packages. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (cd): follow :noop option change. (This patch is ↵aamine2005-07-272-1/+6
| | | | | | contributed by Doug Kearns) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-07-27matz2005-07-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lambda): Perl6 style -> lambda expression. [NEW]matz2005-07-2714-144/+315
| | | | | | | | | | | | | | | | | | | | | | | [VERY EXPERIMENTAL] * gc.c (id2ref): must not assign pointers to long int. use LONG_LONG instead if SIZEOF_LONG < SIZEOF_VOIDP. [ruby-talk:149645] * ruby.h: use LONG_LONG to simplify the change. [ruby-talk:149645] * dir.c (dir_each): rewinddir(3) before iteration. [ruby-talk:149628] * eval.c (rb_f_throw): replace all '0x%lx' by '%p'. [ruby-talk:149553] * missing/vsnprintf.c (BSD_vfprintf): '%p' need to handle 64bit size pointer. [ruby-talk:149553] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tile/demo.rb: fixed typo.ocean2005-07-272-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/lib/ripper/sexp.rb: new method Ripper.sexp_raw.aamine2005-07-262-5/+52
| | | | | | | * ext/ripper/lib/ripper/sexp.rb (Ripper.sexp): returns more readable tree. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: merge a patch contributed by Daniel Berger, with some ↵aamine2005-07-262-42/+25
| | | | | | modification. (RubyForge #2128) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_sprintf): fixed typo.ocean2005-07-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: support LLP64 model. [ruby-talk:149524]matz2005-07-262-3/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/openssl_missin.c: include <openssl/engine.h> beforegotoyuzo2005-07-262-4/+10
| | | | | | | | <openssl/x509_vfy.h> to avoid compilation error of mswin32. suggested by NAKAMURA Usaku. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-07-26gotoyuzo2005-07-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[ch]: (rb_w32_vsnprintf, rb_w32_snprintf): removed.usa2005-07-253-21/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub: moved CPPFLAGS only for rubynobu2005-07-254-12/+8
| | | | | | | source to XCFLAGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: Borland MAKE doesn't look for file names which have pathsnobu2005-07-255-11/+17
| | | | | | | | | | | from VPATH. fixed: [ruby-dev:26604] * ruby.h (NORETURN, DEPRECATED): moved just after config.h. * {win32,wince}/Makefile.sub: vsnprintf() is in missing now. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_eq): reduce isnan(). [ruby-dev:26600]matz2005-07-253-6/+17
| | | | | | | * numeric.c (flo_eq, flo_gt, flo_ge, flo_lt, flo_le): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: fix en-bugged part in the last commit.nagai2005-07-253-57/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-07-25nagai2005-07-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_engine.c (ossl_engine_s_load): should checkgotoyuzo2005-07-232-1/+8
| | | | | | | OPENSSL_NO_STATIC_ENGINE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_fd_select): the all three fd_sets must be long enough fornobu2005-07-233-3/+30
| | | | | | | select. fixed: [ruby-talk:149059] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_vsprintf, rb_sprintf): new functions return new String,nobu2005-07-2317-132/+200
| | | | | | | | | using missing/vsnprintf.c. [ruby-dev:26580] * missing/vsnprintf.c: made the output changeable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-07-23nobu2005-07-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb: moved copyright description to lib/rss.rb.kou2005-07-228-31/+103
| | | | | | | | | | | | | | | | * lib/rss.rb: added for convenience. * sample/rss/re_read.rb: added #to_s sample. * sample/rss/blend.rb: use 'require "rss"' instead of 'require "rss/*"'. * sample/rss/list_description.rb: ditto. * sample/rss/rss_recent.rb: ditto. * sample/rss/tdiary-plugin/rss-recent.rb: ditto. * sample/rss/tdiary-plugin/rss-recent.rb: 0.0.6 -> 0.0.7. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb (RSS::Parser#initialize): accept HTTP/FTPkou2005-07-223-2/+64
| | | | | | | | | | URI and local file path too. * test/rss/test_parser.rb (RSS::TestParser#test_parse): test for the above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil/tkutil.c (tk_conv_args): forget to revertnagai2005-07-218-63/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | thread_critical and gc_disable when raise ArgumentError. * ext/tk/lib/remote-tk.rb: RemoteTkIp doesn't need to include TkUtil. * ext/tk/tcltklib.c: add TclTkIp#has_mainwindow? method. * ext/tk/lib/tk.rb: add Tk.has_mainwindow? method. * ext/tk/lib/multi-tk.rb: add MultiTkIp#has_mainwindow? method. * ext/tk/lib/remote-tk.rb: add RemoteTkIp#has_mainwindow? method. * ext/tk/lib/multi-tk.rb: slave IP fail to exit itself when $SAFE==4. * ext/tk/lib/multi-tk.rb: remove constants from MultiTkIp module to avoid access from external. * ext/tk/lib/multi-tk.rb: check_root flag is ignored on slave IPs' mainloop. * ext/tk/lib/multi-tk.rb: hang-up Tk.mainloop called on a slave IP with $SAFE==4. * ext/tk/lib/multi-tk.rb: MultiTkIp#bg_eval_proc doesn't work properly. * ext/tk/lib/multi-tk.rb: add MultiTkIp#set_cb_error(proc) and cb_error(exc) to log errors at callbacks on safe slave IPs. * ext/tk/lib/multi-tk.rb: fail to get an available slave IP object when call Tk.mainloop in the block which is given to new_* method, because cannot finish initialize while the root widget is alive. * ext/tk/lib/multi-tk.rb: fail to control a slave IP when Tk.mainloop runs on the IP. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c,config.h}:naruse2005-07-214-788/+821
| | | | | | | | import 1.76 [ruby-dev:26592] nkf constification git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-07-22naruse2005-07-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e