<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Source/Python/GenFds/GuidSection.py, branch trunk</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2024-06-04T03:43:08+00:00</updated>
<entry>
<title>Renormalized end-of-lines from master@27b044605cd5f6b33a3d231576003850b3fe305b</title>
<updated>2024-06-04T03:43:08+00:00</updated>
<author>
<name>kx</name>
<email>kx@radix.pro</email>
</author>
<published>2024-06-04T03:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7e2ccccace24636f29ddc210b94606abd4c7e42b'/>
<id>urn:sha1:7e2ccccace24636f29ddc210b94606abd4c7e42b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BaseTools:change some incorrect parameter defaults</title>
<updated>2019-09-17T02:18:51+00:00</updated>
<author>
<name>Fan, ZhijuX</name>
<email>zhijux.fan@intel.com</email>
</author>
<published>2019-09-12T08:18:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e32f7bc96dc8db7af0c1c532e4990c9a36a12354'/>
<id>urn:sha1:e32f7bc96dc8db7af0c1c532e4990c9a36a12354</id>
<content type='text'>
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1858

for Dict={},There are pitfalls in the way this default parameter is set
and Dict is not used in functions, other functions have these two cases,
I will change some incorrect parameter defaults

This patch is going to fix this issue

Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Signed-off-by: Zhiju.Fan &lt;zhijux.fan@intel.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T16:10:20+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:03:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2e351cbe8e190271b3716284fc1076551d005472'/>
<id>urn:sha1:2e351cbe8e190271b3716284fc1076551d005472</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: fix imports</title>
<updated>2019-01-10T14:01:11+00:00</updated>
<author>
<name>Carsey, Jaben</name>
<email>jaben.carsey@intel.com</email>
</author>
<published>2019-01-09T19:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=938cf4c33a0695ef1011b07e455a7ec2f87b5ad3'/>
<id>urn:sha1:938cf4c33a0695ef1011b07e455a7ec2f87b5ad3</id>
<content type='text'>
1 - Some of these imports are cascaded from another file. Import them locally.
2 - Some of these imports are not used. Remove them.
3 - Some of these were missing the namespace used to import them.

These changes facilitate optimization of BaseTools:
https://bugzilla.tianocore.org/show_bug.cgi?id=42

Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/GenFds: cleanup GenFds</title>
<updated>2018-10-25T12:14:49+00:00</updated>
<author>
<name>Carsey, Jaben</name>
<email>jaben.carsey@intel.com</email>
</author>
<published>2018-10-23T17:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9e47e6f90880e090cd81f585abd7a6c553fbce10'/>
<id>urn:sha1:9e47e6f90880e090cd81f585abd7a6c553fbce10</id>
<content type='text'>
1) remove wildcard imports and use explicit imports
2) refactor to use shared variables from Common/DataType
3) rename to not shadow imports
4) don't assign a variable in a loop (just do final assignment)
5) remove spaces, parens, unused or commented out code, etc.
6) merge unnecessary parent classes into child
7) refactor to share DXE and PEI apriori GUIDs from one place
  this includes changes to Build and EOT files
8) for PEP8, dont use __ for custom methods.

Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Bob C Feng &lt;bob.c.feng@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
Reviewed-by: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
</content>
</entry>
<entry>
<title>Revert BaseTools: PYTHON3 migration</title>
<updated>2018-10-15T00:29:14+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2018-10-15T00:27:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1ccc4d895dd8d659d016efcd6ef8a48749aba1d0'/>
<id>urn:sha1:1ccc4d895dd8d659d016efcd6ef8a48749aba1d0</id>
<content type='text'>
This reverts commit 6693f359b3c213513c5096a06c6f67244a44dc52..
678f85131238622e576705117e299d81cff755c9.

Python3 migration is the fundamental change. It requires every developer
to install Python3. Before this migration, the well communication and wide
verification must be done. But now, most people is not aware of this change,
and not try it. So, Python3 migration is reverted and be moved to edk2-staging
Python3 branch for the edk2 user evaluation.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Remove the "from __future__ import" items</title>
<updated>2018-10-13T01:50:40+00:00</updated>
<author>
<name>Yunhua Feng</name>
<email>yunhuax.feng@intel.com</email>
</author>
<published>2018-09-21T07:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=487062c048809420de1b008bc9d17815a8c4fbdb'/>
<id>urn:sha1:487062c048809420de1b008bc9d17815a8c4fbdb</id>
<content type='text'>
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng &lt;yunhuax.feng@intel.com&gt;
Reviewed-by: Liming Gao &lt;liming.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Move FindExtendTool to GenFdsGlobalVariable.py</title>
<updated>2018-07-16T03:22:14+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2018-07-13T10:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=89a69d4b643803d0b52945ca0620376e79f51ed7'/>
<id>urn:sha1:89a69d4b643803d0b52945ca0620376e79f51ed7</id>
<content type='text'>
Importing "FindExtendTool" from GenFds.GenFds could create the following
circular imports:

