summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tcltklib/tcltklib.c: fixed memory leak when tk_funcall raisedocean2005-08-051-0/+6
| | | | | | | | exception. (copies argv into heap in tk_funcall instead of caller) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): need to convert path separetorusa2005-08-051-0/+5
| | | | | | | before invoking install command. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: refactoring - extract ruby string <->ocean2005-08-041-0/+5
| | | | | | | tcl object conversion as get_str_from_obj and get_obj_from_str. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * extmk.rb (extmake): needs to be wrapped in an Array.nobu2005-08-041-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: cannot compile for Tcl7.6/Tk4.2.nagai2005-08-041-0/+20
| | | | | | | | | | | | | | | * ext/tcltklib/tcltklib.c: add nativethread consistency check. * ext/tcltklib/stubs.c: ditto. * ext/tk/lib/tk.rb: forgot to define TclTkIp.encoding and encoding= when Tcl is 7.6 or 8.0. * ext/tk/lib/tk/wm.rb: support to make some methods as options of root or toplevel widget. [ruby-talk:150336] * ext/tk/lib/tk/root.rb: ditto. * ext/tk/lib/tk/toplevel.rb: ditto. * ext/tk/lib/tkextlib/SUPPRT_STATUS: update RELEASE_DATE git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): should not modify $mflags for eachnobu2005-08-031-0/+5
| | | | | | | extentions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, {bcc32,win32,wince}/Makefile.sub: integratednobu2005-08-031-1/+10
| | | | | | | | | | | macro definitions. * bcc32/Makefile.sub: LIBRUBY_SO should use DLDOBJS, not EXTOBJS. * {win32,wince}/Makefile.sub: separate config.h for compiler versions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb: TkVariable#trace didn't work onocean2005-08-031-0/+5
| | | | | | | | TkVariable retrived from TkVariable.new_hash.ref. [ruby-dev:26721] (written by Hidetoshi NAGAI) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_connect): revert [ruby-talk:111654]matz2005-08-021-0/+5
| | | | | | | changes at 2004-09-07. [ruby-dev:26656] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: use Tcl_[GS]etVar2Ex instead ofocean2005-08-021-0/+10
| | | | | | | | | | | | Tcl_Obj[GS]etVar2. (avoid Tcl_NewStringObj on supported platforms) * ext/tcltklib/tcltklib.c: use ip_{get,set,unset}_variable2_core from ip_{get,set,unset}_variable. * ext/tcltklib/tcltklib.c: replaced Tcl_Panic with rb_bug. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ping.rb (Ping.pingecho): should rescue StandardError.gotoyuzo2005-08-011-0/+5
| | | | | | | [ruby-dev:26677] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: refactoring - replaced rb_ivar_defined &ocean2005-08-011-0/+5
| | | | | | | rb_ivar_get with single rb_attr_get call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (Tcl_GetStringResult): refactoring - defineocean2005-08-011-0/+5
| | | | | | | alternative macro on Tcl7.x or earlier. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML numberocean2005-08-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (deleted_ip): refactoring - interpreterocean2005-08-011-1/+6
| | | | | | | deletion check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use private_methods and protected_methods instead of respond_to? to checkseki2005-07-311-0/+10
| | | | | | | method visibility. [ruby-dev:26616] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb: fix `irb --readline` option. [ruby-list:40955]keiju2005-07-311-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): push yielded node instead of yielding.nobu2005-07-291-12/+17
| | | | | | | fixed: [yarv-dev:549] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/stubs.c: When --enable-tcltk-stubs, the initializenagai2005-07-281-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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/tcltklib/stubs.h: New file. Define prototypes and return codes of functions on stubs.c. * ext/tcltklib/tcltklib.c: Support delaying initalization of Tk_Stubs until the script needs Tk. * ext/tcltklib/tcltklib.c: Show friendly error messages for errors on initialization. * ext/tcltklib/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.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/branches/ruby_1_8@8861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_connect): break immediately if amatz2005-07-281-0/+5
| | | | | | | socket is non-blocking. [ruby-talk:111654] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (obj_free): make message formant consistent with one frommatz2005-07-271-0/+5
| | | | | | | gc_mark(). [ruby-talk:149668] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/rss/tdiary_plugin: removed. because the pluginkou2005-07-271-0/+5
| | | | | | | is imported in the tDiary plugin packages. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revered all LLP64 modifies due to portability reason.matz2005-07-271-21/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (id2ref): must not assign pointers to long int. usematz2005-07-271-0/+17
| | | | | | | | | | | | | | | | | LONG_LONG instead if SIZEOF_LONG < SIZEOF_VOIDP. [ruby-talk:149645] * ruby.h: use LONG_LONG to simplify the change. [ruby-talk:149645] * 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/branches/ruby_1_8@8845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_each): rewinddir(3) before iteration.matz2005-07-271-0/+5
| | | | | | | [ruby-talk:149628] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: support LLP64 model. [ruby-talk:149524]matz2005-07-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/openssl_missin.c: include <openssl/engine.h> beforegotoyuzo2005-07-261-0/+6
| | | | | | | | <openssl/x509_vfy.h> to avoid compilation error of mswin32. suggested by NAKAMURA Usaku. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub: moved CPPFLAGS only for rubynobu2005-07-251-17/+22
| | | | | | | source to XCFLAGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: check HAVE_SYS_IOCTL_H before including the header.matz2005-07-251-0/+5
| | | | | | | [ruby-dev:26610] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: fix en-bugged part in the last commit.nagai2005-07-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_engine.c (ossl_engine_s_load): should checkgotoyuzo2005-07-231-0/+5
| | | | | | | OPENSSL_NO_STATIC_ENGINE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_eq): reduce isnan(). [ruby-dev:26600]matz2005-07-221-0/+6
| | | | | | | * numeric.c (flo_eq, flo_gt, flo_ge, flo_lt, flo_le): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb: moved copyright description to lib/rss.rb.kou2005-07-221-0/+16
| | | | | | | | | | | | | | | | * 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/branches/ruby_1_8@8820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb (RSS::Parser#initialize): accept HTTP/FTPkou2005-07-221-0/+8
| | | | | | | | | | 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/branches/ruby_1_8@8819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil.c (tk_conv_args): forget to revert thread_criticalnagai2005-07-211-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and gc_disable when raise ArgumentError. * ext/tk/lib/remote-tk.rb: RemoteTkIp doesn't need to include TkUtil. * ext/tcltklib/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/branches/ruby_1_8@8817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (S_ISREG): need to define S_ISREG before it is used first.usa2005-07-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (wsplit_p): patch for the environment whereocean2005-07-201-0/+6
| | | | | | | | fcntl(F_GETFL, O_NONBLOCK) is not supported. in that case, set FMODE_WSPLIT without fcntl check. [ruby-dev:26566] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ctl): update FMODE_WSPLIT_INITIALIZED and FMODE_WSPLITakr2005-07-201-0/+5
| | | | | | | by F_SETFL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_class_path): need to adjust snprintf() len formatz2005-07-201-0/+10
| | | | | | | teminating NUL. [ruby-dev:26581] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: sorry, BeOS also uses HAVE_CLOSESOCKET,ocean2005-07-191-0/+8
| | | | | | | | | | so reverted. * ext/socket/extconf.rb: should not define HAVE_CLOSESOCKET on windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* no messageocean2005-07-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: should not undef close on win32.ocean2005-07-191-0/+6
| | | | | | | | it's defined to rb_w32_close, otherwise handle leaks. [ruby-Bugs-2131] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (syserr_initialize): add 1 byte for snprintf() size formatz2005-07-191-2/+2
| | | | | | | NUL at the end. [ruby-dev:26574] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (syserr_initialize): need to allocate an additional bytematz2005-07-191-0/+5
| | | | | | | for NUL at the end. [ruby-dev:26574] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_inspect): replace sprintf() with "%s" format allmatz2005-07-191-6/+16
| | | | | | | | | | over the place by snprintf() to avoid integer overflow. * sample/svr.rb: service can be stopped by ill-behaved client; use tsvr.rb instead. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: rbtk_eventloop_depth is used as int.ocean2005-07-191-0/+10
| | | | | | | | | | | * ext/tcltklib/tcltklib.c: rbtk_pending_exception is tested with NIL_P, so should assign Qnil instead of 0 (Qfalse). * ext/tcltklib/tcltklib.c (ip_invoke_real): fixed memory leak when ip is deleted. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb: For symmetry, add TkVariable#string. Itnagai2005-07-191-0/+6
| | | | | | | | returns a string even if the default value type of the TkVariable object is not "string". git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): make the pointer to NODE volatileocean2005-07-181-0/+5
| | | | | | | instead of NODE itself. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): make body volatile to avoid optimization problem.akr2005-07-181-0/+6
| | | | | | | [ruby-dev:26195] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/wait.c: wrong backport from trunk. fixed: [ruby-dev:26562]nobu2005-07-181-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e