Skip to content
This repository
Browse code

Fix typos.

  • Loading branch information...
commit 4a8395ba9a55f0be3962081d2006197b275ce230 1 parent 7171a0e
Bruce Gray authored November 10, 2010
2  ChangeLog
@@ -8335,7 +8335,7 @@
8335 8335
 
8336 8336
 	* assemble.pl: macro expansion.  Here's the test macro I was using:
8337 8337
 
8338  
-	# this uses I32,I31 as temporaries.  # macro must be preceeded by a
  8338
+	# this uses I32,I31 as temporaries.  # macro must be preceded by a
8339 8339
 	label.	testi	    macro   num,got,want    print   "Test #"
8340 8340
 	print	num	print	"..."	set	I32,want	set
8341 8341
 	I31,got 	eq	I32,I31,$ok	print	"NG\n"	branch
6  NEWS
@@ -751,7 +751,7 @@ New in 0.8.2
751 751
     - merged LuaClosure & LuaFunction PMC
752 752
   + Pipp
753 753
     - added support for a return value from user defined functions
754  
-    - added incomplete implemention of 'require_once'
  754
+    - added incomplete implementation of 'require_once'
755 755
   + Ecmascript
756 756
     - parser fixes, parses spidermonkey's top level test/shell.js
757 757
 - Deprecations
@@ -797,7 +797,7 @@ New in 0.8.1
797 797
     - added .PARROT method
798 798
   + Pipp
799 799
     - added some predefined constants
800  
-    - added implemention of the function basename()
  800
+    - added implementation of the function basename()
801 801
   + Cardinal (Ruby)
802 802
     - Added initial support for the classes Proc, Continuation, Queue, Dir, File, and FileStat
803 803
     - fixed various minor bugs
@@ -1287,7 +1287,7 @@ New in 0.5.3
1287 1287
   + NQP: add '=:=' op, tests for scalar and list contextualizers, \x escapes
1288 1288
 - Languages
1289 1289
   + APL: reimplementation with PCT
1290  
-  + Cardinal (Ruby): reimplemention with PCT
  1290
+  + Cardinal (Ruby): re-implementation with PCT
1291 1291
   + Ecmascript: reimplementation with PCT
1292 1292
   + lolcode: improved expression parsing, ifthen, IT, YARN
1293 1293
   + lua:
