Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* ext: remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit 0d6d23b25db0e7d14969504eeba6ac31581a79a2 1 parent 87dbea7
@nobu nobu authored
Showing with 1,033 additions and 1,033 deletions.
  1. +1 −1  ext/bigdecimal/README
  2. +33 −33 ext/bigdecimal/bigdecimal_en.html
  3. +6 −6 ext/bigdecimal/bigdecimal_ja.html
  4. +1 −1  ext/bigdecimal/lib/bigdecimal/jacobian.rb
  5. +3 −3 ext/bigdecimal/lib/bigdecimal/util.rb
  6. +84 −84 ext/curses/curses.c
  7. +1 −1  ext/etc/depend
  8. +2 −2 ext/pty/pty.c
  9. +31 −31 ext/readline/README.ja
  10. +1 −1  ext/ripper/README
  11. +1 −1  ext/stringio/README
  12. +1 −1  ext/stringio/depend
  13. +2 −2 ext/syslog/syslog.txt
  14. +18 −18 ext/tk/ChangeLog.tkextlib
  15. +151 −151 ext/tk/MANUAL_tcltklib.eng
  16. +14 −14 ext/tk/MANUAL_tcltklib.eucj
  17. +7 −7 ext/tk/README.1st
  18. +12 −12 ext/tk/README.ActiveTcl
  19. +7 −7 ext/tk/README.fork
  20. +10 −10 ext/tk/README.macosx-aqua
  21. +32 −32 ext/tk/README.tcltklib
  22. +2 −2 ext/tk/lib/README
  23. +28 −28 ext/tk/lib/tkextlib/SUPPORT_STATUS
  24. +7 −7 ext/tk/lib/tkextlib/tcllib/README
  25. +1 −1  ext/tk/lib/tkextlib/tkimg/README
  26. +4 −4 ext/tk/old-README.tcltklib.eucj
  27. +1 −1  ext/tk/sample/demos-en/ChangeLog.prev
  28. +14 −14 ext/tk/sample/demos-en/README
  29. +4 −4 ext/tk/sample/demos-en/README.1st
  30. +2 −2 ext/tk/sample/demos-en/README.tkencoding
  31. +11 −11 ext/tk/sample/demos-en/browse1
  32. +11 −11 ext/tk/sample/demos-en/browse2
  33. +1 −1  ext/tk/sample/demos-en/doc.org/license.terms
  34. +1 −1  ext/tk/sample/demos-en/doc.org/license.terms.tk80
  35. +14 −14 ext/tk/sample/demos-en/ixset
  36. +27 −27 ext/tk/sample/demos-en/ixset2
  37. +34 −34 ext/tk/sample/demos-en/rmt
  38. +3 −3 ext/tk/sample/demos-en/rolodex
  39. +6 −6 ext/tk/sample/demos-en/square
  40. +9 −9 ext/tk/sample/demos-en/tcolor
  41. +1 −1  ext/tk/sample/demos-en/timer
  42. +68 −68 ext/tk/sample/demos-en/widget
  43. +7 −7 ext/tk/sample/demos-jp/README
  44. +11 −11 ext/tk/sample/demos-jp/browse1
  45. +11 −11 ext/tk/sample/demos-jp/browse2
  46. +1 −1  ext/tk/sample/demos-jp/doc.org/license.terms
  47. +1 −1  ext/tk/sample/demos-jp/doc.org/license.terms.tk80
  48. +15 −15 ext/tk/sample/demos-jp/ixset
  49. +28 −28 ext/tk/sample/demos-jp/ixset2
  50. +34 −34 ext/tk/sample/demos-jp/rmt
  51. +3 −3 ext/tk/sample/demos-jp/rolodex
  52. +2 −2 ext/tk/sample/demos-jp/rolodex-j
  53. +6 −6 ext/tk/sample/demos-jp/square
  54. +9 −9 ext/tk/sample/demos-jp/tcolor
  55. +1 −1  ext/tk/sample/demos-jp/timer
  56. +104 −104 ext/tk/sample/demos-jp/widget
  57. +5 −5 ext/tk/sample/irbtkw.rbw
  58. +2 −2 ext/tk/sample/msgs_rb/README
  59. +1 −1  ext/tk/sample/msgs_rb/es.msg
  60. +2 −2 ext/tk/sample/msgs_rb/ru.msg
  61. +1 −1  ext/tk/sample/msgs_rb2/README
  62. +1 −1  ext/tk/sample/msgs_tk/README
  63. +1 −1  ext/tk/sample/msgs_tk/el.msg
  64. +1 −1  ext/tk/sample/msgs_tk/es.msg
  65. +1 −1  ext/tk/sample/msgs_tk/license.terms
  66. +2 −2 ext/tk/sample/msgs_tk/ru.msg
  67. +1 −1  ext/tk/sample/tkextlib/blt/readme.txt
  68. +2 −2 ext/tk/sample/tkextlib/tile/readme.txt
  69. +5 −5 ext/tk/sample/tkextlib/tile/repeater.tcl
  70. +4 −4 ext/tk/sample/tkextlib/tile/themes/blue/blue.tcl
  71. +14 −14 ext/tk/sample/tkextlib/tile/themes/keramik/keramik.tcl
  72. +1 −1  ext/tk/sample/tkextlib/tile/themes/keramik/pkgIndex.tcl
  73. +19 −19 ext/tk/sample/tkextlib/tile/themes/kroc/kroc.tcl
  74. +1 −1  ext/tk/sample/tkextlib/tile/themes/kroc/pkgIndex.tcl
  75. +1 −1  ext/tk/sample/tkextlib/tile/themes/plastik/pkgIndex.tcl
  76. +17 −17 ext/tk/sample/tkextlib/tile/toolbutton.tcl
  77. +3 −3 ext/tk/sample/tkextlib/tkHTML/README
  78. +24 −24 ext/tk/sample/tkextlib/tkHTML/page2/index.html
  79. +19 −19 ext/tk/sample/tkextlib/tkHTML/page3/index.html
  80. +2 −2 ext/tk/sample/tkextlib/tkimg/license_terms_of_Img_extension
  81. +1 −1  ext/tk/sample/tkextlib/tkimg/readme.txt
  82. +1 −1  ext/tk/sample/tkextlib/treectrl/readme.txt
  83. +1 −1  ext/win32ole/depend
