Commit Graph

1973 Commits

Author SHA1 Message Date
Michael Gernoth
510afcca69 ignore PCSCs idea of BOOL
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1367 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 23:19:54 +00:00
Michael Gernoth
ce8fe4d0e4 RD_ prefix
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1366 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 14:38:48 +00:00
Jay Sorg
8858d29b40 copyright year update
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1365 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 06:37:57 +00:00
Jay Sorg
797df4fa02 copyright year update
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1364 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 05:39:39 +00:00
Jay Sorg
b670bdacfa RD_ prefix and win32 compatibility for core files
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1363 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 04:55:56 +00:00
Peter Åstrand
8446c24ebd Documented that we should remain compatible with C89
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1362 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-03 09:58:35 +00:00
Peter Åstrand
9d9a7ecdcb Indent fix
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1361 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-03 06:41:13 +00:00
Pierre Ossman
b05c6e25d1 Add capture support to the oss backend.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1360 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-02 16:37:54 +00:00
Pierre Ossman
5300f18275 Add capture support to the alsa backend.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1359 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-02 16:36:51 +00:00
Pierre Ossman
0dbec16985 Add experimental extension to the RDPSND protocol that allows recording.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1358 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-02 16:30:06 +00:00
Pierre Ossman
66f1511672 Even more information learned from Microsoft's client.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1357 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-02 16:24:36 +00:00
Pierre Ossman
58fd47651e Add new information discovered by examining Microsoft's client.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1356 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-02 11:44:21 +00:00
Pierre Ossman
f0c0188404 Fix audio_driver initialisation to avoid problem with uninitialised
variables and reduce the memory leakage.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1355 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-02 11:39:56 +00:00
Michael Gernoth
0f40bd195e fix SGI output driver
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1354 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-24 15:24:17 +00:00
Michael Gernoth
c9c3ab52e3 indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1353 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-24 15:23:00 +00:00
Michael Gernoth
f39ecfa6f6 fix device_available which I broke in a previous commit
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1352 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-24 15:22:15 +00:00
Michael Gernoth
e0cad6bc61 let libao output work again
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1351 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-24 15:16:45 +00:00
Michael Gernoth
2086e83814 Make code compile with C89 compilers again
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1350 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-24 13:53:23 +00:00
Michael Gernoth
84a393eebb fix double open of sound device. should at least allow oss, libao, sun and
sgi drivers to be selected again, when they only allow one open of the
device.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1349 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-24 13:48:50 +00:00
Jay Sorg
c1aa0656a4 win32 bits
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1348 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-23 03:23:59 +00:00
Pierre Ossman
b924730d4f Add suggestions for improving the event model of rdesktop.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1347 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-11 14:50:01 +00:00
Michael Gernoth
7448875078 fix sun audio driver
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1346 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-07 16:41:58 +00:00
Pierre Ossman
c6712a8945 Abstract select() handling in rdpsnd so that backends can do their thing
more correctly.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1345 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-07 15:23:45 +00:00
Pierre Ossman
139e42d9ef Restructure driver registration structures a bit so it is easier to add
new fields (and also reduce some memory usage/leaks).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1344 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-07 11:54:29 +00:00
Pierre Ossman
7180a70b7a Fix bad variable reference.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1343 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 13:59:43 +00:00
Pierre Ossman
869f31c2d5 Add more sensible debug output from rdpsnd.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1342 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 13:55:34 +00:00
Pierre Ossman
10bad3c82d New packet based parser for the rdpsnd protocol.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1341 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 13:29:42 +00:00
Pierre Ossman
1f47dce7ed Properly split volume channels for RDPSND_SET_VOLUME.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1340 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 13:18:36 +00:00
Pierre Ossman
838f43b3b7 Update rdpsnd_negotiate() to new information.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1339 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 13:11:35 +00:00
Pierre Ossman
7f088cbabf Change servertick to ping according to new information.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1338 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 13:01:45 +00:00
Pierre Ossman
cd1f37ebd3 Document what is known about the rdpsnd protocol.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1337 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 12:57:24 +00:00
Pierre Ossman
5fe136fec2 Ticks are in ms, not us.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1336 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 12:31:58 +00:00
Pierre Ossman
da0172306d Add configure flag for sound debug messages.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1335 423420c4-83ab-492f-b58f-81f9feb106b5
2006-12-06 12:12:37 +00:00
Michael Gernoth
a520715f00 Don't depend on pkg-config during bootstrap
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1334 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-15 09:15:36 +00:00
Michael Gernoth
392b8f0d1a sometimes libao corrupts memory, so don't call ao_initialize and ao_shutdown
when it's not really needed


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1333 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-07 16:48:48 +00:00
Michael Gernoth
56c2c71429 remove call to snd_pcm_drop as this is done implicitly by snd_pcm_close
and causes an assert on old alsa-versions


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1332 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-07 14:21:39 +00:00
Michael Gernoth
8d3020eaff only declare rdpsnd_optarg when sound-support is configured
make sure last element of sound-driver-list is NULL


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1331 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-06 23:05:39 +00:00
Michael Gernoth
598af83615 set PKG_CONFIG if there is a pkg-config executable in the path
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1330 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-06 22:42:34 +00:00
Michael Gernoth
a9ad53b482 add human readable error messages
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1329 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-04 20:02:42 +00:00
Michael Gernoth
1a3b95e662 initialize scard_mutex
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1328 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-04 17:33:15 +00:00
Michael Gernoth
c3f49ea246 more smartcard locking fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1327 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 23:51:35 +00:00
Michael Gernoth
8419d91138 make sure to lock the datapath of rdpdr_send_completion to prevent
simultaneous access to shared variables in multiple threads


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1326 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 19:56:42 +00:00
Michael Gernoth
659a1e062b reset padding to 8, as it did not fix the disconnects
enable sendControl mutex, as the rest of rdesktop is not threadsafe and
parallel access to rdpdr_send_completion might very likely result in
these disconnects


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1325 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 18:57:09 +00:00
Michael Gernoth
27c2d61872 set pcm_handle to NULL on close
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1324 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 18:11:47 +00:00
Michael Gernoth
157b97643b Add compatibility with older autoconf versions
PKG_PROG_PKG_CONFIG is done implicitly by autoconf, so no need to
call it manually. (It is not defined in old versions)
Thanks to Jennings Jared for noting


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1323 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 16:44:40 +00:00
Michael Gernoth
1c153f3315 Change email of Alexi Volkov
Remove smartcard banner from scard.c (ACKed by Alexi)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1322 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 14:28:10 +00:00
Michael Gernoth
df43fd5d93 always pad
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1321 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-02 23:31:58 +00:00
Michael Gernoth
573ded9db3 increase padding.
this seems to fix disconnects with encryption-errors reported in the
TS log


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1320 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-02 23:12:25 +00:00
Michael Gernoth
69deb20512 use xmalloc for mutex allocation
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1319 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-02 21:32:56 +00:00
Michael Gernoth
24680f4f8d clean up smartcard debugging
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1318 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-02 20:48:28 +00:00