* GenFds.FdfParser =&gt; GenFds.Capsule =&gt; GenFds.GenFds =&gt; GenFds.FdfParser
* GenFds.FdfParser =&gt; GenFds.Fd =&gt; GenFds.Fv =&gt; GenFds.AprioriSection =&gt;
  GenFds.FfsFileStatement =&gt; GenFds.GuidSection =&gt; GenFds.GenFds =&gt;
  GenFds.FdfParser

This commit moves "FindExtendTool" to GenFdsGlobalVariable.py to break
the circles. Besides, FindExtendTool is tweaked slightly with the
following changes:

ToolDefClassObject.ToolDefDict =&gt; ToolDefDict
TAB_GUID =&gt; DataType.TAB_GUID
TAB_TOD_DEFINES_TARGET =&gt; DataType.TAB_TOD_DEFINES_TARGET
TAB_TOD_DEFINES_TOOL_CHAIN_TAG =&gt; DataType.TAB_TOD_DEFINES_TOOL_CHAIN_TAG
TAB_TOD_DEFINES_TARGET_ARCH =&gt; DataType.TAB_TOD_DEFINES_TARGET_ARCH

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
Reviewed-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Use absolute import in GenFds</title>
<updated>2018-07-16T03:22:13+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2018-07-13T10:18:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=bfa65b61dde887a9586e070101202bd37e3221fd'/>
<id>urn:sha1:bfa65b61dde887a9586e070101202bd37e3221fd</id>
<content type='text'>
Based on "futurize -f libfuturize.fixes.fix_absolute_import"

Since circular import is not allowed after adopting absolute import, the
following changes are applied to break the circles.

* BaseTools/Source/Python/GenFds/Capsule.py
  - Delay "from .GenFds import GenFds" until GenCapsule()
  - Delay "from .GenFds import FindExtendTool" until GenFmpCapsule()
  To break the circle:
  AutoGen.AutoGen =&gt; GenFds.FdfParser =&gt; GenFds.Capsule =&gt; GenFds.GenFds =&gt;
  GenFds.FdfParser

* BaseTools/Source/Python/GenFds/Fd.py
  - Delay "from .GenFds import GenFds" until GenFd()
  To break the circle:
  AutoGen.AutoGen =&gt; GenFds.FdfParser =&gt; GenFds.Fd =&gt; GenFds.GenFds =&gt;
  GenFds.FdfParser

* BaseTools/Source/Python/GenFds/Fv.py
  - Delay "from .GenFds import GenFds" until AddToBuffer()
  To break the circle:
  AutoGen.AutoGen =&gt; GenFds.FdfParser =&gt; GenFds.Fd =&gt; GenFds.Fv =&gt;
  GenFds.GenFds =&gt; GenFds.FdfParser

* BaseTools/Source/Python/GenFds/GuidSection.py
  - Delay "from .GenFds import FindExtendTool" until GuidSection()
  To break the circle:
  AutoGen.AutoGen =&gt; GenFds.FdfParser =&gt; GenFds.Fd =&gt; GenFds.Fv =&gt;
  GenFds.AprioriSection =&gt; GenFds.FfsFileStatement =&gt; GenFds.GuidSection =&gt;
  GenFds.GenFds =&gt; GenFds.FdfParser

* BaseTools/Source/Python/GenFds/OptRomInfStatement.py
  - Delay "from . import OptionRom" until __GetOptRomParams()
  To break the circle:
  AutoGen.AutoGen =&gt; GenFds.FdfParser =&gt; GenFds.OptionRom =&gt;
  GenFds.OptRomInfStatement =&gt; GenFds.OptionRom

* BaseTools/Source/Python/GenFds/OptionRom.py
  - Remove the unused "from GenFds import GenFds"
  To break the circle:
  AutoGen.AutoGen =&gt; GenFds.FdfParser =&gt; GenFds.OptionRom =&gt;
  GenFds.GenFds =&gt; GenFds.FdfParser

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
Reviewed-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Clean up source files</title>
<updated>2018-07-09T02:25:47+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2018-07-05T09:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f7496d717357b9af78414d19679b073403812340'/>
<id>urn:sha1:f7496d717357b9af78414d19679b073403812340</id>
<content type='text'>
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Reviewed-by: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
</content>
</entry>
</feed>
