Audacity 3.2.0
|
Namespaces | |
namespace | anonymous_namespace{Uuid.cpp} |
namespace | cloud |
namespace | concurrency |
namespace | network_manager |
namespace | sentry |
namespace | sqlite |
Classes | |
struct | ApplicationSettings |
Provides an access to application-wise settings. More... | |
class | BasicSettings |
Base class for objects that provide facility to store data persistently, and access it with string keys that are formed similarly to how paths in tree are formed. More... | |
struct | GoldenRatio |
struct | GoldenRatio< 4 > |
struct | GoldenRatio< 8 > |
class | TypedAny |
Generates distinct, non-interconvertible types wrapping std::any. More... | |
class | Uuid |
Utility class that generates and parses UUIDs. More... | |
Typedefs | |
using | SystemTime = std::chrono::system_clock::time_point |
Functions | |
std::string | ToUTF8 (const std::wstring &wstr) |
std::string | ToUTF8 (const wchar_t *wstr) |
std::string | ToUTF8 (const wxString &wstr) |
std::wstring | ToWString (const std::string &str) |
STRING_UTILS_API std::wstring | ToWString (std::string_view str) |
std::wstring | ToWString (const char *str) |
std::wstring | ToWString (const wxString &str) |
wxString | ToWXString (const std::string &str) |
STRING_UTILS_API wxString | ToWXString (std::string_view str) |
STRING_UTILS_API wxString | ToWXString (const char *str) |
wxString | ToWXString (const std::wstring &str) |
wxString | ToWXString (std::wstring_view str) |
wxString | ToWXString (const wchar_t *str) |
bool | ParseRFC822Date (const std::string &dateString, SystemTime *time) |
bool | ParseISO8601Date (const std::string &dateString, SystemTime *time) |
std::string | SerializeRFC822Date (SystemTime timePoint) |
uint8_t | HexCharToNum (char c) noexcept |
std::string | UrlDecode (const std::string &url) |
std::string | UrlEncode (const std::string &url) |
template<typename Tag > | |
void | swap (TypedAny< Tag > &x, TypedAny< Tag > &y) |
Non-member swap. More... | |
Variables | |
constexpr int | BRACED_UUID_LENGTH = 38 |
constexpr int | UUID_LENGTH = 36 |
constexpr int | HEX_UUID_LENGTH = 32 |
using audacity::SystemTime = typedef std::chrono::system_clock::time_point |
Definition at line 19 of file DateTimeConversions.h.
|
inlinenoexcept |
Definition at line 20 of file HexHelpers.h.
Referenced by audacity::anonymous_namespace{Uuid.cpp}::readByte(), and UrlDecode().
STRING_UTILS_API bool audacity::ParseISO8601Date | ( | const std::string & | dateString, |
SystemTime * | time | ||
) |
Definition at line 34 of file DateTimeConversions.cpp.
References details::end().
Referenced by audacity::cloud::audiocom::sync::anonymous_namespace{ResumedSnaphotUploadOperation.cpp}::IsUrlExpired().
STRING_UTILS_API bool audacity::ParseRFC822Date | ( | const std::string & | dateString, |
SystemTime * | time | ||
) |
Definition at line 20 of file DateTimeConversions.cpp.
References details::end().
Referenced by audacity::network_manager::Cookie::Parse().
STRING_UTILS_API std::string audacity::SerializeRFC822Date | ( | SystemTime | timePoint | ) |
Definition at line 50 of file DateTimeConversions.cpp.
References ToUTF8().
Referenced by audacity::network_manager::Cookie::toString().
Non-member swap.
Definition at line 89 of file TypedAny.h.
References audacity::TypedAny< Tag >::swap().
STRING_UTILS_API std::string audacity::ToUTF8 | ( | const std::wstring & | wstr | ) |
Definition at line 19 of file CodeConversions.cpp.
Referenced by audacity::sentry::anonymous_namespace{SentryReport.cpp}::AddOSContext(), audacity::cloud::audiocom::OAuthService::AuthoriseRefreshToken(), audacity::cloud::audiocom::UserService::DownloadAvatar(), ErrorReportDialog::ErrorReportDialog(), ExportFFmpegOptions::ExportFFmpegOptions(), ExportFFmpegOptions::FetchCompatibleFormatList(), audacity::cloud::audiocom::sync::anonymous_namespace{MixdownUploader.cpp}::GenerateTempPath(), audacity::cloud::audiocom::ServiceConfig::GetAudioURL(), audacity::cloud::audiocom::sync::ProjectCloudExtension::GetCloudProjectPage(), audacity::cloud::audiocom::ServiceConfig::GetFinishUploadPage(), audacity::cloud::audiocom::ServiceConfig::GetOAuthLoginPage(), audacity::cloud::audiocom::sync::CloudProjectPropertiesDialog::GetProjectName(), audacity::cloud::audiocom::ServiceConfig::GetProjectPagePath(), audacity::cloud::audiocom::ServiceConfig::GetProjectsPagePath(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetSelectedProjectUrl(), audacity::cloud::audiocom::anonymous_namespace{UploadService.cpp}::GetUploadRequestPayload(), anonymous_namespace{AudacityApp.cpp}::InitCrashreports(), anonymous_namespace{ExportFFmpeg.cpp}::ExportOptionsFFmpegCustomEditor::Load(), LV2EffectBase::LoadFactoryPreset(), audacity::cloud::audiocom::sync::MakeClientFailure(), audacity::cloud::audiocom::sync::ProjectCloudExtension::MarkProjectSynced(), audacity::cloud::audiocom::sync::RemoteProjectSnapshot::OnBlockDownloaded(), audacity::cloud::audiocom::sync::ProjectCloudUIExtension::OnCloudStatusChanged(), audacity::cloud::audiocom::LinkWithTokenDialog::OnContinue(), audacity::cloud::audiocom::sync::RemoteProjectSnapshot::OnProjectBlobDownloaded(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::OnSave(), ErrorReportDialog::OnSend(), audacity::cloud::audiocom::sync::ProjectCloudExtension::OnSnapshotCreated(), audacity::cloud::audiocom::sync::ProjectCloudExtension::OnSyncCompleted(), audacity::cloud::audiocom::sync::ProjectCloudExtension::OnUpdateSaved(), audacity::cloud::audiocom::sync::CloudProjectsDatabase::OpenConnection(), ProjectFileManager::OpenProjectFile(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::PerformCloudSave(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::Refresh(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::SaveCloudProject(), SerializeRFC822Date(), audacity::cloud::audiocom::ServiceConfig::ServiceConfig(), audacity::cloud::audiocom::sync::RemoteProjectSnapshot::SetupBlocksCopy(), audacity::cloud::audiocom::sync::RemoteProjectSnapshot::Sync(), audacity::cloud::audiocom::CloudSyncService::SyncCloudSnapshot(), ToLower(), ToUpper(), audacity::cloud::audiocom::sync::ProjectCloudExtension::UpdateIdFromDatabase(), audacity::network_manager::anonymous_namespace{CurlHandleManager.cpp}::CurlConfig::UpdatePrefs(), audacity::cloud::audiocom::sync::DataUploader::Upload(), audacity::cloud::audiocom::sync::anonymous_namespace{ResumedSnaphotUploadOperation.cpp}::ResumedSnaphotUploadOperation::UploadBlocks(), and OpusExportProcessor::WriteTags().
STRING_UTILS_API std::string audacity::ToUTF8 | ( | const wchar_t * | wstr | ) |
Definition at line 24 of file CodeConversions.cpp.
STRING_UTILS_API std::string audacity::ToUTF8 | ( | const wxString & | wstr | ) |
Definition at line 29 of file CodeConversions.cpp.
STRING_UTILS_API std::wstring audacity::ToWString | ( | const char * | str | ) |
STRING_UTILS_API std::wstring audacity::ToWString | ( | const std::string & | str | ) |
Definition at line 34 of file CodeConversions.cpp.
References str.
Referenced by audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::Refresh(), ProjectFileIO::ShowError(), ToLower(), and ToUpper().
STRING_UTILS_API std::wstring audacity::ToWString | ( | const wxString & | str | ) |
Definition at line 50 of file CodeConversions.cpp.
References str.
STRING_UTILS_API std::wstring audacity::ToWString | ( | std::string_view | str | ) |
STRING_UTILS_API wxString audacity::ToWXString | ( | const char * | str | ) |
Definition at line 65 of file CodeConversions.cpp.
References str.
STRING_UTILS_API wxString audacity::ToWXString | ( | const std::string & | str | ) |
Definition at line 55 of file CodeConversions.cpp.
References str.
Referenced by audacity::cloud::audiocom::sync::MixdownUploader::ExportProject(), anonymous_namespace{ImportMP3_MPG123.cpp}::GetId3v2Genre(), audacity::cloud::audiocom::CloudSyncService::GetProjectState(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetValue(), OpusImportFileHandle::Import(), WavPackImportFileHandle::Import(), audacity::cloud::audiocom::sync::ProjectCloudUIExtension::OnCloudStatusChanged(), audacity::cloud::audiocom::UserPanel::OnLinkButtonPressed(), audacity::cloud::audiocom::sync::ProjectsListDialog::OnOpen(), audacity::cloud::audiocom::sync::ProjectsListDialog::OnOpenAudioCom(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::OnUpdateSaved(), audacity::cloud::audiocom::sync::OpenProjectFromCloud(), audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncHousekeeper.cpp}::Housekeeper::PerformHousekeeping(), anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle::ReadTags(), ProjectFileManager::Save(), audacity::cloud::audiocom::CloudSyncService::SyncCloudSnapshot(), ToLower(), ToUpper(), audacity::sentry::AnonymizedMessage::ToWXString(), audacity::cloud::audiocom::UserService::UpdateUserData(), and audacity::cloud::audiocom::sync::DataUploader::Upload().
STRING_UTILS_API wxString audacity::ToWXString | ( | const std::wstring & | str | ) |
Definition at line 70 of file CodeConversions.cpp.
References str.
STRING_UTILS_API wxString audacity::ToWXString | ( | const wchar_t * | str | ) |
STRING_UTILS_API wxString audacity::ToWXString | ( | std::string_view | str | ) |
Definition at line 60 of file CodeConversions.cpp.
References str.
STRING_UTILS_API wxString audacity::ToWXString | ( | std::wstring_view | str | ) |
Definition at line 75 of file CodeConversions.cpp.
References str.
STRING_UTILS_API std::string audacity::UrlDecode | ( | const std::string & | url | ) |
Definition at line 18 of file UrlDecode.cpp.
References details::end(), and HexCharToNum().
Referenced by audacity::cloud::audiocom::OAuthService::HandleLinkURI().
STRING_UTILS_API std::string audacity::UrlEncode | ( | const std::string & | url | ) |
Definition at line 16 of file UrlEncode.cpp.
|
constexpr |
Definition at line 38 of file Uuid.cpp.
Referenced by audacity::Uuid::FromString().
|
constexpr |
Definition at line 40 of file Uuid.cpp.
Referenced by audacity::Uuid::ToHexString().
|
constexpr |
Definition at line 39 of file Uuid.cpp.
Referenced by audacity::Uuid::FromString(), and audacity::Uuid::ToString().