correct spelling mistakes (#4405)
authorEdward Betts <edward@4angle.com>
Tue, 21 Feb 2017 11:03:07 +0000 (11:03 +0000)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 21 Feb 2017 11:03:07 +0000 (12:03 +0100)
15 files changed:
data/lock-decoder/LockTracerDecoder.cs
docs/abc-removal.txt
libgc/blacklst.c
libgc/doc/README.changes
libgc/doc/README.macros
libgc/mark.c
man/mdoc.5
man/mono.1
man/monodocer.1
man/sqlsharp.1
mcs/CodingStyle
mcs/class/README
mcs/class/System.Runtime.Caching/ReferenceSources/R.Designer.cs
mono/metadata/verify.c
mono/tests/verifier/make_tests.sh

index 08576f1a7de515eeda783c2936310d8288aa6629..1471ea511817cbed7af16759188a359021cf0ca8 100644 (file)
@@ -86,7 +86,7 @@ LOCK RULES
 Simple locks:
        Can be acquired at any point regardless of which locks are taken or not.
        No other locks can be acquired or released while holding a simple lock.
-       Reentrancy is not recomended. (warning)
+       Reentrancy is not recommended. (warning)
        Simple locks are leaf locks on the lock lattice.
 
 Complex locks:
@@ -129,7 +129,7 @@ ERROR: tried to acquire lock DomainLock at mono_domain_code_reserve_align while
 WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_class_from_name
 WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_image_add_to_name_cache
        Both of those happen when filling up the name_cache, as it needs to alloc image memory.
-       This one is fixable by spliting mono_image_init_name_cache into a locked and an unlocked variants and calling them appropriatedly.
+       This one is fixable by splitting mono_image_init_name_cache into a locked and an unlocked variants and calling them appropriately.
 
 */
 
index b44089c0de9ac4d5a5269fd91a6a4c8301f9c950..5c2ce91fd5f294e7a96b347bdb5f69200022c2c9 100755 (executable)
@@ -26,7 +26,7 @@ some combination of the two.
        
        To be clearer, and give an idea of what the algorithm can and
        cannot do without describing it in detail... keep in mind that
-       only "redunant" checks cannot be removed. By "redundant", I
+       only "redundant" checks cannot be removed. By "redundant", I
        mean "already explicitly checked" in the method code.
        
        Unfortunately, analyzing complex expressions is not so easy
@@ -136,7 +136,7 @@ some combination of the two.
        In the first case, the BB has exactly two exit BBs, and their
        execution conditions are easy to get from the condition of the
        branch (see the "get_relation_from_branch_instruction"
-       function, and expecially the end of "analyze_block" in
+       function, and especially the end of "analyze_block" in
        abcremoval.c.
 
        If there is a switch, the jump condition of every exit BB is
@@ -303,7 +303,7 @@ some combination of the two.
        each BB tried to examine all possible conditions between all
        variables, filling a sort of "evaluation matrix". The problem
        was that the complexity of this evaluation was quadratic (or
-       worse) on the number of variables, and that many wariables
+       worse) on the number of variables, and that many variables
        were examined even if they were not involved in any array
        access.
        
@@ -332,7 +332,7 @@ some combination of the two.
 
                    [1b] Prepare the evaluation graph (empty)
 
-                   [1b] Summarize each varible definition, and put
+                   [1b] Summarize each variable definition, and put
                         the resulting relations in the evaluation
                         graph
 
index ae2f95cb3fe207d911dade789078327631f59aad..5e6ebcfb7a3de6675a593ee8234dff848eed4172 100644 (file)
@@ -21,7 +21,7 @@
  * See the definition of page_hash_table in gc_private.h.
  * False hits from the stack(s) are much more dangerous than false hits
  * from elsewhere, since the former can pin a large object that spans the
- * block, eventhough it does not start on the dangerous block.
+ * block, even though it does not start on the dangerous block.
  */
  
 /*
index fa6f279f518a5fac4b4778e9e869e4d82bb0539c..c30d2fc2184751a5b49d4b1c65c76655d8af6006 100644 (file)
@@ -1872,7 +1872,7 @@ Since 6.2alpha6:
  - Fixed Makefile.direct for DARWIN.  (Thanks to Manuel Serrano.)
  - There was a race between GC_pthread_detach and thread exit that could
    result in a thread structure being deallocated by GC_pthread_detach
-   eventhough it was still needed by the thread exit code.  (Thanks to
+   even though it was still needed by the thread exit code.  (Thanks to
    Dick Porter for the small test case that allowed this to be debugged.)
  - Fixed version parsing for non-alpha versions in acinclude.m4 and
    version checking in version.h.
index df0ef2cda933f68b5f2b37552a000182d38b1a5d..153a3e0f91465424070641164eae24bd5b70ae9b 100644 (file)
@@ -19,7 +19,7 @@ relatively easy to adapt to new compilers with a different set of predefined
 macros.  Currently these macros generally identify platforms instead of
 features.  In many cases, this is a mistake.
 
-3) The code currently avoids #elif, eventhough that would make it more
+3) The code currently avoids #elif, even though that would make it more
 readable.  This was done since #elif would need to be understood by ALL
 compilers used to build the collector, and that hasn't always been the case.
 It makes sense to reconsider this decision at some point, since #elif has been
index e14e5296c59f76d309ed7c7bc0d6c745019cde32..e870342e4121c2b7a92f56813605ef042502ed5f 100644 (file)
@@ -936,7 +936,7 @@ void GC_do_local_mark(mse *local_mark_stack, mse *local_top)
            /* Try to share the load, since the main stack is empty,    */
            /* and helper threads are waiting for a refill.             */
            /* The entries near the bottom of the stack are likely      */
-           /* to require more work.  Thus we return those, eventhough  */
+           /* to require more work.  Thus we return those, even though */
            /* it's harder.                                             */
            mse * p;
            mse * new_bottom = local_mark_stack
index 440fc15a39793c8747007e4fb31ec825cfcd5c0a..3cd4bbea5558369f244d1873b7f220ec20c73074 100644 (file)
@@ -765,7 +765,7 @@ Refers to a namespace, e.g. \fIN:System\fR.
 .I "P:"
 Refers to a property.  If the property is an indexer or takes parameters, 
 the parameter types are appended to the property name and enclosed with
-paranthesis:
+parenthesis:
 \fIP:System.String.Length\fR,
 \fIP:System.String.Chars(System.Int32)\fR.
 .TP
index 7b8506ae8a79cab065329ba92625b5323f0a1ecc..4c99a8dd0d8ffe38e12cbaf81b7a5710da13c1f0 100644 (file)
@@ -609,7 +609,7 @@ Finally, namespaces can be specified using the N: prefix:
 Don't align stack frames on the x86 architecture.  By default, Mono
 aligns stack frames to 16 bytes on x86, so that local floating point
 and SIMD variables can be properly aligned.  This option turns off the
-alignment, which usually saves one intruction per call, but might
+alignment, which usually saves one instruction per call, but might
 result in significantly lower floating point and SIMD performance.
 .TP
 \fB--jitmap\fR
index 19d740305271c612aa69fc4b55dfafeb2a6d06be..8bbc34cb239284d9e71ff9bd8f078fcd93bde9cc 100644 (file)
@@ -237,7 +237,7 @@ to the type name, while methods append the method name (with an optional count
 of the number of generic parameters).
 .Sp
 If the constructor or method take arguments, these are listed within
-paranthesis after the constructor/method name:
+parenthesis after the constructor/method name:
 .Sp
 .I M:System.Object..ctor
 ,
@@ -259,7 +259,7 @@ Refers to a namespace, e.g.
 .I "P:"
 Refers to a property.  If the property is an indexer or takes parameters, 
 the parameter types are appended to the property name and enclosed with
-paranthesis:
+parenthesis:
 .I P:System.String.Length
 ,
 .I P:System.String.Chars(System.Int32)
index 4bf500ffd4a16a81c625ac2829e912449a895def..008fddbfc5c8253582e0ced767c1faf0f6379b55 100644 (file)
@@ -407,7 +407,7 @@ mysql      MySQL AB      MySql.Data.MySqlClient     MySql.Data
 NOTES:
 
 Ngsql is the .Net Data Provider for PosgreSQL.  The
-latest verison can be downloaded from 
+latest version can be downloaded from
 http://npgsql.projects.postgresql.org/
 
 MySql.Data is the MySQL Connector/Net for connecting to MySql databases.
index 9d2deb9122f88a1b0759a16c4ba42b6c9272a885..54aa55d1545c99752cfe3e7e1de9bc181fafd8fc 100644 (file)
                                        code ();
                                }
 