2  docs/project/release_manager_guide.pod
Source Rendered
@@ -13,7 +13,7 @@ the Parrot roadmap (L<https://trac.parrot.org/parrot/roadmap>) and
13 13
 announce the tasks to the Parrot mailing list.  Make sure everyone knows what
14 14
 they've committed to accomplish in time for the release.
15 15
 
16  
-Right after the release preceeding your release, it is a good idea to start
  16
+Right after the release preceding your release, it is a good idea to start
17 17
 tracking parrot news in NEWS. A good resource are the reports
18 18
 in the weekly #parrotsketch IRC-meeting. A reliable log of these meetings
19 19
 is available in L<http://irclog.perlgeek.de/parrotsketch/>.
2  examples/opengl/shapes.pir
@@ -67,7 +67,7 @@ ASCII key.
67 67
     .param int    display_mode
68 68
     .param string window_title
69 69
 
70  
-    # Load OpenGL libary and a helper library for calling glutInit
  70
+    # Load OpenGL library and a helper library for calling glutInit
71 71
     load_bytecode 'OpenGL.pbc'
72 72
     load_bytecode 'NCI/Utils.pbc'
73 73
 
2  examples/opengl/static-triangle-hll.pir
@@ -28,7 +28,7 @@ keyboard handling has been removed.
28 28
 .sub main :main
29 29
     .param pmc argv
30 30
 
31  
-    # Load OpenGL libary and a helper library for calling glutInit
  31
+    # Load OpenGL library and a helper library for calling glutInit
32 32
     load_bytecode 'OpenGL.pbc'
33 33
     load_bytecode 'NCI/Utils.pbc'
34 34
 
2  examples/opengl/static-triangle.pir
@@ -27,7 +27,7 @@ keyboard handling has been removed.
27 27
 .sub main :main
28 28
     .param pmc argv
29 29
 
30  
-    # Load OpenGL libary and a helper library for calling glutInit
  30
+    # Load OpenGL library and a helper library for calling glutInit
31 31
     load_bytecode 'OpenGL.pbc'
32 32
     load_bytecode 'NCI/Utils.pbc'
33 33
 
2  examples/opengl/triangle.pir
@@ -29,7 +29,7 @@ For a more complex and well-behaved example, try F<shapes.pir>.
29 29
 .sub main :main
30 30
     .param pmc argv
31 31
 
32  
-    # Load OpenGL libary and a helper library for calling glutInit
  32
+    # Load OpenGL library and a helper library for calling glutInit
33 33
     load_bytecode 'OpenGL.pbc'
34 34
     load_bytecode 'NCI/Utils.pbc'
35 35
 
6  ext/nqp-rx/t/p6regex/rx_modifiers
@@ -144,11 +144,11 @@ foo '-'? bar			foo - bar	n	basic non-match
144 144
 # todo :pugs<feature>
145 145
 :x(0) \d			123456		y	repetition (:x)
146 146
 # todo :pugs<feature>
147  
-:nth(3) a \d			a1a2a3		y	nth occurance (:nth)
  147
+:nth(3) a \d			a1a2a3		y	nth occurrence (:nth)
148 148
 # todo :pge<feature>
149  
-:nth(4) a \d			a1a2a3		n	nth occurance (:nth)
  149
+:nth(4) a \d			a1a2a3		n	nth occurrence (:nth)
150 150
 # todo :pge<feature>
151  
-:nth(0) a \d			a1a2a3		n	nth occurance (:nth)
  151
+:nth(0) a \d			a1a2a3		n	nth occurrence (:nth)
152 152
 :s^[\d+ ]* abc			11 12 13 abc	y	<?ws> before closing bracket
153 153
 
154 154
 ## vim: noexpandtab tabstop=4 shiftwidth=4
4  runtime/parrot/library/OpenGL.pir
@@ -16,7 +16,7 @@ F<examples/opengl/triangle.pir>.
16 16
  .sub main :main
17 17
     .param pmc argv
18 18
 
19  
-    # Load OpenGL libary and a helper library for calling glutInit
  19
+    # Load OpenGL library and a helper library for calling glutInit
20 20
     load_bytecode 'OpenGL.pbc'
21 21
     load_bytecode 'NCI/Utils.pbc'
22 22
 
@@ -141,7 +141,7 @@ the known different filenames for each library in turn before giving up.
141 141
 =item _load_lib_with_fallbacks(string friendly_name, pmc fallback_list)
142 142
 
143 143
 This function is more generally useful than just for this module -- it
144  
-implements the search for a particular libary that may appear under any
  144
+implements the search for a particular library that may appear under any
145 145
 of several different filenames.  The C<fallback_list> should be a simple
146 146
 array of strings, each naming one of the possible filenames, I<without>
147 147
 the trailing shared library extension (e.g. C<.dll> or C<.so>).  The
2  runtime/parrot/library/TclLibrary.pir
@@ -362,7 +362,7 @@ EOS
362 362
 =item _load_lib_with_fallbacks(string friendly_name, pmc fallback_list)
363 363
 
364 364
 This function is more generally useful than just for this module -- it
365  
-implements the search for a particular libary that may appear under any
  365
+implements the search for a particular library that may appear under any
366 366
 of several different filenames.  The C<fallback_list> should be a simple
367 367
 array of strings, each naming one of the possible filenames, I<without>
368 368
 the trailing shared library extension (e.g. C<.dll> or C<.so>).  The
2  src/call/pcc.c
@@ -75,7 +75,7 @@ You must pass the address_of(&) the OUT results, of course.
75 75
   S STRING *
76 76
   P PMC *
77 77
 
78  
-  lowercase letters are adverb modifiers to the preceeding uppercase arg
  78
+  lowercase letters are adverb modifiers to the preceding uppercase arg
79 79
   identifier
80 80
 
81 81
   f flatten
2  src/embed.c
@@ -774,7 +774,7 @@ set_current_sub(PARROT_INTERP)
774 774
     }
