Skip to content

Commit

Permalink
Fix various documentation and source comment typos (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored Dec 5, 2021
1 parent 8fd8128 commit 1a0e976
Show file tree
Hide file tree
Showing 205 changed files with 434 additions and 434 deletions.
2 changes: 1 addition & 1 deletion BUILDING_MACOSX.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WXVERSION=svn WXPORT=cocoa MULECLEAN=YES ../src/utils/scripts/MacOSX/full_build.


Those commands would build a MacOSX 10.6 (Snow Leopard) compatible application bundle for aMule and aMuleGUI
using the architecture of the build system ( i386 or x86_64 ), with the latest SVN vesion of wxWidgets.
using the architecture of the build system ( i386 or x86_64 ), with the latest SVN version of wxWidgets.

Other parameters are explained upon execution of the script.

Expand Down
6 changes: 3 additions & 3 deletions README.Debian-Packages
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ amule-utils-gui Creates the Metapackage for the graphical utilities and all the
* alc
* remotegui
* wxcas
i18n-<lang> Builds the coresponding i18n-packge. Lang has to be one of ar, ast, bg, ca, cs,
i18n-<lang> Builds the corresponding i18n-packge. Lang has to be one of ar, ast, bg, ca, cs,
da, de, el, es, et-ee, eu, fi, fr, gl, he, hr, hu, it, it-ch, ja, ko-kr, lt, nl,
nn, pl, pt-br, pt-pt, ro, ru, sl, sq, sv, tr, uk, zh-cn or zh-tw
If no i18n-package is given, all will be build.
If you just want en_GB, use i18n-en-only

If one of the -dbg targets is choosen, the corresponding binary will be built, too. In this case,
debugging is enabled, optimising is disabled. Is no -dbg target choosen, debugging is disabled,
If one of the -dbg targets is chosen, the corresponding binary will be built, too. In this case,
debugging is enabled, optimising is disabled. Is no -dbg target chosen, debugging is disabled,
optimising is enabled.

If you choose to just build a few packages, you have to explicit activate ed2k or xas if
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ You can contribute to aMule several ways:
[translate aMule's documentation][9] to your language.
* Fixing the wiki. aMule's wiki contains a lot of old, outdated information,
that is simply not true anymore. One should read through the pages, update
manuals and references and remove obsolate information.
manuals and references and remove obsolete information.

[6]: https://github.com/amule-project/amule/pulls "aMule Pull Requests"
[7]: http://wiki.amule.org/wiki/Translations "Translating aMule"
Expand Down
4 changes: 2 additions & 2 deletions amule_build_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function lookup_distro {
#echo $2 # evaluates to XXX_FILENAME
#echo ${!2} # evaluates to /home/user/dir/xxx-y.z.t.tar.gz

# remove the directory and the extension parts and assing it
# remove the directory and the extension parts and assign it
# to XXX_DISTRO in $3
case ${!2} in
*.gz)
Expand Down Expand Up @@ -92,7 +92,7 @@ function init_package_versions {
lookup_distro 'aMule-*' AMULE_FILENAME AMULE_DISTRO

echo
echo "Software packacge versions:"
echo "Software package versions:"
echo " cryptopp : $CRYPTOPP_DISTRO"
echo " libupnp : $LIBUPNP_DISTRO"
echo " wxWidgets : $WXWIDGETS_DISTRO"
Expand Down
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if expr "$confver" \> "$gettext_version" >/dev/null; then
exit 1
fi

# Force intl regenration to get last update from installed gettext templates
# Force intl regeneration to get last update from installed gettext templates
rm -rf intl/*
#if [ ! -d intl ]; then
echo "Setting up internationalization files."
Expand Down
2 changes: 1 addition & 1 deletion cmake/wx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# findWX module supports check of version
#
# Furthermore it sets the LIBS, LIBDIR and DEFS needed for compilation.
# This can be controled by setting wx_NEED_BASE and wx_NEED_GUI vars.
# This can be controlled by setting wx_NEED_BASE and wx_NEED_GUI vars.
#

include (CheckCXXSymbolExists)
Expand Down
2 changes: 1 addition & 1 deletion debian/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Make the packages that are ever build chooseable, too.
Make a useable Startscript
Add support for ed2k in the various browsers with debconf
More cleanup
Let the theme for amuleweb be choosen by debconf
Let the theme for amuleweb be chosen by debconf
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ Copyright (c) Venkatesha Murthy G.
src/RandomFunctions.cpp
src/OtherFunctions.cpp

No Information aviable for
No Information available for
aMule.app/Contents/Frameworks/libixml.2.dylib
aMule.app/Contents/Frameworks/libthreadutil.2.dylib
aMule.app/Contents/Frameworks/libupnp.3.dylib
Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ plasmamule: amule-plasmamule-package
plasmamule-dbgsym: amule-plasmamule-dbgsym
touch @

#Here come the Targets for the langauge packages
#Here come the Targets for the language packages
i18n-%: amule-i18n-% ;

amule-i18n-%: amule-common
Expand Down
2 changes: 1 addition & 1 deletion docs/Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@ Version 2.1.2 - The "We're on fire!" version
the sharedfiles list showing a 'has-comment' flag.
* Compilation fix for GCC 3.2.
* Fixed CheckDirExists not working for root-paths (on both windows and
linux) and not handling all types of path-seperators on windows.
linux) and not handling all types of path-separators on windows.
* Fixed security problems with aMuleWeb:
* All images could be accessed, even when not logged in, and this
included dynamically generated images, such as progress bars and
Expand Down
2 changes: 1 addition & 1 deletion docs/EC_Protocol.txt
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ Section 3: Clarifying things
00 20 [...] EC_TAG_STATS_TOTAL_DL_COUNT
00 26 [...] EC_TAG_STATS_UL_QUEUE_LEN
00 24 [...] EC_TAG_STATS_BANNED_COUNT
And now the interesing part:
And now the interesting part:
00 13 EC_TAG_CONNSTATE. Note, that all tagnames are even numbers, so when
we find an odd number, the true tag name is <found>-1. EC_TAG_CONNSTATE = 0x0012,
and 0x0013 - 1 = 0x0012, so it is really this one. The tagname being an odd number
Expand Down
2 changes: 1 addition & 1 deletion docs/INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
ADVANCED OPTIONS
------------------

These are some of the availabe configure options:
These are some of the available configure options:

--disable-debug disable additional debugging output
--enable-optimize enable code optimizing
Expand Down
2 changes: 1 addition & 1 deletion docs/README
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
If these are non-functional, simply google for 'server.met'.


Tranfers icons
Transfers icons
----------------
To find descriptions of the various icons found inside aMule, take a look at
http://wiki.amule.org/wiki/Getting_Started#Icons_and_What_They_Signify
Expand Down
2 changes: 1 addition & 1 deletion docs/man/amulecmd.1
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Normal priority.
.SS_untranslated Progress
Shows the progress of an on\-going search.
.SS_untranslated Quit
A synonim of the \fBexit\fR command.
A synonym of the \fBexit\fR command.
.SS Reload \fI<what>\fP
Reloads a given object.

Expand Down
2 changes: 1 addition & 1 deletion m4/gettext.m4
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
fi
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
# Hide the ALL_LINGUAS assigment from automake.
# Hide the ALL_LINGUAS assignment from automake.
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
fi
case "$ac_given_srcdir" in
Expand Down
2 changes: 1 addition & 1 deletion m4/muleboost.m4
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ esac
# Adds a configure flag --with-boost[=DIR]. You may optionally specify the
# location of boost headers (or sources), if they are in a non-standard
# location. If --with-boost if not given, nothing is done. Otherwise it
# checks for the required minumum Boost version, and Boost.Asio. If everything
# checks for the required minimum Boost version, and Boost.Asio. If everything
# is fine, defines ASIO_SOCKETS. If the Boost sources are found, also defines
# HAVE_BOOST_SOURCES. Other flags defined for using Boost:
# - BOOST_CPPFLAGS
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion platforms/Windows/MSVC10/libs/libGeoIP/readme.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
How to build aMule with GeoIP support

The MaxMind GeoIP library can detect the country an IP adress comes from. aMule uses this information
The MaxMind GeoIP library can detect the country an IP address comes from. aMule uses this information
to display a little country flag for each source or ed2k server.
Since this is an external library it is disabled by default. This is how to enable it:

Expand Down
2 changes: 1 addition & 1 deletion platforms/Windows/MSVC12/libs/libGeoIP/readme.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
How to build aMule with GeoIP support

The MaxMind GeoIP library can detect the country an IP adress comes from. aMule uses this information
The MaxMind GeoIP library can detect the country an IP address comes from. aMule uses this information
to display a little country flag for each source or ed2k server.
Since this is an external library it is disabled by default. This is how to enable it:

Expand Down
4 changes: 2 additions & 2 deletions src/BarShader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void CBarShader::SetHeight(unsigned height)
if( m_Height != height ) {
m_Height = height;

// Reset the modifers
// Reset the modifiers
if ( m_Modifiers ) {
delete[] m_Modifiers;
m_Modifiers = NULL;
Expand Down Expand Up @@ -90,7 +90,7 @@ void CBarShader::Set3dDepth(unsigned depth)
if ( m_used3dlevel != depth ) {
m_used3dlevel = depth;

// Reset the modifers
// Reset the modifiers
if ( m_Modifiers ) {
delete[] m_Modifiers;
m_Modifiers = NULL;
Expand Down
10 changes: 5 additions & 5 deletions src/BarShader.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class CBarShader
* @param colour The colour of the new span.
*
* Calling this function fill the specified range with the specified color.
* Any spans completly or partially covered by the new span are either
* Any spans completely or partially covered by the new span are either
* removed or resized. If the value of end is larger than the current
* filesize, the filesize is increased to the value of end.
*/
Expand All @@ -120,15 +120,15 @@ class CBarShader
}

/**
* Draws the bar on the specifed wxDC.
* Draws the bar on the specified wxDC.
*
* @param dc The wxDC upon which the bar should be drawn.
* @param iLeft The left position from where to start drawing.
* @param iTop The top position from where to start drawing.
* @param bFlat 3D effect is not applied if this is true.
*
* This functions draws the bar with the height and width specified
* through either the contructor or with SetWidth() and SetHeight().
* through either the constructor or with SetWidth() and SetHeight().
*/
void Draw( wxDC* dc, int iLeft, int iTop, bool bFlat );

Expand All @@ -142,9 +142,9 @@ class CBarShader
unsigned m_Width;
//! The height of the drawn bar
unsigned m_Height;
//! The virtual filesize assosiated with the bar
//! The virtual filesize associated with the bar
uint64 m_FileSize;
//! Pointer to array of modifers used to create 3D effect. Size is (m_Height+1)/2 when set.
//! Pointer to array of modifiers used to create 3D effect. Size is (m_Height+1)/2 when set.
double* m_Modifiers;
//! The current 3d level
uint16 m_used3dlevel;
Expand Down
14 changes: 7 additions & 7 deletions src/BaseClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ CUpDownClient::CUpDownClient(uint16 in_port, uint32 in_userid, uint32 in_serveri
} else {
m_nConnectIP = wxUINT32_SWAP_ALWAYS(in_userid);
}
// Will be on right endianess now
// Will be on right endianness now
m_FullUserIP = m_nConnectIP;
}

Expand Down Expand Up @@ -1299,8 +1299,8 @@ bool CUpDownClient::Disconnected(const wxString& DEBUG_ONLY(strReason), bool bFr
CAICHHashSet::ClientAICHRequestFailed(this);
}

// The remote client does not have to answer with OP_HASHSETANSWER *immediatly*
// after we've sent OP_HASHSETREQUEST. It may occure that a (buggy) remote client
// The remote client does not have to answer with OP_HASHSETANSWER *immediately*
// after we've sent OP_HASHSETREQUEST. It may occur that a (buggy) remote client
// is sending use another OP_FILESTATUS which would let us change to DL-state to DS_ONQUEUE.
if (((GetDownloadState() == DS_REQHASHSET) || m_fHashsetRequesting) && (m_reqfile)) {
m_reqfile->SetHashSetNeeded(true);
Expand Down Expand Up @@ -1422,7 +1422,7 @@ bool CUpDownClient::TryToConnect(bool bIgnoreMaxCon)
}

if (uClientIP) {
// Although we filter all received IPs (server sources, source exchange) and all incomming connection attempts,
// Although we filter all received IPs (server sources, source exchange) and all incoming connection attempts,
// we do have to filter outgoing connection attempts here too, because we may have updated the ip filter list
if (theApp->ipfilter->IsFiltered(uClientIP)) {
AddDebugLogLineN(logIPFilter, CFormat(wxT("Filtered ip %u (%s) on TryToConnect\n")) % uClientIP % Uint32toStringIP(uClientIP));
Expand Down Expand Up @@ -2145,7 +2145,7 @@ void CUpDownClient::ProcessPublicKeyPacket(const uint8_t* pachPacket, uint32 nSi
}
if (!theApp->CryptoAvailable())
return;
// the function will handle everything (mulitple key etc)
// the function will handle everything (multiple key etc)
if (credits->SetSecureIdent(pachPacket+1, pachPacket[0])){
// if this client wants a signature, now we can send him one
if (m_SecureIdentState == IS_SIGNATURENEEDED){
Expand Down Expand Up @@ -2200,7 +2200,7 @@ void CUpDownClient::ProcessSignaturePacket(const uint8_t* pachPacket, uint32 nSi
AddDebugLogLineN( logClient, wxT("received signature for client without public key") );
return;
}
// and one more check: did we ask for a signature and sent a challange packet?
// and one more check: did we ask for a signature and sent a challenge packet?
if (credits->m_dwCryptRndChallengeFor == 0){
AddDebugLogLineN( logClient, wxT("received signature for client with invalid challenge value - User ") + GetUserName() );
return;
Expand Down Expand Up @@ -2487,7 +2487,7 @@ bool CUpDownClient::SendChatMessage(const wxString& message)
if (GetChatCaptchaState() == CA_CAPTCHARECV) {
m_nChatCaptchaState = CA_SOLUTIONSENT;
} else if (GetChatCaptchaState() == CA_SOLUTIONSENT) {
wxFAIL; // we responsed to a captcha but didn't heard from the client afterwards - hopefully its just lag and this message will get through
wxFAIL; // we responded to a captcha but didn't hear from the client afterwards - hopefully it's just lag and this message will get through
} else {
m_nChatCaptchaState = CA_ACCEPTING;
}
Expand Down
2 changes: 1 addition & 1 deletion src/CFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ bool CFile::Open(const CPath& fileName, OpenMode mode, int accessMode)
m_fd = _wopen(m_filePath.GetRaw().c_str(), flags, accessMode);
#else
Unicode2CharBuf tmpFileName = filename2char(m_filePath.GetRaw());
wxASSERT_MSG(tmpFileName, wxT("Convertion failed in CFile::Open"));
wxASSERT_MSG(tmpFileName, wxT("Conversion failed in CFile::Open"));
m_fd = open(tmpFileName, flags, accessMode);
#endif
syscall_check(m_fd != fd_invalid, m_filePath, wxT("opening file"));
Expand Down
4 changes: 2 additions & 2 deletions src/CFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class CFile : public CFileDataIO
void Reopen(OpenMode mode);

/**
* Calling Create is equivilant of calling open with OpenMode 'write'.
* Calling Create is equivalent of calling open with OpenMode 'write'.
*
* @param overwrite Specifies if the target file should be overwritten,
* in case that it already exists.
Expand All @@ -127,7 +127,7 @@ class CFile : public CFileDataIO


/**
* Returns the file descriptior assosiated with the file.
* Returns the file descriptor associated with the file.
*
* Note that direct manipulation of the descriptor should
* be avoided! That's what this class is for.
Expand Down
4 changes: 2 additions & 2 deletions src/CatDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class wxBitmap;
* the user can add or change them.
*
* It is a self-contained entity, and does not rely on the categories staying
* the same while the dialog is visble, though it will overwrite any changes
* the same while the dialog is visible, though it will overwrite any changes
* made to the selected category in the mean time. Also, if the selected category
* has been deleted then it will simply be readded.
*
Expand Down Expand Up @@ -83,7 +83,7 @@ class CCatDialog : public wxDialog


/**
* Event-handler for selecting incomming dir.
* Event-handler for selecting incoming dir.
*/
void OnBnClickedBrowse(wxCommandEvent& evt);

Expand Down
4 changes: 2 additions & 2 deletions src/ChatSelector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ bool CChatSelector::ProcessMessage(uint64 sender_id, const wxString& message)
bool newtab = !session;

if ( !session ) {
// This must be a mesage from a client that is not already chatting
// This must be a message from a client that is not already chatting
if (client_name.IsEmpty()) {
// Core did not send us the name.
// This must NOT happen.
Expand Down Expand Up @@ -310,7 +310,7 @@ void CChatSelector::EndSession(uint64 client_id)
}


// Refresh the tab assosiated with a client
// Refresh the tab associated with a client
void CChatSelector::RefreshFriend(uint64 toupdate_id, const wxString& new_name)
{
wxASSERT( toupdate_id );
Expand Down
2 changes: 1 addition & 1 deletion src/ChatSelector.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CChatSession : public CMuleTextCtrl
*
* If newline is false, then no newlines will be at the end of added text,
* even if the passed string ends with newlines. Multiline strings are
* broken into indivudual lines and each are timestamped with the same date.
* broken into individual lines and each are timestamped with the same date.
*/
void AddText( const wxString& text, const wxTextAttr& style, bool newline = true );
};
Expand Down
8 changes: 4 additions & 4 deletions src/ChatWnd.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,22 @@ class CChatWnd : public wxPanel
*/
void OnNMRclickChatTab(wxMouseEvent& evt);
/**
* Event-handler fo the Close item on the popup-menu.
* Event-handler of the Close item on the popup-menu.
*/
void OnPopupClose(wxCommandEvent& evt);

/**
* Event-handler fo the CloseAll item on the popup-menu.
* Event-handler of the CloseAll item on the popup-menu.
*/
void OnPopupCloseAll(wxCommandEvent& evt);

/**
* Event-handler fo the CloseOthers item on the popup-menu.
* Event-handler of the CloseOthers item on the popup-menu.
*/
void OnPopupCloseOthers(wxCommandEvent& evt);

/**
* Event-handler fo the AddFriend item on the popup-menu.
* Event-handler of the AddFriend item on the popup-menu.
*/
void OnAddFriend(wxCommandEvent& evt);

Expand Down
Loading

0 comments on commit 1a0e976

Please sign in to comment.