Skip to content

Commit

Permalink
Fix some typos (most found by codespell)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Feb 24, 2021
1 parent 91f12b5 commit 6609ce9
Show file tree
Hide file tree
Showing 29 changed files with 72 additions and 72 deletions.
2 changes: 1 addition & 1 deletion clients/flex/com/adobe/air/filesystem/FileUtil.as
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ package com.adobe.air.filesystem
}
else if(os.indexOf("Linux") > -1)
{
//todo: need to impliment Linux
//todo: need to implement Linux
}

return v;
Expand Down
2 changes: 1 addition & 1 deletion clients/flex/com/adobe/air/filesystem/VolumeMonitor.as
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ package com.adobe.air.filesystem
timer.addEventListener(TimerEvent.TIMER, onTimerEvent,false,0, true);
}

//we reinitialize the hash everytime we start watching
//we reinitialize the hash every time we start watching
volumes = new Dictionary();

var v:Array = FileUtil.getRootDirectories();
Expand Down
4 changes: 2 additions & 2 deletions clients/flex/com/adobe/net/DynamicURLLoader.as
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ package com.adobe.net
import flash.net.URLLoader;

/**
* Class that provides a dynamic implimentation of the URLLoader class.
* Class that provides a dynamic implementation of the URLLoader class.
*
* This class provides no API implimentations. However, since the class is
* This class provides no API implementations. However, since the class is
* declared as dynamic, it can be used in place of URLLoader, and allow
* you to dynamically attach properties to it (which URLLoader does not allow).
*
Expand Down
2 changes: 1 addition & 1 deletion clients/flex/com/adobe/net/MimeTypeMap.as
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ package com.adobe.net
}

/**
* Returns the prefered extension for the given mimetype.
* Returns the preferred extension for the given mimetype.
*/
public function getExtension(mimetype:String):String
{
Expand Down
12 changes: 6 additions & 6 deletions clients/flex/com/adobe/net/URI.as
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ package com.adobe.net
* URI syntax (e.g. custom query syntax or special handling of
* non-hierarchical URI's), this class can be fully subclassed. If you
* intended to subclass URI, please see the source code for complete
* documation on protected members and protected fuctions.</p>
* documentation on protected members and protected functions.</p>
*
* @langversion ActionScript 3.0
* @playerversion Flash 9.0
Expand Down Expand Up @@ -203,7 +203,7 @@ package com.adobe.net


/**
* @private Private initializiation.
* @private Private initialization.
*/
protected function initialize() : void
{
Expand Down Expand Up @@ -332,7 +332,7 @@ package com.adobe.net
* well formed. Sometimes characters that should have been escaped
* are not, and those situations would break a regexp pattern. This
* function attempts to be smart about what it is parsing based on
* location of characters relative to eachother. This function has
* location of characters relative to each other. This function has
* been proven through real-world use to parse the vast majority
* of URI's correctly.
*
Expand Down Expand Up @@ -835,7 +835,7 @@ package com.adobe.net
* to be properly escaped and unescaped, it must be split into its
* component parts. This accessor escapes/unescapes the entire query
* part without regard for it's component parts. This has the
* possibliity of leaving the query string in an ambiguious state in
* possibliity of leaving the query string in an ambiguous state in
* regards to its syntax. If the contents of the query part are
* important, it is recommended that get/setQueryValue() or
* get/setQueryByMap() are used instead.</p>
Expand Down Expand Up @@ -2340,7 +2340,7 @@ package com.adobe.net
* <p>This function is intended to be a helper function.
* It is not all-knowning and will probably make mistakes
* when attempting to parse a string of unknown origin. If
* your applicaiton is receiving input from the user, your
* your application is receiving input from the user, your
* application should already have a good idea what the user
* should be entering, and your application should be
* pre-processing the user's input to make sure it is well formed
Expand All @@ -2354,7 +2354,7 @@ package com.adobe.net
* on a URI that was created from unknownToURI() may not match
* the input string due to the difference in escaping.</p>
*
* @param unknown a potental URI string that should be parsed
* @param unknown a potential URI string that should be parsed
* and loaded into this object.
* @param defaultScheme if it is determined that the passed string
* looks like a URI, but it is missing the scheme part, this
Expand Down
2 changes: 1 addition & 1 deletion clients/flex/com/adobe/serialization/json/JSONEncoder.as
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ package com.adobe.serialization.json
}

/**
* Escapes a string accoding to the JSON specification.
* Escapes a string according to the JSON specification.
*
* @param str The string to be escaped
* @return The string with escaped special characters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ package com.adobe.serialization.json {
/**
* Constructs a new JSONParseError.
*
* @param message The error message that occured during parsing
* @param message The error message that occurred during parsing
* @langversion ActionScript 3.0
* @playerversion Flash 9.0
* @tiptext
Expand Down
10 changes: 5 additions & 5 deletions clients/flex/com/adobe/utils/DateUtil.as
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ package com.adobe.utils
* @param Optional parameter indicating whether the search should be case
* sensitive
*
* @return A int that represents that month represented by the specifed
* @return A int that represents that month represented by the specified
* short name.
*
* @langversion ActionScript 3.0
Expand Down Expand Up @@ -114,7 +114,7 @@ package com.adobe.utils
*
* @param m A full month name.
*
* @return A int that represents that month represented by the specifed
* @return A int that represents that month represented by the specified
* full month name.
*
* @langversion ActionScript 3.0
Expand Down Expand Up @@ -154,7 +154,7 @@ package com.adobe.utils
*
* @param m A short day name.
*
* @return A int that represents that short day represented by the specifed
* @return A int that represents that short day represented by the specified
* full month name.
*
* @langversion ActionScript 3.0
Expand Down Expand Up @@ -194,7 +194,7 @@ package com.adobe.utils
*
* @param m A full day name.
*
* @return A int that represents that full day represented by the specifed
* @return A int that represents that full day represented by the specified
* full month name.
*
* @langversion ActionScript 3.0
Expand Down Expand Up @@ -675,7 +675,7 @@ package com.adobe.utils
}

/**
* Converts a date into just befor midnight.
* Converts a date into just before midnight.
*/
public static function makeNight(d:Date):Date
{
Expand Down
6 changes: 3 additions & 3 deletions clients/flex/com/adobe/utils/StringUtil.as
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ package com.adobe.utils
* @param input The String whose beginning and ending whitespace will
* will be removed.
*
* @returns A String with whitespace removed from the begining and end
* @returns A String with whitespace removed from the beginning and end
*
* @langversion ActionScript 3.0
* @playerversion Flash 9.0
Expand All @@ -95,7 +95,7 @@ package com.adobe.utils
*
* @param input The String whose beginning whitespace will will be removed.
*
* @returns A String with whitespace removed from the begining
* @returns A String with whitespace removed from the beginning
*
* @langversion ActionScript 3.0
* @playerversion Flash 9.0
Expand Down Expand Up @@ -236,4 +236,4 @@ package com.adobe.utils
return (s != null && s.length > 0);
}
}
}
}
20 changes: 10 additions & 10 deletions clients/flex/jquery-1.4.2.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ jQuery.extend({

noop: function() {},

// Evalulates a script in a global context
// Evaluates a script in a global context
globalEval: function( data ) {
if ( data && rnotwhite.test(data) ) {
// Inspired by code by Andrea Giammarchi
Expand Down Expand Up @@ -855,7 +855,7 @@ function now() {
htmlSerialize: !!div.getElementsByTagName("link").length,

// Get the style information from getAttribute
// (IE uses .cssText insted)
// (IE uses .cssText instead)
style: /red/.test( a.getAttribute("style") ),

// Make sure that URLs aren't manipulated
Expand Down Expand Up @@ -1310,7 +1310,7 @@ jQuery.fn.extend({
classNames = value.split( rspace );

while ( (className = classNames[ i++ ]) ) {
// check each className given, space seperated list
// check each className given, space separated list
state = isBool ? state : !self.hasClass( className );
self[ state ? "addClass" : "removeClass" ]( className );
}
Expand Down Expand Up @@ -1364,7 +1364,7 @@ jQuery.fn.extend({
var option = options[ i ];

if ( option.selected ) {
// Get the specifc value for the option
// Get the specific value for the option
value = jQuery(option).val();

// We don't need an array for one selects
Expand Down Expand Up @@ -2636,7 +2636,7 @@ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^
baseHasDuplicate = true;

// Here we check if the JavaScript engine is using some sort of
// optimization where it does not always call our comparision
// optimization where it does not always call our comparison
// function. If that is the case, discard the hasDuplicate value.
// Thus far that includes Google Chrome.
[0, 0].sort(function(){
Expand Down Expand Up @@ -3415,7 +3415,7 @@ if ( document.documentElement.compareDocumentPosition ) {
};
}

// Utility function for retreiving the text value of an array of DOM nodes
// Utility function for retrieving the text value of an array of DOM nodes
function getText( elems ) {
var ret = "", elem;

Expand Down Expand Up @@ -4149,7 +4149,7 @@ jQuery.fn.extend({
if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {
// IE copies events bound via attachEvent when
// using cloneNode. Calling detachEvent on the
// clone will also remove the events from the orignal
// clone will also remove the events from the original
// In order to get around this, we use innerHTML.
// Unfortunately, this means some modifications to
// attributes in IE that are actually only stored
Expand Down Expand Up @@ -4886,7 +4886,7 @@ jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".sp
jQuery.extend({

get: function( url, data, callback, type ) {
// shift arguments if data argument was omited
// shift arguments if data argument was omitted
if ( jQuery.isFunction( data ) ) {
type = type || callback;
callback = data;
Expand All @@ -4911,7 +4911,7 @@ jQuery.extend({
},

post: function( url, data, callback, type ) {
// shift arguments if data argument was omited
// shift arguments if data argument was omitted
if ( jQuery.isFunction( data ) ) {
type = type || callback;
callback = data;
Expand Down Expand Up @@ -4948,7 +4948,7 @@ jQuery.extend({
// Create the request object; Microsoft failed to properly
// implement the XMLHttpRequest in IE7 (can't request local files),
// so we use the ActiveXObject when it is available
// This function can be overriden by calling jQuery.ajaxSetup
// This function can be overridden by calling jQuery.ajaxSetup
xhr: window.XMLHttpRequest && (window.location.protocol !== "file:" || !window.ActiveXObject) ?
function() {
return new window.XMLHttpRequest();
Expand Down
2 changes: 1 addition & 1 deletion clients/flex/jquery.tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
function updateWrapped( options, wrapped ) {
// Build the wrapped content.
options._wrap = build( options, true,
// Suport imperative scenario in which options.wrapped can be set to a selector or an HTML string.
// Support imperative scenario in which options.wrapped can be set to a selector or an HTML string.
jQuery.isArray( wrapped ) ? wrapped : [htmlExpr.test( wrapped ) ? wrapped : jQuery( wrapped ).html()]
).join("");
}
Expand Down
2 changes: 1 addition & 1 deletion conf/curl/autoload_configs/conference.conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<!-- 'say:' will be considered text to say with TTS -->
<!-- Set a default path here so you can use relative paths in the other sound params-->
<param name="sound-prefix" value="$${sound_prefix}"/>
<!-- File to play to acknowledge succees -->
<!-- File to play to acknowledge success -->
<!--<param name="ack-sound" value="beep.wav"/>-->
<!-- File to play to acknowledge failure -->
<!--<param name="nack-sound" value="beeperr.wav"/>-->
Expand Down
2 changes: 1 addition & 1 deletion conf/curl/autoload_configs/xml_cdr.conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- optional: credentials to send to web server -->
<!-- <param name="cred" value="user:pass"/> -->

<!-- the total number of retries (not counting the first 'try') to post to webserver incase of failure -->
<!-- the total number of retries (not counting the first 'try') to post to webserver in case of failure -->
<!-- <param name="retries" value="2"/> -->

<!-- delay between retries in seconds, default is 5 seconds -->
Expand Down
2 changes: 1 addition & 1 deletion conf/insideout/autoload_configs/conference.conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<!-- 'say:' will be considered text to say with TTS -->
<!-- Set a default path here so you can use relative paths in the other sound params-->
<param name="sound-prefix" value="$${sound_prefix}"/>
<!-- File to play to acknowledge succees -->
<!-- File to play to acknowledge success -->
<!--<param name="ack-sound" value="beep.wav"/>-->
<!-- File to play to acknowledge failure -->
<!--<param name="nack-sound" value="beeperr.wav"/>-->
Expand Down
2 changes: 1 addition & 1 deletion conf/insideout/autoload_configs/xml_cdr.conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- optional: credentials to send to web server -->
<!-- <param name="cred" value="user:pass"/> -->

<!-- the total number of retries (not counting the first 'try') to post to webserver incase of failure -->
<!-- the total number of retries (not counting the first 'try') to post to webserver in case of failure -->
<!-- <param name="retries" value="2"/> -->

<!-- delay between retries in seconds, default is 5 seconds -->
Expand Down
4 changes: 2 additions & 2 deletions conf/insideout/dialplan/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
NOTICE:
This context is usually accessed via authenticated callers on the sip profile on port 5060
or transfered callers from the public context which arrived via the sip profile on port 5080.
or transferred callers from the public context which arrived via the sip profile on port 5080.
Authenticated users will use the user_context variable on the user to determine what context
they can access. You can also add a user in the directory with the cidr= attribute acl.conf.xml
Expand Down Expand Up @@ -330,7 +330,7 @@
</extension>

<!-- Create a conference on the fly and pull someone in at the same time. -->
<extension name="dyanmic conference">
<extension name="dynamic conference">
<condition field="destination_number" expression="^5001$">
<action application="conference" data="bridge:mydynaconf:sofia/${use_profile}/[email protected]"/>
</condition>
Expand Down
2 changes: 1 addition & 1 deletion conf/rayo/autoload_configs/conference.conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<!-- Override the default path here, after which you use relative paths in the other sound params -->
<!-- Note: The default path is the conference's first caller's sound_prefix -->
<!--<param name="sound-prefix" value="$${sound_prefix}"/>-->
<!-- File to play to acknowledge succees -->
<!-- File to play to acknowledge success -->
<!--<param name="ack-sound" value="beep.wav"/>-->
<!-- File to play to acknowledge failure -->
<!--<param name="nack-sound" value="beeperr.wav"/>-->
Expand Down
2 changes: 1 addition & 1 deletion conf/rayo/autoload_configs/spandsp.conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
2) copy conf/config.FS0 to /var/spool/hylafax/etc (or wherver the appropriate dir is on your system)
Subsequent modem configs would incrment the 0 to 1 and so on.
Subsequent modem configs would increment the 0 to 1 and so on.
-->
<param name="total-modems" value="0"/>
Expand Down
2 changes: 1 addition & 1 deletion debian/README.source
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The format of debian/modules.conf is:
Building the Debian packaging
-----------------------------

If you want actualy Debian binary or source packages to upload to your
If you want actually Debian binary or source packages to upload to your
own repository, you'll need to build them as described here. We have
some fancy automatic tools to accomplish this. The tools allow you to
start from a very bare Debian image and generate working packages.
Expand Down
2 changes: 1 addition & 1 deletion docker/base_image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ systemd enable freeswitch-docker.service

.bashrc file
------------
To simplify freeswitch managment you can add alias for ```fs_cli``` to ```.bashrc``` file as example bellow.
To simplify freeswitch management you can add alias for ```fs_cli``` to ```.bashrc``` file as example bellow.
```sh
alias fs_cli='docker exec -i -t freeswitch /usr/bin/fs_cli'
```
Expand Down
4 changes: 2 additions & 2 deletions docker/base_image/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ wget_helper() {
local SOUND_FILE=$1
grep -q $SOUND_FILE /usr/share/freeswitch/sounds/soundfiles_present.txt 2> /dev/null
if [ "$?" -eq 0 ]; then
echo "Skiping download of $SOUND_FILE. Already present"
echo "Skipping download of $SOUND_FILE. Already present"
return
fi
wget $BASEURL/$SOUND_FILE
Expand Down Expand Up @@ -99,7 +99,7 @@ SOUND_RATES=$(echo "$SOUND_RATES" | sed -e 's/:/\n/g')
SOUND_TYPES=$(echo "$SOUND_TYPES" | sed -e 's/:/\n/g')

if [ -z "$SOUND_RATES" -o -z "$SOUND_TYPES" ]; then
echo "Environment variables 'SOUND_RATES' or 'SOUND_TYPES' not defined. Skiping sound files checking."
echo "Environment variables 'SOUND_RATES' or 'SOUND_TYPES' not defined. Skipping sound files checking."
else
download_sound_types
extract_sound_files
Expand Down
Loading

0 comments on commit 6609ce9

Please sign in to comment.