From 452f57976a135c8b72fc8d8f580d5d50618c0cae Mon Sep 17 00:00:00 2001 From: Austin Henriksen Date: Wed, 30 Oct 2019 05:14:29 -0400 Subject: Remove checksum support (#607) * Removed checksum sources from swift mapping project file. * Removed checksum tests from Python. * Removed checksum from Python mapping. * Removed checksum tests from PHP mapping. * Removed checksum support from PHP mapping. * Removed checksum sources from MATLAB project file. * Removed checksum option from slice2x manpages. * Removed checksum sources from JavaScript mapping. * Removed checksum tests from Java mapping. * Removed outdated checksum metadata from Java mapping. * Removed checksum support from Java mapping. * Removed checksum tests from csharp. * Removed checksum support from csharp mapping. * Removed checksum tests from cpp * Removed checksum support from IceBox. * Removed checksum support from IceStorm. * Removed Slice checksum support from IceGrid. * Fixed broken filters file for Slice VS project. * Removed checksum support from cpp mapping. * Removed checksum support from Slice definitions. * Removed checksum support from cpp98 mapping. --- cpp/src/Slice/PythonUtil.cpp | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'cpp/src/Slice/PythonUtil.cpp') diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index 5649f9797d4..650cc18ac72 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -3,7 +3,6 @@ // #include -#include #include #include #include @@ -2917,7 +2916,7 @@ Slice::Python::getImportFileName(const string& file, const UnitPtr& ut, const ve } void -Slice::Python::generate(const UnitPtr& un, bool all, bool checksum, const vector& includePaths, +Slice::Python::generate(const UnitPtr& un, bool all, const vector& includePaths, Output& out) { Slice::Python::MetaDataVisitor visitor; @@ -2949,27 +2948,6 @@ Slice::Python::generate(const UnitPtr& un, bool all, bool checksum, const vector CodeVisitor codeVisitor(out, moduleHistory); un->visit(&codeVisitor, false); - if(checksum) - { - ChecksumMap checksums = createChecksums(un); - if(!checksums.empty()) - { - out << sp; - for(ChecksumMap::const_iterator p = checksums.begin(); p != checksums.end(); ++p) - { - out << nl << "Ice.sliceChecksums[\"" << p->first << "\"] = \""; - ostringstream str; - str.flags(ios_base::hex); - str.fill('0'); - for(vector::const_iterator q = p->second.begin(); q != p->second.end(); ++q) - { - str << static_cast(*q); - } - out << str.str() << "\""; - } - } - } - out << nl; // Trailing newline. } -- cgit v1.2.3