Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Safearrays! #145

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
be738b0
Start of basic safearray_t type
Aug 3, 2020
5a0f800
Started fleshing out access data class
Aug 5, 2020
345d564
Added array index operators and some other goodness
Aug 6, 2020
57f39f8
Renamed Traits Class
Aug 6, 2020
72f7832
Basic implementation of safearray_t, safearray_data_t, and some unit …
Aug 12, 2020
961d0cd
Added copy() operation for exception based classes
Aug 12, 2020
c3a930b
Got Access Data working
Aug 13, 2020
dae0f55
Added element type to safearray_t which can be set to VOID and SFINAE…
Aug 14, 2020
0724528
Created way to run tests against many safearray types. Cleaned up th…
Aug 14, 2020
6453ccf
More Progress
Aug 15, 2020
89d5650
Set up Access Data functionality and implemented sample data for unit…
Aug 16, 2020
3831e47
I guess it's progress
Aug 17, 2020
048e108
Finished most of the test harness
Aug 18, 2020
3428971
Fixed Tests
Aug 18, 2020
bbd9e1d
Lots of progress but the safearraydata_t type is all wrong because th…
Aug 18, 2020
b4814bb
Everything is working. All the unit tests pass. All the syntax work…
Aug 19, 2020
331893c
Code Cleanup
Aug 19, 2020
d7c4d8c
Made changes to make clang happy
Aug 22, 2020
b7b4ea8
Rollback changes to gitignore
Aug 22, 2020
bec3d8e
Revert "Made changes to make clang happy"
Aug 22, 2020
0d7e4f4
Some feedback from the PR:
Aug 23, 2020
2cd1322
Renamed new file to be all lower case
Aug 23, 2020
0be49fb
Added lots of documentation and examples
Aug 23, 2020
f4d36c1
Make Clang Happy
Aug 24, 2020
22da04b
Suggested changes from the PR:
Sep 1, 2020
1962a22
More feedback from the PR
Sep 1, 2020
051548e
More feedback from the PR
Sep 1, 2020
c90a90c
Changes to accomodate clang
Sep 1, 2020
3d0c2f1
1) Re-Ordered Headers so that "OleAuto.h is before "resource.h"
Sep 2, 2020
fc9e81d
Remove some moves that aren't necessary and may inhibit the optimizer
Sep 8, 2020
cea4e55
Correct Sample Code
dwcullop Sep 14, 2020
4a75daf
Correct Sample Code
dwcullop Sep 14, 2020
74e339b
Merge branch 'user/dwcullop/safearrays' of https://github.com/dwcullo…
Sep 16, 2020
dd677c7
Merge remote-tracking branch 'origin/master' into user/dwcullop/safea…
May 31, 2023
7e48ee2
Merge from master
dwcullop Oct 3, 2023
804a529
Merge branch 'master' into user/dwcullop/safearrays
dwcullop Dec 2, 2023
e1fa2f4
Merge branch 'master' into user/dwcullop/safearrays
dunhor Feb 22, 2024
326e7a1
Fix comment
dwcullop Mar 3, 2024
48cd647
Update include/wil/safearrays.h
dwcullop Aug 16, 2024
2181416
Merge branch 'master' into user/dwcullop/safearrays
dwcullop Aug 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,105 changes: 1,105 additions & 0 deletions include/wil/safearrays.h

Large diffs are not rendered by default.

1,574 changes: 1,574 additions & 0 deletions tests/SafearrayTests.cpp

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ target_compile_definitions(witest.app PRIVATE

target_sources(witest.app PRIVATE
${COMMON_SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/../SafearrayTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../StlTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../UniqueWinRTEventTokenTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../WinRTTests.cpp
Expand Down
1 change: 1 addition & 0 deletions tests/cpplatest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ target_sources(witest.cpplatest PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/../CppWinRTTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../CppWinRT20Tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../CppWinRTAuthoringTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../SafearrayTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../StlTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../TokenHelpersTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../UniqueWinRTEventTokenTests.cpp
Expand Down
1 change: 1 addition & 0 deletions tests/noexcept/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ endif()
target_sources(witest.noexcept PRIVATE
${COMMON_SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/../RegistryTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../SafearrayTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../TokenHelpersTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../UniqueWinRTEventTokenTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../WatcherTests.cpp
Expand Down
1 change: 1 addition & 0 deletions tests/normal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ target_precompile_headers(witest PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../pch.h)
target_sources(witest PRIVATE
${COMMON_SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/../RegistryTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../SafearrayTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../StlTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../TokenHelpersTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../UniqueWinRTEventTokenTests.cpp
Expand Down
1 change: 1 addition & 0 deletions tests/win7/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ target_compile_definitions(witest.win7 PRIVATE
target_sources(witest.win7 PRIVATE
${COMMON_SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/../RegistryTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../SafearrayTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../StlTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../TokenHelpersTests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../WatcherTests.cpp
Expand Down
Loading