Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
a32554db
Commit
a32554db
authored
Apr 10, 2018
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxcomp: fix spelling errors as reported by codespell
parent
997f2bbd
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
18 additions
and
18 deletions
+18
-18
Agent.h
nxcomp/src/Agent.h
+1
-1
Children.cpp
nxcomp/src/Children.cpp
+1
-1
ClientChannel.cpp
nxcomp/src/ClientChannel.cpp
+2
-2
Control.cpp
nxcomp/src/Control.cpp
+1
-1
DecodeBuffer.cpp
nxcomp/src/DecodeBuffer.cpp
+1
-1
GenericReadBuffer.cpp
nxcomp/src/GenericReadBuffer.cpp
+1
-1
Keeper.cpp
nxcomp/src/Keeper.cpp
+1
-1
Loop.cpp
nxcomp/src/Loop.cpp
+4
-4
MD5.c
nxcomp/src/MD5.c
+1
-1
Proxy.h
nxcomp/src/Proxy.h
+1
-1
PutPackedImage.h
nxcomp/src/PutPackedImage.h
+1
-1
Statistics.cpp
nxcomp/src/Statistics.cpp
+3
-3
No files found.
nxcomp/src/Agent.h
View file @
a32554db
...
...
@@ -50,7 +50,7 @@ class Agent
//
// Must be created by passing the fake descriptor that
// will be used for simulating socket communication
// betwen the agent and the proxy. I/O will take place
// betwe
e
n the agent and the proxy. I/O will take place
// by copying data to the agent's read and write buf-
// fers.
//
...
...
nxcomp/src/Children.cpp
View file @
a32554db
...
...
@@ -893,7 +893,7 @@ int NXTransKeeper(int caches, int images, const char *root)
}
//
// Take care of the persisten image cache.
// Take care of the persisten
t
image cache.
// Run a number of iterations and then exit,
// so we can keep the memory consumption
// low. The parent will check our exit code
...
...
nxcomp/src/ClientChannel.cpp
View file @
a32554db
...
...
@@ -3850,7 +3850,7 @@ int ClientChannel::handleWrite(const unsigned char *message, unsigned int length
//
// Use differential compression at startup and plain
// data compression later. Check X_ListFonts message
// for an expla
i
nation.
// for an explanation.
//
MessageStore
*
messageStore
=
serverStore_
->
...
...
@@ -5974,7 +5974,7 @@ int ClientChannel::handleRestart(T_sequence_mode mode, int resource)
// integer number (0-255) referred to as the 'resource' field.
//
// Before the proxy will be able to report the status of the
// split, the agent will have to close the sequence by issu
e
ing
// split, the agent will have to close the sequence by issuing
// an end-split. The proxy will then report the result of the
// operation, so that the agent will have the option of suspend-
// ing the client or marking the drawable as dirty and take
...
...
nxcomp/src/Control.cpp
View file @
a32554db
...
...
@@ -131,7 +131,7 @@
#define SHMEM_TIMEOUT 200
//
// Before closing down the proxy, wait for the
// given amount of miliseconds to let all the
// given amount of mil
l
iseconds to let all the
// running applications to close down their
// connections.
//
...
...
nxcomp/src/DecodeBuffer.cpp
View file @
a32554db
...
...
@@ -476,7 +476,7 @@ const unsigned char *DecodeBuffer::decodeMemory(unsigned int numBytes)
//
// Force ourselves to a byte boundary.
// Is up to application to ensure data
// is word al
l
igned when needed.
// is word aligned when needed.
//
if
(
srcMask_
!=
0x80
)
...
...
nxcomp/src/GenericReadBuffer.cpp
View file @
a32554db
...
...
@@ -52,7 +52,7 @@ int GenericReadBuffer::locateMessage(const unsigned char *start,
unsigned
int
&
trailerLength
)
{
//
// We don't care about the endianess
// We don't care about the endian
n
ess
// in generic channels.
//
...
...
nxcomp/src/Keeper.cpp
View file @
a32554db
...
...
@@ -100,7 +100,7 @@ File::File()
//
// TODO: This class can leak industrial amounts of memory.
// I'm 100% sure that the des
c
tructor is called and that
// I'm 100% sure that the destructor is called and that
// also the string pointed in the File structure is dele-
// ted. Everything is logged, but still the memory is not
// freed. This is less a problem on Windows, where the me-
...
...
nxcomp/src/Loop.cpp
View file @
a32554db
...
...
@@ -751,7 +751,7 @@ static char sessionDir[DEFAULT_STRING_LENGTH] = { 0 };
//
// Log files for errors and statistics. Error log is
// the place where we print also debug information
s
.
// the place where we print also debug information.
// Both files are closed, deleted and reopened as
// their size exceed the limit set in control class.
// The session log is not reopened, as it is used by
...
...
@@ -3100,7 +3100,7 @@ int InitBeforeNegotiation()
SetDescriptors
();
//
// Set local endianess.
// Set local endian
n
ess.
//
unsigned
int
test
=
1
;
...
...
@@ -5664,7 +5664,7 @@ void HandleSignal(int signal)
// if (agentFD[1] != -1)
// {
// cerr << "Info" << ": Received signal 'SIGPIPE'. "
// << "Closing agent conection.\n";
// << "Closing agent con
n
ection.\n";
//
// shutdown(agentFD[1], SHUT_RDWR);
// }
...
...
@@ -6636,7 +6636,7 @@ int ConnectToRemote(ChannelEndPoint &socketAddress)
// Show an alert after 20 seconds and use the
// same timeout to interrupt the connect. The
// retry timeout is incremental, starting from
// 100 miliseconds up to 1 second.
// 100 mil
l
iseconds up to 1 second.
//
int
alertTimeout
=
20000
;
...
...
nxcomp/src/MD5.c
View file @
a32554db
...
...
@@ -60,7 +60,7 @@
#include <string.h>
/*
* Try to determine the CPU endianess
* Try to determine the CPU endian
n
ess
* at compile time.
*/
...
...
nxcomp/src/Proxy.h
View file @
a32554db
...
...
@@ -184,7 +184,7 @@ class Proxy
static
const
int
TOKEN_TYPES
=
3
;
//
// Leng
ht
of buffer we use to add our
// Leng
th
of buffer we use to add our
// control messages plus the length of
// the data frame.
//
...
...
nxcomp/src/PutPackedImage.h
View file @
a32554db
...
...
@@ -47,7 +47,7 @@
#define PUTPACKEDIMAGE_ENABLE_COMPRESS 0
//
// We can't exceed
lenght
of 262144 bytes.
// We can't exceed
a length
of 262144 bytes.
//
#define PUTPACKEDIMAGE_DATA_LIMIT 262144 - 40
...
...
nxcomp/src/Statistics.cpp
View file @
a32554db
...
...
@@ -348,9 +348,9 @@ void Statistics::addCompressedBytes(unsigned int bytesIn, unsigned int bytesOut)
// receives the data from the upper layers. The reason
// is that data can be compressed by the stream com-
// pressor, so we can become aware of the new bitrate
// only afer having flushed the ZLIB stream. This also
// means that, to have a reliable estimat
e, we need to
// flush the link often.
// only af
t
er having flushed the ZLIB stream. This also
// means that, to have a reliable estimat
ation, we need
//
to
flush the link often.
//
void
Statistics
::
updateBitrate
(
int
bytes
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment