Commit Graph

1194 Commits

Author SHA1 Message Date
Vic Lee
ec54a44449 rdpsnd: fix some null pointer crashes. 2013-01-22 23:26:55 +08:00
david
43cb13585d always initialize lpMultiByteStr parameter when calling ConvertFromUnicode 2013-01-16 01:14:03 +01:00
rdp.effort
a63598e2be checks stream size in rail client channel 2013-01-11 01:31:48 +01: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
Vic Lee
c5170a00e0 channels/rdpsnd: support wfreerdp using Windows Multimedia API. 2012-12-27 19:20:39 +08:00
Vic Lee
502368dd95 libwinpr-synch: proper handling fd event creation on Windows. 2012-12-21 11:41:18 +08:00
Marc-André Moreau
8c746976bb libfreerdp-core: return proper event handles on Windows 2012-12-21 11:27:44 +08:00
Martin Fleisz
30cb77835b cmake: fixed errors with Android build 2012-12-20 04:09:33 -08: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
af9be28000 libfreerdp-utils: purge deprecated freerdp_UnicodeToAsciiAlloc util in favor of WinPR ConvertFromUnicode 2012-12-16 23:34:07 -05:00
Marc-André Moreau
92bf3e4ae0 libfreerdp-utils: remove sleep utils in favor of WinPR 2012-12-14 00:58:48 -05:00
Marc-André Moreau
808fc210e3 libfreerdp-utils: remove hexdump utils in favor of WinPR utils 2012-12-13 23:54:54 -05:00
Marc-André Moreau
63b7743e1a Merge pull request #842 from awakecoding/master
Build fix
2012-12-04 07:17:04 -08:00
Marc-André Moreau
d8fa43c526 libwinpr-synch: fix race condition in event handling 2012-12-03 14:57:15 -05:00
Mikhail Titov
f8b7465fee This closes #820
Both audin and rdpsnd have subsystems named alsa & pulse.
Wrong entry was picked up from the table.
2012-12-03 10:37:32 -06:00
Marc-André Moreau
7140acd506 channels/urbdrc: fix build 2012-12-03 10:32:04 -05:00
Marc-André Moreau
5faebcd77a libfreerdp-core: start asynchronous receiving 2012-11-28 20:30:03 -05:00
Marc-André Moreau
eea3414579 libfreerdp-utils: purge deprecated wait_obj utils 2012-11-26 20:15:48 -05:00
Marc-André Moreau
136282dae3 libfreerdp-utils: replace wait_obj struct with HANDLE 2012-11-26 19:21:19 -05:00
Marc-André Moreau
bb54216cbb channels/tsmf: fix connection settings for tsmf 2012-11-26 01:34:40 -05:00
Marc-André Moreau
ab1cf1cb02 channels/rdpsnd: fix default device name with alsa 2012-11-26 01:23:23 -05:00
Marc-André Moreau
c8bfed8d31 channels: fix connection flags for rdpsnd 2012-11-26 01:15:11 -05:00
Marc-André Moreau
84f358d3ce Merge pull request #812 from bmiklautz/versioning
build: fixed library versioning
2012-11-25 12:29:29 -08:00
Marc-André Moreau
01158f9a34 libfreerdp-utils: purge deprecrated load_plugin utils from source tree 2012-11-21 21:28:48 -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
4e8ac78836 channels/smartcard: remove dependency on deprecated freerdp_thread utils 2012-11-21 12:53:54 -05:00
Marc-André Moreau
ebb1a44ea5 channels/smartcard: refactoring of smartcard code 2012-11-21 11:56:40 -05:00
Marc-André Moreau
091f9f3034 client/common: automatically register fake rdpsnd channel when device redirection is in use 2012-11-21 09:30:16 -05:00
Marc-André Moreau
15008297be channels/urbdrc: fix libusb subsystem 2012-11-21 03:32:15 -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
2e1a7447a1 channels: refactoring of channel subsystems 2012-11-19 22:31:15 -05:00
Marc-André Moreau
83473d11d1 channels: patch memory leaks, load addins from list 2012-11-19 13:26:56 -05:00
Marc-André Moreau
a5d81fcb9a channels/rdpsnd: refactoring of parameter parsing 2012-11-18 17:32:18 -05:00
Bernhard Miklautz
9a33dbe826 build: fixed library versioning
Split version numbers into:
FREERDP_API_VERSION - the version of the API which is major.minor
FREERDP_VERSION - version of a release consisting of major.minor.revision (e.g. 1.1.0)
FREERDP_VERSION_FULL - like FREERDP_VERSION but with an optional "build" suffix (e.g 1.1.0-dev)
2012-11-18 17:07:33 +01:00
Marc-André Moreau
4a472d5536 libfreerdp-common: added parsing of /vc and /dvc 2012-11-18 00:08:03 -05:00
Marc-André Moreau
925eb59bf1 libfreerdp-common: refactoring of addin loader 2012-11-17 22:03:04 -05:00
Marc-André Moreau
d478950abd channels: fix compilation with debug output 2012-11-17 17:03:02 -05:00
Marc-André Moreau
598cfb3e9d Merge github.com:FreeRDP/FreeRDP 2012-11-17 16:46:53 -05:00
Marc-André Moreau
d2728aa2ee channels/urbdrc: fix compilation 2012-11-13 11:19:17 -05:00
Marc-André Moreau
82725a2df7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-11-12 20:49:20 -05:00
Marc-André Moreau
1c4a587ef1 windows: fix build 2012-11-11 17:23:57 -05:00
Marc-André Moreau
e14aeb1d8a libfreerdp-core: fix gateway command-line settings 2012-11-08 19:56:37 -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
410b7ab867 libfreerdp-core: rdpSettings refactoring (part 4) 2012-11-07 23:29:24 -05:00
Marc-André Moreau
8544716104 libfreerdp-core: rdpSettings refactoring (part 3) 2012-11-07 18:23:33 -05:00
Marc-André Moreau
6427c9dd90 libfreerdp-core: rdpSettings refactoring (part 2) 2012-11-07 15:13:14 -05:00
Marc-André Moreau
44a063ee2b libfreerdp-client: added loading of dynamic add-ins 2012-11-05 20:58:58 -05:00
Marc-André Moreau
0f79d5c62a cmake: added generation of static tables for channel subsystems 2012-11-05 19:55:15 -05:00
Marc-André Moreau
b8383e4c67 channels/drive: use new improved pattern matcher 2012-11-03 23:54:54 -04:00
Marc-André Moreau
5bf0586078 libfreerdp-client: added method to free addin list 2012-11-03 23:33:10 -04:00
Marc-André Moreau
b3f6dea390 libfreerdp-client: started addin enumerator 2012-11-03 23:04:04 -04:00
Marc-André Moreau
7a316d8db7 libwinpr-file: make simplest FindFirstFile test case pass 2012-11-02 20:58:58 -04:00
Marc-André Moreau
3dad679330 channels/drive: renamed to drive from disk for consistency with mstsc and accuracy (drive is more of a generic term, while disk does not apply to all) 2012-11-02 19:59:07 -04:00
Marc-André Moreau
eb718a1b79 channels/rdpsnd: fix loading of plugins 2012-11-02 19:42:57 -04:00
Marc-André Moreau
6882b1fa9d mfreerdp-server: initial commit 2012-10-31 23:04:31 -04:00
Otavio Salvador
7dcd023c7a smartcard: Fix include directory of pcsc headers
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-10-31 09:41:00 -02:00
Marc-André Moreau
fa09b49fc0 Merge pull request #788 from bmiklautz/issue_787
cmake: fix smartcard channel build
2012-10-29 06:53:59 -07:00
Bernhard Miklautz
235f690a39 cmake: fix smartcard channel build
fixes #787
2012-10-29 13:04:43 +01:00
Marc-André Moreau
08cf1d34df cmake: fix STATIC_CHANNELS=off build 2012-10-23 11:55:41 -04:00
Marc-André Moreau
a79e913e6d channels: disable certain channels by default on Android 2012-10-22 15:03:38 -04: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
210ba6ac8c channels: fix linking of libfreerdp-client and libfreerdp-server 2012-10-19 13:10:42 -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
5eb8ddd1bf wfreerdp-server: fix build on Windows 2012-10-16 13:31:16 -04:00
Marc-André Moreau
8e424f7e4c channels: simplify API 2012-10-16 12:41:16 -04:00
Marc-André Moreau
aaef9694ab libfreerdp-channels: split in client/server functionality, move to libfreerdp-channels-client and libfreerdp-channels-server 2012-10-15 17:03:34 -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
8cfb69623e libfreerdp-channels: add libfreerdp-client and libfreerdp-server libraries that bundle client/server static channels 2012-10-14 03:43:10 -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
6a592b5720 cmake: add WITH_SAMPLE, fix inclusion of X11 code 2012-10-13 20:55:28 -04:00
Marc-André Moreau
e764c81ad5 freerdp: fix building of libraries for Android 2012-10-13 20:31:01 -04:00
Marc-André Moreau
06fa85f31c cmake: refactoring of MONOLITHIC_BUILD 2012-10-13 17:30:59 -04:00
Marc-André Moreau
5b1a7104a0 channels: refactor static server channels 2012-10-13 10:17:52 -04:00
Marc-André Moreau
de1c812fc9 channels/rdpsnd: fix build on Windows 2012-10-10 20:44:27 -04:00
Marc-André Moreau
53d445b8d9 channels: fix out of source build 2012-10-09 15:01:33 -04:00
Marc-André Moreau
11d99595b2 debug: fix debug output build 2012-10-09 14:52:07 -04:00
Marc-André Moreau
9b602f4582 tsmf: fix gboolean type 2012-10-09 14:37:49 -04:00
Marc-André Moreau
9b97a5d70e channels: fix tsmf and urbdrc 2012-10-09 14:26:07 -04:00
Marc-André Moreau
4b1b51b1f8 channels: fix data type refactoring issue 2012-10-09 14:00:28 -04:00
Marc-André Moreau
fba82c1a23 wfreerdp: fix compilation on Windows 2012-10-09 12:23:35 -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
ac7e1a3aea channels: make rail, drdynvc, cliprdr and rdpsnd built-in channels 2012-10-08 22:48:17 -04:00
Marc-André Moreau
e95b5b5a24 channels: move rdpdr header 2012-10-08 21:00:07 -04:00
Marc-André Moreau
837cc777ce channels: move include/freerdp/plugins to include/freerdp/client 2012-10-08 20:33:58 -04:00
Marc-André Moreau
11aa251fca channels: modify plugins to become optionally built-in 2012-10-08 20:26:11 -04:00
Marc-André Moreau
93f88d1c48 channels: added support for loading plugins from a static entry table 2012-10-08 19:54:11 -04:00
Marc-André Moreau
84f88883e9 sfreerdp-server: get rdpsnd channel to initialize 2012-10-08 16:29:40 -04:00
Marc-André Moreau
829723582e sfreerdp-server: cleanup sample server code 2012-10-08 16:12:03 -04:00
Marc-André Moreau
6431621282 channels: added generation of static channel entry table 2012-10-07 22:53:24 -04:00
Marc-André Moreau
3d98273185 channels: fix export of symbols on Windows 2012-10-07 10:21:54 -04:00
Marc-André Moreau
bf03aff5d1 channels: windows patches from richterger 2012-10-06 17:49:56 -04:00
Marc-André Moreau
8f10d3aa3b channels/rdpdr: fix IRP creation (forgot to zero memory) 2012-10-06 16:55:58 -04:00
Marc-André Moreau
e2cd73ba54 channels: moving device plugins up in the directory structure 2012-10-05 18:30:14 -04:00
Marc-André Moreau
cb69657b81 channels: refactoring of rdpdr cmake scripts 2012-10-05 16:01:59 -04:00
Marc-André Moreau
fbd2f360e9 winpr: fix compilation on Linux 2012-10-05 14:45:54 -04:00
Marc-André Moreau
e0693c8f4c cmake: refactoring of channels cmake scripts 2012-10-04 16:54:16 -04:00
Marc-André Moreau
12554c172f winpr: fix build on Windows 2012-10-03 17:53:03 -04:00
Marc-André Moreau
4c319ebdd9 channels/rdpsnd: code style cleanup 2012-10-02 23:01:16 -04:00
Marc-André Moreau
77023ec1dd channels/rdpdr: reduce dependency on list utils in favor or lightweight interlocked singly-list lists 2012-10-02 21:52:27 -04:00
Marc-André Moreau
1fc525ccf7 libfreerdp-channels: replace list utils by interlocked API 2012-10-02 20:17:57 -04:00
Marc-André Moreau
4b13b4aabb urbdrc: disable by default 2012-10-02 17:27:08 -04:00
Marc-André Moreau
299b780d13 urbdrc: code style cleanup 2012-10-02 17:24:52 -04:00
Marc-André Moreau
dda32388ff urbdrc: move USB redirection code 2012-10-02 16:54:14 -04:00
Marc-André Moreau
164783904a freerdp: merging with master 2012-10-02 16:32:41 -04:00
Marc-André Moreau
ab7c952d80 channels: code style cleanup 2012-10-02 11:16:40 -04:00
Marc-André Moreau
5126e393ee channels/rdpdr: fix warning 2012-10-02 11:11:11 -04:00
Marc-André Moreau
2fde653d8a wfreerdp: merging with win32 integration branch 2012-10-02 11:05:21 -04:00
Marc-André Moreau
412f5dc452 freerdp: fix build on Linux 2012-10-02 10:57:39 -04:00
Marc-André Moreau
610af773b3 channels/scard: fix compilation 2012-10-02 09:57:32 -04:00
richterger
37ca446cae win32: make rdpdr printer plugin working on win32 2012-10-02 09:10:21 +02:00
richterger
6bb2a8f6b0 win32: Add the following options for the disk plugin:
disk:<name>:* will share all windows drives
disk:<name>:% will share the home directory of the user

