Age | Commit message (Collapse) | Author |
|
Apply UEFI-specific changes to files to make them equivalent to the Python 2.7.2 versions.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
---
AppPkg/AppPkg.dsc | 5 +-
.../Python/Python-2.7.10/Ia32/pyconfig.h | 93 ++++++++----
.../Python-2.7.10/PyMod-2.7.10/Lib/ntpath.py | 30 +++-
.../Python/Python-2.7.10/PyMod-2.7.10/Lib/os.py | 35 ++++-
.../Python/Python-2.7.10/PyMod-2.7.10/Lib/pydoc.py | 17 +++
.../Python/Python-2.7.10/PyMod-2.7.10/Lib/site.py | 165 ++++++---------------
.../Python-2.7.10/PyMod-2.7.10/Modules/_sre.c | 150 ++++++++++---------
.../Python-2.7.10/PyMod-2.7.10/Modules/addrinfo.h | 101 +++++++------
.../PyMod-2.7.10/Modules/errnomodule.c | 57 ++++++-
.../PyMod-2.7.10/Modules/expat/expat_external.h | 4 +-
.../Python-2.7.10/PyMod-2.7.10/Modules/getpath.c | 143 +++++-------------
.../Python-2.7.10/PyMod-2.7.10/Modules/main.c | 61 ++++----
.../PyMod-2.7.10/Modules/selectmodule.c | 43 ++++--
.../PyMod-2.7.10/Modules/zlib/gzguts.h | 10 +-
.../PyMod-2.7.10/Modules/zlib/zutil.h | 11 +-
.../PyMod-2.7.10/Objects/longobject.c | 14 +-
.../PyMod-2.7.10/Objects/stringlib/localeutil.h | 17 ++-
.../PyMod-2.7.10/Python/getcopyright.c | 24 ++-
.../Python-2.7.10/PyMod-2.7.10/Python/marshal.c | 21 ++-
.../Python-2.7.10/PyMod-2.7.10/Python/random.c | 32 +++-
.../Python/Python-2.7.10/X64/pyconfig.h | 63 ++++++--
21 files changed, 640 insertions(+), 456 deletions(-)
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19462 6f19259b-4bc3-4df7-8a09-765794883524
|
|
Add copyright message.
Add some blank lines.
Remove a superfluous call to setup_confname_tables(m) from INITFUNC().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19461 6f19259b-4bc3-4df7-8a09-765794883524
|
|
Rename identifiers to have an edk2_ prefix instead of posix_ in order to
conform to the convention used in other environment-specific Python modules.
This also makes the names match the module instead of implying that these are
Posix compatible routines.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19460 6f19259b-4bc3-4df7-8a09-765794883524
|
|
Remove sections of conditional code that are not relevant to the
EDK II or UEFI environments.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19459 6f19259b-4bc3-4df7-8a09-765794883524
|
|
New files libprep.bat and srcprep.bat.
These scripts make it easier to set up the source tree and the target system's
library directory by automating the required file copy operations.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19458 6f19259b-4bc3-4df7-8a09-765794883524
|
|
Files Py2710ReadMe.txt and Python2710.inf, modified from the corresponding
Python-2.7.2 files for use with Python-2.7.10.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19457 6f19259b-4bc3-4df7-8a09-765794883524
|
|
These files are candidates for modification during the port to EDK II.
The following files were copied, unchanged, from the Python 2.7.2 port.
Ia32/pyconfig.h
X64/pyconfig.h
PyMod-2.7.10/Modules/config.c
PyMod-2.7.10/Modules/edk2module.c
Py2710ReadMe.txt // Copied from PythonReadMe.txt
Python2710.inf // Copied from PythonCore.inf
The remaining files were copied, unchanged, from the cPython 2.7.10 distribution.
These files are unchanged and set the baseline for subsequent commits.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18741 6f19259b-4bc3-4df7-8a09-765794883524
|
|
The Lib directory from the cPython 2.7.10 distribution.
These files are unchanged and set the baseline for subsequent commits.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18740 6f19259b-4bc3-4df7-8a09-765794883524
|
|
The Objects directory from the cPython 2.7.10 distribution, along with the LICENSE and README files. These files are unchanged and set the baseline for subsequent commits.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18739 6f19259b-4bc3-4df7-8a09-765794883524
|
|
The Modules directory from the cPython 2.7.10 distribution.
These files are unchanged and set the baseline for subsequent commits.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18738 6f19259b-4bc3-4df7-8a09-765794883524
|
|
The Include, Parser, and Python directories from the cPython 2.7.10 distribution.
These files are unchanged and set the baseline for subsequent commits.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18737 6f19259b-4bc3-4df7-8a09-765794883524
|