servers/registrar: typo fixes, no functional changes
found by codespell Change-Id: I96c3f66300f4c71f8bf9ed8da8e8417b03fc7313 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10849 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -142,7 +142,7 @@ Event::IsAutoDelete() const
|
||||
return value is taken into consideration. To be precise the logical OR
|
||||
of IsAutoDelete() and the return value of Do() specifies whether the
|
||||
object shall be deleted. The reason for this handling is that there are
|
||||
usally two kind of events: "one-shot" events and those that are reused
|
||||
usually two kind of events: "one-shot" events and those that are reused
|
||||
periodically or from time to time. The first kind can simply be
|
||||
constructed with "auto delete" set to \c true and doesn't need to care
|
||||
about Do()'s return value. The second kind shall usually not be deleted,
|
||||
|
||||
@@ -158,7 +158,7 @@ EventQueue::Die()
|
||||
|
||||
\param event The event to be added.
|
||||
\return \c true, if the event has been added successfully, \c false, if
|
||||
an error occured.
|
||||
an error occurred.
|
||||
*/
|
||||
bool
|
||||
EventQueue::AddEvent(Event *event)
|
||||
@@ -218,7 +218,7 @@ EventQueue::ModifyEvent(Event *event, bigtime_t newTime)
|
||||
|
||||
\param event The event to be added.
|
||||
\return \c true, if the event has been added successfully, \c false, if
|
||||
an error occured.
|
||||
an error occurred.
|
||||
*/
|
||||
bool
|
||||
EventQueue::_AddEvent(Event *event)
|
||||
|
||||
@@ -465,7 +465,7 @@ struct MessageDeliverer::TargetPortMap : public map<port_id, TargetPort*> {
|
||||
|
||||
For the user of the service only the MessageDeliverer::DeliverMessage()
|
||||
will be of interest. Some of them allow broadcasting a message to several
|
||||
recepients.
|
||||
recipients.
|
||||
|
||||
The class maintains a TargetPort for each target port which was full at the
|
||||
time a message was to be delivered to it. A TargetPort has a queue of
|
||||
|
||||
@@ -77,7 +77,7 @@ MessageEvent::MessageEvent(bigtime_t time, BHandler* handler, uint32 command)
|
||||
// constructor
|
||||
/*! \brief Creates a new MessageEvent with a target BHandler and a message.
|
||||
|
||||
The caller retains ownership of the supplied message. It can savely be
|
||||
The caller retains ownership of the supplied message. It can safely be
|
||||
deleted after the constructor returns.
|
||||
|
||||
\note The supplied BHandler must be valid the whole life time of the
|
||||
@@ -116,7 +116,7 @@ MessageEvent::MessageEvent(bigtime_t time, const BMessenger& messenger,
|
||||
// constructor
|
||||
/*! \brief Creates a new MessageEvent with a target BMessenger and a message.
|
||||
|
||||
The caller retains ownership of the supplied message. It can savely be
|
||||
The caller retains ownership of the supplied message. It can safely be
|
||||
deleted after the constructor returns.
|
||||
|
||||
\param time The time at which the message shall be sent.
|
||||
|
||||
@@ -123,7 +123,7 @@ MessagingArea::PopCommand()
|
||||
= (messaging_command*)((char*)fHeader + fHeader->first_command);
|
||||
|
||||
// remove it from the area
|
||||
// (as long as the area is still locked, noone will overwrite the contents)
|
||||
// (as long as the area is still locked, no one will overwrite the contents)
|
||||
if (--fHeader->command_count == 0)
|
||||
fHeader->first_command = fHeader->last_command = 0;
|
||||
else
|
||||
|
||||
@@ -55,7 +55,7 @@ RosterSettingsCharStream::~RosterSettingsCharStream()
|
||||
signatures, integers, or Recent{Doc,Folder,App}, this does not
|
||||
currently pose a problem.
|
||||
- Quotes are " or '
|
||||
- An unquoted string begins with any character execept whitespace
|
||||
- An unquoted string begins with any character except whitespace
|
||||
or a quote and continues until a whitespace character, newline,
|
||||
or comment is encountered. Whitespace may be included in the
|
||||
unquoted string if each whitespace character is escaped with a
|
||||
@@ -265,7 +265,7 @@ RosterSettingsCharStream::GetString(char *result)
|
||||
|
||||
// Read past any comments
|
||||
if (error == kComment) {
|
||||
// Read to the end of the line. If a valid read still occured,
|
||||
// Read to the end of the line. If a valid read still occurred,
|
||||
// leave the newline in the stream for next time.
|
||||
char ch;
|
||||
while (true) {
|
||||
|
||||
@@ -739,7 +739,7 @@ ShutdownProcess::Init(BMessage* request)
|
||||
if (!fInternalEvents)
|
||||
RETURN_ERROR(B_NO_MEMORY);
|
||||
|
||||
// create the event sempahore
|
||||
// create the event semaphore
|
||||
fInternalEventSemaphore = create_sem(0, "shutdown events");
|
||||
if (fInternalEventSemaphore < 0)
|
||||
RETURN_ERROR(fInternalEventSemaphore);
|
||||
|
||||
@@ -1190,7 +1190,7 @@ TRoster::ClearRecentApps()
|
||||
/*! \brief Initializes the roster.
|
||||
|
||||
Currently only adds the registrar to the roster.
|
||||
The application must already be running, more precisly Run() must have
|
||||
The application must already be running, more precisely Run() must have
|
||||
been called.
|
||||
|
||||
\return
|
||||
@@ -1345,7 +1345,7 @@ TRoster::CheckSanity()
|
||||
}
|
||||
|
||||
|
||||
/*! \brief Tells the roster whether a shutdown process is in progess at the
|
||||
/*! \brief Tells the roster whether a shutdown process is in progress at the
|
||||
moment.
|
||||
|
||||
After this method is called with \a shuttingDown == \c true, no more
|
||||
@@ -2010,7 +2010,7 @@ TRoster::_LoadRosterSettings(const char* path)
|
||||
}
|
||||
|
||||
// Now we must sort our lists of documents and folders by the
|
||||
// indicies we read for each entry (largest index first)
|
||||
// indices we read for each entry (largest index first)
|
||||
fRecentDocuments.fEntryList.sort(larger_index);
|
||||
fRecentFolders.fEntryList.sort(larger_index);
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ Watcher::Target() const
|
||||
|
||||
\param message The message to be sent.
|
||||
\return \c B_OK, if everything went fine, another error code, if an error
|
||||
occured.
|
||||
occurred.
|
||||
*/
|
||||
status_t
|
||||
Watcher::SendMessage(BMessage *message)
|
||||
|
||||
@@ -86,7 +86,7 @@ WatchingService::~WatchingService()
|
||||
// AddWatcher
|
||||
/*! \brief Registers a new watcher to the watching service.
|
||||
|
||||
The ownership of \a watcher is transfered to the watching service, that
|
||||
The ownership of \a watcher is transferred to the watching service, that
|
||||
is the caller must not delete it after the method returns.
|
||||
|
||||
If the service already contains a Watcher with the same target BMessenger
|
||||
@@ -133,7 +133,7 @@ WatchingService::AddWatcher(const BMessenger &target)
|
||||
/*! \brief Unregisters a watcher from the watching service and optionally
|
||||
deletes it.
|
||||
|
||||
If \a deleteWatcher is \c false, the ownership of \a watcher is transfered
|
||||
If \a deleteWatcher is \c false, the ownership of \a watcher is transferred
|
||||
to the caller, otherwise it is deleted.
|
||||
|
||||
\param watcher The watcher to be unregistered.
|
||||
@@ -162,7 +162,7 @@ WatchingService::RemoveWatcher(Watcher *watcher, bool deleteWatcher)
|
||||
The watcher is identified by its target BMessenger.
|
||||
|
||||
If \a deleteWatcher is \c false, the ownership of the concerned watcher is
|
||||
transfered to the caller, otherwise it is deleted.
|
||||
transferred to the caller, otherwise it is deleted.
|
||||
|
||||
\param target The target BMessenger identifying the watcher to be
|
||||
unregistered.
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Mime {
|
||||
/*! \brief Creates a new MimeUpdateThread object.
|
||||
|
||||
If \a replyee is non-NULL and construction succeeds, the MimeThreadObject
|
||||
assumes resposibility for its deletion.
|
||||
assumes responsibility for its deletion.
|
||||
|
||||
Also, if \c non-NULL, \a replyee is expected to be a
|
||||
\c B_REG_MIME_UPDATE_MIME_INFO or a \c B_REG_MIME_CREATE_APP_META_MIME
|
||||
|
||||
@@ -69,7 +69,7 @@ RegistrarThreadManager::MessageReceived(BMessage* message)
|
||||
}
|
||||
|
||||
// LaunchThread
|
||||
/*! \brief Launches the given thread, passing responsiblity for it onto the
|
||||
/*! \brief Launches the given thread, passing responsibility for it onto the
|
||||
RegistrarThreadManager object.
|
||||
|
||||
\param thread Pointer to a newly allocated \c RegistrarThread object.
|
||||
|
||||
Reference in New Issue
Block a user