775 775
 
776 776
     /* If we didn't find anything, put a dummy PMC into current_sub.
777  
-       The default values set by SUb.init are appropiate for the
  777
+       The default values set by SUb.init are appropriate for the
778 778
        dummy, don't need additional settings. */
779 779
     new_sub_pmc = Parrot_pmc_new(interp, enum_class_Sub);
780 780
     Parrot_pcc_set_sub(interp, CURRENT_CONTEXT(interp), new_sub_pmc);
8  src/pmc/imageiothaw.pmc
@@ -206,7 +206,7 @@ Set an exterior constant table to use for cross-referencing constants.
206 206
 
207 207
 =item C<INTVAL shift_integer()>
208 208
 
209  
-Retreive an integer as the next item from the image.
  209
+Retrieve an integer as the next item from the image.
210 210
 
211 211
 =cut
212 212
 
@@ -227,7 +227,7 @@ Retreive an integer as the next item from the image.
227 227
 
228 228
 =item C<FLOATVAL shift_float()>
229 229
 
230  
-Retreive a float as the next item from the image.
  230
+Retrieve a float as the next item from the image.
231 231
 
232 232
 =cut
233 233
 
@@ -247,7 +247,7 @@ Retreive a float as the next item from the image.
247 247
 
248 248
 =item C<STRING *shift_string()>
249 249
 
250  
-Retreive a string as the next item from the image.
  250
+Retrieve a string as the next item from the image.
251 251
 
252 252
 =cut
253 253
 
@@ -284,7 +284,7 @@ Retreive a string as the next item from the image.
284 284
 
285 285
 =item C<PMC *shift_pmc()>
286 286
 
287  
-Retreive a PMC as the next item from the image.
  287
+Retrieve a PMC as the next item from the image.
288 288
 
289 289
 =cut
290 290
 
2  src/pmc/resizablepmcarray.pmc
@@ -747,7 +747,7 @@ Common part for unshift operations.
747 747
 
748 748
 =item C<static void throw_pop_empty(PARROT_INTERP)>
749 749
 
750  
-Throws with the appropiate message.
  750
+Throws with the appropriate message.
751 751
 
752 752
 =cut
753 753
 
6  t/compilers/pge/perl6regex/rx_modifiers
@@ -144,11 +144,11 @@ foo '-'? bar			foo - bar	n	basic non-match
144 144
 # todo :pugs<feature>
145 145
 :x(0) \d			123456		y	repetition (:x)
146 146
 # todo :pugs<feature>
147  
-:nth(3) a \d			a1a2a3		y	nth occurance (:nth)
  147
+:nth(3) a \d			a1a2a3		y	nth occurrence (:nth)
148 148
 # todo :pge<feature>
149  
-:nth(4) a \d			a1a2a3		n	nth occurance (:nth)
  149
+:nth(4) a \d			a1a2a3		n	nth occurrence (:nth)
150 150
 # todo :pge<feature>
151  
-:nth(0) a \d			a1a2a3		n	nth occurance (:nth)
  151
+:nth(0) a \d			a1a2a3		n	nth occurrence (:nth)
152 152
 :s^[\d+ ]* abc			11 12 13 abc	y	<?ws> before closing bracket
153 153
 
154 154
 ## vim: noexpandtab tabstop=4 shiftwidth=4
2  t/library/getopt_obj.t
@@ -277,7 +277,7 @@ module F<runtime/parrot/library/Getopt/Obj.pir>.
277 277
         $S0 = $P1["foo"]
