summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Shorten stats from EncodeManager using SI/IEC prefixesPierre Ossman2015-03-033-8/+60
| | | | Also avoids %lld which isn't supported on Windows.
* A switch() needs to handle every value in an enumPierre Ossman2015-03-031-0/+4
|
* Switch to unsigned parameters for ExtendedDesktopSize handlerPierre Ossman2015-03-034-7/+7
| | | | | The constants used here are unsigned so it makes more sense that the parameters are as well.
* Fix bad signed/unsigned comparisonsPierre Ossman2015-03-0314-27/+27
| | | | | Either by casting, or switching to a more appropriate type for the variable.
* Make sure Exceptions do not use unsafe format stringsPierre Ossman2015-03-038-53/+31
|
* Tag the Exception constructor as a printf functionPierre Ossman2015-03-031-1/+7
| | | | | This allows the compiler to analyse the format strings and arguments for correctness.
* Remove unused variablesPierre Ossman2015-03-0310-17/+2
|
* Handle no useful address types from getaddrinfo()Pierre Ossman2015-03-031-0/+3
|
* The compiler cannot figure out if this is assigned properlyPierre Ossman2015-03-031-0/+4
| | | | | The logic is a bit complex so we're going to have to silence the warning with this explicit assignment.
* Turn on more warnings to catch potential bugsPierre Ossman2015-03-031-0/+4
|
* Merge pull request #142 from bphinz/masterBrian Hinz2015-03-0114-277/+75
|\ | | | | Updates to package builds
| * Build local static libpng on el5Brian P. Hinz2015-03-011-1/+14
| | | | | | | | The system libpng is too old for fltk 1.3.3, resulting in undefined reference errors when trying to link vncviewer.
| * Remove obsolete distro patchesBrian P. Hinz2015-03-0110-65/+29
| | | | | | | | | | Commit f0fffd4d7f0907e91dfcee02cd7fbe4f4cbe2342 makes ldnow patch unnecessary. Commit 0dc36a501ee5e69ce1a201935a4a4a903d06cbe1 makes format-security patch unnecessary.
| * Use autotools to build fltk-1.3.3 on el5 instead of cmakeBrian P. Hinz2015-03-013-192/+17
| | | | | | | | Static libraries are too hard to get linked correctly with cmake.
| * Bump version of fltk to 1.3.3 for el5, el6, & ubuntu packagesBrian P. Hinz2015-03-014-20/+16
|/
* Merge pull request #141 from bphinz/javaBrian Hinz2015-03-011-6/+5
|\ | | | | Don't violate RFB spec by sending UTF-8
| * Don't violate RFB spec by sending UTF-8Brian P. Hinz2015-03-011-6/+5
|/ | | | Java viewer was violating the RFB specification by sending UTF-8 encoded clipboard text rather than ISO-8859-1.
* Merge branch 'perf' of https://github.com/dcommander/tigervncPierre Ossman2015-02-272-4/+4
|\
| * encperf, decperf: catch fopen() errorsDRC2015-02-262-4/+4
| | | | | | | | This prevents unhandled exceptions if the file isn't found.
* | Merge branches 'format-security' and 'module-ldnow-master' of ↵Pierre Ossman2015-02-279-133/+323
|\ \ | | | | | | | | | https://github.com/twaugh/tigervnc
| * | Link libvnc.so with '-z now' to make symbol resolution failures obvious.Tim Waugh2015-02-261-1/+1
| |/
| * Merge branch 'cmdline-crash' of https://github.com/twaugh/tigervncPierre Ossman2015-02-261-8/+28
| |\
| | * Don't return without value here.Tim Waugh2015-02-251-1/+1
| | | | | | | | | | | | In particular, return 0 as this is a failure.
| | * Abort argument processing on error.Tim Waugh2015-02-181-8/+28
| | | | | | | | | | | | This prevents e.g. 'Xvnc -screen x' crashing.
| * | Merge branch 'xserver117-master' of https://github.com/twaugh/tigervncPierre Ossman2015-02-263-14/+150
| |\ \
| | * | Check for out-of-memory when installing color map.Tim Waugh2015-02-251-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove Xalloc/Xfree definitions, using malloc/free directly instead. Note that vfbAllocateFramebufferMemory() does not need to check for failed allocations as it is the caller's responsibility to do so (and they do).
| | * | Updated to build against xorg-x11-server 1.17.x.Tim Waugh2015-02-253-7/+146
| | | |
| * | | Merge branch 'perf' of https://github.com/dcommander/tigervncPierre Ossman2015-02-261-40/+56
| |\ \ \
| | * | | encperf: Optionally disable pixel translationDRC2015-02-251-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For 16-bit and 8-bit datasets, you can now run encperf with an argument of -translate=0 to benchmark just the encoder without converting the datasets to 24-bit. This allows the output of encperf to be directly compared with that of the TurboVNC Benchmark Tools.
| | * | | encperf: change % to %% in printf formatDRC2015-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | GCC lets this slide, but other compilers (clang) complain about using % rather than %% to print a literal % character.
| | * | | encperf: add compression level to encoding listDRC2015-02-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Explicitly add the compression level to the list of encodings so it's obvious how to override it.
| | * | | encperf: allow # of iterations to be specifiedDRC2015-02-251-6/+6
| | | | |
| | * | | encperf: report encoded & raw-equivalent bytesDRC2015-02-251-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report encoded and raw-equivalent bytes as well as compression ratio (I like to have these statistics so I can compute overall compression ratios for groups of datasets in a spreadsheet.)
| | * | | encperf: Code formatting tweaksDRC2015-02-251-18/+18
| | |/ / | | | | | | | | | | | | | | | | Code formatting tweaks to improve readability & make the code consistent with the rest of TigerVNC
| * | | The legacy OS X keyboard API is only 32-bitPierre Ossman2015-02-251-1/+1
| | | |
| * | | Escape FLTK menu entriesPierre Ossman2015-02-253-20/+77
| | | | | | | | | | | | | | | | | | | | We don't want it automatically creating submenus when least expected.
| * | | Revert "Switch to FLTK's copy() method for menus"Pierre Ossman2015-02-252-69/+30
| |/ / | | | | | | | | | | | | | | | | | | | | | This reverts commit e95412569bd45ec3da43e1b9a244856e0408f6ab and commit 52a18150a7a8f2802000136c35005bc83b5b0855. The copy() method unfortunately has its own problems so it was not a good replacement.
* | | Don't need to log local port when handling -via (#126).Tim Waugh2015-02-251-1/+0
| | |
* | | Avoid warning when compiling with gcc's -Wformat-security option.Tim Waugh2015-02-241-1/+1
|/ /
* | Disable entries instead of shuffling memory aroundPierre Ossman2015-02-201-22/+11
| | | | | | | | Less risk for bugs this way.
* | Update copyright yearsPierre Ossman2015-02-202-2/+2
| |
* | Switch to FLTK's copy() method for menusPierre Ossman2015-02-202-26/+76
|/ | | | It has less surprises in terms of magical characters.
* Create a console window for help output on WindowsPierre Ossman2015-02-171-0/+21
|
* Add shortcuts to context menu for quick accessPierre Ossman2015-02-161-11/+11
|
* Stop mapping Meta to SuperPierre Ossman2015-02-161-2/+0
| | | | | A lot of X11 keyboard layouts send Meta for Shift-Alt so it's not really a good idea to assume this is the Windows key.
* Merge branch 'perf' of https://github.com/CendioOssman/tigervncPierre Ossman2015-02-1324-158/+1193
|\
| * Default compression level should be interpreted as highPierre Ossman2015-02-131-1/+1
| |
| * Be more aggressive in finding solid rectanglesPierre Ossman2015-02-132-74/+96
| | | | | | | | | | The previous FIXME was incorrect. The old code did in fact continue looking over the entire area. This commit restores that old behaviour.
| * Add test to measure high level encoding performancePierre Ossman2015-02-132-0/+442
| |
| * Move encoder statistics into EncodeManager from SMsgWriterPierre Ossman2015-02-134-47/+168
| | | | | | | | It knows more details so it can track things better.