FreeRDP/winpr/libwinpr/clipboard
akallabeth d2ab631c40
Test uri fix (#8232)
* Fixed TestUri unit test

* Make proper unit test out of the test function
* Add proper test cases

* Replace FindFirstFileA with FindFirstFileW for addins

This allows addin paths to contain unicode symbols.

* Fixed parse_uri_to_local_file definition

* Move to common clipboard.c file
* Move to header file so it can be included in test case

* Added WINPR_LOCAL for test builds

This macro exports internal functions in case of a unit test build
This way unit tests can access these without other workarounds.

* Fixed typo in function name is_dos_driver

* Cleaned up FindFirstFileW call

Use a wrapper function to convert to unicode and call the function

* Cleaned up BUILD_TESTING and EXPORT_ALL_SYMBOLS

* EXPORT_ALL_SYMBOLS now does as the name implies and exports all
  non static functions/variables from the library.
* BUILD_TESTING now only sets the defines for test code and
  activates EXPORT_ALL_SYMBOLS to allow tests to access internal
  code

* Fixed windows client warnings

* disable CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
2022-09-26 11:22:02 +02:00
..
test Test uri fix (#8232) 2022-09-26 11:22:02 +02:00
clipboard.c Test uri fix (#8232) 2022-09-26 11:22:02 +02:00
clipboard.h Test uri fix (#8232) 2022-09-26 11:22:02 +02:00
CMakeLists.txt Avoid building POSIX clipboard if WIN32 2019-01-09 10:04:38 +01:00
ModuleOptions.cmake libwinpr-clipboard: initial commit 2014-10-17 15:19:05 -04:00
posix.c Test uri fix (#8232) 2022-09-26 11:22:02 +02:00
posix.h wClipboard: local file subsystem boilerplate 2017-04-09 03:15:48 +03:00
synthetic.c Fixed gnome and mate clipboard format synthesizers 2022-09-13 14:42:33 +02:00