From 0536d0975bb9e8e4a8aae693bd79157955a896b1 Mon Sep 17 00:00:00 2001 From: klemens Date: Sat, 28 Jan 2017 20:56:56 +0100 Subject: [PATCH] spelling fixes --- BUILDING.txt | 2 +- cmake/Modules/CMakeMacroLibtoolFile.cmake | 2 +- common/Xregion/Region.c | 2 +- common/rfb/Encoder.h | 2 +- common/rfb/JpegCompressor.cxx | 2 +- common/rfb/JpegDecompressor.cxx | 2 +- common/rfb/VNCSConnectionST.cxx | 4 ++-- common/rfb/XF86keysym.h | 2 +- common/rfb/keysymdef.h | 2 +- tests/results/multicore/README | 2 +- unix/tx/TXDialog.h | 2 +- unix/x0vncserver/TimeMillis.h | 2 +- unix/xserver/hw/vnc/Input.c | 2 +- win/rfb_win32/LaunchProcess.h | 2 +- win/rfb_win32/keymap.h | 2 +- win/winvnc/VNCServerWin32.h | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index 9987bd7d..94498108 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -503,7 +503,7 @@ The RPM spec files and patches used to create the nightly builds and releases can be found in the "contrib/rpm/el{5,6}" directories of the TigerVNC subversion trunk. All external source tarballs must be fetched manually and placed into the 'SOURCES' directory -under the rpmbuild root. Additonally, the following macros need +under the rpmbuild root. Additionally, the following macros need to be defined: EL6: diff --git a/cmake/Modules/CMakeMacroLibtoolFile.cmake b/cmake/Modules/CMakeMacroLibtoolFile.cmake index 1d8b8fc0..c882c4ad 100644 --- a/cmake/Modules/CMakeMacroLibtoolFile.cmake +++ b/cmake/Modules/CMakeMacroLibtoolFile.cmake @@ -89,7 +89,7 @@ macro(libtool_create_control_file _target) endif() else() # Detected a static library. Check whether the library pathname is - # absolute and, if not, use find_library() to get the abolute path. + # absolute and, if not, use find_library() to get the absolute path. get_filename_component(_name ${library} NAME) string(REPLACE "${_name}" "" _path ${library}) if(NOT "${_path}" STREQUAL "") diff --git a/common/Xregion/Region.c b/common/Xregion/Region.c index 5209443d..1acf5815 100644 --- a/common/Xregion/Region.c +++ b/common/Xregion/Region.c @@ -1310,7 +1310,7 @@ miSubtractO ( else if (r2->x1 <= x1) { /* - * Subtrahend preceeds minuend: nuke left edge of minuend. + * Subtrahend preceds minuend: nuke left edge of minuend. */ x1 = r2->x2; if (x1 >= r1->x2) diff --git a/common/rfb/Encoder.h b/common/rfb/Encoder.h index 62cb6ebc..a8a447e2 100644 --- a/common/rfb/Encoder.h +++ b/common/rfb/Encoder.h @@ -43,7 +43,7 @@ namespace rfb { enum EncoderFlags flags, unsigned int maxPaletteSize); virtual ~Encoder(); - // isSupported() should return a boolean indiciating if this encoder + // isSupported() should return a boolean indicating if this encoder // is okay to use with the current connection. This usually involves // checking the list of encodings in the connection parameters. virtual bool isSupported()=0; diff --git a/common/rfb/JpegCompressor.cxx b/common/rfb/JpegCompressor.cxx index c8bf8410..27cb9de3 100644 --- a/common/rfb/JpegCompressor.cxx +++ b/common/rfb/JpegCompressor.cxx @@ -42,7 +42,7 @@ static const PixelFormat pfXRGB(32, 24, false, true, 255, 255, 255, 8, 16, 24); static const PixelFormat pfXBGR(32, 24, false, true, 255, 255, 255, 24, 16, 8); // -// Error manager implmentation for the JPEG library +// Error manager implementation for the JPEG library // struct JPEG_ERROR_MGR { diff --git a/common/rfb/JpegDecompressor.cxx b/common/rfb/JpegDecompressor.cxx index 70a4276f..4f94faa8 100644 --- a/common/rfb/JpegDecompressor.cxx +++ b/common/rfb/JpegDecompressor.cxx @@ -43,7 +43,7 @@ static const PixelFormat pfXRGB(32, 24, false, true, 255, 255, 255, 8, 16, 24); static const PixelFormat pfXBGR(32, 24, false, true, 255, 255, 255, 24, 16, 8); // -// Error manager implmentation for the JPEG library +// Error manager implementation for the JPEG library // struct JPEG_ERROR_MGR { diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx index 97f7d286..74c40d15 100644 --- a/common/rfb/VNCSConnectionST.cxx +++ b/common/rfb/VNCSConnectionST.cxx @@ -51,7 +51,7 @@ static LogWriter vlog("VNCSConnST"); static const unsigned INITIAL_WINDOW = 16384; // TCP's minimal window is 3*MSS. But since we don't know the MSS, we -// make a guess at 4 KiB (it's probaly a bit higher). +// make a guess at 4 KiB (it's probably a bit higher). static const unsigned MINIMUM_WINDOW = 4096; // The current default maximum window for Linux (4 MiB). Should be a good @@ -821,7 +821,7 @@ void VNCSConnectionST::handleRTTPong(const struct RTTInfo &rttInfo) } // We only keep track of the minimum latency seen (for a given interval) - // on the basis that we want to avoid continous buffer issue, but don't + // on the basis that we want to avoid continuous buffer issue, but don't // mind (or even approve of) bursts. if (rtt < minRTT) minRTT = rtt; diff --git a/common/rfb/XF86keysym.h b/common/rfb/XF86keysym.h index fd3af4f4..ff3dd4f9 100644 --- a/common/rfb/XF86keysym.h +++ b/common/rfb/XF86keysym.h @@ -136,7 +136,7 @@ #define XF86XK_LogOff 0x1008FF61 /* Log off system */ #define XF86XK_Market 0x1008FF62 /* ?? */ #define XF86XK_Meeting 0x1008FF63 /* enter meeting in calendar */ -#define XF86XK_MenuKB 0x1008FF65 /* distingush keyboard from PB */ +#define XF86XK_MenuKB 0x1008FF65 /* distinguish keyboard from PB */ #define XF86XK_MenuPB 0x1008FF66 /* distinuish PB from keyboard */ #define XF86XK_MySites 0x1008FF67 /* Favourites */ #define XF86XK_New 0x1008FF68 /* New (folder, document... */ diff --git a/common/rfb/keysymdef.h b/common/rfb/keysymdef.h index 979ebdd5..a80f3f5a 100644 --- a/common/rfb/keysymdef.h +++ b/common/rfb/keysymdef.h @@ -175,7 +175,7 @@ SOFTWARE. /* - * Auxilliary Functions; note the duplicate definitions for left and right + * Auxiliary Functions; note the duplicate definitions for left and right * function keys; Sun keyboards and a few other manufactures have such * function key groups on the left and/or right sides of the keyboard. * We've not found a keyboard with more than 35 function keys total. diff --git a/tests/results/multicore/README b/tests/results/multicore/README index ffeca4e6..c93b2d7a 100644 --- a/tests/results/multicore/README +++ b/tests/results/multicore/README @@ -34,7 +34,7 @@ that it gets a mere 32% increase on average. It is unknown why at this point and tracing doesn't reveal anything obvious. It may be because it is not a true quad core system, but rather uses HyperThreading. -So in summary, the new code can do a noticable improvement on decoding +So in summary, the new code can do a noticeable improvement on decoding time. However it does so at a cost of efficiency. Four times the CPUs only gives you about twice the performance. More improvements may be possible. diff --git a/unix/tx/TXDialog.h b/unix/tx/TXDialog.h index c8d601c3..7a52f92b 100644 --- a/unix/tx/TXDialog.h +++ b/unix/tx/TXDialog.h @@ -78,7 +78,7 @@ public: // to make sure that checkboxes have the right state, etc. virtual void initDialog() {} - // resize() is overidden here to re-center the dialog + // resize() is overridden here to re-center the dialog void resize(int w, int h) { TXWindow::resize(w,h); int dpyWidth = WidthOfScreen(DefaultScreenOfDisplay(dpy)); diff --git a/unix/x0vncserver/TimeMillis.h b/unix/x0vncserver/TimeMillis.h index e79db12c..115ce085 100644 --- a/unix/x0vncserver/TimeMillis.h +++ b/unix/x0vncserver/TimeMillis.h @@ -31,7 +31,7 @@ public: TimeMillis(); - // Set this object to current time, returns true on sucess. + // Set this object to current time, returns true on success. bool update(); // Return difference in milliseconds between two time points. diff --git a/unix/xserver/hw/vnc/Input.c b/unix/xserver/hw/vnc/Input.c index 64305cbc..33e8604b 100644 --- a/unix/xserver/hw/vnc/Input.c +++ b/unix/xserver/hw/vnc/Input.c @@ -74,7 +74,7 @@ static int vncKeyboardProc(DeviceIntPtr pDevice, int onoff); /* * Init input device. * This has to be called after core pointer/keyboard - * initialization which unfortunately is after extesions + * initialization which unfortunately is after extensions * initialization (which means we cannot call it in * vncExtensionInit(). Check InitExtensions(), * InitCoreDevices() and InitInput() calls in dix/main.c. diff --git a/win/rfb_win32/LaunchProcess.h b/win/rfb_win32/LaunchProcess.h index 38521dcd..73213786 100644 --- a/win/rfb_win32/LaunchProcess.h +++ b/win/rfb_win32/LaunchProcess.h @@ -44,7 +44,7 @@ namespace rfb { // as an extra flag to the process creation call. void start(HANDLE userToken, bool createConsole=false); - // Detatch from the child process. After detatching from a child + // Detach from the child process. After detaching from a child // process, no other methods should be called on the object // that started it void detach(); diff --git a/win/rfb_win32/keymap.h b/win/rfb_win32/keymap.h index a340d09d..664312a6 100644 --- a/win/rfb_win32/keymap.h +++ b/win/rfb_win32/keymap.h @@ -62,7 +62,7 @@ static keymap_t keymap[] = { { XK_Help, VK_HELP, 0 }, { XK_Break, VK_CANCEL, 1 }, - // Auxilliary Functions - must come before XK_KP_F1, etc + // Auxiliary Functions - must come before XK_KP_F1, etc { XK_F1, VK_F1, 0 }, { XK_F2, VK_F2, 0 }, diff --git a/win/winvnc/VNCServerWin32.h b/win/winvnc/VNCServerWin32.h index 225e6342..f384bbeb 100644 --- a/win/winvnc/VNCServerWin32.h +++ b/win/winvnc/VNCServerWin32.h @@ -91,7 +91,7 @@ namespace winvnc { virtual void processAddressChange(); // RegConfig::Callback interface - // Called via the EventManager whenver RegConfig sees the registry change + // Called via the EventManager whenever RegConfig sees the registry change virtual void regConfigChanged(); // EventHandler interface -- 2.39.5