History log of /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ca976c3efb1b9c7bcd75339abb3d554abe6b9179 13-Feb-2017 Paolo Bonzini <pbonzini@redhat.com> VfrCompile: fix invalid comparison between pointer and integer

This would be valid C but is not valid C++, so change the comparison to do what it has always been doing.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
0d46defefa871d0b9583dfc4cb1985a5b0835ada 27-Sep-2016 Hao Wu <hao.a.wu@intel.com> BaseTools/VfrCompile: Add assignment operator definition for some classes

For class that defines the copy constructor, it is better to add the
assignment operator definition as well.

This commit adds the definition for assignment operator for the classes
with the copy constructor defined.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
fd5425230ed22872126b52f22a7294e352ca3349 27-Sep-2016 Hao Wu <hao.a.wu@intel.com> BaseTools/VfrCompile: Avoid freeing memory with mismatched functions

Memory allocated by operator new[] should be freed using delete[] to avoid
possible memory leak.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
bab5ad2fd14bf8d1e9e688327a11136c8bfb523e 11-Oct-2016 Hao Wu <hao.a.wu@intel.com> BaseTools/VfrCompile: Add checks for array access

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
61eb9834a30299f506e61deef6337dc77c726517 11-Oct-2016 Hao Wu <hao.a.wu@intel.com> BaseTools/VfrCompile: Initialize local variables before being used

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
9b78c54a09280ca852130b3ef76272a5d31d5035 11-Oct-2016 Hao Wu <hao.a.wu@intel.com> BaseTools/VfrCompile: Avoid possible NULL pointer dereference

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
74bbe31b8d485da26ec7ffad5e78b8384a9eb9a5 01-Aug-2016 Dandan Bi <dandan.bi@intel.com> BaseTools/VfrCompile: Add two new option for VfrCompile

1.--autodefault option
VfrCompile will generate default opcodes for questions if some
default are missing.
2 --checkdefault option
VfrCompile will check whether every question has no default or
has all default. If not, will generate an error to let user know
the question misses default.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
ddaf640f507314440ec68c2a2370b6bb9b6a8580 06-May-2015 Eric Dong <eric.dong@intel.com> BaseTools: Enable buffer type value for default and oneofoption opcode.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17335 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
1be2ed90a20618d71ddf34b8a07d038da0b36854 15-Aug-2014 Hess Chen <hesheng.chen@intel.com> There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <hesheng.chen@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15809 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
e8a47801a1dfdb148b1bfcd5bdc8ebc3bf51f92d 18-Nov-2013 Liming Gao <liming.gao@intel.com> Sync BaseTool trunk (version r2610) into EDKII BaseTools.

Signed-off-by: Liming Gao <liming.gao@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14856 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
4afd3d042215afe68d00b9ab8c32f063a3a1c03f 23-Aug-2013 Liming Gao <liming.gao@intel.com> Sync BaseTool trunk (version r2599) into EDKII BaseTools.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Heshen Chen <chen.heshen@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14591 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
64b2609fcff9d6412eea4c74c8e74bed33dc3235 10-Apr-2012 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Sync BaseTools Trunk (version r2518) to EDKII main trunk.

Signed-off-by: Liming Gao <liming.gao@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13178 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
4234283c3acb8c35014acc1546621fbc2621b095 26-Aug-2011 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Sync BaseTools Branch (version r2271) to EDKII main trunk.

BaseTool Branch:
https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100

Signed-off-by: lgao4
Reviewed-by: hchen30

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12214 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
da92f27632d2c89fa8726948ac9b02461ca8b61e 11-May-2011 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Sync BaseTools Branch (version r2149) to EDKII main trunk.

BaseTool Branch:
https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11640 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
40d841f6a8f84e75409178e19e69b95e01bada0f 18-May-2010 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Sync EDKII BaseTools to BaseTools project r1971

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
52302d4dee589a5df43a464420c9fe68ba83937d 01-Mar-2010 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Sync EDKII BaseTools to BaseTools project r1903.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10123 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
fd171542e0aa89ac12a09d79608173f48019b14b 11-Sep-2009 vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> Sync basetools' source and binary files with r1707 of the basetools project.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
df1780f8bf5e726a1ddf0e7459d462cf06bfa672 17-Jul-2009 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Fix VfrCompiler bug to create varstore name by varstore name field not structure field for framework Vfr.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8968 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
30fdf1140b8d1ce93f3821d986fa165552023440 17-Jul-2009 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Check In tool source code based on Build tool project revision r1655.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp