Pierre Ossman
63471c9de0
Move about text constant so the compiler can analyse it
9 years ago
Pierre Ossman
cd5c82a655
Fix unsafe format strings to the logging functions
9 years ago
Pierre Ossman
b0a8047bba
Don't shove a pointer into a 32-bit variable
9 years ago
Pierre Ossman
6e538b4020
Fix bad initialiser lists
9 years ago
Pierre Ossman
4c33d0bd98
Compiler doesn't like us not checking return values here
9 years ago
Pierre Ossman
e67bb2dfbb
Compiler doesn't like referencing unset variables
9 years ago
Pierre Ossman
40e3ceb007
LPARAM and WPARAM have different types on Win32 and Win64
Solve it by casting to the larger of the two, i.e. 64-bit.
9 years ago
Pierre Ossman
e8b987b503
WIN64 should come from the compiler or SDK, not us
9 years ago
Pierre Ossman
25ae7e3578
Handler still needs to return something even with XDamage
9 years ago
Pierre Ossman
8f30811bfe
No need to force modifiable strings here
9 years ago
Pierre Ossman
8a044ee41e
Pointer truncation/expansion needs to be very explicit
9 years ago
Pierre Ossman
f10d2a7cb0
Wrong array index in CPU usage calculation on Windows
9 years ago
Pierre Ossman
7d218b08a3
Windows doesn't have %lld
9 years ago
Pierre Ossman
fc331e62a8
overrun() needs to return the available space
9 years ago
Pierre Ossman
86475a684d
Move things around slightly so the compiler can track cc
9 years ago
Pierre Ossman
ba6fbfe368
Give CharArray a printf style method to ease automatic allocation
9 years ago
Pierre Ossman
9450b9c142
The PAM callback is slightly different on Solaris
9 years ago
Pierre Ossman
7728be27d0
Add extra parentheses to avoid and/or priority ambiguity
9 years ago
Pierre Ossman
b1cd6ca8f0
Reorder class initialiser list to match what actually happens
9 years ago
Pierre Ossman
615a0f58f1
Make Rect::area() signed, just like Rect::width()/height()
Makes it more sane what type to use when interacting with this class.
9 years ago
Pierre Ossman
fb450fba5d
Fix mismatches between format string and arguments
9 years ago
Pierre Ossman
64624342d9
Shorten stats from EncodeManager using SI/IEC prefixes
Also avoids %lld which isn't supported on Windows.
9 years ago
Pierre Ossman
620dd952f2
A switch() needs to handle every value in an enum
9 years ago
Pierre Ossman
28c1d54937
Switch to unsigned parameters for ExtendedDesktopSize handler
The constants used here are unsigned so it makes more sense that
the parameters are as well.
9 years ago
Pierre Ossman
5c23b9ed7d
Fix bad signed/unsigned comparisons
Either by casting, or switching to a more appropriate type
for the variable.
9 years ago
Pierre Ossman
a7bbe9c4a3
Make sure Exceptions do not use unsafe format strings
9 years ago
Pierre Ossman
5b3c5f49b1
Tag the Exception constructor as a printf function
This allows the compiler to analyse the format strings and
arguments for correctness.
9 years ago
Pierre Ossman
eb95532f5c
Remove unused variables
9 years ago
Pierre Ossman
da9a38d4e9
Handle no useful address types from getaddrinfo()
9 years ago
Pierre Ossman
f1a3501750
The compiler cannot figure out if this is assigned properly
The logic is a bit complex so we're going to have to silence the
warning with this explicit assignment.
9 years ago
Pierre Ossman
7ca879fb90
Turn on more warnings to catch potential bugs
9 years ago
Brian P. Hinz
ea4b642874
Decode serverCutText to ISO-8859-1
Java viewer was incorrectly attempting to decode incoming clipboard updates to UTF-8 instead of Latin-1.
9 years ago
Brian Hinz
b33ff746b4
Merge pull request #142 from bphinz/master
Updates to package builds
9 years ago
Brian P. Hinz
9c453f29dd
Build local static libpng on el5
The system libpng is too old for fltk 1.3.3, resulting in undefined reference errors when trying to link vncviewer.
9 years ago
Brian P. Hinz
f56ce5da65
Remove obsolete distro patches
Commit f0fffd4d7f
makes ldnow patch unnecessary.
Commit 0dc36a501e
makes format-security patch unnecessary.
9 years ago
Brian P. Hinz
102dfc5626
Use autotools to build fltk-1.3.3 on el5 instead of cmake
Static libraries are too hard to get linked correctly with cmake.
9 years ago
Brian P. Hinz
b368d02f01
Bump version of fltk to 1.3.3 for el5, el6, & ubuntu packages
9 years ago
Brian Hinz
d66ae4e443
Merge pull request #141 from bphinz/java
Don't violate RFB spec by sending UTF-8
9 years ago
Brian P. Hinz
08f3ab61ca
Don't violate RFB spec by sending UTF-8
Java viewer was violating the RFB specification by sending UTF-8 encoded clipboard text rather than ISO-8859-1.
9 years ago
Pierre Ossman
e36f6e0f3d
Merge branch 'perf' of https://github.com/dcommander/tigervnc
9 years ago
Pierre Ossman
d0565ec994
Merge branches 'format-security' and 'module-ldnow-master' of https://github.com/twaugh/tigervnc
9 years ago
DRC
13cfb51071
encperf, decperf: catch fopen() errors
This prevents unhandled exceptions if the file isn't found.
9 years ago
Tim Waugh
2d02ff32b7
Link libvnc.so with '-z now' to make symbol resolution failures obvious.
9 years ago
Pierre Ossman
c67778faf6
Merge branch 'cmdline-crash' of https://github.com/twaugh/tigervnc
9 years ago
Pierre Ossman
84266a5d65
Merge branch 'xserver117-master' of https://github.com/twaugh/tigervnc
9 years ago
Pierre Ossman
98d144fad3
Merge branch 'perf' of https://github.com/dcommander/tigervnc
9 years ago
DRC
2a172c9cf1
encperf: Optionally disable pixel translation
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.
9 years ago
DRC
e46dda6992
encperf: change % to %% in printf format
GCC lets this slide, but other compilers (clang) complain about using % rather
than %% to print a literal % character.
9 years ago
DRC
562eb71741
encperf: add compression level to encoding list
Explicitly add the compression level to the list of encodings so it's obvious
how to override it.
9 years ago
DRC
4631a76c1b
encperf: allow # of iterations to be specified
9 years ago