]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
16 years ago- added top-level configure.ac and Makefile.am to make "make dist" working
Adam Tkac [Fri, 18 Apr 2008 13:57:22 +0000 (13:57 +0000)]
- added top-level configure.ac and Makefile.am to make "make dist" working

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2497 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- fixed paths in POTFILES.in
Adam Tkac [Fri, 18 Apr 2008 13:53:53 +0000 (13:53 +0000)]
- fixed paths in POTFILES.in

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2496 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- removed libz and libjpeg detection from unix/configure.ac (done in common/configure.ac)
Adam Tkac [Thu, 17 Apr 2008 17:09:59 +0000 (17:09 +0000)]
- removed libz and libjpeg detection from unix/configure.ac (done in common/configure.ac)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2494 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- removed more unneded files
Adam Tkac [Thu, 17 Apr 2008 16:59:57 +0000 (16:59 +0000)]
- removed more unneded files
- removed unix/intl (system libintl is used)
- correct gettext.h include in unix/vncviewer/AboutDialog.h

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2493 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- removed autogenerated and obsoleted files
Adam Tkac [Thu, 17 Apr 2008 16:48:52 +0000 (16:48 +0000)]
- removed autogenerated and obsoleted files

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2492 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- make i18n working again
Adam Tkac [Thu, 17 Apr 2008 16:37:08 +0000 (16:37 +0000)]
- make i18n working again
- always use system libintl
- introduced vncviewer/gettext.h (from gettext package) as conventional wrapper around libintl.h

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2491 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- generate Makefile.in in unix/* subtree from Makefile.am
Adam Tkac [Thu, 17 Apr 2008 16:17:12 +0000 (16:17 +0000)]
- generate Makefile.in in unix/* subtree from Makefile.am

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2490 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- use PACKAGE_NAME/PACKAGE_VERSION macros instead PACKAGE/VERSION (AC_INIT() compatib...
Adam Tkac [Thu, 17 Apr 2008 15:45:58 +0000 (15:45 +0000)]
- use PACKAGE_NAME/PACKAGE_VERSION macros instead PACKAGE/VERSION (AC_INIT() compatibility)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2489 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- removed autogenerated unix/aclocal.m4
Adam Tkac [Thu, 17 Apr 2008 15:41:44 +0000 (15:41 +0000)]
- removed autogenerated unix/aclocal.m4

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2488 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- temporarily don't build i18n
Adam Tkac [Thu, 17 Apr 2008 15:40:15 +0000 (15:40 +0000)]
- temporarily don't build i18n

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2487 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- use AC_CONFIG_SUBDIRS in unix/configure.ac to configure common subtree
Adam Tkac [Thu, 17 Apr 2008 15:25:41 +0000 (15:25 +0000)]
- use AC_CONFIG_SUBDIRS in unix/configure.ac to configure common subtree
- use AC_INIT to define PACKAGE_NAME and PACKAGE_VERSION

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2486 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- renamed unix/configure.in to unix/configure.ac
Adam Tkac [Thu, 17 Apr 2008 15:12:07 +0000 (15:12 +0000)]
- renamed unix/configure.in to unix/configure.ac

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2485 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- removed DPMS stuff from xvnc.cc (included in xserver/Xext/dpmsstubs.c)
Adam Tkac [Thu, 17 Apr 2008 11:16:35 +0000 (11:16 +0000)]
- removed DPMS stuff from xvnc.cc (included in xserver/Xext/dpmsstubs.c)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2484 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- include dix-config.h before any xorg header
Adam Tkac [Thu, 17 Apr 2008 11:14:23 +0000 (11:14 +0000)]
- include dix-config.h before any xorg header

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2483 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- cleanup in common/configure.ac (boilerplate is no longer needed)
Adam Tkac [Wed, 16 Apr 2008 13:13:00 +0000 (13:13 +0000)]
- cleanup in common/configure.ac (boilerplate is no longer needed)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2482 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- add libz to librdr.la to avoid tight/system zlib checking in xserver configure
Adam Tkac [Wed, 16 Apr 2008 12:36:28 +0000 (12:36 +0000)]
- add libz to librdr.la to avoid tight/system zlib checking in xserver configure
- add libjpeg to librfb.la to avoid tight/system libjpeg checking in xserver configure

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2481 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- don't build sources whose contains main() function into libz.a
Adam Tkac [Wed, 16 Apr 2008 12:32:44 +0000 (12:32 +0000)]
- don't build sources whose contains main() function into libz.a

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2480 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- introduced Xvnc Makefile.am
Adam Tkac [Wed, 16 Apr 2008 12:30:15 +0000 (12:30 +0000)]
- introduced Xvnc Makefile.am

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2479 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- updated xserver.patch (part of it was merged to xorg upstream)
Adam Tkac [Wed, 16 Apr 2008 12:27:25 +0000 (12:27 +0000)]
- updated xserver.patch (part of it was merged to xorg upstream)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2478 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- generate Makefile.in from Makefile.am template
Adam Tkac [Mon, 14 Apr 2008 14:49:52 +0000 (14:49 +0000)]
- generate Makefile.in from Makefile.am template

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2466 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- improved zlib configuration, parameter --with-installed-zlib replaced by --with...
Adam Tkac [Mon, 14 Apr 2008 14:07:37 +0000 (14:07 +0000)]
- improved zlib configuration, parameter --with-installed-zlib replaced by --with-tight-zlib

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2464 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- improved jpeg configuration, parameter --with-installed-jpeg replaced by --with...
Adam Tkac [Mon, 14 Apr 2008 13:53:45 +0000 (13:53 +0000)]
- improved jpeg configuration, parameter --with-installed-jpeg replaced by --with-tight-jpeg

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2463 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- introduced common/jpeg/jconfig.h.in - minimal jconfig.h template
Adam Tkac [Mon, 14 Apr 2008 13:11:58 +0000 (13:11 +0000)]
- introduced common/jpeg/jconfig.h.in - minimal jconfig.h template

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2462 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- introduced common/jpeg/{configure.ac,Makefile.am}
Adam Tkac [Thu, 3 Apr 2008 13:29:28 +0000 (13:29 +0000)]
- introduced common/jpeg/{configure.ac,Makefile.am}
- removed autogenerated stuff (jconfig.h, configure, config.guess, config.sub, jconfig.h, install-sh)
- minor macros changes in jchuff.c, jcphuff.c, jmorecfg.h (same with configure produced macros)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2455 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoIntroduced common/zlib/{configure.ac,Makefile.am}. Renamed macros
Adam Tkac [Thu, 27 Mar 2008 18:13:28 +0000 (18:13 +0000)]
Introduced common/zlib/{configure.ac,Makefile.am}. Renamed macros
generated by old configure to same as generated by new configure
and add config.h include where needed.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2454 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoRename common/configure.in to common/configure.ac and fix AC_INIT
Adam Tkac [Thu, 27 Mar 2008 17:14:35 +0000 (17:14 +0000)]
Rename common/configure.in to common/configure.ac and fix AC_INIT
macro parameters.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2453 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoPaintWindowBackground and PaintWindowBorder hooks are no longer used.
Adam Tkac [Wed, 26 Mar 2008 18:59:58 +0000 (18:59 +0000)]
PaintWindowBackground and PaintWindowBorder hooks are no longer used.
PolyFillRect hook is used instead and it needs modified ValidateGC hook.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2452 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoUse SelectionCallback to handle selection changes. They should never
Adam Tkac [Wed, 26 Mar 2008 18:32:20 +0000 (18:32 +0000)]
Use SelectionCallback to handle selection changes. They should never
be touched directly and they have been converted to linear list
instead array.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2451 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAdd DDXRingBell to xvnc.cc because it has to be implement by DDX.
Adam Tkac [Wed, 26 Mar 2008 18:18:53 +0000 (18:18 +0000)]
Add DDXRingBell to xvnc.cc because it has to be implement by DDX.
LegalModifier takes DeviceIntPtr as second parameter.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2450 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoUse GetKeyboardEvents and GetPointerEvents functions to generate input events
Adam Tkac [Wed, 26 Mar 2008 18:12:33 +0000 (18:12 +0000)]
Use GetKeyboardEvents and GetPointerEvents functions to generate input events
and process them through miEventQueue instead through processInputEvents
(see http://www.x.org/wiki/Development/Documentation/InputEventProcessing why).

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2449 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoInitialize input devices in XserverDesktop constructor and update
Adam Tkac [Wed, 26 Mar 2008 17:13:33 +0000 (17:13 +0000)]
Initialize input devices in XserverDesktop constructor and update
InitPointerDeviceStruct and mieqInit parameters.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2448 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMoved keyboard and mouse input procedures to XserverDesktop.cc because
Adam Tkac [Wed, 26 Mar 2008 16:17:19 +0000 (16:17 +0000)]
Moved keyboard and mouse input procedures to XserverDesktop.cc because
libvnc.so module and Xvnc has to use same keyboard and mouse functions.
Using of Lookup{Keyboard,Pointer}Device functions is deprecated and wrong.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2447 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoFixed minor compilation problems in xvnc.cc.
Adam Tkac [Sat, 22 Mar 2008 22:45:46 +0000 (22:45 +0000)]
Fixed minor compilation problems in xvnc.cc.
 - use xalloc/xfree instead ALLOCATE_LOCAL/DEALLOCATE_LOCAL
 - include keysym.h from $(includedir)/X11
 - removed "xor" and "and" macro defines (cannot be used with gcc 4)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2446 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoInclude keysym.h from $(includedir)/X11
Adam Tkac [Sat, 22 Mar 2008 22:24:03 +0000 (22:24 +0000)]
Include keysym.h from $(includedir)/X11

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2445 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoDon't access devPrivates directly. Use dixRequestPrivate and dixLookupPrivate
Adam Tkac [Sat, 22 Mar 2008 22:19:20 +0000 (22:19 +0000)]
Don't access devPrivates directly. Use dixRequestPrivate and dixLookupPrivate
API instead.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2444 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoFixed vncExtInit.cc compilation with gcc 4 series
Adam Tkac [Sat, 22 Mar 2008 21:20:50 +0000 (21:20 +0000)]
Fixed vncExtInit.cc compilation with gcc 4 series
(vncExtInit.cc:754: error:cast from 'void*' to 'CARD32' loses precision)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2443 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAfter discussion with Constantin reverted 2433, 2434, 2436, 2437 and 2438
Adam Tkac [Sat, 22 Mar 2008 11:20:54 +0000 (11:20 +0000)]
After discussion with Constantin reverted 2433, 2434, 2436, 2437 and 2438
(build automation and i18n changes). Latest server changes (2439 and 2440)
are OK.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2442 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoFixed libX11 #include directives
Adam Tkac [Fri, 21 Mar 2008 19:58:50 +0000 (19:58 +0000)]
Fixed libX11 #include directives

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2440 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- moved Xvnc sources to unix/xserver/hw/vnc directory to affect current X tree
Adam Tkac [Fri, 21 Mar 2008 18:56:48 +0000 (18:56 +0000)]
- moved Xvnc sources to unix/xserver/hw/vnc directory to affect current X tree
- replaced unix/xc.patch by unix/xserver.patch
- completely deleted unneded unix/xc subtree (sources are in unix/xserver/hw/vnc)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2439 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoFixed detection of XTest extension on IRIX
Adam Tkac [Fri, 21 Mar 2008 15:22:30 +0000 (15:22 +0000)]
Fixed detection of XTest extension on IRIX

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2438 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAlways call configure in common/{zlib,jpeg} to get "make dist" works
Adam Tkac [Fri, 21 Mar 2008 12:13:13 +0000 (12:13 +0000)]
Always call configure in common/{zlib,jpeg} to get "make dist" works

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2437 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- fixed paths in po/POTFILES.in
Adam Tkac [Fri, 21 Mar 2008 12:05:01 +0000 (12:05 +0000)]
- fixed paths in po/POTFILES.in

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2436 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- handle HAVE_MITSHM macro through config.h
Adam Tkac [Thu, 20 Mar 2008 13:30:22 +0000 (13:30 +0000)]
- handle HAVE_MITSHM macro through config.h
- removed unix/intl stuff and added unix/vncviewer/gettext.h file which
  cares about platform independent translations
- removed unwanted config.rpath and ABOUT-NLS (autogenerated)
- moved unix/po to top directory
- internationalization works again

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2434 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago- use Makefile.am and configure.ac
Adam Tkac [Thu, 20 Mar 2008 11:48:41 +0000 (11:48 +0000)]
- use Makefile.am and configure.ac
- removed unwanted files
- internationalization and jpeg library doesn't work yet

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2433 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years ago1.5-xserver branch. In this branch Xvnc is going to be rebased on X server 1.5 with...
Adam Tkac [Wed, 19 Mar 2008 18:24:42 +0000 (18:24 +0000)]
1.5-xserver branch. In this branch Xvnc is going to be rebased on X server 1.5 with major improvements in build automation

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2432 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAdded some missing #includes whose prevent build source with gcc 4.3
Adam Tkac [Wed, 19 Mar 2008 16:14:48 +0000 (16:14 +0000)]
Added some missing #includes whose prevent build source with gcc 4.3

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2431 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoProtect common/zlib/configure parameter processing against infinite loop
Adam Tkac [Wed, 19 Mar 2008 14:44:35 +0000 (14:44 +0000)]
Protect common/zlib/configure parameter processing against infinite loop

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2430 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoSet SVN project language to English.
Constantin Kaplinsky [Mon, 17 Mar 2008 05:07:13 +0000 (05:07 +0000)]
Set SVN project language to English.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2424 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoviewer could aborted when only one scrollbar should be used
Adam Tkac [Fri, 14 Mar 2008 13:37:09 +0000 (13:37 +0000)]
viewer could aborted when only one scrollbar should be used

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2420 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoOptimized the checkRow() function.
Constantin Kaplinsky [Mon, 21 Jan 2008 10:24:25 +0000 (10:24 +0000)]
Optimized the checkRow() function.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2418 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMinor refactoring: removed getFullRow() function, added its code to getRow().
Constantin Kaplinsky [Sat, 19 Jan 2008 09:03:47 +0000 (09:03 +0000)]
Minor refactoring: removed getFullRow() function, added its code to getRow().

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2414 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMinor code enhancement: using an inline function instead of inline arithmetic.
Constantin Kaplinsky [Fri, 18 Jan 2008 15:37:15 +0000 (15:37 +0000)]
Minor code enhancement: using an inline function instead of inline arithmetic.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2412 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMinor code improvement: added Image::locatePixel(x, y) function to get rid of direct...
Constantin Kaplinsky [Fri, 18 Jan 2008 15:23:11 +0000 (15:23 +0000)]
Minor code improvement: added Image::locatePixel(x, y) function to get rid of direct pointer arithmetic.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2411 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMade a number of member variables constants.
Constantin Kaplinsky [Fri, 18 Jan 2008 14:33:05 +0000 (14:33 +0000)]
Made a number of member variables constants.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2410 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMinor refactoring: new m_bytesPerPixel member variable.
Constantin Kaplinsky [Fri, 18 Jan 2008 14:13:16 +0000 (14:13 +0000)]
Minor refactoring: new m_bytesPerPixel member variable.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2409 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoRefactoring: checkRow() has been rationalized; it does not need arguments that it...
Constantin Kaplinsky [Fri, 18 Jan 2008 11:17:26 +0000 (11:17 +0000)]
Refactoring: checkRow() has been rationalized; it does not need arguments that it can easily compute itself.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2408 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoCode refactoring: removed extra arguments for member functions.
Constantin Kaplinsky [Thu, 17 Jan 2008 19:14:37 +0000 (19:14 +0000)]
Code refactoring: removed extra arguments for member functions.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2407 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoCode refactoring: introduced m_changeFlags member variable, instead of similar local...
Constantin Kaplinsky [Thu, 17 Jan 2008 17:41:48 +0000 (17:41 +0000)]
Code refactoring: introduced m_changeFlags member variable, instead of similar local variable.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2406 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMinor code refactoring: remembering the number of 32x32 tiles in a member variable.
Constantin Kaplinsky [Thu, 17 Jan 2008 15:17:36 +0000 (15:17 +0000)]
Minor code refactoring: remembering the number of 32x32 tiles in a member variable.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2405 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoLastRect was documented incorrectly.
Constantin Kaplinsky [Mon, 14 Jan 2008 09:11:18 +0000 (09:11 +0000)]
LastRect was documented incorrectly.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2401 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoImplemented calls to reportChanges() as conditional macros. This reduces the amount...
Constantin Kaplinsky [Thu, 10 Jan 2008 15:59:03 +0000 (15:59 +0000)]
Implemented calls to reportChanges() as conditional macros. This reduces the amount of debugging code.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2400 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMore debugging output can be enabled with the #define DEBUG_REPORT_CHANGED_TILES.
Constantin Kaplinsky [Thu, 10 Jan 2008 15:27:42 +0000 (15:27 +0000)]
More debugging output can be enabled with the #define DEBUG_REPORT_CHANGED_TILES.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2399 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoChecking neighbor pixels above and below changed tiles, as well as pixels at the...
Constantin Kaplinsky [Wed, 9 Jan 2008 10:25:34 +0000 (10:25 +0000)]
Checking neighbor pixels above and below changed tiles, as well as pixels at the left and at the right.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2396 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoIf defined DEBUG_PRINT_NUM_CHANGED_TILES, print correct final number of changed tiles...
Constantin Kaplinsky [Wed, 9 Jan 2008 10:22:42 +0000 (10:22 +0000)]
If defined DEBUG_PRINT_NUM_CHANGED_TILES, print correct final number of changed tiles detected (excluding video area but including tiles found after "neighbors check").

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2395 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoRemoved an extra empty line.
Constantin Kaplinsky [Tue, 8 Jan 2008 14:16:34 +0000 (14:16 +0000)]
Removed an extra empty line.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2394 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoDocumented TightVNC-specific parameters properly.
Constantin Kaplinsky [Tue, 8 Jan 2008 13:48:19 +0000 (13:48 +0000)]
Documented TightVNC-specific parameters properly.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2393 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMade the manual page more readable, added clarifications, formatting fixes, corrected...
Constantin Kaplinsky [Tue, 8 Jan 2008 10:42:22 +0000 (10:42 +0000)]
Made the manual page more readable, added clarifications, formatting fixes, corrected references to other man pages etc.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2392 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoReordered parameter descriptions, as x0vncserver -h printed them in almost random...
Constantin Kaplinsky [Mon, 7 Jan 2008 16:10:37 +0000 (16:10 +0000)]
Reordered parameter descriptions, as x0vncserver -h printed them in almost random order.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2391 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAdded new PARAMETERS section to the x0vncserver manual. The information was copied...
Constantin Kaplinsky [Mon, 7 Jan 2008 14:52:51 +0000 (14:52 +0000)]
Added new PARAMETERS section to the x0vncserver manual. The information was copied from the `x0vncserver -h' output.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2390 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoThe man page for x0vncserver rewritten from the scratch.
Constantin Kaplinsky [Mon, 7 Jan 2008 13:57:01 +0000 (13:57 +0000)]
The man page for x0vncserver rewritten from the scratch.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2389 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoPolling algorithm was extended. Now, if it detected any changes, it will also check...
Constantin Kaplinsky [Fri, 28 Dec 2007 18:37:04 +0000 (18:37 +0000)]
Polling algorithm was extended. Now, if it detected any changes, it will also check vertical borders of neighboring tiles at the right.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2388 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoWhen compiled with defining DEBUG_PRINT_NUM_CHANGED_TILES, print the number of change...
Constantin Kaplinsky [Fri, 28 Dec 2007 18:30:54 +0000 (18:30 +0000)]
When compiled with defining DEBUG_PRINT_NUM_CHANGED_TILES, print the number of changed tiles detected in each polling pass.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2387 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoCode refactoring and cleanups. Moved a part of handleVideo() back to pollScreen(...
Constantin Kaplinsky [Fri, 28 Dec 2007 18:21:42 +0000 (18:21 +0000)]
Code refactoring and cleanups. Moved a part of handleVideo() back to pollScreen(), changed a few function prototypes, added sanity checking in flagVideoArea().

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2386 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMaintaining additional one-pixel-width image for using in upcoming polling improvements.
Constantin Kaplinsky [Fri, 28 Dec 2007 17:59:10 +0000 (17:59 +0000)]
Maintaining additional one-pixel-width image for using in upcoming polling improvements.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2385 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMinor code refactoring -- new flagVideoArea() function, minor naming and formatting...
Constantin Kaplinsky [Fri, 28 Dec 2007 08:44:59 +0000 (08:44 +0000)]
Minor code refactoring -- new flagVideoArea() function, minor naming and formatting changes.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2384 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoPrepared the XPixelBuffer class for grabbing the screen in its grabRegion() method.
Constantin Kaplinsky [Thu, 27 Dec 2007 08:42:53 +0000 (08:42 +0000)]
Prepared the XPixelBuffer class for grabbing the screen in its grabRegion() method.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2383 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoOverriding the grabRegion function in XPixelBuffer. It will perform screen grabbing...
Constantin Kaplinsky [Wed, 26 Dec 2007 19:17:02 +0000 (19:17 +0000)]
Overriding the grabRegion function in XPixelBuffer. It will perform screen grabbing right before sending an update.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2382 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMoved XPixelBuffer class into a separate file.
Constantin Kaplinsky [Wed, 26 Dec 2007 18:17:09 +0000 (18:17 +0000)]
Moved XPixelBuffer class into a separate file.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2381 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAdded a numner of FIXME comments, to identify some possible improvements.
Constantin Kaplinsky [Tue, 25 Dec 2007 18:10:35 +0000 (18:10 +0000)]
Added a numner of FIXME comments, to identify some possible improvements.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2380 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoImplemented new "VideoPriority" parameter. It allows to increase the priority of...
Constantin Kaplinsky [Tue, 25 Dec 2007 17:43:09 +0000 (17:43 +0000)]
Implemented new "VideoPriority" parameter. It allows to increase the priority of video data (when set to 2 or higher), or to disable video detection completely (when set to 0). The value 1 gives video area the same priority as the rest of the screen, the value 2 doubles video area priority, and so on.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2379 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoMaking sure that both height and width of the video area are always multiples of...
Constantin Kaplinsky [Tue, 25 Dec 2007 11:25:07 +0000 (11:25 +0000)]
Making sure that both height and width of the video area are always multiples of 32. This is important for hardware JPEG encoders.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2378 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoIrixDMJpegCompressor is now preferred to IrixCLJpegCompressor. Debugging behavior...
Constantin Kaplinsky [Thu, 20 Dec 2007 15:30:20 +0000 (15:30 +0000)]
IrixDMJpegCompressor is now preferred to IrixCLJpegCompressor. Debugging behavior was either removed or made dependent on the DEBUG_FORCE_CL define. This define allows testing of Irix CL software-only JPEG compressor which normally would not be used.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2377 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoFunctional version of IrixCLJpegCompressor. This commit includes modifications used...
Constantin Kaplinsky [Wed, 19 Dec 2007 06:25:06 +0000 (06:25 +0000)]
Functional version of IrixCLJpegCompressor. This commit includes modifications used to test this class without hardware compressors available via Irix CL.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2376 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAdded IrixCLJpegCompressor class which will support JPEG compression via the Irix...
Constantin Kaplinsky [Thu, 13 Dec 2007 19:16:33 +0000 (19:16 +0000)]
Added IrixCLJpegCompressor class which will support JPEG compression via the Irix Compression Library. This version of IrixCLJpegCompressor is just a stub.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2375 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoDo not use JPEG if not requested by the client.
Constantin Kaplinsky [Fri, 7 Dec 2007 10:38:51 +0000 (10:38 +0000)]
Do not use JPEG if not requested by the client.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2374 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoChanging JPEG compression levels did not have immediate effect.
Constantin Kaplinsky [Fri, 7 Dec 2007 10:28:11 +0000 (10:28 +0000)]
Changing JPEG compression levels did not have immediate effect.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2373 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoVarious improvements in the IrixDMJpegCompressor class. Member functions have been...
Constantin Kaplinsky [Fri, 7 Dec 2007 08:23:04 +0000 (08:23 +0000)]
Various improvements in the IrixDMJpegCompressor class. Member functions have been declared virtual. The setQuality() function allows compression levels in the range [1..99] now, and calls IrixDMIC_RawToJpeg::setImageQuality() when necessary.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2372 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAdded throwing rfb::UnsupportedPixelFormatExceptions exception in ScaledDIBSectionBuf...
george82 [Mon, 5 Nov 2007 17:13:10 +0000 (17:13 +0000)]
Added throwing rfb::UnsupportedPixelFormatExceptions exception in ScaledDIBSectionBuffer class.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2368 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoSmall code improvements - added check for scale buffer in ScaledPixelBuffer::setScale...
george82 [Mon, 5 Nov 2007 16:33:09 +0000 (16:33 +0000)]
Small code improvements - added check for scale buffer in ScaledPixelBuffer::setScaleFilter().

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2367 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoRemoved the possibility to choose the scale filter in the options dialog of vncviewer.
george82 [Mon, 5 Nov 2007 14:28:40 +0000 (14:28 +0000)]
Removed the possibility to choose the scale filter in the options dialog of vncviewer.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2366 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAdded the improvements of the ScaledPixelBuffer class - increased scaled image qualit...
george82 [Mon, 5 Nov 2007 11:22:14 +0000 (11:22 +0000)]
Added the improvements of the ScaledPixelBuffer class - increased scaled image quality when scale < 100%.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2365 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoPowerful ScaledPixelBuffer class code improvements - at 10x increased scale performan...
george82 [Sun, 4 Nov 2007 07:35:51 +0000 (07:35 +0000)]
Powerful ScaledPixelBuffer class code improvements - at 10x increased scale performance due to
using the row accumulators. The row accumulators keep result of the convolution of the source image by y axis.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2364 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoAdded implementation of the remote desktop scaling on basis of integer
george82 [Sun, 28 Oct 2007 10:32:01 +0000 (10:32 +0000)]
Added implementation of the remote desktop scaling on basis of integer
computing. It allow to double the scaling performance.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2363 3789f03b-4d11-0410-bbf8-ca57d06f2519

16 years agoFixed the small mistake - set the scale parameter in
george82 [Sun, 28 Oct 2007 08:35:08 +0000 (08:35 +0000)]
Fixed the small mistake - set the scale parameter in
rfb::ScaledPixelBuffer class constructor.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2362 3789f03b-4d11-0410-bbf8-ca57d06f2519

17 years agoUsing JpegEncoder for video only with proper pixel formats.
Constantin Kaplinsky [Wed, 17 Oct 2007 17:40:23 +0000 (17:40 +0000)]
Using JpegEncoder for video only with proper pixel formats.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2361 3789f03b-4d11-0410-bbf8-ca57d06f2519

17 years agoChanges in mapping of JPEG quality levels. Minor code cleanups.
Constantin Kaplinsky [Wed, 10 Oct 2007 10:03:06 +0000 (10:03 +0000)]
Changes in mapping of JPEG quality levels. Minor code cleanups.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2360 3789f03b-4d11-0410-bbf8-ca57d06f2519

17 years agoIn IRIX, if we could not find a matching DMIC converter, list all available converter...
Constantin Kaplinsky [Wed, 10 Oct 2007 06:22:34 +0000 (06:22 +0000)]
In IRIX, if we could not find a matching DMIC converter, list all available converters in the log.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2359 3789f03b-4d11-0410-bbf8-ca57d06f2519

17 years agoAdded support for new UseHardwareJPEG parameter ("Use hardware-accelerated JPEG compr...
Constantin Kaplinsky [Wed, 10 Oct 2007 04:44:54 +0000 (04:44 +0000)]
Added support for new UseHardwareJPEG parameter ("Use hardware-accelerated JPEG compressor for video if available") which is 'true' by default. Also, in IRIX, if IrixDMJpegCompressor fails to initialize, we use StandardJpegCompressor instead. This way, video will be transmitted even if we could not open hardware JPEG compressor.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2358 3789f03b-4d11-0410-bbf8-ca57d06f2519

17 years agoRemoved two obsolete FIXME comments.
Constantin Kaplinsky [Wed, 10 Oct 2007 04:39:45 +0000 (04:39 +0000)]
Removed two obsolete FIXME comments.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2357 3789f03b-4d11-0410-bbf8-ca57d06f2519

17 years agoReplaced printf(...) and fprintf(stderr, ...) with proper logging.
Constantin Kaplinsky [Wed, 10 Oct 2007 02:03:33 +0000 (02:03 +0000)]
Replaced printf(...) and fprintf(stderr, ...) with proper logging.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2356 3789f03b-4d11-0410-bbf8-ca57d06f2519