278 278
         is($S0, 1, 'double dash stop')
279 279
 
280  
-        # Hash sets an nonexistant value to ''
  280
+        # Hash sets an nonexistent value to ''
281 281
         $S0 = $P1["bar"]
282 282
         is($S0, '', 'double dash stop')
283 283
 
18  t/op/exceptions.t
@@ -160,7 +160,7 @@ pasm_output_is( <<'CODE', <<'OUTPUT', "push_eh - throw - message" );
160 160
     push_eh _handler
161 161
 
162 162
     new P30, 'Exception'
163  
-    set P30, "something happend"
  163
+    set P30, "something happened"
164 164
     throw P30
165 165
     print "not reached\n"
166 166
     end
@@ -174,17 +174,17 @@ _handler:
174 174
 CODE
175 175
 main
176 176
 caught it
177  
-something happend
  177
+something happened
178 178
 OUTPUT
179 179
 
180 180
 pasm_error_output_like( <<'CODE', <<'OUTPUT', "throw - no handler" );
181 181
     new P0, 'Exception'
182  
-    set P0, "something happend"
  182
+    set P0, "something happened"
183 183
     throw P0
184 184
     print "not reached\n"
185 185
     end
186 186
 CODE
187  
-/something happend/
  187
+/something happened/
188 188
 OUTPUT
189 189
 
190 190
 pasm_error_output_like( <<'CODE', <<'OUTPUT', "throw - no handler, no message" );
@@ -215,7 +215,7 @@ pasm_output_is( <<'CODE', <<'OUTPUT', "2 exception handlers" );
215 215
     push_eh _handler2
216 216
 
217 217
     new P30, 'Exception'
218  
-    set P30, "something happend"
  218
+    set P30, "something happened"
219 219
     throw P30
220 220
     print "not reached\n"
221 221
     end
@@ -236,7 +236,7 @@ _handler2:
236 236
 CODE
237 237
 main
238 238
 caught it in 2
239  
-something happend
  239
+something happened
240 240
 OUTPUT
241 241
 
242 242
 pasm_output_is( <<'CODE', <<'OUTPUT', "2 exception handlers, throw next" );
@@ -245,7 +245,7 @@ pasm_output_is( <<'CODE', <<'OUTPUT', "2 exception handlers, throw next" );
245 245
     push_eh _handler2
246 246
 
247 247
     new P30, 'Exception'
248  
-    set P30, "something happend"
  248
+    set P30, "something happened"
249 249
     throw P30
250 250
     print "not reached\n"
251 251
     end
@@ -267,9 +267,9 @@ _handler2:
267 267
 CODE
268 268
 main
269 269
 caught it in 2
270  
-something happend
  270
+something happened
271 271
 caught it in 1
272  
-something happend
  272
+something happened
273 273
 OUTPUT
274 274
 
275 275
 pasm_output_is( <<'CODE', <<OUT, "die" );
4  t/pmc/bytebuffer.t
@@ -161,7 +161,7 @@ end:
161 161
     # Can't do that, or the program can't be compiled without ICU.
162 162
     # Fill the buffer with bytes instead.
163 163
 
164  
-    # Get endianess to set the bytes in the appropiate order.
  164
+    # Get endianess to set the bytes in the appropriate order.
165 165
     # *** XXX *** Need report from big endian platforms.
166 166
     big = isbigendian()
167 167
     if big goto isbig
@@ -282,7 +282,7 @@ test_negative:
282 282
     $I0 = hasicu()
283 283
     unless $I0 goto skip_it
284 284
 
285  
-    # Get endianess to set the bytes in the appropiate order.
  285
+    # Get endianess to set the bytes in the appropriate order.
286 286
     # *** XXX *** Need report from big endian platforms.
287 287
     big = isbigendian()
288 288
 