-               * Avoid using unecessary open/close braces, vertical space
+               * Avoid using unnecessary open/close braces, vertical space
                  is usually limited:
 
                        good:
@@ -474,4 +474,4 @@ class X : Y {
                 MyHelperClass.cli.cs
                 MyHelperClass.jvm.cs
 
-       By using partial classes.
\ No newline at end of file
+       By using partial classes.
index efebe9ad5a9acc314ec75efbb1ffda5a9fb1ba7f..421c04da2bfd3b360a1fd5f2c9b17adfde0b221e 100644 (file)
@@ -134,7 +134,7 @@ testing.
                                        code ();
                                }
 
-               * Avoid using unecessary open/close braces, vertical space
+               * Avoid using unnecessary open/close braces, vertical space
                  is usually limited:
 
                        good:
index 1a7d41de48d6b5f4c38838283c41fa5d55f73142..2fdeb9969656bcd1bf22f81cebb0487603ef7f46 100644 (file)
@@ -1,5 +1,5 @@
 // This is a copy of external/referencesource/System.Runtime.Caching/Resources/R.Designer.cs
-// This verison does not use ResourceManager, instead it uses hard coded strings.
+// This version does not use ResourceManager, instead it uses hard coded strings.
 // This should be removed once Mono has access to .NET resources.
 
 namespace System.Runtime.Caching.Resources {
index f826b7965e77f86719fd45b5d15f4545286801b0..e2cec88115b46804b96d1ec856b029954428da35 100644 (file)
@@ -5945,7 +5945,7 @@ mono_method_verify (MonoMethod *method, int level)
        for (i = 0; i < ctx.code_size && i < ip_offset; ++i) {
                if (ctx.code [i].flags & IL_CODE_FLAG_WAS_TARGET) {
                        if (!(ctx.code [i].flags & IL_CODE_FLAG_SEEN))
-                               ADD_VERIFY_ERROR (&ctx, g_strdup_printf ("Branch or exception block target middle of intruction at 0x%04x", i));
+                               ADD_VERIFY_ERROR (&ctx, g_strdup_printf ("Branch or exception block target middle of instruction at 0x%04x", i));
 
                        if (ctx.code [i].flags & IL_CODE_DELEGATE_SEQUENCE)
                                CODE_NOT_VERIFIABLE (&ctx, g_strdup_printf ("Branch to delegate code sequence at 0x%04x", i));
index 25dd54a92576e995e679a27356d15ee6c9f19bea..ccad6f00ddb385a62e48f1cd831f690a00a11a6a 100755 (executable)
@@ -3414,7 +3414,7 @@ done
 
 ./make_exception_overlap_test.sh exception_entry_overlap_try_over_filter invalid ".try TRY_BLOCK_1 to FILTER_BLOCK_3_A filter FILTER_BLOCK_3 handler CATCH_BLOCK_1 to CATCH_BLOCK_1_END" ".try TRY_BLOCK_2 to TRY_BLOCK_2_END catch [mscorlib]System.Exception handler CATCH_BLOCK_2 to CATCH_BLOCK_2_END" "yes"
 
-#blocks start in the middle of an intruction
+#blocks start in the middle of an instruction
 ./make_exception_overlap_test.sh try_block_start_in_the_middle_of_a_instruction invalid ".try AFTER_PREFIX_1 to TRY_BLOCK_1_END catch [mscorlib]System.Exception handler CATCH_BLOCK_1 to CATCH_BLOCK_1_END" ".try TRY_BLOCK_2 to TRY_BLOCK_2_END catch [mscorlib]System.Exception handler CATCH_BLOCK_2 to CATCH_BLOCK_2_END"
 
 ./make_exception_overlap_test.sh catch_block_start_in_the_middle_of_a_instruction invalid ".try TRY_BLOCK_1 to TRY_BLOCK_1_END catch [mscorlib]System.Exception handler AFTER_PREFIX_2 to CATCH_BLOCK_1_END" ".try TRY_BLOCK_2 to TRY_BLOCK_2_END catch [mscorlib]System.Exception handler CATCH_BLOCK_2 to CATCH_BLOCK_2_END"