In addition c+\xxx in the pathname will be replaced by c:\xxx to avoid conflicts with option separators
2012-10-02 09:02:17 +02:00
richterger
fbe8a2eaae Make the rdpdr disk plugin working on windows.
Currently not working are rename and setting of read only attribute and file times.

In addition it also adds the ability to staticly link plugins into the binary, so you get one big exe and need no dlls. I have only tested this on windows (only disk plugin so far).

I use the following options for cmake for static binary:

cmake -DWITH_MONOLITHIC_BUILD=ON -DMSVC_RUNTIME=static -DBUILD_SHARED_LIBS=OFF -DWITH_RDPDR=ON -DOPENSSL_INCLUDE_DIR=\opensslpath\inc32 -DOPENSSL_LIBRARIES="\opensslpath\out32.dbg\ssleay32.lib;d:\path\out32.dbg\libeay32.lib" -G "Visual Studio 9 2008" .

Important notice: Openssl need to be compiled with the same static runtime. Currently missing is a switch to link different openssl libraries for debug and release builds.
2012-10-02 08:58:54 +02:00
Marc-André Moreau
659a901450 cmake: add solution folder subdirectories 2012-10-01 11:48:53 -04:00
Marc-André Moreau
03b19c3f30 libwinpr: fix compilation on Windows 2012-09-28 18:10:37 -04:00
Marc-André Moreau
c7719e9982 libfreerdp-utils: get rid of rect utils 2012-09-24 04:59:18 -04:00
Marc-André Moreau
58e1fd325a libfreerdp-utils: get rid of freerdp_uniconv_in 2012-09-23 20:11:50 -04:00
Marc-André Moreau
d0ac31b2c1 libfreerdp-utils: get rid of freerdp_uniconv_out 2012-09-23 19:49:13 -04:00
Marc-André Moreau
44f18159c4 libfreerdp-utils: get rid of UNICONV unicode conversion context 2012-09-23 18:41:07 -04:00
Marc-André Moreau
a11a69c70f channels/rdpdr/disk: replace thread utils by WinPR thread API 2012-09-23 13:54:14 -04:00
Marc-André Moreau
6cb933aa5a channels: added build options to enabled/disable client and server channels 2012-09-22 20:16:38 -04:00
Marc-André Moreau
e4e85be15d channels: add automatic inclusion and bundling of built-in server channels 2012-09-22 19:25:21 -04:00
Marc-André Moreau
81974d1b2a channels: moving dynamic virtual channels 2012-09-22 18:08:22 -04:00
Marc-André Moreau
3d65cb1c27 channels: moved client-side implementations in client subdirectories 2012-09-22 17:46:23 -04:00
Marc-André Moreau
538c89e311 cmake: add OpenSSL and MSVC runtime build options 2012-09-21 19:28:47 -04:00
Marc-André Moreau
cb8c0ef3c8 channels: refactoring of cmake build scripts 2012-09-20 23:39:27 -04:00
Marc-André Moreau
15eeaa2327 libfreerdp-utils: remove semaphore utils in favor of WinPR semaphore API 2012-09-18 19:40:54 -04:00
Marc-André Moreau
13dbbb9513 libfreerdp-utils: removing mutex util in favor of WinPR mutex API 2012-09-18 17:34:11 -04:00
Dorian Johnson
fb6d86a37f tsmf-ffmpeg: Update to latest versions of api (Fix #285) 2012-09-13 22:27:46 -05:00
Marc-André Moreau
cee2fcc6f0 libfreerdp: fix debug output 2012-09-08 15:27:00 -04:00
Marc-André Moreau
910f9ffed6 libfreerdp: wrap inclusion of config.h with HAVE_CONFIG_H 2012-08-14 17:41:40 -04:00
Marc-André Moreau
d5d1eb7762 libfreerdp: add proper config.h inclusions 2012-08-14 17:09:01 -04:00
Marc-André Moreau
dd91fdac03 channels: add support for monolithic build 2012-08-14 00:48:55 -04:00
Marc-André Moreau
ec1a17f554 client/Mac: merge latest updates from Jay 2012-08-12 16:04:11 -04:00
Dorian Johnson
3740e2ff46 tsmf: add ability for tsmf audio players to get volume change
notifications, even when the decoder doesn't support it.
2012-08-07 17:45:11 -05:00
Marc-André Moreau
d53aaa7cf3 Merge pull request #683 from bjcollins/master
Issue #661: Fix rdpdr directory "open only" operation to no longer create directory
2012-08-03 08:57:24 -07:00
Jay Sorg
21a8b64bc7 channel/rdpsnd: from LK2000, remove debug messages in mac audio 2012-08-02 10:12:31 -07:00
Brent Collins
9b9398ec12 Issue #684.
Fix the problem with a smart card reader being lost when a smart card is removed during a reconnected Windows 2008r2 rdp session. This was due to a improper handling of a message with a duplicate completionID. There is a lengthy comment in the code with explicit details. Also, many minor updates for the code to more closely reflect the protocol documentation - such as correcting packet lengths, undocumented padding, etc.
2012-08-01 17:05:45 -05:00
Brent Collins
9b8044aa6a Fix FreeRDP Issue #661.
Check directory operations in rdpdr to determine if the directory should be created if it does not exist - instead of always just creating a directory regardless.
2012-08-01 15:05:33 -05:00
Marc-André Moreau
baeafc5dfc channels: merging with master 2012-08-01 12:50:27 -04:00
Marc-André Moreau
4b720a6c0d client: merging Mac OS X and Windows client improvements from Jay Sorg 2012-07-31 16:27:42 -04:00
Bernhard Miklautz
6359c93609 rdpsnd: show message when plugin was successfully loaded
Helps to inform the user which plugin is actually be used. Fixes #523
2012-07-31 12:57:58 +02:00
Marc-André Moreau
52c697a7e2 channels: start fixing compilation on Windows 2012-07-28 22:24:14 -04:00
Jay Sorg
49f2fdfbd6 channels: added sample server code for skel 2012-07-25 19:33:43 -07:00
Jay Sorg
bbeec4aa5e channels: fix minor bug in skel plugin, added comments 2012-07-25 17:41:58 -07:00
xangis
a0d651d8a2 Fix for C2036 void pointer unknown size build error on Windows. 2012-07-25 15:08:35 -07:00
xangis
0dbdd0004c Exclude channels that don't build on Windows from project. 2012-07-25 14:41:00 -07:00
Marc-André Moreau
e4c920c946 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-06-29 08:55:58 -04:00
Marc-André Moreau
b96f89b1c3 Merge branch 'winpr' of github.com:FreeRDP/FreeRDP into winpr 2012-06-25 11:23:41 -04:00
Jay Sorg
9623fe7dc2 channels: added a sample virtual channel plugin 2012-06-22 16:41:53 -07:00
Marc-André Moreau
1aa0512490 libfreerdp-rail: rename UNICODE_STRING to RAIL_UNICODE_STRING to avoid conflict 2012-06-19 17:26:37 -04:00
Alam Arias
477b90c439 gstreamer: use PRIu64 marco for uint64_t 2012-06-17 12:12:08 -04:00
Alam Arias
0ddea5afa3 ffmpeg: avcodec_init() is been deprecated (and removed) 2012-06-17 09:51:37 -04:00
Alam Arias
0863c2eefd gsteamer: #if 0 to block out unused tsmf_gstream_start_eventloop_thread() and tsmf_gstream_Eventloop_thread_finc() 2012-06-14 12:46:27 -04:00
Alam Arias
c147ee2ed1 test for XRandR for Gstreamer support 2012-06-14 12:46:27 -04:00
Irwan Halim
c9c22fa331 Add GStreamer plugin for Multi-media redirection 2012-06-13 14:45:58 -05:00
Vic Lee
cc9e584301 rdpsnd/pulse: fix set volume synchronization. 2012-05-30 20:35:17 +08:00
Vic Lee
2633484e8d rdpsnd/pulse: support volume change. 2012-05-30 00:22:58 +08:00
Vic Lee
229d4e0d3c rdpsnd/alsa: support volume change. 2012-05-29 23:36:47 +08:00
Vic Lee
e50983fdff dsp: add MS ADPCM codec. 2012-05-24 23:09:30 +08:00
Vic Lee
052f841d7f server: add rdpsnd server channel library. 2012-05-24 14:03:21 +08:00
Julien Ropé
80f16c6201 Small fixes from static analysis:
- Potential NULL dereference in tsmf_ifman.c
- Check return value for our functions in tsmf_media.c and rdp.c
- Bad binary operator used in gcc.c
- Unreachable code in ntlm.c
- Bad free operation on SCOPE_LIST object in license.c
2012-05-16 15:29:35 +02:00
Julien Ropé
ffbbc13496 Removing reference to 'decoded_data' as this variable was removed by another commit 2012-05-16 11:34:28 +02:00
Julien Ropé
bbb48783e3 Some modifications on the LIST usage.
Made sure the list_*() API was used whenever possible, rather than relying on the internal implementation.
Added comments to the list.c file for documentation.
2012-05-16 11:34:18 +02:00
Julien Ropé
98d5b98465 Memory leak fixes.
Passed the code through a static analyzer and fixed all reported (and verified) potential memory leaks.
2012-05-16 11:33:57 +02:00
Vic Lee
ac5c7cded3 rdpsnd/alsa: reduce default audio latency. 2012-05-09 23:14:53 +08:00
Marc-André Moreau
e8144e4bdc Merge pull request #585 from llyzs/dsp
dsp: rewrite api to reduce memory allocations.
2012-05-09 07:36:18 -07:00
Vic Lee
473ba080e7 rdpsnd/pulse: fix a segfault in case device name is not provided. 2012-05-09 19:18:47 +08:00
Vic Lee
c9ad01ea55 dsp: rewrite api to reduce memory allocations. 2012-05-09 16:15:23 +08:00
Julien Ropé
b2177dc8c3 Replacing malloc calls by xmalloc or xzalloc as appropriate.
This will make sure we get an appropriate error message in case of memory allocation error, and not just a "Segmentation Fault"

Added some validation on xzalloc return in serial_tty_new to properly deallocate resources when an error occurs.
2012-05-07 15:27:13 +02:00
Julien Ropé
c1f7044693 Some fixes for potentials NULL pointer dereferences, and double-free of buffers 2012-05-04 15:50:33 +02:00
Laxmikant Rashinkar
1cbf3dab21 Initial push for the native Mac FreeRDP client 2012-05-02 20:15:27 -07:00
Marc-André Moreau
6f61ef8772 urbdrc: fix compilation against libusb 2012-04-30 16:28:32 -04:00
Scott Tsai
36a37cc752 Use PULSEAUDIO_INCLUDE_DIR instead of PULSE_INCLUDE_DIRS 2012-04-27 01:14:21 +08:00
Marc-André Moreau
8e64d1803b drdynvc: fix value of cb field 2012-04-25 14:27:38 -04:00
Marc-André Moreau
fa4d8fca1b urbrdc: initial USB redirection support, contributed by Atrust 2012-04-25 14:26:35 -04:00
Marc-André Moreau
848e7b704f Merge pull request #557 from dpoe/master
Fix for audin:alsa parameter parsing
2012-04-20 16:32:53 -07:00
Daryl Poe
abc3d365d8 Fix parameter parsing in audin:alsa drdynvc code. 2012-04-18 11:16:50 -06:00
Nigel Reeves
7b5d3ff1cb Mods to fix issues #502 & #462
Additionally modify some disk information values to reflect true values rather than some hardcoded ones so that disk properties show correctly.
2012-04-18 10:52:49 +01:00
Pawel Jakub Dawidek
87ac97e21e Don't forget to include config.h. 2012-04-06 20:57:34 +02:00
Pawel Jakub Dawidek
eb2757fac5 Compilation fixes for FreeBSD. 2012-03-20 14:27:28 +01:00
Norbert Federa
697429eb87 channels/rdpdr/disk: fix os x compilation issues
os x does not need/have stat/lseek/open/64 and O_LARGEFILE
2012-03-10 14:38:47 +01:00
Marc-André Moreau
51aff99ec5 channels/rdpdr/disk: fix stat64 references to STAT 2012-03-09 12:00:56 -05:00
Nigel Reeves
61adecef33 Fix for issue #487. RDPDR Disk Redirection: Cannot handle files > 2GB 2012-03-09 10:53:32 +00:00
Anthony Tong
69017a5f3c rdpsnd: follow rdpdr and free the stream from svc_plugin 2012-02-27 12:12:17 -05:00
Mads Kiilerich
1e46fae33e debug: remove extra newlines in debug messages 2012-02-21 23:22:01 +01:00
Anthony Tong
b13da4adb8 rdpdr/scard: dont incorrectly set SCARD_STATE_IGNORE 2012-02-21 15:55:32 -05:00
Marc-André Moreau
8189702ef3 channels/tsmf: disable deprecation warning 2012-02-17 17:45:58 -05:00
Slava Dubrovskiy
c10866db66 Fix not linked with libpulse (issue 418)
Signed-off-by: Slava Dubrovskiy <dubrsl@altlinux.org>
2012-02-14 13:46:26 -05:00
Marc-André Moreau
717b37fd48 channels/rdpdr: cleanup 2012-02-09 20:04:27 -05:00
Marc-André Moreau
7a6c813fcf libfreerdp-utils: extend plugin utils 2012-02-09 19:48:52 -05:00
Christian Nilsson
3c2997b352 Fix duplicate xfree on format_name->name, shuld resolve Issue #387 and #395 ? 2012-02-04 00:04:41 +01:00
Marc-André Moreau
9e4d76648b libfreerdp-core: fix more memory leaks 2012-02-01 21:11:46 -05:00
Marc-André Moreau
b4e542ba46 libfreerdp-core: fix multiple memory leaks detected by valgrind 2012-02-01 18:42:20 -05:00
Marc-André Moreau
0c048708b1 cliprdr: fix realloc on null pointer 2012-02-01 17:28:12 -05:00
Bernhard Miklautz
668c8c8cef build: use WITH_XXX instead of XXX_FOUND
To check if something should be en- or disabled WITH_XXX
should be used and not XXX_FOUND.

If XXX_FOUND is used and something gets disabled afterwards (by setting
WITH_XXX to OFF) it will be compiled in as long as XXX_FOUND is found in
cmake's cache file. So disabling a feature, or option, without
clearing the CMakeCache.txt might result in builds with unwanted
configuration.
2012-01-23 14:40:05 +01:00
Bernhard Miklautz
cc24a7ad6a Changed cmake find prefix for pulseaudio.
Now option (WITH_PULSEAUDIO) and package prefix (PULSEAUDIO_FOUND) match.
2012-01-23 14:40:05 +01:00
Marc-André Moreau
5924666748 channels/drdynvc/audin: fix typo in header 2012-01-16 09:20:54 -05:00
Anthony Tong
40cfa9bfc8 rdpdr/disk: fix file deletes
- FileDispositionInfo implies delete_pending, if buffer is empty
2011-12-31 13:03:00 -06:00
Dorian Johnson
39752fa014 drdynvc: dvcman_load_plugin load multiple drdynvc plugins 2011-12-27 16:06:57 -06:00
Dorian Johnson
e303867528 drdynvc-tsmf: make tsmf plugin parser allow mulitple data chunks
Allows one to config both decoder and audio simultaneously
2011-12-27 13:57:40 -06:00
Dorian Johnson
6dae926d86 drdynvc: make audin and tsmf config data parsers recognize path-based plugin loading 2011-12-27 09:55:00 -06:00
Aaron Small
7ec1b56e42 Fix crash when connecting using smartcard 2011-12-22 14:23:08 -05:00
Dorian Johnson
69ed9290c7 freerdp-cliprdr: Fix parsing of long-style format lists
Long-style format lists use variable length utf-16le names, but parser was treating the chunks as short-style 32-byte chunks, causing various issues
2011-12-21 16:02:53 -06:00
Vic Lee
b7a46c4bf0 printer: support flexible document format (#211) 2011-12-17 17:28:48 +08:00
Anthony Tong
ac55807e1a add additional debugging 2011-12-06 11:03:24 -05:00
Anthony Tong
9104cef59c rdpdr: initial pattern matching for directory query 2011-12-05 21:04:27 -06:00
Mike Gilbert
ce28e06158 channels: Optimize storage of string tables. 2011-11-30 19:11:27 -05:00
Marc-André Moreau
7371d203cb rdpdr: fix warnings, directfb: fix warnings 2011-11-25 11:24:47 -05:00
Anthony Tong
11e75881da rdpdr/disk: fix renames; target path was not contructed properly 2011-11-24 09:51:01 -06:00
Marc-André Moreau
32732efe4c Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-11-23 10:58:28 -05:00
Marc-André Moreau
65fe2f367f xfreerdp: added WITH_DEBUG_X11_CLIPRDR option 2011-11-23 10:58:13 -05:00
Christer Palm
a6b491cb88 Add translation between Windows and local CTL_CODE values for SCardControl 2011-11-23 01:22:17 +01:00
Marc-André Moreau
5ad3089243 scard: cleanup of code style, fix initialization issue 2011-11-21 20:46:58 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
7f3bad1d15 cliprdr: added more debug output, still unable to stabilize 2011-11-17 19:51:30 -05:00
Marc-André Moreau
d2335a5167 cliprdr: fix segmentation fault, still not working though 2011-11-15 15:41:00 -05:00
Marc-André Moreau
0e95675da3 libfreerdp-core: add support for Refresh Rect and Suppress Output PDUs 2011-11-11 14:02:59 -05:00
Rex Tsai
7a0613b8dd tsmf: fix when using older then libav major version 53. 2011-11-11 01:02:10 +08:00
Marc-André Moreau
4dbe450e39 cliprdr: add support for long format names 2011-11-01 01:09:38 -04:00
Marc-André Moreau
1c5f9c173c cliprdr: add more detailed debug output 2011-10-31 19:15:27 -04:00
Alan Pearson
ca7fdb870b More compilation warning cleanup: header file reorganization, include <sys/select.h> or <unistd.h> to define select where it is used. 2011-10-27 10:41:39 -07:00
Alan Pearson
e82fc535d2 Cross-platform 2011-10-24 11:08:39 -07:00
Eduardo Beloni
d4b30e701a rdpdr/parallel: fix and adjust parallel port redirection 2011-10-24 09:08:12 -02:00
Marc-André Moreau
38f25c99ee rail: fix flags for executable specified as full path, not alias 2011-10-21 14:08:31 -04:00
Eduardo Beloni
0d421ac6f7 rdpdr/serial: [fix] ignore purge of port buffers
See http://msdn.microsoft.com/en-us/library/ms901431.aspx
2011-10-19 17:32:17 -02:00
Eduardo Beloni
b8c865fa9f rdpdr/serial: [fix] write zero at the end of an aborted irp 2011-10-19 17:09:14 -02:00
Anthony Tong
0e9ad32bcb port of llyzs patch from freerdp-old, issue #26 2011-10-19 10:55:54 -04:00
Anthony Tong
5abdec9dec rdpdr disk: map error codes, starting with create irp 2011-10-19 09:43:04 -04:00
Anthony Tong
00133a2090 build fixes 2011-10-17 09:39:21 -04:00
Anthony Tong
1277bc7f8a initial scard support 2011-10-15 10:30:10 -05:00
Eduardo Beloni
5a57532ee0 rdpdr: migrating serial code 2011-10-14 17:41:28 -03:00
Eduardo Beloni
34f3cb90f8 rdpdr_types: [fix] add include svc_plugin 2011-10-14 11:44:13 -03:00
Marc-André Moreau
5cf5e2171a channels/rdpdr/parallel: migrating parallel code 2011-10-11 11:43:54 -04:00
Marc-André Moreau
9ee04a3671 channels: remove serial skeleton code to avoid conflict with eduardo 2011-10-11 10:25:35 -04:00
Marc-André Moreau
56ae3272c5 channels: added serial and parallel port plugins skeleton code 2011-10-11 03:16:05 -04:00
Eduardo Beloni
35d2502af5 channels/drdynvc/audin: fix segfault when device name is not specified 2011-10-04 09:28:44 -03:00
Vic Lee
7891ce2c75 rdpsnd/pulse: add latency control. 2011-09-25 14:00:09 +08:00
Vic Lee
c82dfa2a0b rdpsnd/alsa: better buffer size against requested latency. 2011-09-25 13:41:38 +08:00
Vic Lee
e5060dcaee rdpsnd: add manual latency control for ALSA. 2011-09-25 11:41:37 +08:00
Vic Lee
783681664a cliprdr: integrate with xfreerdp. 2011-09-23 13:41:26 +08:00
Vic Lee
f5ccf34605 audin: migrate audin plugin and ALSA/PulseAudio devices. 2011-09-21 15:18:54 +08:00
Vic Lee
6c914cd60d tsmf: fix incorrect data realignment. 2011-09-20 22:03:05 +08:00
Vic Lee
ebaf94d6d6 tsmf: add ffmpeg, alsa and pulse sub-plugins. 2011-09-20 14:27:10 +08:00
Vic Lee
dadb94a1e3 tsmf: add tsmf main module. 2011-09-20 01:58:27 +08:00
Vic Lee
fee5b3fab8 drdynvc: fix incorrect data length handling. 2011-09-19 22:53:00 +08:00
Vic Lee
8682228ec4 libfreerdp-utils/thread: separate freerdp_thread_free() call. 2011-09-19 22:52:16 +08:00
Vic Lee
6d6c5062ab drdynvc: fix buffer pointer type. 2011-09-19 17:04:14 +08:00
Marc-André Moreau
6fdecdb01b debug: cleanup printf's all over the place 2011-09-02 13:29:17 -04:00
Rex Tsai
96b7418e56 rdpsnd/pulse: Fix default device name. 2011-09-01 22:36:26 +08:00
Rex Tsai
ecbe24ca9a cmake: make linking type as option. 2011-09-01 22:18:58 +08:00
Marc-André Moreau
b56962d254 xfreerdp: start handling multiple monitors in xf_monitor.c 2011-08-30 20:59:42 -04:00
Vic Lee
bd5fb5c62a rdpsnd/pulse: add a pointer check. 2011-08-30 10:59:30 +08:00
roman-b
7744e17ec2 channels/rail: fixed multithread side effect by creating full orders copy for events. 2011-08-22 02:04:21 +03:00
roman-b
e701bf1bcf channels/rail: create fixed size order struct for Server Get Application ID Response. 2011-08-22 02:01:40 +03:00
roman-b
327ad2607c channel/rail: add UI event handling. 2011-08-21 04:12:17 +03:00
roman-b
2378b989ff channel/rail: fix Server Get Application ID Response PDU receiving.
It is a possible error in MS-RDPERP 2.2.2.8.1.
2011-08-21 04:09:13 +03:00
roman-b
e7367f9aac channel/rail: add initial handling all RAIL PDU from server.
Note:
Sometimes we have multi-thread side effect with data trasfer throught shared 
memory between different threads.
2011-08-20 01:46:10 +03:00
roman-b
e85caeb17d channel/rail: add handling Server Execute Result PDU 2011-08-19 17:10:08 +03:00
roman-b
154598288b channel/rail: fixed client system parameters sending. 2011-08-19 16:42:58 +03:00
roman-b
ab0e95a2ad channel/rail: simplify data and event sending interface. 2011-08-19 15:42:14 +03:00
Vic Lee
16a83b445a rdpdr/printer: fix debug messages. 2011-08-18 10:22:28 +08:00
Marc-André Moreau
48d3e65b08 rail: get client system parameters from xfreerdp 2011-08-17 21:33:22 -04:00
Marc-André Moreau
09980c8a7c include: refactor FRDP_ types to RDP_ 2011-08-17 17:28:26 -04:00
Marc-André Moreau
5f9d000227 libfreerdp-kbd: quick compilation fix 2011-08-17 14:18:19 -04:00
Marc-André Moreau
feb1470ba6 Merge pull request #48 from llyzs/printer
Migrate Print Virtual Channel
2011-08-17 08:38:24 -07:00
Vic Lee
fad4ea4343 rdpdr/printer: migrate/redesign printer virtual channel plugin. 2011-08-17 21:57:09 +08:00
Marc-André Moreau
6215417b29 windows: export all exported api functions 2011-08-16 23:54:42 -04:00
Vic Lee
46dd495229 rdpsnd: reset close request when a wave is received. 2011-08-16 09:23:29 +08:00
Marc-André Moreau
200b4c4493 Merge pull request #42 from llyzs/rdpsnd
Migrate rdpsnd channel plugin.
2011-08-15 12:21:34 -07:00
Vic Lee
15e553f8f1 rdpsnd: add PulseAudio sub-plugin. 2011-08-15 18:21:58 +08:00
Vic Lee
c02a568ed8 rdpsnd: use xfree. 2011-08-15 18:21:11 +08:00
Vic Lee
a8fde1144b rdpsnd: start playing immediately when a close signal received. 2011-08-15 16:58:07 +08:00
Vic Lee
a122006b0e rdpsnd: add ALSA sub-plugin. 2011-08-15 16:28:52 +08:00
Vic Lee
a2a9fdb630 rdpsnd: add device sub-plugin prefix. 2011-08-15 15:21:56 +08:00
Vic Lee
bfe7f83f03 rdpsnd: add main rdpsnd module. 2011-08-15 15:08:23 +08:00
Marc-André Moreau
6f8af2515b libfreerdp-core: fix window altsec orders negotiation 2011-08-14 17:05:34 -04:00
Vic Lee
046ff58d44 Fix compile warnings. 2011-08-13 16:52:05 +08:00
Vic Lee
460dd38cad rail: support passing multiple apps and arguments using plugin data. 2011-08-13 11:16:44 +08:00
Vic Lee
549e0f5b93 rail: fix buffer overflow issue. 2011-08-12 16:46:40 +08:00
Vic Lee
e9ba98c827 rail: rename some variables. 2011-08-12 16:26:57 +08:00
Vic Lee
e1159fc043 rail: rename rdpRail to rdpRailOrder. 2011-08-12 16:15:04 +08:00
Marc-André Moreau
91326a4f65 rail: removing older code 2011-08-11 16:27:16 -04:00
Marc-André Moreau
53981e9dba rail: fix bugs uncovered by increased warning level 2011-08-11 14:06:19 -04:00
Vic Lee
193a92fa8c rail: fix some compile warnings. 2011-08-11 15:19:30 +08:00
Vic Lee
ea54106dbd rdpdr: fix compile warning. 2011-08-11 15:11:01 +08:00
Vic Lee
d7e502dbe1 Add event_class in event object. 2011-08-11 11:14:07 +08:00
Marc-André Moreau
e5a3355099 rail: fixed sending of actual PDUs 2011-08-10 18:08:44 -04:00
Marc-André Moreau
b680ac1ecc rail: started new cleaner RAIL orders parsing/encoding code 2011-08-10 16:33:15 -04:00
Marc-André Moreau
21aa8ad9a8 libfreerdp-utils: added RAIL utils 2011-08-10 02:24:06 -04:00
Marc-André Moreau
b782189569 rail: started integrating Roman's RAIL virtual channel plugin 2011-08-09 17:42:10 -04:00
Vic Lee
e4585c801e rdpdr/disk: fix rename. 2011-08-08 10:01:26 +08:00
Vic Lee
cc3160cb9d rdpdr/disk: add set_information and device_control irp processing. 2011-08-08 00:23:36 +08:00
Vic Lee
f598bca687 rdpdr/disk: add query directory irp processing. 2011-08-07 19:24:29 +08:00
Vic Lee
12215d0e0a rdpdr/disk: add query file/fs information irp processing. 2011-08-07 15:24:12 +08:00
Vic Lee
419a8163d6 rdpdr/disk: add read/write irp processing. 2011-08-07 13:11:52 +08:00
Vic Lee
49458e7363 rdpdr/disk: add create/close irp processing. 2011-08-07 11:21:42 +08:00
Vic Lee
9c64e5b08d drdynvc: remove unused header 2011-08-06 16:25:14 +08:00
Vic Lee
5ce3e4deac rdpdr: implement irp. 2011-08-06 01:54:40 +08:00
Vic Lee
4c5ad80033 rdpdr/disk: initial work on disk. 2011-08-06 00:12:16 +08:00
Vic Lee
ac5ef85809 rdpdr: trivial fixes. 2011-08-06 00:11:41 +08:00
Vic Lee
b399897627 rdpdr: fix missing return devman. 2011-08-05 23:19:43 +08:00
Vic Lee
125ce3d116 rdpdr: fix incorrect variable. 2011-08-05 23:07:09 +08:00
Vic Lee
9faf581341 rdpdr: add device list announce. 2011-08-05 22:44:06 +08:00
Vic Lee
667d78206d rdpdr: add capability processing. 2011-08-05 15:43:48 +08:00
Vic Lee
e3eeb30e2d rdpdr: implement server/client announce. 2011-08-05 10:24:46 +08:00
Vic Lee
e3cbe6ccc9 rdpdr: initial work. 2011-08-05 09:36:25 +08:00
Vic Lee
7c597ac278 libfreerdp-utils/list: rewrite using functions instead of macros. 2011-08-04 22:18:01 +08:00
Brad Hards
2601d110aa Various minor warning fixes and unittest fixes. 2011-07-27 09:14:11 +10:00
Brad Hards
091432b89a Fix DEBUG usage
trivial.
2011-07-25 20:09:23 +10:00
Vic Lee
3533609da9 drdynvc: start working on main drdynvc module. 2011-07-19 14:07:15 +08:00
Vic Lee
0ab607716a cliprdr: fix compile warning, close issue #19. 2011-07-15 23:41:26 +08:00
Vic Lee
c8a5b83186 libfreerdp-utils/svc_plugin: use a macro to simplify plugin entry. 2011-07-15 23:39:38 +08:00
Vic Lee
51d2efd91c cmake/rdpdbg: use FREERDP_PLUGIN_PATH variable. 2011-07-13 23:08:06 +08:00
Vic Lee
25a8b6f0e2 rdpdbg: change to use new DEBUG_WARN macro so that message will always printed 2011-07-13 14:04:42 +08:00
Vic Lee
e10aba7cae cliprdr: add UI data request -> server data response. 2011-07-13 00:50:00 +08:00
Vic Lee
a93194da06 cliprdr: add server data request -> UI data response. 2011-07-13 00:30:25 +08:00
Vic Lee
b4a0b651f8 cliprdr: process format list response PDU. 2011-07-13 00:01:50 +08:00
Vic Lee
a57fe59660 cliprdr: process format list PDU. 2011-07-12 23:53:54 +08:00
Vic Lee
19c309e5d4 cliprdr: use unicode constants for format names. 2011-07-12 23:13:30 +08:00
Vic Lee
4fc7794ae9 cliprdr: add format list ui event. 2011-07-12 23:06:39 +08:00
Vic Lee
128901d60a cliprdr: add cliprdr->ui sync event. 2011-07-12 23:05:31 +08:00
Vic Lee
35cfae8412 cliprdr: initial work. 2011-07-12 17:06:14 +08:00
Vic Lee
d0ac3d3ee9 rdpdbg: use DEBUG_SVC macro. 2011-07-12 11:40:49 +08:00
Vic Lee
3f8c2176a3 libfreerdp-utils/svc_plugin: add event sending from plugin to UI. 2011-07-11 12:21:55 +08:00
Vic Lee
2a217504eb Integrate in/out plugin event struct and add event utils. 2011-07-11 12:04:13 +08:00
Vic Lee
15f3f1521c libfreerdp-chanman: add API for sending events from UI to plugin. 2011-07-11 00:06:02 +08:00
Vic Lee
9bdb09f876 Add rdpdbg test plugin. 2011-07-10 22:24:05 +08:00