Ticket #2190: typos.patch

File typos.patch, 34.2 KB (added by pfusik, 3 years ago)
  • CREDITS

    diff --git a/CREDITS b/CREDITS
    index 7cb9072..e57a55f 100644
    a b  
    948948E: pdcawley@bofh.org.uk 
    949949W: http://www.bofh.org.uk:8080/ 
    950950 
     951N: Piotr Fusik 
     952D: Fixed typos 
     953 
    951954N: Reini Urban 
    952955U: rurban 
    953956E: rurban@cpan.org 
  • ChangeLog

    diff --git a/ChangeLog b/ChangeLog
    index c0e1e5f..b8a6ded 100644
    a b  
    79797979        before 5.6 did not handle the 0b numeric prefix; therefore, it was 
    79807980        returning 0.  To fix this, I added a from_binary function that 
    79817981        would take a binary string and return its decimal representation. 
    7982         Now, instead of blindly calilng oct, it makes a distinction between 
     7982        Now, instead of blindly calling oct, it makes a distinction between 
    79837983        0/0x numbers and 0b numbers. 
    79847984 
    798579852001-09-26 19:30  thgibbs 
  • NEWS

    diff --git a/NEWS b/NEWS
    index 3641b0f..067b4dc 100644
    a b  
    186186    command-line parameters was improved. 
    187187  + An experimental gdb pretty-printers in tools/dev for Parrot STRINGs and 
    188188    PMCs is now available.  (gdb 7.2 or later and Python are required) 
    189   + c2str.pl and pmc2c.pl improvements result in a noticably faster build. 
     189  + c2str.pl and pmc2c.pl improvements result in a noticeably faster build. 
    190190  + Bugs in our Digest::sha256 library and bit-related dynamic ops were fixed 
    191191    by GCI student Nolan Lum. Both now work correctly on 32 and 64 bit systems. 
    192192- Languages 
     
    923923    - skip creating a class/grammar if it already exists 
    924924- Languages 
    925925  + Rakudo 
    926     - improved error mesages in multi dispatch 
     926    - improved error messages in multi dispatch 
    927927    - implemented clone method for all objects 
    928928    - implemented MAIN sub 
    929929    - Unicode versions of infix hyper operators 
  • config/auto/backtrace/test_dlinfo_c.in

    diff --git a/config/auto/backtrace/test_dlinfo_c.in b/config/auto/backtrace/test_dlinfo_c.in
    index ae52dff..c5c0a85 100644
    a b  
    11/* 
    22Copyright (C) 2009, Parrot Foundation. 
    33 
    4 check that Dl_info is avaible 
     4check that Dl_info is available 
    55*/ 
    66 
    77#include <execinfo.h> 
  • docs/book/pct/ch04_pge.pod

    diff --git a/docs/book/pct/ch04_pge.pod b/docs/book/pct/ch04_pge.pod
    index c554a81..0d35118 100644
    a b  
    13431343tokens make up the grammar. A proto declares a rule, defined elsewhere, which 
    13441344other code may override dynamically.  In this case, PCT takes information from 
    13451345the proto declaration and fills in the details. The "dynamic overriding" 
    1346 implies that a high-level language itself itself can modify its own grammar at 
     1346implies that a high-level language itself can modify its own grammar at 
    13471347run time, by overriding the proto definitions for its operator table. Some 
    13481348languages call this process X<operator overloading> I<operator overloading>. 
    13491349 
  • docs/book/pir/ch05_control_structures.pod

    diff --git a/docs/book/pir/ch05_control_structures.pod b/docs/book/pir/ch05_control_structures.pod
    index f9dd244..7762281 100644
    a b  
    326326The first time through the loop, this example sets the initial value of the 
    327327counter in C<loop_init>. It then goes on to test that the loop condition is met 
    328328in C<loop_test>. If the condition is true (C<counter> is less than or equal to 
    329 10) it jumps to C<loop_body> and executes the body of the loop. If the the 
     32910) it jumps to C<loop_body> and executes the body of the loop. If the 
    330330condition is false, it will jump straight to C<loop_end> and the loop will end. 
    331331The body of the loop prints the current counter then goes on to 
    332332C<loop_continue>, which increments the counter and jumps back up to 
  • docs/book/pir/ch06_subroutines.pod

    diff --git a/docs/book/pir/ch06_subroutines.pod b/docs/book/pir/ch06_subroutines.pod
    index 2f8785f..9d705e6 100644
    a b  
    189189Named parameters are an alternative to positional parameters. Instead of 
    190190passing parameters by their position in the string, Parrot assigns 
    191191arguments to parameters by their name.  Consequently you may pass named 
    192 parameters in any order.  Declare named parameters with with the 
     192parameters in any order.  Declare named parameters with the 
    193193C<:named>X<:named parameter modifier> modifier. 
    194194 
    195195This example declares two named parameters in the subroutine C<shoutout> 
  • docs/deprecations/deprecations_3_0.pod

    diff --git a/docs/deprecations/deprecations_3_0.pod b/docs/deprecations/deprecations_3_0.pod
    index a2aebdf..c4abad5 100644
    a b  
    9292 
    9393=head3 Rational 
    9494 
    95 They're old, crufty, and don't do anything that cannot be acheived by .call. 
     95They're old, crufty, and don't do anything that cannot be achieved by .call. 
    9696 
    9797Except obfuscasion of course. 
    9898 
  • docs/deprecations/how_to_deprecate.pod

    diff --git a/docs/deprecations/how_to_deprecate.pod b/docs/deprecations/how_to_deprecate.pod
    index 4d65ca1..ce781bb 100644
    a b  
    9797 
    9898=item * 
    9999 
    100 walk through the the documentation to ensure that it's sufficient for a user to 
     100walk through the documentation to ensure that it's sufficient for a user to 
    101101use to upgrade his or her code 
    102102 
    103103=item * 
  • docs/pdds/draft/pdd14_numbers.pod

    diff --git a/docs/pdds/draft/pdd14_numbers.pod b/docs/pdds/draft/pdd14_numbers.pod
    index bb856b2..6dab970 100644
    a b  
    126126=item C<i_[add|subtract|multiply|divide|floor_divide|modulus|pow]_float(INTVAL 
    127127       b)> 
    128128 
    129 Add/subtract/multiply/divide/modulus/exponent an integer value with the the 
     129Add/subtract/multiply/divide/modulus/exponent an integer value with the 
    130130C<Integer> PMC, and set the C<Integer> to the resulting value, morphing it to 
    131131a C<Float>.  Note that these are multidispatched. 
    132132 
  • docs/pdds/pdd07_codingstd.pod

    diff --git a/docs/pdds/pdd07_codingstd.pod b/docs/pdds/pdd07_codingstd.pod
    index 3cc6db1..97bed42 100644
    a b  
    503503 
    504504=item Filenames 
    505505 
    506 Filenames must be assumed to be case-insensitive, in the sense that that you 
     506Filenames must be assumed to be case-insensitive, in the sense that you 
    507507may not have two different files called F<Foo> and F<foo>. Normal source-code 
    508508filenames should be all lower-case; filenames with upper-case letters in them 
    509509are reserved for notice-me-first files such as F<README>, and for files which 
  • docs/pdds/pdd19_pir.pod

    diff --git a/docs/pdds/pdd19_pir.pod b/docs/pdds/pdd19_pir.pod
    index 5d35f4b..40ffacc 100644
    a b  
    815815 
    816816=end PIR_FRAGMENT 
    817817 
    818 Note that this only works for opcodes that have have a leading C<OUT> 
     818Note that this only works for opcodes that have a leading C<OUT> 
    819819parameter. [this restriction unimplemented: TT #906] 
    820820 
    821821=item ([<var1> [:<mod1> ...], ...]) = <var2>([<arg1> [:<mod2> ...], ...]) 
  • docs/pdds/pdd20_lexical_vars.pod

    diff --git a/docs/pdds/pdd20_lexical_vars.pod b/docs/pdds/pdd20_lexical_vars.pod
    index bd4daa2..b9c8d4f 100644
    a b  
    197197If an inner subroutine is invoked that hasn't had a 
    198198C<capture_lex> operation performed on it, then Parrot 
    199199will attempt to dynamically perform the lexical capture 
    200 using the call from from its outer sub.  If the outer sub 
     200using the call from its outer sub.  If the outer sub 
    201201doesn't have a call frame, as might occur when jumping 
    202202directly to the inner sub without previously invoking the 
    203203outer, then Parrot creates a dummy call frame for the 
  • docs/project/git_workflow.pod

    diff --git a/docs/project/git_workflow.pod b/docs/project/git_workflow.pod
    index 85e39d5..014baab 100644
    a b  
    139139    git add --force ports/foo 
    140140 
    141141NOTE: Make sure these files should actually be added. Most files in .gitignore 
    142 should never be added, but some, such as some files in "ports/" will need need 
     142should never be added, but some, such as some files in "ports/" will need 
    143143the --force flag. 
    144144 
    145145Now for actually creating your commit! Since Git is a distributed version 
  • examples/past/blocktype_immediate.pir

    diff --git a/examples/past/blocktype_immediate.pir b/examples/past/blocktype_immediate.pir
    index 533fa4c..3049714 100644
    a b  
    1111=head1 DESCRIPTION 
    1212 
    1313Create and evaluate a PAST::Block with blocktype 'immediate'. 
    14 'immediate' means the the block is evaluated end the last value 
     14'immediate' means the block is evaluated and the last value 
    1515is returned. 
    1616 
    1717Beware that this doesn't work yet as expected: 
  • examples/sdl/tetris/blockdata.pir

    diff --git a/examples/sdl/tetris/blockdata.pir b/examples/sdl/tetris/blockdata.pir
    index 5709e93..8744d69 100644
    a b  
    2929 
    3030=item blockdata."rotate"( dir ) 
    3131 
    32 Changes the the C<block data> in a way to make 
     32Changes the C<block data> in a way to make 
    3333the block look rotated. 
    3434 
    3535=over 4 
  • examples/streams/Combiner.pir

    diff --git a/examples/streams/Combiner.pir b/examples/streams/Combiner.pir
    index 231f69f..ecff32e 100644
    a b  
    8787The _text sub is used as a source of the text stream. 
    8888It just writes some text to the stream. 
    8989 
    90 The stream is automatically diconnected when the sub returns, which 
     90The stream is automatically disconnected when the sub returns, which 
    9191will also terminate the combined stream. 
    9292 
    9393=cut 
  • ext/winxed/README

    diff --git a/ext/winxed/README b/ext/winxed/README
    index 7e28638..c31868f 100644
    a b  
    1919 
    2020Releases are tagged like this: RELEASE_1_0_0 
    2121 
    22 To tag a new releease switch to the appropiate branch, like version_1_0, 
    23 verify is updated with the appropiate changes and the pir generated files 
     22To tag a new release switch to the appropriate branch, like version_1_0, 
     23verify is updated with the appropriate changes and the pir generated files 
    2424are also updated, an tag it. Don't forget to push the tag to origin. 
  • ext/winxed/compiler.pir

    diff --git a/ext/winxed/compiler.pir b/ext/winxed/compiler.pir
    index 37a09a6..62547c4 100644
    a b  
    73267326.annotate 'line', 2635 
    73277327    unless_null $P2, __label_2 
    73287328.annotate 'line', 2636 
    7329     WSubId_1('unknow namespace', __ARG_1) 
     7329    WSubId_1('unknown namespace', __ARG_1) 
    73307330  __label_2: # endif 
    73317331.annotate 'line', 2637 
    73327332    __ARG_3.'usenamespace'($P2) 
     
    1654716547    goto __label_5 # break 
    1654816548  __label_9: # case 
    1654916549.annotate 'line', 5559 
    16550     WSubId_6("Builtin unexpeted here", self) 
     16550    WSubId_6("Builtin unexpected here", self) 
    1655116551  __label_6: # default 
    1655216552.annotate 'line', 5561 
    1655316553    root_new $P6, ['parrot';'ResizablePMCArray'] 
  • src/dynoplibs/bit.ops

    diff --git a/src/dynoplibs/bit.ops b/src/dynoplibs/bit.ops
    index 09186fd..d555b02 100644
    a b  
    402402=item B<rot>(out INT, in INT, in INT, inconst INT) 
    403403 
    404404Rotate $2 left or right by $3 and place result in $1. 
    405 $4 is the the size of the word to rotate, max 32 on a 32-bit CPU and 64 
     405$4 is the size of the word to rotate, max 32 on a 32-bit CPU and 64 
    406406on a 64-bit CPU. If the rotate count is negative a rotate right by abs($3) 
    407407is performed. 
    408408 
  • src/dynoplibs/math.ops

    diff --git a/src/dynoplibs/math.ops b/src/dynoplibs/math.ops
    index 14f39a4..df24da2 100644
    a b  
    208208 
    209209=item B<rand>(out NUM, in NUM) 
    210210 
    211 Set $1 to a random floating point number between 0 and and $2, inclusive. 
     211Set $1 to a random floating point number between 0 and $2, inclusive. 
    212212 
    213213=cut 
    214214 
     
    218218 
    219219=item B<rand>(out INT, in INT) 
    220220 
    221 Set $1 to a integer between 0 and and $2, inclusive. 
     221Set $1 to a integer between 0 and $2, inclusive. 
    222222 
    223223=cut 
    224224 
     
    228228 
    229229=item B<rand>(out NUM, in NUM, in NUM) 
    230230 
    231 Set $1 to a random floating point number between $2 and and $3, inclusive. 
     231Set $1 to a random floating point number between $2 and $3, inclusive. 
    232232 
    233233=cut 
    234234 
     
    258258 
    259259=item B<rand>(out INT, in INT, in INT) 
    260260 
    261 Set $1 to a integer between $2 and and $3, inclusive. 
     261Set $1 to a integer between $2 and $3, inclusive. 
    262262 
    263263=cut 
    264264 
  • src/exceptions.c

    diff --git a/src/exceptions.c b/src/exceptions.c
    index 31981a8..c59b0ee 100644
    a b  
    77 
    88=head1 DESCRIPTION 
    99 
    10 Define the the core subsystem for exceptions. 
     10Define the core subsystem for exceptions. 
    1111 
    1212=head2 Exception Functions 
    1313 
  • src/gc/alloc_resources.c

    diff --git a/src/gc/alloc_resources.c b/src/gc/alloc_resources.c
    index 18cb2ce..6bb16d7 100644
    a b  
    309309                    /* should happen only once at the end */ 
    310310                    --last_free_list_count; 
    311311                else { 
    312                     /* next item on free list should also be flaged as free item */ 
     312                    /* next item on free list should also be flagged as free item */ 
    313313                    pobj_walker = (GC_MS_PObj_Wrapper*)pobj_walker->next_ptr; 
    314314                    PARROT_ASSERT(PObj_on_free_list_TEST((PObj*)pobj_walker)); 
    315315                } 
  • src/gc/api.c

    diff --git a/src/gc/api.c b/src/gc/api.c
    index 410363d..4e7eedb 100644
    a b  
    551551 
    552552=item C<void Parrot_gc_free_pmc_attributes(PARROT_INTERP, PMC *pmc)> 
    553553 
    554 Deallocates an attibutes structure from a PMC if it has the auto_attrs 
     554Deallocates an attributes structure from a PMC if it has the auto_attrs 
    555555flag set. 
    556556 
    557557=cut 
  • src/gc/gc_gms.c

    diff --git a/src/gc/gc_gms.c b/src/gc/gc_gms.c
    index ec8046f..2c43250 100644
    a b  
    22772277=item C<static void gc_gms_str_get_youngest_generation(PARROT_INTERP, STRING 
    22782278*str)> 
    22792279 
    2280 Calculate youngest genereation of PMC children. Used to remove items from 
     2280Calculate youngest generation of PMC children. Used to remove items from 
    22812281dirty_list. 
    22822282 
    22832283=cut 
  • src/gc/gc_ms.c

    diff --git a/src/gc/gc_ms.c b/src/gc/gc_ms.c
    index d821323..7aa4774 100644
    a b  
    12571257 
    12581258=item C<void gc_ms_free_pmc_attributes(PARROT_INTERP, PMC *pmc)> 
    12591259 
    1260 Deallocates an attibutes structure from a PMC if it has the auto_attrs 
     1260Deallocates an attributes structure from a PMC if it has the auto_attrs 
    12611261flag set. 
    12621262 
    12631263*/ 
  • src/gc/malloc.c

    diff --git a/src/gc/malloc.c b/src/gc/malloc.c
    index 2fd8edc..3d87b61 100644
    a b  
    145145       you would be far better off obtaining ptmalloc, which is 
    146146       derived from a version of this malloc, and is well-tuned for 
    147147       concurrent programs. (See http://www.malloc.de) Note that 
    148        even when USE_MALLOC_LOCK is defined, you can can guarantee 
     148       even when USE_MALLOC_LOCK is defined, you can guarantee 
    149149       full thread-safety only if no threads acquire memory through 
    150150       direct calls to MORECORE or other system-level allocators. 
    151151 
     
    376376#endif 
    377377 
    378378/* 
    379   The unsigned integer type used to hold addresses when they are are 
     379  The unsigned integer type used to hold addresses when they are 
    380380  manipulated as integers. Except that it is not defined on all 
    381381  systems, intptr_t would suffice. 
    382382*/ 
     
    833833  The main declaration needed is the mallinfo struct that is returned 
    834834  (by-copy) by mallinfo().  The SVID/XPG malloinfo struct contains a 
    835835  bunch of fields that are not even meaningful in this version of 
    836   malloc.  These fields are are instead filled by mallinfo() with 
     836  malloc.  These fields are instead filled by mallinfo() with 
    837837  other numbers that might be of interest. 
    838838 
    839839  HAVE_USR_INCLUDE_MALLOC_H should be set if you have a 
     
    22732273    To help compensate for the large number of bins, a one-level index 
    22742274    structure is used for bin-by-bin searching.  `binmap' is a 
    22752275    bitvector recording whether bins are definitely empty so they can 
    2276     be skipped over during during traversals.  The bits are NOT always 
     2276    be skipped over during traversals.  The bits are NOT always 
    22772277    cleared as soon as bins are empty, but instead only 
    22782278    when they are noticed to be empty during traversal in malloc. 
    22792279*/ 
     
    27192719      always true of any allocated chunk; i.e., that each allocated 
    27202720      chunk borders either a previously allocated and still in-use 
    27212721      chunk, or the base of its memory arena. This is ensured 
    2722       by making all allocations from the the `lowest' part of any found 
     2722      by making all allocations from the `lowest' part of any found 
    27232723      chunk.  This does not necessarily hold however for chunks 
    27242724      recycled via fastbins. 
    27252725    */ 
  • src/gc/system.c

    diff --git a/src/gc/system.c b/src/gc/system.c
    index 4e6b8ba..0446aa2 100644
    a b  
    110110           register windows. Store the code in a union with a double to 
    111111           ensure proper memory alignment. */ 
    112112        /* TT #271: This needs to be fixed in a variety of ways */ 
    113 /* Using inline assember if available instead of the hand-coded version. */ 
     113/* Using inline assembler if available instead of the hand-coded version. */ 
    114114#  if defined(__GNUC__) && (defined(__sparcv9) || defined(__sparcv9__) || defined(__arch64__)) 
    115115        asm("flushw"); 
    116116#  else 
  • src/interp/inter_create.c

    diff --git a/src/interp/inter_create.c b/src/interp/inter_create.c
    index 9a4250f..0965cf1 100644
    a b  
    543543 
    544544Provide access to a (possibly) valid interp pointer.  This is intended B<only> 
    545545for use cases when an interp is not available otherwise, which shouldn't be 
    546 often.  There are no guarantees about what what this function returns.  If you 
     546often.  There are no guarantees about what this function returns.  If you 
    547547have access to a valid interp, use that instead.  Don't use this for anything 
    548548other than error handling. 
    549549 
  • src/oo.c

    diff --git a/src/oo.c b/src/oo.c
    index 0247e3b..a04a19b 100644
    a b  
    12211221them. The C<role> parameter is the role that we are composing into the class 
    12221222or role. C<methods_hash> is the hash of method names to invokable PMCs that 
    12231223contains the methods the class or role has. C<roles_list> is the list of roles 
    1224 the the class or method does. 
     1224the class or method does. 
    12251225 
    12261226The C<role> parameter is only dealt with by its external interface. Whether 
    12271227this routine is usable by any other object system implemented in Parrot very 
  • src/ops/core.ops

    diff --git a/src/ops/core.ops b/src/ops/core.ops
    index 06215cd..4b0e56d 100644
    a b  
    972972 
    973973Fetch some piece of information about the interpreter and put it in $1. 
    974974Possible values for $2 are defined in F<runtime/parrot/include/interpinfo.pasm>. 
    975 The valid constants for each return value are (excluding the the .INTERPINFO_ 
     975The valid constants for each return value are (excluding the .INTERPINFO_ 
    976976prefix): 
    977977 
    978978=over 4 
  • src/platform/generic/entropy.c

    diff --git a/src/platform/generic/entropy.c b/src/platform/generic/entropy.c
    index ca266d5..24ec1fd 100644
    a b  
    4343    if (!urand_fh) { 
    4444        const char *msg = "Couldn't open /dev/urandom for reading."; 
    4545        /* This function is called during interp init, so use the GC registry 
    46          * as a way to figure out interp's initialziedness. 
     46         * as a way to figure out interp's initializedness. 
    4747         */ 
    4848        if (interp->gc_registry) 
    4949            Parrot_ex_throw_from_c_args(interp, NULL, 1, msg); 
  • src/platform/win32/entropy.c

    diff --git a/src/platform/win32/entropy.c b/src/platform/win32/entropy.c
    index 925627e..39b6f72 100644
    a b  
    4242    if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)){ 
    4343        const char *msg = "Couldn't crypt context."; 
    4444        /* This function is called during interp init, so use the GC registry 
    45          * as a way to figure out interp's initialziedness. 
     45         * as a way to figure out interp's initializedness. 
    4646         */ 
    4747        if (interp->gc_registry) 
    4848            Parrot_ex_throw_from_c_args(interp, NULL, 1, msg); 
  • src/platform/win32/io.c

    diff --git a/src/platform/win32/io.c b/src/platform/win32/io.c
    index e599752..6e68ddc 100644
    a b  
    549549        /* Redirect input to NULL. This is to avoid 
    550550         * interferences in case both the child and 
    551551         * the parent tries to read from stdin. 
    552          * May be unneccessary or even interfere 
     552         * May be unnecessary or even interfere 
    553553         * with valid usages, need more feedback. */ 
    554554        hnull = CreateFile("NUL", GENERIC_READ|GENERIC_WRITE, 
    555555                0, &sec, OPEN_EXISTING, 
  • src/pmc.c

    diff --git a/src/pmc.c b/src/pmc.c
    index 25d0173..7d21fd9 100644
    a b  
    692692participate in garbage collection, and mixing them with PMCs that are 
    693693garbage-collected will cause bugs. 
    694694 
    695 If you don't know what this means means, or you can't tell if either case 
     695If you don't know what this means, or you can't tell if either case 
    696696will happen as the result of any call you make on or with this PMC, 
    697697B<DO NOT> use this function, lest you cause weird crashes and memory errors. 
    698698Use C<Parrot_pmc_new()> instead. 
  • src/pmc/class.pmc

    diff --git a/src/pmc/class.pmc b/src/pmc/class.pmc
    index eb292a4..5b5c76a 100644
    a b  
    10811081 
    10821082=item namespace 
    10831083 
    1084 NameSpace PMC of the the namespace attached to the class. 
     1084NameSpace PMC of the namespace attached to the class. 
    10851085 
    10861086=item attributes 
    10871087 
  • src/pmc/env.pmc

    diff --git a/src/pmc/env.pmc b/src/pmc/env.pmc
    index 0d9b787..8fe74d9 100644
    a b  
    278278 
    279279=item C<void delete_keyed(PMC *key)> 
    280280 
    281 Deletes the the environment variable for C<*key>. 
     281Deletes the environment variable for C<*key>. 
    282282 
    283283=cut 
    284284 
  • src/pmc/eval.pmc

    diff --git a/src/pmc/eval.pmc b/src/pmc/eval.pmc
    index 5a49ced..3406542 100644
    a b  
    5353 
    5454=item C<void destroy()> 
    5555 
    56 Destroy the Eval and its asscociated bytecode. 
     56Destroy the Eval and its associated bytecode. 
    5757 
    5858=item C<void mark()> 
    5959 
  • src/pmc/hash.pmc

    diff --git a/src/pmc/hash.pmc b/src/pmc/hash.pmc
    index 2134d81..8395e1e 100644
    a b  
    12651265 
    12661266=item C<static void cannot_autovivify_nested(PARROT_INTERP)> 
    12671267 
    1268 Throw the appropiate exception. 
     1268Throw the appropriate exception. 
    12691269 
    12701270=cut 
    12711271 
  • src/pmc/mappedbytearray.pmc

    diff --git a/src/pmc/mappedbytearray.pmc b/src/pmc/mappedbytearray.pmc
    index 60cc2db..22c95c7 100644
    a b  
    77 
    88=head1 DESCRIPTION 
    99 
    10 A memory mapped file or shared memory segment accesible as array of bytes. 
     10A memory mapped file or shared memory segment accessible as array of bytes. 
    1111 
    1212Bare minimal functionality available, only for posix platforms 
    1313(tested on linux). 
     
    445445 
    446446=item C<static void unavailable(PARROT_INTERP, const char *msg)> 
    447447 
    448 Throws appropiately for functionality not available in the current platform. 
     448Throws appropriately for functionality not available in the current platform. 
    449449 
    450450=item C<static void * mapfromfilehandle(PIOHANDLE handle, unsigned long size, 
    451451int flag)> 
  • src/pmc/role.pmc

    diff --git a/src/pmc/role.pmc b/src/pmc/role.pmc
    index ce24d47..e469bcd 100644
    a b  
    392392 
    393393=item name - String PMC containing the name of the role 
    394394 
    395 =item namespce - NameSpace PMC of the the namespace attached to the role 
     395=item namespce - NameSpace PMC of the namespace attached to the role 
    396396 
    397397=item attributes - Hash keyed on attribute name, value is hash describing it 
    398398 
  • src/pmc/stringbuilder.pmc

    diff --git a/src/pmc/stringbuilder.pmc b/src/pmc/stringbuilder.pmc
    index 35b5c9f..e106569 100644
    a b  
    321321    VTABLE STRING *substr(INTVAL offset, INTVAL length) { 
    322322        STRING *buffer; 
    323323        GET_ATTR_buffer(INTERP, SELF, buffer); 
    324         /* We must clone here becase we can reallocate buffer behind the scene... */ 
     324        /* We must clone here because we can reallocate buffer behind the scene... */ 
    325325        /* TODO Optimize it to avoid creation of redundant STRING */ 
    326326        return Parrot_str_clone(INTERP, 
    327327                STRING_substr(INTERP, buffer, offset, length)); 
  • src/pmc/structview.pmc

    diff --git a/src/pmc/structview.pmc b/src/pmc/structview.pmc
    index 7c589b6..2658c5e 100644
    a b  
    956956        if ((size_t)p != ALIGN_UP((size_t)p, align)) 
    957957            Parrot_ex_throw_from_c_args(INTERP, NULL, 0, 
    958958                    "Attempt to dereference unaligned pointer " 
    959                         "(%x, required alignement: %d)", 
     959                        "(%x, required alignment: %d)", 
    960960                    p, align); 
    961961 
    962962        size = ALIGN_UP(size, align); 
     
    10061006            if ((size_t)p != ALIGN_UP((size_t)p, align)) 
    10071007                Parrot_ex_throw_from_c_args(INTERP, NULL, 0, 
    10081008                        "Attempt to dereference unaligned pointer " 
    1009                             "(%x, required alignement: %d)", 
     1009                            "(%x, required alignment: %d)", 
    10101010                        p, align); 
    10111011        } 
    10121012 
  • src/pmc/sub.pmc

    diff --git a/src/pmc/sub.pmc b/src/pmc/sub.pmc
    index 67d4f9c..241aff0 100644
    a b  
    10321032 
    10331033        PMC_get_sub(INTERP, SELF, sub); 
    10341034        /* 
    1035         XXX Rakudo's failing with with this code on ASSERT. Why??? 
     1035        XXX Rakudo's failing with this code on ASSERT. Why??? 
    10361036        GET_ATTR_namespace_stash(INTERP, SELF, _namespace); 
    10371037        PARROT_ASSERT(_namespace == sub->namespace_stash || !"consistency!!!"); 
    10381038        */ 
  • src/scheduler.c

    diff --git a/src/scheduler.c b/src/scheduler.c
    index ba22d9b..713f48b 100644
    a b  
    258258 
    259259=item C<PMC * Parrot_cx_peek_task(PARROT_INTERP)> 
    260260 
    261 Retrieve the the top task on the scheduler's task list, but don't remove it 
     261Retrieve the top task on the scheduler's task list, but don't remove it 
    262262from the list. 
    263263 
    264264=cut 
  • t/oo/objects.t

    diff --git a/t/oo/objects.t b/t/oo/objects.t
    index a03357a..0971bc3 100644
    a b  
    683683 
    684684.sub PMC_as_classes 
    685685    get_class $P0, "Integer" 
    686     ok( 1, "get_class of Integer did't croak" ) 
     686    ok( 1, "get_class of Integer didn't croak" ) 
    687687 
    688688    get_class $P0, "Integer" 
    689     ok( 1, "get_class of Integer did't croak second time" ) 
     689    ok( 1, "get_class of Integer didn't croak second time" ) 
    690690 
    691691    typeof $S0, $P0 
    692692    is( $S0, 'PMCProxy', 'typeof PMCProxy' ) 
  • t/op/literal.t

    diff --git a/t/op/literal.t b/t/op/literal.t
    index e1e5396..27f27e9 100644
    a b  
    1111 
    1212=head1 DESCRIPTION 
    1313 
    14 Tests the lexing of literal numbers.  Taken from from the 2nd 
     14Tests the lexing of literal numbers.  Taken from the 2nd 
    1515aoudad book (page 127). 
    1616 
    1717=cut 
  • t/op/sprintf.t

    diff --git a/t/op/sprintf.t b/t/op/sprintf.t
    index bacf0e3..db0e48e 100644
    a b  
    350350    local_branch jmpstack,  set_skip_loop 
    351351 
    352352    skip_info[114] = 'harness needs support for * modifier' 
    353     skip_info[144] = 'perl5 expresssion as test value' 
     353    skip_info[144] = 'perl5 expression as test value' 
    354354    skip_info[131] = 'harness needs support for * modifier' 
    355355    skip_info[141] = 'harness needs support for * modifier' 
    356356    skip_info[161] = 'harness needs support for * modifier' 
  • t/pmc/callcontext.t

    diff --git a/t/pmc/callcontext.t b/t/pmc/callcontext.t
    index cfb8fc1..fbc42ba 100644
    a b  
    280280    unshift $P0, $P1 
    281281    $P2 = shift $P0 
    282282 
    283     is($P2, 'derF', '... but not convert when unneccesary') 
     283    is($P2, 'derF', '... but not convert when unnecesary') 
    284284    $I0 = issame $P1, $P2 
    285285    ok($I0, '... returning the same item' ) 
    286286 
  • t/pmc/managedstruct.t

    diff --git a/t/pmc/managedstruct.t b/t/pmc/managedstruct.t
    index 389c1ff..675e561 100644
    a b  
    9292    is($I0, 1, "char val of 1 is correct") 
    9393    set $I0, $P0[0;1] 
    9494    is($I0, 2, "char val of 258 retrieved as 2") 
    95     # now acces that as a short 
     95    # now access that as a short 
    9696    new $P2, ['ResizablePMCArray'] 
    9797    push $P2, .DATATYPE_SHORT 
    9898    push $P2, 1 
  • t/pmc/mappedbytearray.t

    diff --git a/t/pmc/mappedbytearray.t b/t/pmc/mappedbytearray.t
    index 37aa53f..5fa0d03 100644
    a b  
    8080    mm = new ['MappedByteArray'], filename 
    8181 
    8282    $I0 = elements mm 
    83     # The test file is one line of text, and line ending may have beeen 
     83    # The test file is one line of text, and line ending may have been 
    8484    # converted, so the lenght can be one byte different. 
    8585    $I1 = $I0 == 43 
    8686    $I2 = $I0 == 44 
  • t/pmc/task.t

    diff --git a/t/pmc/task.t b/t/pmc/task.t
    index 4e5202f..7c0f503 100644
    a b  
    7777    print "\n" 
    7878 
    7979    $P2 = new ['String'] 
    80     $P2 = "aditional data" 
     80    $P2 = "additional data" 
    8181    setattribute $P0, 'data', $P2 
    8282 
    8383    $P2 = get_global 'code' 
  • t/tools/install/01-create_directories.t

    diff --git a/t/tools/install/01-create_directories.t b/t/tools/install/01-create_directories.t
    index 8d3386f..e866f6d 100644
    a b  
    7878 
    7979=head1 DESCRIPTION 
    8080 
    81 The files in this directory test functionality used by the the scripts 
     81The files in this directory test functionality used by the scripts 
    8282F<tools/dev/install_files.pl>, F<tools/dev/install_doc_files.pl> and F<tools/dev/install_dev_files.pl> 
    8383and are exported by F<lib/Parrot/Install.pm>. 
    8484 
  • t/tools/install/02-install_files.t

    diff --git a/t/tools/install/02-install_files.t b/t/tools/install/02-install_files.t
    index 20aa1be..d7969ef 100644
    a b  
    259259 
    260260=head1 DESCRIPTION 
    261261 
    262 The files in this directory test functionality used by the the scripts 
     262The files in this directory test functionality used by the scripts 
    263263F<tools/dev/install_files.pl>, F<tools/dev/install_doc_files.pl> and F<tools/dev/install_dev_files.pl> 
    264264and are exported by F<lib/Parrot/Install.pm>. 
    265265 
  • t/tools/install/03-lines_to_files.t

    diff --git a/t/tools/install/03-lines_to_files.t b/t/tools/install/03-lines_to_files.t
    index 46c8fe6..15f9b75 100644
    a b  
    208208 
    209209=head1 DESCRIPTION 
    210210 
    211 The files in this directory test functionality used by the the scripts 
     211The files in this directory test functionality used by the scripts 
    212212F<tools/dev/install_files.pl>, F<tools/dev/install_doc_files.pl> and F<tools/dev/install_dev_files.pl> 
    213213and are exported by F<lib/Parrot/Install.pm>. 
    214214 
  • tools/docs/make_html_docs.pl

    diff --git a/tools/docs/make_html_docs.pl b/tools/docs/make_html_docs.pl
    index fbc77dc..fce0d34 100644
    a b  
    202202 
    203203    my $outfile = File::Spec->catfile($target_dir, $outfilename) . '.html'; 
    204204 
    205     # replace make_path with legacy functional mkpath to accomodate older versions of Perl 
     205    # replace make_path with legacy functional mkpath to accommodate older versions of Perl 
    206206    my $dir = File::Path::mkpath(File::Basename::dirname($outfile)); 
    207207 
    208208    open my $out_fh, '>', $outfile; 
     
    307307 
    308308    my $outfile = File::Spec->catfile($target_dir, $input) . '.html'; 
    309309 
    310     # replace make_path with legacy functional mkpath to accomodate older versions of Perl 
     310    # replace make_path with legacy functional mkpath to accommodate older versions of Perl 
    311311    my $dir = File::Path::mkpath(File::Basename::dirname($outfile)); 
    312312 
    313313    open my $out_fh, '>', $outfile; 
  • tools/release/templates.json

    diff --git a/tools/release/templates.json b/tools/release/templates.json
    index c4a05c6..4b0b9e8 100644
    a b  
    3737we recommend <a href=\"@web.org_root@\">our organization page</a> on GitHub, 
    3838or you can go directly to the official Parrot Git repo on <a href=\"@web.repository@\">Github</a> 
    3939 
    40 To clone the the Parrot Git repo into a directory called 'parrot', use the following: 
     40To clone the Parrot Git repo into a directory called 'parrot', use the following: 
    4141<pre> 
    4242    git clone git://github.com/parrot/parrot.git 
    4343</pre>