spell check with codespell

This commit is contained in:
stephanebill 2024-11-20 16:53:40 -05:00
parent c4559c39c3
commit 4f2afa8c47
162 changed files with 250 additions and 250 deletions

View File

@ -243,7 +243,7 @@ endmacro(add_channel_server_library)
set(FILENAME "ChannelOptions.cmake")
file(GLOB FILEPATHS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*/${FILENAME}")
# We need special treatement for drdynvc:
# We need special treatment for drdynvc:
# It needs to be the first entry so that every
# dynamic channel has the dependent options available.
set(DRDYNVC_MATCH "")

View File

@ -576,7 +576,7 @@ UINT ainput_server_context_poll_int(ainput_server_context* context)
break;
default:
WLog_ERR(TAG, "AINPUT chanel is in invalid state %d", ainput->state);
WLog_ERR(TAG, "AINPUT channel is in invalid state %d", ainput->state);
break;
}

View File

@ -197,7 +197,7 @@ static DWORD WINAPI audin_oss_thread_func(LPVOID arg)
if (ioctl(pcm_handle, SNDCTL_DSP_GETCAPS, &tmp) == -1)
{
OSS_LOG_ERR("SNDCTL_DSP_GETCAPS failed, try ignory", errno);
OSS_LOG_ERR("SNDCTL_DSP_GETCAPS failed, try ignored", errno);
}
else if ((tmp & PCM_CAP_INPUT) == 0)
{
@ -262,7 +262,7 @@ static DWORD WINAPI audin_oss_thread_func(LPVOID arg)
continue;
}
if ((size_t)stmp < buffer_size) /* Not enouth data. */
if ((size_t)stmp < buffer_size) /* Not enough data. */
continue;
if ((error = oss->receive(&oss->format, buffer, buffer_size, oss->user_data)))

View File

@ -435,7 +435,7 @@ UINT cliprdr_read_format_list(wStream* s, CLIPRDR_FORMAT_LIST* formatList, BOOL
* or 16 Unicode characters)"
* However, both Windows RDSH and mstsc violate this specs as seen in the following
* example of a transferred short format name string: [R.i.c.h. .T.e.x.t. .F.o.r.m.a.t.]
* These are 16 unicode charaters - *without* terminating null !
* These are 16 unicode characters - *without* terminating null !
*/
szFormatName = Stream_ConstPointer(sub1);

View File

