Armin Novak
31d5a3b0c3
Don't reset configuration and driver name when supplied via command line.
2018-12-12 14:42:50 +01:00
Armin Novak
d13bd66f5a
Implemented printer name based backend to remember settings.
2018-12-12 14:36:18 +01:00
Armin Novak
192680a001
Added callback to handle printer custom components in printer backend.
2018-12-12 10:57:53 +01:00
Armin Novak
a744378110
Fixed a warning in printer channel.
2018-09-18 14:45:25 +02:00
Armin Novak
2517755d25
Fixed thread function return and parameters.
2018-03-07 14:36:55 +01:00
Armin Novak
8b9e3fa51e
Fixed use of reserved keywords for include guards.
2017-07-20 09:35:41 +02:00
Armin Novak
0490aeb018
Fixed clang malloc integer overflow warnings.
2017-07-20 09:29:48 +02:00
David PHAM-VAN
fd52a9ff52
Bugfix: wrong test regarding the first GetPrinter. This first call will always return FALSE because the goal of this call is to know the size needed.
2017-04-25 11:50:28 -07:00
David PHAM-VAN
c60d663d1a
Remove unused variable and check return codes
2017-03-27 10:55:55 -07:00
David PHAM-VAN
1296756be8
Bugfix: Wrong encoding method used for printer name.
2017-03-13 14:56:12 -07:00
Armin Novak
1ef55e7665
Fixed #3778 : Printer driver name conversion.
2017-02-17 11:40:52 +01:00
Ilya Shipitsin
102913e808
make cppcheck a bit happier:
...
[channels/printer/client/printer_cups.c:103]: (error) Resource leak: fp
[server/Mac/mf_event.c:195]: (error) Memory leak: event_queue
[server/shadow/shadow_capture.c:233]: (error) Memory leak: capture
[winpr/libwinpr/sspi/test/TestSchannel.c:440]: (error) Memory leak: lpTokenIn
[winpr/libwinpr/thread/argv.c:198]: (error) Memory leak: lpEscapedChars
[winpr/libwinpr/utils/sam.c:312]: (error) Memory leak: entry
2017-01-25 17:09:25 +05:00
Norbert Federa
f71b6b46e8
fix string format specifiers
...
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Norbert Federa
c6e6b44143
countless WLog/printf format specifier fixes
2016-11-25 17:06:25 +01:00
Marc-André Moreau
dee76617d9
channels: remove thread-local storage usage
2016-11-15 11:41:01 -05:00
Armin Novak
943e295714
WLog using C99 compatible variadic macros.
2016-10-07 14:05:27 +02:00
Armin Novak
07010e6f99
Reformatted file.
2016-10-06 13:43:13 +02:00
Armin Novak
88a3b8dd76
Initializing channel context in each thread.
2016-10-06 13:43:12 +02:00
Armin Novak
4f62d848ac
Refactored interlocked typedefs, avoid namespace collisions.
2016-10-06 13:43:09 +02:00
David PHAM-VAN
f5f3913c1f
Fix Memory Leaks in Printer Redirection
2016-09-19 11:27:25 -07:00
Norbert Federa
90cdfa7646
cmake: replaced STATIC_CHANNELS with BUILTIN_CHANNELS
2016-06-15 13:36:27 +02:00
Marc-André Moreau
cedf6d98e2
freerdp: more UWP porting
2016-03-29 20:34:52 -04:00
Marc-André Moreau
4d629a7999
freerdp: UWP porting
2016-03-29 16:03:15 -04:00
Bernhard Miklautz
25506348d0
Merge pull request #3168 from akallabeth/visibility_fixes
...
Fixed default visibility.
2016-02-29 16:59:58 +01:00
Armin Novak
5acd80dd5b
Exporting channel entry points.
2016-02-29 15:18:19 +01:00
Armin Novak
b7187d04a5
Printer driver from command line now used.
2016-02-26 16:14:18 +01:00
David FORT
60fed9d574
Mutualize definitions for the printer channel
2016-02-16 22:24:51 +01:00
Bernhard Miklautz
6fa3608111
cleanup cmake exports and pkg-config files
...
With this commit the "exported" components (usable with pkg-config and
cmake find module package)
* winpr - winpr library and headers
* freerdp - core library and headers
* freerdp-client - client specific library
* freerdp-server - server specific library
* rdtk - rdtk headers and library
To allow the installation of multiple different version (different major
number) the include files were moved into the respective sub folder:
freerdp -> freerdp{MAJOR}/freerdp (currently freerdp2/freerdp/)
winpr -> winpr{MAJOR}/winpr (currently winrp1/winpr/)
rdtk -> rdpk{MAJOR}/rdtk (currently rdtk0/rdtk/
The generated pkg-config and cmake find modules now also include the major
version number. Currently the following pkg-config are generated and
installed.
* winpr1
* freerdp2
* freerdp-server2
* freerdp-client2
* rdtk0
As cmake is able to handle multiple versions out of the box the
following can be used to find a specific module:
find_package(WinPR)
find_package(FreeRDP)
find_package(FreeRDP-Server)
find_package(FreeRDP-Client)
find_package(RdTk)
As cmake doesn't automatically resolve dependencies for packages it is
necessary to manually include the requirements. For example if
FreeRDP-Client is required WinPR and FreeRDP need to be included
(find_package) as well.
This commit also fixes the installation when STATIC_CHANNELS are built.
WITH STATIC_CHANNELS all channels are linked into libfreerdp-client, for
this all channels are generated as linker archive and linked together in
the final step. Before the intermediate linker archives were, although
not required and useful, installed. Same applies for server side
channels.
2016-01-12 17:32:33 +01:00
Armin Novak
cb958ba9c6
Added pdb files to package target.
...
Fixed name collision with freerdp-shadow targets.
2015-12-15 12:07:21 +01:00
Martin Haimberger
52405a3e79
Remove WIN32ERROR type
...
All return values are UINT now.
2015-08-27 05:38:20 -07:00
Martin Haimberger
65fd259610
misc fixes:
...
fixed all bugs from the review
checking all WaitFor*Object/s calls
2015-07-30 06:49:21 -07:00
Martin Haimberger
e682329eeb
fixed compiler errors
2015-07-15 03:17:38 -07:00
Martin Haimberger
6ab0187d84
Merge remote-tracking branch 'upstream/master' into mh-channel
...
Conflicts:
channels/audin/client/oss/audin_oss.c
channels/drive/client/drive_main.c
channels/printer/client/printer_cups.c
channels/printer/client/printer_main.c
channels/rail/client/rail_main.c
channels/rdpgfx/client/rdpgfx_main.c
channels/rdpsnd/client/oss/rdpsnd_oss.c
channels/remdesk/client/remdesk_main.c
channels/remdesk/server/remdesk_main.c
channels/tsmf/client/tsmf_media.c
2015-07-15 01:57:07 -07:00
Martin Haimberger
b8c110d19b
introduced channel error reporting system
...
The rdpContext gets an event which will
get set if an error occoured in a channel.
If a thread or a void callback has to report an
error it will get signaled by this system.
2015-07-15 00:50:35 -07:00
Armin Novak
cf9f975341
Replaced snprintf with sprintf_s
2015-07-03 13:26:15 +02:00
Bernhard Miklautz
1cee185e3c
hardening: check fread and fwrite return values
2015-06-26 20:38:30 +02:00
Martin Haimberger
0965608e80
channel printer hardend
2015-06-18 03:04:32 -07:00
Armin Novak
059374457d
Removed library prefix override.
2014-09-17 11:27:11 +02:00
Armin Novak
b1e9ffb655
Using wlog for channel logging now.
...
Fixed compiler warnings and broken callback in urbdrc.
2014-09-15 08:48:46 +02:00
Bernhard Miklautz
0313ca3622
libfreerdp: always build "MONOLITHIC"
...
"libfreerdp" consisted of multiple (small) single libraries. If the cmake
option MONOLITHIC was used only one library was build combining all of
the libfreerdp-* libraries.
The only exceptions to this are libfreerdp-server and libfreerdp-client these
are build as separate libraries.
This commit obsoltes non-monolithic builds and makes monolithic builds
the default. The cmake option MONOLITHIC is also removed.
2014-09-12 00:19:53 +02:00
Armin Novak
784696c1cd
Fixed missing includes and invalid replacement.
2014-08-11 09:38:08 +02:00
Armin Novak
66b8905ac6
Using special log defines for channels now.
2014-08-11 09:12:01 +02:00
Armin Novak
b252009d36
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:49 +02:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
53639dea0b
channels: reduce dependency on svc_plugin.h
2014-06-11 15:09:28 -04:00
Marc-André Moreau
37450da55d
cmake: fix exporting of targets on pre-2.8.11
2013-10-29 14:47:40 -04:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Armin Novak
d2fec8f612
Fixed thread handling.
2013-09-05 13:38:56 +02:00
Armin Novak
44c80c29cc
Fixed #1404 , using WaitForMultipleObjects now.
2013-08-08 14:46:21 +02:00
Marc-André Moreau
e9d362b58e
channels/printer: fix printer redirection and test with cups-pdf
2013-05-20 15:50:22 -04:00
Marc-André Moreau
fdf3ddcf9e
freerdp: purge deprecated stream utils
2013-05-08 17:48:30 -04:00
Marc-André Moreau
fd230443c5
freerdp: purge old stream utils
2013-05-08 16:27:21 -04:00
Marc-André Moreau
5b92413843
freerdp: purge deprecated stream utils
2013-05-08 16:09:16 -04:00
Marc-André Moreau
51715636a5
freerdp: remove some deprecated stream utils
2013-04-29 22:35:15 -04:00
Marc-André Moreau
75d4c70dd0
channels/printer: remove usage of thread utils
2013-03-21 17:40:04 -04:00
Marc-André Moreau
8c8a82c31f
libfreerdp-utils: purge old STREAM utils
2013-03-21 16:45:25 -04:00
rdp.effort
e53e8e524d
Initialize lpWideCharStr parameter when using ConvertToUnicode
...
This patch ensure that lpWideCharStr is initialized by callers of
ConvertToUnicode
2013-01-10 21:30:32 +01:00
Marc-André Moreau
d19e2042c3
libfreerdp-utils: remove deprecrated unicode utils in favor of WinPR
2012-12-17 10:20:25 -05:00
Marc-André Moreau
8a32de3801
libfreerdp: purged source tree from deprecated memory utils
2012-11-21 21:22:06 -05:00
Marc-André Moreau
2a16183f5d
libfreerdp-utils: remove deprecated calls to xnew() macro
2012-11-21 20:21:08 -05:00
Marc-André Moreau
ecddb58ba2
channels: cmake cleanup, USB redirection refactoring
2012-11-20 19:34:52 -05:00
Marc-André Moreau
5e77cefb08
libfreerdp-utils: removed part of the deprecated calls to xzalloc
2012-11-19 23:49:08 -05:00
Marc-André Moreau
e0b37aa97e
channels: load device addins using new command-line api
2012-11-08 19:01:52 -05:00
Marc-André Moreau
5bebfc798d
cmake: add client/server channel options
2012-10-19 16:47:48 -04:00
Marc-André Moreau
b5989f7299
cmake: refactoring of channel options with macros
2012-10-19 15:27:55 -04:00
Marc-André Moreau
2f1711c506
libwinpr-path: make tests pass on Windows
2012-10-18 21:11:12 -04:00
Marc-André Moreau
81e485736f
channels: refactoring of channels cmake scripts with macros
2012-10-17 02:14:19 -04:00
Marc-André Moreau
0c1fd59d5f
cmake: fix client add library macro
2012-10-16 17:33:07 -04:00
Marc-André Moreau
d0314a569e
libfreerdp-channels: refactoring of cmake static entry table generation
2012-10-15 16:31:41 -04:00
Marc-André Moreau
010761055e
libfreerdp-channels: refactoring of channels cmake scripts with macros
2012-10-15 14:44:46 -04:00
Marc-André Moreau
d3b505b008
channels: fix linking of channels
2012-10-14 03:22:58 -04:00
Marc-André Moreau
4924b9f673
Merge branch 'channels' of github.com:FreeRDP/FreeRDP into channels
2012-10-14 02:39:18 -04:00
Marc-André Moreau
0feebdbc37
cmake: refactoring of channel scripts
2012-10-14 02:38:58 -04:00
Marc-André Moreau
304b4c2d86
cmake: fix windows build
2012-10-14 01:17:25 -04:00
Marc-André Moreau
06fa85f31c
cmake: refactoring of MONOLITHIC_BUILD
2012-10-13 17:30:59 -04:00
Marc-André Moreau
9d064171a7
freerdp: get rid of old types
2012-10-09 03:26:39 -04:00
Marc-André Moreau
1bf8a45519
freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16
2012-10-09 03:01:37 -04:00
Marc-André Moreau
1ed644786c
freerdp: change boolean type to BOOL type
2012-10-09 02:38:39 -04:00
Marc-André Moreau
5612bc43f8
freerdp: change true/false to TRUE/FALSE
2012-10-09 02:31:28 -04:00
Marc-André Moreau
2df7aaad39
libfreerdp-utils: get rid of xstrdup in favor of WinPR _strdup
2012-10-08 23:42:01 -04:00
Marc-André Moreau
9909a12af5
libfreerdp-utils: get rid of xmalloc, xrealloc and xfree
2012-10-08 23:21:26 -04:00
Marc-André Moreau
e60a092d81
freerdp: fix headers
2012-10-08 23:02:04 -04:00
Marc-André Moreau
40eea7c76b
cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD
2012-10-08 22:55:06 -04:00
Marc-André Moreau
ce71721698
channels: rename WITH_STATIC_PLUGINS to STATIC_CHANNELS
2012-10-08 22:53:05 -04:00
Marc-André Moreau
e95b5b5a24
channels: move rdpdr header
2012-10-08 21:00:07 -04:00
Marc-André Moreau
3d98273185
channels: fix export of symbols on Windows
2012-10-07 10:21:54 -04:00
Marc-André Moreau
e2cd73ba54
channels: moving device plugins up in the directory structure
2012-10-05 18:30:14 -04:00