]>
source.dussan.org Git - tigervnc.git/log
Peter Åstrand [Thu, 11 Dec 2008 08:38:10 +0000 (08:38 +0000)]
Define ~Notifier as virtual, to avoid GCC warning about "virtual
functions but non-virtual destructor".
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3377
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 08:27:52 +0000 (08:27 +0000)]
Explicit cast of -1 to UINT, to silence GCC warnings, but still adhere
to the strange win32 API.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3376
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 08:23:55 +0000 (08:23 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3375
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Thu, 11 Dec 2008 08:22:36 +0000 (08:22 +0000)]
The restrict keyboard was introduced with C99, but we are aiming for
C89 compatibility.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3374
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 10 Dec 2008 16:42:33 +0000 (16:42 +0000)]
[Layout] Added os/net.[ch]. They will include wrappers for missing IPv6
capabilities and should hide common networking related differences
between OSs
[Port] Implement IPv4-only version of inet_ntop for OSs which doesn't have it
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3369
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:41:12 +0000 (13:41 +0000)]
MinGW tweak: Build with -mthreads.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3368
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:12:38 +0000 (13:12 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3367
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:10:00 +0000 (13:10 +0000)]
printf does not accept CStr()s
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3366
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:08:28 +0000 (13:08 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3365
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 13:02:50 +0000 (13:02 +0000)]
vlog.debug doesn't accept CStr()s.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3364
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 12:59:58 +0000 (12:59 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3363
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 12:56:16 +0000 (12:56 +0000)]
Define ~DirManager, to avoid GCC warning:
`class rfb::win32::FolderManager' has virtual functions but non-virtual destructor
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3362
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 12:11:10 +0000 (12:11 +0000)]
Bugfix:
RegConfig.cxx:64: warning: cannot pass objects of non-POD type `struct
rfb::CStr' through `...'; call will abort at runtime
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3361
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 12:07:33 +0000 (12:07 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3360
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:49:58 +0000 (10:49 +0000)]
Avoid using result variable uninitialized
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3359
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:43:53 +0000 (10:43 +0000)]
Use msgType variable when writing debug; eliminating warning about unused variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3358
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:40:39 +0000 (10:40 +0000)]
Should return FALSE; not NULL
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3357
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:39:39 +0000 (10:39 +0000)]
Removed extra colon after #endif
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3356
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:38:50 +0000 (10:38 +0000)]
Eliminated unused lastError variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3355
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:37:25 +0000 (10:37 +0000)]
Make sure all files ends with newline
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3354
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:30:30 +0000 (10:30 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3353
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:29:06 +0000 (10:29 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3352
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:20:54 +0000 (10:20 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3351
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:15:19 +0000 (10:15 +0000)]
Removed unused variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3350
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 10:08:45 +0000 (10:08 +0000)]
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3349
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 08:50:48 +0000 (08:50 +0000)]
Ignoring Autotools and build files.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3348
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 08:30:25 +0000 (08:30 +0000)]
MinGW: Syntax correction: Added missing comma.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3347
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 10 Dec 2008 08:28:37 +0000 (08:28 +0000)]
MinGW: Compile resource file and link with it.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3346
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 14:57:53 +0000 (14:57 +0000)]
MinGW tweak: Constructs such as:
CharArray somevariable = "somestring"
...are not allowed. It seems like MSVC does not correctly check
accessibility for temporaries. Chapter 12.2 of ISO/IEC 14882:2003(E):
> Even when the creation of the temporary object is avoided (12.8),
> all the semantic restrictions must be respected as if the temporary
> object was created. [Example: even if the copy constructor is not
> called, all the semantic restrictions, such as accessibility
> (clause 11), shall be satisfied. ]
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3344
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 13:39:24 +0000 (13:39 +0000)]
MinGW tweak: calculateScaleBoundary is not an inline method. If it
was, it should have been defined in the header file. See
http://www.parashift.com/c++-faq-lite/inline-functions.html.
Also, protect header file with normal #ifdef.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3343
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 12:46:47 +0000 (12:46 +0000)]
MinGW tweak: Mark gigantic constants as longlong.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3342
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 12:31:24 +0000 (12:31 +0000)]
Corrected invalid conversion from `void*' to `_SECURITY_DESCRIPTOR*':
A SecurityDescriptorPtr is not a PSECURITY_DESCRIPTOR.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3341
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 11:20:39 +0000 (11:20 +0000)]
MinGW tweak: Like last patch, use __rfbmax/__rfbmin.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3338
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 11:17:28 +0000 (11:17 +0000)]
MinGW tweak: use __rfbmax/__rfbmin instead of max/min, just like most
other files. (There are other variants in use as well: vncmax/vncmin,
max/min, MAX/MIN.)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3337
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:57:47 +0000 (10:57 +0000)]
MinGW tweak: takeSD must cast result from takePtr
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3336
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:55:15 +0000 (10:55 +0000)]
MinGW tweak: Only define RFB_HAVE_SENDINPUT is we have MOUSEEVENTF_VIRTUALDESK.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3335
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:53:50 +0000 (10:53 +0000)]
MinGW tweak: Force cast from `int (*)()' to `void*'.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3334
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:50:40 +0000 (10:50 +0000)]
MinGW tweak: Use sizeof(PROPSHEETHEADER) instead of
PROPSHEETHEADER_V1_SIZE, since the latter is not available in
MinGW. Raises our requirements of comctl32.dll, but should be no
problem nowadays.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3333
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:48:44 +0000 (10:48 +0000)]
MinGW tweak: ISO C++ forbids declaration of `requestAddressChangeEvents' with no type.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3332
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:42:56 +0000 (10:42 +0000)]
MinGW tweak: Follow up on last patch: Define this baseClass static as well.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3331
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:41:59 +0000 (10:41 +0000)]
MinGW tweak. baseClass is defined in MsgWindow.cxx as well. Needs to
be static, or linking will fail with "multiple definition of
_baseClass" error.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3330
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:36:16 +0000 (10:36 +0000)]
MinGW tweak: HexOutstream.h is really named HexOutStream.h.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3329
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:34:59 +0000 (10:34 +0000)]
MinGW tweak: Accctrl.h is really named accctrl.h.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3328
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:33:23 +0000 (10:33 +0000)]
MinGW tweak: ISO C++ forbids declaration of `abs' with no type
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3327
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 9 Dec 2008 10:27:33 +0000 (10:27 +0000)]
Basic support for building Windows vncviewer using MinGW. This patch
includes non-intrusive changes, more tweaks will follow. Details:
* Defining WINVER and _WIN32_IE in both common and win modules.
* Need to build CFTMsgWriter and CFTMsgReader.
* Added configure script and Makefiles.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3326
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Mon, 8 Dec 2008 10:59:59 +0000 (10:59 +0000)]
[Layout] Added file RawDecoder.java and RawDecoder class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3320
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Mon, 8 Dec 2008 10:41:25 +0000 (10:41 +0000)]
[Layout] Added folder "decoder" for new package "com.tightvnc.decoder".
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3318
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Thu, 4 Dec 2008 08:42:34 +0000 (08:42 +0000)]
[Developement] Added auto scaling on resizing window (non applet mode), auto scaling in applet.
[BugFix] Wrong auto scaling in applet and application.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3293
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 3 Dec 2008 15:03:08 +0000 (15:03 +0000)]
[Cleanup] Removed unneeded #includes from rdr/Exception.cxx
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3292
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 3 Dec 2008 14:24:01 +0000 (14:24 +0000)]
[Portability] Use /**/ comments instead of // in C code
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3291
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 3 Dec 2008 14:18:19 +0000 (14:18 +0000)]
[Portability] Implemented snprintf() function to support old compilers
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3290
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 3 Dec 2008 14:13:36 +0000 (14:13 +0000)]
[Portability] Reimplement vsnprintf to be C89 compatible
Main problem is that C89 doesn't have va_copy macro thus you can't parse va_list
twice.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3289
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Wed, 3 Dec 2008 11:57:18 +0000 (11:57 +0000)]
Fix -PasswordFile, which was causing asserts. Since we are providing
our own buffer for ObfuscatedPasswd, we need to take it (so that it's
set to zero) to prevent CharArray destructor from trying to free it.
Also, memset the fixed length of the data variable, rather than rely
on strlen, since the string might not be null terminated.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3288
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Wed, 3 Dec 2008 09:17:25 +0000 (09:17 +0000)]
[Developement] Added "auto scaling" feature to Applet.
[BugFix] NullPointerException when changing option before canvas created.
[BugFix] Wrong default value in "Auto Scroll" combo box (class OptionsFrame).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3287
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Wed, 3 Dec 2008 06:56:27 +0000 (06:56 +0000)]
[Developement] Added feature to change "Scaling factor" parameter from OptionsFrame.java ("TightVnc Options" dialog).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3286
3789f03b -4d11-0410-bbf8-
ca57d06f2519
enikey [Wed, 3 Dec 2008 06:52:09 +0000 (06:52 +0000)]
[Developement] Added method setScalingFactor.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3285
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 2 Dec 2008 10:05:49 +0000 (10:05 +0000)]
Needs to include ../jpeg/win here as well
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3283
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 2 Dec 2008 09:56:26 +0000 (09:56 +0000)]
This should be the final modification to restore a working Visual
Studio build. A static jconfig.h has been re-added, but in a separate
directory, to avoid clash with jconfig.h generated by configure
script. Also, jconfig.h now includes the inline macro. jpeg.dsp has
been modified to search in the "win" subdir, to find jconfig.h.
This patch is in spirit similar to r121.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3282
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 2 Dec 2008 08:59:07 +0000 (08:59 +0000)]
jpeg.dsp is a text file
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3281
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 2 Dec 2008 08:36:52 +0000 (08:36 +0000)]
Removed Xregion.vcproj. As I understand it, this file was committed by
mistake: We don't have any other .vcproj files in this branch, and
there's an .dsp file here as well.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3280
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 2 Dec 2008 08:33:00 +0000 (08:33 +0000)]
Define VNC_SOCKLEN_T if not defined - needed for Visual Studio build.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3279
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Tue, 2 Dec 2008 08:08:05 +0000 (08:08 +0000)]
We are using printf - stdio.h must be included
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3278
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Mon, 1 Dec 2008 15:01:19 +0000 (15:01 +0000)]
Need to include jpeg directory; used by JpegCompressor.h
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3277
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Mon, 1 Dec 2008 14:49:13 +0000 (14:49 +0000)]
rfb.dsp is a text file, corrected mime type.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3276
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Mon, 1 Dec 2008 14:03:23 +0000 (14:03 +0000)]
Corrected r3167; the file is called common-config.win.h, not
common-config.win32.h.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3275
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Peter Åstrand [Sun, 30 Nov 2008 20:35:45 +0000 (20:35 +0000)]
Project-Id-Version mustn't have initial default value
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3274
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Thu, 20 Nov 2008 15:02:32 +0000 (15:02 +0000)]
[Bugfix] Fixed building with new libtool (2.2.6)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3204
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Tue, 18 Nov 2008 16:08:25 +0000 (16:08 +0000)]
[Cleanup] Removed unneeded else branch in TcpSocket constructor
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3184
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Tue, 18 Nov 2008 16:00:14 +0000 (16:00 +0000)]
[Bugfix] Backported patch from RealVNC 4.1.3. FYI it is not security related.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3183
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Fri, 14 Nov 2008 15:56:15 +0000 (15:56 +0000)]
[Development] Basic IPv6 support to viewer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3169
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Fri, 14 Nov 2008 14:48:21 +0000 (14:48 +0000)]
[Refactoring] Improved rdr::Exception constructor. It now accepts variable
number of arguments.
[Bugfix] Minor compilation fixes (missing #includes)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3168
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Fri, 14 Nov 2008 13:11:31 +0000 (13:11 +0000)]
[Refactoring] Introduced common/os/ directory for platform dependent
implementations and move vsnprintf() declaration there.
[Refactoring] Introduced common/common-config.win.h for handling WIN32
platform specifics.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3167
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Fri, 14 Nov 2008 12:25:34 +0000 (12:25 +0000)]
Check where select() is defined during configure time
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3165
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sat, 25 Oct 2008 14:06:14 +0000 (14:06 +0000)]
[Documentation] Included information from rfbproto.tex. LaTeX formatting is not fully converted yet.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3054
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Thu, 23 Oct 2008 12:04:14 +0000 (12:04 +0000)]
[Doc] Added "vncviewer host::port" syntax to vncviewer man page
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3046
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 22 Oct 2008 14:47:09 +0000 (14:47 +0000)]
[Bugfix] Handle conditional jpeg/zlib building through AM_CONDITIONAL to make
make dist working
[Bugfix] #include <jpeglib.h> (not jpeg/jpeglib.h) in JpegCompressor.h
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3043
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 22 Oct 2008 11:19:25 +0000 (11:19 +0000)]
[Bugfix] Include man files and more jpeg libraries in tarball
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3042
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Fri, 17 Oct 2008 12:28:50 +0000 (12:28 +0000)]
[Bugfix] Check return value from fbPictureInit
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3029
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 15 Oct 2008 16:33:33 +0000 (16:33 +0000)]
xserver.patch update in r3021 was incomplete
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3022
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 15 Oct 2008 15:55:06 +0000 (15:55 +0000)]
Updated xserver.patch
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3021
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 15 Oct 2008 13:23:24 +0000 (13:23 +0000)]
[Bugfix] Find correct colormap in XserverDesktop::serverReset method
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3020
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 15 Oct 2008 11:14:22 +0000 (11:14 +0000)]
[Bugfix] link libvnc.so against correct libraries
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3019
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Mon, 13 Oct 2008 08:10:24 +0000 (08:10 +0000)]
[Bugfix] Fixed screen initialization - use correct depths and richer set of visuals.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3005
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Fri, 10 Oct 2008 15:48:22 +0000 (15:48 +0000)]
[Cleanup] Fixed some compiler warnings
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2976
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Wed, 8 Oct 2008 13:40:28 +0000 (13:40 +0000)]
[Bugfix] Fixed typo in rfb/util.cxx (caused in r2890)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2916
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Mon, 6 Oct 2008 14:08:00 +0000 (14:08 +0000)]
[Cleanup] Handle system dependent defines through autoheader & common-config.h
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2890
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Mon, 6 Oct 2008 13:06:41 +0000 (13:06 +0000)]
[Cleanup] Detect and handle IRIX related enhancements in common/* directory only
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2889
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Adam Tkac [Mon, 29 Sep 2008 15:06:39 +0000 (15:06 +0000)]
Install *man files and vncserver script in Makefile.ams
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2831
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sun, 28 Sep 2008 05:08:48 +0000 (05:08 +0000)]
Merged changes from branches/1.5-xserver (revision range 2432:2631) back to trunk.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2829
3789f03b -4d11-0410-bbf8-
ca57d06f2519
syuri [Fri, 19 Sep 2008 09:55:50 +0000 (09:55 +0000)]
[Merge] Revision 2778 has been reverted.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2779
3789f03b -4d11-0410-bbf8-
ca57d06f2519
syuri [Fri, 19 Sep 2008 09:39:38 +0000 (09:39 +0000)]
[Layout] Xregion has been deleted from screen-update folder.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2778
3789f03b -4d11-0410-bbf8-
ca57d06f2519
syuri [Fri, 19 Sep 2008 09:09:45 +0000 (09:09 +0000)]
[Layout] Project for Xregion has been created.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2776
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 5 Sep 2008 07:13:55 +0000 (07:13 +0000)]
[Bugfix] When terminating x0vncserver by pressing Ctrl+C in a remote viewer, x0vncserver used to leave the Ctrl modifier "pressed". Now it should be "released" properly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2758
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 5 Sep 2008 05:14:03 +0000 (05:14 +0000)]
[Bugfix] Resetting video rectangle on last client disconnect.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2755
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 5 Sep 2008 02:41:15 +0000 (02:41 +0000)]
[Enhancement] Sending zero coordinates of the video area selection if that selection is zero-size.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2754
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Fri, 5 Sep 2008 02:26:35 +0000 (02:26 +0000)]
[Enhancements, refactoring] Rationalized functions to control video
rectangle selection and default video rectangle. Added more logging and
improved error checking in the related code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2753
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 3 Sep 2008 05:52:35 +0000 (05:52 +0000)]
[Bugfix] If JpegCompressor could not compress the data, it did switch to StandardJpegCompressor but did not actually try to compress the same data once again. That caused sending a zero-size JPEG data block to the client.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2749
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 3 Sep 2008 04:51:28 +0000 (04:51 +0000)]
[Bugfix, cleanups] All the remaining problems with video rectangle selection coordinates seem to be fixed now. Now the selection rectangle should always be a multiple of 16x8 pixels and its coordinates should always fit the framebuffer. The code of VncCanvas.getSelection(boolean) looks much better now.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2748
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 3 Sep 2008 03:37:28 +0000 (03:37 +0000)]
[Bugfix] Selection grew incorrectly when it passed left or upper boundary of the framebuffer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2747
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Wed, 3 Sep 2008 03:12:18 +0000 (03:12 +0000)]
[Bugfix] Make sure the video selection is always a multiple of 16x8 pixels. Previously, the selection could cross the framebuffer boundaries and clipping it back to screen could break 16x8 alignment.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2746
3789f03b -4d11-0410-bbf8-
ca57d06f2519