@ -221,12 +221,12 @@ static UINT location_send_base_location3d(IWTSVirtualChannel* channel,
if (pdu->source)
WLog_DBG(TAG,
"latitude=%lf, logitude=%lf, altitude=%" PRId32
"latitude=%lf, longitude=%lf, altitude=%" PRId32
", speed=%lf, heading=%lf, haccuracy=%lf, source=%" PRIu8,
pdu->latitude, pdu->longitude, pdu->altitude, pdu->speed, pdu->heading,
pdu->horizontalAccuracy, *pdu->source);
else
WLog_DBG(TAG, "latitude=%lf, logitude=%lf, altitude=%" PRId32, pdu->latitude,
WLog_DBG(TAG, "latitude=%lf, longitude=%lf, altitude=%" PRId32, pdu->latitude,
pdu->longitude, pdu->altitude);
if (!location_write_header(s, PDUTYPE_BASE_LOCATION3D, pdu->source ? 25 : 12))
@ -264,10 +264,10 @@ static UINT location_send_location2d_delta(IWTSVirtualChannel* channel,
const BOOL ext = pdu->speedDelta && pdu->headingDelta;
if (ext)
WLog_DBG(TAG, "latitude=%lf, logitude=%lf, speed=%lf, heading=%lf", pdu->latitudeDelta,
WLog_DBG(TAG, "latitude=%lf, longitude=%lf, speed=%lf, heading=%lf", pdu->latitudeDelta,
pdu->longitudeDelta, pdu->speedDelta, pdu->headingDelta);
else
WLog_DBG(TAG, "latitude=%lf, logitude=%lf", pdu->latitudeDelta, pdu->longitudeDelta);
WLog_DBG(TAG, "latitude=%lf, longitude=%lf", pdu->latitudeDelta, pdu->longitudeDelta);
if (!location_write_header(s, PDUTYPE_LOCATION2D_DELTA, ext ? 16 : 8))
return ERROR_OUTOFMEMORY;
@ -300,11 +300,11 @@ static UINT location_send_location3d_delta(IWTSVirtualChannel* channel,
const BOOL ext = pdu->speedDelta && pdu->headingDelta;
if (ext)
WLog_DBG(TAG, "latitude=%lf, logitude=%lf, altitude=%" PRId32 ", speed=%lf, heading=%lf",
WLog_DBG(TAG, "latitude=%lf, longitude=%lf, altitude=%" PRId32 ", speed=%lf, heading=%lf",
pdu->latitudeDelta, pdu->longitudeDelta, pdu->altitudeDelta, pdu->speedDelta,
pdu->headingDelta);
else
WLog_DBG(TAG, "latitude=%lf, logitude=%lf, altitude=%" PRId32, pdu->latitudeDelta,
WLog_DBG(TAG, "latitude=%lf, longitude=%lf, altitude=%" PRId32, pdu->latitudeDelta,
pdu->longitudeDelta, pdu->altitudeDelta);
if (!location_write_header(s, PDUTYPE_LOCATION3D_DELTA, ext ? 20 : 12))

View File

@ -583,7 +583,7 @@ static UINT handle_hotplug(rdpdrPlugin* rdpdr)
if (!path)
continue;
/* not plugable device */
/* not pluggable device */
if (strstr(path, "/Volumes/") == NULL)
{
free(path);
@ -950,7 +950,7 @@ static BOOL hotplug_delete_foreach(ULONG_PTR key, void* element, void* data)
if (!path)
return FALSE;
/* not plugable device */
/* not pluggable device */
if (isAutomountLocation(path))
{
for (size_t i = 0; i < arg->dev_array_size; i++)

View File

@ -232,7 +232,7 @@ static BOOL rdpsnd_oss_open(rdpsndDevicePlugin* device, const AUDIO_FORMAT* form
if (ioctl(oss->pcm_handle, SNDCTL_DSP_GETCAPS, &mask) == -1)
{
OSS_LOG_ERR("SNDCTL_DSP_GETCAPS failed, try ignory", errno);
OSS_LOG_ERR("SNDCTL_DSP_GETCAPS failed, try ignored", errno);
}
else if ((mask & PCM_CAP_OUTPUT) == 0)
{

View File

@ -555,7 +555,7 @@ static void close_terminated_irp_thread(wListDictionary* list, wLog* log, ULONG_
HANDLE cirpThread = ListDictionary_GetItemValue(list, (void*)id);
/* FIXME: not quite sure a zero timeout is a good thing to check whether a thread is
* stil alived or not */
* still alive or not */
const DWORD waitResult = WaitForSingleObject(cirpThread, 0);
if (waitResult == WAIT_OBJECT_0)

View File

@ -766,8 +766,8 @@ static BOOL tsmf_gstreamer_decodeEx(ITSMFDecoder* decoder, const BYTE* data, UIN
mdecoder->seeking = TRUE;
/* since we cant make the gstreamer pipeline jump to the new start time after a seek -
* we just maintain a offset between realtime and gstreamer time
/* since we can't make the gstreamer pipeline jump to the new start time after a seek -
* we just maintain an offset between realtime and gstreamer time
*/
mdecoder->seek_offset = start_time;
}

View File

@ -96,7 +96,7 @@ static BOOL tsmf_oss_open(ITSMFAudioDevice* audio, const char* device)
#if 0 /* FreeBSD OSS implementation at this moment (2015.03) does not set PCM_CAP_OUTPUT flag. */
if (ioctl(oss->pcm_handle, SNDCTL_DSP_GETCAPS, &mask) == -1)
{
OSS_LOG_ERR("SNDCTL_DSP_GETCAPS failed, try ignory", errno);
OSS_LOG_ERR("SNDCTL_DSP_GETCAPS failed, try ignored", errno);
}
else if ((mask & PCM_CAP_OUTPUT) == 0)
{

View File

@ -35,7 +35,7 @@
#define STREAM_ID_PROXY 0x40000000
#define STREAM_ID_NONE 0x00000000
/* Functon ID */
/* Function ID */
/* Common IDs for all interfaces are as follows. */
#define RIMCALL_RELEASE 0x00000001
#define RIMCALL_QUERYINTERFACE 0x00000002

View File

@ -47,7 +47,7 @@ struct s_ITSMFDecoder
BOOL (*GetDecodedDimension)(ITSMFDecoder* decoder, UINT32* width, UINT32* height);
/* Free the decoder */
void (*Free)(ITSMFDecoder* decoder);
/* Optional Contol function */
/* Optional Control function */
BOOL (*Control)(ITSMFDecoder* decoder, ITSMFControlMsg control_msg, UINT32* arg);
/* Decode a sample with extended interface. */
BOOL(*DecodeEx)

View File

@ -1644,7 +1644,7 @@ static int udev_get_hub_handle(URBDRC_PLUGIN* urbdrc, libusb_context* ctx, UDEVI
LIBUSB_DEVICE* dev = libusb_list[i];
if ((bus_number != libusb_get_bus_number(dev)) ||
(1 != libusb_get_device_address(dev))) /* Root hub allways first on bus. */
(1 != libusb_get_device_address(dev))) /* Root hub always first on bus. */
libusb_unref_device(dev);
else
{

View File

@ -49,7 +49,7 @@ BOOL msusb_mspipes_replace(MSUSB_INTERFACE_DESCRIPTOR* MsInterface,
if (!MsInterface || !NewMsPipes)
return FALSE;
/* free orignal MsPipes */
/* free original MsPipes */
msusb_mspipes_free(MsInterface->MsPipes, MsInterface->NumberOfPipes);
/* And replace it */
MsInterface->MsPipes = NewMsPipes;

View File

@ -293,7 +293,7 @@ Original SSLeay License
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* the following conditions are adhered to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
@ -343,7 +343,7 @@ Original SSLeay License
* Eric Young (eay@cryptsoft.com)&quot;
* The word 'cryptographic' can be left out if the rouines from the library
* The word 'cryptographic' can be left out if the routines from the library
* being used are not cryptographic related :-).
@ -379,7 +379,7 @@ Original SSLeay License
*
* The licence and distribution terms for any publically available version or
* The licence and distribution terms for any publicly available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be

View File

@ -293,7 +293,7 @@ Original SSLeay License
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* the following conditions are adhered to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
@ -343,7 +343,7 @@ Original SSLeay License
* Eric Young (eay@cryptsoft.com)&quot;
* The word 'cryptographic' can be left out if the rouines from the library
* The word 'cryptographic' can be left out if the routines from the library
* being used are not cryptographic related :-).
@ -379,7 +379,7 @@ Original SSLeay License
*
* The licence and distribution terms for any publically available version or
* The licence and distribution terms for any publicly available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be

View File

@ -394,7 +394,7 @@ Original SSLeay License
*
* The licence and distribution terms for any publically available version or
* The licence and distribution terms for any publicly available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be

View File

@ -500,7 +500,7 @@ static DWORD WINAPI android_thread_func(LPVOID param)
else
{
status = android_freerdp_run(instance);
WLog_DBG(TAG, "Disonnect...");
WLog_DBG(TAG, "Disconnect...");
if (!freerdp_disconnect(instance))
status = GetLastError();
@ -650,7 +650,7 @@ JNIEXPORT jlong JNICALL Java_com_freerdp_freerdpcore_services_LibFreeRDP_freerdp
if (setenv("HOME", _strdup(envStr), 1) != 0)
{
char ebuffer[256] = { 0 };
WLog_FATAL(TAG, "Failed to set environemnt HOME=%s %s [%d]", env,
WLog_FATAL(TAG, "Failed to set environment HOME=%s %s [%d]", env,
winpr_strerror(errno, ebuffer, sizeof(ebuffer)), errno);
return (jlong)NULL;
}
@ -996,7 +996,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved)
{
JNIEnv* env;
setlocale(LC_ALL, "");
WLog_DBG(TAG, "Setting up JNI environement...");
WLog_DBG(TAG, "Setting up JNI environment...");
/*
if (freerdp_handle_signals() != 0)
@ -1029,7 +1029,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved)
void JNICALL JNI_OnUnload(JavaVM* vm, void* reserved)
{
JNIEnv* env;
WLog_DBG(TAG, "Tearing down JNI environement...");
WLog_DBG(TAG, "Tearing down JNI environment...");
if ((*vm)->GetEnv(vm, (void**)&env, JNI_VERSION_1_6) != JNI_OK)
{

View File

@ -204,9 +204,9 @@ public class SessionView extends View
return res;
}
public void setTouchPointerPadding(int widht, int height)
public void setTouchPointerPadding(int width, int height)
{
touchPointerPaddingWidth = widht;
touchPointerPaddingWidth = width;
touchPointerPaddingHeight = height;
requestLayout();
}

View File

@ -145,7 +145,7 @@ public class DoubleGestureDetector
mCurrentDoubleDownEvent.recycle();
mCurrentDoubleDownEvent = MotionEvent.obtain(ev);
// set detection mode to unkown and send a TOUCH timeout event to detect single taps
// set detection mode to unknown and send a TOUCH timeout event to detect single taps
mCurrentMode = MODE_UNKNOWN;
mHandler.sendEmptyMessageDelayed(TAP, SINGLE_DOUBLE_TOUCH_TIMEOUT);

View File

@ -474,7 +474,7 @@ public class GestureDetector
/**
* Notified when a long press occurs with the initial on down {@link MotionEvent}
* that trigged it.
* that triggered it.
*
* @param e The initial on down motion event that started the longpress.
*/

View File

@ -433,7 +433,7 @@ public class KeyboardMapper
boolean modifierActive = isModifierPressed();
// if a modifier is pressed we will send a VK event (if possible) so that key
// combinations will be recognized correctly. Otherwise we will send the unicode
// key. At the end we will reset all modifiers and notifiy our listener.
// key. At the end we will reset all modifiers and notify our listener.
int vkcode = getVirtualKeyCode(event.getKeyCode());
if ((vkcode & KEY_FLAG_UNICODE) != 0)
listener.processUnicodeKey(vkcode & (~KEY_FLAG_UNICODE));

View File

@ -13,7 +13,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- childs are specified bottom-up so that we have a correct z-order in our final layout -->
<!-- children are specified bottom-up so that we have a correct z-order in our final layout -->
<android.inputmethodservice.KeyboardView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/extended_keyboard"
android:layout_width="match_parent"

View File

@ -46,7 +46,7 @@ echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windowz variants
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args

View File

@ -588,7 +588,7 @@ static BOOL sdl_pre_connect(freerdp* instance)
return FALSE;
/* OrderSupport is initialized at this point.
* Only override it if you plan to implement custom order
* callbacks or deactiveate certain features. */
* callbacks or deactivate certain features. */
/* Register the channel listeners.
* They are required to set up / tear down channels if they are loaded. */
PubSub_SubscribeChannelConnected(instance->context->pubSub, sdl_OnChannelConnectedEventHandler);
@ -1080,7 +1080,7 @@ static int sdl_run(SdlContext* sdl)
}
/* Called after a RDP connection was successfully established.
* Settings might have changed during negociation of client / server feature
* Settings might have changed during negotiation of client / server feature
* support.
*
* Set up local framebuffers and paing callbacks.

View File

@ -586,7 +586,7 @@ static BOOL sdl_pre_connect(freerdp* instance)
return FALSE;
/* OrderSupport is initialized at this point.
* Only override it if you plan to implement custom order
* callbacks or deactiveate certain features. */
* callbacks or deactivate certain features. */
/* Register the channel listeners.
* They are required to set up / tear down channels if they are loaded. */
PubSub_SubscribeChannelConnected(instance->context->pubSub, sdl_OnChannelConnectedEventHandler);
@ -1066,7 +1066,7 @@ static int sdl_run(SdlContext* sdl)
}
/* Called after a RDP connection was successfully established.
* Settings might have changed during negociation of client / server feature
* Settings might have changed during negotiation of client / server feature
* support.
*
* Set up local framebuffers and paing callbacks.

View File

@ -159,7 +159,7 @@ static BOOL tf_pre_connect(freerdp* instance)
return FALSE;
/* OrderSupport is initialized at this point.
* Only override it if you plan to implement custom order
* callbacks or deactiveate certain features. */
* callbacks or deactivate certain features. */
/* Register the channel listeners.
* They are required to set up / tear down channels if they are loaded. */
PubSub_SubscribeChannelConnected(instance->context->pubSub, tf_OnChannelConnectedEventHandler);
@ -171,7 +171,7 @@ static BOOL tf_pre_connect(freerdp* instance)
}
/* Called after a RDP connection was successfully established.
* Settings might have changed during negociation of client / server feature
* Settings might have changed during negotiation of client / server feature
* support.
*
* Set up local framebuffers and paing callbacks.

View File

@ -795,7 +795,7 @@ LRESULT CALLBACK wf_event_proc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam
if (g_focus_hWnd == hWnd && wfc && !wfc->fullscreen)
{
DEBUG_KBD("loosing focus %X", hWnd);
DEBUG_KBD("losing focus %X", hWnd);
if (alt_ctrl_down())
g_flipping_out = TRUE;

View File

@ -439,7 +439,7 @@ void wf_toggle_fullscreen(wfContext* wfc)
if (!wfc->fullscreen)
{
// Reenable window tracking AFTER resizing it back, otherwise it can lean to repositioning
// Re-enable window tracking AFTER resizing it back, otherwise it can lean to repositioning
// errors.
wfc->disablewindowtracking = FALSE;
}

View File

@ -130,7 +130,7 @@ if (WITH_XEXT)
endif()
endif()
option(WITH_XCURSOR "[X11] enalbe Xcursor" ON)
option(WITH_XCURSOR "[X11] enable Xcursor" ON)
if (WITH_XCURSOR)
find_package(X11 REQUIRED)
if(X11_Xcursor_FOUND)
@ -154,7 +154,7 @@ if (WITH_XV)
endif()
endif()
option(WITH_XI "[X11] enalbe Xi" ON)
option(WITH_XI "[X11] enable Xi" ON)
if (WITH_XI)
find_package(X11 REQUIRED)
if(X11_Xi_FOUND)

View File

@ -1116,7 +1116,7 @@ static void xf_button_map_init(xfContext* xfc)
* connection.
*
* @param instance - pointer to the rdp_freerdp structure that contains the connection's parameters,
* and will be filled with the appropriate informations.
* and will be filled with the appropriate information.
*
* @return TRUE if successful. FALSE otherwise.
* Can exit with error code XF_EXIT_PARSE_ARGUMENTS if there is an error in the parameters.

View File

@ -249,7 +249,7 @@ static UINT32 x11_pad_scanline(UINT32 scanline, UINT32 inPad)
scanline += pad;
}
/* 16 byte alingment is required for ASM optimized code */
/* 16 byte alignment is required for ASM optimized code */
if (scanline % 16)
scanline += 16 - scanline % 16;

View File

@ -337,7 +337,7 @@ void xf_SetWindowFullscreen(xfContext* xfc, xfWindow* window, BOOL fullscreen)
}
/*
It is safe to proceed with simply toogling _NET_WM_STATE_FULLSCREEN window state on the
It is safe to proceed with simply toggling _NET_WM_STATE_FULLSCREEN window state on the
following conditions:
- The window manager supports multiple monitor full screen
- The user requested to use a single monitor to render the remote desktop

View File

@ -1986,7 +1986,7 @@ static BOOL freerdp_client_register_pen(rdpClientContext* cctx, UINT32 flags, IN
return TRUE;
}
WLog_WARN(TAG, "No free slots for an additiona pen device, skipping");
WLog_WARN(TAG, "No free slot for an additional pen device, skipping");
return TRUE;
}

View File

@ -2864,7 +2864,7 @@ static int parse_kbd_options(rdpSettings* settings, const COMMAND_LINE_ARGUMENT_
if (option_starts_with("remap:", val))
{
/* Append this new occurance to the already existing list */
/* Append this new occurence to the already existing list */
char* now = _strdup(&val[6]);
const char* old =
freerdp_settings_get_string(settings, FreeRDP_KeyboardRemappingList);
@ -5818,7 +5818,7 @@ BOOL freerdp_client_load_addins(rdpChannels* channels, rdpSettings* settings)
}
/**
* step 2: do various adjustements in the settings, to handle channels and settings dependencies
* step 2: do various adjustments in the settings to handle channels and settings dependencies
*/
if ((freerdp_static_channel_collection_find(settings, RDPSND_CHANNEL_NAME)) ||
(freerdp_dynamic_channel_collection_find(settings, RDPSND_CHANNEL_NAME))
@ -5875,7 +5875,7 @@ BOOL freerdp_client_load_addins(rdpChannels* channels, rdpSettings* settings)
while (tok)
{
/* Syntax: Comma seperated list of the following entries:
/* Syntax: Comma separated list of the following entries:
* '*' ... Redirect all drives, including hotplug
* 'DynamicDrives' ... hotplug
* '%' ... user home directory

View File

@ -316,7 +316,7 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = {
"mic", "Audio input (microphone)" },
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
{ "smartcard-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT, NULL, NULL, NULL, -1, NULL,
"[DEPRECATED, use /list:smartcard] List smartcard informations" },
"[DEPRECATED, use /list:smartcard] List smartcard information" },
{ "monitor-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT, NULL, NULL, NULL, -1, NULL,
"[DEPRECATED, use /list:monitor] List detected monitors" },
#endif

View File

@ -2,7 +2,7 @@
.PP
wlog environment variable
.RS 4
@MANPAGE_NAME@ uses wLog as its log facility, you can refer to the corresponding man page (wlog(7)) for more informations\&. Arguments passed via the
@MANPAGE_NAME@ uses wLog as its log facility, you can refer to the corresponding man page (wlog(7)) for more information\&. Arguments passed via the
\fI/log\-level\fR
or
\fI/log\-filters\fR

View File

@ -126,7 +126,7 @@
@end
#pragma mark Mutable deep copy for dicionary, array and set
#pragma mark Mutable deep copy for dictionary, array and set
@implementation NSDictionary (TSXAdditions)

View File

@ -234,7 +234,7 @@
EditSelectionTableViewCell *selCell = (EditSelectionTableViewCell *)cell;
[[selCell label]
setText:NSLocalizedString(@"Security",
@"'Security': Bookmark protocl security settings")];
@"'Security': Bookmark protocol security settings")];
[[selCell selection]
setText:ProtocolSecurityDescription([_params intForKey:@"security"])];
break;

View File

@ -14,7 +14,7 @@
@implementation AppSettingsController
// keep this up-to-date for correct section display/hidding
// keep this up-to-date for correct section display/hiding
#define SECTION_UI_SETTINGS 0
#define SECTION_CERTIFICATE_HANDLING_SETTINGS 1
#define SECTION_NUM_SECTIONS 2

View File

@ -15,7 +15,7 @@
@class ConnectionParams;
@protocol BookmarkEditorDelegate <NSObject>
// bookmark editing finsihed
// bookmark editing finished
- (void)commitBookmark:(ComputerBookmark *)bookmark;
@end

View File

@ -419,7 +419,7 @@
}
}
// prevent that an item is moved befoer the Add Bookmark item
// prevent that an item is moved before the Add Bookmark item
- (NSIndexPath *)tableView:(UITableView *)tableView
targetIndexPathForMoveFromRowAtIndexPath:(NSIndexPath *)sourceIndexPath
toProposedIndexPath:(NSIndexPath *)proposedDestinationIndexPath
@ -796,7 +796,7 @@
- (UIButton *)disclosureButtonWithImage:(UIImage *)image
{
// we make the button a little bit bigger (image widht * 2, height + 10) so that the user
// we make the button a little bit bigger (image width * 2, height + 10) so that the user
// doesn't accidentally connect to the bookmark ...
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
[button setFrame:CGRectMake(0, 0, [image size].width * 2, [image size].height + 10)];

View File

@ -38,7 +38,7 @@ extern NSString *TableCellIdentifierButton;
// returns one of the requested table view cells
- (UITableViewCell *)tableViewCellFromIdentifier:(NSString *)identifier;
// Adjust text input cells label/textfield widht according to the label's text size
// Adjust text input cells label/textfield width according to the label's text size
- (void)adjustEditTextTableViewCell:(EditTextTableViewCell *)cell;
@end

View File

@ -68,7 +68,7 @@ static EncryptionController *_shared_encryption_controller = nil;
return _shared_encryptor;
}
// For the current implementation, decryptors and encryptors are equivilant.
// For the current implementation, decryptors and encryptors are equivalent.
- (Encryptor *)decryptor
{
return [self encryptor];

View File

@ -139,7 +139,7 @@
}
[[self navigationController] setNavigationBarHidden:YES animated:animated];
// if sesssion is suspended - notify that we got a new bitmap context
// if session is suspended - notify that we got a new bitmap context
if ([_session isSuspended])
[self sessionBitmapContextWillChange:_session];

View File

@ -19,7 +19,7 @@
NSString *_keyPath;
ConnectionParams *_params;
// avaiable options
// available options
OrderedDictionary *_color_options;
NSArray *_resolution_modes;

View File

@ -158,7 +158,7 @@
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
// custom widht/height cells are not selectable
// custom width/height cells are not selectable
if ([indexPath section] == 1 && [indexPath row] >= [_resolution_modes count])
return;

View File

@ -423,7 +423,7 @@ void ios_uninit_freerdp()
{
}
/* compatibilty functions */
/* compatibility functions */
size_t fwrite$UNIX2003(const void *ptr, size_t size, size_t nmemb, FILE *stream)
{
return fwrite(ptr, size, nmemb, stream);

View File

@ -86,7 +86,7 @@ static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReach
@"info was wrong class in ReachabilityCallback");
// We're on the main RunLoop, so an NSAutoreleasePool is not necessary, but is added defensively
// in case someon uses the Reachablity object in a different thread.
// in case someone uses the Reachablity object in a different thread.
NSAutoreleasePool *myPool = [[NSAutoreleasePool alloc] init];
Reachability *noteObject = (Reachability *)info;

View File

@ -130,7 +130,7 @@ NSArray *ResolutionModes()
NSString *LocalizedAutomaticSecurity()
{
return NSLocalizedString(@"Automatic", @"Automatic protocl security selection");
return NSLocalizedString(@"Automatic", @"Automatic protocol security selection");
}
NSString *ProtocolSecurityDescription(TSXProtocolSecurityOptions type)

View File

@ -235,7 +235,7 @@
- (void)handleAlphaNumChar:(int)character
{
// if we recive an uppercase letter - make it lower and send an shift down event to server
// if we receive an uppercase letter - make it lower and send an shift down event to server
BOOL shift_was_sent = NO;
if (isupper(character) && _shift_pressed == NO)
{

View File

@ -100,7 +100,7 @@ extern NSString *TSXSessionDidFailToConnectNotification;
// get a small session screenshot
- (UIImage *)getScreenshotWithSize:(CGSize)size;
// returns the session's current paramters
// returns the session's current parameters
- (rdpSettings *)getSessionParams;
// returns the session's name (usually the label of the bookmark the session was created with)

View File

@ -294,7 +294,7 @@ out_free:
- (void)connect
{
// Set Screen Size to automatic if widht or height are still 0
// Set Screen Size to automatic if width or height are still 0
rdpSettings *settings = _freerdp->context->settings;
if (freerdp_settings_get_uint32(settings, FreeRDP_DesktopWidth) == 0 ||

View File

@ -28,7 +28,7 @@
/* Advanced Settings title */
"Advanced Settings" = "Advanced Settings";
/* Automatic protocl security selection
/* Automatic protocol security selection
Screen resolution selector: Automatic resolution (full screen on iPad, reasonable size on iPhone) */
"Automatic" = "Automatic";
@ -205,7 +205,7 @@
/* 'Screen': Bookmark Screen settings */
"Screen" = "Screen";
/* 'Security': Bookmark protocl security settings */
/* 'Security': Bookmark protocol security settings */
"Security" = "Security";
/* Server Certificate Handling section title */

View File

@ -279,7 +279,7 @@ static UIFont *buttonFont = nil;
}
else if (_blocks.count == 1)
{
// In this case this is the ony button. We'll size according to the text
// In this case this is the only button. We'll size according to the text
CGSize size = [title sizeWithFont:buttonFont
minFontSize:10
actualFontSize:nil

View File

@ -23,7 +23,7 @@ function (clang_detect_tool VAR NAME OPTS)
)
if (_CLANG_TOOL_VERSION_FAILED)
message(WARNING "A problem was encounterd with ${${VAR}}")
message(WARNING "A problem was encountered with ${${VAR}}")
message(WARNING "${_CLANG_TOOL_VERSION_FAILED}")
unset(${VAR})
return()

View File

@ -57,7 +57,7 @@ IF(NOT PKGCONFIG_FOUND AND WIN32 AND NOT CYGWIN)
# MINGW should go here too
IF(MSVC)
# Implementation details:
# We are using the libraries located in the VC subdir instead of the parent directory eventhough :
# We are using the libraries located in the VC subdir instead of the parent directory even though :
FIND_LIBRARY(CAIRO_DEBUG
NAMES
cairod

View File

@ -13,7 +13,7 @@
# KRB5_LDFLAGS - Additional linker flags
# KRB5_CFLAGS - Additional compiler flags
# KRB5_VERSION - This is set to version advertised by pkg-config or read from manifest.
# In case the library is found but no version info availabe it'll be set to "unknown"
# In case the library is found but no version info available it'll be set to "unknown"
include(CheckIncludeFile)
include(CheckIncludeFiles)

View File

@ -1,4 +1,4 @@
# Get all propreties that cmake supports
# Get all properties that cmake supports
if(NOT CMAKE_PROPERTY_LIST)
execute_process(COMMAND cmake --help-property-list OUTPUT_VARIABLE CMAKE_PROPERTY_LIST)

View File

@ -60,7 +60,7 @@ function(merge_static_libs output_library)
# Now the easy part for MSVC and for MAC
if(MSVC)
# lib.exe does the merging of libraries just need to conver the list into string
# lib.exe does the merging of libraries just need to convert the list into string
foreach(CONFIG_TYPE ${CMAKE_CONFIGURATION_TYPES})
set(flags "")
foreach(lib ${libfiles_${CONFIG_TYPE}})

View File

@ -1,4 +1,4 @@
# This option allows deactivating FreeRDP supplied platform defauts to replace these with
# This option allows deactivating FreeRDP supplied platform defaults to replace these with
# user supplied values.
#
# Compilation will fail without a replacement defining the symbols, but that can be
@ -25,7 +25,7 @@ if (USE_PLATFORM_DEFAULT)
# is implemented, so ignore _POSIX_VERSION from unistd.h
add_definitions("-D_POSIX_C_SOURCE=200809L")
# TODO: FreeBSD allows mixing POSIX and BSD API calls if we do not set
# _POSIX_C_SOURCE but lack a macro to reenable the BSD calls...
# _POSIX_C_SOURCE but lack a macro to re-enable the BSD calls...
add_definitions("-D__BSD_VISIBLE")
# There are some symbols only visible for XOpen standard
@ -48,7 +48,7 @@ if (USE_PLATFORM_DEFAULT)
# is implemented, so ignore _POSIX_VERSION from unistd.h
add_definitions("-D_POSIX_C_SOURCE=200809L")
# as _POSIX_C_SOURCE sets a fully POSIX confirmant environment reenable
# as _POSIX_C_SOURCE sets a fully POSIX confirmant environment re-enable
# MacOS API visibility by defining the following feature test macro
add_definitions("-D_DARWIN_C_SOURCE")
endif()
@ -73,7 +73,7 @@ if (USE_PLATFORM_DEFAULT)
# is implemented, so ignore _POSIX_VERSION from unistd.h
add_definitions("-D_POSIX_C_SOURCE=200809L")
# TODO: FreeBSD allows mixing POSIX and BSD API calls if we do not set
# _POSIX_C_SOURCE but lack a macro to reenable the BSD calls...
# _POSIX_C_SOURCE but lack a macro to re-enable the BSD calls...
add_definitions("-D__BSD_VISIBLE")
# There are some symbols only visible for XOpen standard

View File

@ -85,7 +85,7 @@ CREATE_SUBDIRS = NO
# level increment doubles the number of directories, resulting in 4096
# directories at level 8 which is the default and also the maximum value. The
# sub-directories are organized in 2 levels, the first level always has a fixed
# numer of 16 directories.
# number of 16 directories.
# Minimum value: 0, maximum value: 8, default value: 8.
# This tag requires that the tag CREATE_SUBDIRS is set to YES.

View File

@ -112,7 +112,7 @@ We support
* FUSE for file clipboard support (linux/mac os, disable with -DWITH_FUSE=OFF)
* Wayland for wlfreerdp (disable with -DWITH_WAYLAND=OFF)
* X11 development headers for X11 client (disable with -DWITH_X11=OFF)
* ALSA development headers/libraris (disable with -DWITH_ALSA=OFF)
* ALSA development headers/libraries (disable with -DWITH_ALSA=OFF)
* PULSE development headers/libraries (disable with -DWITH_PULSE=OFF)
* OSS development headers/libraries (disable with -DWITH_OSS=OFF)
@ -137,7 +137,7 @@ disable with -DWITH_WINPR_TOOLS=OFF
* Use Ninja to speed up your builds
* For release builds add -DCMAKE_BUILD_TYPE=Release (or RelWithDebInfo for less optimized but with debug symbols)
* -DWITH_VERBOSE_WINPR_ASSERT=OFF reduces the size of the build considerably but removes lots
of santity checks in code. Recommended for stable builds, for builds not from stable releases
of sanity checks in code. Recommended for stable builds, for builds not from stable releases
it is recommended to keep -DWITH_VERBOSE_WINPR_ASSERT=ON to have useful information on crashes.
15. Example build instructions:

View File

@ -100,7 +100,7 @@ CMAKE_IOS_SDK_ROOT (used by toolchain file)
* absolute path to the iOS SDK (i.e. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk) the toolchain file will usually auto-detect the correct SDK, depending on IOS_PLATFORM
FREERDP_IOS_EXTERNAL_SSL_PATH (used by FindOpenSSL)
* absolut root path to the pre-built static OpenSSL libraries
* absolute root path to the pre-built static OpenSSL libraries
CODE_SIGN_IDENTITY
* specify the identity to sign the code with

View File

@ -4,7 +4,7 @@ More documentation might be found at https://github.com/FreeRDP/FreeRDP/wiki/Com
Starting with "El Capitan" Apple removed the openssl headers. Therefore it's
required to build openssl manually upfront. For example by using MacPorts or Homebrew.
To build FreeRDP against this library it's required to set the PKG_CONFIG_PATH
pointing to the openssl root directory befor building.
pointing to the openssl root directory before building.
For example with brew it would look like this:
export PKG_CONFIG_PATH=$(brew --prefix)/opt/openssl/lib/pkgconfig

View File

@ -6,7 +6,7 @@ When doing a `xfreerdp /version` for example the following is shown
`This is FreeRDP version 3.0.0-dev (c99c4cecddee4e5b914b122bc1531d47a668bb8e)`
The first part ist the Version as defined in `RAW_VERSION_STRING` and the second part, in braces,
The first part is the Version as defined in `RAW_VERSION_STRING` and the second part, in braces,
the `GIT_REVISON` of this version.
`RAW_VERSION_STRING` is very vital as it determines the version used for libraries as well also for

View File

@ -38,7 +38,7 @@ The level list below is top down. Top the highest level.
* WLOG_TRACE - print everything including package dumps
* WLOG_DEBUG - debug messages
* WLOG_INFO - general informations
* WLOG_INFO - general information
* WLOG_WARN - warnings
* WLOG_ERROR - errors
* WLOG_FATAL - fatal problems

View File

@ -110,7 +110,7 @@ typedef enum
} FreeRDP_Settings_Keys_Pointer;
/** Highest indes in the rdpSettings stable API
/** Highest index in the rdpSettings stable API
*
* \since version 3.0.0
*/

View File

@ -113,7 +113,7 @@ typedef struct
{
UINT64 poolId;
UINT64 poolSize;
UINT32 sectionNameLength; // number of charactor, must include null terminated char.
UINT32 sectionNameLength; // number of characters, must include null terminated char.
const unsigned short* sectionName; // Windows-style 2 bytes wchar_t with null-terminated.
} GFXREDIR_OPEN_POOL_PDU;

View File

@ -56,7 +56,7 @@ extern "C"
/*** Design considerations
*
* The format naming scheme is based on byte position in memory.
* RGBA for example names a byte array with red on positon 0, green on 1 etc.
* RGBA for example names a byte array with red on position 0, green on 1 etc.
*
* To read and write the appropriate format from / to memory use FreeRDPReadColor and
* FreeRDPWriteColor.
@ -145,7 +145,7 @@ typedef struct gdi_palette gdiPalette;
* @param _g green color value
* @param _b blue color value
* @param _a alpha color value
* @param palette pallete to use (only used for 8 bit color!)
* @param palette palette to use (only used for 8 bit color!)
*/
#if defined(WITH_FREERDP_DEPRECATED)
#define SplitColor(...) FreeRDPSplitColor(__VA_ARGS__)
@ -245,7 +245,7 @@ typedef struct gdi_palette gdiPalette;
* @param color The pixel color in srcFormat representation
* @param srcFormat The PIXEL_FORMAT_* of color
* @param dstFormat The PIXEL_FORMAT_* of the return.
* @param palette pallete to use (only used for 8 bit color!)
* @param palette palette to use (only used for 8 bit color!)
*
* @return The converted pixel color in dstFormat representation
*/
@ -434,9 +434,9 @@ typedef struct gdi_palette gdiPalette;
/***
*
* @param pDstData destionation buffer
* @param DstFormat destionation buffer format
* @param nDstStep destionation buffer stride (line in bytes) 0 for default
* @param pDstData destination buffer
* @param DstFormat destination buffer format
* @param nDstStep destination buffer stride (line in bytes) 0 for default
* @param nXDst destination buffer offset x
* @param nYDst destination buffer offset y
* @param nWidth width to copy in pixels

View File

@ -43,7 +43,7 @@ extern "C"
/** BASE64 encode data
*
* @param data The data to encode
* @param length The lenght of the data in bytes
* @param length The length of the data in bytes
* @param withCrLf Option to split the encoded data with CRLF linebreaks
*
* @since version 3.0.0

View File

@ -417,7 +417,7 @@ owned by rdpRdp */
size to allocate the context buffer. freerdp_new() sets it to
sizeof(rdpContext). If modifying it, there should always be a minimum of
sizeof(rdpContext), as the freerdp library will assume it can use the 'context'
field to set the required informations in it. Clients will typically make it
field to set the required information in it. Clients will typically make it
bigger, and use a context structure embedding the rdpContext, and adding
additional information after that.
*/

View File

@ -50,7 +50,7 @@ extern "C"
/**
* @brief pf_server_add_module Allows registering proxy modules that are
* build-in instead of shipped as separate
* built-in instead of shipped as separate
* module loaded at runtime.
*
* @param server A proxy instance to add the module to. Must NOT be NULL

View File

@ -661,7 +661,7 @@ extern "C"
* the settings.
*
* \param settings A pointer to the settings to use
* \param capsFlags A pointer to the capablity flags, must have capsCount fields
* \param capsFlags A pointer to the capability flags, must have capsCount fields
* \param capsData A pointer array to the RAW capability data, must have capsCount fields
* \param capsSizes A pointer to an array of RAW capability sizes, must have capsCount fields
* \param capsCount The number of capabilities contained in the RAW data

View File

@ -79,7 +79,7 @@ extern "C"
typedef BOOL (*pTransportGetPublicKey)(rdpTransport* transport, const BYTE** data,
DWORD* length);
/**
* @brief Mofify transport behaviour between bocking and non blocking operation
* @brief Modify transport behaviour between blocking and non blocking operation
*
* @param transport The transport to manipulate
* @param blocking Boolean to set the transport \b TRUE blocking and \b FALSE non-blocking
@ -133,7 +133,7 @@ extern "C"
* incomplete: FALSE if the whole PDU is available, TRUE otherwise
* Return: 0 -> PDU header incomplete
* >0 -> PDU header complete, length of PDU.
* <0 -> Abort, an error occured
* <0 -> Abort, an error occurred
*/
FREERDP_API SSIZE_T transport_parse_pdu(rdpTransport* transport, wStream* s, BOOL* incomplete);
FREERDP_API rdpContext* transport_get_context(rdpTransport* transport);

View File

@ -55,7 +55,7 @@
#define WINDOW_ORDER_FIELD_APPBAR_STATE 0x00000040
#define WINDOW_ORDER_FIELD_APPBAR_EDGE 0x00000001
/* Window (chached) Icon */
/* Window (cached) Icon */
#define WINDOW_ORDER_ICON 0x40000000
#define WINDOW_ORDER_CACHED_ICON 0x80000000
#define WINDOW_ORDER_FIELD_ICON_BIG 0x00002000

View File

@ -737,7 +737,7 @@ static BOOL freerdp_dsp_channel_mix(FREERDP_DSP_CONTEXT* WINPR_RESTRICT context,
case 2: /* We only support stereo, so we can not handle this case. */
default: /* Unsupported number of channels */
WLog_WARN(TAG, "[%s] unsuported source channel count %" PRIu16, __func__,
WLog_WARN(TAG, "[%s] unsupported source channel count %" PRIu16, __func__,
srcFormat->nChannels);
return FALSE;
}
@ -766,7 +766,7 @@ static BOOL freerdp_dsp_channel_mix(FREERDP_DSP_CONTEXT* WINPR_RESTRICT context,
case 1: /* Invalid, do we want to use a 0 channel sound? */
default: /* Unsupported number of channels */
WLog_WARN(TAG, "[%s] unsuported channel count %" PRIu16, __func__,
WLog_WARN(TAG, "[%s] unsupported channel count %" PRIu16, __func__,
srcFormat->nChannels);
return FALSE;
}

View File

@ -282,7 +282,7 @@ static void region16_copy_band_with_union(RECTANGLE_16* dst, const RECTANGLE_16*
*
* We first copy as-is items that are before Item2, the first overlapping
* item.
* Then we find the last one that overlap unionRect to agregate Item2, Item3
* Then we find the last one that overlap unionRect to aggregate Item2, Item3
* and Item4 to create Item2.
* Finally Item5 is copied as Item3.
*
@ -589,13 +589,13 @@ BOOL region16_union_rect(REGION16* dst, const REGION16* src, const RECTANGLE_16*
| | | |
possible cases:
1) no top split, merge zone then a bottom split. The band will be splitted
1) no top split, merge zone then a bottom split. The band will be split
in two
2) not band split, only the merge zone, band merged with rect but not splitted
2) not band split, only the merge zone, band merged with rect but not split
3) a top split, the merge zone and no bottom split. The band will be split
in two
4) a top split, the merge zone and also a bottom split. The band will be
splitted in 3, but the coalesce algorithm may merge the created bands
split in 3, but the coalesce algorithm may merge the created bands
*/
UINT16 mergeTop = currentBand->top;
UINT16 mergeBottom = currentBand->bottom;

View File

@ -60,7 +60,7 @@
* and lower quality.
*
* This is the default values being use by the MS RDP server, and we will also
* use it as our default values for the encoder. It can be overrided by setting
* use it as our default values for the encoder. It can be overridden by setting
* the context->num_quants and context->quants member.
*
* The order of the values are:
@ -257,7 +257,7 @@ RFX_CONTEXT* rfx_context_new_ex(BOOL encoder, UINT32 ThreadingFlags)
* that are actually in front/beyond the buffer. Offset calculations are
* performed at the BufferPool_Take function calls in rfx_encode/decode.c.
*
* We then multiply by 3 to use a single, partioned buffer for all 3 channels.
* We then multiply by 3 to use a single, partionned buffer for all 3 channels.
*/
priv->BufferPool = BufferPool_New(TRUE, (8192ULL + 32ULL) * 3ULL, 16);

View File

@ -5432,7 +5432,7 @@ static BOOL CompareBitmap(const BYTE* srcA, UINT32 srcAFormat, const BYTE* srcB,
if ((srcABits < 15) || (srcBBits < 15))
return FALSE;
/* Compare with folliwing granularity:
/* Compare with following granularity:
* 32 --> 24 bpp: Each color channel has 8bpp, no difference expected
* 24/32 --> 15/16 bpp: 8bit per channel against 5/6bit per channel, +/- 3bit
* 16 --> 15bpp: 5/6bit per channel against 5 bit per channel, +/- 1bit

View File

@ -769,7 +769,7 @@ static INLINE size_t xcrush_copy_bytes_no_overlap(BYTE* WINPR_RESTRICT dst,
const BYTE* WINPR_RESTRICT src, size_t num)
{
// src and dst overlaps
// we should copy the area that doesn't overlap repeatly
// we should copy the area that doesn't overlap repeatedly
const size_t diff = (dst > src) ? dst - src : src - dst;
const size_t rest = num % diff;
const size_t end = num - rest;

View File

@ -1099,7 +1099,7 @@ static BOOL rdp_read_pointer_capability_set(wStream* s, rdpSettings* settings)
{
WLog_WARN(TAG, "[MS-RDPBCGR] 2.2.7.1.5 Pointer Capability Set "
"(TS_POINTER_CAPABILITYSET)::colorPointerFlag received is %" PRIu16
". Vaue is ignored and always assumed to be TRUE");
". Value is ignored and always assumed to be TRUE");
}
/* pointerCacheSize is optional */
@ -2705,7 +2705,7 @@ static BOOL rdp_apply_multifragment_update_capability_set(rdpSettings* settings,
else
{
/*
* In client mode we keep up with the server's capabilites.
* In client mode we keep up with the server's capabilities.
* In RemoteFX mode we MUST do this but it might also be useful to
* receive larger related bitmap updates.
*/

View File

@ -198,7 +198,7 @@ BOOL freerdp_connect(freerdp* instance)
if (rc == 0)
goto freerdp_connect_finally;
/* Pointers might have changed inbetween */
/* Pointers might have changed in between */
{
rdp_update_internal* up = update_cast(rdp->update);

View File

@ -1307,7 +1307,7 @@ static SSIZE_T http_response_recv_line(rdpTls* tls, HttpResponse* response)
goto out_error;
}
/* Always check at most the lase 8 bytes for occurance of the desired
/* Always check at most the lase 8 bytes for occurrence of the desired
* sequence of \r\n\r\n */
s = (position > 8) ? 8 : position;
end = (char*)Stream_Pointer(response->data) - s;

View File

@ -728,7 +728,7 @@ wStream* license_send_stream_init(rdpLicense* license)
* layer is used. If the peer has not indicated that it is capable of
* processing encrypted licensing packets (rdp->do_crypt_license) we turn
* off encryption (via rdp->do_crypt) before initializing the rdp stream
* and reenable it afterwards.
* and re-enable it afterwards.
*/
if (do_crypt)

View File

@ -102,7 +102,7 @@
* subInterval INTEGER (0..MAX)
* }
*
* AttachUserRequest ::= [APPPLICATION 10] IMPLICIT SEQUENCE
* AttachUserRequest ::= [APPLICATION 10] IMPLICIT SEQUENCE
* {
* }
*

View File

@ -1509,7 +1509,7 @@ BOOL nego_send_negotiation_response(rdpNego* nego)
ENCRYPTION_LEVEL_NONE)
{
/**
* If the server implementation did not explicitely set a
* If the server implementation did not explicitly set a
* encryption level we default to client compatible
*/
if (!freerdp_settings_set_uint32(settings, FreeRDP_EncryptionLevel,
@ -1817,7 +1817,7 @@ void nego_enable_aad(rdpNego* nego, BOOL enable_aad)
* Set routing token.
* @param nego A pointer to the NEGO struct
* @param RoutingToken A pointer to the routing token
* @param RoutingTokenLength The lenght of the routing token
* @param RoutingTokenLength The length of the routing token
*
* @return \b TRUE for success, \b FALSE otherwise
*/

View File

@ -2968,7 +2968,7 @@ static void log_build_warn_cipher(rdpRdp* rdp, log_line_t* firstLine, WINPR_CIPH
char key[WINPR_CIPHER_MAX_KEY_LENGTH] = { 0 };
char iv[WINPR_CIPHER_MAX_IV_LENGTH] = { 0 };
/* RC4 only exists in the compatiblity functions winpr_RC4_*
/* RC4 only exists in the compatibility functions winpr_RC4_*
* winpr_Cipher_* does not support that. */
if (md == WINPR_CIPHER_ARC4_128)
{
@ -3079,7 +3079,7 @@ void rdp_log_build_warnings(rdpRdp* rdp)
WINPR_ASSERT(rdp);
/* Since this function is called in context creation routines stop logging
* this issue repetedly. This is required for proxy, which would otherwise
* this issue repeatedly. This is required for proxy, which would otherwise
* spam the log with these. */
if (count > 0)
return;

View File

@ -1012,7 +1012,7 @@ BOOL rdp_write_enhanced_security_redirection_packet(wStream* s, const rdpRedirec
if (redirection->flags & LB_PASSWORD)
{
/* Password is eighter UNICODE or opaque data */
/* Password is either UNICODE or opaque data */
if (!redir_write_data(LB_PASSWORD, s, redirection->PasswordLength, redirection->Password))
goto fail;
}

View File

@ -354,7 +354,7 @@ static BOOL monitor_operlaps(const rdpSettings* settings, UINT32 start, UINT32 c
WLog_ERR(
TAG,
"Mulitimonitor mode requested, but local layout has gaps or overlapping areas!");
WLog_ERR(TAG, "Please reconfigure your local monitor setup so that thre are no gaps or "
WLog_ERR(TAG, "Please reconfigure your local monitor setup so that there are no gaps or "
"overlapping areas!");
return TRUE;
}

View File

@ -931,7 +931,7 @@ static SSIZE_T parse_nla_mode_pdu(rdpTransport* transport, wStream* stream)
}
else if ((lengthEncoding & ~(0x80)) == 2)
{
/* check for header bytes already was readed in previous calls */
/* check for header bytes already read in previous calls */
UINT16 length = 0;
if (Stream_GetRemainingLength(s) < 2)
return 0;

View File

@ -1,6 +1,6 @@
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Certificate and private key heplers
* Certificate and private key helpers
*
* Copyright 2023 Armin Novak <anovak@thincast.com>
* Copyright 2023 Thincast Technologies GmbH

View File

@ -746,7 +746,7 @@ static void tls_reset(rdpTls* tls)
}
/* tls->underlying is a stacked BIO under tls->bio.
* BIO_free_all will free recursivly. */
* BIO_free_all will free recursively. */
if (tls->bio)
BIO_free_all(tls->bio);
else if (tls->underlying)

View File

@ -48,7 +48,7 @@ BYTE* x509_utils_get_hash(const X509* xcert, const char* hash, size_t* length)
}
if (!xcert || !length)
{
WLog_ERR(TAG, "Invalid arugments: xcert=%p, length=%p", xcert, length);
WLog_ERR(TAG, "Invalid arguments: xcert=%p, length=%p", xcert, length);
return NULL;
}

View File

@ -425,7 +425,7 @@ static BOOL vgids_prepare_fstable(const vgidsFilesysTableEntry* fstable, DWORD n
BYTE** outData, DWORD* outDataSize)
{
/* Filesystem table:
BYTE unkonwn: 0x01
BYTE unknown: 0x01
Array of vgidsFilesysTableEntry
*/
BYTE* data = malloc(sizeof(vgidsFilesysTableEntry) * numEntries + 1);
@ -536,7 +536,7 @@ static BYTE vgids_get_algid(vgidsContext* p_Ctx)
static BOOL vgids_prepare_keymap(vgidsContext* context, BYTE** outData, DWORD* outDataSize)
{
/* Key map record table:
BYTE unkonwn (count?): 0x01
BYTE unknown (count?): 0x01
Array of vgidsKeymapRecord
*/
BYTE* data = NULL;
@ -1032,7 +1032,7 @@ static BOOL vgids_ins_manage_security_environment(vgidsContext* context, wStream
Stream_Read_UINT8(s, context->currentSE.keyRef);
create_response:
/* If an error occured reset SE */
/* If an error occurred reset SE */
if (status != ISO_STATUS_SUCCESS)
memset(&context->currentSE, 0, sizeof(context->currentSE));
return vgids_create_response(status, resultData, resultDataSize, response, responseSize);

View File

@ -93,7 +93,7 @@ static const SYSTEM_LOCALE SYSTEM_LOCALE_TABLE[] = {
{ "en", "AU", ENGLISH_AUSTRALIAN }, /* English (Australia) */
{ "en", "BZ", ENGLISH_BELIZE }, /* English (Belize) */
{ "en", "CA", ENGLISH_CANADIAN }, /* English (Canada) */
{ "en", "CB", ENGLISH_CARIBBEAN }, /* English (Carribean) */
{ "en", "CB", ENGLISH_CARIBBEAN }, /* English (Carribbean) */
{ "en", "IN", ENGLISH_INDIA }, /* Windows Vista and later: English (India) */
{ "en", "IE", ENGLISH_IRELAND }, /* English (Ireland) */
{ "en", "JM", ENGLISH_JAMAICA }, /* English (Jamaica) */

View File

@ -547,7 +547,7 @@ static pstatus_t neon_ChromaV1ToYUV444(const BYTE* WINPR_RESTRICT pSrcRaw[3],
const UINT32 oddY = 1;
const UINT32 evenY = 0;
const UINT32 oddX = 1;
/* The auxilary frame is aligned to multiples of 16x16.
/* The auxiliary frame is aligned to multiples of 16x16.
* We need the padded height for B4 and B5 conversion. */
const UINT32 padHeigth = nHeight + 16 - nHeight % 16;
const UINT32 halfPad = halfWidth % 16;

View File

@ -62,7 +62,7 @@ neon_yCbCrToRGB_16s16s_P3P3(const INT16* WINPR_RESTRICT pSrc[3], INT32 srcStep,
{
/*
In order to use NEON signed 16-bit integer multiplication we need to convert
the floating point factors to signed int without loosing information.
the floating point factors to signed int without losing information.
The result of this multiplication is 32 bit and we have a NEON instruction
that returns the hi word of the saturated double.
Thus we will multiply the factors by the highest possible 2^n, take the

View File

@ -154,7 +154,7 @@ static pstatus_t general_ChromaV1ToYUV444(const BYTE* WINPR_RESTRICT pSrcRaw[3],
const UINT32 oddY = 1;
const UINT32 evenY = 0;
const UINT32 oddX = 1;
/* The auxilary frame is aligned to multiples of 16x16.
/* The auxiliary frame is aligned to multiples of 16x16.
* We need the padded height for B4 and B5 conversion. */
const UINT32 padHeigth = nHeight + 16 - nHeight % 16;
const BYTE* pSrc[3] = { pSrcRaw[0] + 1ULL * roi->top * srcStep[0] + roi->left,
@ -307,7 +307,7 @@ general_YUV444SplitToYUV420(const BYTE* WINPR_RESTRICT pSrc[3], const UINT32 src
UINT32 vY = 0;
UINT32 halfWidth = 0;
UINT32 halfHeight = 0;
/* The auxilary frame is aligned to multiples of 16x16.
/* The auxiliary frame is aligned to multiples of 16x16.
* We need the padded height for B4 and B5 conversion. */
const UINT32 padHeigth = roi->height + 16 - roi->height % 16;
halfWidth = (roi->width + 1) / 2;
@ -1345,7 +1345,7 @@ static INLINE pstatus_t general_RGBToAVC444YUV_ANY(
* B2: From U444 all pixels in even rows with even columns
* B3: From V444 all pixels in even rows with even columns
*
* Chroma420 frame (auxillary view):
* Chroma420 frame (auxiliary view):
* B45: From U444 and V444 all pixels from all odd rows
* (The odd U444 and V444 rows must be interleaved in 8-line blocks in B45 !!!)
* B6: From U444 all pixels in even rows with odd columns
@ -1618,7 +1618,7 @@ static INLINE pstatus_t general_RGBToAVC444YUVv2_ANY(
* B2: From U444 all pixels in even rows with even rows and columns
* B3: From V444 all pixels in even rows with even rows and columns
*
* Chroma420 frame (auxillary view):
* Chroma420 frame (auxiliary view):
* B45: From U444 and V444 all pixels from all odd columns
* B67: From U444 and V444 every 4th pixel in odd rows
* B89: From U444 and V444 every 4th pixel (initial offset of 2) in odd rows

View File

@ -1265,7 +1265,7 @@ static pstatus_t ssse3_ChromaV1ToYUV444(const BYTE* WINPR_RESTRICT pSrcRaw[3],
const UINT32 oddY = 1;
const UINT32 evenY = 0;
const UINT32 oddX = 1;
/* The auxilary frame is aligned to multiples of 16x16.
/* The auxiliary frame is aligned to multiples of 16x16.
* We need the padded height for B4 and B5 conversion. */
const UINT32 padHeigth = nHeight + 16 - nHeight % 16;
const BYTE* pSrc[3] = { pSrcRaw[0] + 1ULL * roi->top * srcStep[0] + roi->left,

Some files were not shown because too many files have changed in this diff Show More