Nikolay Sivov
0faf9c1f06
scrrun: Use same write implementation for pipe stream.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-21 12:32:06 +01:00
Nikolay Sivov
a9c4bda481
scrrun: Move IO mode check to writing helper.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-21 12:32:06 +01:00
Nikolay Sivov
5a66eab725
scrrun: Add a stub for pipe-based text stream.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-17 22:16:03 +01:00
Nikolay Sivov
eb59527f96
scrrun/tests: Add some tests for DoOpenPipeStream().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Nikolay Sivov
5bb7a6d5ea
scrrun: Fix long types warnings.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:55 +01:00
Nikolay Sivov
5fc49aa2c9
scrrun: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-26 21:53:55 +01:00
Robert Wilhelm
f4d40a7379
scrrun: Generate temp name with tmp suffix.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52163
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-25 13:29:48 +01:00
Robert Wilhelm
4c04fb00f0
scrrun: Implement folder_CreateTextFile.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51971
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:54 +01:00
Robert Wilhelm
fe7f21b0ab
scrrun: Extract code to new helper function build_path.
...
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:54 +01:00
Nikolay Sivov
beb7966d47
scrrun: Use wide string literals.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-05 10:23:19 +01:00
Nikolay Sivov
82ffb085a8
scrrun: Use static sized buffer for drive root.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-05 10:23:16 +01:00
Jacek Caban
c8c00d6f4a
scrrun: Add MoveFile implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 16:30:08 +01:00
Jacek Caban
14de44513f
scrrun: Add ITextStream::ReadLine implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-07 19:48:49 +01:00
Jacek Caban
c80e16ae19
scrrun: Rewrite text stream to use read ahead buffer.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-07 19:48:46 +01:00
Jacek Caban
b22236d1b1
scrrun: Add support for TristateUseDefault text stream format.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:27 +02:00
Alexandre Julliard
107f54eff7
scrrun: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Gijs Vermeulen
b7afaec818
scrrun: Implement Clone() for drive collection.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:13:43 +01:00
Michael Stefaniuc
0194896aa5
scrrun: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 17:24:36 +01:00
Nikolay Sivov
7162725133
scrrun: Use ARRAY_SIZE() macro.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:02:03 +01:00
Michael Stefaniuc
4b0b149a06
scrrun: Use the global HeapAlloc() wrappers.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 09:53:26 +01:00
Nikolay Sivov
f6016609e1
scrrun: Added DateLastModified property for IFile.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:13 +02:00
Nikolay Sivov
eda5d61c54
scrrun: Added IProvideClassInfo support for filesystem objects.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-07 14:45:16 +01:00
Joachim Priesner
c1dd228981
scrrun: Implement filesys_GetDrive for local drives.
...
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 22:32:45 +09:00
Joachim Priesner
5b9a11a01c
scrrun: Implement filesys_DriveExists.
...
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 22:24:23 +09:00
Alistair Leslie-Hughes
0a19048795
scrrun: Implement ITextStream Close.
2015-06-19 19:13:58 +09:00
Jacek Caban
dd26d1f981
scrrun: Added IFile::put_Attributes imeplementation.
2015-06-15 14:45:56 +09:00
Nikolay Sivov
533323d703
scrrun: Implement GetSpecialFolder().
2015-04-06 22:34:10 +09:00
Nikolay Sivov
574350d838
scrrun: Implement Path() property for IFile.
2015-03-16 21:42:41 +09:00
Nikolay Sivov
3814e0229d
scrrun: Implement GetExtensionName().
2015-03-03 12:40:07 +09:00
Gerald Pfeifer
3b8e7d4dac
scrrun: Add a check for empty string in start_enumeration.
2014-07-29 14:32:04 -05:00
Nikolay Sivov
a0954a1930
scrrun: Implement get_VolumeName().
2014-06-24 13:31:26 +02:00
Nikolay Sivov
6a2e1b3f31
scrrun: Implement FileSystem property.
2014-06-24 13:31:26 +02:00
Nikolay Sivov
5af5e40103
scrrun: Implement SerialNumber property.
2014-06-24 13:31:25 +02:00
Nikolay Sivov
d2d62cf578
scrrun: Implement GetDriveName().
2014-06-23 19:16:38 +02:00
Francois Gouget
2b76dfba97
scrrun: Fix compilation on systems that don't support nameless unions.
2014-05-26 21:14:45 +09:00
Nikolay Sivov
05a80d0f18
scrrun: Use existing helper to return file size.
2014-05-21 11:36:59 +02:00
Nikolay Sivov
f82cb70033
scrrun: Return float type size when signed I4 limit exceeded.
2014-05-20 21:26:56 +02:00
Nikolay Sivov
9d95788f12
scrrun: Return disk space as VT_I4 if it fits.
2014-05-19 09:55:03 +02:00
Nikolay Sivov
108c27313b
scrrun: Implement Count() property for file collection.
2014-05-19 09:54:54 +02:00
Nikolay Sivov
8595d70203
scrrun: Fix invalid read/write access to path buffer (Valgrind).
2014-05-05 19:23:07 +02:00
Nikolay Sivov
c50503d049
scrrun: Fix use-after-free of version info (Valgrind).
2014-05-05 19:22:59 +02:00
Nikolay Sivov
ba232c8f69
scrrun: Implement FreeSpace() for a drive.
2014-04-03 15:41:05 +02:00
Nikolay Sivov
cc8ceb5177
scrrun: Implement Read().
2014-04-03 15:41:03 +02:00
Nikolay Sivov
c927336c5a
scrrun: Implement ReadAll().
2014-04-03 15:41:00 +02:00
Nikolay Sivov
c824cfa08c
scrrun: Implement DriveLetter property for a drive.
2014-03-31 11:44:45 +02:00
Nikolay Sivov
61a3bd3302
scrrun: Implement AvailableSpace property for a drive.
2014-03-31 11:44:42 +02:00
Nikolay Sivov
2377fc099d
scrrun: Implement TotalSize property for a drive.
2014-03-31 11:44:39 +02:00
Nikolay Sivov
f6efe2268b
scrrun: Added IsReady property for a drive.
2014-03-31 11:44:34 +02:00
Nikolay Sivov
c3f5fc58bd
scrrun: Fix a find handle leak (Coverity).
2014-03-25 10:56:44 +01:00
Nikolay Sivov
293bae153d
scrrun: Close find handle on error (Coverity).
2014-03-25 10:56:41 +01:00