Commit Graph

57 Commits

Author SHA1 Message Date
Michael Jumper
95230ae901 Use generic access, default to read-only. 2013-12-09 00:41:24 -08:00
Michael Jumper
cf3196d8ca Properly calculate remaining length of path. 2013-12-09 00:41:23 -08:00
Michael Jumper
34586265da Stubbed dir info. Remove name from file struct. Fix read_dir. 2013-12-09 00:41:23 -08:00
Michael Jumper
439cd7c903 Move to attributes rather than type. 2013-12-09 00:41:23 -08:00
Michael Jumper
32fdcdc660 Fix path conversion. Convert path in dir info. 2013-12-09 00:41:23 -08:00
Michael Jumper
69d636860d Add path normalization. 2013-12-09 00:41:23 -08:00
Michael Jumper
52f9bac805 Add guac_rdpdr_fs_read_dir(). Bump _POSIX_C_SOURCE value as necessary for fdopendir(). 2013-12-09 00:41:23 -08:00
Michael Jumper
9773f348e2 Actually close in close. 2013-12-09 00:41:23 -08:00
Michael Jumper
06c2dfd8d2 Add file_id to volume queries, send real times and attributes back. 2013-12-09 00:41:23 -08:00
Michael Jumper
117e9053f4 Pull file type during open. 2013-12-09 00:41:23 -08:00
Michael Jumper
06a18f6766 Pull info from stat() during file open. 2013-12-09 00:41:23 -08:00
Michael Jumper
2f662257d9 Remove unused header. Fix header file macros. Add comments. 2013-12-09 00:41:23 -08:00
Michael Jumper
1263d261f4 Add stubs for dir information handlers 2013-12-09 00:41:23 -08:00
Michael Jumper
e238df9581 Comply with naming convention of message processors. 2013-12-09 00:41:23 -08:00
Michael Jumper
d877e1f236 Add stubs for FS message functions. 2013-12-09 00:41:23 -08:00
Michael Jumper
85b754f2b7 Fix path translation function. 2013-12-09 00:41:23 -08:00
Michael Jumper
9fcb3e3678 Actually resolve and open files. 2013-12-09 00:41:22 -08:00
Michael Jumper
f24d4b58fa Add error codes for open. 2013-12-09 00:41:22 -08:00
Michael Jumper
f3ef451527 Add stubs for minor functions. 2013-12-09 00:41:22 -08:00
Michael Jumper
4bdbaceccc Fix logic in file open (should NOT allocate new ID if open fails. 2013-12-09 00:41:22 -08:00
Michael Jumper
7b843a806f Split rdpdr_fs up into logical files. 2013-12-09 00:41:22 -08:00
Michael Jumper
bc662975ce For now, return no-such-file for the '' file... will migrate to actual file path parsing. 2013-12-09 00:41:22 -08:00
Michael Jumper
adf45ab79e Add file time macros and more attribute constants. Stub volume and basic file info. 2013-12-09 00:41:22 -08:00
Michael Jumper
2e4a67200c Add constants. More open() implementation. Handle case where no file IDs are available. 2013-12-09 00:41:22 -08:00
Michael Jumper
d9cae3d361 Add unicode conversion functions. Partially handle incoming parameters for open. 2013-12-09 00:41:22 -08:00
Michael Jumper
8731f282cc Initial stubs for open/close. 2013-12-09 00:41:22 -08:00
Michael Jumper
5efda4d328 Send drive capability. 2013-12-09 00:41:22 -08:00
Michael Jumper
f07cd58707 Add drive-enabled option. 2013-12-09 00:41:22 -08:00
Michael Jumper
08eb5625fc Add filesystem device. 2013-12-09 00:41:22 -08:00
Michael Jumper
daa10be990 Remove old use of blob. Use new file semantics. 2013-09-24 12:58:58 -07:00
Michael Jumper
1f0ae7b4ba Do not use pExtendedData beyond connect handler. NULL out pExtendedData once done. 2013-08-22 14:52:09 -07:00
Michael Jumper
a52a13584b Initialize devices_registered. 2013-07-24 23:51:49 -07:00
Michael Jumper
1e521a1696 Call free handler on devices. Only add printer if enabled. 2013-07-24 22:49:24 -07:00
Michael Jumper
6b4deb703a Finish dynamic device implementation. 2013-07-24 22:20:29 -07:00
Michael Jumper
d65a23349d Add announce handlers. 2013-07-24 18:28:20 -07:00
Michael Jumper
1138df74be Initial migration to dynamic device registration. 2013-07-24 15:52:46 -07:00
Michael Jumper
82f1fb2bad Fix plugin names - sound and printing were not loading properly. 2013-07-22 20:26:16 -07:00
Michael Jumper
9ad3b18f77 Fix build of RDPDR. 2013-07-22 20:26:15 -07:00
Michael Jumper
bffa28a7de Remove usage of xfree(). 2013-07-22 20:26:14 -07:00
Michael Jumper
7907b2f34a Remove now-unnecessary memory.h. 2013-07-22 20:26:14 -07:00
Michael Jumper
a08180acfe Remove unnecessary update lock, use threadsafe socket instead. 2013-07-01 15:03:46 -07:00
Michael Jumper
400920b3bb Convert PS to PDF using gs as filter. 2013-07-01 15:03:46 -07:00
Michael Jumper
2df35e6f2e Attempt to extract a good filename from the %%Title comment in the .ps 2013-07-01 15:03:46 -07:00
Michael Jumper
6c5525a162 Swap mimetype/filename parameters. 2013-07-01 15:03:46 -07:00
Michael Jumper
8920bc0c76 Send printed document via blobs. 2013-07-01 15:03:46 -07:00
Michael Jumper
06ef43bd2c Actually read print job data. 2013-07-01 15:03:46 -07:00
Michael Jumper
c07eb9c063 Send driver name as UTF-16 (apparently required, and ASCII flag is ignored). 2013-07-01 15:03:46 -07:00
Michael Jumper
dc1fc6132f Fix shifting of error codes. 2013-07-01 15:03:46 -07:00
Michael Jumper
4953f02b13 Do not send devices after confirmed ID - only after logon. 2013-07-01 15:03:46 -07:00
Michael Jumper
933dec8602 Send printer device, handle errors. 2013-07-01 15:03:46 -07:00