|
|
|
|
Changelog for freerdp-server-3.0.0~git.20211003T105743.65ff0ad51-1.18.x86_64.rpm :
* Sat Oct 23 2021 hpjAATTurpla.net- Update to version 3.0.0~git.20211003T105743.65ff0ad51: * Add some ADDIN_PATH debug messages * Add cmake function ShowCMakeVars and display configured paths in build * Sat Oct 02 2021 hpjAATTurpla.net- Update to version 3.0.0~git.20211003T003236.342fb6500: * Add cmake function ShowCMakeVars and display configured paths in build- Add _with_fuse option * Sat Oct 02 2021 hpjAATTurpla.net- Update to version 3.0.0~git.20211002T180031.8435aa608: * Add cmake function ShowCMakeVars and display configured paths in build * Force one channel input fallback for audin * Refactor proxy (#7312) * Win proxy fix (#7311) * core: Fix invalid memory access in local peer detection * Channel fixes (#7309) * Tue Sep 21 2021 hpjAATTurpla.net- Update to version 3.0.0~git.20210921T195925.cb0575ccc: * Revert \"Disable prefixing the addin path with FREERDP_INSTALL_PREFIX\" * Some ADDIN_PATH debugging * Debugging: dump some FREERDP|CMAKE cmake variables during build * Disable prefixing the addin path with FREERDP_INSTALL_PREFIX * Fixes from tests (#7308) * Prefer constant division over multiplication for length checks * early bail from update_read_window_state_order when handling WINDOW_ORDER_FIELD_WND_RECTS breaks subsequent protocol parsing * Tue Sep 21 2021 hpjAATTurpla.net- Update to version 3.0.0~git.20210921T195359.a72ac74f1: * Revert channels/client/addin.c changes * Some ADDIN_PATH debugging * Mon Sep 20 2021 hpjAATTurpla.net- Update to version 2.4.0+git.20210920T120028.56f697a9f: * Debugging: dump ^FREERDP|^CMAKE cmake variables during build * Sun Sep 19 2021 hpjAATTurpla.net- Update to version 2.4.0+git.20210919T124038.daf9f6e51: * Floatbar debugging.. * Sat Sep 18 2021 hpjAATTurpla.net- Update to version 2.4.0+git.20210918T105249.f1a25ff15: * Debugging: dump ^FREERDP cmake variables during build- Remove X264 option, no related backend exists incl. Findx264.cmake- Add missing %post{,un} ldconfig for libfreerdp-server-proxy libs- Adjust rpmlintrc filter for libwinpr * Fri Sep 17 2021 Hans-Peter Jansen - Create an explicit freerdp dependency for libwinpr * Fri Sep 17 2021 hpjAATTurpla.net- Update to version 2.4.0+git.20210917T180123.fc9e864eb: * Disable prefixing the addin path with FREERDP_INSTALL_PREFIX * Fixed #7294: Spelling * Added unicode input for xfreerdp * Remove unused codec x264 * Updated debian nightly rules for proxy modules * Fixed compilation warnings. * Fixed clang pragma * Use BIO_read_ex only with OpenSSL >= 1.1.1 * Fixed XRRGetMonitors leak in xfreerdp * Fixed #7280: Missing return * Mon Sep 13 2021 hpjAATTurpla.net- Update to version 2.4.0+git.20210913T110403.c762aacb3: * Fixed XRRGetMonitors leak in xfreerdp * Fixed #7280: Missing return * Mon Sep 13 2021 Hans-Peter Jansen - Add Findx264.cmake to allow proper x264 builds * Sat Sep 11 2021 Hans-Peter Jansen - Merge with freerdp 2.4.0 spec (incl. build conditionals and cmake reorganisation- Build with -DBUILTIN_CHANNELS=OFF- Update major_version- Adjust to modified layout * Sat Sep 11 2021 hpjAATTurpla.net- Update to version 2.4.0+git.20210910T154708.70894c92e: * Added /kbd-scancode-list * Added proxy input state sync (#7282) * Some code cleanups and WINPR_ASSERT (#7281) * Fixed uninitialized warnings * Fixed all reserved-id-macro warnings * Options to specify sfreerdp-server cert and private key * Fixed compilation warnings and duplicate defines * Fixed client context cleanup * Fixed missing NULL set * Fixed rdp_reset error handling * Added dump option for proxy config. * Refactored channel error handling * Cleaned up cliprdr * Cleaned up remdesk * Fixed proxy ulimit graceful client disconnect * Fixed AuthenticateEx issues * Fixed cache issues * Fixed smart sizing * Transport add getter, add checks * Use wStream in pf_client_receive_channel_data_hook * Fixed missing NULL checks in proxy logger macro * Added config dump function, improved resource cleanup * Fixed missing checks for queue functions * Fixed winpr-makecert for large data * Fixed CloseThreadpool calls * Silence GCC reserved-id-macro warnings in compatibility header * Fixed const warnings with argument parser * Fixed compilation warnings * Proxy client cleanups * Expose dynamic channel PDU types * Updated copyright for proxy * Refactored proxy and proxy-modules: * WINPR_ASSERT activation.c * Removed duplicate fields from rpdRpc * Transport opaque * Removed rdpMcs::settings * Removed freerdp_peer::input * nla: Remove incorrect check when using NLA with a NULL identity * Replaced chmod with safer fchmod * Refactored rdpFastpath * Fixed default return for missing SurfaceBits callback * Cleaned CONNECT_STATE transition function * Changed transport IO functions to take rdpContext * Expose CONNECTION_STATE via public API * Fixed TestConnect * Updated settings * Updated sample-server * Fixed rdp_set_io_callbacks * Wrapped rpdRdp:state access in getter/setter * Transport add getter, add checks * Ignore NULL pointer as rdpsnd_server_context_free argument * Update default android build config * Update TestConnect to generate certificates * Implemented #4341: Default to /network:auto * Implemented new AuthenticateEx callbacks. * Fixed #5382: Remove checked in test certificates * Added LoadLibraryX and LoadLibraryExX * Moved global static variables to context (#7264) * Fixed argument const correctness * Raw channel send (#7255) * Fixed compilation warnings on mac * Improved fingerprint hash comparison * Fix #7249: Endless loop in NLA * Use MAXIMUM_WAIT_OBJECTS * Removed alloca use from WaitForMultipleObjectsEx * Fixed RDPSND_CHANNEL_NAME * Fixed warnings in shadow server. * Use defines instad of channel names * Fixed freerdp_peer_free * Cleanups (#7239) * Fixed cast-qual warnings * Fixed DsParse implementations and tests * Implemented TestFileDeleteFile * Removed not implemented module * WINPR_UNUSED argc, argv for unit tests * Fixed shadowing and type errors * Fix linking, if BUILTIN_CHANNELS switched off * Some fixes for audin redirection (#7231) * Fixed check of orderLength for secondary orders (#7233) * winpr/clipboard: Omit last line ending for gnome-copied-files * Fix TestUnicodeConversion on big endian machines (#7219) * winpr/crypto: Load legacy provider to fix rc4 with OpenSSL 3.0 (#7210) * Remove variable shadowing * Fixed warnings in TestLinkedList * Fixed compilation warnings * winpr: avoid calling FIPS_mode() with OpenSSL 3.0 * winpr/include/winpr/file.h: fix build on uclibc * Fixed #7200: /bpp parsing fixed * Fixed windows audio recording issues: * Added listforeach wrapper * Fixed cast warning * Added log message for invalid DrivesToRedirect data * Clarified log message for device redirection * Fixed tls_write_all, abort if blocked * Fixed resource cleanup * WINPR_ASSERT for drive redirection * Fixed WITH_WINPR_VERBOSE_ASSERT compile flag * Allow variable arguments to setChannelError * Fixed wrong error message * Fixed setting of primary monitor * Fixed FFMPEG detection without pkgconfig * Fixed missing input checks for file contents request * fixup! Improvement: Add a way to get timezone from environment. Firstly get timezone from environment. If not present, use file method * Improvement: Add a way to get timezone from environment. Firstly get timezone from environment. If not present, use file method * Fix that when the window is minimized, click the dock to restore the window, it cannot be restored normally * rdg: Fix mem leak and oob write in rdg websocket close reply (#7173) * Fixed #7164: android clipboard string termination * Switched usage to AndroidX libraries. * Fixed #7158: detection of arm neon. * Monitor coordinates are exclusive (#7145) * smartcard: Fix length of output buffer in device control response * rdpdr: Fix length calculation for client name response * rdpsnd: Fix double frees in rdpsnd context cleanup * Fixed #7152: Android OnVerifyCertificateEx call (#7160) * test: Add unit test for CommandLineParseCommaSeparatedValuesEx * winpr: Fix parsing of comma separated values if list is an empty string * Fixed WINPR_ASSERT statement (#7148) * Fixed FUSE api detection * Updated RPM spec * Fixed surface width * Added better logging and assertions for gfx * Added option to allow planar topdown encoding. * Added bounds checks to ExtractRunLength * Fixed surface buffer alignment * Use variable surfaceId * Fixed missing assertions and default color depth * Revert dh_missing --fail-missing * Fixed CMake options, define in library that use them. (#7141) * Used settings getter/setter for NSCodec * Added GFX planar and rfx encoder to shadow * Fixed disabling of AVC444 mode if requested * WINPR_ASSERT shadow client * Added RDPGFX_CODECID_UNCOMPRESSED path to shadow * Disable CCACHE for nightly builds * Disable user package registry, breaks cowbuilder * Fixed xkbcommon dependency for debian builds * Fixed dpkg-buildpackage warnings * Fixed buildpackage warnings * Remove obsolete HAVE_SYS_STRTIO_H * Updated nightly dependencies * Properly reset gfx->codecs after free. * Added extended shadow support for mouse and unicode * Progressive compress cleanup * Added PROGRESSIVE codec to shadow * Fixed CMake include order * Fixed RdTk include directories * Fixed include paths for uwac * Fixed include paths for WinPR * Fixed HAVE_PTHREAD_MUTEX_TIMEDLOCK * Fixed definition of config.h symbols * Added SuspendInput setting * Added missing GFX sanity check * Add exit codes for logon failure and account locked out * fix setValue for HashTable * Fixed CMake Targets file for server lib * Fixed installation of FreeRDP-ClientTargets.cmake (#7117) * Fixed installation of FreeRDP-ClientTargets.cmake (#7115) * Fix data write on usb channel * winpr: Fix typo in NTLM_AV_ID member. * No deprecated (#7107) * Added winpr assert config option for standalone build * Fixed standalone issues with cmake * Replaced CMAKE_[SOURCE|BINARY]_DIR with PROJECT_[SOURCE|BINARY]_DIR * Fixed rdtk, uwac and winpr standalone builds * Upgrade CMake requirement to 3.4 * Fixed missing include in cmake/FindFeature.cmake * Fixed rdtk_surface_fill * Added missing log mapping for TRANSFER_OUT_REQUEST * Fixed use of deprecated function * Fixed invalid return value conversion * Fixed win printer * Re-added \"extern\" to ntlm_export.h symbols * Fixed warnings with missing prototypes * Fixed rdpdr related warnings * Fixed smartcard related warnings * Added stdbool.h compat header * rdtk: Fixed warnings, added assertions * uwac: Fixed warnings, added assertions * server: Fixed warnings, added assertions * client: Fixed warnings * channels: Fixed warnings, added assertions * libfreerdp: Fixed warnings, added assertions * WinPR: Fixed warnings, added assertions * Fixed ntlm_export.h includes * Fixed integer warnings * Fixed codql warning * Fixed warnings * Fixed integer warnings, fixed data types * Fixed warnings * Added WINPR_NORETURN, fixed warnings * Fixed logging macro warnings * Fixed lots of compilation warnings and type mismatches * Removed stub for x264, not implemented * Fixed lots of compilation warnings and type mismatches * Fixed compilation warnings and typos * Fixed va_arg uninitialized warnings * Improve WINPR_ASSERT, log backtrace * Fixed compilation warnings * Fixed compilation warnings * Fixed compilation warnings * Fixed compilation warnings * Added WINPR_ASSERT to Stream and StreamPool * Fixed warnings in sample server * Added callback deprecation attribute * Fixed missing return value checks * Removed checks already done by WINPR_ASSERT * Added WINPR_ASSERT to collections * Return function != NULL in HashTable_SetHashFunction * Added missing return checks * Cleaned up Queue API, use WINPR_ASSERT * Fixed HashTable and ArrayList use errors * Added WINPR_ASSERT in HashTable * Added WINPR_ASSERT in ArrayList * Fixed return value checks for ArrayList_Append and HashTable_Insert * Fixed xfreerdp check against wrong variable * Renamed planar ALIGN macro to avoid name collission on osx * Hide HashTable_SetupForStringData implementation * Readded ArrayList_Add and HashTable_Add as deprecated * Added parameter checks * Removed const from HashTable_ForEach function * Renamed macros to avoid windows issues * Renamed ArrayList_Add to ArrayList_Append * Refactored ArrayList_Add to conform to other functions * Renamed HashTable_Add to HashTable_Insert * Modified HashTable API to be opaque * Added option do disable WINPR_ASSERT * Replaced assert with WINPR_ASSERT * Added WINPR_ASSERT * Increased time in TestSynchMultipleThreads * Refactored NLA * Removed GSS_API error code hacks * Fixed codeQL warnings * Improved runtime of unit tests * Added adjustable tcp connect timeout * Updated chat addresses. * Removed unnecessary allocation * Fixed missing include for legacy os * Moved static wf_event.c variables to client context * Added dynamic resolution patch * Fixed issues with planar codec buffer alignment * client: Fix writing of untouched rdp settings to rdp files * Fixed RDPEI orientation value passing (#7069) * Increased TestSuccess startup delay * Increased TestSynchCritical timeout * Fixed initial alpha values for codec buffers * Fixed memory leak in TestPrint * Fixed WLog_Uninit loop counter * Windows ARM64 build fixes * fix Android ARM64 NEON enabling * codec/h264: Remove unused IMFDXGIDeviceManager and GUIDs declarations. * Use same data types as calling function prototypes. * Read from QuadPart from LARGE_INTEGER variables. * Fixed random sleep time for test_synch_barrier_thread * Make TestSynchBarrier verbose * Stop rdpei thread before cleaning up listener * Replace fopen and path functions with wrappers (#7043) * iOS build system fixes * fix broken channel include path * Fix OpenSSL link library order on Android * Add WLog locks to prevent logger initialization race conditions * Gracefully handle edge case where clipboard format name is NULL * Avoid seeking when reading Android timezone identifier \'file\' * Android build system fixes (OpenSLES, CMAKE_PREFIX_PATH, debug symbols) * Disable poll usage on macOS/iOS because it is unreliable * WinPR: don\'t warn about thread-local storage on iOS, add comment banning its use for new code * Add more information to urbdrc log entries * Fixed #7045: allow NULL isser and subjects in certificates * Fixed const correctness warning * Improve pthread_mutex_timedlock detection, fix Android function definition * run clang-format * Fix Windows Unicode file path handling issues (+add winpr_fopen wrapper) * Fix possible WSAEventSelect() file descriptor leak * codec/progressive: Allow the usage of multithreading for decoding * codec/progressive: Fix a memory leak * Fix build for upcoming LibreSSL version * Check MINGW32 for duplicate type declaration. * client: Remove UTF-8 BOM character in RC file. * CMake: Install DLLs in bin folder. * Increased thread test run time to fix failing mac tests * Added rdg_read_http_unicode_string error messages * Updated RDPEI channel API * RDPUDP dissector: cookie hash is present in SYN packet instead of SYN/ACK * Fixed async-input quit * Added FREERDP/WINPR prefix to define GIT_REVISION * Fixed compiler warnings, function arguments and const parameter * Refactored settings string setter (#7014) * tools: add a wireshark plugin to decode RDP-UDP * winpr: add a HashTable_Foreach function and associated tests * Fix FIPS mode support and build with OpenSSL 3.0 * Fri May 14 2021 hpjAATTurpla.net- Update to version 2.3.2+git.20210512T091955.4753c6403: * X11: don\'t instanciate a clipboard implementation when clipboard is disabled * Fixed AAC encoding for microphone * Fixed compilation warnings. * Fixed use fo crypto_rsa_public_encrypt in license module * Cleaned up crypto API * Refactored certificate API: * Removed unit tests for legacy known_hosts file * Removed support for obsolete known_hosts file. * Added new RDP file options * Fixed #6989: Use X509_STORE_set_default_paths * Added version check for deprecated ffmpeg symbols * Fix uninitialized variable warnings. * Fix intialization, remove some unused variables. * Check _MSC_VER for MSVC specific pragma directives. * CMake: Set ffmpeg and zlib optional in Win32. * Fix various memory leaks reported by Coverity * codec/rfx: Silence BAD_FREE reported by Coverity * winpr/utils/lodepng: Fix USE_AFTER_FREE reported by Coverity * Simplified sync test * Removed duplicated escape * Added version to client log, removed build_date * winpr: fix error path in winpr_event_init (#6974) * winpr: fix #6970 * event: Fix reset of non eventfd winpr event * Unified bin to hex and hex to bin conversion * Refactored shadow argument parsing * Fix NTLM auth message return code. * Fixed duplicate call to NtCurrentTeb * Cleaned up SAM file parser. * Fixed log filter initialization from env * Fixed #6938: Remote app mode clipboard fix * client/x11: fix parent window size restrictions * ADDIN_ARGV cleanup, added camera setting to RDP parser (#6947) * Create SECURITY.md * core: Clear message queue to reset its closed state * Wayland client: Disable shortcut inhibition on rctrl press * winpr: correctly implement APC * winpr: cleanup polling code * Added error logging. * Reenabled multithreadded decoding * Fixed artifacts with yuv420/yuv444 decoding * Improved RAIL order debug messages * Force close clipboard file descriptor if request size is 0 * Force close clipboard files * Force fd close on error * Cleaned up clipboard file fd handling * fixed tests * reverted olf signature for rfx_context_new * Revert \"Revert \"allow to use in single threaded mode\" (#6864)\" * Fixed return length check for SCardGetAttrib * Refactored YCoCg converstion * Fixed destination buffer offset in planar_decompress * Added freerdp_planar_switch_bgr to test * Ensure canvas background is black before drawing * Updated OpenSSL and android dependencies * Fri Mar 12 2021 hpjAATTurpla.net- Update to version 2.3.1+git.20210312T111737.bb6c1ed8a: * Fixed #6882: Use default output device on mac (#6893) * Added missing bounds check. * Added fuzzying test for planar decoder * Added bounds check in rdpgfx_recv_wire_to_surface_1_pdu * Added bounds checks to gfx commands * Fixed mac issues with smartcard context cleanup (#6890) * Removed nautilus clipboard file hack * Refactored X11 clipboard * Filter RDPDR types other than drives on windows hotplug * Use specific names for drive hotplug special values * Check smartcard_convert_string_list for NULL string * Added option to disable gateway websocket support * Fix xf_Pointer_SetPosition with smart-sizing * fix formating with clang-format * Add support for OpenBSD sndio * Win fixes multiple warnings + YUV decoder crash (#6873) * Update strings.xml * Update strings.xml * Add files via upload * Add files via upload * use tlsOut BIO when using websocket in rdg_bio_ctrl * Fix yuv444_combine_work_callback check_rect argument * Revert \"allow to use in single threaded mode\" (#6864) * Parse on a copy of the argument string for printer (#6860) * Fixed yuv multithread decode * Fixed smartcard_convert_string_list with 0 length * Proper pointer event handling for wayland * Increased UWAC version * Added pointer source events * Added pointer frame events * Added API check to allow compilation/run with mac os < 10.14 * Fixed format string in smartcard_trace_state_return * Refactored encoder functions to return changed areas * Refactored H264 encoding/decoding * Added getter/setter for settings * Reformatted changes * Removed unnecessary code and improved code quality * Fixed primitiveYUV unit test. * Ignore alpha channel during color conversion. * Fixed #6014: XFCE minimized state * Fixed memory leak in backtrace function * reverted changes from clang-format * allow to use in single threaded mode (some client side channels and all server side channels still need to be ported to new api) * Fix /monitor-list flag being ignored on X11/Wayland * X11 client: ignore grab related LeaveNotify events * [windows client] [cliprdr] Translate clientside format IDs to serverside format IDs in cl->sv data request * Fixed CodeQL warnings * Fixed smartcard crash on error return (invalid length) * Fixed #6821: _stricmp does not like NULL strings * Added const to function arguments * Only update destination rect for SurfaceToSurface and SurfaceToCache * Fixed various warnings * Fix some incorrect keyboard mappings on Mac * Allow parallel listen to IPv4 and v6 addresses (#6816) * server: ignore unknown channelId received from client. * Fixed #6712: Use window size from settings * Minor typo fix * Updated windows time zones 2021-02-11 * Sat Feb 13 2021 hpjAATTurpla.net- Update to version 2.2.0+git.20210212T120058.6a908d811: * Fixed formatting and source/destination length use * libfreerdp: core: deep copy ServerCertificate * freerdp-client: don\'t enable vmconnect mode based on PCB field presence in .RDP file * Thu Feb 11 2021 hpjAATTurpla.net- Update to version 2.2.0+git.20210211T122150.6b686eb83: * Added ConnectionStateChangeEvent for clients * clients: Use the correct wheel rotation value * Fixed #6801: Delay sending of resolution change * Use separate codec contexts for legacy and GFX * Always return data on SCardGetStatusChange * Fixed issue with GetAttr where the result buffer was not allocated * Fixed GetAttrib return length * Fixed smartcard_unpack_reader_state, allow empty names * Fixed SCardTransmit return * Fixed SCardState wrapper * Unified smartcard call data structs * Unified smartcard handle converstion * Fixed various return values in case of result != SCARD_S_SUCCESS * Fixed GetAttrib call * refactored smartcard allocations * Fixed SCard debug WCHAR string lengths * Fixed double free in PCSC_SCardGetAttrib_FriendlyName * rdg websocket support * Fixed a ConvertToUnicode issue and added a unit test * Fixed invalid argument type for license function * Fri Feb 05 2021 hpjAATTurpla.net- Update to version 2.2.0+git.20210205T101808.784f445aa: * Use wide char file paths for license * Fixed #6760: Use wide char file operations on windows. * Added wayland discrete axis events for mouse wheel * libuwac: Fix code format * Sync numlock, capslock state in Wayland * libuwac: Add UwacKeyboardModifiersEvent * Fixed default return for DrawOrderInfo * Fix length return for SCARD_ATTR_VENDOR_NAME * Fixed PCSC_SCardGetAttrib wrapper * Dereference ppbAttr as argument for SCardGetAttrib * Filter out duplicate ClientFormatList announcements * Fixed sending of clipboard format request response * Added option to remap scancodes * Thu Feb 04 2021 hpjAATTurpla.net- Update to version 2.2.0+git.20210204T152357.e2620f0fa: * core: Enable network auto detection by default * core: Remove connection type manipulation in gcc_write_client_core_data * progressive: fix multiple regions in one gfx frame. * Dont\' commit surface in configure handler * Process close event * libfreerdp: core: add checks in gcc_write_client_data_blocks * Sat Jan 30 2021 hpjAATTurpla.net- Update to version 2.2.0+git.20210127T145807.83658d212: * gateway: Fix consent/service message in legacy gateway code * Fixed drive hotplug path comparison. * Added OrderInfo callback for primary, seconardy and altsec orders * Fix key repeat in Wayland * Fixed SCardGetAttrib pbAttr=NULL argument * Mon Jan 25 2021 hpjAATTurpla.net- Update to version 2.2.0+git.20210125T110458.408c86509: * transport: Don\'t ask for credentials if empty password is specified * Fixed support for huge files in clipboard * Fr6731 (#6734) * Fixed missing check for fastpath input messages * Force enable wayland in ci and nightly * transport: Also ask for password when connecting using TLS * [MAC] Keep original return value for client termination * channels/smartcard: Fix race in channel cleanup * client: Fix exit codes for /help and similar option (#6741) * Added missing CoreFoundation library to dependencies * Fixed #6696: Implement HandshakeEx in windows client * Return ENOENT if fuse_ino_t is not found * Added missing errno.h include * Added add_definitions(-D_FILE_OFFSET_BITS=64) * x11: refactor fuse code * x11: handle special chars in generating file uri * x11: update cmake file to build with fuse2/fuse3 or without fuse * x11: more error handling for remote to local file copy * x11: implement all related code to file content request for size and FD_WRITESTIME flag in response , fix include dir for fuse * x11: correct uri-list and other formats * x11: add support for remote to local clipboard file copy * Added settings dump function * locale: Fix keyboard detection on MacOS * Fixed const correctness of RECTANGLE_16 variable * Fixed pcap capture function const correctness * Fix ColorFidelity use * Check drive to hotplug for already being redirected * Fix color fidelity issues with windows 7 * Fixed problematic cast of integer mask to bool * primitives: Respect alpha values in YUV444 SSE pixel routine * Properly discard xfc->appWindow on focus loss * Fixed #6635: Use correct window handle for pointer operations * core: Remove error code from string returned by rpc_error_to_string * winpr/clipboard: Also save lastWriteTime for FILEDESCRIPTORW * ptbr translation * x11: use correct contact flag names in xf_input_touch_state_string * Fix parsing of current keyboard locale * Added support for `file://` urls for rdp files * Add option BUILD_FUZZERS and config to build fuzzing tests * rdg: Read and set error code when ending an RD Gateway session * Removed size change check from DesktopResize * Respect invalidRegion in progressive_compress * Fixed progressive decoding without subbanddiff * Fixed call to GetKeyboardLayout * Cleaned up rfx API * Fixed keyboard layout detection for windows * Fixed #6656: invalid read of proxy port. * typo fix * Fixed #6646 * Update README.android * Fixed linking dependencies for client geometry channel * Check for backtrace symbol and link to execinfo if needed * Fixed #6632 * ci [codeql]: run apt update before install * Moved clipboard hasHugeFileSupport to end of struct * reset codecs in gdi_pipeline_init * Renamed RDPEI flags due to problems with windows headers * remove unwanted log level set to debug in rfx * Fri Nov 27 2020 hpjAATTurpla.net- Update to version 2.2.0+git.20201127T091115.2b676bf1e: * Create codeql-analysis.yml * Allow autoreconnect for ERRINFO_GRAPHICS_SUBSYSTEM_FAILED * Fixed sound buffering issues with compressed formats * Added CMake warning messages for expensive debug options * libfreerdp: core: rdp.c: fix array size check * Cleaned up reading of orders * Cleaned up rdpei channel, updated to current spec. * Disable building OpenH264 in Andriod CI builds * Fix Android release target API level * Fix Android build paths * Fix #6565: streamline android build configuration * Sat Nov 21 2020 hpjAATTurpla.net- Update to version 2.2.0+git.20201120T153719.a5fce9e64: * channels/audin: Request correct media type in audin channel on Mac * Add support for -grab-mouse, to prevent the client from moving the user\'s pointer * Implemented 2.2.1.17.1 Persistent Key List PDU Data, added checks * Fixed rdp_capability_set_start checks * Check stream capacity in rdp_capability_set_finish * Fixed missing stream length checks. * Added data_pdu_type_to_string * Command-line option to choose an X selection. * winpr/utils: allow COMMAND_LINE_VALUE_{OPTIONAL,BOOL} to coexist. * xf_cliprdr: fill in support for TIMESTAMP requests. * Added missing include. * fix [packaging/rpm]: build for fedora >= 33 * Removed invalid check * Fixed printf format * Fixed display channel anounce race * channel/rdpdr: Fix hotplug for drive redirection on Windows * client/common: Always set gatewayprofileusagemethod to 1 * Fri Nov 13 2020 hpjAATTurpla.net- Update to version 2.2.0+git.20201112T181312.60317154a: * client/common: Several fixes for the rdp file parser * Conservative keyboard state sync, refactored input API * Added stack trace on signal. * Fixed possible out of bound access in usb channel. * Fixed compilation warnings. * Fixed #6560: Missing return value. * Bugfix: when `freerdp_assistance_parse_file_buffer` was called from external code, it did not copy the access password to the `rdpAssistanceFile` struct. (#6550) * Clean up drdynvc channels porperly locked. * Fixed reset of MessageQueue in Clear * Cleaned up collections: * Reset Queue_Event when Queue_Clear is called. * core: Fix race when deleting channel manager * Fixed locking issue, removed broken functions * Unify StreamPool locking. * Cleanup internal channel management * Fix for mac mousewheel. * Do not abort disc hotplug if no access to mount tab. * Added support for xwayland keyboard grab * Fixed NtStatus2Tag return. * Fixed mac app termination and warnings * Added permission checks for mac audio backend. * Fixed leak on cursor update. * Fixed primitives test * Fixed _aligned_recalloc * Fixed unit tests run under memory sanitizer * Sun Oct 25 2020 hpjAATTurpla.net- Update to version 2.2.0+git.20201021T194827.55b95769d: * Fixed #6518 * Tue Oct 20 2020 hpjAATTurpla.net- Update to version 2.2.0+git.20201016T082725.e18597f5e: * Fix warning #6515 * Fixed remarks. * Refactored reading of optional order bytes * Fixed parsing of FastGlyph order. * Disable ios client until maintained. * Increased minimum ios deployment target. * Corrected name for FD_WRITESTIME * Added backward compatibility define * Updated FD_FLAGS definition. * include: rdpgfx: add extern C for public API * server: add WTSVirtualChannelManagerCheckFileDescriptorEx API * Sat Oct 10 2020 hpjAATTurpla.net- Update to version 2.2.0+git.20201006T171938.63ef97a2b: * core/nla: fix order of operations * Corrected clipboard capability mask * Sat Oct 03 2020 hpjAATTurpla.net- Update to version 2.2.0+git.20201002T095803.b62da2cbc: * channels/disp/client/disp_main.c: fix possible null pointer dereference found by cppcheck * Added clipboard CB_HUGE_FILE_SUPPORT_ENABLED flag * Fix #6461: Generate config.h after all subdirectories are parsed. * Fixed definition of FILEDESCRIPTORW * Fixed variable declaration in loop * server: proxy: add more info on proxy logs * core: server: add API to get peer accepted channel names * Fixed NULL checks (#6474) * Fixed naming of FILEDESCRIPTORW * server: proxy: implement external routing * Removed obsolete connectErrorCode * Fix variable declaration in loop * X11: Scale cursor when SmartSizing is on * let freerdp_image_scale() determine step size * Fixes #5747: Only activate sound output device (#6467) * Fri Sep 04 2020 hpjAATTurpla.net- Update to version 2.2.0+git.20200902T133704.cf2daeb01: * cleanup of https://github.com/FreeRDP/FreeRDP/pull/6448 (#6455) * Use settings string setter to overwrite computername * Ignore NULL streams in StreamPool_Return * Fixed #6442: Use cmake to provide source directory for test pem * Fixed short length for usb io control return. * Manually free up libusb transfer data to avoid double free * Fixed double free on channel close in channel write. * Fixed missing async user data extraction from libusb transfer * Improve NLA auth token debugging * Refactored rdg_read_http_unicode_string warning fixes * Refactored socket warning fixes to be more readable. * Added duplicate initialization check for plugins. * Added log message for not implemented WinPR SSPI_WINPR functions. * Added log message for not implemented WinPR SSPI functions. * Added log message for not implemented WinPR SSPI GSS functions. * Added log message for not implemented Schannel functions. * Added log message for not implemented CREDSSP functions. * Added log message for not implemented NEGOTIATE functions. * Added log message for not implemented NTLM functions. * Improve NLA error code logging. * Fixed urbdrc server notification of channel close * Removed channel close in USB channel done after channel is freed * Fixed access to user_data after free * Fixed invalid buffer length and duplicated write function. * Fixed urbdrc arraylist locking * Unified streamID read/write * Replace wHashTable with wArrayList in USB channel * Added return checks for HashTable_Add * Fixed warnings. * Fixed missing input length check for color pointer. * Fixed compilation warnings. * Fixed #6418: Warning due to invalid const qualifier * Use freerdp_settings_[s|g]et * api to access proxy vaiables. * Add GatewayMessageType to public API * Implement gateway message callback for Windows, Wayland and X11 clients * gateway: Add processing of consent and service messages with HTTP gateway * Updated flatpak manifest, fixes #6383 * Fix #6399: Call ConvertFromUnicode with length -1. * remove wrong initialization value * Mon Jul 27 2020 hpjAATTurpla.net- Update to version 2.2.0+git.20200727T113624.616af2d5b: * fixed build on freebsd (#6395) * cliprdr_common.c: fix memory leak in certain error condition * Fixed error msg typo in ciprdr_main.c * Add support for getmntent support on Illumos * Set BIO data NULL on cleanup * fix: code formatting * new: update ChangeLog for 2.2.0 * Fixed missing input sanitation for GFX surfaces. * Fixed input sanitation in rdpgfx_recv_solid_fill_pdu * new [orders]: BMF_24BPP support and some comments * core: fix invalid inttype and reference * Fix seeking in Cache Brush and other Secondary Drawing Orders * server: proxy: add extern C for c++ plugins * server: proxy: rail: Fix rail handshake flags sync issue at reconnect * rail: server: add API to set railHandshakeExflags * Fixed urbdrc device path * Fixed bDeviceClass check in udev_init * Replaced malloc in urbdrc channel * Fixed discrepancy in string descriptor default * Replaced memset in urbdrc * Unified logging for urbdrc libusb wrapper * Initialize variable in func_instance_id_generate * Improved error log for string descriptor read issues * Reverted check for short usb descriptor * Added compile time urbdrc debug option * Dump USB channel data with log-level trace * server: proxy: proxy rdp heartbeats * libfreerdp: core: add ServerHeartbeat callback * Moved pthread non portable function checks before ASAN * Refined asan checks * rail: server: rename rail_send_pdu -> rail_server_send_pdu * Fixed #6335: windows client title length * server: proxy: fix race issue * rail_common.c: Fix rail_get_order_type_string * rail: server: mark rail_send_pdu as static function * Removed unnecessary checks for asan * Fixed uninitialized value * Use CMake to detect availability of getlogin_r * Filter GSM codec for microphone redirection * Updated debian nightly and dependencies * Added hint for errors due to missing offscreen-cache * Wed Jul 01 2020 hpjAATTurpla.net- Update to version 2.0.0+git.20200629T081213.f25fbaee9: * nsc: Fix memory leak * Rename create_release_taball.sh to create_release_tarball.sh * Fixed spelling, print errors to stderr * Fixed bug with creating release source_version * Fixed #6298: Mask CACHED_BRUSH when checking brush style * Fixed creating release zip from folder * server: proxy: rename SessionCapture.Enabled -> GFXSettings.DecodeGFX * server: proxy: do not start client if post connect hook failed * server: proxy: capture: send sid in SessionInfo * server: proxy: remove unused struct members * Added changelog for 2.1.2 * Fixed possible integer overflow in crypto_rsa_common * Fixed fallback to getlogin for android * Removed duplicate semicolon * Fixed OOB read in ntlm_av_pair_get * Fixed broken const variable. * Reset freed HGDI_DC * Fixed out of bound read in RLEDECOMPRESS * Fixed OOB read in update_recv_secondary_order * Fixed TrioParse and trio_length limts. * Fixed OOB read in update_read_cache_bitmap_v3_order * Fixed invalid access in update_recv_primary_order * Use localtime_s on windows * Replaced gmtime with gmtime_r * Fixed codition with side effects * Fixed pcap cleanup * Fixed double free * Replaced getlogin with getlogin_r * Replaced localtime with localtime_r * Fixed memory leaks in ntlm * Fixed Out-of-bound read in glyph_cache_put * Fixed OOB Read in license_read_new_or_upgrade_license_packet * Respect SECBUFFER_READONLY flag in NTLM EncryptMessage * Added missing SECBUFFER_READONLY flag in rpc_client_write_call * TSG improvements * Fixed missing lock during buffer submit. * Revert \"winpr/library: Use RTLD_GLOBAL for dlopen\" * fix [client channels]: move exported API calls to client/common * Fixed double free for uwac buffers * Fixed compilation issue with shadow pam code * Fixed surface locking for shadow server. * Lock wayland buffer updates * Fix usage of DsMakeSpn with IP address hostnames * MessageQueue write time to current message not the next * Fixed #6267: adjust write_pixel_16 endian handling * uwac: don\'t try to use O_TMPFILE on FreeBSD * server: proxy: cap plugin: fix var and func declaration * server: proxy: implement session capture plugin * winpr: image: add API to construct bmp header * server: proxy: remove old session capture code * fix +unmap-buttons option having the opposite effect * Fixed formatting. * smartcard: Teoretical fix of uninitialized values * smartcard: Fix usage of uninitialized values * wlfreerdp: Fix array overrun * gdi: Fix missing unlock * drdynvc: client: fix #6252 use-after-free * Fixed sign compare warnings with constants. * Fixed double free in urb_isoch_transfer_cb * Do not remove transfer data on usb cancel transfer * Fixed #6245: Added additional tests to assistance parser * Lock remaining occurances of security_encrypt/security_decrypt variables * Lock security_decrypt to avoid simultaneous counter manipulation * Fix memory leaks in client/encomsp_main.c and client/remdesk_main.c * [generate_argument_docbook] Fix typo in XML entity. * report only actual bytes received, not allocated buffer size (interrupt produces data, timeout doesn\'t) * only call \'libusb_set_interface_alt_setting\' when value is changed * Added scancodes for launch keys * winpr/library: Use RTLD_GLOBAL for dlopen * Improve X11 shadow authentication reason failure log * Added release zip creation to script. * new: add release script * Fixed #6221: Update floatbar position with multitouch input * Fixed memory leak in rdpei * Updated changelog for 2.1.1 * Reformatted to satisfy clang-format * Reset pointer to NULL after free. * Fixed some more resource cleanup leaks in nla * Clear dynamic channel lists on disconnect. * Renamed variable to avoid MSVC define collission * Ensure buffers are NULL before reuse in NLA * Removed unused variable warnings * Fixed invalid argument to strtok_s * Fixed GHSL-2020-101 missing NULL check * Fixed GHSL-2020-102 heap overflow * Fixed multiple sanitizer errors in codecs * Fixed issues with clang sanitizers and alignemt offsets. * Fixed history buffer reset. * Fixed extended info packet alignment. * Fixed rdp_read_info_packet unaligned access and size checks * Fixed memory leak in test * Fixed unaligned access * Fixed rails debug string warnings. * utf8 behaviour fixes * Rewritten rdp_recv_logon_info_v2 to remove unaligned access * Rewritten check to satisfy BehaviouralSanitizer * Fixed BehaviourSanitizer warning in rdp parser * Fixed memory leak in NTLM test * Fixed undefined behaviour * Fixed undefined behaviour in primitives shift * Fixed undefined behaviour in ncrush * Fixed undefined behaviour in rfx decoder * Fixed UndefinedBehaviour in planar left shift * Fixed BehaviourSanitizer warnings in streams. * Fixed memory leak in ini parser and test functions. * Refactored settings clone/free, extended tests * Fixed BehaviorSanitizer warnings. * Fixed BehaviorSanitizer warnings * Always require aligned memory for interleaved codec. * Fixed BehaviorSanitizer warnings * Fixed BehaviorSantizer warnings. * Fixed GHSL-2020-100: oob read in ntlm_read_ChallengeMessage * Fixed #6197: NULL check in urbdrc * Fixed #6195: Wrong length read/write in rdpei * Fixed #6200: Arraysize check * Fixed #6199: Reading version information in tsg * Fixed #6202: Missing NULL checks * Fixed #6201: event handler count check * Abort on first possible certificate validation error * Read newline from stdio on certificate accept * server: proxy: print server host ip on new conn (for clustering info) * codec: fix typo in progressive codec log * server: proxy: prepare for exporting gfx capture to a module * server: proxy: vc hook: check if proxy client is not null * server: proxy: config: fix comma separated list parsing * server: proxy: refactor * Fixed NULL access of context struct on screen draw * Extend lifetime of streampool in drdynvc * Fixed sample client resource cleanup * Refactored sam functions to utilize strtok_s * Replaced strtok with strtok_s * change use of strtok to strtok_s * improve RFX DWT algorithm * fix typo in GFX logs * Windows Authentication - Then launced with username argument prefill the name in the authentication box. * Fixed drdynvc_send stream release * Refactored StreamPool * Fixed DestroyListener arguments and call order * Fixed #6148: multiple ceritificate purposes * Fixed #6156: Enforce synchronized encrypt count * Added warning to all collection structs * Fixed #6136: Cleaned up Stack API * server: proxy: use peer load balance info when host is fetched from config * Fixed #6162: Clipboard temporary path length limit * Destroy channel listeners on terminate * drdynvc channel cleanup. * Ensure all NLA structs are freed up * Fixed #6157: Reset cups instance on disconnect. * Fixed #6163: Force linking to objective C runtime * server: proxy: Register signal handler after modules finished loading. * server: proxy: print version and buildconfig on startup * Fixed typos (Otherweise) * Changed smartcard no reader log message level to info * Fixed wrong error return from drdynvc_write_data * Increased android client build number to 100 * Silence valgrind in rdp_read_header * Silence valgrind in unicode conversion functions * Increased uwac library version. * Changelog for 2.1.0 * Fixed various input buffer length checks in URBDRC * Fixed int overflow in smartcard_ndr_read * Fixed int overflow in msusb_mspipes_read * Fixed int overflow in printer_write_setting * Fixed int overflow in PresentationContext_new * Fixed integer overflow in winpr_image_bitmap_read_buffer * Fixed #6112: Segfault in update_decompress_brush * Fixed oob read in rfx_process_message_tileset * Fixed oob read in clear_decompress_subcode_rlex * Fixed oob read in rdpsnd_recv_wave2_pdu * Fixed oob read in update_recv * update_decompress_brush: explicit output length checks * Fixed clipboard \'called with invalid type\' warning * Fix short format name configuration and format list return. * Fixed possible int overflow. * Remove unnecessary cast. * Fix oob read in msusb_msconfig_read * Fixed oob read in irp_write and similar * Fixed oob read in parallel_process_irp_create * Fixed oob read in parallel_process_irp_read * Fixed oob read in parallel_process_irp_write * Fixed oob read in ntlm_read_AuthenticateMessage * Fixed oob read in ntlm_read_ntlm_v2_response * Fixed oob read in ntlm_read_NegotiateMessage * Fixed oob read in cliprdr_read_format_list * Fixed cliprdr_server_receive_capabilities * Create data copy in case of dynamic sound channel. * Use dedicated sound decoder thread. * Wed Jul 01 2020 hpjAATTurpla.net- Update to version 2.0.0+git.20200505T180303.27f2eb13c: * new: add a simple issue template for backports * fix: cleanup bug_report template * Fixed warning messages for RDP file options * Fixed primary monitor index for wayland fullscreen * Fixed UwacDisplayGetOutput and UwacOutputGetResolution checks * shadow_server: allow specifying IP addresses to listen on (#6050) * Silence SCARD_E_TIMEOUT warnings * Fixed compiler warnings for usb channel * Fixed index out of bound access in update_glyph_offset * Unified INLINE definition * Wed May 06 2020 Hans-Peter Jansen - Remove freerdp-suppress-smartcard-timeout-errlogs.diff similar version applied upstream * Tue May 05 2020 Hans-Peter Jansen - Add patch freerdp-suppress-smartcard-timeout-errlogs.diff Note: some smartcards (eg. Kobil mIdentity) may need now /client-build-number:2600 as additional cmdline option in order to revert to former channel transport version * Mon May 04 2020 hpjAATTurpla.net- Update to version 2.0.0+git.20200504T120939.5b98aa751: * Android client version bump (#6126) * Fixed #6087: Inconsistend scroll on wayland * Don\'t allow to overflow dev_array array * Fixed copy paste error in MessagePipe.c * Fixed #6122: Allow SSL server and client purpose * Added expert settings /tune and /tune-list * Fri May 01 2020 Hans-Peter Jansen - switch to post 2.0 git (~git -> +git)- bump so version * Fri May 01 2020 hpjAATTurpla.net- Update to version 2.0.0+git.20200429T223102.ff618f53f: * libuwac/input: Fix memory leak * Fixed #6121: Use correct destination color format * Workaround #6072: FFMPEG AAC encoding graded experimental * wlfreerdp/cliprdr: Initialize pointer before use * libuwac/window: Fix memory leak / SIGBUS * Fixes null dereference bug * Implemented udevman->hotplug_vid_pids as wArrayList * Added ability to add usb devs via id and addr simultaneously * Added hotplug to /usb:id,dev option * Fixed /usb:dev command line option * Optimize function xcrush_copy_bytes() * possible memory leak when various functions return failure. (#6110) * use WINPR_MD5_DIGEST_LENGTH in stead of magic number for hash array * Use NTOWFv2FromHashW() in NTOWFv2W() to avoid duplicate code * Spelling fixes for iOS strings * Fixed #6099: Add a flag for legacy hash entries * Fixed #6101: POINTER_LARGE_UPDATE serialization * Refactored pointer and/xor data copying * Refactored freerdp_image_copy_from_pointer_data * Fix initialization of LargePointer flags * Fixed [MS-RDPBCGR] 2.2.9.1.1.4.4 Color Pointer Update * uwac, wlfreerdp: corrected API for UwacOutput and added monitor listing * SCardReadCache/SCardWriteCache should actually cache data * Removed casts in udevman_parse_device_id_addr * Refactored parsing of usb dev: command line option * Made xf_OutputExpose non blocking. * Fix #6085: Java string comparison should prefer equals * Cache the calculated color * removed unnecessary casts, use sizeof for debug printing * fix: server side ntlmv2 implementation - in the case no mic was present, but the user was found, the enterd password was ignored and the user authenticated * Fixi #6086: smartcard filter early abort. * Moved PROGRESSIVE_BLOCK_REGION to heap. * Language fixes for aFreeRDP * Add Norwegian Bokmål translation * Adds the title options to wlfreerdp * Fixed #6067: Better CMake warning for deactivated image scaling * Fix #6066, #6045: Disable spincount by default. * Fixed data type warnings * Fixed format string warnings. * Fixed cups httpConnectEncrypt deprecation warning. * Make use of percent scale if available when calculating monitor sizes * Restrict USBDK to Windows builds * tls: support non-RSA keys * Started 3.0 development cycle. * Fixed URBDRC DEVICE_ADD_FLAG definitions * Fixed return type for subsystem entry * src/libuwac/uwac-os.c: fix build with uclibc * new: update ChangeLog and set version to 2.0.0 * Fixed URBDRC parsing error reported in #6024. * Check for int overflow in gdi_InvalidateRegion * Allow icon info with empty bitmap data. * Abort order read on invalid element count. * Fixed possible NULL access. * Refactored gdi region * Proper error return from gdi_rect_str and gdi_regn_str * Refactored order stream manipulation * Fixed CVE-2020-11521: Out of bounds write in planar codec. * Fixed CVE-2020-11522: Limit number of DELTA_RECT to 45. * Fix CVE-2020-11524: out of bounds access in interleaved * Added debug logging and claping to all region functions * Fix CVE-2020-11523: clamp invalid rectangles to size 0 * Fixed #6012: CVE-2020-11526: Out of bounds read in update_recv_orders * Fixed CVE-2020-11525: Out of bounds read in bitmap_cache_new * Fix #6033: freeaddrinfo must not be called with NULL arguments. * Enforce coding style. * Moves variable declaration to beginning of scope * Check return value if already a listener is registered * Always copy null terminator when filtering smartcard list * Allow old openssl name in android client. * Fixed cmake formatting * Use cmake from NDK * Used default openssl library names. * Updated android build scripts for ci. * Export remaining packet length from rdp_read_share_control_header * Fixed substream read in rdp_recv_tpkt_pdu * Fixed rdp_recv_tpkt_pdu parsing, use substream. * Fixed incorrect parser error message. * Better error message for partial parsed capability * server: fix surface command types * Added fallback to CMDTYPE_STREAM_SURFACE_BITS * Fix sending/receiving surface bits command. * Fixed invalid seek size in patrial pdu parse case * Use safe seek for capability parsing * Use substreams to parse gcc_read_server_data_blocks * Fix #6010: Check length in read_icon_info * Fixed #6013: Check new length is > 0 * Fixed #6011: Bounds check in rdp_read_font_capability_set * Fixed #6005: Bounds checks in update_read_bitmap_data * Fixed #6006: bounds checks in update_read_synchronize * Fixed #6009: Bounds checks in autodetect_recv_bandwidth_measure_results * Fixed #6007: Boundary checks in rdp_read_flow_control_pdu * Fixed possible NULL dereference * Added missing context and handle read. * Pack smartcard channel structs to 1 byte alignment * Removed a few magic numbers. * Fixed typos, make status comparisons explicit. * Formatted patch. * Adds touch support to wlfreerdp * Free clipboard respond to fix bug * Treat NULL and empty string as the same for credentials. * Fixed memory leak in rdp file parser. * Add option to adjust the tcp ack timeout * Added buildconfig output to debug log level. * Initialize KeyboardHook with define instead of magic number * Allow externally supplied FREERDP_INSTALL_PREFIX * Added deprecation warning to gfx-h264 * Fixed gfx-h264 option parsing. * server: proxy: fix wrong log level used in pf_modules_run_filter * server: proxy: removed unnecessary cast after #5955 * server: proxy: use config path from argv if provided * Fixed missing boundary checks in smartcard_array_dump * Passing on error code from irp_free * Added a free function to erase streams not processed. * Fixed data length for list reader group return. * Log smartcard to stdout. * SCardListReadersW return length is in bytes, not char. * Fixed some conversion warnings. * Fixed warnings in pcsc layer * Beautify smartcard log. * Decreased smartcard log verbosity. * Removed duplicated copyright claim * Fixed memory leaks in PCSC_SCardReadCache[AW] * Fixed 8bit and 16bit return string sizes. * Fixes for GetAttrib and some refactroing * Fixed pcsc function pointer casts. * Fixed SCardReadCache autoallocate handling. * SCardFreeMemory non const argument. * Cleaned up smartcard pcsc wrapper. * Cleaned up smartcard inspect. * Added (incomplete) smartcard API test program. * Fixed NDR pointer handling for smartcard data. * Wed Mar 11 2020 hpjAATTurpla.net- Update to version 2.0.0~git.20200310T160354.6313cccb6: * Fixed length checks for compressed rdp data. * Cleaned up bulk_compress/decompress, prettified log. * Fixed misleading log message. * Refactored bulk compression * Removed unused function * Silenced warning due to missing debug define guard. * Silenced warning due to missing define guard. * Removed unused function * Removed unused function * Removed unused function * Removed unused function * Removed unused function * Removed unused function. * Using bsearch to get ntstatus string. * Silenced warning due to missing debug define guard. * Removed unused functions / files * Unify pReceiveChannelData and psPeerReceiveChannelData * Fixed misinterpretation of SendChannelData * Fix tpkt header length checks for encrypted packets * Default to positive return for missing callbacks * Fixed broken NULL check. * Fixed return check for usbdk backend. * Removed unnecessary cast. * Fixed missing config include. * Added libusb detection for windows. * Default proxy modules to OFF * Set C++ standard for proxy demo target * CMake options to compile without proxy or shadow * egfx: client: add missing NULL checks * [RDPEGFX] checks for cache import, prevent 0 size allocations * Move libusb hotplug registration to polling thread. * enable usbdk on windows. * Fixed compilation issues against libusb on windows * Fixed strncmp, use _strnicmp * Fixed memory leak in tls_get_channel_bindings * Added raw function wrapping X509_digest * Added winpr_md_type_from_string and winpr_md_type_to_string * Let ssl backend handle hash checks. * Added sha3 hashes for openssl. * Added new option /cert that unifies all. * Check cert against CertificateAcceptedFingerprints * Added CertificateAcceptedFingerprints to settings * Added missing WINPR_ *_DIGEST_LENGTH definitions. * Consume all TPKT data reading new/upgrade license * rdp_recv_tpkt_pdu verbose debug parsing issues * tpkt_ensure_stream_consumed now more verbose. * Modified xf_lock_x11 and xf_unlock_x11, allow recusive * Added clarifications in freerdp_channel_process * Fixed arguments for peer->ReceiveChannelData * Fixed conversion and return checks. * Fixed function pointer const correctness. * Fixed freerdp_channel_process length checks * Added freerdp_channels_data argument checks. * Fix GFX cache eviction, use 1 based indexing. * X11 XEvent handling use const arguments * X11 XEvent disp refactored to use const arguments * X11 XEvent refactored input * X11 XEvent refactored floatbar * X11 XEvent clipboard processing cleanup * X11: Lock display during event processing * Fixed clang scanbuild warnings. * Improve signal handler printout. * dynvc/client: fix and improve channel closing code * Reverted minimum scaling diff * Fixed reading suppress output pdu * Removed function pointer casts for shadow. * Fixed shadow server with mstsc as client. * URBDRC: Only mark closed if control is closed. * Consume stream data in autoconnect * wf_cliprdr.c forget OleUninitialize if create_cliprdr_window failed * Fixed tpkt header length checks. * Fixed warnings in capabilities.c * Fixed compiler warnings in info.c * Added tpkt header length plausibility checks. * Added fallbacks for primitives auto detection. * Check length of TPKT header for plausibility. * Implemented del_device by vid/pid * Cleaned up USB redirection * Fix #5910: USB hotplug added device wrong * rdpegfx: rename MaxCacheSlot to MaxCacheSlots * rdpegfx: use 1-based indexing for bitmap cache * Disable GSS/KRB5 support * Fix possible NULL pointer access crash * Updated CMake channel detection * Add dynamic channel part for rdpsnd channel * fix FindFFmpeg.cmake: locating avcodec not using pkgconfig variable * Fix #5885: Check for division by zero * Replaced CMake list find with loop to fix build issues. * Revert to RelWithDebInfo for debian. * Deactivated URBDRC for mac and windows builds. * Updated RDPGFX_CAPVERSION_106 according to errata 2018-12-10 * egfx: the gfx reset grahics pdu is optional * Made CHANNEL_TSMF optional and deprecated. * Deactivate USB redirection for IOS and ANDROID by default. * Do not advertise /usb in help output if the channel is not built * server: proxy: client: change ClientFree->ContextFree * server: proxy: support static vc passthrough * core: channels: add API to get channel name/id * drdynvc: reorder filepaths when adding channels * Promoted usb, printer and smartcard dependencies to recommended * Fixed CMake channel dependencies for variables. * audin pulse log states by name * Updated RDP_KEYBOARD_LAYOUT_TABLE * Fixed keyboard lang struct generation * Added keyboard language codepages and listing option * core: fix endless loops waiting for activation * End connection before user callbacks if aborted. * Updated timezones 2020-02-19 * Updated flatpak build manifest * Fixed #5895: cast warnings. * Fixed #5889: Only add descriptors wanted to select * Fix markup * Fix channel linking for built in channels * Added some callbacks to dynamic channel * working progressive Original Method DWT * Refactored progressive codec. * Install sample client binary. * client: remove unused variable * rdpsnd: implement buffer overrun detection. * Fixed #5730: Decoupled floatbar button focus from click events. * Added KeyboardCodePage option- add pkgconfig(libusb-1.0) build dependency * Fri Feb 14 2020 hpjAATTurpla.net- Update to version 2.0.0~git.20200213T161250.e4ac7b98a: * Added /auth-only option to samle client. * Disable windows console attach. * Exporting URBDRC symbols used by helper library * core: server: fix a bad free in channel->queue cleanup * Fix #5847: Missing length check to trace smartcard buffers. * server: proxy: improve logs * rdpsnd/winmm: fix some memory issues. * Fix #5852: handle CHANNEL_EVENT_WRITE_CANCELLED * Fixed rdpei unused function warning. * Fixed type of index variables. * Fixed type of index variable. * Fixed unused variable warning. * Fixed copy of opaque data * Fixed unused argument warnings. * Added NULL checks to silence clang-scanbuild. * Fixed NULL dereference. * Fixed NULL dereference. * Fixed NULL dereference. * Fri Feb 07 2020 hpjAATTurpla.net- Update to version 2.0.0~git.20200207T141100.245fc6014: * FreeRDP_WTSVirtualChannelOpen unify channel new/free * server: make sure all messages in channel->queue are freed when queue is freed * server: proxy: show indicative log on bind failure. * Added unified NDR pointer reading. * Fixed missing length checks for smartcard IRP read. * Fixed smartcard type mismatches. * Unified smartcart multistring conversion. * Fixed type mismatches on allocation. * Fixed smartcard_SetAttrib_Decode call type * Implement missing functions for new smartcard * Added command line option client-build-number * Fix smartcard structs, conform to [MS-RDPESC] * Sat Jan 25 2020 hpjAATTurpla.net- Update to version 2.0.0~git.20200123T153928.e4a2287f4: * core: Always send CS_MULTITRANSPORT PDU to server * Fixed #5855: YCoCg to RGB conversion color order * core: Fix and extend populate rdp file from settings * server: proxy: specify which modules to load in config * cmdline: export CommandLineParseCommaSeparatedValues * Fixed missing NULL set of pointer after free * server: proxy: add an indicative log listener->Open fails. fixes #5850 * server: proxy: pf_client.c: remove unused includes * server: proxy: disconnect all active sessions on shutdown * Revert \"core: rdp: reset rdp->nla in rdp_reset\" * server: proxy: modules_init: create modules dir if not exists * server: proxy: update config.ini * Sat Jan 18 2020 hpjAATTurpla.net- Update to version 2.0.0~git.20200117T135630.706e32982: * rdpsnd: Add synchronization to winmm backend * Fixed #5843 wrong header length for pdu * Fixed accidental reorder of surface delete and disconnect * rdpsnd: Fix possible crash and deadlock in winmm backend * audin: Fix possible crash in winmm backend * Fixed #5839: Use correct pointer to cast. * Add CMake config option for VAAPI * core: rdp: reset rdp->nla in rdp_reset * client/X11: Avoid crash in XGetDeviceButtonMapping() * rdpsnd: server: fix leak in rdpsnd_server_context_free * server: update: made functions static * update: update_send_new_or_existing_window: fix signed/unsigned according to spec * server: update: call update_check_flush whenever using the reused update buffer * server: proxy: fix race condition when between client thread and server update thread * Fixed remaining issues with chroma subsampling. * Fixed inverted color formats in YCoCgRToRGB_8u_AC4R * Fixed planar size checks. * Enabled YCoCg for planar. * Added planar RLE chroma subsampling. * Implemented chroma subsampling for planar non RLE * server: proxy: fix pf_modules_init * server: proxy: do not compile modules by default * server: proxy: shutdown gracefully * server: proxy: rewrite modules API * winpr: collections: add ArrayList_ForEach * rail/server: rename rdpContext to rdpcontext * Added /gfx and /gfx-h264 option mask= * Added fallback for libusb < 1.0.19 * Fixed LIBUSB_HOTPLUG_NO_FLAGS definition * rdpgfx: client: fix leak when using rdpgfx_client_context_new API * server: fix leak in WTSCloseServer * fix memory leaks in disp server and gfx.c * server: proxy: fix leak in pf_context_copy_settings * winpr: don\'t close file descriptor if we set it again to the same file * Ignore dynamic virtual channel errors * Support for RDP protocol version 10.7 * Added RDP 10.7 large pointer support * Allow to generate docbook with 0 length. * Fixed dead store warning. * Added new command line swith for automatich assistance control. * Fixed const correctness of encomsp functions. * Fri Jan 10 2020 hpjAATTurpla.net- Update to version 2.0.0~git.20200110T120024.32bf76865: * Extend LIBUSB_API_VERSION check * Added NtStatus2Tag function to stringify NTSTATUS * Setting optional last error on transport close * Added macro freerdp_set_last_error_if_not * Added debug log messages for SCARD_E_NO_SERVICE * Fixed waveOutClose, call waveOutReset first. * Added an error message in rdp_set_error_info * proxy: Add received response in case of an error * CONNECT_TRANSPORT_FAILED in transport_check_fds * Added freerdp_set_last_error_ex function * Fallback definition for LIBUSB_HOTPLUG_NO_FLAGS * RDPSND device API refinements * channels: Fix memory leak and make log messages more precise * server: proxy: add a unique id to each session and improve logs * server: proxy: move peer initialization to seperate function * winpr: thread: fix wrong log level in ThreadCloseHandle * wf_rail.c: fix crash if CreateWindowEx failed (#5812) * server: proxy: make fallback to tls configurable * Fixed duplicate definition in TestGetComputerName * Fixed freerdp_settings_new error cleanup. * Fix #5805: windows hotplug drive detection. * rdpsnd: Do not set output device on Catalina or later (#5747) * Fix audio channel init when no audio devices are present * Update comm_serial_sys.c * Fixed stream handling and missing includes. * Fixed some scanbuild warnings. * Use new URBDRC constants in command line parser. * Rewrite of urbdrc channel. * Cleaned up server sample audin channel use. * Removed msusb from library. * Sun Dec 29 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20191227T144124.2df3eb045: * transport: check if layer was set to closed * Fixed SWScale cmake find script. * Increased client build number * Tell the server that smartcard is redirected * Removed touch input channel thread * server: proxy: proxy keyboard leds and imei * update: add proper stream checks * winpr: SetWaitableTimer should not free the handle if it fails * rdp.c : fix DATA_PDU_TYPE_STRINGS mismatch declaration when WITH_DEBUG_ALL=ON * fix typo of jpeg * rdpgfx: surface_to_scaled_window: fix pdu type * core: server: update: fix update_send_new_or_existing_notification_icons * core: server: add missing NULL check in FreeRDP_WTSVirtualChannelRead * rail: keep extendedSpiSupported flag synced * rail: stream size checks and rail_read_sysparam_order fixes * Stream size checks for rail_write_sysparam_order * proxy: Implement RAIL support in proxy * rail server: implement channel code for rail server * channels.c: Send the CHANNEL_OPTION_SHOW_PROTOCOL option only in client mode * info.c: Set hidef Remote App flag on info packet read * update.c: Implement rail server altsec window orders * Added warning to win shadow server * update timezones. * Update WindowsZones.c * New python script for zone generation * Wed Dec 11 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20191209T114302.2f2f4f91d: * reply with empty irp package with error code, if irp device is unavailable * Removed some unnecessary casts. * Removed rdpsnd client thread * Added missing Stream_Write_INT32 * Remove symbols exported by accident. * primitives: use host pointers for openCL * SmartSizingWidth and SmartSizingHeight in RDP file: * Added RDP file option \'desktop size id:i:\' support. * Added data length check for RDP_CODEC_ID_NONE * Fix #5749: Retry to open the clipboard. * winpr: fix anonymous enum members and menbers without a size * Fix #5747: Only open output device in rdpsnd for mac. * Sat Nov 23 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20191122T132139.3aa6047b3: * Updated primitive function const correctness. * Added YUV444 kernel * Fixed intialization of opencl primitives and warnings. * opencl: inline the openCL program in the source code * Fixed init code. * Fixed primitives cleanup code. * Cleaned up primitives code. * primitives: add openCL support * rails: shorten logs * Fixed GetEnvironmentStrings test * Fix #5741: Limit strnlen checks to INT_MAX to silence compile on 32bit builds. * Do not export functions that are purely internal. * Fixed scanbuild warnings. * Cleaned up code for makecert. * Fixed path NULL checks. * Fixed #5727: drive_process_irp_create set path to NULL if not provided. * Fixed #5727: use getmntent to read /proc/mounts * Fixed #5727: Remove forbidden symbols from drive name * rdpNineGridCache now opaque * MPPC_CONTEXT now opaque * NCRUSH_CONTEXT now opaque * XCRUSH_CONTEXT now opaque * rdpOffscreenCache now opaque * rdpBrushCache now opaque * Fixed #5713: Use proper types to generate tables.c where possible. * Modified primitives function pointer to take const pointer to const data * fix [build]: don\'t export rdp2tcp as cmake target * Fixed cleanup of remdesk in CHANNEL_EVENT_WRITE_COMPLETE * cliprdr: common: fix validation of file contents request pdu * server: proxy: fix sync issue in gfx opening * Fixed broken strnlen checks * Fixed broken length calculation in rdp_write_extended_info_packet * Added configurable TcpKeepAliveDelay setting. * Implemented configurable tcp keepalive and timeout detection * Added additional tcp keep alive settings. * Added TcpKeepalive setting, use settings getter const arguments. * Added cast and checks for info packet. * Fixed NULL checks for strnlen calls, limit static channel name length. * Reformatted to new style * Updated format file. * Fix padding of encoded scan-line for XOR mask of pointer. * Added CHANNEL_EVENT_WRITE_CANCELLED for remdesk channel * Fixed userdata pointer and CHANNEL_EVENT_WRITE_CANCELLED message. * Listen to CHANNEL_EVENT_WRITE_CANCELLED and emit if queue is cleared. * Fixed #4809: Properly process CHANNEL_EVENT_WRITE_COMPLETE * Fixed VirtualChannelWriteEx error case leaks. * Fixed strnlen issues. * Removed invalid use of strnlen * Use BOOL return for IniFile_Open_File and IniFile_Load_File * Fixed review remarks. * Fixed warnings from TestEnvironmentGetEnvironmentStrings * Cleaned up TestCryptoHash * Removed strlen from GetComputerNameExA * Fixed length checks for GetComputerNameA * Removed strlen use in wlog (and speed up check) * Fixed int/size_t use for channel add functions. * Fixed tmpnam warning. * Removed strcpy use. * Code cleanups (strlen, casts, size_t, ...) * Cleaned up ini.h and added error checks. * Use COMMAND_LINE_ARGUMENT_A copy also in shadow server code. * COMMAND_LINE_ARGUMENT structs contain parser results, use one per instance * Added GUI/console switch for input callbacks. (disabled until AttachConsole + stdin work) * Added command line or dialog certificate handling. * Reattach to cmd if wfreerdp was started from one. * Mon Nov 04 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20191104T094227.f89d1d42a: * rdp: fix byte and packet counters Best to count bytes directly at the transport level. * fix typo * Fix #5693: Add missing link to gfx client channel library * server: proxy: client: always do NLA fallback * server: proxy: export config utils functions to be used by modules * server: proxy: stop loading session captures config if it is disabled * Made disp channel internal functions static. * Fix #5687: check for file extensions case insensitive. * wts_read_drdynvc_close_response quit message queue. * Added MessageQueue_Dispatch argument checks * Fix gdi coordinate clamping. * Removed experimental warning from gfx * devman_load_device_service device argument can be const. * server: proxy: refactor config loader * server: proxy: capture: refactor path creation * server: proxy: add python script to create a video from session frames * server: proxy: implement session capture feature * server: proxy: client use PIXEL_FORMAT_BGRA32 (easier to write frames to bitmap) * channels: rdpgfx: export API to create rdpgfx client * winpr: utils: image: fix const correctness * Fixed memory leak when freeing up audin formats. * Fix #5669: If cairo is detected as part of other dependencies ignore it * Added missing check for monitor indices * Fixes hub was not found! error * Fixes Auto USB Redirection * rdp: count in/out bytes and packets * Fix some static analizer warnings * server: proxy: client: terminate the connection if pre connect hook fails * channels: cliprdr: client: fix leak in cliprdr_packet_send * channels: cliprdr: improved common cliprdr api * channels: cliprdr: reformat cliprdr_common.c * channels: cliprdr: get rid of duplicated server and client code * channels: cliprdr: remove formatDataResp.dwFlags * Fixed compilation warnings. * Fixed missing initializer * Fixed floating point calculations. * Let shadow server detect H264 support at runtime * Allow freerdp clients to function with WITH_OPENH264_LOADING * Fixed windows shadow server startup issue. * Fixed leak in verify_cb. * Added /buildconfig command line for shadow. * Fixed #5645: realloc return handling * Removed check for wrong buffer size. * Cleaned up NSC API * fixed openh264 related issues, thx to mythos from IRC * Fixed use after free. * Added function to get an error category for better error handling. * Fix #5635: Silence double WITH_CUPS definition. * Fixed format string. * Added missing error codes. * GetEventFileDescriptor return handle internal event. * rail: Update to latest spec version 28.0 * Reset fastpath on disconnect, fixes #5629 * Fix WINPR_EVENT and WINPR_TIMER structs. * common: Fix handling of redirectdrives setting * rdpdr: Fix error code reporting for create PDUs * wlog: Fix uninitialized type in wLogMessage * Map gateway errors in freerdp_get_last_error_name * server: proxy: register input and update callbacks in post connect * server: proxy: refactor pf_context_create_client_context * server: proxy: support auto reconnect * server: proxy: separate client and server security settings * Trim all RDP file string options except passwords. * Fix #5603: Prefer absolute path for /drive: syntax. * Added option to parse RDP files relaxed. * Fix #5612: proper return values. * Setting freerdp_last_error in gateway error response. * Better log message for resetting last error state. * Fix ##5593: duplicated typedef. * Fix #5593: Do not use diagnostics pragma inside functions * Fix #5606: Fall back to loading default printer backend. * Speedup for WLog_ * macros, cache the log pointer * Sun Sep 22 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20190919T105508.02a65840e: * avoid blurry filter when scaling factor is 2x, 3x, etc * Use stat instead of lstat to iterate /Volumes * Hotplugging only for drive redirection. * Tighter error checking for integer options in RDP file. * server: proxy: config: fix mem leak * Reset last error state after a hostname was resolved successfully. * Compare rdp file options case insensitive * Add MOUSEEVENTF_HWHEEL define if not found in windows.h * Fix windows shadow server issues reported in #5577 * server: proxy: client: only try NLA if credentials available * server: proxy: get rid of unnecessary casts * server: proxy: drop local unix socket listen option * server: proxy: refactor * server: proxy: refactor usage of pf_context_copy_settings * server: proxy: make sure module\'s pre connect only called once * server: proxy: config: remove duplicate declaration of config macros * Tue Sep 10 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20190910T123111.24786d8b4: * mac os bundles should not put libraries/addins in a subfolder. * Modified printer backend to allow dynamic backends. * Set default connection type to autodetect for RDP files. * freerdp_channels_load_static_addin_entry pszSubsystem empty string returns the default backend. * Names of services are now const. * Getter for state to string * Fix some warnings on mac os * Refactored winmm backend * Only close local audio device if rdpsnd thread closes or output format changes. * Fixed limit check for wave confirm pdu timestamp. * Set default build windows version to windows 7 * Fix various compiler warnings for wfreerdp. * common: Fix nullptr checking in settings_set_string function * server: proxy: only wait for server dynvc when needed * Fixed missing NULL check. * Fixed memory leak in error branch * Converted BitStream_ * defines to inline functions * Fixed uninitialized variable warning. * Fix issue reported in #5560: language bar might not be supported by server. * Added deprecation macro. * Use GetTickCount64 instead of GetTickCountPrecise. * Do not use named events, they are global! * Use CALLBACK_EVENT for waveOutOpen to play synchronously. * Allow /drive:, * syntax.:wq * Fix #5554: audin is a dynamic channel * Sanitize drive redirection names. * server: proxy: rdpsnd support * rdpsnd: subsystems: Add proxy subsystem * rdpsnd: client: add rdpContext getter * server: proxy: fix nla fallback (introuduced in #5522) * Read and write RDP file \'prompt for credentials\' * Added color conversion correctness check to interleaved codec test. * Fix #5543: 16 bit color to 32bit color conversion. * keyboard: don\'t catch Ctrl+Alt-C if encomsp is not activated * Unified DriveStoreRedirect parsing. * server: proxy: disp: fix copyright * server: proxy: use new hooks api * server: proxy: improve modules api * Added support for drivestoreredirect:s:() syntax * Allow DynamicDrives as special option for /drive * Add dynamicDrives hotplug option. * Added drivestoredirect option value parser * added BandwidthAutoDetect parsing. * Automatically activate GFX and RFX codec support on autodetect. * Added winpr version macro (same as freerdp version) * Fixed type of sk_ * macro. * Added rdpsnd latency calculation. * Setting plugin paths for windows install. * core: Fix handling of PromptForCredentials setting * client: proxy: allow passing SOCKS5 proxies as env. vars * client/common: Remove incorrect prompt for creds parsing (#5528) * server: proxy: sync cliprdr opening * (FreeBSD) Build fixes for urbdrc * server: proxy: load proxy clipboard config * Proper parsing of clipboard capability sets. * Clipboard server callback arguments const * server: proxy: cliprdr support * channels: cliprdr: server: add autoInitializationSequence * channels: cliprdr: server: call ClientCapabilities callback * channels: cliprdr: add lastRequestedFormatId * Fixed NULL buffer access and alignment warnings. * Fixed #5496: Canadian keyboard mapping issue reported by AATTrenaudn1981 * Thu Aug 15 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20190814T193934.ef306fbff: * server: proxy: pf_context.c: Fix nla crash * libfreerdp: core: copy redirection info in freerdp_settings_copy * Move FoundCairo module include where is referenced * Better libcairo dependencies handling though cmake * Allow build without WinPR tools * server: proxy: client: before loading client addins, wait for serve\'s dynvc to be in ready state * server: proxy: client: set glyph support level to NONE * Fix server compile against _WIN32_WINNT=0x601 * Use GetSystemTimeAsFileTime to emulate GetTickCount64 * Added proper latency estimation for winmm sound backend. * Do not try to free a colormap that FreeRDP did not create. * Return a proper error if redirection fails. * Convert input PCM to float format. * server: proxy: print configuration on startup * server: proxy: channels: only open allowed channels * server: proxy: filters: demo: log instead of dropping the connection * server: proxy: filters: make sure filter_init is exported in filters compilation * server: proxy: refactor configuration loader * client: xf_channels: remove unused settings variable * Mostly working AVAudio backend. * server: proxy: ensure client termination * server: proxy: sync server and client channels * Fixed loading of microphone channel * With /scale: scale desktop and device. * Fixed loading of sound channel * Fixed a bunch of conversion warnings. * server: proxy: fix rdpgfx close race * fix [channels/smartcard]: fix StatusW_Call * uwac: Only submit dirty buffers * uwac: Make damage tracking more readable * uwac: Do not memcpy when we swap drawing buffers * uwac: Re-enable damage tracking * uwac: Do not unconditionally set pendingBuffer on configure * uwac: Acknowledge xdg_surface configure messages * common: Fix parsing of devicestoredirect setting in rdp files * Typo: neigter -> neither * Sat Jul 27 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20190726T103634.c856bf263: * Fixed typo: RAW_VERSTION_STRING -> RAW_VERSION_STRING * Fix rdp file writer * Reformatting * Added alternate full address to rdp file parser. * libfreerdp: core: fix const correctness of freerdp_settings_clone * Fix broken clipboard after file copy * Extract whole certificate chain to PEM format. * server: proxy: Add logs, call client->Close to send disconnection ultimatum * server: proxy: remove unnecessary function handle_client_disconnection * server: proxy: adjust log levels * server: proxy: set nla fallback flag flag only if NLASecurity is enabled * server: proxy: naming refactor * server: proxy: remove unnecessary files * server: proxy: use freerdp_settings_copy * libfreerdp: settings: Fix formatting in freerdp_settings_copy * libfreerdp: settings: call key_clone in freerdp_settings_copy * libfreerdp: certificate: Add key_clone * Added freerdp_settings_copy * Pass on cert validation failure, set freerdp error in all use cases. * Fixed freerdp_client_rdp_file_set_integer standard flag set. * Fixed rdp file parser tests. * Implemented rdp file parser functions with a callback for custom settings. * Added PromptForCredentials setting. * server: proxy: implement NLA fallback * Fri Jul 12 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20190711T213147.da19457fc: * winpr: ObjectPool_Return: fix error handling * winpr: ObjectPool_Return: fix wrong type for new_cap * Don\'t set ACCESS_DENIED on first HTTP gateway response. * Set freerdp last error on gateway access denied. * client: populate settings didn\'t update NetworkAutoDetect * rail: Fixes incorrect setting of TS_RAIL_EXEC_FLAG_FILE * Declare support for multimon in proxy server. It was broken in the DISP PR. * Only try to set nego token if load balance info length is >0 * server/proxy: Add check after calling p_client_context_create * server/proxy: Logging and comments improvements * server/proxy: pf_update: Update ps->settings in DesktopResize * server/proxy: set ps->thread to NULL on disconnect * server/proxy: Refactor pdata_set_connection_info * server/proxy: pf_filters: Update filter_free to accept NULL * server/proxy: Fix race-condition * server/proxy: Fix rdpgfx and events leak * server/proxy: Fix double-call to disconnect * Fix plugin paths when building for a mac bundle. * PR fixes * Fixed type mismatch. * Fix #5427: Dispatch updates to main thread. * Fixed #5406: Ensure mouse wheel rotation step is never zero * Fixed #5441, thank you AATTekse * Patch from #5436: fix input handling with gstreamer and vaapisink * codec: Set alpha channel to FF if not used (#5431) * RDPEDISP server side implementation (#5414) * rdpgfx/client: Update gfx->UnacknowlegedFrame correctly * server/proxy: Proxy CacheImportOffer & QoeFrameAck * rdpgfx/server: Fix formatting: rdpgfx_recv_cache_import_offer_pdu * rdpgfx/client: Expose QoeFrameAck * rdpgfx/client: Implement CacheImportOffer PDU * server/proxy: Fix bitmap update crash when target is win7 * rdpUpdate: add autoCalculateBitmapData flag * rdpgfx: Add WITH_DEBUG_RDPGFX option * server/proxy: Add multimon support * libfreerdp/core: Export monitor layout PDU * channels: ssh-agnet: cmake: turn off server side channel by default in `ChannelsOptions.cmake` (#5420) * RAIL: Fix parsing of WINDOW_ORDER_FIELD_ICON_OVERLAY_NULL (#5421) * server/proxy: Proxy pointer updates * fix vs2010 errors * server/proxy: Code refactor * server/proxy: Use winpr library in proxy/filters * server/proxy: Fix free invalid memory when pf_server_parse_target_from_routing_token fails * server/proxy: Fix mem leak in pf_server_parse_target_from_routing_token * server/proxy: Remove unnecessary wrap for connection info * server/proxy: Add docs in filters_api.h * server/proxy: Add return statement in demo_filter.c * Add README for filters API * bugfix: segfault when calling an event which is not implemented by filter * server/proxy: Use new parse_string_array_from_str implementation (using ArrayList) * server/proxy: Refactor pf_server.c * server/proxy: Refactor pf_server_parse_target_from_routing_token * server/proxy: Add external filters support * Fixed format security issues. * yet another one revertion * revert entire file.c * revert entire generic.c * remove dead code in generic.c * format after VS2010 * VS2010 adaptation * proper code format * fix for loop for ancient compilers * Artur Zaprzala\'s rdp2tcp channel driver * Sat May 25 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20190523T161154.3d346b69d: * Added a CMake option for the clangformat target support. * rail: added verbose logs (#5402) * Added rail workdir parameter * server/proxy: Proxy errors back to client * Export Error Info PDU. * First version of an RDP proxy (#5372) * Fixed fastpath/slowpatth pause event. * Added clang format script. * Fixed mapping of new client sysparam values. * Updated settings getter/setter for RemoteApplicationSupportMask * Fixed remaining getter/setter return checks. * Fixed window order cleanup for NOTIFY_ICON_STATE_ORDER * Fixed GFX flags and CapsConfirm return checks * Fixed rails set_caretwidth * Enable cairo support for software scaling. * Updated RAILS implementation * core: Move image conversion for icon data into the library * Fixed warnings and cleaned up gfx related xfreerdp code. * For smartcard trace functions use const arguments * Fixed uninitialized value * Fixed memory leak * Fixed memory leak * Fixed memory leak * Fixed possible memory leak. * Fixed index data type * Fixed error checks and uninitialized values in convert_filedescriptors_to_uri_list * Refactored settings getter/setter to stay compatible. * Fixed use of settings getter/setter * Added python generator for freerdp_[g|s]et_param * * Fixed doulbe semicolon in C files. * Silenced unused parameter warnings in smartcard trace * Silenced some unused parameter warnings. * Fixed memory leak and return values in rdpgfx_recv_caps_advertise_pdu * Added gfx capability filter option. * Fixed alignment requirements for surface sizes. * Add .md file extention to README * Fixed missing argument checks. * Optimized image scaling, copy if factor is 1.0 * Updated GFX to 10.6 spec * Added image scaling api for software drawing. * client/rdpgfx_main.h: Formatting * Fixed const correctness of gfx function pointer * rdpgfx/client: Add callbacks for manual caps sending and frame acking * client/rdgpfx_main.c: Fix rdpgfx_recv_caps_confirm_pdu caps length read * rdpgfx: Fix GFX v10.6 PDUs parsing and naming according to the spec * Fix smartcard segfault when no devices are present (#5364) * android_freerdp.c: fixed wrong registered signature (#5371) * Unified update->BeginPaint and update->EndPaint * Fixed windows overlinking. * Added a proper synthesizer for FileGroupDescriptorW to text/uri-list- add new freerdp-proxy binary * Tue Apr 30 2019 hpjAATTurpla.net- Update to version 2.0.0~git.20190429T112726.25fc56a62: * Fixed typo in RAIL_ZORDER_SYNC * Fixed input stream length checks in rdpgfx_recv_caps_advertise_pdu * 5360 segfault using smartcard without any readers (#5361) * rail_orders.c: Fix wrong callback call on server handshake ex recv (#5345) * xf_cliprdr: detect null terminators more reliably. (#5353) * xf_floatbar.c: fix build without Xfixes * FreeRDP#5329 if using OldLicenseBehaviour, don\'t try to save the Cal since we\'re not going to try to load it (#5330) * Fix segfault when IniFile_Load is called with invalid input (#5331) * Added optional PreFrameAck callback to RdpgfxClientContext (#5303) * Remove unnecessary clipboard data copy. * clipboard: correctly handle flags during renegociatiion (#5323) * Fixed ntlm_av_pair_get_len return, no signed value required * Fixed argument pointer type cast * Fixed sign issues * Fixed unnecessary casts in freerdp_image_copy. * Disabled -Wimplicit-fallthrough for instances where its use is intended. * Fixed broken implicit fallthrough * Removed duplicate argument checks. * Fixed GetModuleFileNameW. * Fixed review remarks. * Fixed SleepEx return value and added log messages for unimplemented features. * Fixed unused argument warnings for tests. * Fixed NULL argument warning. * Added event name to handle. * Fixed NULL argument warning. * Fixed unused argument warnings. * Fixed unused argument warnings. * Silenced unused parameter warnings, added log messages. * Silenced unused parameter warnings, added log messages. * Implemented GetModuleFileNameW * Improved timer implementation and error messages. * Improved error logging for wait functions. * Improved implementation of LoadLibrary functions. * Improved mutex and event functions * Fixed unicode key down and up messages. * Fixed dead store warnings * Fixed dead store warnings * Fixed dead store warnings * Fixed dead store warnings * Fixed sign-compare warnings. * Fixed unused store warnings. * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed unchecked return warning. * Fixed unused variable warnings. * Fixed sign-compare warnings, removed internal functions from API * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed _config_size return * Fixed sign-compare warnings * Fixed const free warning. * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Cast SEC_ * return values to HRESULT (Same as WIN32 API) * Case SCARD_ * return values to HRESULT (Same as WIN32 API) * Cast E_ * errors to HRESULT (same as defined in WIN32 API) * Addin function pointers now expect const strings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed unused variable warnings. * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed missing return value check. * Fixed sign-compare warnings * Fixed sign-compare warnings * Fixed free checks to eliminate bad free warnings. * Fixed sign-compare warnings * Fixed NSC SSE argument checks. * Fixed \\0 terimination of clipboard file list * Fix #5317: Change file attributes before modifying file time. * Fix NTLM AvPair lists * Fixed winpr_HexLogDump line length calculation. * Better bounds checks for winpr_HexLogDump * Fixed ReleaseSemaphore, respect lReleaseCount * Initialize ppKeys to NULL in HashTable_GetKeys * Added a logger dump function operating on a preallocated logger. * Force close channel, use defines instead of magic numbers * Fixed mac compilation warnings. * Fixed mixing of remote application mode requested and feature mask. * Updated rail channel, supporting all new messages. * Added autoreconnect for wayland. * Use safe iteration for seat removal. * Moved wayland cursor handling to seat. * Mon Apr 01 2019 Hans-Peter Jansen - Update to version 2.0.0~git.20190328T190548.52bce4745: * update.c: Fix update_end_paint wrong log level * client/rdpgfx_main.c: Fix wire to surface 2 pixel format decode * Close file handle correctly. (#5310) * Fixed flatpak pcsd build * Updated flatpak udev build script * server/rdpgfx_main.c: Fixed caps advertise PDU recv (#5304) * Fixed Stream_ * macros, bracing arguments. * Fixed #5276: Enable SSL before parsing assistance file. * Fixed #5234: Added timer invalidate on application willresignactive * Mon Mar 11 2019 Hans-Peter Jansen - Update to version 2.0.0~git.20190308T104409.6e2cfef5a: * Exposing NLA functions to impersonate and revert context. * client/Windows/wf_event.c: add missing \"break\" (#5293) * Temporarily disable GFX version >= 10.3 * Disabled RDPGFX_CAPVERSION_106 for good. * Fixed EGFX capability parsing, respect length fields. Disable RDPGFX_CAPVERSION_106 as we currently do not support scaled outputs. * Updated EGFX support to 10.6 * Fixed version magic mismatch with [MS-RDPBCGR] * potential fix for ENTER (modifiers) stuck after CTRL-ALT-ENTER (toggle fullscreen), clearing the buffer in xk_keyboard_update_modifier_keys. (#5280) * Fixed TS_INFO_PACKET (#5275) * libfreerdp/codec/include/bitmap.c: resolve possible NULL pointer arithmetic found by cppcheck * Silenced unused-const-variables for test cases. * Fixed cast warnings from freerdp_load_channel_addin_entry * Silenced function pointer cast warnings for BIO_callback_ctrl * Ignore INVALID_HANDLE_VALUE during clang scanbuild runs. * Respect return value from SetEvent and abort creation. * Fixed conversion warnings. * Fixed all integer conversion warnings for OpenH264. * Fixed xrealloc argument type * Embedded window local fix * Fixed #5262: Vertical mouse wheel direction and whell step * Fixed endianess issue with GETPIXEL16 and GETPIXEL32 * Replaced hardcoded xfreerdp program name * Replaced hardcoded xfreerdp program name * Replaced hardcoded xfreerdp program name * Replaced hardcoded xfreerdp program name * Resolve Gfx mode missing surface updates from cache. * Fix 5243: Allocate buffers zero in uwac. * WLog_IsLevelActive is now a exported function istead of inline. * Fixed update of log filters in case of level change. * Fix #5024: Update inherited log level for all child loggers when setting a new one. * Sat Feb 09 2019 Hans-Peter Jansen - Update to version 2.0.0~git.20190208T164701.c237f247d: * Destroying released cursor buffers. * Don\'t destroy wayland buffer attached to a surface. * Added support for /smart-sizing:x syntax in wayland client. * Fixed duplicate log tag definition in wayland client. * Fixed conversion range checks and cast for use with cairo * Fixed missing initializer. * Removed unused variables. * Fixed color format for wayland mouse pointer. * Added mouse pointer scaling. * Implements #5215: Smart sizing using libcairo * Fixed broken checks in X11 event (RAIL mode) * Fixed wide character comparison. * Enable server heartbeat PDU by default. * Disabled offscreen and bitmap cache by default. * client/common/cmdline.c: remove redundant check found by cppcheck * client/Wayland/wlf_cliprdr.c: resolve possible null pointer dereference found by cppcheck * Fixed BipBuffer Read/Write, limit to SSIZE_MAX. * Added missing SSIZE_MAX define * Fixed sign-compare warning * Fixed use of ASCII function on WCHAR * Fixed sign-compare warning * Fixed sign-compare warning * Fixed sign-compare warning * Fixed sign-compare warning * Fixed NULL dereferences and uninitialized values * Fixed NULL dereferences and uninitialized values * Fixed NULL dereferences and uninitialized values * Fixed NULL dereferences and uninitialized values * Fix FindNextFileA path termination with a single separator. * Fixed rect assignment in geometry channel. * Fixed compiler warnings for TRIO_CONST and limited data type. * Fixed missing initializers * Asserting arg->Value to silence clang analyzer NULL argument checks. * Fixed clang analyzer false positive memory leaks. * Fixed clang scanbuild false positive memory leak. * Fixed uninitialized return value. * Fixed compiler warnings #5210 * Fixed compiler warnings #5210 * Fixed compiler warnings #5210 * Fixed compiler warnings #5210 * Fixed compiler warnings #5210 * Fixed review remarks. * Removed debug messages. * Fixed static analyzer warnings for dynamic channel. * Added missing data range checks for geometry channel. * Fixed size checks when reading rdpdr capabilities. * Fixed uninitialized value. * rdp: add a callback for ServerStatusInfo * Fixed wayland library detection. * Fixed pointer image update. * Added O_TMPFILE support for uwac tempfile generation. * Added UWAC_EVENT_OUTPUT_GEOMETRY event * Added mouse cursor callback stubs. * May crash if GetCommandLineW failed * Fixed buffer submit and callback cleanup. * Fixed wayland buffer updates * Fixed wayland clipboard registration, retry if seat is detected before. * If uElapse is less than USER_TIMER_MINIMUM (0x0000000A), the timeout is set to USER_TIMER_MINIMUM. * Removed buffer damage tracking in client, let UWAC handle that. * Fixed warnings found by compiler and static analysis. * Fixed warnings found by compiler and static analysis. * Fixed warnings found by compiler and static analysis. * Fixed warnings found by compiler and static analysis. * Fixed warnings found by compiler and static analysis. * uwac: fix initialization of data_device_manager * Refactored client clipboard function callbacks for const data pointers. * Clipboard data pointer arguments are now const. * Ignore clipboard events if channel not loaded. * Fixed missing return. * Added log messages for unusual error events. * Added assert * Removed internal checks. * Fixed a log message. * Fixed some log messages / missing asserts. * Fixed NULL dereference. * Implemented wayland clipboard. * Implemented UWAC clipboard handling. * Removed unused label. * Fixed duplicated check. * Implemented wayland display resize channel. * Fixed initialization of window decorations. * Added KDE server side window decoration interface as fallback. * Fixed comment. * Added wayland server side decorations. * Updated flatpak build * Implemented keyboard shortcut inhibit support. * Updated fullscreen shell to current protocol level. * Update to xdg-shell stable. * Implemented DesktopResize callback for wayland client. * license: implement server-side management * Resubmit buffer if necessary. * Unified buffer update and screen refresh on focus * Added fix for OS2 paths. * Fixed WINDOW_ORDER_INFO copy. * Yield in connection wait loops to reduce processor use. * Fixed return check in SwitchToThread * rdpsnd/winmm: remove an unnecessary blocking event. * Fixed memory leak in lodepng. * Fixed use after free. * Ignore unknown keywords for windows and posix type detection. * Added flag to silence command line parser logging during detection. * Added extended error logging for assistance, rdp file and command line parser. * Added version check for dynamic OpenH264 use. * Using runtime linking for OpenH264. * Pointer arithmetics require lvalue * Avoid building POSIX clipboard if WIN32 * Check MSVC_RUNTIME only if MSVC is defined * freerdp_client_set_window_size should not be static * Add msimg32 library through CMake * Use lowercase for includes and libs * Support Unix Makefiles * Feature #4841: Added flatpak manifest. * Removed noisy warning. * Print SSL error when reading is aborted. * New option to disable user certificate dialog * Clarified defaults of /floatbar flag * Added OpenSSL include path globally. * Don\'t reset configuration and driver name when supplied via command line. * Implemented printer name based backend to remember settings. * Added callback to handle printer custom components in printer backend. * Fixed crash on drive hotplug shutdown. * Fix #1195: Implement callback for Gateway Messages * Thu Jan 17 2019 Hans-Peter Jansen - Update to version 2.0.0~git.20190117T144655.b131d8d52: * Unified mouse coordinate scaling. * fix [winpr/hash]: initialize ssl * Fixed #5185 broken file size initialization. * Implemented full mouse support for mac client. * Fixed #5167: Memory leak in unit test. * identical code for both branches, found by coverity * client/Windows/wf_cliprdr.c: remove redundant check found by cppcheck * Fix #5170: Disable custom TLS alert for libressl > 2.8.3 * Reject assistance input if not a RA invitation or connection string 2. * Set the username setting again, if it exists. * Fixed Wayland horizontal mouse wheel direction. * Fixed X11 horizontal mouse wheel direction. * remove identical code, found by coverity * remove identical code, found by coverity * Add support for standard Remote Assistance Connection String 2 without the extensions of the invitation file format. * add ninja to gitignore * resolve several issues found by cppcheck * fix(crypto/tls): typo * enable fonts smoothing per default * cmake: made FindGSSAPI.cmake able to detect kerberos versions such as: \"Kerberos 5 release 1.18-prerelease\". * Added backtrace function working on allocated logger.
|
|
|