diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/tk/ChangeLog.tkextlib | 4 | ||||
-rw-r--r-- | ext/tk/lib/tk.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk/canvas.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk/canvastag.rb | 10 | ||||
-rw-r--r-- | ext/tk/lib/tk/textimage.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk/textmark.rb | 4 | ||||
-rw-r--r-- | ext/tk/lib/tk/texttag.rb | 4 | ||||
-rw-r--r-- | ext/tk/lib/tk/textwindow.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk/timer.rb | 12 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/vu/pie.rb | 4 |
11 files changed, 29 insertions, 21 deletions
@@ -1,3 +1,7 @@ +Sun May 8 23:17:47 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * ext/tk/lib/tk/timer.rb: fix typo. + Sun May 8 21:00:50 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> * hash.c (Init_Hash): remove custom "hash" and "eql?". diff --git a/ext/tk/ChangeLog.tkextlib b/ext/tk/ChangeLog.tkextlib index 4fbcc16ca5..c140f807f4 100644 --- a/ext/tk/ChangeLog.tkextlib +++ b/ext/tk/ChangeLog.tkextlib @@ -1,3 +1,7 @@ +2005-05-08 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * lib/tkextlib/vu/pie.rb: fix typo + 2005-04-10 ocean <ocean@ruby-lang.org> * sample/tkextlib/treectrl/mailwasher.rb: fixed typo. [ruby-dev:26008] diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 3468b108ac..43e8c44b5e 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -4024,7 +4024,7 @@ end #Tk.freeze module Tk - RELEASE_DATE = '2005-04-09'.freeze + RELEASE_DATE = '2005-05-08'.freeze autoload :AUTO_PATH, 'tk/variable' autoload :TCL_PACKAGE_PATH, 'tk/variable' diff --git a/ext/tk/lib/tk/canvas.rb b/ext/tk/lib/tk/canvas.rb index 6651819c03..8823e0bfe8 100644 --- a/ext/tk/lib/tk/canvas.rb +++ b/ext/tk/lib/tk/canvas.rb @@ -623,7 +623,7 @@ class TkcItem<TkObject def initialize(parent, *args) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @parent = @c = parent @path = parent.path diff --git a/ext/tk/lib/tk/canvastag.rb b/ext/tk/lib/tk/canvastag.rb index 0075a60a14..1719abfa02 100644 --- a/ext/tk/lib/tk/canvastag.rb +++ b/ext/tk/lib/tk/canvastag.rb @@ -210,7 +210,7 @@ class TkcTag<TkObject def initialize(parent, mode=nil, *args) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path @@ -297,7 +297,7 @@ class TkcTagString<TkcTag def initialize(parent, name, mode=nil, *args) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path @@ -314,7 +314,7 @@ TkcNamedTag = TkcTagString class TkcTagAll<TkcTag def initialize(parent) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path @@ -327,7 +327,7 @@ end class TkcTagCurrent<TkcTag def initialize(parent) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path @@ -342,7 +342,7 @@ class TkcGroup<TkcTag #def create_self(parent, *args) def initialize(parent, *args) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path diff --git a/ext/tk/lib/tk/textimage.rb b/ext/tk/lib/tk/textimage.rb index 982cb2ecf9..a29b23c7dd 100644 --- a/ext/tk/lib/tk/textimage.rb +++ b/ext/tk/lib/tk/textimage.rb @@ -9,7 +9,7 @@ class TkTextImage<TkObject def initialize(parent, index, keys) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @t = parent if index == 'end' || index == :end diff --git a/ext/tk/lib/tk/textmark.rb b/ext/tk/lib/tk/textmark.rb index dccde38d7f..41d752bae5 100644 --- a/ext/tk/lib/tk/textmark.rb +++ b/ext/tk/lib/tk/textmark.rb @@ -20,7 +20,7 @@ class TkTextMark<TkObject def initialize(parent, index) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @parent = @t = parent @tpath = parent.path @@ -132,7 +132,7 @@ class TkTextNamedMark<TkTextMark def initialize(parent, name, index=nil) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @parent = @t = parent @tpath = parent.path diff --git a/ext/tk/lib/tk/texttag.rb b/ext/tk/lib/tk/texttag.rb index 6201c7caa8..e5d7a9b0a4 100644 --- a/ext/tk/lib/tk/texttag.rb +++ b/ext/tk/lib/tk/texttag.rb @@ -22,7 +22,7 @@ class TkTextTag<TkObject def initialize(parent, *args) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @parent = @t = parent @tpath = parent.path @@ -247,7 +247,7 @@ class TkTextNamedTag<TkTextTag def initialize(parent, name, *args) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @parent = @t = parent @tpath = parent.path diff --git a/ext/tk/lib/tk/textwindow.rb b/ext/tk/lib/tk/textwindow.rb index 7c97313582..605c40addd 100644 --- a/ext/tk/lib/tk/textwindow.rb +++ b/ext/tk/lib/tk/textwindow.rb @@ -9,7 +9,7 @@ class TkTextWindow<TkObject def initialize(parent, index, keys = {}) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @t = parent if index == 'end' || index == :end diff --git a/ext/tk/lib/tk/timer.rb b/ext/tk/lib/tk/timer.rb index 87670c962f..47f2b79350 100644 --- a/ext/tk/lib/tk/timer.rb +++ b/ext/tk/lib/tk/timer.rb @@ -249,7 +249,7 @@ class TkTimer # && !interval.kind_of?(Integer) && !interval.kind_of?(Proc) if interval != 'idle' && interval != :idle \ && !interval.kind_of?(Integer) && !TkComm._callback_entry?(interval) - fail ArguemntError, "expect Integer or Proc" + fail ArgumentError, "expect Integer or Proc" end @sleep_time = interval end @@ -259,7 +259,7 @@ class TkTimer # && !interval.kind_of?(Integer) && !interval.kind_of?(Proc) if interval != 'idle' && interval != :idle \ && !interval.kind_of?(Integer) && !TkComm._callback_entry?(interval) - fail ArguemntError, "expect Integer or Proc for 1st argument" + fail ArgumentError, "expect Integer or Proc for 1st argument" end @sleep_time = interval @@ -283,7 +283,7 @@ class TkTimer @loop_exec = 0 else if not loop_exec.kind_of?(Integer) - fail ArguemntError, "expect Integer for 2nd argument" + fail ArgumentError, "expect Integer for 2nd argument" end @loop_exec = loop_exec end @@ -334,7 +334,7 @@ class TkTimer sleep = @init_sleep unless sleep if sleep != 'idle' && sleep != :idle && !sleep.kind_of?(Integer) - fail ArguemntError, "expect Integer or 'idle' for 1st argument" + fail ArgumentError, "expect Integer or 'idle' for 1st argument" end @init_sleep = sleep @@ -364,7 +364,7 @@ class TkTimer if argc > 0 sleep = init_args.shift if sleep != 'idle' && sleep != :idle && !sleep.kind_of?(Integer) - fail ArguemntError, "expect Integer or 'idle' for 1st argument" + fail ArgumentError, "expect Integer or 'idle' for 1st argument" end @init_sleep = sleep end @@ -436,7 +436,7 @@ class TkTimer fail RuntimeError, "no procedure to continue" unless cmd if wait unless wait.kind_of?(Integer) - fail ArguemntError, "expect Integer for 1st argument" + fail ArgumentError, "expect Integer for 1st argument" end sleep = wait end diff --git a/ext/tk/lib/tkextlib/vu/pie.rb b/ext/tk/lib/tkextlib/vu/pie.rb index dc676ad765..78f3fa54da 100644 --- a/ext/tk/lib/tkextlib/vu/pie.rb +++ b/ext/tk/lib/tkextlib/vu/pie.rb @@ -127,7 +127,7 @@ class Tk::Vu::PieSlice def initialize(parent, *args) unless parent.kind_of?(Tk::Vu::Pie) - fail ArguemntError, "expect a Tk::Vu::Pie instance for 1st argument" + fail ArgumentError, "expect a Tk::Vu::Pie instance for 1st argument" end @parent = @pie = parent @ppath = parent.path @@ -218,7 +218,7 @@ class Tk::Vu::NamedPieSlice def initialize(parent, name, *args) unless parent.kind_of?(Tk::Vu::Pie) - fail ArguemntError, "expect a Tk::Vu::Pie instance for 1st argument" + fail ArgumentError, "expect a Tk::Vu::Pie instance for 1st argument" end @parent = @pie = parent @ppath = parent.path |