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
47796167
Commit
47796167
authored
Nov 13, 2011
by
Reinhard Tartler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imported nxcomp-3.4.0-6.tar.gz
Summary: Imported nxcomp-3.4.0-6.tar.gz Keywords: Imported nxcomp-3.4.0-6.tar.gz into Git repository
parent
799bf672
Show whitespace changes
Inline
Side-by-side
Showing
257 changed files
with
448 additions
and
305 deletions
+448
-305
ActionCache.cpp
nxcomp/ActionCache.cpp
+1
-1
ActionCache.h
nxcomp/ActionCache.h
+1
-1
ActionCacheCompat.h
nxcomp/ActionCacheCompat.h
+1
-1
Agent.cpp
nxcomp/Agent.cpp
+1
-1
Agent.h
nxcomp/Agent.h
+1
-1
Alpha.cpp
nxcomp/Alpha.cpp
+2
-1
Alpha.h
nxcomp/Alpha.h
+1
-1
Auth.cpp
nxcomp/Auth.cpp
+19
-5
Auth.h
nxcomp/Auth.h
+1
-1
Bitmap.cpp
nxcomp/Bitmap.cpp
+1
-1
Bitmap.h
nxcomp/Bitmap.h
+1
-1
BlockCache.cpp
nxcomp/BlockCache.cpp
+1
-1
BlockCache.h
nxcomp/BlockCache.h
+1
-1
BlockCacheSet.cpp
nxcomp/BlockCacheSet.cpp
+1
-1
BlockCacheSet.h
nxcomp/BlockCacheSet.h
+1
-1
CHANGELOG
nxcomp/CHANGELOG
+23
-0
ChangeGC.cpp
nxcomp/ChangeGC.cpp
+1
-1
ChangeGC.h
nxcomp/ChangeGC.h
+1
-1
ChangeGCCompat.cpp
nxcomp/ChangeGCCompat.cpp
+1
-1
ChangeGCCompat.h
nxcomp/ChangeGCCompat.h
+1
-1
ChangeProperty.cpp
nxcomp/ChangeProperty.cpp
+1
-1
ChangeProperty.h
nxcomp/ChangeProperty.h
+1
-1
Channel.cpp
nxcomp/Channel.cpp
+3
-3
Channel.h
nxcomp/Channel.h
+3
-3
ChannelCache.cpp
nxcomp/ChannelCache.cpp
+1
-1
ChannelCache.h
nxcomp/ChannelCache.h
+1
-1
ChannelStore.h
nxcomp/ChannelStore.h
+1
-1
CharCache.cpp
nxcomp/CharCache.cpp
+1
-1
CharCache.h
nxcomp/CharCache.h
+1
-1
Children.cpp
nxcomp/Children.cpp
+13
-8
ClearArea.cpp
nxcomp/ClearArea.cpp
+1
-1
ClearArea.h
nxcomp/ClearArea.h
+1
-1
ClientCache.cpp
nxcomp/ClientCache.cpp
+1
-1
ClientCache.h
nxcomp/ClientCache.h
+1
-1
ClientChannel.cpp
nxcomp/ClientChannel.cpp
+4
-4
ClientChannel.h
nxcomp/ClientChannel.h
+1
-1
ClientProxy.cpp
nxcomp/ClientProxy.cpp
+1
-1
ClientProxy.h
nxcomp/ClientProxy.h
+1
-1
ClientReadBuffer.cpp
nxcomp/ClientReadBuffer.cpp
+1
-1
ClientReadBuffer.h
nxcomp/ClientReadBuffer.h
+1
-1
ClientStore.cpp
nxcomp/ClientStore.cpp
+1
-1
ClientStore.h
nxcomp/ClientStore.h
+1
-1
Colormap.cpp
nxcomp/Colormap.cpp
+2
-1
Colormap.h
nxcomp/Colormap.h
+1
-1
ConfigureWindow.cpp
nxcomp/ConfigureWindow.cpp
+1
-1
ConfigureWindow.h
nxcomp/ConfigureWindow.h
+1
-1
Control.cpp
nxcomp/Control.cpp
+1
-1
Control.h
nxcomp/Control.h
+1
-1
CopyArea.cpp
nxcomp/CopyArea.cpp
+1
-1
CopyArea.h
nxcomp/CopyArea.h
+1
-1
CreateGC.cpp
nxcomp/CreateGC.cpp
+1
-1
CreateGC.h
nxcomp/CreateGC.h
+1
-1
CreatePixmap.cpp
nxcomp/CreatePixmap.cpp
+1
-1
CreatePixmap.h
nxcomp/CreatePixmap.h
+1
-1
CreatePixmapCompat.cpp
nxcomp/CreatePixmapCompat.cpp
+1
-1
CreatePixmapCompat.h
nxcomp/CreatePixmapCompat.h
+1
-1
DecodeBuffer.cpp
nxcomp/DecodeBuffer.cpp
+1
-1
DecodeBuffer.h
nxcomp/DecodeBuffer.h
+1
-1
EncodeBuffer.cpp
nxcomp/EncodeBuffer.cpp
+1
-1
EncodeBuffer.h
nxcomp/EncodeBuffer.h
+1
-1
FillPoly.cpp
nxcomp/FillPoly.cpp
+1
-1
FillPoly.h
nxcomp/FillPoly.h
+1
-1
Fork.cpp
nxcomp/Fork.cpp
+2
-1
Fork.h
nxcomp/Fork.h
+2
-2
FreeCache.h
nxcomp/FreeCache.h
+1
-1
GenericChannel.cpp
nxcomp/GenericChannel.cpp
+1
-1
GenericChannel.h
nxcomp/GenericChannel.h
+1
-1
GenericReadBuffer.cpp
nxcomp/GenericReadBuffer.cpp
+1
-1
GenericReadBuffer.h
nxcomp/GenericReadBuffer.h
+1
-1
GenericReply.cpp
nxcomp/GenericReply.cpp
+1
-1
GenericReply.h
nxcomp/GenericReply.h
+1
-1
GenericRequest.cpp
nxcomp/GenericRequest.cpp
+1
-1
GenericRequest.h
nxcomp/GenericRequest.h
+1
-1
GetImage.cpp
nxcomp/GetImage.cpp
+1
-1
GetImage.h
nxcomp/GetImage.h
+1
-1
GetImageReply.cpp
nxcomp/GetImageReply.cpp
+1
-1
GetImageReply.h
nxcomp/GetImageReply.h
+1
-1
GetProperty.cpp
nxcomp/GetProperty.cpp
+1
-1
GetProperty.h
nxcomp/GetProperty.h
+1
-1
GetPropertyReply.cpp
nxcomp/GetPropertyReply.cpp
+1
-1
GetPropertyReply.h
nxcomp/GetPropertyReply.h
+1
-1
ImageText16.cpp
nxcomp/ImageText16.cpp
+1
-1
ImageText16.h
nxcomp/ImageText16.h
+1
-1
ImageText8.cpp
nxcomp/ImageText8.cpp
+1
-1
ImageText8.h
nxcomp/ImageText8.h
+1
-1
IntCache.cpp
nxcomp/IntCache.cpp
+1
-1
IntCache.h
nxcomp/IntCache.h
+1
-1
InternAtom.cpp
nxcomp/InternAtom.cpp
+1
-1
InternAtom.h
nxcomp/InternAtom.h
+1
-1
Jpeg.cpp
nxcomp/Jpeg.cpp
+5
-3
Jpeg.h
nxcomp/Jpeg.h
+1
-1
Keeper.cpp
nxcomp/Keeper.cpp
+1
-1
Keeper.h
nxcomp/Keeper.h
+1
-1
LICENSE
nxcomp/LICENSE
+1
-1
List.cpp
nxcomp/List.cpp
+1
-1
List.h
nxcomp/List.h
+1
-1
ListFontsReply.cpp
nxcomp/ListFontsReply.cpp
+1
-1
ListFontsReply.h
nxcomp/ListFontsReply.h
+1
-1
Loop.cpp
nxcomp/Loop.cpp
+16
-16
Makefile.in
nxcomp/Makefile.in
+1
-1
Message.cpp
nxcomp/Message.cpp
+1
-1
Message.h
nxcomp/Message.h
+1
-1
Misc.cpp
nxcomp/Misc.cpp
+2
-2
Misc.h
nxcomp/Misc.h
+7
-1
NX.h
nxcomp/NX.h
+1
-1
NXalert.h
nxcomp/NXalert.h
+1
-1
NXmitshm.h
nxcomp/NXmitshm.h
+1
-1
NXpack.h
nxcomp/NXpack.h
+1
-1
NXproto.h
nxcomp/NXproto.h
+1
-1
NXrender.h
nxcomp/NXrender.h
+1
-1
NXvars.h
nxcomp/NXvars.h
+1
-1
OpcodeCache.h
nxcomp/OpcodeCache.h
+1
-1
OpcodeStore.cpp
nxcomp/OpcodeStore.cpp
+1
-1
OpcodeStore.h
nxcomp/OpcodeStore.h
+1
-1
Pack.c
nxcomp/Pack.c
+1
-1
Pgn.cpp
nxcomp/Pgn.cpp
+20
-3
Pgn.h
nxcomp/Pgn.h
+1
-1
Pipe.cpp
nxcomp/Pipe.cpp
+4
-1
Pipe.h
nxcomp/Pipe.h
+4
-4
PolyArc.cpp
nxcomp/PolyArc.cpp
+1
-1
PolyArc.h
nxcomp/PolyArc.h
+1
-1
PolyFillArc.cpp
nxcomp/PolyFillArc.cpp
+1
-1
PolyFillArc.h
nxcomp/PolyFillArc.h
+1
-1
PolyFillRectangle.cpp
nxcomp/PolyFillRectangle.cpp
+1
-1
PolyFillRectangle.h
nxcomp/PolyFillRectangle.h
+1
-1
PolyLine.cpp
nxcomp/PolyLine.cpp
+1
-1
PolyLine.h
nxcomp/PolyLine.h
+1
-1
PolyPoint.cpp
nxcomp/PolyPoint.cpp
+1
-1
PolyPoint.h
nxcomp/PolyPoint.h
+1
-1
PolySegment.cpp
nxcomp/PolySegment.cpp
+1
-1
PolySegment.h
nxcomp/PolySegment.h
+1
-1
PolyText16.cpp
nxcomp/PolyText16.cpp
+1
-1
PolyText16.h
nxcomp/PolyText16.h
+1
-1
PolyText8.cpp
nxcomp/PolyText8.cpp
+1
-1
PolyText8.h
nxcomp/PolyText8.h
+1
-1
PositionCacheCompat.cpp
nxcomp/PositionCacheCompat.cpp
+1
-1
PositionCacheCompat.h
nxcomp/PositionCacheCompat.h
+1
-1
Proxy.cpp
nxcomp/Proxy.cpp
+2
-2
Proxy.h
nxcomp/Proxy.h
+1
-1
ProxyReadBuffer.cpp
nxcomp/ProxyReadBuffer.cpp
+1
-1
ProxyReadBuffer.h
nxcomp/ProxyReadBuffer.h
+1
-1
PutImage.cpp
nxcomp/PutImage.cpp
+1
-1
PutImage.h
nxcomp/PutImage.h
+1
-1
PutPackedImage.cpp
nxcomp/PutPackedImage.cpp
+1
-1
PutPackedImage.h
nxcomp/PutPackedImage.h
+1
-1
QueryFontReply.cpp
nxcomp/QueryFontReply.cpp
+1
-1
QueryFontReply.h
nxcomp/QueryFontReply.h
+1
-1
ReadBuffer.cpp
nxcomp/ReadBuffer.cpp
+1
-1
ReadBuffer.h
nxcomp/ReadBuffer.h
+1
-1
RenderAddGlyphs.cpp
nxcomp/RenderAddGlyphs.cpp
+1
-1
RenderAddGlyphs.h
nxcomp/RenderAddGlyphs.h
+1
-1
RenderChangePicture.cpp
nxcomp/RenderChangePicture.cpp
+1
-1
RenderChangePicture.h
nxcomp/RenderChangePicture.h
+1
-1
RenderComposite.cpp
nxcomp/RenderComposite.cpp
+1
-1
RenderComposite.h
nxcomp/RenderComposite.h
+1
-1
RenderCompositeCompat.cpp
nxcomp/RenderCompositeCompat.cpp
+1
-1
RenderCompositeCompat.h
nxcomp/RenderCompositeCompat.h
+1
-1
RenderCompositeGlyphs.cpp
nxcomp/RenderCompositeGlyphs.cpp
+1
-1
RenderCompositeGlyphs.h
nxcomp/RenderCompositeGlyphs.h
+1
-1
RenderCompositeGlyphsCompat.cpp
nxcomp/RenderCompositeGlyphsCompat.cpp
+1
-1
RenderCompositeGlyphsCompat.h
nxcomp/RenderCompositeGlyphsCompat.h
+1
-1
RenderCreateGlyphSet.cpp
nxcomp/RenderCreateGlyphSet.cpp
+1
-1
RenderCreateGlyphSet.h
nxcomp/RenderCreateGlyphSet.h
+1
-1
RenderCreateGlyphSetCompat.cpp
nxcomp/RenderCreateGlyphSetCompat.cpp
+1
-1
RenderCreateGlyphSetCompat.h
nxcomp/RenderCreateGlyphSetCompat.h
+1
-1
RenderCreatePicture.cpp
nxcomp/RenderCreatePicture.cpp
+1
-1
RenderCreatePicture.h
nxcomp/RenderCreatePicture.h
+1
-1
RenderCreatePictureCompat.cpp
nxcomp/RenderCreatePictureCompat.cpp
+1
-1
RenderCreatePictureCompat.h
nxcomp/RenderCreatePictureCompat.h
+1
-1
RenderExtension.cpp
nxcomp/RenderExtension.cpp
+1
-1
RenderExtension.h
nxcomp/RenderExtension.h
+1
-1
RenderFillRectangles.cpp
nxcomp/RenderFillRectangles.cpp
+1
-1
RenderFillRectangles.h
nxcomp/RenderFillRectangles.h
+1
-1
RenderFreeGlyphSet.cpp
nxcomp/RenderFreeGlyphSet.cpp
+1
-1
RenderFreeGlyphSet.h
nxcomp/RenderFreeGlyphSet.h
+1
-1
RenderFreePicture.cpp
nxcomp/RenderFreePicture.cpp
+1
-1
RenderFreePicture.h
nxcomp/RenderFreePicture.h
+1
-1
RenderFreePictureCompat.cpp
nxcomp/RenderFreePictureCompat.cpp
+1
-1
RenderFreePictureCompat.h
nxcomp/RenderFreePictureCompat.h
+1
-1
RenderGenericRequest.cpp
nxcomp/RenderGenericRequest.cpp
+1
-1
RenderGenericRequest.h
nxcomp/RenderGenericRequest.h
+1
-1
RenderMinorExtensionHeaders.h
nxcomp/RenderMinorExtensionHeaders.h
+1
-1
RenderMinorExtensionMethods.h
nxcomp/RenderMinorExtensionMethods.h
+1
-1
RenderMinorExtensionTags.h
nxcomp/RenderMinorExtensionTags.h
+1
-1
RenderPictureClip.cpp
nxcomp/RenderPictureClip.cpp
+1
-1
RenderPictureClip.h
nxcomp/RenderPictureClip.h
+1
-1
RenderPictureClipCompat.cpp
nxcomp/RenderPictureClipCompat.cpp
+1
-1
RenderPictureClipCompat.h
nxcomp/RenderPictureClipCompat.h
+1
-1
RenderPictureFilter.cpp
nxcomp/RenderPictureFilter.cpp
+1
-1
RenderPictureFilter.h
nxcomp/RenderPictureFilter.h
+1
-1
RenderPictureTransform.cpp
nxcomp/RenderPictureTransform.cpp
+1
-1
RenderPictureTransform.h
nxcomp/RenderPictureTransform.h
+1
-1
RenderTrapezoids.cpp
nxcomp/RenderTrapezoids.cpp
+1
-1
RenderTrapezoids.h
nxcomp/RenderTrapezoids.h
+1
-1
RenderTriangles.cpp
nxcomp/RenderTriangles.cpp
+1
-1
RenderTriangles.h
nxcomp/RenderTriangles.h
+1
-1
Rgb.cpp
nxcomp/Rgb.cpp
+1
-1
Rgb.h
nxcomp/Rgb.h
+1
-1
Rle.cpp
nxcomp/Rle.cpp
+1
-1
Rle.h
nxcomp/Rle.h
+1
-1
SendEvent.cpp
nxcomp/SendEvent.cpp
+1
-1
SendEvent.h
nxcomp/SendEvent.h
+1
-1
SequenceQueue.cpp
nxcomp/SequenceQueue.cpp
+1
-1
SequenceQueue.h
nxcomp/SequenceQueue.h
+1
-1
ServerCache.cpp
nxcomp/ServerCache.cpp
+1
-1
ServerCache.h
nxcomp/ServerCache.h
+1
-1
ServerChannel.cpp
nxcomp/ServerChannel.cpp
+2
-2
ServerChannel.h
nxcomp/ServerChannel.h
+1
-1
ServerProxy.cpp
nxcomp/ServerProxy.cpp
+1
-1
ServerProxy.h
nxcomp/ServerProxy.h
+1
-1
ServerReadBuffer.cpp
nxcomp/ServerReadBuffer.cpp
+1
-1
ServerReadBuffer.h
nxcomp/ServerReadBuffer.h
+1
-1
ServerStore.cpp
nxcomp/ServerStore.cpp
+1
-1
ServerStore.h
nxcomp/ServerStore.h
+1
-1
SetClipRectangles.cpp
nxcomp/SetClipRectangles.cpp
+1
-1
SetClipRectangles.h
nxcomp/SetClipRectangles.h
+1
-1
SetUnpackAlpha.cpp
nxcomp/SetUnpackAlpha.cpp
+1
-1
SetUnpackAlpha.h
nxcomp/SetUnpackAlpha.h
+1
-1
SetUnpackAlphaCompat.cpp
nxcomp/SetUnpackAlphaCompat.cpp
+1
-1
SetUnpackAlphaCompat.h
nxcomp/SetUnpackAlphaCompat.h
+1
-1
SetUnpackColormap.cpp
nxcomp/SetUnpackColormap.cpp
+1
-1
SetUnpackColormap.h
nxcomp/SetUnpackColormap.h
+1
-1
SetUnpackColormapCompat.cpp
nxcomp/SetUnpackColormapCompat.cpp
+1
-1
SetUnpackColormapCompat.h
nxcomp/SetUnpackColormapCompat.h
+1
-1
SetUnpackGeometry.cpp
nxcomp/SetUnpackGeometry.cpp
+1
-1
SetUnpackGeometry.h
nxcomp/SetUnpackGeometry.h
+1
-1
ShapeExtension.cpp
nxcomp/ShapeExtension.cpp
+1
-1
ShapeExtension.h
nxcomp/ShapeExtension.h
+1
-1
Socket.cpp
nxcomp/Socket.cpp
+1
-1
Socket.h
nxcomp/Socket.h
+1
-1
Split.cpp
nxcomp/Split.cpp
+1
-1
Split.h
nxcomp/Split.h
+1
-1
StaticCompressor.cpp
nxcomp/StaticCompressor.cpp
+1
-1
StaticCompressor.h
nxcomp/StaticCompressor.h
+1
-1
Statistics.cpp
nxcomp/Statistics.cpp
+1
-1
Statistics.h
nxcomp/Statistics.h
+1
-1
TextCompressor.cpp
nxcomp/TextCompressor.cpp
+1
-1
TextCompressor.h
nxcomp/TextCompressor.h
+1
-1
Timestamp.cpp
nxcomp/Timestamp.cpp
+1
-1
Timestamp.h
nxcomp/Timestamp.h
+1
-1
TranslateCoords.cpp
nxcomp/TranslateCoords.cpp
+1
-1
TranslateCoords.h
nxcomp/TranslateCoords.h
+1
-1
Transport.cpp
nxcomp/Transport.cpp
+1
-1
Transport.h
nxcomp/Transport.h
+1
-1
Types.h
nxcomp/Types.h
+1
-1
Unpack.cpp
nxcomp/Unpack.cpp
+73
-3
Unpack.h
nxcomp/Unpack.h
+1
-1
Utils.cpp
nxcomp/Utils.cpp
+1
-1
Vars.c
nxcomp/Vars.c
+1
-1
WriteBuffer.cpp
nxcomp/WriteBuffer.cpp
+1
-1
WriteBuffer.h
nxcomp/WriteBuffer.h
+1
-1
XidCache.cpp
nxcomp/XidCache.cpp
+1
-1
XidCache.h
nxcomp/XidCache.h
+1
-1
Z.cpp
nxcomp/Z.cpp
+1
-1
Z.h
nxcomp/Z.h
+1
-1
configure
nxcomp/configure
+3
-3
configure.in
nxcomp/configure.in
+2
-2
No files found.
nxcomp/ActionCache.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ActionCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ActionCacheCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Agent.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Agent.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Alpha.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include "Misc.h"
#include "Misc.h"
#include "Unpack.h"
#include "Unpack.h"
#include "Alpha.h"
#define PANIC
#define PANIC
#define WARNING
#define WARNING
...
...
nxcomp/Alpha.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Auth.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -268,7 +268,7 @@ int Auth::getCookie()
...
@@ -268,7 +268,7 @@ int Auth::getCookie()
snprintf
(
line
,
DEFAULT_STRING_LIMIT
,
"%.200s"
,
display_
);
snprintf
(
line
,
DEFAULT_STRING_LIMIT
,
"%.200s"
,
display_
);
}
}
char
*
parameters
[
256
];
c
onst
c
har
*
parameters
[
256
];
parameters
[
0
]
=
command
;
parameters
[
0
]
=
command
;
parameters
[
1
]
=
command
;
parameters
[
1
]
=
command
;
...
@@ -295,7 +295,7 @@ int Auth::getCookie()
...
@@ -295,7 +295,7 @@ int Auth::getCookie()
// implementation.
// implementation.
//
//
FILE
*
data
=
Popen
(
parameters
,
"r"
);
FILE
*
data
=
Popen
(
(
char
*
const
*
)
parameters
,
"r"
);
int
result
=
-
1
;
int
result
=
-
1
;
...
@@ -342,7 +342,21 @@ int Auth::getCookie()
...
@@ -342,7 +342,21 @@ int Auth::getCookie()
<<
"'.
\n
"
<<
logofs_flush
;
<<
"'.
\n
"
<<
logofs_flush
;
#endif
#endif
if
(
sscanf
(
line
,
"%*s %*s %511s"
,
realCookie_
)
!=
1
)
//
// Skip the hostname in the authority entry
// just in case it includes some white spaces.
//
char
*
cookie
=
NULL
;
cookie
=
index
(
line
,
':'
);
if
(
cookie
==
NULL
)
{
cookie
=
line
;
}
if
(
sscanf
(
cookie
,
"%*s %*s %511s"
,
realCookie_
)
!=
1
)
{
{
#ifdef PANIC
#ifdef PANIC
*
logofs
<<
"Auth: PANIC! Failed to identify the cookie "
*
logofs
<<
"Auth: PANIC! Failed to identify the cookie "
...
@@ -499,7 +513,7 @@ int Auth::checkCookie(unsigned char *buffer)
...
@@ -499,7 +513,7 @@ int Auth::checkCookie(unsigned char *buffer)
return
-
1
;
return
-
1
;
}
}
char
*
protoName
=
"MIT-MAGIC-COOKIE-1"
;
c
onst
c
har
*
protoName
=
"MIT-MAGIC-COOKIE-1"
;
int
protoSize
=
strlen
(
protoName
);
int
protoSize
=
strlen
(
protoName
);
int
matchedProtoSize
;
int
matchedProtoSize
;
...
...
nxcomp/Auth.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Bitmap.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Bitmap.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/BlockCache.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/BlockCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/BlockCacheSet.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/BlockCacheSet.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CHANGELOG
View file @
47796167
ChangeLog
:
ChangeLog
:
nxcomp
-
3.4.0
-
6
-
Solved
compilation
problems
on
Solaris
.
nxcomp
-
3.4.0
-
5
-
Solved
compilation
problems
on
GCC
4.4
.
nxcomp
-
3.4.0
-
4
-
Added
reference
to
fixed
TR02H02325
.
nxcomp
-
3.4.0
-
3
-
Updated
copyright
to
year
2010.
nxcomp
-
3.4.0
-
2
-
Fixed
TR03G02204
.
Changed
the
parsing
of
X
authority
entries
in
order
to
handle
the
case
where
the
hostname
includes
white
spaces
.
-
Fixed
TR02H02325
.
Bug
in
PNG
decompression
on
16
bpp
displays
.
nxcomp
-
3.4.0
-
1
nxcomp
-
3.4.0
-
1
-
Opened
the
3.4.0
branch
based
on
nxcomp
-
3.3.0
-
4.
-
Opened
the
3.4.0
branch
based
on
nxcomp
-
3.3.0
-
4.
...
...
nxcomp/ChangeGC.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ChangeGC.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ChangeGCCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ChangeGCCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ChangeProperty.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ChangeProperty.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Channel.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -2037,10 +2037,10 @@ Split *Channel::handleSplitCommitRemove(int request, int resource, int position)
...
@@ -2037,10 +2037,10 @@ Split *Channel::handleSplitCommitRemove(int request, int resource, int position)
<<
".
\n
"
<<
logofs_flush
;
<<
".
\n
"
<<
logofs_flush
;
#endif
#endif
if
(
control
->
isProtoStep7
()
==
1
&&
if
(
(
control
->
isProtoStep7
()
==
1
&&
(
resource
!=
split
->
getResource
()
||
(
resource
!=
split
->
getResource
()
||
request
!=
split
->
getRequest
()
||
request
!=
split
->
getRequest
()
||
position
!=
split
->
getPosition
())
||
position
!=
split
->
getPosition
())
)
||
(
request
!=
split
->
getRequest
()
||
(
request
!=
split
->
getRequest
()
||
position
!=
split
->
getPosition
()))
position
!=
split
->
getPosition
()))
{
{
...
...
nxcomp/Channel.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -498,9 +498,9 @@ class Channel
...
@@ -498,9 +498,9 @@ class Channel
int
canCleanStore
(
MessageStore
*
store
)
int
canCleanStore
(
MessageStore
*
store
)
{
{
return
(
store
->
getSize
()
>
0
&&
(
store
->
getRemoteStorageSize
()
>
return
(
(
store
->
getSize
()
>
0
&&
(
store
->
getRemoteStorageSize
()
>
(
control
->
RemoteTotalStorageSize
/
100
*
store
->
(
control
->
RemoteTotalStorageSize
/
100
*
store
->
cacheLowerThreshold
))
||
(
store
->
getLocalStorageSize
()
>
cacheLowerThreshold
))
)
||
(
store
->
getLocalStorageSize
()
>
(
control
->
LocalTotalStorageSize
/
100
*
store
->
(
control
->
LocalTotalStorageSize
/
100
*
store
->
cacheLowerThreshold
)));
cacheLowerThreshold
)));
}
}
...
...
nxcomp/ChannelCache.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ChannelCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ChannelStore.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CharCache.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CharCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Children.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -69,7 +69,8 @@ extern void InstallSignals();
...
@@ -69,7 +69,8 @@ extern void InstallSignals();
extern
char
*
GetClientPath
();
extern
char
*
GetClientPath
();
extern
int
CheckParent
(
char
*
name
,
char
*
type
,
int
parent
);
extern
int
CheckParent
(
const
char
*
name
,
const
char
*
type
,
int
parent
);
#ifdef __sun
#ifdef __sun
extern
char
**
environ
;
extern
char
**
environ
;
...
@@ -81,19 +82,23 @@ extern char **environ;
...
@@ -81,19 +82,23 @@ extern char **environ;
// have been disabled in the main process.
// have been disabled in the main process.
//
//
static
void
SystemCleanup
(
char
*
name
);
static
void
SystemCleanup
(
c
onst
c
har
*
name
);
//
//
// Release all objects allocated in the
// Release all objects allocated in the
// heap.
// heap.
static
void
MemoryCleanup
(
char
*
name
);
static
void
MemoryCleanup
(
c
onst
c
har
*
name
);
//
//
// Remove 'name' from the environment.
// Remove 'name' from the environment.
//
//
static
int
UnsetEnv
(
char
*
name
);
static
int
UnsetEnv
(
const
char
*
name
);
static
int
NXTransKeeperHandler
(
int
signal
);
static
void
NXTransKeeperCheck
();
//
//
// Start a nxclient process in dialog mode.
// Start a nxclient process in dialog mode.
...
@@ -926,7 +931,7 @@ int NXTransKeeper(int caches, int images, const char *root)
...
@@ -926,7 +931,7 @@ int NXTransKeeper(int caches, int images, const char *root)
exit
(
0
);
exit
(
0
);
}
}
void
SystemCleanup
(
char
*
name
)
void
SystemCleanup
(
c
onst
c
har
*
name
)
{
{
#ifdef TEST
#ifdef TEST
*
logofs
<<
name
<<
": Performing system cleanup in process "
*
logofs
<<
name
<<
": Performing system cleanup in process "
...
@@ -942,7 +947,7 @@ void SystemCleanup(char *name)
...
@@ -942,7 +947,7 @@ void SystemCleanup(char *name)
InstallSignals
();
InstallSignals
();
}
}
void
MemoryCleanup
(
char
*
name
)
void
MemoryCleanup
(
c
onst
c
har
*
name
)
{
{
#ifdef TEST
#ifdef TEST
*
logofs
<<
name
<<
": Performing memory cleanup in process "
*
logofs
<<
name
<<
": Performing memory cleanup in process "
...
@@ -977,7 +982,7 @@ void MemoryCleanup(char *name)
...
@@ -977,7 +982,7 @@ void MemoryCleanup(char *name)
EnableSignals
();
EnableSignals
();
}
}
int
UnsetEnv
(
char
*
name
)
int
UnsetEnv
(
c
onst
c
har
*
name
)
{
{
int
result
;
int
result
;
...
...
nxcomp/ClearArea.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClearArea.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClientCache.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClientCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClientChannel.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -5646,9 +5646,9 @@ int ClientChannel::handleSplitChecksum(EncodeBuffer &encodeBuffer, T_checksum ch
...
@@ -5646,9 +5646,9 @@ int ClientChannel::handleSplitChecksum(EncodeBuffer &encodeBuffer, T_checksum ch
// persistent image cache is enabled.
// persistent image cache is enabled.
//
//
if
(
control
->
ImageCacheEnableLoad
==
1
||
if
(
(
control
->
ImageCacheEnableLoad
==
1
||
control
->
ImageCacheEnableSave
==
1
&&
control
->
ImageCacheEnableSave
==
1
)
&&
enableLoad_
==
1
||
enableSave_
==
1
)
(
enableLoad_
==
1
||
enableSave_
==
1
)
)
{
{
encodeBuffer
.
encodeBoolValue
(
1
);
encodeBuffer
.
encodeBoolValue
(
1
);
...
...
nxcomp/ClientChannel.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClientProxy.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClientProxy.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClientReadBuffer.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClientReadBuffer.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClientStore.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ClientStore.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Colormap.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include "Misc.h"
#include "Misc.h"
#include "Unpack.h"
#include "Unpack.h"
#include "Colormap.h"
#define PANIC
#define PANIC
#define WARNING
#define WARNING
...
...
nxcomp/Colormap.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ConfigureWindow.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ConfigureWindow.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Control.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Control.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CopyArea.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CopyArea.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CreateGC.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CreateGC.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CreatePixmap.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CreatePixmap.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CreatePixmapCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/CreatePixmapCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/DecodeBuffer.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/DecodeBuffer.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/EncodeBuffer.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/EncodeBuffer.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/FillPoly.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/FillPoly.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Fork.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include <unistd.h>
#include <unistd.h>
#include "Fork.h"
#include "Misc.h"
#include "Misc.h"
#include "Timestamp.h"
#include "Timestamp.h"
...
...
nxcomp/Fork.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -20,4 +20,4 @@
...
@@ -20,4 +20,4 @@
// often on Cygwin.
// often on Cygwin.
//
//
int
Fork
();
extern
int
Fork
();
nxcomp/FreeCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GenericChannel.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GenericChannel.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GenericReadBuffer.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GenericReadBuffer.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GenericReply.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GenericReply.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GenericRequest.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GenericRequest.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GetImage.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GetImage.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GetImageReply.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GetImageReply.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GetProperty.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GetProperty.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GetPropertyReply.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/GetPropertyReply.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ImageText16.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ImageText16.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ImageText8.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ImageText8.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/IntCache.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/IntCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/InternAtom.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/InternAtom.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Jpeg.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -91,6 +91,8 @@ static int DecompressJpeg24(unsigned char *compressedData, int compressedLen,
...
@@ -91,6 +91,8 @@ static int DecompressJpeg24(unsigned char *compressedData, int compressedLen,
static
int
DecompressJpeg32
(
unsigned
char
*
compressedData
,
int
compressedLen
,
static
int
DecompressJpeg32
(
unsigned
char
*
compressedData
,
int
compressedLen
,
unsigned
int
w
,
unsigned
int
h
,
unsigned
char
*
dstBuf
,
int
byteOrder
);
unsigned
int
w
,
unsigned
int
h
,
unsigned
char
*
dstBuf
,
int
byteOrder
);
void
UnpackJpegErrorHandler
(
j_common_ptr
cinfo
);
//
//
// Colormap stuff.
// Colormap stuff.
//
//
...
@@ -142,8 +144,8 @@ int UnpackJpeg(T_geometry *geometry, unsigned char method, unsigned char *srcDat
...
@@ -142,8 +144,8 @@ int UnpackJpeg(T_geometry *geometry, unsigned char method, unsigned char *srcDat
// Check if data is coming from a failed unsplit.
// Check if data is coming from a failed unsplit.
//
//
if
(
srcSize
<
2
||
srcData
[
0
]
==
SPLIT_PATTERN
&&
if
(
srcSize
<
2
||
(
srcData
[
0
]
==
SPLIT_PATTERN
&&
srcData
[
1
]
==
SPLIT_PATTERN
)
srcData
[
1
]
==
SPLIT_PATTERN
)
)
{
{
#ifdef WARNING
#ifdef WARNING
*
logofs
<<
"UnpackJpeg: WARNING! Skipping unpack of dummy data.
\n
"
*
logofs
<<
"UnpackJpeg: WARNING! Skipping unpack of dummy data.
\n
"
...
...
nxcomp/Jpeg.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Keeper.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Keeper.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/LICENSE
View file @
47796167
Copyright (c) 2001, 20
09
NoMachine - http://www.nomachine.com/.
Copyright (c) 2001, 20
10
NoMachine - http://www.nomachine.com/.
NXCOMP library and NX extensions to X are copyright of NoMachine.
NXCOMP library and NX extensions to X are copyright of NoMachine.
Redistribution and use of this software is allowed according to the
Redistribution and use of this software is allowed according to the
...
...
nxcomp/List.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/List.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ListFontsReply.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ListFontsReply.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Loop.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -354,7 +354,7 @@ static int HandleChild(int child);
...
@@ -354,7 +354,7 @@ static int HandleChild(int child);
static
int
CheckChild
(
int
pid
,
int
status
);
static
int
CheckChild
(
int
pid
,
int
status
);
static
int
WaitChild
(
int
child
,
const
char
*
label
,
int
force
);
static
int
WaitChild
(
int
child
,
const
char
*
label
,
int
force
);
int
CheckParent
(
c
har
*
name
,
char
*
type
,
int
parent
);
int
CheckParent
(
c
onst
char
*
name
,
const
char
*
type
,
int
parent
);
void
RegisterChild
(
int
child
);
void
RegisterChild
(
int
child
);
...
@@ -1514,9 +1514,9 @@ int NXTransClose(int fd)
...
@@ -1514,9 +1514,9 @@ int NXTransClose(int fd)
* end of the socket pair.
* end of the socket pair.
*/
*/
if
(
control
!=
NULL
&&
(
agent
!=
NULL
&&
if
(
control
!=
NULL
&&
(
(
agent
!=
NULL
&&
(
fd
==
agentFD
[
0
]
||
fd
==
NX_FD_ANY
))
||
(
fd
==
agentFD
[
0
]
||
fd
==
NX_FD_ANY
))
||
(
fd
==
proxyFD
||
fd
==
NX_FD_ANY
))
(
fd
==
proxyFD
||
fd
==
NX_FD_ANY
))
)
{
{
if
(
proxy
!=
NULL
)
if
(
proxy
!=
NULL
)
{
{
...
@@ -1551,9 +1551,9 @@ int NXTransDestroy(int fd)
...
@@ -1551,9 +1551,9 @@ int NXTransDestroy(int fd)
logofs
=
&
cerr
;
logofs
=
&
cerr
;
}
}
if
(
control
!=
NULL
&&
(
agent
!=
NULL
&&
if
(
control
!=
NULL
&&
(
(
agent
!=
NULL
&&
(
fd
==
agentFD
[
0
]
||
fd
==
NX_FD_ANY
))
||
(
fd
==
agentFD
[
0
]
||
fd
==
NX_FD_ANY
))
||
(
fd
==
proxyFD
||
fd
==
NX_FD_ANY
))
(
fd
==
proxyFD
||
fd
==
NX_FD_ANY
))
)
{
{
//
//
// Shut down the X connections and
// Shut down the X connections and
...
@@ -6396,7 +6396,7 @@ void RegisterChild(int child)
...
@@ -6396,7 +6396,7 @@ void RegisterChild(int child)
lastChild
=
child
;
lastChild
=
child
;
}
}
int
CheckParent
(
c
har
*
name
,
char
*
type
,
int
parent
)
int
CheckParent
(
c
onst
char
*
name
,
const
char
*
type
,
int
parent
)
{
{
if
(
parent
!=
getppid
()
||
parent
==
1
)
if
(
parent
!=
getppid
()
||
parent
==
1
)
{
{
...
@@ -9995,8 +9995,8 @@ char *GetLastCache(char *listBuffer, const char *searchPath)
...
@@ -9995,8 +9995,8 @@ char *GetLastCache(char *listBuffer, const char *searchPath)
*
selectedName
=
'\0'
;
*
selectedName
=
'\0'
;
char
*
localPrefix
;
c
onst
c
har
*
localPrefix
;
char
*
remotePrefix
;
c
onst
c
har
*
remotePrefix
;
if
(
control
->
ProxyMode
==
proxy_client
)
if
(
control
->
ProxyMode
==
proxy_client
)
{
{
...
@@ -10979,7 +10979,7 @@ int ParsePackOption(const char *opt)
...
@@ -10979,7 +10979,7 @@ int ParsePackOption(const char *opt)
packMethod
==
PACK_LOSSLESS
||
packMethod
==
PACK_LOSSLESS
||
packMethod
==
PACK_ADAPTIVE
)
packMethod
==
PACK_ADAPTIVE
)
{
{
char
*
dash
=
rindex
(
opt
,
'-'
);
c
onst
c
har
*
dash
=
rindex
(
opt
,
'-'
);
if
(
dash
!=
NULL
&&
strlen
(
dash
)
==
2
&&
if
(
dash
!=
NULL
&&
strlen
(
dash
)
==
2
&&
*
(
dash
+
1
)
>=
'0'
&&
*
(
dash
+
1
)
<=
'9'
)
*
(
dash
+
1
)
>=
'0'
&&
*
(
dash
+
1
)
<=
'9'
)
...
@@ -13927,7 +13927,7 @@ void PrintProcessInfo()
...
@@ -13927,7 +13927,7 @@ void PrintProcessInfo()
<<
"."
<<
control
->
LocalVersionMinor
<<
"."
<<
"."
<<
control
->
LocalVersionMinor
<<
"."
<<
control
->
LocalVersionPatch
<<
"
\n\n
"
;
<<
control
->
LocalVersionPatch
<<
"
\n\n
"
;
cerr
<<
"Copyright (C) 2001, 20
07
NoMachine.
\n
"
cerr
<<
"Copyright (C) 2001, 20
10
NoMachine.
\n
"
<<
"See http://www.nomachine.com/ for more information.
\n\n
"
;
<<
"See http://www.nomachine.com/ for more information.
\n\n
"
;
}
}
...
@@ -14080,8 +14080,8 @@ void PrintConnectionInfo()
...
@@ -14080,8 +14080,8 @@ void PrintConnectionInfo()
}
}
if
(
control
->
ProxyMode
==
proxy_client
&&
if
(
control
->
ProxyMode
==
proxy_client
&&
useUnixSocket
>
0
||
useTcpSocket
>
0
||
(
useUnixSocket
>
0
||
useTcpSocket
>
0
||
useAgentSocket
>
0
)
useAgentSocket
>
0
)
)
{
{
cerr
<<
"Info"
<<
": Listening to X11 connections "
cerr
<<
"Info"
<<
": Listening to X11 connections "
<<
"on display ':"
<<
xPort
<<
"'.
\n
"
;
<<
"on display ':"
<<
xPort
<<
"'.
\n
"
;
...
@@ -15764,8 +15764,8 @@ static void handleAlertInLoop()
...
@@ -15764,8 +15764,8 @@ static void handleAlertInLoop()
int
replace
=
1
;
int
replace
=
1
;
int
local
=
1
;
int
local
=
1
;
char
*
message
;
c
onst
c
har
*
message
;
char
*
type
;
c
onst
c
har
*
type
;
switch
(
lastAlert
.
code
)
switch
(
lastAlert
.
code
)
{
{
...
@@ -16218,7 +16218,7 @@ static inline void handleReadableInLoop(int &resultFDs, fd_set &readSet)
...
@@ -16218,7 +16218,7 @@ static inline void handleReadableInLoop(int &resultFDs, fd_set &readSet)
{
{
T_channel_type
type
=
channel_none
;
T_channel_type
type
=
channel_none
;
char
*
label
=
NULL
;
c
onst
c
har
*
label
=
NULL
;
int
domain
=
-
1
;
int
domain
=
-
1
;
int
fd
=
-
1
;
int
fd
=
-
1
;
...
...
nxcomp/Makefile.in
View file @
47796167
############################################################################
############################################################################
# #
# #
# Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. #
# Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. #
# #
# #
# NXCOMP, NX protocol compression and NX extensions to this software #
# NXCOMP, NX protocol compression and NX extensions to this software #
# are copyright of NoMachine. Redistribution and use of the present #
# are copyright of NoMachine. Redistribution and use of the present #
...
...
nxcomp/Message.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Message.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Misc.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -371,7 +371,7 @@ const char *GetUsageInfo()
...
@@ -371,7 +371,7 @@ const char *GetUsageInfo()
static
const
char
CopyrightInfo
[]
=
static
const
char
CopyrightInfo
[]
=
"\
"\
Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/.
\n
\
Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/.
\n
\
\n
\
\n
\
NXCOMP, NX protocol compression and NX extensions to this software
\n
\
NXCOMP, NX protocol compression and NX extensions to this software
\n
\
are copyright of NoMachine. Redistribution and use of the present
\n
\
are copyright of NoMachine. Redistribution and use of the present
\n
\
...
...
nxcomp/Misc.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -24,6 +24,12 @@
...
@@ -24,6 +24,12 @@
#include <errno.h>
#include <errno.h>
#include <string.h>
#include <string.h>
#ifdef __sun
#include <strings.h>
#endif
using
namespace
std
;
using
namespace
std
;
//
//
...
...
nxcomp/NX.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/NXalert.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/NXmitshm.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/NXpack.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/NXproto.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/NXrender.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/NXvars.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/OpcodeCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/OpcodeStore.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/OpcodeStore.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Pack.c
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Pgn.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -104,8 +104,8 @@ int UnpackPng(T_geometry *geometry, unsigned char method, unsigned char *srcData
...
@@ -104,8 +104,8 @@ int UnpackPng(T_geometry *geometry, unsigned char method, unsigned char *srcData
// Check if data is coming from a failed unsplit.
// Check if data is coming from a failed unsplit.
//
//
if
(
srcSize
<
2
||
srcData
[
0
]
==
SPLIT_PATTERN
&&
if
(
srcSize
<
2
||
(
srcData
[
0
]
==
SPLIT_PATTERN
&&
srcData
[
1
]
==
SPLIT_PATTERN
)
srcData
[
1
]
==
SPLIT_PATTERN
)
)
{
{
#ifdef WARNING
#ifdef WARNING
*
logofs
<<
"UnpackPng: WARNING! Skipping unpack of dummy data.
\n
"
*
logofs
<<
"UnpackPng: WARNING! Skipping unpack of dummy data.
\n
"
...
@@ -456,6 +456,23 @@ int DecompressPng16(unsigned char *compressedData, int compressedLen,
...
@@ -456,6 +456,23 @@ int DecompressPng16(unsigned char *compressedData, int compressedLen,
for
(
dx
=
0
;
dx
<
w
;
dx
++
)
for
(
dx
=
0
;
dx
<
w
;
dx
++
)
{
{
pixel
=
RGB24_TO_PIXEL
(
16
,
tmpBuf
[
dx
*
3
],
tmpBuf
[
dx
*
3
+
1
],
tmpBuf
[
dx
*
3
+
2
]);
pixel
=
RGB24_TO_PIXEL
(
16
,
tmpBuf
[
dx
*
3
],
tmpBuf
[
dx
*
3
+
1
],
tmpBuf
[
dx
*
3
+
2
]);
//
// Follow the server byte order when arranging data.
//
if
(
byteOrder
==
LSBFirst
)
{
data
[
0
]
=
(
unsigned
char
)
(
pixel
&
0xff
);
data
[
1
]
=
(
unsigned
char
)
((
pixel
>>
8
)
&
0xff
);
}
else
{
data
[
1
]
=
(
unsigned
char
)
(
pixel
&
0xff
);
data
[
0
]
=
(
unsigned
char
)
((
pixel
>>
8
)
&
0xff
);
}
data
+=
2
;
}
}
//
//
...
...
nxcomp/Pgn.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Pipe.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <sys/types.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/wait.h>
#include "Pipe.h"
#include "Misc.h"
#include "Misc.h"
#include "Fork.h"
#include "Fork.h"
...
@@ -36,6 +37,8 @@
...
@@ -36,6 +37,8 @@
extern
void
RegisterChild
(
int
child
);
extern
void
RegisterChild
(
int
child
);
static
int
Psplit
(
const
char
*
command
,
char
*
parameters
[],
int
limit
);
//
//
// These are slightly modified versions of popen(3) and pclose(3)
// These are slightly modified versions of popen(3) and pclose(3)
// that don't rely on a shell to be available on the system, so
// that don't rely on a shell to be available on the system, so
...
...
nxcomp/Pipe.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
// that they can also work on Windows.
// that they can also work on Windows.
//
//
FILE
*
Popen
(
char
*
const
parameters
[],
const
char
*
type
);
extern
FILE
*
Popen
(
char
*
const
parameters
[],
const
char
*
type
);
FILE
*
Popen
(
const
char
*
command
,
const
char
*
type
);
extern
FILE
*
Popen
(
const
char
*
command
,
const
char
*
type
);
int
Pclose
(
FILE
*
file
);
extern
int
Pclose
(
FILE
*
file
);
nxcomp/PolyArc.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyArc.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyFillArc.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyFillArc.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyFillRectangle.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyFillRectangle.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyLine.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyLine.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyPoint.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyPoint.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolySegment.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolySegment.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyText16.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyText16.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyText8.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PolyText8.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PositionCacheCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PositionCacheCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Proxy.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -729,7 +729,7 @@ const char *Proxy::getComputerName()
...
@@ -729,7 +729,7 @@ const char *Proxy::getComputerName()
// bind to localhost and then try the other IPs.
// bind to localhost and then try the other IPs.
//
//
char
*
hostname
=
NULL
;
c
onst
c
har
*
hostname
=
NULL
;
#ifdef __CYGWIN32__
#ifdef __CYGWIN32__
...
...
nxcomp/Proxy.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ProxyReadBuffer.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ProxyReadBuffer.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PutImage.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PutImage.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PutPackedImage.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/PutPackedImage.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/QueryFontReply.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/QueryFontReply.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ReadBuffer.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ReadBuffer.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderAddGlyphs.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderAddGlyphs.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderChangePicture.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderChangePicture.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderComposite.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderComposite.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCompositeCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCompositeCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCompositeGlyphs.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCompositeGlyphs.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCompositeGlyphsCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCompositeGlyphsCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCreateGlyphSet.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCreateGlyphSet.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCreateGlyphSetCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCreateGlyphSetCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCreatePicture.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCreatePicture.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCreatePictureCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderCreatePictureCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderExtension.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderExtension.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderFillRectangles.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderFillRectangles.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderFreeGlyphSet.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderFreeGlyphSet.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderFreePicture.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderFreePicture.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderFreePictureCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderFreePictureCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderGenericRequest.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderGenericRequest.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderMinorExtensionHeaders.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderMinorExtensionMethods.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderMinorExtensionTags.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderPictureClip.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderPictureClip.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderPictureClipCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderPictureClipCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderPictureFilter.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderPictureFilter.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderPictureTransform.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderPictureTransform.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderTrapezoids.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderTrapezoids.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderTriangles.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/RenderTriangles.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Rgb.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Rgb.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Rle.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Rle.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SendEvent.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SendEvent.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SequenceQueue.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SequenceQueue.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ServerCache.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ServerCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ServerChannel.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -6622,7 +6622,7 @@ int ServerChannel::handleAuthorization(const unsigned char *buffer, int size)
...
@@ -6622,7 +6622,7 @@ int ServerChannel::handleAuthorization(const unsigned char *buffer, int size)
if
(
*
buffer
!=
1
)
if
(
*
buffer
!=
1
)
{
{
char
*
reason
=
NULL
;
c
onst
c
har
*
reason
=
NULL
;
//
//
// At the moment we don't take into account the end-
// At the moment we don't take into account the end-
...
...
nxcomp/ServerChannel.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ServerProxy.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ServerProxy.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ServerReadBuffer.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ServerReadBuffer.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ServerStore.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ServerStore.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetClipRectangles.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetClipRectangles.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackAlpha.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackAlpha.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackAlphaCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackAlphaCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackColormap.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackColormap.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackColormapCompat.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackColormapCompat.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackGeometry.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/SetUnpackGeometry.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ShapeExtension.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/ShapeExtension.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Socket.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Socket.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Split.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Split.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/StaticCompressor.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/StaticCompressor.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Statistics.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Statistics.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/TextCompressor.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/TextCompressor.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Timestamp.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Timestamp.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/TranslateCoords.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/TranslateCoords.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Transport.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Transport.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Types.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Unpack.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
@@ -32,6 +32,72 @@ z_stream unpackStream;
...
@@ -32,6 +32,72 @@ z_stream unpackStream;
static
int
unpackInitialized
;
static
int
unpackInitialized
;
int
Unpack8To8
(
const
T_colormask
*
colormask
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack8To8
(
T_colormap
*
colormap
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack8To16
(
const
T_colormask
*
colormask
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack8To16
(
T_colormap
*
colormap
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack8To24
(
const
T_colormask
*
colormask
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack8To24
(
T_colormap
*
colormap
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack8To32
(
const
T_colormask
*
colormask
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack8To32
(
T_colormap
*
colormap
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack15To16
(
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack15To24
(
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack15To32
(
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack16To16
(
const
T_colormask
*
colormask
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack16To16
(
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
,
int
imageByteOrder
);
int
Unpack16To24
(
const
T_colormask
*
colormask
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack16To24
(
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
,
int
imageByteOrder
);
int
Unpack16To32
(
const
T_colormask
*
colormask
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack16To32
(
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
,
int
imageByteOrder
);
int
Unpack24To24
(
const
T_colormask
*
colormask
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack24To24
(
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack24To32
(
const
T_colormask
*
colormask
,
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack24To32
(
const
unsigned
char
*
data
,
unsigned
char
*
out
,
unsigned
char
*
end
);
int
Unpack32To32
(
const
T_colormask
*
colormask
,
const
unsigned
int
*
data
,
unsigned
int
*
out
,
unsigned
int
*
end
);
void
UnpackInit
()
void
UnpackInit
()
{
{
if
(
unpackInitialized
==
0
)
if
(
unpackInitialized
==
0
)
...
@@ -540,11 +606,15 @@ int Unpack24To24(const T_colormask *colormask, const unsigned char *data,
...
@@ -540,11 +606,15 @@ int Unpack24To24(const T_colormask *colormask, const unsigned char *data,
{
{
while
(
out
<
end
)
while
(
out
<
end
)
{
{
if
(
data
[
0
]
==
data
[
1
]
==
data
[
2
]
==
0x00
)
if
(
data
[
0
]
==
0x00
&&
data
[
1
]
==
0x00
&&
data
[
2
]
==
0x00
)
{
{
out
[
0
]
=
out
[
1
]
=
out
[
2
]
=
0x00
;
out
[
0
]
=
out
[
1
]
=
out
[
2
]
=
0x00
;
}
}
else
if
(
data
[
0
]
==
data
[
1
]
==
data
[
2
]
==
0xff
)
else
if
(
data
[
0
]
==
0xff
&&
data
[
1
]
==
0xff
&&
data
[
2
]
==
0xff
)
{
{
out
[
0
]
=
out
[
1
]
=
out
[
2
]
=
0xff
;
out
[
0
]
=
out
[
1
]
=
out
[
2
]
=
0xff
;
}
}
...
...
nxcomp/Unpack.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Utils.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Vars.c
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/WriteBuffer.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/WriteBuffer.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/XidCache.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/XidCache.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Z.cpp
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/Z.h
View file @
47796167
/**************************************************************************/
/**************************************************************************/
/* */
/* */
/* Copyright (c) 2001, 20
09
NoMachine, http://www.nomachine.com/. */
/* Copyright (c) 2001, 20
10
NoMachine, http://www.nomachine.com/. */
/* */
/* */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* NXCOMP, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
/* are copyright of NoMachine. Redistribution and use of the present */
...
...
nxcomp/configure
View file @
47796167
...
@@ -2687,8 +2687,8 @@ echo "${ECHO_T}no" >&6
...
@@ -2687,8 +2687,8 @@ echo "${ECHO_T}no" >&6
;;
;;
esac
esac
echo
"
$as_me
:
$LINENO
: checking whether compiler accepts -Wmissing-declarations
and -Wnested-externs
"
>
&5
echo
"
$as_me
:
$LINENO
: checking whether compiler accepts -Wmissing-declarations"
>
&5
echo
$ECHO_N
"checking whether compiler accepts -Wmissing-declarations
and -Wnested-externs
...
$ECHO_C
"
>
&6
echo
$ECHO_N
"checking whether compiler accepts -Wmissing-declarations...
$ECHO_C
"
>
&6
gcc_version
=
`
${
CC
}
--version
|
grep
'gcc (GCC) [3-4].'
|
head
-n
1
`
gcc_version
=
`
${
CC
}
--version
|
grep
'gcc (GCC) [3-4].'
|
head
-n
1
`
case
"
${
gcc_version
}
"
in
case
"
${
gcc_version
}
"
in
gcc
*
)
gcc
*
)
...
@@ -2699,7 +2699,7 @@ echo "${ECHO_T}no" >&6
...
@@ -2699,7 +2699,7 @@ echo "${ECHO_T}no" >&6
*
)
*
)
echo
"
$as_me
:
$LINENO
: result: yes"
>
&5
echo
"
$as_me
:
$LINENO
: result: yes"
>
&5
echo
"
${
ECHO_T
}
yes"
>
&6
echo
"
${
ECHO_T
}
yes"
>
&6
CXXFLAGS
=
"
$CXXFLAGS
-Wmissing-declarations
-Wnested-externs
"
CXXFLAGS
=
"
$CXXFLAGS
-Wmissing-declarations"
;;
;;
esac
esac
...
...
nxcomp/configure.in
View file @
47796167
...
@@ -68,7 +68,7 @@ case "${gcc_version}" in
...
@@ -68,7 +68,7 @@ case "${gcc_version}" in
;;
;;
esac
esac
AC_MSG_CHECKING([whether compiler accepts -Wmissing-declarations
and -Wnested-externs
])
AC_MSG_CHECKING([whether compiler accepts -Wmissing-declarations])
gcc_version=`${CC} --version | grep 'gcc (GCC) [[3-4]].' | head -n 1`
gcc_version=`${CC} --version | grep 'gcc (GCC) [[3-4]].' | head -n 1`
case "${gcc_version}" in
case "${gcc_version}" in
gcc*)
gcc*)
...
@@ -77,7 +77,7 @@ case "${gcc_version}" in
...
@@ -77,7 +77,7 @@ case "${gcc_version}" in
*)
*)
AC_MSG_RESULT([yes])
AC_MSG_RESULT([yes])
CXXFLAGS="$CXXFLAGS -Wmissing-declarations
-Wnested-externs
"
CXXFLAGS="$CXXFLAGS -Wmissing-declarations"
;;
;;
esac
esac
...
...
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