Commit Graph

123 Commits

Author SHA1 Message Date
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
2b628405cd scrrun/tests: Fix tests to depend on current codepage. 2014-05-19 09:54:44 +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
Nikolay Sivov
f674ddee28 scrrun: Implement OpenAsTextStream(). 2014-03-24 11:43:20 +01:00
Nikolay Sivov
40e23cde9e scrrun/tests: Update idl file in tests. 2014-03-20 10:43:34 +01:00
Nikolay Sivov
038438ad69 scrrun: Implemented AtEndOfStream() property. 2014-03-19 11:33:15 +01:00
Nikolay Sivov
18c350ae22 idl: Remove 'optional' for 'defaultvalue' non-VARIANT arguments. 2014-03-19 10:41:31 +01:00
Nikolay Sivov
abcffadbf1 scrrun: Implement WriteLine/Write for ITextStream. 2014-03-18 11:41:52 +01:00
Nikolay Sivov
63db2d2e92 scrrun: Implement CreateTextFile(). 2014-03-17 17:34:11 +01:00
Nikolay Sivov
eebf9c6b82 scrrun: Implement Path() property for Folder. 2014-03-12 10:22:32 +01:00
Nikolay Sivov
1e46f605c5 scrrun: Initialize find handle for file collection. 2014-03-11 19:39:25 +01:00
Nikolay Sivov
1510a11d89 scrrun: Remove unneeded forward interface definitions from idl. 2014-03-11 10:28:01 +01:00
Nikolay Sivov
863a761426 scrrun: Implement Count() property for drive collection. 2014-03-11 10:27:42 +01:00
Nikolay Sivov
a30a2abbc4 scrrun: Implement Skip() for drive collection. 2014-03-11 10:27:38 +01:00
Nikolay Sivov
b2a8a0893f scrrun/tests: Use a writable location for folder creation test. 2014-03-10 12:16:58 +01:00
Nikolay Sivov
fac1c0d25b scrrun: Fix Skip() for file collection. 2014-03-10 10:46:46 +01:00
Nikolay Sivov
a9a2c9b539 scrrun: Fix Next() for file collection. 2014-03-10 10:46:45 +01:00
Nikolay Sivov
17c4c1bef5 scrrun: Implement DriveType property of IDrive. 2014-02-25 14:24:47 -06:00
Nikolay Sivov
b8e78f3234 scrrun: Added IDrive stub and Next() for drive collection. 2014-02-25 14:24:36 -06:00
Nikolay Sivov
6824cae6e7 scrrun: Added a IEnumVARIANT stub for IDriveCollection. 2014-02-24 09:09:49 -06:00
Nikolay Sivov
8a7795407c scrrun: Added a IDriveCollection stub. 2014-02-24 09:09:33 -06:00
Dmitry Timoshkov
c47ba3a425 scrrun: Fix a file enumeration handle leak. 2014-02-11 19:19:15 +01:00
Dmitry Timoshkov
173233cfe3 scrrun: Move the counter check into the code block where counter is actually incremented. 2014-02-11 19:19:14 +01:00
Dmitry Timoshkov
3a914b92fb scrrun/tests: Add more tests for IFileCollection using a dedicated temporary directory. 2014-02-06 17:08:29 +01:00
Dmitry Timoshkov
5a14d9e1e3 scrrun: Fix file object leak on destruction. 2014-01-30 12:42:55 +01:00
Dmitry Timoshkov
e526f120a9 scrrun: Make file and folder collection constructors static. 2014-01-30 12:42:55 +01:00
Dmitry Timoshkov
553078161d scrrun: IEnumVARIANT::Next should stop once it has enumerated the asked number the folder elements. 2014-01-29 14:51:02 +01:00
Dmitry Timoshkov
f5279ad37d scrrun: IEnumVARIANT::Next should always return number of fetched folder elements. 2014-01-29 14:51:02 +01:00
Dmitry Timoshkov
8f69ecdff7 scrrun: IEnumVARIANT::Next should handle FindNextFileW failure. 2014-01-29 14:51:01 +01:00
Dmitry Timoshkov
6da1993129 scrrun: IEnumVARIANT::Next shouldn't fetch anything if asked number of folder elements is 0. 2014-01-29 14:51:00 +01:00
Dmitry Timoshkov
758ebb2121 scrrun: IEnumVARIANT::Skip shouldn't skip anything if asked number of folder elements is 0. 2014-01-29 14:50:59 +01:00
Dmitry Timoshkov
eb2abf262c scrrun: Make IEnumVARIANT::Skip work after IEnumVARIANT::Reset for a folder collection. 2014-01-29 14:50:58 +01:00
Dmitry Timoshkov
bd25ef789c scrrun: Make IFolderCollection::get_Count use is_dir_data() helper. 2014-01-29 14:50:57 +01:00
Dmitry Timoshkov
9c6deb2b72 scrrun/tests: Add more tests for IFolderCollection using a dedicated temporary directory. 2014-01-29 14:50:57 +01:00
Nikolay Sivov
fac0d13ee7 scrrun: Fill find data on second Next() call before testing it. 2014-01-08 11:11:58 +01:00
Nikolay Sivov
c813ae2230 scrrun: Implement Clone() for file collection. 2014-01-08 11:11:54 +01:00