Pierre Ossman
833ddc99ff
Merge branch 'warnings' of https://github.com/CendioOssman/tigervnc
hace 9 años
Pierre Ossman
123d59cd19
Make warnings into errors when doing debug builds
Assume debug builds means it's a developer working on TigerVNC
rather than a user just compiling it. At that point we should not
accept any new warnings in the code.
hace 9 años
Pierre Ossman
3620e19621
Make sure defaultServerName is initialised even on errors
hace 9 años
Pierre Ossman
63471c9de0
Move about text constant so the compiler can analyse it
hace 9 años
Pierre Ossman
cd5c82a655
Fix unsafe format strings to the logging functions
hace 9 años
Pierre Ossman
b0a8047bba
Don't shove a pointer into a 32-bit variable
hace 9 años
Pierre Ossman
6e538b4020
Fix bad initialiser lists
hace 9 años
Pierre Ossman
4c33d0bd98
Compiler doesn't like us not checking return values here
hace 9 años
Pierre Ossman
e67bb2dfbb
Compiler doesn't like referencing unset variables
hace 9 años
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.
hace 9 años
Pierre Ossman
e8b987b503
WIN64 should come from the compiler or SDK, not us
hace 9 años
Pierre Ossman
25ae7e3578
Handler still needs to return something even with XDamage
hace 9 años
Pierre Ossman
8f30811bfe
No need to force modifiable strings here
hace 9 años
Pierre Ossman
8a044ee41e
Pointer truncation/expansion needs to be very explicit
hace 9 años
Pierre Ossman
f10d2a7cb0
Wrong array index in CPU usage calculation on Windows
hace 9 años
Pierre Ossman
7d218b08a3
Windows doesn't have %lld
hace 9 años
Pierre Ossman
fc331e62a8
overrun() needs to return the available space
hace 9 años
Pierre Ossman
86475a684d
Move things around slightly so the compiler can track cc
hace 9 años
Pierre Ossman
ba6fbfe368
Give CharArray a printf style method to ease automatic allocation
hace 9 años
Pierre Ossman
9450b9c142
The PAM callback is slightly different on Solaris
hace 9 años
Pierre Ossman
7728be27d0
Add extra parentheses to avoid and/or priority ambiguity
hace 9 años
Pierre Ossman
b1cd6ca8f0
Reorder class initialiser list to match what actually happens
hace 9 años
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.
hace 9 años
Pierre Ossman
fb450fba5d
Fix mismatches between format string and arguments
hace 9 años
Pierre Ossman
64624342d9
Shorten stats from EncodeManager using SI/IEC prefixes
Also avoids %lld which isn't supported on Windows.
hace 9 años
Pierre Ossman
620dd952f2
A switch() needs to handle every value in an enum
hace 9 años
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.
hace 9 años
Pierre Ossman
5c23b9ed7d
Fix bad signed/unsigned comparisons
Either by casting, or switching to a more appropriate type
for the variable.
hace 9 años
Pierre Ossman
a7bbe9c4a3
Make sure Exceptions do not use unsafe format strings
hace 9 años
Pierre Ossman
5b3c5f49b1
Tag the Exception constructor as a printf function
This allows the compiler to analyse the format strings and
arguments for correctness.
hace 9 años
Pierre Ossman
eb95532f5c
Remove unused variables
hace 9 años
Pierre Ossman
da9a38d4e9
Handle no useful address types from getaddrinfo()
hace 9 años
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.
hace 9 años
Pierre Ossman
7ca879fb90
Turn on more warnings to catch potential bugs
hace 9 años
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.
hace 9 años
Brian Hinz
b33ff746b4
Merge pull request #142 from bphinz/master
Updates to package builds
hace 9 años
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.
hace 9 años
Brian P. Hinz
f56ce5da65
Remove obsolete distro patches
Commit f0fffd4d7f
makes ldnow patch unnecessary.
Commit 0dc36a501e
makes format-security patch unnecessary.
hace 9 años
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.
hace 9 años
Brian P. Hinz
b368d02f01
Bump version of fltk to 1.3.3 for el5, el6, & ubuntu packages
hace 9 años
Brian Hinz
d66ae4e443
Merge pull request #141 from bphinz/java
Don't violate RFB spec by sending UTF-8
hace 9 años
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.
hace 9 años
Pierre Ossman
e36f6e0f3d
Merge branch 'perf' of https://github.com/dcommander/tigervnc
hace 9 años
Pierre Ossman
d0565ec994
Merge branches 'format-security' and 'module-ldnow-master' of https://github.com/twaugh/tigervnc
hace 9 años
DRC
13cfb51071
encperf, decperf: catch fopen() errors
This prevents unhandled exceptions if the file isn't found.
hace 9 años
Tim Waugh
2d02ff32b7
Link libvnc.so with '-z now' to make symbol resolution failures obvious.
hace 9 años
Pierre Ossman
c67778faf6
Merge branch 'cmdline-crash' of https://github.com/twaugh/tigervnc
hace 9 años
Pierre Ossman
84266a5d65
Merge branch 'xserver117-master' of https://github.com/twaugh/tigervnc
hace 9 años
Pierre Ossman
98d144fad3
Merge branch 'perf' of https://github.com/dcommander/tigervnc
hace 9 años
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.
hace 9 años