From 9c7efb7633ba62cd80c93e83284663f805bb3031 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 9 Oct 2015 17:13:35 +0200 Subject: Fix some typos (found by codespell) Signed-off-by: Stefan Weil --- README | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README') diff --git a/README b/README index dfcdc8c..1b4e6f4 100644 --- a/README +++ b/README @@ -24,7 +24,7 @@ Try example: it outputs on which port it listens (default: 5900), so it is display 0. To view, call vncviewer :0 You should see a sheet with a gradient and "Hello World!" written on it. Try -to paint something. Note that everytime you click, there is some bigger blot, +to paint something. Note that every time you click, there is some bigger blot, whereas when you drag the mouse while clicked you draw a line. The size of the blot depends on the mouse button you click. Open a second vncviewer with the same parameters and watch it as you paint in the other window. This also @@ -32,7 +32,7 @@ works over internet. You just have to know either the name or the IP of your machine. Then it is vncviewer machine.where.example.runs.com:0 or similar for the remote client. Now you are ready to type something. Be sure -that your mouse sits still, because everytime the mouse moves, the cursor is +that your mouse sits still, because every time the mouse moves, the cursor is reset to the position of the pointer! If you are done with that demo, press the down or up arrows. If your viewer supports it, then the dimensions of the sheet change. Just press Escape in the viewer. Note that the server still @@ -112,7 +112,7 @@ Before you draw something, be sure to call This tells LibVNCServer to hide the cursor. Remark: There are vncviewers out there, which know a cursor encoding, so that network traffic is low, and also the cursor doesn't need to be -drawn the cursor everytime an update is sent. LibVNCServer handles +drawn the cursor every time an update is sent. LibVNCServer handles all the details. Just set the cursor and don't bother any more. To set the mouse coordinates (or emulate mouse clicks), call @@ -323,7 +323,7 @@ If you love products from Redmod, you better skip this paragraph. I am always amazed how people react whenever Microsoft(tm) puts in some features into their products which were around for a long time. Especially reporters seem to not know dick about what they are reporting about! But -what is everytime annoying again, is that they don't do it right. Every +what is every time annoying again, is that they don't do it right. Every concept has it's new name (remember what enumerators used to be until Mickeysoft(tm) claimed that enumerators are what we thought were iterators. Yeah right, enumerators are also containers. They are not separated. Muddy.) -- cgit v1.2.3 From c688cdd8b3b7dfd6ac6e17554c0e67d8cc71726b Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Tue, 12 Apr 2016 15:29:32 +0200 Subject: Add a README.md and and Travis CI status badge. --- README | 2 ++ README.md | 1 + 2 files changed, 3 insertions(+) create mode 120000 README.md (limited to 'README') diff --git a/README b/README index 1b4e6f4..fc15824 100644 --- a/README +++ b/README @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/LibVNC/libvncserver.svg?branch=master)](https://travis-ci.org/LibVNC/libvncserver) + LibVNCServer: A library for easy implementation of a VNC server. Copyright (C) 2001-2003 Johannes E. Schindelin diff --git a/README.md b/README.md new file mode 120000 index 0000000..100b938 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +README \ No newline at end of file -- cgit v1.2.3 From 532789f4944449583bb3ab7545f3629b42a617ea Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 18 Nov 2016 08:20:48 +0100 Subject: Fix some typos (it's / its) Signed-off-by: Stefan Weil --- README | 8 ++++---- common/zywrletemplate.c | 2 +- examples/example.c | 2 +- examples/zippy.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'README') diff --git a/README b/README index fc15824..6eba860 100644 --- a/README +++ b/README @@ -248,7 +248,7 @@ the original code from ORL/AT&T. When I began hacking with computers, my first interest was speed. So, when I got around assembler, I programmed the floppy to do much of the work, because -it's clock rate was higher than that of my C64. This was my first experience +its clock rate was higher than that of my C64. This was my first experience with client/server techniques. When I came around Xwindows (much later), I was at once intrigued by the @@ -259,7 +259,7 @@ modem from home, it was no longer that much fun. When I started working with ASP (Application Service Provider) programs, I tumbled across Tarantella and Citrix. Being a security fanatic, the idea of running a server on windows didn't appeal to me, so Citrix went down the -basket. However, Tarantella has it's own problems (security as well as the +basket. However, Tarantella has its own problems (security as well as the high price). But at the same time somebody told me about this "great little administrator's tool" named VNC. Being used to windows programs' sizes, the surprise was reciprocal inverse to the size of VNC! @@ -326,7 +326,7 @@ I am always amazed how people react whenever Microsoft(tm) puts in some features into their products which were around for a long time. Especially reporters seem to not know dick about what they are reporting about! But what is every time annoying again, is that they don't do it right. Every -concept has it's new name (remember what enumerators used to be until +concept has its new name (remember what enumerators used to be until Mickeysoft(tm) claimed that enumerators are what we thought were iterators. Yeah right, enumerators are also containers. They are not separated. Muddy.) @@ -393,7 +393,7 @@ The people at AT&T worked really well to produce something as clean and lean as VNC. The managers decided that for their fame, they would release the program for free. But not only that! They realized that by releasing also the code for free, VNC would become an evolving little child, conquering -new worlds, making it's parents very proud. As well they can be! To protect +new worlds, making its parents very proud. As well they can be! To protect this innovation, they decided to make it GPL, not BSD. The principal difference is: You can make closed source programs deriving from BSD, not from GPL. You have to give proper credit with both. diff --git a/common/zywrletemplate.c b/common/zywrletemplate.c index faa7f07..bce4e36 100644 --- a/common/zywrletemplate.c +++ b/common/zywrletemplate.c @@ -352,7 +352,7 @@ static InlineX void Harr(signed char* pX0, signed char* pX1) In this method, H/L and X0/X1 is always same position. This lead us to more speed and less memory. Of cause, the result of both method is quite same - because it's only difference that coefficient position. + because its only difference is that coefficient position. */ static InlineX void WaveletLevel(int* data, int size, int l, int SkipPixel) { diff --git a/examples/example.c b/examples/example.c index 617e7ad..406378e 100644 --- a/examples/example.c +++ b/examples/example.c @@ -56,7 +56,7 @@ static void initBuffer(unsigned char* buffer) } } -/* Here we create a structure so that every client has it's own pointer */ +/* Here we create a structure so that every client has its own pointer */ typedef struct ClientData { rfbBool oldButton; diff --git a/examples/zippy.c b/examples/zippy.c index 5a5961a..be06a28 100644 --- a/examples/zippy.c +++ b/examples/zippy.c @@ -7,7 +7,7 @@ static int maxx=400, maxy=400, bpp=4; /* odd maxx doesn't work (vncviewer bug) */ -/* Here we create a structure so that every client has it's own pointer */ +/* Here we create a structure so that every client has its own pointer */ /* turns the framebuffer black */ void blank_framebuffer(char* frame_buffer, int x1, int y1, int x2, int y2); -- cgit v1.2.3 From e8f6ddeddf7992560811e06b4fa3fb58ea172e17 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 10 Jan 2015 22:52:02 -0600 Subject: Update README to reflect change from defaultPtrAddEvent to rfbDefaultPtrAddEvent --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 6eba860..43c574a 100644 --- a/README +++ b/README @@ -118,7 +118,7 @@ drawn the cursor every time an update is sent. LibVNCServer handles all the details. Just set the cursor and don't bother any more. To set the mouse coordinates (or emulate mouse clicks), call - defaultPtrAddEvent(buttonMask,x,y,cl); + rfbDefaultPtrAddEvent(buttonMask,x,y,cl); IMPORTANT: do this at the end of your function, because this actually draws the cursor if no cursor encoding is active. @@ -184,7 +184,7 @@ kbdReleaseAllKeys(rfbClientPtr cl) ptrAddEvent(int buttonMask,int x,int y,rfbClientPtr cl) is called when the mouse moves or a button is pressed. WARNING: if you want to have proper cursor handling, call - defaultPtrAddEvent(buttonMask,x,y,cl) + rfbDefaultPtrAddEvent(buttonMask,x,y,cl) in your own function. This sets the coordinates of the cursor. setXCutText(char* str,int len,rfbClientPtr cl) is called when the selection changes. -- cgit v1.2.3 From a23e87e5ec02678dd0be0c19bf2ac4f01c8315ee Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Thu, 29 Dec 2016 18:45:40 +0100 Subject: Fix README markdown. --- README | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README') diff --git a/README b/README index 43c574a..c930307 100644 --- a/README +++ b/README @@ -334,11 +334,13 @@ There are three packages you want to get hold of: zlib, jpeg and pthreads. The latter is not strictly necessary, but when you put something like this into your source: +``` #define MUTEX(s) struct { int something; MUTEX(latex); } +``` Microsoft's C++ compiler doesn't do it. It complains that this is an error. This, however, is how I implemented mutexes in case you don't need pthreads, -- cgit v1.2.3