]>
source.dussan.org Git - tigervnc.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Constantin Kaplinsky [Wed, 10 Oct 2007 01:33:39 +0000 (01:33 +0000)]
Replaced fprintf(stderr, ...) with proper logging.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2355
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 9 Oct 2007 12:48:26 +0000 (12:48 +0000)]
Code cleanups, changes in variable names only.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2354
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 9 Oct 2007 12:03:15 +0000 (12:03 +0000)]
Code improvement -- the code from detectVideo() was split into two functions, handleVideo() and detectVideo().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2353
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 9 Oct 2007 09:31:41 +0000 (09:31 +0000)]
Optimized detectVideo() function. Now it does the most work only when needed, not each time it's called. The video rectangle (m_videoRect) is now a member variable so it's remembered between calls to poll().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2352
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 9 Oct 2007 08:15:25 +0000 (08:15 +0000)]
Removed PollPointer parameter and the corresponding code. Polling the screen around the pointer rather decreased polling performance then improved responsiveness.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2351
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 9 Oct 2007 07:54:50 +0000 (07:54 +0000)]
Removed unused m_changedFlags member variable.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2350
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Tue, 9 Oct 2007 07:46:32 +0000 (07:46 +0000)]
Removed old polling code, as well as PollingType parameter.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2349
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 8 Oct 2007 14:54:18 +0000 (14:54 +0000)]
Combined video detection stuff with new polling code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2348
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 8 Oct 2007 14:16:02 +0000 (14:16 +0000)]
Fixed a problem with low performance in new polling code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2347
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Mon, 8 Oct 2007 13:49:44 +0000 (13:49 +0000)]
Bugfix: we should not assume (sizeof(bool) == 1).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2346
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sun, 7 Oct 2007 13:08:18 +0000 (13:08 +0000)]
A comment extended.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2345
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Sun, 7 Oct 2007 13:03:55 +0000 (13:03 +0000)]
Code refactoring -- moving a code chunk from poll_New() to a separate sendChanges() method.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2344
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 4 Oct 2007 11:43:41 +0000 (11:43 +0000)]
Performing polling via new checkRow() function.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2343
3789f03b -4d11-0410-bbf8-
ca57d06f2519
Constantin Kaplinsky [Thu, 4 Oct 2007 06:02:02 +0000 (06:02 +0000)]
New polling algorithm has been implemented. Video detection is not included in this version though.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2342
3789f03b -4d11-0410-bbf8-
ca57d06f2519