diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4581c11 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "kdlibcpp"] + path = kdlibcpp + url = https://githomelab.ru/kdlibcpp/kdlibcpp.git diff --git a/.nuget/NuGet.Config b/.nuget/NuGet.Config new file mode 100644 index 0000000..6a318ad --- /dev/null +++ b/.nuget/NuGet.Config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.nuget/NuGet.exe b/.nuget/NuGet.exe new file mode 100644 index 0000000..8dd7e45 Binary files /dev/null and b/.nuget/NuGet.exe differ diff --git a/.nuget/NuGet.targets b/.nuget/NuGet.targets new file mode 100644 index 0000000..428c8da --- /dev/null +++ b/.nuget/NuGet.targets @@ -0,0 +1,144 @@ + + + + $(MSBuildProjectDirectory)\..\ + + + false + + + false + + + true + + + false + + + + + + + + + + + $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) + + + + + $(SolutionDir).nuget + + + + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + + + + $(MSBuildProjectDirectory)\packages.config + $(PackagesProjectConfig) + + + + + $(NuGetToolsPath)\NuGet.exe + @(PackageSource) + + "$(NuGetExePath)" + mono --runtime=v4.0.30319 "$(NuGetExePath)" + + $(TargetDir.Trim('\\')) + + -RequireConsent + -NonInteractive + + "$(SolutionDir) " + "$(SolutionDir)" + + + $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) + $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols + + + + RestorePackages; + $(BuildDependsOn); + + + + + $(BuildDependsOn); + BuildPackage; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.nuget/packages.config b/.nuget/packages.config new file mode 100644 index 0000000..2667fb0 --- /dev/null +++ b/.nuget/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/kdlibcpp b/kdlibcpp new file mode 160000 index 0000000..76c8c89 --- /dev/null +++ b/kdlibcpp @@ -0,0 +1 @@ +Subproject commit 76c8c895ba570c7eb79f6df91954fd3c6cd28f6f diff --git a/pykd-0.3-2013.sln b/pykd-0.3-2013.sln index f3eee4b..d46d335 100644 --- a/pykd-0.3-2013.sln +++ b/pykd-0.3-2013.sln @@ -25,13 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{D1F122 .nuget\NuGet.Config = .nuget\NuGet.Config .nuget\NuGet.exe = .nuget\NuGet.exe .nuget\NuGet.targets = .nuget\NuGet.targets - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget (2)", ".nuget (2)", "{A13C500A-7AAF-4BDA-80F1-C59882D0AE58}" - ProjectSection(SolutionItems) = preProject - .nuget\NuGet.Config = .nuget\NuGet.Config - .nuget\NuGet.exe = .nuget\NuGet.exe - .nuget\NuGet.targets = .nuget\NuGet.targets + .nuget\packages.config = .nuget\packages.config EndProjectSection EndProject Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "pykdtest", "test\scripts\pykdtest.pyproj", "{3F0BE77E-19B0-4192-B432-44A25805BCB8}" @@ -43,14 +37,14 @@ Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "snippets", "snippets\snippe EndProject Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "setup", "setup\setup.pyproj", "{D78837DC-BF31-4FC4-88A5-7F2FADAFA795}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kdlib", "kdlibcpp\source\kdlib_vc120.vcxproj", "{3E9C538F-F060-4E86-AB7D-D44439615B63}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kdlib", "kdlibcpp\kdlib\source\kdlib_vc120.vcxproj", "{3E9C538F-F060-4E86-AB7D-D44439615B63}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pykd", "pykd\pykd_vc120.vcxproj", "{C4C45791-0201-4406-BC5C-A384B01E3BF5}" ProjectSection(ProjectDependencies) = postProject {0E4CC688-F2F5-499F-9C07-0F2CAEE0D3EF} = {0E4CC688-F2F5-499F-9C07-0F2CAEE0D3EF} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "targetapp", "kdlibcpp\tests\targetapp\targetapp_vc120.vcxproj", "{0E4CC688-F2F5-499F-9C07-0F2CAEE0D3EF}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "targetapp", "kdlibcpp\kdlib\tests\targetapp\targetapp_vc120.vcxproj", "{0E4CC688-F2F5-499F-9C07-0F2CAEE0D3EF}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pykd_ext", "pykd_bootstrapper\pykd_bootstrapper_vc120.vcxproj", "{CA0252CE-EF81-4DD8-A96F-A0E0E3644B7B}" EndProject diff --git a/pykd/pykd_vc120.vcxproj b/pykd/pykd_vc120.vcxproj index 3bc43ae..92ddd55 100644 --- a/pykd/pykd_vc120.vcxproj +++ b/pykd/pykd_vc120.vcxproj @@ -63,7 +63,7 @@ DynamicLibrary true Unicode - v120_xp + v120 2.7 MDd @@ -71,7 +71,7 @@ DynamicLibrary true Unicode - v120_xp + v120 3.5 MDd @@ -79,7 +79,7 @@ DynamicLibrary true Unicode - v120_xp + v120 3.6 MDd @@ -87,7 +87,7 @@ DynamicLibrary true Unicode - v120_xp + v120 2.7 MDd @@ -95,7 +95,7 @@ DynamicLibrary true Unicode - v120_xp + v120 3.5 MDd @@ -103,7 +103,7 @@ DynamicLibrary true Unicode - v120_xp + v120 3.6 MDd @@ -112,7 +112,7 @@ false true Unicode - v120_xp + v120 2.7 MT @@ -121,7 +121,7 @@ false true Unicode - v120_xp + v120 3.5 MT @@ -130,7 +130,7 @@ false true Unicode - v120_xp + v120 3.6 MT @@ -139,7 +139,7 @@ false true Unicode - v120_xp + v120 2.7 MT @@ -148,7 +148,7 @@ false true Unicode - v120_xp + v120 3.5 MT @@ -157,7 +157,7 @@ false true Unicode - v120_xp + v120 3.6 MT @@ -311,7 +311,7 @@ Level3 Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include; + $(SolutionDir)\kdlibcpp\kdlib\include; MultiThreadedDebugDLL @@ -334,7 +334,7 @@ Level3 Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include; + $(SolutionDir)\kdlibcpp\kdlib\include; Windows @@ -356,7 +356,7 @@ Level3 Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include; + $(SolutionDir)\kdlibcpp\kdlib\include; Windows @@ -378,7 +378,7 @@ Level3 Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include; + $(SolutionDir)\kdlibcpp\kdlib\include; Windows @@ -400,7 +400,7 @@ Level3 Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include; + $(SolutionDir)\kdlibcpp\kdlib\include; Windows @@ -422,7 +422,7 @@ Level3 Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include; + $(SolutionDir)\kdlibcpp\kdlib\include; Windows @@ -446,7 +446,7 @@ true true WIN32;NDEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include + $(SolutionDir)\kdlibcpp\kdlib\include; MultiThreaded @@ -469,7 +469,7 @@ true true WIN32;NDEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include + $(SolutionDir)\kdlibcpp\kdlib\include; MultiThreaded @@ -492,7 +492,7 @@ true true WIN32;NDEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include + $(SolutionDir)\kdlibcpp\kdlib\include; MultiThreaded @@ -515,7 +515,7 @@ true true WIN32;NDEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include; + $(SolutionDir)\kdlibcpp\kdlib\include; MultiThreaded @@ -538,7 +538,7 @@ true true WIN32;NDEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include; + $(SolutionDir)\kdlibcpp\kdlib\include; MultiThreaded @@ -561,7 +561,7 @@ true true WIN32;NDEBUG;_WINDOWS;_USRDLL;PYKD_EXPORTS;%(PreprocessorDefinitions) - $(ProjectDir)..\kdlibcpp\include; + $(SolutionDir)\kdlibcpp\kdlib\include; MultiThreaded @@ -651,7 +651,7 @@ - + {3e9c538f-f060-4e86-ab7d-d44439615b63} diff --git a/pykd/pykdver.h b/pykd/pykdver.h index 03dbab3..c28a7bc 100644 --- a/pykd/pykdver.h +++ b/pykd/pykdver.h @@ -2,7 +2,7 @@ #define PYKD_VERSION_MAJOR 0 #define PYKD_VERSION_MINOR 3 #define PYKD_VERSION_SUBVERSION 3 -#define PYKD_VERSION_BUILDNO 0 +#define PYKD_VERSION_BUILDNO 1 #define __VER_STR2__(x) #x #define __VER_STR1__(x) __VER_STR2__(x) diff --git a/setup/setup.py b/setup/setup.py index 96f832c..73405ae 100644 --- a/setup/setup.py +++ b/setup/setup.py @@ -8,7 +8,7 @@ import sys _name = "pykd" _desc = "python windbg extension" -_version = '0.3.2.2' +_version = '0.3.3.1' def getReleaseSrc(): return 'Release_%d.%d' % sys.version_info[0:2] @@ -28,7 +28,7 @@ if "bdist_wheel" in sys.argv: shutil.copy("__init__.py", package_dir) - bin_dir = os.path.join( os.path.curdir, '..', 'bin') + bin_dir = os.path.join( os.path.curdir, '..', 'kdlibcpp/bin') pykd_dir = os.path.join( os.path.curdir, '..', 'out') if "--plat-name=win32" in sys.argv: bin_dir = os.path.join( bin_dir, 'x86') @@ -72,7 +72,7 @@ elif "bdist_zip" in sys.argv: shutil.rmtree(package_dir) os.mkdir(package_dir) - bin_dir = os.path.join( os.path.curdir, '..', 'bin') + bin_dir = os.path.join( os.path.curdir, '..', 'kdlibcpp/bin') pykd_dir = os.path.join( os.path.curdir, '..', 'out') if plat_name=="win32": bin_dir = os.path.join( bin_dir, 'x86')