diff --git a/build/msvc/base64.sln b/build/msvc/base64.sln deleted file mode 100644 index 00e78b3..0000000 --- a/build/msvc/base64.sln +++ /dev/null @@ -1,51 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.10.34928.147 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest", "gtest.vcxproj", "{B6A473FB-1AC2-4E15-B975-43FDC48B4A57}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "base64", "base64.vcxproj", "{8E386649-B4B2-4C81-9F8D-E59AE5CA8A36}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TurboBase64", "..\..\libs\TurboBase64.vcxproj", "{A162F37F-183F-4250-88AB-9B9FBDE30B04}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B6A473FB-1AC2-4E15-B975-43FDC48B4A57}.Debug|x64.ActiveCfg = Debug|x64 - {B6A473FB-1AC2-4E15-B975-43FDC48B4A57}.Debug|x64.Build.0 = Debug|x64 - {B6A473FB-1AC2-4E15-B975-43FDC48B4A57}.Debug|x86.ActiveCfg = Debug|Win32 - {B6A473FB-1AC2-4E15-B975-43FDC48B4A57}.Debug|x86.Build.0 = Debug|Win32 - {B6A473FB-1AC2-4E15-B975-43FDC48B4A57}.Release|x64.ActiveCfg = Release|x64 - {B6A473FB-1AC2-4E15-B975-43FDC48B4A57}.Release|x64.Build.0 = Release|x64 - {B6A473FB-1AC2-4E15-B975-43FDC48B4A57}.Release|x86.ActiveCfg = Release|Win32 - {B6A473FB-1AC2-4E15-B975-43FDC48B4A57}.Release|x86.Build.0 = Release|Win32 - {8E386649-B4B2-4C81-9F8D-E59AE5CA8A36}.Debug|x64.ActiveCfg = Debug|x64 - {8E386649-B4B2-4C81-9F8D-E59AE5CA8A36}.Debug|x64.Build.0 = Debug|x64 - {8E386649-B4B2-4C81-9F8D-E59AE5CA8A36}.Debug|x86.ActiveCfg = Debug|Win32 - {8E386649-B4B2-4C81-9F8D-E59AE5CA8A36}.Debug|x86.Build.0 = Debug|Win32 - {8E386649-B4B2-4C81-9F8D-E59AE5CA8A36}.Release|x64.ActiveCfg = Release|x64 - {8E386649-B4B2-4C81-9F8D-E59AE5CA8A36}.Release|x64.Build.0 = Release|x64 - {8E386649-B4B2-4C81-9F8D-E59AE5CA8A36}.Release|x86.ActiveCfg = Release|Win32 - {8E386649-B4B2-4C81-9F8D-E59AE5CA8A36}.Release|x86.Build.0 = Release|Win32 - {A162F37F-183F-4250-88AB-9B9FBDE30B04}.Debug|x64.ActiveCfg = Debug|x64 - {A162F37F-183F-4250-88AB-9B9FBDE30B04}.Debug|x64.Build.0 = Debug|x64 - {A162F37F-183F-4250-88AB-9B9FBDE30B04}.Debug|x86.ActiveCfg = Debug|Win32 - {A162F37F-183F-4250-88AB-9B9FBDE30B04}.Debug|x86.Build.0 = Debug|Win32 - {A162F37F-183F-4250-88AB-9B9FBDE30B04}.Release|x64.ActiveCfg = Release|x64 - {A162F37F-183F-4250-88AB-9B9FBDE30B04}.Release|x64.Build.0 = Release|x64 - {A162F37F-183F-4250-88AB-9B9FBDE30B04}.Release|x86.ActiveCfg = Release|Win32 - {A162F37F-183F-4250-88AB-9B9FBDE30B04}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {C837B7E9-B076-402D-9946-51CC61ACF348} - EndGlobalSection -EndGlobal diff --git a/build/msvc/base64.vcxproj b/build/msvc/base64.vcxproj deleted file mode 100644 index cb064ce..0000000 --- a/build/msvc/base64.vcxproj +++ /dev/null @@ -1,281 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - {8E386649-B4B2-4C81-9F8D-E59AE5CA8A36} - Win32Proj - base64 - 10.0 - - - - Application - true - v143 - Unicode - - - Application - false - v143 - true - Unicode - - - Application - true - v143 - Unicode - - - Application - false - v143 - true - Unicode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - true - - - false - - - false - - - - - - Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - stdcpp20 - - - Console - true - - - ..\..\libs\base64-aklomp\out\build\x64-Release\base64.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) - - - - - - - Level3 - Disabled - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) - stdcpp20 - true - - - Console - true - - - ..\..\libs\base64-aklomp\out\build\x64-Release\base64.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - stdcpp20 - - - Console - true - true - true - - - ..\..\libs\base64-aklomp\out\build\x64-Release\base64.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - stdcpp20 - - - Console - true - true - true - - - ..\..\libs\base64-aklomp\out\build\x64-Release\base64.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) - - - - - ..\..\libs\base64pp\base64pp\include;..\..\libs\;%(AdditionalIncludeDirectories) - ..\..\libs\base64pp\base64pp\include;..\..\libs\;%(AdditionalIncludeDirectories) - ..\..\libs\base64pp\base64pp\include;..\..\libs\;%(AdditionalIncludeDirectories) - ..\..\libs\base64pp\base64pp\include;..\..\libs\;%(AdditionalIncludeDirectories) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - - - true - true - true - true - - - - - - - - - - - - {a162f37f-183f-4250-88ab-9b9fbde30b04} - - - {b6a473fb-1ac2-4e15-b975-43fdc48b4a57} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/msvc/base64.vcxproj.filters b/build/msvc/base64.vcxproj.filters deleted file mode 100644 index b3e1dd5..0000000 --- a/build/msvc/base64.vcxproj.filters +++ /dev/null @@ -1,307 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {c19293a8-1cb5-4e0f-90e4-e98f01ffd161} - - - {41efd618-52fc-4742-81aa-549449f3cb72} - - - {2a5ac288-4a82-42c5-ac84-163158750d66} - - - {ecda5d82-fb0c-40ea-8afb-d1ff62bd57e3} - - - {431dc471-6409-4b27-becf-0dd38570e228} - - - {cbc44336-5e49-4928-81da-d8998480641c} - - - {83f398b0-d4e2-486a-9e93-b58f2f7cea75} - - - {091742e3-3acc-4e98-a126-4bb953ba8576} - - - {86405cd5-290b-4f90-b99c-7ff39280082f} - - - {111ca535-6f35-4bdf-9208-45f83a1b499a} - - - {79016192-9abc-4cff-881b-ad432de4a808} - - - {7f2bef76-1f9e-4cc4-8300-fbd600457494} - - - {1616078c-3cce-4714-b04a-054885f83197} - - - {bc6a08cf-e526-4f35-a75a-198f3b19cb8f} - - - {9f0b1aac-909d-4266-8e55-c88e7d1fab2c} - - - {47568dee-7d5a-48e2-8a1f-bd8117780a57} - - - {c929fe7d-2954-4451-a978-a8076b451b40} - - - {08960bdd-5414-423c-b8d6-4e7229d49cf7} - - - {dcb353d2-3ecd-4b79-90b1-754789cf0cf9} - - - {df548111-2cbe-4af2-9c8f-495ba8ad247c} - - - {94918185-c9b9-4885-8bee-369e9817e5c6} - - - {2b21aff1-7ddd-4c2e-a6b8-e9ace6cacb96} - - - {2a0971eb-0353-40b3-b02f-281ad7453666} - - - {5d760d12-c358-40dd-81b7-8abf15db88b5} - - - {d490dd70-4257-4edf-88aa-65a4c6dbec0d} - - - {ee2dde68-e341-4cca-aa30-e903808a5b15} - - - {5c019b3b-715c-4834-afd0-d7b4fb03dafe} - - - {2285549c-17c7-469f-a24d-e797e1583826} - - - {8e03b2f0-3dd5-427a-a052-b36af04b0678} - - - - - impl\adp-gmbh.ch - - - Source Files - - - impl\Libb64 - - - impl\LibCurl - - - impl\LibCurl - - - impl\Omnifarious - - - impl\Omnifarious - - - impl\InternetSoftwareConsortium - - - impl\InternetSoftwareConsortium - - - impl\Arduino - - - impl\LihO - - - impl\LihO - - - impl\ManuelMartinez - - - impl\DaedalusAlpha - - - impl\DaedalusAlpha - - - impl\ElegantDice - - - impl\ElegantDice - - - impl\Polfosol - - - impl\User152949 - - - impl\Wikibooks.org - - - impl\Wikibooks.org - - - impl\Apache - - - impl\jounimalinen - - - impl\NibbleAndAHalf - - - impl\Gnome - - - impl\CppCodec - - - impl\Libb64 - - - impl\Libb64 - - - impl\Adition - - - impl\Adition - - - impl\TomyKaria - - - impl\Boost - - - impl\ModpB64Chromium - - - impl\ModpB64Chromium - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - impl\Turbob64 - - - impl\picobase64 - - - impl\IMUtility - - - impl\base64-aklomp - - - impl\base64-tl - - - impl\base64pp - - - impl\base64pp - - - - - impl\LibCurl - - - impl\Omnifarious - - - impl\InternetSoftwareConsortium - - - impl\Arduino - - - impl\LihO - - - impl\ManuelMartinez - - - impl\DaedalusAlpha - - - impl\ElegantDice - - - impl\Polfosol - - - impl\User152949 - - - impl\Wikibooks.org - - - impl\Wikibooks.org - - - impl\Apache - - - impl\jounimalinen - - - impl\NibbleAndAHalf - - - impl\Gnome - - - impl\Adition - - - impl\TomyKaria - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - impl\IMUtility - - - impl\IMUtility - - - \ No newline at end of file diff --git a/build/msvc/gtest.vcxproj b/build/msvc/gtest.vcxproj deleted file mode 100644 index bc70fb1..0000000 --- a/build/msvc/gtest.vcxproj +++ /dev/null @@ -1,196 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - true - true - true - true - - - - - - - {B6A473FB-1AC2-4E15-B975-43FDC48B4A57} - Win32Proj - gtest - 10.0 - - - - StaticLibrary - true - v143 - Unicode - - - StaticLibrary - false - v143 - true - Unicode - - - StaticLibrary - true - v143 - Unicode - - - StaticLibrary - false - v143 - true - Unicode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Level3 - Disabled - WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) - - - Windows - - - - - - - Level3 - Disabled - _DEBUG;_LIB;%(PreprocessorDefinitions) - stdcpp17 - - - Windows - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) - - - Windows - true - true - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_LIB;%(PreprocessorDefinitions) - stdcpp17 - - - Windows - true - true - - - - - - \ No newline at end of file diff --git a/libs/base64rvv b/libs/base64rvv deleted file mode 160000 index 2291f93..0000000 --- a/libs/base64rvv +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2291f937f4bf0ec54dc9334e9b8607c9576a6330 diff --git a/src/A.Hristov/ahristov.h b/src/A.Hristov/ahristov.h index b75103b..27eaca9 100644 --- a/src/A.Hristov/ahristov.h +++ b/src/A.Hristov/ahristov.h @@ -1,4 +1,5 @@ #include +#include /** * Given a string, this function will encode it in 64b (with padding) */ @@ -7,4 +8,4 @@ std::string encodeBase64(const std::string& binaryText); /** * Given a 64b padding-encoded string, this function will decode it. */ -std::string decodeBase64(const std::string& base64Text); \ No newline at end of file +std::string decodeBase64(const std::string& base64Text); diff --git a/src/omnifarious/omnifarious.h b/src/omnifarious/omnifarious.h index a2d0380..5b671a7 100644 --- a/src/omnifarious/omnifarious.h +++ b/src/omnifarious/omnifarious.h @@ -1,6 +1,7 @@ #pragma once #include +#include ::std::string base64_encode(const ::std::string &bindata); ::std::string base64_encode(const char *bytes, size_t length); ::std::string base64_decode(const ::std::string &ascdata); diff --git a/src/user152949/user152949.h b/src/user152949/user152949.h index 3183044..21e85a5 100644 --- a/src/user152949/user152949.h +++ b/src/user152949/user152949.h @@ -10,7 +10,7 @@ class CBase64 static inline const char encodeCharacterTable[65] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** Static Base64 character decoding lookup table */ - static inline const int decodeCharacterTable[256] = { + static inline const signed char decodeCharacterTable[256] = { -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 ,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 ,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1,