Commit Graph

186 Commits

Author SHA1 Message Date
Nikolay Sivov 2fc2a7ae02 scrrun: Implement HashVal property for integer keys. 2015-02-25 16:18:34 +09:00
Nikolay Sivov 37120e7582 scrrun: Implement HashVal property for VT_BSTR case. 2015-02-25 16:18:34 +09:00
Nikolay Sivov 075fe10ba5 scrrun: Store compare method for dictionary. 2015-02-24 21:55:49 +09:00
Michael Stefaniuc f0d7765236 scrrun/tests: Actually test the return values (PVS-Studio). 2015-01-21 15:29:06 +01:00
Nikolay Sivov c1a3a1d516 scrrun: Fix refcount on GetTypeInfo(). 2015-01-14 18:32:03 +01:00
Detlef Riekenberg 89bc84a153 scrrun/tests: Ignore case in path names. 2014-11-20 22:31:49 +09:00
Gerald Pfeifer 3b8e7d4dac scrrun: Add a check for empty string in start_enumeration. 2014-07-29 14:32:04 -05:00
Alexandre Julliard b27735e807 scrrun/tests: Allow the drive total size to fit into an int. 2014-07-24 21:13:53 +02:00
Nikolay Sivov ffe16a567e scrrun/tests: Run test on fixed drive. 2014-06-27 10:37:15 +02: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 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
Nikolay Sivov 844aa7959e scrrun: Implement Clone() for folder collection. 2014-01-08 11:11:51 +01:00
Nikolay Sivov c1b7a075ca scrrun: Store collection pointer directly in IEnumVARIANT data. 2014-01-08 11:11:47 +01:00
Nikolay Sivov 64c93f6070 scrrun: Implement Skip() for file and folder collections. 2014-01-08 11:11:42 +01:00
Nikolay Sivov 3ee9f2407b scrrun: Implement Name() property for File. 2014-01-07 10:42:23 +01:00
Nikolay Sivov 6dbc8195a0 scrrun: Implement Reset() for file collection. 2014-01-07 10:42:21 +01:00
Nikolay Sivov 308f1144ac scrrun: Implement Next() for file collection. 2014-01-07 10:42:17 +01:00
Nikolay Sivov 0920a3296e scrrun: Added stub NewEnum support for IFileCollection. 2014-01-07 10:42:12 +01:00
Nikolay Sivov 07ded6bb36 scrrun: Added IFileCollection stub. 2014-01-06 17:03:06 +01:00
Nikolay Sivov 42d2b51992 scrrun: Implement Name() property for Folder. 2014-01-06 17:01:17 +01:00
Nikolay Sivov b99b69aac2 scrrun: Implement Next() for folder collection. 2014-01-06 17:00:24 +01:00
Nikolay Sivov 3cc34a5bf8 scrrun: Implement Reset() for folder collection. 2014-01-03 14:27:35 +01:00
Nikolay Sivov 47e1ac9f98 scrrun: Implement IEnumVARIANT stub for folder collection. 2014-01-03 14:27:33 +01:00
Nikolay Sivov 51f5ab1999 scrrun: Implement Count() property for folder collection. 2014-01-03 14:05:21 +01:00
Nikolay Sivov 0802e301ff scrrun: Fix IFolder::QueryInterface() to respond to IDispatch query. 2014-01-03 14:05:19 +01:00
Nikolay Sivov 2a3f1560bb scrrun: Added IFolderCollection stub. 2014-01-03 14:05:16 +01:00
Nikolay Sivov c84189609d scrrun: Use DISPID_VALUE instead of 0 in private idl. 2014-01-03 14:05:14 +01:00
Nikolay Sivov f76f34ca23 scrrun: Implement GetFolder(). 2014-01-02 19:35:49 +01:00
Nikolay Sivov 2ca39611e1 scrrun: Store folder path. 2014-01-02 19:35:49 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard e03bfb482f scrrun: Add missing ITextStream id. 2013-12-30 19:01:54 +01:00
Frédéric Delanoy fe7f9e5fbb scrrun/tests: Constify a character string. 2013-12-30 19:01:37 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Frédéric Delanoy a0a1a5fca5 scrrun: Constify a character string. 2013-12-18 11:39:32 +01:00
Alexandre Julliard ca41acc1f9 makefiles: Automatically update the IDL_H_SRCS variable. 2013-12-15 10:23:06 +01:00
Frédéric Delanoy cfe12f9666 scrrun: Use BOOL type where appropriate. 2013-11-21 13:36:21 +01:00
Nikolay Sivov 70bb23a9ac scrrun: Implement BuildPath method. 2013-11-18 11:18:12 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Detlef Riekenberg 25bca2ede4 scrrun/tests: Ignore case in path names. 2013-09-03 20:05:12 +02:00
Marcus Meissner 1cefdf3f66 scrrun: Added missing FindClose in error case (Coverity). 2013-08-19 12:53:20 +02:00
Piotr Caban ec7ebd358d scrrun: Fix IFileSystem3::GetAbsolutePathName tests failures. 2013-08-01 16:28:29 +02:00
Piotr Caban 12d3741200 scrrun: Fix IFile::get_Attributes tests and implementation. 2013-08-01 16:28:23 +02:00
Piotr Caban f4e4a608cc scrrun/tests: Add IFilesystem3::CopyFolder tests. 2013-07-30 14:43:35 +02:00
Piotr Caban a20c9738ee scrrun: Add IFileSystem3::CopyFolder implementation. 2013-07-30 14:43:35 +02:00
Piotr Caban 63ef4c851b scrrun: Add IFileSystem3::CopyFile implementation. 2013-07-30 14:43:35 +02:00
Piotr Caban b1af25b056 scrrun: Add IFileSystem3::DeleteFolder implementation. 2013-07-30 14:43:35 +02:00