[svn:parrot] r37343 - in trunk/runtime/parrot/library: . Getopt HTTP Math SDL

Util at svn.parrot.org Util at svn.parrot.org
Thu Mar 12 05:22:03 UTC 2009


Author: Util
Date: Thu Mar 12 05:22:02 2009
New Revision: 37343
URL: https://trac.parrot.org/parrot/changeset/37343

Log:
[library] Typo corrections

Modified:
   trunk/runtime/parrot/library/Getopt/Obj.pir
   trunk/runtime/parrot/library/HTTP/Daemon.pir
   trunk/runtime/parrot/library/Math/Rand.pir
   trunk/runtime/parrot/library/OpenGL.pir
   trunk/runtime/parrot/library/Pg.pir
   trunk/runtime/parrot/library/SDL.pir
   trunk/runtime/parrot/library/SDL/Surface.pir
   trunk/runtime/parrot/library/TclLibrary.pir
   trunk/runtime/parrot/library/libpcre.pir
   trunk/runtime/parrot/library/pcre.pir
   trunk/runtime/parrot/library/tcpstream.pir

Modified: trunk/runtime/parrot/library/Getopt/Obj.pir
==============================================================================
--- trunk/runtime/parrot/library/Getopt/Obj.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/Getopt/Obj.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -95,7 +95,7 @@
 
 =item C<init()>
 
-Creates the Specs and notOptStop attribute, interal stuff.
+Creates the Specs and notOptStop attribute, internal stuff.
 
 =cut
 
@@ -565,7 +565,7 @@
 
 =head2 Class Getopt::Obj::Spec
 
-Interal use only, at least don't do any new "Getopt::Obj::Spec" yourself...
+Internal use only, at least don't do any new "Getopt::Obj::Spec" yourself...
 This makes an easy holder for each possible match.
 
 =over 4
@@ -809,7 +809,7 @@
 
 =item *
 
-Should a lonesome hyphen be a permited value as not an option.  Currently kept
+Should a lonesome hyphen be a permitted value as not an option.  Currently kept
 in argv in case the program wants it, such as indicating stdin or stdout.
 
 =item *

Modified: trunk/runtime/parrot/library/HTTP/Daemon.pir
==============================================================================
--- trunk/runtime/parrot/library/HTTP/Daemon.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/HTTP/Daemon.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -459,7 +459,7 @@
 .end
 
 
-# reguest handler sub - not a method
+# request handler sub - not a method
 # this is called from the async select code, i.e from the event
 # subsystem
 .sub req_handler
@@ -640,7 +640,7 @@
 
 =item check_cgi(url)
 
-Check if a request url is a CGI request. If yes, return the reulst of the
+Check if a request url is a CGI request. If yes, return the result of the
 CGI invocation.
 
 =cut
@@ -1075,7 +1075,7 @@
     goto fin
 no_200:
     if ccc != '301' goto no_301
-    line .= ' Moved Permamently'
+    line .= ' Moved Permanently'
     goto fin
 no_301:
     if ccc != '404' goto no_404

Modified: trunk/runtime/parrot/library/Math/Rand.pir
==============================================================================
--- trunk/runtime/parrot/library/Math/Rand.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/Math/Rand.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -10,7 +10,7 @@
 The C<rand> function computes a sequence of pseudo-random integers in the
 range 0 to C<RAND_MAX>.
 
-The C<srand> function uses the argment as a seed for a new sequence of
+The C<srand> function uses the argument as a seed for a new sequence of
 pseudo-random numbers to be returned by subsequent calls to C<rand>.
 If C<srand> is then called with the same seed value, the sequence of
 pseudo-random numbers shall be repeated. If C<rand> is called before any calls

Modified: trunk/runtime/parrot/library/OpenGL.pir
==============================================================================
--- trunk/runtime/parrot/library/OpenGL.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/OpenGL.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -95,7 +95,7 @@
 
 =item _load_opengl_libs()
 
-Opens all relevent OpenGL system libraries.  For portability, tries each of
+Opens all relevant OpenGL system libraries.  For portability, tries each of
 the known different filenames for each library in turn before giving up.
 
 =cut

Modified: trunk/runtime/parrot/library/Pg.pir
==============================================================================
--- trunk/runtime/parrot/library/Pg.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/Pg.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -348,7 +348,7 @@
 
 =item res.'clear'()
 
-Clear the result structure. You don't have to explicitely call this
+Clear the result structure. You don't have to explicitly call this
 method. If a result object is no longer alive, the GC will call
 __finalize(), which wil clear the object.
 

Modified: trunk/runtime/parrot/library/SDL.pir
==============================================================================
--- trunk/runtime/parrot/library/SDL.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/SDL.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -40,7 +40,7 @@
 subsystem.  You'll have to use the appropriate IMC modules or initialize the
 other subsystems manually.
 
-The subsystem initalizers include:
+The subsystem initializers include:
 
 =over 4
 

Modified: trunk/runtime/parrot/library/SDL/Surface.pir
==============================================================================
--- trunk/runtime/parrot/library/SDL/Surface.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/SDL/Surface.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -224,7 +224,7 @@
 =item update_rect( rect )
 
 If this is a single-buffered surface (unless you've explicitly requested double
-buffering when intializing your SDL::App), updates the portion of this surface
+buffering when initializing your SDL::App), updates the portion of this surface
 represented by the SDL::Rect.
 
 Do this on the main surface to see your changes.

Modified: trunk/runtime/parrot/library/TclLibrary.pir
==============================================================================
--- trunk/runtime/parrot/library/TclLibrary.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/TclLibrary.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -243,7 +243,7 @@
 #SvFromTclObj(pTHX_ Tcl_Obj *objPtr)
 =item pmc _pmc_from_tclobj(pmc interp, pmc tclobj)
 
-This is a (static) funciton that will convert Tcl object to pmc
+This is a (static) function that will convert Tcl object to pmc
 
 =cut
 

Modified: trunk/runtime/parrot/library/libpcre.pir
==============================================================================
--- trunk/runtime/parrot/library/libpcre.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/libpcre.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -131,7 +131,7 @@
 .end
 
 =for todo
-    # or use convinience function
+    # or use convenience function
     print "copy_substring\n"
     i = 0
     repeat match, " ", 500

Modified: trunk/runtime/parrot/library/pcre.pir
==============================================================================
--- trunk/runtime/parrot/library/pcre.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/pcre.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -37,7 +37,7 @@
 
 =item sub init()
 
-Intialize the pcre library. The library handle is returned as a PMC
+Initialize the pcre library. The library handle is returned as a PMC
 and is additionally stored as global 'PCRE', 'lib'.
 
 =cut

Modified: trunk/runtime/parrot/library/tcpstream.pir
==============================================================================
--- trunk/runtime/parrot/library/tcpstream.pir	Thu Mar 12 04:52:54 2009	(r37342)
+++ trunk/runtime/parrot/library/tcpstream.pir	Thu Mar 12 05:22:02 2009	(r37343)
@@ -25,7 +25,7 @@
 =head1 DESCRIPTION
 
 This is a high-level sockets library designed to mimic Tcl's socket builtins. As
-such, it uses C<print> and C<say> instaed of C<send> and C<readline> and
+such, it uses C<print> and C<say> instead of C<send> and C<readline> and
 C<slurp> instead of C<recv>.
 
 =head1 VTABLE FUNCTIONS
@@ -48,7 +48,7 @@
 
 =item C<init>
 
-Iniitialize a TCPStream object (create a socket and a buffer).
+Initialize a TCPStream object (create a socket and a buffer).
 
 =cut
 


More information about the parrot-commits mailing list