Version 3 drops the Validate() function from the public API, introduces
the PcdValidateOrderedCollection feature flag instead, and internalizes
the validity checks in the library instance(s). Kudos to Mike for the
improvement in design. The unit tester in AppPkg has been rebased to the
PCD.

Changes are described per-patch in the notes sections as usual.

Retested with the unit tester script that I had generated for, and saved
from, version 2; debug output is unchanged.

Public branch: <https://github.com/lersek/edk2/commits/rbtree_v3>.

Laszlo Ersek (3):
  MdePkg: introduce OrderedCollectionLib library class
  MdePkg: introduce BaseOrderedCollectionRedBlackTreeLib library
    instance
  AppPkg: introduce OrderedCollectionTest

 .../OrderedCollectionTest.inf                      |   42 +
 .../BaseOrderedCollectionRedBlackTreeLib.inf       |   49 +
 MdePkg/Include/Library/OrderedCollectionLib.h      |  425 ++++++
 .../OrderedCollectionTest/OrderedCollectionTest.c  |  655 +++++++++
 .../BaseOrderedCollectionRedBlackTreeLib.c         | 1439 ++++++++++++++++++++
 AppPkg/AppPkg.dsc                                  |   14 +
 .../Applications/OrderedCollectionTest/gentest.sh  |   86 ++
 AppPkg/ReadMe.txt                                  |    6 +
 MdePkg/MdePkg.dec                                  |    9 +
 MdePkg/MdePkg.dsc                                  |    1 +
 10 files changed, 2726 insertions(+)
 create mode 100644 
AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf
 create mode 100644 
MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
 create mode 100644 MdePkg/Include/Library/OrderedCollectionLib.h
 create mode 100644 
AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.c
 create mode 100644 
MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.c
 create mode 100644 AppPkg/Applications/OrderedCollectionTest/gentest.sh

-- 
1.8.3.1


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to