View
2  ext/bigdecimal/README
@@ -51,7 +51,7 @@ You can redistribute it and/or modify it under either the terms of the GPL
* The Author
-Feel free to send comments and bug reports to the author. Here is the
+Feel free to send comments and bug reports to the author. Here is the
author's latest mail address:
shigeo@tinyforest.gr.jp
View
66 ext/bigdecimal/bigdecimal_en.html
@@ -31,14 +31,14 @@
<BODY BGCOLOR=#FFFFE0>
<H1>BigDecimal(Variable Precision Floating Library for Ruby)</H1>
<DIV align="right"><A HREF="./bigdecimal_ja.html">Japanese</A></DIV><BR>
-BigDecimal is an extension library for the Ruby interpreter.
-Using BigDecimal class, you can obtain any number of significant digits in computation.
+BigDecimal is an extension library for the Ruby interpreter.
+Using BigDecimal class, you can obtain any number of significant digits in computation.
For the details about Ruby see:<BR>
<UL>
<LI><A HREF="http://www.ruby-lang.org/en/">http://www.ruby-lang.org/en/</A>:Official Ruby page(English).</LI>
<LI><A HREF="http://kahori.com/ruby/ring/">http://kahori.com/ruby/ring/</A>:Mutually linked pages relating to Ruby(Japanese).
</LI>
-</UL>
+</UL>
NOTE:<BR>
This software is provided "AS IS" and without any express or
implied warranties,including,without limitation,the implied
@@ -62,15 +62,15 @@
<A NAME="#INTRO">
<H2>Introduction</H2>
Ruby already has builtin (variable length integer number) class Bignum. Using Bignum class,you can obtain
- any integer value in magnitude. But, variable length decimal number class is not yet built in.
+ any integer value in magnitude. But, variable length decimal number class is not yet built in.
This is why I made variable length floating class BigDecimal.
Feel free to send any comments or bug reports to me.
<A HREF="mailto:shigeo@tinyforest.gr.jp">shigeo@tinyforest.gr.jp</A>
-I will try(but can't promise) to fix bugs reported.
+I will try(but can't promise) to fix bugs reported.
<hr>
<H2>Installation</H2>
The Ruby latest version can be downloaded from <A HREF="http://www.ruby-lang.org/en/">Official Ruby page</A>.
-Once decompress the downloaded Ruby archive,follow the normal installation procedures according to the
+Once decompress the downloaded Ruby archive,follow the normal installation procedures according to the
documents included.
<A NAME="#SPEC">
@@ -89,7 +89,7 @@
In 32 bits integer system,every 4 digits(in decimal) are computed simultaneously.
This means the number of significant digits in BigDecimal is always a multiple of 4.
<P>
-Some more methods are available in Ruby code (not C code).
+Some more methods are available in Ruby code (not C code).
Functions such as sin,cos ...,are in math.rb in bigdecimal directory.
To use them,require math.rb as:
<CODE><PRE>
@@ -110,7 +110,7 @@
a=BigDecimal::new(s[,n]) or<BR>
a=BigDecimal(s[,n]) or<BR>
where:<BR>
-s: Initial value string. Spaces will be ignored. Any unrecognizable character for
+s: Initial value string. Spaces will be ignored. Any unrecognizable character for
representing initial value terminates the string.<BR>
n: Maximum number of significant digits of a. n must be a Fixnum object.
If n is omitted or is equal to 0,then the maximum number of significant digits of a is determined from the length of s.
@@ -146,7 +146,7 @@
EXCEPTION_ZERODIVIDE controls the execution when zero-division occurs.<BR>
EXCEPTION_ALL controls the execution when any defined exception occurs.<BR>
If the flag is true,then the relating exception is thrown.<BR>
-No exception is thrown when the flag is false(default) and computation
+No exception is thrown when the flag is false(default) and computation
continues with the result:<BR>
<BLOCKQUOTE>
EXCEPTION_NaN results to NaN<BR>
@@ -159,7 +159,7 @@
currently the same.<BR>
The return value of mode method is the value set.<BR>
If nil is specified for the second argument,then current setting is returned.<BR>
-Suppose the return value of the mode method is f,then
+Suppose the return value of the mode method is f,then
f &amp; BigDecimal::EXCEPTION_NaN !=0 means EXCEPTION_NaN is set to on.
<P>
<B>[ROUND error control]</B><P>
@@ -185,7 +185,7 @@
<LI><B>limit[(n)]</B></LI><BLOCKQUOTE>
Limits the maximum digits that the newly created BigDecimal objects can hold never exceed n.
-This means the rounding operation specified by BigDecimal.mode is
+This means the rounding operation specified by BigDecimal.mode is
performed if necessary.
limit returns the value before set if n is nil or is not specified.
Zero,the default value,means no upper limit.<BR>
@@ -194,7 +194,7 @@
</BLOCKQUOTE>
<LI><B>double_fig</B></LI><BLOCKQUOTE>
-double_fig is a class method which returns the number of digits
+double_fig is a class method which returns the number of digits
the Float class can have.
<CODE><PRE>
p BigDecimal::double_fig # ==> 20 (depends on the CPU etc.)
@@ -290,7 +290,7 @@
c = BigDecimal("-1.23456").floor # ==> -2
</PRE></CODE>
-As shown in the following example,an optional integer argument (n) specifying the position
+As shown in the following example,an optional integer argument (n) specifying the position
of the target digit can be given.<BR>
If n> 0,then the (n+1)th digit counted from the decimal point in fraction part is processed(resulting number of fraction part digits is less than or equal to n).<BR>
If n<0,then the n-th digit counted from the decimal point in integer part is processed(at least n 0's are placed from the decimal point to left).
@@ -308,7 +308,7 @@
c = BigDecimal("-1.23456").ceil # ==> -1
</PRE></CODE>
-As shown in the following example,an optional integer argument (n) specifying the position
+As shown in the following example,an optional integer argument (n) specifying the position
of the target digit can be given.<BR>
If n>0,then the (n+1)th digit counted from the decimal point in fraction part is processed(resulting number of fraction part digits is less than or equal to n).<BR>
If n<0,then the n-th digit counted from the decimal point in integer part is processed(at least n 0's are placed from the decimal point to left).
@@ -327,7 +327,7 @@
</PRE></CODE>
The rounding operation changes according to BigDecimal::mode(BigDecimal::ROUND_MODE,flag) if specified.
-As shown in the following example,an optional integer argument (n) specifying the position
+As shown in the following example,an optional integer argument (n) specifying the position
of the target digit can be given.<BR>
If n>0,then the (n+1)th digit counted from the decimal point in fraction part is processed(resulting number of fraction part digits is less than or equal to n).<BR>
If n<0,then the n-th digit counted from the decimal point in integer part is processed(at least n 0's are placed from the decimal point to left).
@@ -346,7 +346,7 @@
<LI><B>truncate[(n)]</B></LI><BLOCKQUOTE>
c = a.truncate<BR>
truncate a to the nearest 1ÅD<BR>
-As shown in the following example,an optional integer argument (n) specifying the position
+As shown in the following example,an optional integer argument (n) specifying the position
of the target digit can be given.<BR>
If n>0,then the (n+1)th digit counted from the decimal point in fraction part is processed(resulting number of fraction part digits is less than or equal to n).<BR>
If n<0,then the n-th digit counted from the decimal point in integer part is processed(at least n 0's are placed from the decimal point to left).
@@ -373,7 +373,7 @@
<CODE><PRE>
BigDecimal("1.23456").to_s # ==> "0.123456E1"
</PRE></CODE>
-If n(>0) is given,then a space is inserted to each of two parts divided by the decimal point
+If n(>0) is given,then a space is inserted to each of two parts divided by the decimal point
after every n digits for readability.
<CODE><PRE>
BigDecimal("0.1234567890123456789").to_s(10) # ==> "0.1234567890 123456789E0"
@@ -390,7 +390,7 @@
BigDecimal("-0.1234567890123456789").to_s("10") # ==> "-0.1234567890 123456789E0"
</PRE></CODE>
-At the end of the string,'E'(or 'e') or 'F'(or 'f') can be specified to change
+At the end of the string,'E'(or 'e') or 'F'(or 'f') can be specified to change
number representation.
<CODE><PRE>
BigDecimal("1234567890.123456789").to_s("E") # ==> "0.1234567890123456789E10"
@@ -408,7 +408,7 @@
<LI><B>precs</B></LI><BLOCKQUOTE>
n,m = a.precs <BR>
-precs returns number of significant digits (n) and maximum number of
+precs returns number of significant digits (n) and maximum number of
significant digits (m) of a.
</BLOCKQUOTE>
@@ -473,7 +473,7 @@
should produce output like "#&lt;0x112344:'0.314E1',4(12)%gt;".
where "0x112344" is the address,
'0.314E1' is the value,4 is the number of the significant digits,
-and 12 is the maximum number of the significant digits
+and 12 is the maximum number of the significant digits
the object can hold.
</BLOCKQUOTE>
@@ -527,12 +527,12 @@
<DT> 2.A is the BigDecimal object but B is other than BigDecimal object</DT>
<DD> Operation is performed,after B is translated to corresponding BigDecimal object(because BigDecimal supports coerce method).</DD>
<DT> 3.A is not the BigDecimal object but B is BigDecimal object</DT>
-<DD>If A has coerce method,then B will translate A to corresponding
+<DD>If A has coerce method,then B will translate A to corresponding
BigDecimal object and the operation is performed,otherwise an error occures.</DD>
</DL>
String is not translated to BigDecimal in default.
-Uncomment /* #define ENABLE_NUMERIC_STRING */ in bigdecimal.c, compile and install
+Uncomment /* #define ENABLE_NUMERIC_STRING */ in bigdecimal.c, compile and install
again if you want to enable string to BigDecimal conversion.
Translation stops without error at the character representing non digit.
For instance,"10XX" is translated to 10,"XXXX" is translated to 0.<BR>
@@ -563,7 +563,7 @@
Infinite numbers and NaN can be represented by string writing "+Infinity"(or "Infinity"),"-Infinity",and "NaN" respectively in your program.
Infinite numbers can be obtained by 1.0/0.0(=Infinity) or -1.0/0.0(=-Infinity).
<BR><BR>
-NaN(Not a number) can be obtained by undefined computation like 0.0/0.0
+NaN(Not a number) can be obtained by undefined computation like 0.0/0.0
or Infinity-Infinity.
Any computation including NaN results to NaN.
Comparisons with NaN never become true,including comparison with NaN itself.
@@ -602,7 +602,7 @@
BASE is base value(=10000 in 32 bit integer system),
and n is the exponent value.<BR>
Larger BASE value enables smaller size of the array frac[],and increases computation speed.
-The value of BASE is defined ind VpInit(). In 32 bit integer system, this value is
+The value of BASE is defined ind VpInit(). In 32 bit integer system, this value is
10000. In 64 bit integer system, the value is 1000000000.
When BASE is 10000,an element of the array frac[] can have value of from 0 to 9999.
(up to 4 digits).<BR>
@@ -630,7 +630,7 @@
0.1234 5678 4321*(10000)**1
</PRE>
where frac[0]=1234,frac[1]=5678,frac[2]=4321,
-Prec=3,sign=2,exponent=1. MaxPrec can be any value greater than or equal to
+Prec=3,sign=2,exponent=1. MaxPrec can be any value greater than or equal to
Prec.
<hr>
@@ -657,7 +657,7 @@
end
</PRE></CODE>
-If the internal representation is binary,translation from decimal to
+If the internal representation is binary,translation from decimal to
binary is required and the translation error is inevitable.
For example, 0.1 can not exactly be represented in binary.<BR>
0.1 => b1*2**(-1)+b1*2**(-2)+b3*2**(-3)+b4*2**(-4)....<BR>
@@ -669,7 +669,7 @@
<DD>In binary representation,0.1 can not be represented in finite series of digit.
But we only need one element(frac[0]=1) in decimal representation.
-This means that we can always determine the size of the array frac[] in Real
+This means that we can always determine the size of the array frac[] in Real
structure.
</DL>
@@ -689,11 +689,11 @@
multiplication,and division,I prepared 2 group of methods<BR>
<H3>1. +,-,*,/</H3>
-For the operation + - * /,you can not specify the resulting
+For the operation + - * /,you can not specify the resulting
number of significant digits.<BR>
Resulting number of significant digits are defined as:<BR>
-1.1 For *,resulting number of significant digits is the sum of the
-significant digits of both side of the operator. For / ,resulting number of significant digits is the sum of the
+1.1 For *,resulting number of significant digits is the sum of the
+significant digits of both side of the operator. For / ,resulting number of significant digits is the sum of the
maximum significant digits of both side of the operator.<BR>
1.2 For + and -,resulting number of significant digits is determined so that
no round operation is needed. <br>
@@ -705,7 +705,7 @@
But,the division such as c=1.0/3.0 will always be rounded.<BR>
<H3>2. add,sub,mult,div</H3>
-The length of the significant digits obtained from +,-,*,/
+The length of the significant digits obtained from +,-,*,/
is always defined by that of right and left side of the operator.
To specify the length of the significant digits by your self,
use methos add,sub,mult,div.
@@ -724,7 +724,7 @@
<H3>4. Example</H3>
-Following example compute the ratio of the circumference of a circle to
+Following example compute the ratio of the circumference of a circle to
its diameter(pi=3.14159265358979....) using J.Machin's formula.
<BR><BR>
<CODE><PRE>
@@ -746,7 +746,7 @@
k = BigDecimal::new("1")
w = BigDecimal::new("1")
t = BigDecimal::new("-80")
- while (u.nonzero? && u.exponent >= exp)
+ while (u.nonzero? && u.exponent >= exp)
t = t*m25
u = t.div(k,sig)
pi = pi + u
View
12 ext/bigdecimal/bigdecimal_ja.html
@@ -41,7 +41,7 @@
<UL>
<LI><A HREF="http://www.ruby-lang.org/ja/">http://www.ruby-lang.org/ja/</A>:Ruby公式ページ</LI>
<LI><A HREF="http://kahori.com/ruby/ring/">http://kahori.com/ruby/ring/</A>:Rubyに関するページを辿れます</LI>
-</UL>
+</UL>
<hr>
<H2>目次</H2>
<UL>
@@ -73,8 +73,8 @@
BigDecimal を含む Ruby の最新版は<A HREF="http://www.ruby-lang.org/ja/">Ruby公式ページ</A>からダウンロードできます。
ダウンロードした最新版を解凍したら、通常のインストール手順を実行して下さい。
Ruby が正しくインストールされれば、同時に BigDecimal も利用できるようになるはずです。
-ソースファイルは
-bigdecimal.c,bigdecimal.h
+ソースファイルは
+bigdecimal.c,bigdecimal.h
の2個のみです。<BR>
<hr>
@@ -332,7 +332,7 @@
<LI><B>round[(n[,b])]</B></LI><BLOCKQUOTE>
c = a.round<BR>
-クラスメソッド BigDecimal::mode(BigDecimal::ROUND_MODE,flag) で指定した
+クラスメソッド BigDecimal::mode(BigDecimal::ROUND_MODE,flag) で指定した
ROUND_MODE に従って丸め操作を実行します。
BigDecimal::mode(BigDecimal::ROUND_MODE,flag) で何も指定せず、かつ、引数
を指定しない場合は「小数点以下第一位の数を四捨五入して整数(BigDecimal 値)」にします。<BR>
@@ -505,7 +505,7 @@
<LI><B>&lt=&gt</B></LI><BLOCKQUOTE>
a==b なら 0、a &gt b なら 1、a &lt b なら -1 になります。<BR>
-c = a &lt=&gt b
+c = a &lt=&gt b
</BLOCKQUOTE>
</UL>
後は、読んで字の如くです。<BR>
@@ -753,7 +753,7 @@
k = BigDecimal::new("1")
w = BigDecimal::new("1")
t = BigDecimal::new("-80")
- while (u.nonzero? && u.exponent >= exp)
+ while (u.nonzero? && u.exponent >= exp)
t = t*m25
u = t.div(k,sig)
pi = pi + u
View
2  ext/bigdecimal/lib/bigdecimal/jacobian.rb
@@ -37,7 +37,7 @@ def isEqual(a,b,zero=0.0,e=1.0e-8)
end
end
end
-
+
# Computes the derivative of f[i] at x[i].
# fx is the value of f at x.
View
6 ext/bigdecimal/lib/bigdecimal/util.rb
@@ -8,7 +8,7 @@ class Float < Numeric
# require 'bigdecimal/util'
#
# 0.5.to_d
- # # => #<BigDecimal:1dc69e0,'0.5E0',9(18)>
+ # # => #<BigDecimal:1dc69e0,'0.5E0',9(18)>
#
def to_d
BigDecimal(self.to_s)
@@ -25,7 +25,7 @@ class String
# require 'bigdecimal/util'
#
# "0.5".to_d
- # # => #<BigDecimal:1dc69e0,'0.5E0',9(18)>
+ # # => #<BigDecimal:1dc69e0,'0.5E0',9(18)>
#
def to_d
BigDecimal(self)
@@ -69,7 +69,7 @@ class Rational < Numeric
# r.to_d
# # => #<BigDecimal:1a52bd8,'0.3142857142 8571427937 0154144999 105E1',45(63)>
# r.to_d(3)
- # # => #<BigDecimal:1a44d08,'0.314E1',18(36)>
+ # # => #<BigDecimal:1a44d08,'0.314E1',18(36)>
def to_d(nFig=0)
num = self.numerator.to_s
if nFig<=0
View
168 ext/curses/curses.c
@@ -219,7 +219,7 @@ curses_closed(void)
* Document-method: Curses.clear
*
* Clears every position on the screen completely,
- * so that a subsequent call by Curses.refresh for the screen/window
+ * so that a subsequent call by Curses.refresh for the screen/window
* will be repainted from scratch.
*/
static VALUE
@@ -230,7 +230,7 @@ curses_clear(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses.clrtoeol
*
* Clears to the end of line, that the cursor is currently on.
@@ -243,7 +243,7 @@ curses_clrtoeol(void)
return Qnil;
}
-/*
+/*
* Document-method: Curses.refresh
*
* Refreshes the windows and lines.
@@ -257,7 +257,7 @@ curses_refresh(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses.doupdate
*
* Refreshes the windows and lines.
@@ -361,7 +361,7 @@ curses_noraw(VALUE obj)
* call Curses.cbreak or Curses.nocbreak explicitly.
* Most interactive programs using curses set the cbreak mode.
* Note that Curses.cbreak overrides Curses.raw.
- *
+ *
* see also Curses.raw
*/
static VALUE
@@ -430,7 +430,7 @@ curses_nonl(VALUE obj)
*
* Sounds an audible alarm on the terminal, if possible;
* otherwise it flashes the screen (visual bell).
- *
+ *
* see also Curses.flash
*/
static VALUE
@@ -448,7 +448,7 @@ curses_beep(VALUE obj)
*
* Flashs the screen, for visual alarm on the terminal, if possible;
* otherwise it sounds the alert.
- *
+ *
* see also Curses.beep
*/
static VALUE
@@ -483,7 +483,7 @@ curses_char(VALUE c)
}
#ifdef HAVE_UNGETCH
-/*
+/*
* Document-method: Curses.ungetch
* call-seq: ungetch(ch)
*
@@ -504,7 +504,7 @@ curses_ungetch(VALUE obj, VALUE ch)
#define curses_ungetch rb_f_notimplement
#endif
-/*
+/*
* Document-method: Curses.setpos
* call-seq: setpos(y, x)
*
@@ -520,7 +520,7 @@ curses_setpos(VALUE obj, VALUE y, VALUE x)
return Qnil;
}
-/*
+/*
* Document-method: Curses.standout
*
* Enables the best highlighting mode of the terminal.
@@ -537,7 +537,7 @@ curses_standout(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses.standend
*
* Enables the Normal display (no highlight)
@@ -554,7 +554,7 @@ curses_standend(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses.inch
*
* Returns the character at the current position.
@@ -566,12 +566,12 @@ curses_inch(VALUE obj)
return CH2FIX(inch());
}
-/*
+/*
* Document-method: Curses.addch
* call-seq: addch(ch)
*
* Add a character +ch+, with attributes, then advance the cursor.
- *
+ *
* see also the system manual for curs_addch(3)
*/
static VALUE
@@ -582,12 +582,12 @@ curses_addch(VALUE obj, VALUE ch)
return Qnil;
}
-/*
+/*
* Document-method: Curses.insch
* call-seq: insch(ch)
*
* Insert a character +ch+, before the cursor.
- *
+ *
*/
static VALUE
curses_insch(VALUE obj, VALUE ch)
@@ -794,7 +794,7 @@ curses_curs_set(VALUE obj, VALUE visibility)
#endif
}
-/*
+/*
* Document-method: Curses.scrl
* call-seq: scrl(num)
*
@@ -818,7 +818,7 @@ curses_scrl(VALUE obj, VALUE n)
#endif
}
-/*
+/*
* Document-method: Curses.setscrreg
* call-seq: setscrreg(top, bottom)
*
@@ -843,7 +843,7 @@ curses_setscrreg(VALUE obj, VALUE top, VALUE bottom)
#endif
}
-/*
+/*
* Document-method: Curses.attroff
* call-seq: attroff(attrs)
*
@@ -859,7 +859,7 @@ curses_attroff(VALUE obj, VALUE attrs)
/* return INT2FIX(attroff(NUM2INT(attrs))); */
}
-/*
+/*
* Document-method: Curses.attron
* call-seq: attron(attrs)
*
@@ -893,7 +893,7 @@ curses_attrset(VALUE obj, VALUE attrs)
/* return INT2FIX(attroff(NUM2INT(attrs))); */
}
-/*
+/*
* Document-method: Curses.bkgdset
* call-seq: bkgdset(ch)
*
@@ -916,7 +916,7 @@ curses_bkgdset(VALUE obj, VALUE ch)
return Qnil;
}
-/*
+/*
* call-seq: bkgd(ch)
*
* Window background manipulation routines.
@@ -956,7 +956,7 @@ curses_use_default_colors(VALUE obj)
#endif
#if defined(HAVE_TABSIZE)
-/*
+/*
* Document-method: TABSIZE=
* call-seq: TABSIZE=(value)
*
@@ -973,7 +973,7 @@ curses_tabsize_set(VALUE obj, VALUE val)
#endif
#if defined(HAVE_TABSIZE)
-/*
+/*
* Returns the number of positions in a tab.
*/
static VALUE
@@ -986,7 +986,7 @@ curses_tabsize_get(VALUE ojb)
#endif
#if defined(HAVE_ESCDELAY)
-/*
+/*
* call-seq: ESCDELAY=(value)
*
* Sets the ESCDELAY to Integer +value+
@@ -1002,7 +1002,7 @@ curses_escdelay_set(VALUE obj, VALUE val)
#endif
#if defined(HAVE_ESCDELAY)
-/*
+/*
* Returns the total time, in milliseconds, for which
* curses will await a character sequence, e.g., a function key
*/
@@ -1015,7 +1015,7 @@ curses_escdelay_get(VALUE obj)
#define curses_escdelay_get rb_f_notimplement
#endif
-/*
+/*
* Document-method: Curses.resize
* call-seq: resize(lines, cols)
*
@@ -1023,7 +1023,7 @@ curses_escdelay_get(VALUE obj)
*
*/
-/*
+/*
* Document-method: Curses.resizeterm
* call-seq: resizeterm(lines, cols)
*
@@ -1180,7 +1180,7 @@ curses_color_pairs(VALUE obj)
* Document-method: Curses.pair_content
* call-seq: pair_content(pair)
*
- * Returns a 2 item Array, with the foreground and
+ * Returns a 2 item Array, with the foreground and
* background color, in +pair+
*/
static VALUE
@@ -1248,7 +1248,7 @@ curses_mousedata_free(struct mousedata *mdata)
xfree(mdata->mevent);
}
-/*
+/*
* Document-method: Curses.getmouse
*
* Returns coordinates of the mouse.
@@ -1395,7 +1395,7 @@ curses_timeout(VALUE obj, VALUE delay)
*
* Save the current terminal modes as the "program"
* state for use by the Curses.reset_prog_mode
- *
+ *
* This is done automatically by Curses.init_screen
*/
static VALUE
@@ -1414,7 +1414,7 @@ curses_def_prog_mode(VALUE obj)
*
* Reset the current terminal modes to the saved state
* by the Curses.def_prog_mode
- *
+ *
* This is done automatically by Curses.close_screen
*/
static VALUE
@@ -1438,14 +1438,14 @@ window_s_allocate(VALUE class)
return Data_Make_Struct(class, struct windata, 0, free_window, winp);
}
-/*
+/*
* Document-method: Curses::Window.new
* call-seq: new(height, width, top, left)
*
- * Contruct a new Curses::Window with constraints of
+ * Contruct a new Curses::Window with constraints of
* +height+ lines, +width+ columns, begin at +top+ line, and begin +left+ most column.
*
- * A new window using full screen is called as
+ * A new window using full screen is called as
* Curses::Window.new(0,0,0,0)
*
*/
@@ -1466,11 +1466,11 @@ window_initialize(VALUE obj, VALUE h, VALUE w, VALUE top, VALUE left)
return obj;
}
-/*
+/*
* Document-method: Curses::Window.subwin
* call-seq: subwin(height, width, top, left)
*
- * Contruct a new subwindow with constraints of
+ * Contruct a new subwindow with constraints of
* +height+ lines, +width+ columns, begin at +top+ line, and begin +left+ most column.
*
*/
@@ -1493,7 +1493,7 @@ window_subwin(VALUE obj, VALUE height, VALUE width, VALUE top, VALUE left)
return win;
}
-/*
+/*
* Document-method: Curses::Window.close
*
* Deletes the window, and frees the memory
@@ -1510,7 +1510,7 @@ window_close(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.clear
*
* Clear the window.
@@ -1526,7 +1526,7 @@ window_clear(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.clrtoeol
*
* Clear the window to the end of line, that the cursor is currently on.
@@ -1542,7 +1542,7 @@ window_clrtoeol(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.refresh
*
* Refreshes the windows and lines.
@@ -1559,7 +1559,7 @@ window_refresh(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.noutrefresh
*
* Refreshes the windows and lines.
@@ -1582,7 +1582,7 @@ window_noutrefresh(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.move
* call-seq: move(y,x)
*
@@ -1599,7 +1599,7 @@ window_move(VALUE obj, VALUE y, VALUE x)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.setpos
* call-seq: setpos(y, x)
*
@@ -1618,7 +1618,7 @@ window_setpos(VALUE obj, VALUE y, VALUE x)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.cury
*
* A getter for the current line (Y coord) of the window
@@ -1634,7 +1634,7 @@ window_cury(VALUE obj)
return INT2FIX(y);
}
-/*
+/*
* Document-method: Curses::Window.curx
*
* A getter for the current column (X coord) of the window
@@ -1650,7 +1650,7 @@ window_curx(VALUE obj)
return INT2FIX(x);
}
-/*
+/*
* Document-method: Curses::Window.maxy
*
* A getter for the maximum lines for the window
@@ -1674,7 +1674,7 @@ window_maxy(VALUE obj)
#endif
}
-/*
+/*
* Document-method: Curses::Window.maxx
*
* A getter for the maximum columns for the window
@@ -1698,7 +1698,7 @@ window_maxx(VALUE obj)
#endif
}
-/*
+/*
* Document-method: Curses::Window.begy
*
* A getter for the beginning line (Y coord) of the window
@@ -1718,7 +1718,7 @@ window_begy(VALUE obj)
#endif
}
-/*
+/*
* Document-method: Curses::Window.begx
*
* A getter for the beginning column (X coord) of the window
@@ -1738,7 +1738,7 @@ window_begx(VALUE obj)
#endif
}
-/*
+/*
* Document-method: Curses::Window.box
* call-seq: box(vert, hor)
*
@@ -1782,7 +1782,7 @@ window_box(int argc, VALUE *argv, VALUE self)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.standout
*
* Enables the best highlighting mode of the terminal.
@@ -1801,7 +1801,7 @@ window_standout(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.standend
*
* Enables the Normal display (no highlight)
@@ -1820,7 +1820,7 @@ window_standend(VALUE obj)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.inch
*
* Returns the character at the current position of the window.
@@ -1834,12 +1834,12 @@ window_inch(VALUE obj)
return CH2FIX(winch(winp->window));
}
-/*
+/*
* Document-method: Curses::Window.addch
* call-seq: addch(ch)
*
* Add a character +ch+, with attributes, to the window, then advance the cursor.
- *
+ *
* see also the system manual for curs_addch(3)
*/
static VALUE
@@ -1853,12 +1853,12 @@ window_addch(VALUE obj, VALUE ch)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.insch
* call-seq: insch(ch)
*
* Insert a character +ch+, before the cursor, in the current window
- *
+ *
*/
static VALUE
window_insch(VALUE obj, VALUE ch)
@@ -2086,7 +2086,7 @@ window_idlok(VALUE obj, VALUE bf)
return Qnil;
}
-/*
+/*
* Document-method: Curses::Window.setscrreg
* call-seq: setscrreg(top, bottom)
*
@@ -2119,7 +2119,7 @@ window_setscrreg(VALUE obj, VALUE top, VALUE bottom)
/*
* Document-method: Curses::Window.color_set
* call-seq: color_set(col)
- *
+ *
* Sets the current color of the given window to the
* foreground/background combination described by the Fixnum +col+.
*/
@@ -2135,7 +2135,7 @@ window_color_set(VALUE obj, VALUE col)
}
#endif /* defined(USE_COLOR) && defined(HAVE_WCOLOR_SET) */
-/*
+/*
* Document-method: Curses::Window.scroll
*
* Scrolls the current window up one line.
@@ -2150,7 +2150,7 @@ window_scroll(VALUE obj)
return (scroll(winp->window) == OK) ? Qtrue : Qfalse;
}
-/*
+/*
* Document-method: Curses::Window.scrl
* call-seq: scrl(num)
*
@@ -2176,7 +2176,7 @@ window_scrl(VALUE obj, VALUE n)
#endif
}
-/*
+/*
* Document-method: Curses::Window.attroff
* call-seq: attroff(attrs)
*
@@ -2197,7 +2197,7 @@ window_attroff(VALUE obj, VALUE attrs)
#endif
}
-/*
+/*
* Document-method: Curses::Window.attron
* call-seq: attron(attrs)
*
@@ -2228,7 +2228,7 @@ window_attron(VALUE obj, VALUE attrs)
#endif
}
-/*
+/*
* Document-method: Curses::Window.attrset
* call-seq: attrset(attrs)
*
@@ -2329,7 +2329,7 @@ window_getbkgd(VALUE obj)
#endif
}
-/*
+/*
* Document-method: Curses::Window.resize
* call-seq: resize(lines, cols)
*
@@ -2354,15 +2354,15 @@ window_resize(VALUE obj, VALUE lin, VALUE col)
/*
* Document-method: Curses::Window.keypad=
* call-seq: keypad=(bool)
- *
+ *
* see Curses::Window.keypad
*/
-/*
+/*
* Document-method: Curses::Window.keypad
* call-seq: keypad(bool)
*
- * Enables the keypad of the user's terminal.
+ * Enables the keypad of the user's terminal.
* If enabled (+bool+ is +true+), the user can press a function key
* (such as an arrow key) and wgetch returns a single value representing
* the function key, as in KEY_LEFT. If disabled (+bool+ is +false+),
@@ -2449,7 +2449,7 @@ window_timeout(VALUE obj, VALUE delay)
/*------------------------- Initialization -------------------------*/
-/*
+/*
* Document-module: Curses
*
* == Description
@@ -2483,7 +2483,7 @@ window_timeout(VALUE obj, VALUE delay)
*
*
* == Examples
- *
+ *
* * hello.rb
* :include: hello.rb
*
@@ -2517,7 +2517,7 @@ Init_curses(void)
rb_gc_register_address(&rb_stdscr);
#ifdef USE_MOUSE
- /*
+ /*
* Document-class: Curses::MouseEvent
*
* == Description
@@ -2618,11 +2618,11 @@ Init_curses(void)
/*
* Document-class: Curses::Window
- *
- * == Description
+ *
+ * == Description
*
* The means by which to create and manage frames or windows.
- * While there may be more than one window at a time, only one window
+ * While there may be more than one window at a time, only one window
* receive the input.
*
* == Usage
@@ -2738,56 +2738,56 @@ Init_curses(void)
rb_curses_define_const(A_COLOR);
#ifdef COLORS
- /*
+ /*
* Document-const: Curses::COLORS
*
* Integer of the colors available
*/
rb_curses_define_const(COLORS);
#endif
- /*
+ /*
* Document-const: Curses::COLOR_BLACK
*
* Integer of the color black
*/
rb_curses_define_const(COLOR_BLACK);
- /*
+ /*
* Document-const: COLOR_RED
*
* Integer of the color red
*/
rb_curses_define_const(COLOR_RED);
- /*
+ /*
* Document-const: COLOR_GREEN
*
* Integer of the color green
*/
rb_curses_define_const(COLOR_GREEN);
- /*
+ /*
* Document-const: COLOR_YELLOW
*
* Integer of the color yellow
*/
rb_curses_define_const(COLOR_YELLOW);
- /*
+ /*
* Document-const: COLOR_BLUE
*
* Integer of the color blue
*/
rb_curses_define_const(COLOR_BLUE);
- /*
+ /*
* Document-const: COLOR_MAGENTA
*
* Integer of the color magenta
*/
rb_curses_define_const(COLOR_MAGENTA);
- /*
+ /*
* Document-const: COLOR_CYAN
*
* Integer of the color cyan
*/
rb_curses_define_const(COLOR_CYAN);
- /*
+ /*
* Document-const: COLOR_WHITE
*
* Integer of the color white
View
2  ext/etc/depend
@@ -1 +1 @@
-etc.o : etc.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h
+etc.o : etc.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h
View
4 ext/pty/pty.c
@@ -122,8 +122,8 @@ char MasterDevice[] = "/dev/pty%s",
static VALUE eChildExited;
-/* Returns the exit status of the child for which PTY#check
- * raised this exception
+/* Returns the exit status of the child for which PTY#check
+ * raised this exception
*/
static VALUE
echild_status(VALUE self)
View
62 ext/readline/README.ja
@@ -37,28 +37,28 @@ readline([prompt, [add_hist]]) -> String | nil
���󥿡������β����ʤɤǥ桼����ʸ��������Ϥ�������ȡ�
���Ϥ���ʸ������֤��ޤ���
���ΤȤ���add_hist �� true �Ǥ���С����Ϥ���ʸ�����ҥ��ȥ���ɲä��ޤ���
-
+
�������Ϥ��Ƥ��ʤ����֤� EOF(UNIX �Ǥ� ^D) �����Ϥ���ʤɤǡ�
�桼����������Ϥ��ʤ����� nil ���֤��ޤ���
-
+
���ξ��������������硢�㳰 IOError ��ȯ����ޤ���
1. ɸ�����Ϥ� tty �Ǥʤ���
2. ɸ�����Ϥ򥯥������Ƥ��롣(isatty(2) �� errno �� EBADF �Ǥ��롣)
-
+
�ܥ᥽�åɤϥ���åɤ��б����Ƥ��ޤ���
�����Ԥ���֤ΤȤ��ϥ���åɥ���ƥ����Ȥ����ؤ���ȯ����ޤ���
-
+
���ϻ��ˤϹ����Խ�����ǽ�ǡ�vi �⡼�ɤ� Emacs �⡼�ɤ��Ѱդ���Ƥ��ޤ���
�ǥե���Ȥ� Emacs �⡼�ɤǤ���
-
+
�ܥ᥽�åɤˤ���ջ�ब����ޤ���
�����Ԥ�ξ��֤� ^C ����� ruby ���󥿥ץ꥿����λ����ü����֤���ޤ���
�������򤹤뤿������3�ĵ󤲤ޤ���
-
+
* ^C�ˤ��Interrupt�㳰����­���ơ�ü����֤���ޤ�:
-
+
require "readline"
-
+
stty_save = `stty -g`.chomp
begin
while buf = Readline.readline
@@ -70,48 +70,48 @@ readline([prompt, [add_hist]]) -> String | nil
end
end
end
-
+
* INT�����ʥ����­���ơ�ü����֤���ޤ�:
-
+
require "readline"
-
+
stty_save = `stty -g`.chomp
trap("INT") { system "stty", stty_save; exit }
-
+
while buf = Readline.readline
p buf
end
-
+
* ñ�� ^C ��̵�뤹����ˡ�⤢��ޤ�:
-
+
require "readline"
-
+
trap("INT", "SIG_IGN")
-
+
while buf = Readline.readline
p buf
end
-
+
�������� Readline::HISTORY ����Ѥ��ơ���Ԥ�ľ������Ϥ�Ʊ�����Ƥ�����
����˻Ĥ��ʤ��Ȥ������Ȥ�Ǥ��ޤ���
-
+
require "readline"
-
+
while buf = Readline.readline("> ", true)
# p Readline::HISTORY.to_a
Readline::HISTORY.pop if /^\s*$/ =~ buf
-
+
begin
if Readline::HISTORY[Readline::HISTORY.length-2] == buf
- Readline::HISTORY.pop
+ Readline::HISTORY.pop
end
rescue IndexError
end
-
+
# p Readline::HISTORY.to_a
print "-> ", buf, "\n"
end
-
+
$SAFE �� 4 �ξ�硢�㳰 SecurityError ��ȯ����ޤ���
=== ���饹�᥽�å�
@@ -171,7 +171,7 @@ Readline.completion_case_fold -> bool
���Τޤ޼������Τǡ����Τ褦��ư��򤷤ޤ���
require "readline"
-
+
Readline.completion_case_fold = "This is a String."
p Readline.completion_case_fold # => "This is a String."
@@ -238,7 +238,7 @@ Readline.completion_append_character = char
������:
require "readline"
-
+
Readline.readline("> ", true)
Readline.completion_append_character = " "
@@ -246,13 +246,13 @@ Readline.completion_append_character = char
>
������ "/var/li" �����Ϥ��ޤ���
-
+
> /var/li
������ TAB ���������Ϥ��ޤ���
-
+
> /var/lib
"b" ���䴰���졢�Ǹ�� " " ���ɲä����Τǡ�"/usr" ��Ϣ³�������ϤǤ��ޤ���
-
+
> /var/lib /usr
�ʤ���1ʸ�����ꤹ�뤳�ȤϤǤ��ޤ���
@@ -304,7 +304,7 @@ Readline.completer_word_break_characters = string
Readline.basic_word_break_characters= �Ȥΰ㤤�ϡ�
GNU Readline �� rl_complete_internal �ؿ�ǻ��Ѥ���뤳�ȤǤ���
- GNU Readline �Υǥե���Ȥ��ͤϡ�
+ GNU Readline �Υǥե���Ȥ��ͤϡ�
Readline.basic_word_break_characters ��Ʊ���Ǥ���
���ݡ��Ȥ��Ƥ��ʤ��Ķ��Ǥϡ��㳰 NotImplementedError ��ȯ����ޤ���
@@ -388,7 +388,7 @@ HISTORY
�㤨�С�HISTORY[4] �ˤ�� 5 ���ܤ����Ϥ������Ƥ���Ф����Ȥ��Ǥ��ޤ���
require "readline"
-
+
Readline::HISTORY.push("a", "b", "c", "d", "e")
p Readline::HISTORY[4] # => "e"
@@ -421,7 +421,7 @@ HISTORY
FILENAME_COMPLETION_PROC
�ե�����̾���䴰��Ԥ� call �᥽�åɤ��ĥ��֥������ȤǤ���
-
+
Readline.completion_proc= �ˤ�ꡢ�桼�������ϻ��˥ե�����̾���䴰��
�Ԥ��褦�����ꤹ�뤿��˻��Ѥ��뤳�Ȥ����ꤷ�Ƥޤ���
View
2  ext/ripper/README
@@ -8,7 +8,7 @@ Ripper README
Ripper is still early-alpha version.
I never assure any kind of backward compatibility.
-
+
Requirements
------------
View
2  ext/stringio/README
@@ -13,6 +13,6 @@ This library is based on MoonWolf version written in Ruby. Thanks a lot.
* not implemented: (({fcntl})), (({reopen})).
* (({fileno})) returns nil.
* (({pos=})) returns new position, not 0.
-* (({ungetc})) does nothing at start of the string.
+* (({ungetc})) does nothing at start of the string.
=end
View
2  ext/stringio/depend
@@ -1,3 +1,3 @@
stringio.o: stringio.c $(hdrdir)/ruby/ruby.h $(arch_hdrdir)/ruby/config.h \
$(hdrdir)/ruby/defines.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/io.h \
- $(hdrdir)/ruby/encoding.h
+ $(hdrdir)/ruby/encoding.h
View
4 ext/syslog/syslog.txt
@@ -75,7 +75,7 @@ Module Methods:
Example:
Syslog.crit("the sky is falling in %d seconds!", 5)
-
+
mask
mask=(mask)
@@ -86,7 +86,7 @@ Module Methods:
Example:
Syslog.mask = Syslog::LOG_UPTO(Syslog::LOG_ERR)
- close
+ close
Closes syslog.
View
36 ext/tk/ChangeLog.tkextlib
@@ -14,13 +14,13 @@
Tue Nov 25 03:37:42 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
- * ext/tk/lib/tkextlib/blt/tabset.rb,
- ext/tk/lib/tkextlib/blt/tabnotebook.rb:
+ * ext/tk/lib/tkextlib/blt/tabset.rb,
+ ext/tk/lib/tkextlib/blt/tabnotebook.rb:
fix many bugs. Now, those work properly.
Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
- * ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
+ * ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
fix NameError bug.
2008-05-12 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
@@ -39,12 +39,12 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
2007-01-26 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
- * ext/tk/lib/tkextlib/iwidgets/checkbox.rb: wrong number of arguments
+ * ext/tk/lib/tkextlib/iwidgets/checkbox.rb: wrong number of arguments
[ruby-Bugs-7776].
* ext/tk/lib/tkextlib/iwidgets/radiobox.rb: ditto.
- * ext/tk/lib/tkextlib/blt/tile/checkbutton.rb: change primary name
+ * ext/tk/lib/tkextlib/blt/tile/checkbutton.rb: change primary name
of class [ruby-dev:30080].
* ext/tk/lib/tkextlib/blt/tile/radiobutton.rb: ditto.
@@ -53,16 +53,16 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* lib/tkextlib/tile/treeview.rb : minor bug fix.
- * lib/tkextlib/blt/table.rb: fix bugs which forbade use of
+ * lib/tkextlib/blt/table.rb: fix bugs which forbade use of
'::blt::table' command. Now, probably, it'll works properly.
2006-11-06 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
- * lib/tkextlib/version.rb: keep release date of tkextlib on
+ * lib/tkextlib/version.rb: keep release date of tkextlib on
"Tk::Tkextlib_RELEASE_DATE".
- * lib/tkextlib/tile/treeview.rb : support Tile 0.7.8.
- Now, you can handle tree items as objects.
+ * lib/tkextlib/tile/treeview.rb : support Tile 0.7.8.
+ Now, you can handle tree items as objects.
2006-10-04 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
@@ -112,7 +112,7 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
2005-11-19 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
- * sample/tkextlib/treectrl/demo.rb: remove dependency on Ruby's
+ * sample/tkextlib/treectrl/demo.rb: remove dependency on Ruby's
version (1.8 or 1.9).
2005-10-23 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
@@ -375,7 +375,7 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* lib/tkextlib/iwidgets/scrolledtext.rb: ditto.
* lib/tkextlib/iwidgets/scrolledcanvas.rb: bug fix on
- TkCanvas#delete when given non-TkcItem arguments.
+ TkCanvas#delete when given non-TkcItem arguments.
2005-05-10 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
@@ -576,7 +576,7 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* lib/tkextlib/blt/component.rb: bug fix on treatment of
component objects.
- * sample/tkextlib/blt/graph6.rb: a new sample script.
+ * sample/tkextlib/blt/graph6.rb: a new sample script.
2005-03-31 ocean <ocean@ruby-lang.org>
@@ -592,7 +592,7 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* sample/tkextlib/iwidgets/sample/hierarchy.rb: show basename
only [ruby-dev:25970]
- * sample/tkextlib/treectrl/demo.rb: add check for existence of
+ * sample/tkextlib/treectrl/demo.rb: add check for existence of
'backgroundimage' option.
* sample/tkextlib/treectrl/bitmaps.rb: ditto.
@@ -626,7 +626,7 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
2005-03-29 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* lib/tkextlib/blt/component.rb: cannot create elements except
- default type of element.
+ default type of element.
* lib/tkextlib/blt/barchart.rb: ditto.
@@ -661,7 +661,7 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* lib/tkextlib/blt/component.rb: proper call on xaxis_* and so on.
* lib/tkextlib/blt/htext.rb: add TkVariable object to access
- special Tcl variables.
+ special Tcl variables.
* lib/tkextlib/treectrl/tktreectrl.rb: typo fix.
@@ -923,8 +923,8 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* use Tk::ValidateConfigure.__def_validcmd() method
(new function to define validatecommand methods easier)
- * tcllib.rb : avoid the loading trouble that almost all part of
- the extension is not available when some libraries are invalid.
+ * tcllib.rb : avoid the loading trouble that almost all part of
+ the extension is not available when some libraries are invalid.
2004-07-09 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
@@ -942,7 +942,7 @@ Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* add ICONS extension demo
- * many bug fix
+ * many bug fix
2004-07-01 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
View
302 ext/tk/MANUAL_tcltklib.eng
@@ -3,16 +3,16 @@
This document discribes about the 'tcltklib' library. Although there
is the 'tcltk' library (tcltk.rb) under this directory, no description
-in this document (because it is not maintained recently).
+in this document (because it is not maintained recently).
==============================================================
module TclTklib
- : Defines methods to do operations which are independed on
+ : Defines methods to do operations which are independed on
: Tcl/Tk interpreters
module TclTkLib::EventFlag
- : Defines flags to define taget events on 'do_one_event' methos.
- : When to give, please use bit-operator (e.g. WINDOW | DONT_WAIT).
+ : Defines flags to define taget events on 'do_one_event' methos.
+ : When to give, please use bit-operator (e.g. WINDOW | DONT_WAIT).
[constants]
NONE
@@ -30,29 +30,29 @@ module TclTklib
IDLE
: 'idle' operation (e.g. 're-draw'; the operations when the
- : other kinds of events doesn't occur) is processed.
+ : other kinds of events doesn't occur) is processed.
ALL
- : All kinds of events are processed.
- : Same to 'WINDOW | FILE | TIMER | IDLE'.
+ : All kinds of events are processed.
+ : Same to 'WINDOW | FILE | TIMER | IDLE'.
DONT_WAIT
- : Without this flag, 'do_one_event' waits the occurence of
- : a target event. With this flag, doesn't wait and returns
- : false if there is no target event for processing.
+ : Without this flag, 'do_one_event' waits the occurence of
+ : a target event. With this flag, doesn't wait and returns
+ : false if there is no target event for processing.
module TclTkLib::VarAccessFlag
- : Defines flags to give '_get_variable' and so on. When to give,
- : please use bit-operator (e.g. GLOBAL_ONLY | LEAVE_ERR_MSG ).
+ : Defines flags to give '_get_variable' and so on. When to give,
+ : please use bit-operator (e.g. GLOBAL_ONLY | LEAVE_ERR_MSG ).
[constants]
NONE
- : Is 0. It means "set no flag".
+ : Is 0. It means "set no flag".
GLOBAL_ONLY
: (site Tcl/Tk's man page)
- : Under normal circumstances the procedures look up
- : variables as follows: If a procedure call is active
+ : Under normal circumstances the procedures look up
+ : variables as follows: If a procedure call is active
: in interp, a variable is looked up at the current
: level of procedure call. Otherwise, a variable is
: looked up first in the current namespace, then in
@@ -63,9 +63,9 @@ module TclTklib
: given, GLOBAL_ONLY is ignored.
:
: *** ATTENTION ***
- : Tcl7.6 doesn't have namespaces. So NAMESPACE_ONLY
+ : Tcl7.6 doesn't have namespaces. So NAMESPACE_ONLY
: is defined as 0, and then GLOBAL_ONLY is available
- : even if flag is (GLOBAL_ONLY | NAMESPACE_ONLY).
+ : even if flag is (GLOBAL_ONLY | NAMESPACE_ONLY).
NAMESPACE_ONLY
: (site Tcl/Tk's man page)
@@ -80,16 +80,16 @@ module TclTklib
: active.
:
: *** ATTENTION ***
- : Tcl7.6 doesn't have namespaces. So NAMESPACE_ONLY
+ : Tcl7.6 doesn't have namespaces. So NAMESPACE_ONLY
: is defined as 0.
LEAVE_ERR_MSG
: (site Tcl/Tk's man page)
- : If an error is returned and this bit is set in flags,
+ : If an error is returned and this bit is set in flags,
: then an error message will be left in the interpreter's
: result, where it can be retrieved with Tcl_GetObjResult
- : or Tcl_GetStringResult. If this flag bit isn't set then
- : no error message is left and the interpreter's result
+ : or Tcl_GetStringResult. If this flag bit isn't set then
+ : no error message is left and the interpreter's result
: will not be modified.
APPEND_VALUE
@@ -104,26 +104,26 @@ module TclTklib
: valid Tcl list element before setting (or appending
: to) the variable. A separator space is appended before
: the new list element unless the list element is going
- : to be the first element in a list or sublist (i.e. the
- : variable's current value is empty, or contains the
+ : to be the first element in a list or sublist (i.e. the
+ : variable's current value is empty, or contains the
: single character ``{'', or ends in `` }'').
PARSE_VARNAME
: (site Tcl/Tk's man page)
- : If this bit is set when calling _set_variable and so
+ : If this bit is set when calling _set_variable and so
: on, var_name argument may contain both an array and an
- : element name: if the name contains an open parenthesis
- : and ends with a close parenthesis, then the value
- : between the parentheses is treated as an element name
+ : element name: if the name contains an open parenthesis
+ : and ends with a close parenthesis, then the value
+ : between the parentheses is treated as an element name
: (which can have any string value) and the characters
- : before the first open parenthesis are treated as the
+ : before the first open parenthesis are treated as the
: name of an array variable. If the flag PARSE_VARNAME
- : is given, index_name argument should be 'nil' since the
+ : is given, index_name argument should be 'nil' since the
: array and element names are taken from var_name.
:
: *** ATTENTION ***
- : Tcl7.6 doesn't have this flag. So PARSE_VARNAME is
- : defined as 0.
+ : Tcl7.6 doesn't have this flag. So PARSE_VARNAME is
+ : defined as 0.
module TclTkLib::RELEASE_TYPE
: Defines release type number of Tcl/Tk
@@ -139,105 +139,105 @@ module TclTklib
[module methods]
get_version()
- : return an array of major, minor, release-type number,
+ : return an array of major, minor, release-type number,
: and patchlevel of current Tcl/Tk library.
mainloop(check_root = true)
- : Starts the eventloop. If 'check_root' is true, this method
- : doesn't return when a root widget exists.
+ : Starts the eventloop. If 'check_root' is true, this method
+ : doesn't return when a root widget exists.
: If 'check_root' is false, doen't return by the other
: reasons than exceptions.
mainloop_thread?
- : Returns whether the current thread executes the eventloop.
- : If true, the eventloop is working on the current thread.
+ : Returns whether the current thread executes the eventloop.
+ : If true, the eventloop is working on the current thread.
: If no eventloop is working, this method returns nil.
: And if the other thread executes the eventloop, returns false.
- :
+ :
: *** ATTENTION ***
- : When this methods returns false, it is dangerous to call a Tk
+ : When this methods returns false, it is dangerous to call a Tk
: interpreter directly.
mainloop_watchdog(check_root = true)
- : On the normal eventloop, some kinds of callback operations
+ : On the normal eventloop, some kinds of callback operations
: cause deadlock. To avoid some of such deadlocks, this
: method starts an eventloop and a watchdog-thread.
- do_one_event(flag = TclTkLib::EventFlag::ALL |
+ do_one_event(flag = TclTkLib::EventFlag::ALL |
TclTkLib::EventFlag::DONT_WAIT)
- : Do one event for processing. When processed an event,
- : returns true.
+ : Do one event for processing. When processed an event,
+ : returns true.
: If NOT set DONT_WAIT flag, this method waits occurrence of
- : a target event.
- : If set DONT_WAIT flag and no event for processing, returns
- : false immediately.
- : If $SAFE >= 4, or $SAFE >= 1 and the flag is tainted,
+ : a target event.
+ : If set DONT_WAIT flag and no event for processing, returns
+ : false immediately.
+ : If $SAFE >= 4, or $SAFE >= 1 and the flag is tainted,
: force to set DONT_WAIT flag.
set_eventloop_tick(timer_tick)
: Define the interval of thread-switching with an integer
- : value of mili-seconds.
- : Default timer_tick is 0. It means that thread-switching
- : is based on the count of processed events.
+ : value of mili-seconds.
+ : Default timer_tick is 0. It means that thread-switching
+ : is based on the count of processed events.
: ( see 'set_eventloop_weight' method )
- : However, if the eventloop thread is the only thread,
- : timer_tick cannt be set to 0. If 0, then is set to 100 ms
- : automatically (see NO_THREAD_INTERRUPT_TIME on tcltklib.c).
- : On $SAFE >= 4, cannot call this method.
+ : However, if the eventloop thread is the only thread,
+ : timer_tick cannt be set to 0. If 0, then is set to 100 ms
+ : automatically (see NO_THREAD_INTERRUPT_TIME on tcltklib.c).
+ : On $SAFE >= 4, cannot call this method.
get_eventloop_tick
: Get current value of 'timer_tick'
set_no_event_wait(no_event_wait)
- : Define sleeping time of the eventloop when two or more
- : thread are running and there is no event for processing.
+ : Define sleeping time of the eventloop when two or more
+ : thread are running and there is no event for processing.
: Default value is 20 (ms).
- : If the eventloop thread is the only thread, this value is
- : invalid.
- : On $SAFE >= 4, cannot call this method.
+ : If the eventloop thread is the only thread, this value is
+ : invalid.
+ : On $SAFE >= 4, cannot call this method.
get_no_event_wait
: Get current value of 'no_event_wait'.
set_eventloop_weight(loop_max, no_event_tick)
- : Define the weight parameters for the eventloop thread.
- : That is invalid when the eventloop is the only thread.
- : 'loop_max' is the max events for thread-switching.
- : 'no_event_tick' is the increment value of the event count
+ : Define the weight parameters for the eventloop thread.
+ : That is invalid when the eventloop is the only thread.
+ : 'loop_max' is the max events for thread-switching.
+ : 'no_event_tick' is the increment value of the event count
: when no event for processing (And then, the eventloop thead
- : sleeps 'no_event_wait' mili-seconds).
- : 'loop_max == 800' and 'no_event_tick == 10' are defalut.
- : On $SAFE >= 4, cannot call this method.
+ : sleeps 'no_event_wait' mili-seconds).
+ : 'loop_max == 800' and 'no_event_tick == 10' are defalut.
+ : On $SAFE >= 4, cannot call this method.
get_eventloop_weight
: Get current values of 'loop_max' and 'no_event_tick'.
mainloop_abort_on_exception=(bool)
- : Define whether the eventloop stops on exception or not.
- : If true (default value), stops on exception.
+ : Define whether the eventloop stops on exception or not.
+ : If true (default value), stops on exception.
: If false, show a warinig message but ignore the exception.
- : If nil, no warning message and ignore the excepsion.
+ : If nil, no warning message and ignore the excepsion.
: This parameter is sometimes useful when multiple Tk
- : interpreters are working. Because the only one eventloop
+ : interpreters are working. Because the only one eventloop
: admins all Tk interpreters, sometimes exception on a
: interpreter kills the eventloop thread. Even if such
- : situation, when abort_on_exception == false or nil,
- : the eventloop ignores the exception and continue to working.
- : On $SAFE >= 4, cannot call this method.
+ : situation, when abort_on_exception == false or nil,
+ : the eventloop ignores the exception and continue to working.
+ : On $SAFE >= 4, cannot call this method.
mainloop_abort_on_exception
- : Get current status of that.
+ : Get current status of that.
num_of_mainwindows
- : Returns the number of main-windows (root-widget).
- : Because there is only one main-window for one Tk interpreter,
- : the value is same to the number of interpreters which has
+ : Returns the number of main-windows (root-widget).
+ : Because there is only one main-window for one Tk interpreter,
+ : the value is same to the number of interpreters which has
: available Tk functions.
_merge_tklist(str, str, ... )
- : Get a Tcl's list string from arguments with a Tcl/Tk's
- : library function. Each arguemnt is converted to a valid
- : Tcl list element.
+ : Get a Tcl's list string from arguments with a Tcl/Tk's
+ : library function. Each arguemnt is converted to a valid
+ : Tcl list element.
_conv_listelement(str)
: Convert the argument to a valid Tcl list element with
@@ -252,7 +252,7 @@ module TclTklib
_subst_Tcl_backslash(str)
: Substitute backslash sequence with Tcl's rule (include \uhhhh;
: give a sixteen-bit hexadecimal value for Unicode character).
- : _subst_Tcl_backslash method parses all backslash sequence.
+ : _subst_Tcl_backslash method parses all backslash sequence.
: _subst_UTF_backslash method parses \uhhhh only.
encoding_system
@@ -268,90 +268,90 @@ module TclTklib
class TclTkIp
[class methods]
new(ip_name=nil, options='')
- : Generate an instance of TclTkIp class.
+ : Generate an instance of TclTkIp class.
: If 'ip_name' argument is given as a string, it is the name
: of the Tk interpreter which is shown by 'winfo interps'
- : command.
- : 'options' argument accepts a string which is the command
- : line options of wish; such as '-geometry' or '-use'.
- : The information is used to generate the root widget of the
- : interpreter.
+ : command.
+ : 'options' argument accepts a string which is the command
+ : line options of wish; such as '-geometry' or '-use'.
+ : The information is used to generate the root widget of the
+ : interpreter.
: ( e.g. TclTkIp.new('FOO', '-geometry 500x200 -use 0x2200009') )
: If is given nil or falsr for the 'option' argument, generates
- : the Tcl interpreter without Tk library. Then the interpreter
+ : the Tcl interpreter without Tk library. Then the interpreter
: doesn't need GUI environment. Therefore, even if a window
: system doesn't exist or cannot be used, Ruby can control the
- : Tcl interpreter and the extention libraries loaded on the
- : interpreter.
+ : Tcl interpreter and the extention libraries loaded on the
+ : interpreter.
[instance methods]
create_slave(name, safe=false)
- : Create a slave interpreter.
+ : Create a slave interpreter.
: The parent of the interpreter is the receiver of this method.
- : The name of the slave interpreter is given by 'name' argument.
+ : The name of the slave interpreter is given by 'name' argument.
: The 'safe' argument decides whether the slave interpreter is
: created as a safe interpreter or not. If true, create a safe
: interpreter. Default is false. However, if the parent
: interpreter is a safe interpreter, the created interpreter is
- : a safe interpreter (ignore 'safe' argument value).
- : If $SAFE >= 4, can create a safe interpreter only.
+ : a safe interpreter (ignore 'safe' argument value).
+ : If $SAFE >= 4, can create a safe interpreter only.
make_safe
: Make the interpreter to the safe interpreter, and returns
: self. If fail, raise RuntimeError.
safe?
- : Check whether the interpreter is the safe interpreter.
- : If is the safe interpreter, returns true.
+ : Check whether the interpreter is the safe interpreter.
+ : If is the safe interpreter, returns true.
allow_ruby_exit?
- : Return the mode whether 'exit' function of ruby or 'exit'
- : command of Tcl/Tk can quit the ruby process or not on the
- : interpreter. If false, such a command quit the interpreter
+ : Return the mode whether 'exit' function of ruby or 'exit'
+ : command of Tcl/Tk can quit the ruby process or not on the
+ : interpreter. If false, such a command quit the interpreter
: only.
- : The default value for a master interpreter is true, and
+ : The default value for a master interpreter is true, and
: for a slave interpreter is false.
allow_ruby_exit=(mode)
: Change the mode of 'allow_ruby_exit?'.
- : If $SAFE >= 4 or the interpreter is a "safe" interpreter,
- : this is not permitted (raise an exception).
+ : If $SAFE >= 4 or the interpreter is a "safe" interpreter,
+ : this is not permitted (raise an exception).
delete
- : Delete the interpreter.
+ : Delete the interpreter.
: The deleted interpreter doesn't accept command and then
: raise an exception.
deleted?
: Check whether the interpreter is already deleted.
- : If deleted, returns true.
+ : If deleted, returns true.
has_mainwindow?
: Check whether the interpreter has a MainWindow (root widget).
- : If has, returns true. If doesn't, returns false.
- : If IP is already deleted, returns nil.
+ : If has, returns true. If doesn't, returns false.
+ : If IP is already deleted, returns nil.
restart
- : Restart Tk part of the interpreter.
+ : Restart Tk part of the interpreter.
: Use this when you need Tk functions after destroying the
- : root widget.
- : On $SAFE >= 4, cannot call this method.
+ : root widget.
+ : On $SAFE >= 4, cannot call this method.
_eval(str)
_invoke(*args)
- : Estimates the arguments as a command on the Tk interpreter.
+ : Estimates the arguments as a command on the Tk interpreter.
: The argument of _eval is a script of Tcl/Tk.
: Each argument of _invoke is a token of one command line of
- : Tcl/Tk.
+ : Tcl/Tk.
: Because the operation of _invoke doesn't through the
: command line parser of Tk interpreter, the cost of
: estimation is smaller than _eval. However, auto_load
- : mechanism of the Tk interpreter doesn't work on _invoke.
+ : mechanism of the Tk interpreter doesn't work on _invoke.
: So _invoke can call only the command which already
- : registered on the interpreter by 'load' command and so on.
- : On _eval command, auto_load mechanism words. So if succeed
+ : registered on the interpreter by 'load' command and so on.
+ : On _eval command, auto_load mechanism words. So if succeed
: to _eval and regist the command once, after that, the
- : command can be called by _invoke.
+ : command can be called by _invoke.
_cancel_eval(str)
_cancel_eval_unwind(str)
@@ -365,46 +365,46 @@ class TclTkIp
_thread_vwait(var_name)
_thread_tkwait(mode, target)
- : 'vwait' or 'tkwait' with thread support.
- : The difference from normal 'vwait' or 'tkwait' command is
+ : 'vwait' or 'tkwait' with thread support.
+ : The difference from normal 'vwait' or 'tkwait' command is
: doing independent wait from the vwait stack when they are
: called on the other thread than the eventloop thread.
: In the case of Tcl/Tk's vwait / tkwait, if 2nd vwait /
- : tkwait is called on waiting for 1st vwait / tkwait,
+ : tkwait is called on waiting for 1st vwait / tkwait,
: returns the order of [2nd]->[1st] regardless of the order
- : of when the wait condition was fulfilled.
+ : of when the wait condition was fulfilled.
: If _thread_vwait / _thread_tkwait is called on the
: eventloop thread, there is no difference from vwait /
: tkwait. But if called on the other thread than the
- : eventloop, stops the thread. And when the wait condition
+ : eventloop, stops the thread. And when the wait condition
: is fulfilled, the thread restarts. The meaning of
- : "independent from the vwait stack" is that the timing of
- : restarting is independent from the waiting status of the
- : other threads. That is, even if the eventloop thread is
- : waiting by vwait and is not fulfilled the condition,
+ : "independent from the vwait stack" is that the timing of
+ : restarting is independent from the waiting status of the
+ : other threads. That is, even if the eventloop thread is
+ : waiting by vwait and is not fulfilled the condition,
: _thread_vwait completes the waiting when its waiting
: condition is fulfilled and the thread which stopped by
- : _thread_vwait can continue the operation.
+ : _thread_vwait can continue the operation.
_return_value
- : Get the last result value on the interpreter.
+ : Get the last result value on the interpreter.
_get_variable(var_name, flag)
_get_variable2(var_name, index_name, flag)
- : Get the current value of a variable. If specified a
- : index_name (see also the PARSE_VARNAME flag), get the
- : value of the index_name element.
+ : Get the current value of a variable. If specified a
+ : index_name (see also the PARSE_VARNAME flag), get the
+ : value of the index_name element.
_set_variable(var_name, value, flag)
_set_variable2(var_name, index_name, value, flag)
- : Create or modify a variable. If specified a index_name
- : (see also the PARSE_VARNAME flag), create or modify the
- : index_name element.
+ : Create or modify a variable. If specified a index_name
+ : (see also the PARSE_VARNAME flag), create or modify the
+ : index_name element.
_unset_variable(var_name)
_unset_variable2(var_name, index_name)
- : Remove a variable. If specified a index_name (see also
- : the PARSE_VARNAME flag), remove the index_name element.
+ : Remove a variable. If specified a index_name (see also
+ : the PARSE_VARNAME flag), remove the index_name element.
_get_global_var(var_name)
_get_global_var2(var_name, index_name)
@@ -416,13 +416,13 @@ class TclTkIp
: (GLOBAL_ONLY | LEAVE_ERR_MSG).
_split_tklist(str)
- : Split the argument with Tcl/Tk's library function and
+ : Split the argument with Tcl/Tk's library function and
: get an array as a list of Tcl list elements.
_merge_tklist(str, str, ... )
- : Get a Tcl's list string from arguments with a Tcl/Tk's
- : library function. Each arguemnt is converted to a valid
- : Tcl list element.
+ : Get a Tcl's list string from arguments with a Tcl/Tk's
+ : library function. Each arguemnt is converted to a valid
+ : Tcl list element.
_conv_listelement(str)
: Convert the argument to a valid Tcl list element with
@@ -431,14 +431,14 @@ class TclTkIp
mainloop
mainloop_watchdog
: If on the slave interpreter, never start an eventloop and
- : returns nil.
+ : returns nil.
: With the exception that, same to the TclTkLib module method
- : with the same name.
+ : with the same name.
do_one_event
: With the exception that the argument is forced to set
: DONT_WAIT flag on the slave interpreter, same to
- : TclTkLib#do_one_event.
+ : TclTkLib#do_one_event.
set_eventloop_tick
get_eventloop_tick
@@ -450,24 +450,24 @@ class TclTkIp
mainloop_abort_on_exception=
: With the exception that it is ignored to set value on the
: slave interpreter, same to the TclTkLib module method with
- : the same name.
+ : the same name.
encoding_table
- : For Ruby m17n. Return encoding relation table between Ruby's
+ : For Ruby m17n. Return encoding relation table between Ruby's
: Encoding object and Tcl's encoding name.
class TkCallbackBreak < StandardError
class TkCallbackContinue < StandardError
- : They are exception classes to break or continue the Tk callback
- : operation.
- : If raise TkCallbackBreak on the callback procedure, Ruby returns
- : 'break' code to Tk interpreter (Then the Tk interpreter will
- : break the operation for the current event).
+ : They are exception classes to break or continue the Tk callback
+ : operation.
+ : If raise TkCallbackBreak on the callback procedure, Ruby returns
+ : 'break' code to Tk interpreter (Then the Tk interpreter will
+ : break the operation for the current event).
: If raise TkCallbackContinue, returns 'continue' code (Then the Tk
- : interpreter will break the operateion for the current bindtag and
+ : interpreter will break the operateion for the current bindtag and
: starts the operation for the next buindtag for the current event).
- : However, current tcltklib supports Ruby's 'break' and 'next' to
- : get the same effect. That is, those classes are obsolete. Those
- : exist for backward compatibility.
+ : However, current tcltklib supports Ruby's 'break' and 'next' to
+ : get the same effect. That is, those classes are obsolete. Those
+ : exist for backward compatibility.
(eof)
View
28 ext/tk/MANUAL_tcltklib.eucj
@@ -41,7 +41,7 @@ tcl/tk
���Τ褦�ʹͤ��˴�Ť�, tcltk �饤�֥��Ǥ�, tcl/tk �Υ��ޥ�ɤ䥦��
�����åȤ��б����륪�֥������Ȥ������ޤ�. ���֥������Ȥ��Ф���᥽��
-�ɸƤӽФ���, e() �᥽�åɤˤ��¹Ԥ���ޤ�. �㤨��, tcl/tk �� info
+�ɸƤӽФ���, e() �᥽�åɤˤ��¹Ԥ���ޤ�. �㤨��, tcl/tk �� info
���ޥ�ɤ��б����� ruby �Υ��֥������Ȥ� info �Ȥ���̾��Ǥ���Ȥ����,
tcl/tk ��
info commands
@@ -53,7 +53,7 @@ tcl/tk
. configure -height 300 -width 300
�Ȥ��� tcl/tk ��̿���
root.e("configure -height 300 -width 300")
-�ȵ��Ҥ���ޤ�. ���Τ褦�ʵ��Ҥ�, ������ˤ�����������ޤ���, ������,
+�ȵ��Ҥ���ޤ�. ���Τ褦�ʵ��Ҥ�, ������ˤ�����������ޤ���, ������,
������ץȤ��ɤ�ͤˤϸ��Ť餤�����Τ�ޤ���, �ºݤ˥�����ץȤ��
�Ƥߤ��ͽ�۳��˼�ڤǤ�.
@@ -173,7 +173,7 @@ require "tcltklib"
��� DONT_WAIT
: �����оݥ��٥�Ȥ�¸�ߤ��ʤ����ˡ����٥��ȯ����Ԥ���
- : �� do_one_event ��λ ( false ���֤� ) ����
+ : �� do_one_event ��λ ( false ���֤� ) ����
�⥸�塼�� TclTkLib::VarAccessFlag
: _get_variable �ʤɤǤΥե饰����ꤹ�뤿��Τ�Ρ��ե饰��
@@ -217,7 +217,7 @@ require "tcltklib"
: �ޤ��ǽ������� (������̤�ޤߡ��Ĥ���̤ǽ����) ��
: �Ȥ򼨤������ξ�硤��̤δ֤�����̾���ꡤ�ǽ�γ�����
: �̤ޤǤ�Ϣ������̾�Ȥ��ư����롥_set_variable2 �ʤɤ�
- : ���Υե饰����ꤹ���硤Ϣ������̾������̾�� var_name
+ : ���Υե饰����ꤹ���硤Ϣ������̾������̾�� var_name
: ������Ф����Ϥ��Ǥ��뤫�顤index_name ���� nil ��
: ���ͤФʤ�ʤ���
@@ -250,7 +250,7 @@ require "tcltklib"
: �����ȥ���åɤ����٥�ȥ롼�פ�¹Ԥ��Ƥ��륹��å�
: ���ɤ������֤���
: ���٥�ȥ롼�פ�¹Ԥ��Ƥ��륹��åɤǤ���� true ��
- : �ɤΥ���åɤǤ⥤�٥�ȥ롼�פ��¹Ԥ���Ƥ��ʤ�����
+ : �ɤΥ���åɤǤ⥤�٥�ȥ롼�פ��¹Ԥ���Ƥ��ʤ�����
: nil ��¾�Υ���åɤǥ��٥�ȥ롼�פ��¹Ԥ���Ƥ����
: ��� false ���֤���
: false �κݤ� Tk ���󥿡��ץ꥿��ľ�ܸƤ֤Τϴ��Ǥ��롥