4  t/pmc/callcontext.t
@@ -173,10 +173,10 @@ Tests the CallContext PMC.
173 173
     ok( $I0, 'exists_keyed_str' )
174 174
 
175 175
     $I0 = exists $P0[100]
176  
-    nok( $I0, 'exists_keyed_int -- non-existant' )
  176
+    nok( $I0, 'exists_keyed_int -- non-existent' )
177 177
 
178 178
     $I0 = exists $P0['bar']
179  
-    nok( $I0, 'exists_keyed_str -- non-existant' )
  179
+    nok( $I0, 'exists_keyed_str -- non-existent' )
180 180
 .end
181 181
 
182 182
 .sub 'test_clone'
8  t/pmc/fixedfloatarray.t
@@ -94,19 +94,19 @@ end:
94 94
     push_eh eh1
95 95
     set $P0[1], -7
96 96
     pop_eh
97  
-    ok(0, "no exception raised when setting nonexistant element")
  97
+    ok(0, "no exception raised when setting nonexistent element")
98 98
     goto after_eh1
99 99
 eh1:
100  
-    ok(1, "exception raised when setting nonexistant element")
  100
+    ok(1, "exception raised when setting nonexistent element")
101 101
 after_eh1:
102 102
 
103 103
     push_eh eh2
104 104
     set $I0, $P0[1]
105 105
     pop_eh
106  
-    ok(0, "no exception raised when getting nonexistant element")
  106
+    ok(0, "no exception raised when getting nonexistent element")
107 107
     goto after_eh2
108 108
 eh2:
109  
-    ok(1, "exception raised when getting nonexistant element")
  109
+    ok(1, "exception raised when getting nonexistent element")
110 110
 after_eh2:
111 111
 .end
112 112
 
8  t/pmc/float.t
@@ -35,11 +35,11 @@ Tests the Float PMC.
35 35
     falseness_0()
36 36
     'falseness_0.000'()
37 37
     integer_addition()
38  
-    integer_substraction()
  38
+    integer_subtraction()
39 39
     integer_multiplication()
40 40
     integer_division()
41 41
     number_addition()
42  
-    number_substraction()
  42
+    number_subtraction()
43 43
     number_multiplication()
44 44
     number_division()
45 45
     increment_decrement()
@@ -239,7 +239,7 @@ Tests the Float PMC.
239 239
     is($P0, -0.999, 'Basic integer arithmetic: addition (2)', PRECISION)
240 240
 .end
241 241
 
242  
-.sub 'integer_substraction'
  242
+.sub 'integer_subtraction'
243 243
     $P0 = new ['Float']
244 244
 
245 245
     $P0 = 103.45
@@ -286,7 +286,7 @@ Tests the Float PMC.
286 286
     is($P0, -1.199, 'Basic numeric arithmetic: addition (2)', PRECISION)
287 287
 .end
288 288
 
289  
-.sub 'number_substraction'
  289
+.sub 'number_subtraction'
290 290
     $P0 = new ['Float']
291 291
 
292 292
     $P0 = 103.45
2  t/pmc/pmcproxy.t
@@ -53,7 +53,7 @@ Tests the PMCProxy PMC.
53 53
     finalize eh
54 54
   check:
55 55
     pop_eh
56  
-    is($I0, 1, 'Attempt to proxy invalid type throws appropiately')
  56
+    is($I0, 1, 'Attempt to proxy invalid type throws appropriately')
57 57
 .end
58 58
 
59 59
 
4  t/tools/parrot_config.t
@@ -44,8 +44,8 @@ config_output_like(
44 44
 );
45 45
 
46 46
 config_output_like(
47  
-    'non_existant_key',
48  
-     qr/no such key: 'non_existant_key'/,
  47
+    'non_existent_key',
  48
+     qr/no such key: 'non_existent_key'/,
49 49
      'missing keys'
50 50
 );
51 51
 

0 notes on commit 4a8395b

Please sign in to comment.
Something went wrong with that request. Please try again.