ruby-changes:38239
From: hsbt <ko1@a...>
Date: Wed, 15 Apr 2015 10:38:13 +0900 (JST)
Subject: [ruby-changes:38239] hsbt:r50320 (trunk): * doc/contributors.rdoc: fix a typo. Patch by @davydovanton
hsbt 2015-04-15 10:37:47 +0900 (Wed, 15 Apr 2015) New Revision: 50320 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50320 Log: * doc/contributors.rdoc: fix a typo. Patch by @davydovanton [fix GH-872][ci skip] * doc/syntax/methods.rdoc: ditto. * ext/digest/sha2/sha2.c: ditto. * ext/socket/ipsocket.c: ditto. * ext/tk/*: ditto. Modified files: trunk/ChangeLog trunk/bignum.c trunk/doc/contributors.rdoc trunk/doc/syntax/methods.rdoc trunk/ext/digest/sha2/sha2.c trunk/ext/socket/ipsocket.c trunk/ext/tk/MANUAL_tcltklib.eng trunk/ext/tk/README.macosx-aqua trunk/ext/tk/extconf.rb trunk/ext/tk/lib/README trunk/ext/tk/lib/multi-tk.rb trunk/ext/tk/lib/tk/fontchooser.rb trunk/gc.c Index: doc/contributors.rdoc =================================================================== --- doc/contributors.rdoc (revision 50319) +++ doc/contributors.rdoc (revision 50320) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/doc/contributors.rdoc#L1 = Contributors to Ruby -The following list might be imcomplete. Feel free to add your name if your +The following list might be incomplete. Feel free to add your name if your patch was accepted into Ruby. == A Index: doc/syntax/methods.rdoc =================================================================== --- doc/syntax/methods.rdoc (revision 50319) +++ doc/syntax/methods.rdoc (revision 50320) @@ -55,7 +55,7 @@ it indicates that unlike its non-bang eq https://github.com/ruby/ruby/blob/trunk/doc/syntax/methods.rdoc#L55 receiver. Almost always, Ruby core library will have a non-bang counterpart (method name which does NOT end with <code>!</code>) of every bang method (method name which does end with <code>!</code>) that does not modify -the receiver. This convention is typically true for ruby core libary but +the receiver. This convention is typically true for ruby core library but may or may not hold true for other ruby libraries. Methods that end with a question mark by convention return boolean. But they Index: ChangeLog =================================================================== --- ChangeLog (revision 50319) +++ ChangeLog (revision 50320) @@ -1,3 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Apr 15 10:37:40 2015 SHIBATA Hiroshi <hsbt@r...> + + * doc/contributors.rdoc: fix a typo. Patch by @davydovanton + [fix GH-872][ci skip] + * doc/syntax/methods.rdoc: ditto. + * ext/digest/sha2/sha2.c: ditto. + * ext/socket/ipsocket.c: ditto. + * ext/tk/*: ditto. + Wed Apr 15 07:51:23 2015 Yuki Yugui Sonoda <yugui@y...> * doc/extension.ja.rdoc: Added description of TypedData_XXX. Index: gc.c =================================================================== --- gc.c (revision 50319) +++ gc.c (revision 50320) @@ -649,7 +649,7 @@ struct heap_page { https://github.com/ruby/ruby/blob/trunk/gc.c#L649 #if USE_RGENGC bits_t wb_unprotected_bits[HEAP_BITMAP_LIMIT]; #endif - /* the following three bitmaps are cleared at the beggining of full GC */ + /* the following three bitmaps are cleared at the beginning of full GC */ bits_t mark_bits[HEAP_BITMAP_LIMIT]; #if USE_RGENGC bits_t uncollectible_bits[HEAP_BITMAP_LIMIT]; Index: ext/digest/sha2/sha2.c =================================================================== --- ext/digest/sha2/sha2.c (revision 50319) +++ ext/digest/sha2/sha2.c (revision 50320) @@ -67,7 +67,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/sha2/sha2.c#L67 * Please make sure that your system defines BYTE_ORDER. If your * architecture is little-endian, make sure it also defines * LITTLE_ENDIAN and that the two (BYTE_ORDER and LITTLE_ENDIAN) are - * equivilent. + * equivalent. * * If your system does not define the above, then you can do so by * hand like this: Index: ext/tk/lib/README =================================================================== --- ext/tk/lib/README (revision 50319) +++ ext/tk/lib/README (revision 50320) @@ -23,7 +23,7 @@ tkfont.rb Tk font support https://github.com/ruby/ruby/blob/trunk/ext/tk/lib/README#L23 tkmacpkg.rb Mac resource support tkmenubar.rb TK menubar utility tkmngfocus.rb focus manager -tkpalette.rb pallete support +tkpalette.rb palette support tkscrollbox.rb scroll box, also example of compound widget tktext.rb text classes tkvirtevent.rb virtual event support Index: ext/tk/lib/multi-tk.rb =================================================================== --- ext/tk/lib/multi-tk.rb (revision 50319) +++ ext/tk/lib/multi-tk.rb (revision 50320) @@ -2475,7 +2475,7 @@ end https://github.com/ruby/ruby/blob/trunk/ext/tk/lib/multi-tk.rb#L2475 # event loop -# all master/slave IPs are controled by only one event-loop +# all master/slave IPs are controlled by only one event-loop class MultiTkIp def self.default_master? __getip == @@DEFAULT_MASTER Index: ext/tk/lib/tk/fontchooser.rb =================================================================== --- ext/tk/lib/tk/fontchooser.rb (revision 50319) +++ ext/tk/lib/tk/fontchooser.rb (revision 50320) @@ -51,7 +51,7 @@ class << TkFont::Chooser https://github.com/ruby/ruby/blob/trunk/ext/tk/lib/tk/fontchooser.rb#L51 tk_tcl2ruby(val) when 'visible' bool(val) - else # unkown + else # unknown val end end Index: ext/tk/extconf.rb =================================================================== --- ext/tk/extconf.rb (revision 50319) +++ ext/tk/extconf.rb (revision 50320) @@ -1646,7 +1646,7 @@ def pthread_check() https://github.com/ruby/ruby/blob/trunk/ext/tk/extconf.rb#L1646 if TclConfig_Info['config_file_path'] if tcl_enable_thread == true - puts("Warning: definiton of tclConfig.sh is ignored, because --enable-tcl-thread option is given.") + puts("Warning: definition of tclConfig.sh is ignored, because --enable-tcl-thread option is given.") elsif tcl_enable_thread == false puts("Warning: definition of tclConfig.sh is ignored, because --disable-tcl-thread option is given.") else Index: ext/tk/README.macosx-aqua =================================================================== --- ext/tk/README.macosx-aqua (revision 50319) +++ ext/tk/README.macosx-aqua (revision 50320) @@ -3,7 +3,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/tk/README.macosx-aqua#L3 First of all, please read README.tcltklib to use Tcl/Tk Aqua Framework. -With Tcl/Tk Aqua libraries, current tcltklib somtimes freezes when +With Tcl/Tk Aqua libraries, current tcltklib sometimes freezes when using Aqua specific dialogs (e.g. Tk.messageBox). This is a known bug of Ruby-1.8.4 release. Index: ext/tk/MANUAL_tcltklib.eng =================================================================== --- ext/tk/MANUAL_tcltklib.eng (revision 50319) +++ ext/tk/MANUAL_tcltklib.eng (revision 50320) @@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/tk/MANUAL_tcltklib.eng#L1 (tof) 2005/07/05 Hidetoshi NAGAI -This document discribes about the 'tcltklib' library. Although there +This document describes 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). @@ -215,7 +215,7 @@ module TclTklib https://github.com/ruby/ruby/blob/trunk/ext/tk/MANUAL_tcltklib.eng#L215 mainloop_abort_on_exception=(bool) : Define whether the eventloop stops on exception or not. : If true (default value), stops on exception. - : If false, show a waring message but ignore the exception. + : If false, show a warning message but ignore the exception. : If nil, no warning message and ignore the exception. : This parameter is sometimes useful when multiple Tk : interpreters are working. Because the only one eventloop Index: ext/socket/ipsocket.c =================================================================== --- ext/socket/ipsocket.c (revision 50319) +++ ext/socket/ipsocket.c (revision 50320) @@ -193,7 +193,7 @@ rsock_revlookup_flag(VALUE revlookup, in https://github.com/ruby/ruby/blob/trunk/ext/socket/ipsocket.c#L193 * hostname is obtained from numeric_address using reverse lookup. * Or if it is +false+, or +:numeric+, * hostname is same as numeric_address. - * Or if it is +nil+ or ommitted, obeys to +ipsocket.do_not_reverse_lookup+. + * Or if it is +nil+ or omitted, obeys to +ipsocket.do_not_reverse_lookup+. * See +Socket.getaddrinfo+ also. * * TCPSocket.open("www.ruby-lang.org", 80) {|sock| @@ -234,7 +234,7 @@ ip_addr(int argc, VALUE *argv, VALUE soc https://github.com/ruby/ruby/blob/trunk/ext/socket/ipsocket.c#L234 * hostname is obtained from numeric_address using reverse lookup. * Or if it is +false+, or +:numeric+, * hostname is same as numeric_address. - * Or if it is +nil+ or ommitted, obeys to +ipsocket.do_not_reverse_lookup+. + * Or if it is +nil+ or omitted, obeys to +ipsocket.do_not_reverse_lookup+. * See +Socket.getaddrinfo+ also. * * TCPSocket.open("www.ruby-lang.org", 80) {|sock| Index: bignum.c =================================================================== --- bignum.c (revision 50319) +++ bignum.c (revision 50320) @@ -173,7 +173,7 @@ static int nlz(BDIGIT x) { return nlz_in https://github.com/ruby/ruby/blob/trunk/bignum.c#L173 #define U128(a,b,c,d) (((uint128_t)U64(a,b) << 64) | U64(c,d)) #endif -/* The following scirpt, maxpow.rb, generates the tables follows. +/* The following script, maxpow.rb, generates the tables follows. def big(n, bits) ns = [] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/