summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tcltklib/tcltklib.c: refactoring - extracted status check as function.ocean2005-08-051-248/+127
| | | | | | | (tcl_check_result) ... previous commit is actually "extracted protect call" git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: refactoring - extracted status check as function. ↵ocean2005-08-051-142/+56
| | | | | | (tcl_protect) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: just uniformed method style.ocean2005-08-051-36/+40
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fixed memory leak when tk_funcall raisedocean2005-08-052-40/+23
| | | | | | | | 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-052-1/+16
| | | | | | | 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-042-206/+77
| | | | | | | 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-042-4/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-05nobu2005-08-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: cannot compile for Tcl7.6/Tk4.2.nagai2005-08-048-20/+258
| | | | | | | | | | | | | | | * 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
* reverted. [ruby-dev:26726]ocean2005-08-042-6/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* just fixed indentation.ocean2005-08-041-28/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tile/demo.rb: followed previous changes.ocean2005-08-0420-59/+118
| | | | | | | | | | | | | * ext/tk/lib/tkextlib/tile/t*.rb: aliased class names starting with 'T' to non 'T' ones. (ie. Tk::Tile::TButton -> Tk::Tile::Button) [ruby-dev:26724] * ext/tk/lib/tkextlib/tile.rb: ditto. (autoload support) (Written by Hidetoshi NAGAI) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tile/demo.rb: fixed: Tk::Tile::TProgressbar isocean2005-08-042-36/+155
| | | | | | | | | | | | supported on tile 0.6 or later, not tile 0.5. * ext/tk/sample/tkextlib/tile/demo.rb: updated scales demo to use Tk::Tile::TProgressbar for tile 0.6 or later. * ext/tk/sample/tkextlib/tile/demo.rb: set some TkVariable default values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): should not modify $mflags for eachnobu2005-08-032-2/+10
| | | | | | | 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-037-23/+22
| | | | | | | | | | | 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
* 2005-08-04nobu2005-08-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed command name, and attached link to the gnuwin32 site.ocean2005-08-031-7/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb: TkVariable#trace didn't work onocean2005-08-033-26/+72
| | | | | | | | 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-022-6/+7
| | | | | | | 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
* 2005-08-03matz2005-08-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tile/treeview.rb: Tk::Tile::Treeview#headingconfigureocean2005-08-023-85/+145
| | | | | | | | | | is now working and more. [ruby-dev:26716] * ext/tk/sample/tkextlib/tile/demo.rb: use Tk::Tile::Treeview#headingconfigure instead of direct Tk.tk_call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tile/tprogressbar.rb: Tk::Tile::TProgressbar#startocean2005-08-023-6/+14
| | | | | | | | | | takes optional argument `interval'. * ext/tk/sample/tkextlib/tile/demo.rb: emulate Tk::Tile::TProgressbar with Tk::Tile::TProgress in tile 0.4. (repeating buttons demo) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tile/demo.rb: added repeating buttons demo.ocean2005-08-020-0/+0
| | | | | | | * ext/tk/sample/tkextlib/tile/repeater.tcl: ditto. (new file) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-08-022-0/+150
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tile/demo.rb: added repeating buttons demo.ocean2005-08-022-8/+42
| | | | | | | * ext/tk/sample/tkextlib/tile/repeater.tcl: ditto. (new file) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: use Tcl_[GS]etVar2Ex instead ofocean2005-08-022-430/+123
| | | | | | | | | | | | 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-012-1/+6
| | | | | | | [ruby-dev:26677] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-02gotoyuzo2005-08-011-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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/branches/ruby_1_8@8881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/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/branches/ruby_1_8@8880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/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/branches/ruby_1_8@8878 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/branches/ruby_1_8@8876 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-012-165/+59
| | | | | | | 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-314-16/+56
| | | | | | | 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-312-4/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-01keiju2005-07-311-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-07-29nobu2005-07-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): push yielded node instead of yielding.nobu2005-07-292-12/+18
| | | | | | | 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-2810-206/+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/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
* 2005-07-28matz2005-07-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_connect): break immediately if amatz2005-07-282-0/+10
| | | | | | | 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-273-4/+9
| | | | | | | 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-274-323/+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-277-62/+23
| | | | 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-278-28/+62
| | | | | | | | | | | | | | | | | 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
* 2005-07-27matz2005-07-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_each): rewinddir(3) before iteration.matz2005-07-272-0/+6
| | | | | | | [ruby-talk:149628] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8843 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/branches/ruby_1_8@8842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: support LLP64 model. [ruby-talk:149524]matz2005-07-262-3/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e