id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4,799 | SelectionHighlight.h | rizinorg_cutter/src/common/SelectionHighlight.h | #ifndef CUTTER_SELECTIONHIGHLIGHT_H
#define CUTTER_SELECTIONHIGHLIGHT_H
#include <QTextEdit>
class QPlainTextEdit;
class QString;
/**
* @brief createSameWordsSelections se
* @param textEdit
* @param word
* @return
*/
QList<QTextEdit::ExtraSelection> createSameWordsSelections(QPlainTextEdit *textEdit,
... | 1,688 | C++ | .h | 40 | 38.95 | 100 | 0.777439 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,800 | BinaryTrees.h | rizinorg_cutter/src/common/BinaryTrees.h | #ifndef BINARY_TREES_H
#define BINARY_TREES_H
/** \file BinaryTrees.h
* \brief Utilities to simplify creation of specialized augmented binary trees.
*/
#include <vector>
#include <cstdlib>
#include <climits>
#include <cstdint>
#include <algorithm>
/**
* Not really a segment tree for storing segments as referred i... | 16,266 | C++ | .h | 460 | 27.515217 | 100 | 0.598299 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,802 | AddressableItemModel.h | rizinorg_cutter/src/common/AddressableItemModel.h |
#ifndef ADDRESSABLEITEMMODEL_H
#define ADDRESSABLEITEMMODEL_H
#include <QAbstractItemModel>
#include <QSortFilterProxyModel>
#include <QAbstractItemModel>
#include "core/CutterCommon.h"
class CUTTER_EXPORT AddressableItemModelI
{
public:
virtual RVA address(const QModelIndex &index) const = 0;
/**
* @b... | 1,773 | C++ | .h | 45 | 35.444444 | 100 | 0.776937 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,803 | ProgressIndicator.h | rizinorg_cutter/src/common/ProgressIndicator.h |
#ifndef PROGRESSINDICATOR_H
#define PROGRESSINDICATOR_H
#include <QWidget>
class ProgressIndicator : public QWidget
{
public:
ProgressIndicator(QWidget *parent = nullptr);
virtual ~ProgressIndicator();
QSize minimumSizeHint() const override;
QSize sizeHint() const override;
bool getProgressIndi... | 840 | C++ | .h | 25 | 29.76 | 81 | 0.773632 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,804 | CommandTask.h | rizinorg_cutter/src/common/CommandTask.h |
#ifndef COMMANDTASK_H
#define COMMANDTASK_H
#include "common/AsyncTask.h"
#include "core/Cutter.h"
class CUTTER_EXPORT CommandTask : public AsyncTask
{
Q_OBJECT
public:
enum ColorMode {
DISABLED = COLOR_MODE_DISABLED,
MODE_16 = COLOR_MODE_16,
MODE_256 = COLOR_MODE_256,
MODE_1... | 668 | C++ | .h | 25 | 22.6 | 79 | 0.709321 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,805 | TempConfig.h | rizinorg_cutter/src/common/TempConfig.h |
#ifndef TEMPCONFIG_H
#define TEMPCONFIG_H
#include "core/CutterCommon.h"
#include <QString>
#include <QVariant>
/**
* @brief Class for temporary modifying Rizin `e` configuration.
*
* Modified values will be restored at the end of scope. This is useful when using a Rizin command
* that can only be configured us... | 1,247 | C++ | .h | 36 | 32.027778 | 100 | 0.734219 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,806 | SvgIconEngine.h | rizinorg_cutter/src/common/SvgIconEngine.h |
#ifndef SVGICONENGINE_H
#define SVGICONENGINE_H
#include <QIconEngine>
#include <QPalette>
class SvgIconEngine : public QIconEngine
{
private:
QByteArray svgData;
public:
explicit SvgIconEngine(const QString &filename);
SvgIconEngine(const QString &filename, const QColor &tintColor);
SvgIconEngine(... | 636 | C++ | .h | 17 | 34.352941 | 100 | 0.777778 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,807 | Json.h | rizinorg_cutter/src/common/Json.h |
#ifndef CUTTER_JSON_H
#define CUTTER_JSON_H
#include "core/Cutter.h"
#include <QJsonValue>
static inline RVA JsonValueGetRVA(const QJsonValue &value, RVA defaultValue = RVA_INVALID)
{
bool ok;
RVA ret = value.toVariant().toULongLong(&ok);
if (!ok) {
return defaultValue;
}
return ret;
}
... | 344 | C++ | .h | 14 | 21.214286 | 90 | 0.707692 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,808 | PythonAPI.h | rizinorg_cutter/src/common/PythonAPI.h | #ifndef PYTHONAPI_H
#define PYTHONAPI_H
#define Py_LIMITED_API 0x03050000
#include <Python.h>
PyObject *PyInit_api();
#endif // PYTHONAPI_H
| 143 | C++ | .h | 6 | 22.333333 | 33 | 0.791045 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,809 | StringsTask.h | rizinorg_cutter/src/common/StringsTask.h |
#ifndef STRINGSASYNCTASK_H
#define STRINGSASYNCTASK_H
#include "common/AsyncTask.h"
#include "core/Cutter.h"
class StringsTask : public AsyncTask
{
Q_OBJECT
public:
QString getTitle() override { return tr("Searching for Strings"); }
signals:
void stringSearchFinished(const QList<StringDescription> &str... | 504 | C++ | .h | 19 | 23.052632 | 71 | 0.742678 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,810 | DirectionalComboBox.h | rizinorg_cutter/src/common/DirectionalComboBox.h | #pragma once
#include <QComboBox>
/**
* @brief Custom QComboBox created to prevent the menu popup from opening up at different
* offsets for different items, which may result in list items being rendered outside
* of the screen/containing widget.
*/
class DirectionalComboBox : public QComboBox
{
... | 522 | C++ | .h | 17 | 28 | 92 | 0.752 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,811 | IOModesController.h | rizinorg_cutter/src/common/IOModesController.h | #ifndef IOMODESCONTROLLER_H
#define IOMODESCONTROLLER_H
#include "core/Cutter.h"
class IOModesController : public QObject
{
Q_OBJECT
public:
enum class Mode { READ_ONLY, CACHE, WRITE };
bool prepareForWriting();
bool canWrite();
bool allChangesComitted();
Mode getIOMode();
void setIOMode(... | 417 | C++ | .h | 17 | 21.352941 | 48 | 0.746835 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,812 | AnalysisTask.h | rizinorg_cutter/src/common/AnalysisTask.h | #ifndef ANALTHREAD_H
#define ANALTHREAD_H
#include "common/AsyncTask.h"
#include "core/Cutter.h"
#include "common/InitialOptions.h"
class CutterCore;
class MainWindow;
class InitialOptionsDialog;
class AnalysisTask : public AsyncTask
{
Q_OBJECT
public:
explicit AnalysisTask();
~AnalysisTask();
QStr... | 684 | C++ | .h | 27 | 22.222222 | 79 | 0.76087 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,813 | SettingsUpgrade.h | rizinorg_cutter/src/common/SettingsUpgrade.h | #ifndef COMMON_SETTINGS_UPGRADE_H
#define COMMON_SETTINGS_UPGRADE_H
#include <QSettings>
#include <core/Cutter.h>
namespace Cutter {
void initializeSettings();
/**
* @brief Check if Cutter should offer importing settings from version that can't be directly
* updated.
* @return True if this is first time running Cu... | 668 | C++ | .h | 21 | 30.285714 | 96 | 0.77795 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,814 | bindings.h | rizinorg_cutter/src/bindings/bindings.h |
#ifndef CUTTER_BINDINGS_H
#define CUTTER_BINDINGS_H
#define QT_ANNOTATE_ACCESS_SPECIFIER(a) __attribute__((annotate(#a)))
#include "../core/Cutter.h"
#include "../common/Configuration.h"
#include "../core/MainWindow.h"
#include "../widgets/CutterDockWidget.h"
#include "../plugins/CutterPlugin.h"
#include "../menus/A... | 378 | C++ | .h | 10 | 36.4 | 69 | 0.758242 | rizinorg/cutter | 15,656 | 1,143 | 512 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,815 | tapsite.cpp | TranslucentTB_TranslucentTB/ExplorerTAP/tapsite.cpp | #include "tapsite.hpp"
#include "constants.hpp"
winrt::weak_ref<VisualTreeWatcher> TAPSite::s_VisualTreeWatcher;
wil::unique_event_nothrow TAPSite::GetReadyEvent()
{
wil::unique_event_nothrow readyEvent;
winrt::check_hresult(readyEvent.create(wil::EventOptions::None, TAP_READY_EVENT.c_str()));
return readyEvent;
}... | 907 | C++ | .cpp | 36 | 23.166667 | 91 | 0.750869 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,816 | taskbarappearanceservice.cpp | TranslucentTB_TranslucentTB/ExplorerTAP/taskbarappearanceservice.cpp | #include "taskbarappearanceservice.hpp"
#include <RpcProxy.h>
#include <shellapi.h>
#include <wil/cppwinrt_helpers.h>
#include "constants.hpp"
#include "util/color.hpp"
extern "C"
{
_Check_return_ HRESULT STDAPICALLTYPE DLLGETCLASSOBJECT_ENTRY(_In_ REFCLSID rclsid, _In_ REFIID riid, _Outptr_ void** ppv);
}
DWORD Ta... | 6,704 | C++ | .cpp | 224 | 27.299107 | 163 | 0.757877 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,817 | visualtreewatcher.cpp | TranslucentTB_TranslucentTB/ExplorerTAP/visualtreewatcher.cpp | #include "visualtreewatcher.hpp"
#include <windows.ui.xaml.hosting.desktopwindowxamlsource.h>
#include "undefgetcurrenttime.h"
#include <winrt/Windows.UI.Xaml.Hosting.h>
#include "redefgetcurrenttime.h"
VisualTreeWatcher::VisualTreeWatcher(winrt::com_ptr<IUnknown> site) :
m_XamlDiagnostics(site.as<IXamlDiagnostics>()... | 3,750 | C++ | .cpp | 113 | 29.663717 | 139 | 0.738411 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,818 | api.cpp | TranslucentTB_TranslucentTB/ExplorerTAP/api.cpp | #include "api.hpp"
#include <libloaderapi.h>
#include <wil/resource.h>
#include "constants.hpp"
#include "tapsite.hpp"
#include "win32.hpp"
#include "taskbarappearanceservice.hpp"
#include "util/string_macros.hpp"
using PFN_INITIALIZE_XAML_DIAGNOSTICS_EX = decltype(&InitializeXamlDiagnosticsEx);
HRESULT InjectExplor... | 2,608 | C++ | .cpp | 94 | 24.829787 | 150 | 0.713656 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,819 | dllmain.cpp | TranslucentTB_TranslucentTB/ExplorerTAP/dllmain.cpp | #include "arch.h"
#include <libloaderapi.h>
#include <windef.h>
#include "taskbarappearanceservice.hpp"
BOOL WINAPI DllMain(HINSTANCE, DWORD fdwReason, LPVOID) noexcept
{
switch (fdwReason)
{
case DLL_PROCESS_DETACH:
TaskbarAppearanceService::UninstallProxyStub();
break;
}
return true;
}
| 301 | C++ | .cpp | 14 | 19.642857 | 64 | 0.795775 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,820 | module.cpp | TranslucentTB_TranslucentTB/ExplorerTAP/module.cpp | #include <combaseapi.h>
#include "winrt.hpp"
#include "tapsite.hpp"
#include "simplefactory.hpp"
_Use_decl_annotations_ STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv) try
{
if (rclsid == CLSID_TAPSite)
{
*ppv = nullptr;
return winrt::make<SimpleFactory<TAPSite>>().as(riid, ppv);
}
else
{... | 407 | C++ | .cpp | 20 | 18.6 | 94 | 0.732468 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,821 | log.cpp | TranslucentTB_TranslucentTB/ProgramLog/log.cpp | #include "log.hpp"
#include <chrono>
#include <debugapi.h>
#include <spdlog/spdlog.h>
#include <spdlog/sinks/msvc_sink.h>
#include <spdlog/logger.h>
#include "winrt.hpp"
#include "appinfo.hpp"
#include "config/config.hpp"
#include "error/error.hpp"
#include "error/winrt.hpp"
#include "error/std.hpp"
std::atomic<Log::... | 2,960 | C++ | .cpp | 102 | 26.764706 | 125 | 0.728903 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,822 | lazyfilesink.cpp | TranslucentTB_TranslucentTB/ProgramLog/lazyfilesink.cpp | #include "lazyfilesink.hpp"
#include <fileapi.h>
#include <utility>
#include <wil/safecast.h>
#include "winrt.hpp"
#include "appinfo.hpp"
#include "constants.hpp"
#include "error/error.hpp"
#include "error/std.hpp"
#include "error/win32.hpp"
#include "error/winrt.hpp"
template<typename Mutex>
lazy_sink_state lazy_fil... | 2,258 | C++ | .cpp | 92 | 22.26087 | 162 | 0.716605 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,824 | error.cpp | TranslucentTB_TranslucentTB/ProgramLog/error/error.cpp | #include "error.hpp"
#include <debugapi.h>
#include <intrin.h>
#include <spdlog/spdlog.h>
#include <string>
#ifdef _DEBUG
#include <processthreadsapi.h>
#endif
#include <wil/resource.h>
#include <winnt.h>
#include "../log.hpp"
#include "std.hpp"
#include "util/string_macros.hpp"
#include "win32.hpp"
bool Error::impl:... | 3,472 | C++ | .cpp | 107 | 30.28972 | 253 | 0.740674 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,825 | winrt.cpp | TranslucentTB_TranslucentTB/ProgramLog/error/winrt.cpp | #include "winrt.hpp"
#include <intrin.h>
#include <roerrorapi.h>
#include <wil/resource.h>
#include <winnt.h>
#include "util/strings.hpp"
#include "win32.hpp"
std::wstring Error::impl::FormatIRestrictedErrorInfo(HRESULT result, BSTR description)
{
return FormatHRESULT(result, Util::Trim({ description, SysStringLen(d... | 1,876 | C++ | .cpp | 50 | 35.02 | 180 | 0.777655 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,826 | errno.cpp | TranslucentTB_TranslucentTB/ProgramLog/error/errno.cpp | #include "errno.hpp"
#include "util/strings.hpp"
std::wstring Error::MessageFromErrno(errno_t err)
{
std::wstring str;
// fairly reasonable size so that most error messages fit within it.
str.resize_and_overwrite(256, [err](wchar_t* data, std::size_t count) -> std::size_t
{
if (const errno_t strErr = _wcserror_... | 580 | C++ | .cpp | 27 | 19.074074 | 85 | 0.657559 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,827 | std.cpp | TranslucentTB_TranslucentTB/ProgramLog/error/std.cpp | #include "std.hpp"
#include "errno.hpp"
#include "win32.hpp"
std::wstring Error::MessageFromStdErrorCode(const std::error_code &err)
{
if (err.category() == std::system_category())
{
return MessageFromHRESULT(HRESULT_FROM_WIN32(err.value()));
}
else if (err.category() == std::generic_category())
{
return Mes... | 392 | C++ | .cpp | 18 | 19.833333 | 71 | 0.717742 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,828 | win32.cpp | TranslucentTB_TranslucentTB/ProgramLog/error/win32.cpp | #include "win32.hpp"
#include <type_traits>
#include <WinBase.h>
#include <winnt.h>
#include "util/strings.hpp"
std::wstring Error::impl::FormatHRESULT(HRESULT result, std::wstring_view description)
{
return std::format(
L"0x{:08X}: {}",
static_cast<std::make_unsigned_t<HRESULT>>(result), // needs this otherwise... | 1,585 | C++ | .cpp | 51 | 28.901961 | 133 | 0.743287 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,829 | common.cpp | TranslucentTB_TranslucentTB/ExplorerHooks/common.cpp | #include "common.hpp"
#include <handleapi.h>
#include <wil/result.h>
void CloseHandleFailFast(HANDLE handle) noexcept
{
FAIL_FAST_IF_WIN32_BOOL_FALSE(CloseHandle(handle));
}
| 176 | C++ | .cpp | 7 | 23.857143 | 52 | 0.797619 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,830 | swcadetour.cpp | TranslucentTB_TranslucentTB/ExplorerHooks/swcadetour.cpp | #include "swcadetour.hpp"
#include <libloaderapi.h>
#include <WinUser.h>
#include <wil/result.h>
#include "constants.hpp"
#include "detourtransaction.hpp"
#include "util/string_macros.hpp"
SWCADetour::unique_module_failfast SWCADetour::s_User32;
PFN_SET_WINDOW_COMPOSITION_ATTRIBUTE SWCADetour::SetWindowCompositionAtt... | 2,226 | C++ | .cpp | 68 | 30.426471 | 173 | 0.787512 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,831 | api.cpp | TranslucentTB_TranslucentTB/ExplorerHooks/api.cpp | #include "api.hpp"
#include <cstdint>
#include <WinBase.h>
#include <detours/detours.h>
#include <processthreadsapi.h>
#include <wil/resource.h>
#include <wil/win32_helpers.h>
#include <WinUser.h>
#include "constants.hpp"
LRESULT CALLBACK CallWndProc(int nCode, WPARAM wParam, LPARAM lParam) noexcept
{
// Placeholder... | 1,146 | C++ | .cpp | 38 | 28.026316 | 104 | 0.75931 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,832 | taskviewvisibilitymonitor.cpp | TranslucentTB_TranslucentTB/ExplorerHooks/taskviewvisibilitymonitor.cpp | #include "taskviewvisibilitymonitor.hpp"
#include <combaseapi.h>
#include <processthreadsapi.h>
#include <synchapi.h>
#include <wil/result.h>
#include <wil/win32_helpers.h>
#include <WinUser.h>
#include "appinfo.hpp"
#include "constants.hpp"
#include "multitaskingviewvisibilitysink.hpp"
#include "undoc/explorer.hpp"
... | 7,029 | C++ | .cpp | 207 | 31.657005 | 238 | 0.772721 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,833 | dllmain.cpp | TranslucentTB_TranslucentTB/ExplorerHooks/dllmain.cpp | #include "arch.h"
#include <libloaderapi.h>
#include <windef.h>
#include <processthreadsapi.h>
#include <detours/detours.h>
#include "constants.hpp"
#include "swcadetour.hpp"
#include "taskviewvisibilitymonitor.hpp"
void *payload = nullptr;
BOOL WINAPI DllMain(HINSTANCE, DWORD fdwReason, LPVOID) noexcept
{
switch (... | 719 | C++ | .cpp | 33 | 19.393939 | 64 | 0.753304 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,834 | detourtransaction.cpp | TranslucentTB_TranslucentTB/ExplorerHooks/detourtransaction.cpp | #include "detourtransaction.hpp"
#include "arch.h"
#include <windef.h>
#include <winbase.h>
#include <handleapi.h>
#include <detours/detours.h>
#include <new>
#include <processthreadsapi.h>
#include <utility>
#include <wil/result.h>
DetourTransaction::unique_hheap_failfast DetourTransaction::s_Heap;
const PSS_ALLOCATO... | 3,563 | C++ | .cpp | 113 | 29.495575 | 168 | 0.769029 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,835 | localization.cpp | TranslucentTB_TranslucentTB/TranslucentTB/localization.cpp | #include "localization.hpp"
#include <libloaderapi.h>
#include <WinBase.h>
#include <WinUser.h>
#include "winrt.hpp"
#include <winrt/Windows.ApplicationModel.Resources.Core.h>
#include "../ProgramLog/error/win32.hpp"
#include "../ProgramLog/error/winrt.hpp"
bool Localization::SetProcessLangOverride(std::wstring_view ... | 3,826 | C++ | .cpp | 101 | 35.50495 | 162 | 0.752563 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,836 | loadabledll.cpp | TranslucentTB_TranslucentTB/TranslucentTB/loadabledll.cpp | #include "loadabledll.hpp"
#include <format>
#include <wil/win32_helpers.h>
#include "resources/ids.h"
#include "localization.hpp"
#include "win32.hpp"
#include "windows/window.hpp"
#include "../ProgramLog/error/std.hpp"
std::filesystem::path LoadableDll::GetDllPath(const std::optional<std::filesystem::path> &storage... | 2,312 | C++ | .cpp | 67 | 32.208955 | 127 | 0.735452 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,837 | application.cpp | TranslucentTB_TranslucentTB/TranslucentTB/application.cpp | #include "application.hpp"
#include <WinBase.h>
#include <WinUser.h>
#include "winrt.hpp"
#include <winrt/Windows.System.h>
#include <winrt/TranslucentTB.Xaml.Pages.h>
#include <wil/cppwinrt_helpers.h>
#include "../ProgramLog/error/std.hpp"
#include "../ProgramLog/error/win32.hpp"
#include "uwp/uwp.hpp"
void Applicat... | 5,830 | C++ | .cpp | 208 | 24.836538 | 112 | 0.7198 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,838 | main.cpp | TranslucentTB_TranslucentTB/TranslucentTB/main.cpp | #include "arch.h"
#include <errhandlingapi.h>
#include <heapapi.h>
#include <processthreadsapi.h>
#include <synchapi.h>
#include <wil/resource.h>
#include "winrt.hpp"
#include <winrt/Windows.ApplicationModel.Activation.h>
#include "application.hpp"
#include "constants.hpp"
#include "mainappwindow.hpp"
#include "../Pro... | 5,294 | C++ | .cpp | 133 | 37.518797 | 138 | 0.784478 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,839 | folderwatcher.cpp | TranslucentTB_TranslucentTB/TranslucentTB/folderwatcher.cpp | #include "folderwatcher.hpp"
#include <wil/filesystem.h>
#include "../ProgramLog/error/win32.hpp"
void FolderWatcher::OverlappedCallback(DWORD error, DWORD, OVERLAPPED *overlapped)
{
// getting parent pointer by casting first child pointer needs standard layout.
static_assert(std::is_standard_layout_v<FolderWatcher... | 2,661 | C++ | .cpp | 84 | 29.190476 | 147 | 0.74191 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,840 | mainappwindow.cpp | TranslucentTB_TranslucentTB/TranslucentTB/mainappwindow.cpp | #include "mainappwindow.hpp"
#include <member_thunk/member_thunk.hpp>
#include "application.hpp"
#include "constants.hpp"
#include "localization.hpp"
#include "resources/ids.h"
#include "../ProgramLog/log.hpp"
#include "../ProgramLog/error/win32.hpp"
LRESULT MainAppWindow::MessageHandler(UINT uMsg, WPARAM wParam, LPA... | 11,408 | C++ | .cpp | 305 | 34.760656 | 151 | 0.780755 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,841 | trayicon.cpp | TranslucentTB_TranslucentTB/TranslucentTB/tray/trayicon.cpp | #include "trayicon.hpp"
#include <cguid.h>
#include <shellapi.h>
#include "appinfo.hpp"
#include "constants.hpp"
#include "../localization.hpp"
#include "../../ProgramLog/error/errno.hpp"
#include "../../ProgramLog/error/std.hpp"
#include "../../ProgramLog/error/win32.hpp"
#include "util/color.hpp"
const wchar_t *Tra... | 4,490 | C++ | .cpp | 172 | 23.860465 | 118 | 0.737602 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,842 | basecontextmenu.cpp | TranslucentTB_TranslucentTB/TranslucentTB/tray/basecontextmenu.cpp | #include "basecontextmenu.hpp"
#include <windows.ui.xaml.hosting.desktopwindowxamlsource.h>
#include <winrt/Microsoft.UI.Xaml.Controls.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.UI.Xaml.Automation.Peers.h>
#include <winrt/Windows.UI.Xaml.Automation.Provider.h>
#include "win32.hpp"
#include "../Pr... | 7,808 | C++ | .cpp | 249 | 28.220884 | 132 | 0.725764 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,843 | xamlthreadpool.cpp | TranslucentTB_TranslucentTB/TranslucentTB/uwp/xamlthreadpool.cpp | #include "xamlthreadpool.hpp"
#include <wil/safecast.h>
XamlThread &XamlThreadPool::GetAvailableThread(std::unique_lock<Util::thread_independent_mutex> &lock)
{
for (auto it = m_Threads.begin(); it != m_Threads.end(); ++it)
{
XamlThread &thread = **it;
lock = thread.Lock();
if (thread.IsAvailable())
{
ret... | 998 | C++ | .cpp | 38 | 23.657895 | 118 | 0.696335 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,844 | xamlthread.cpp | TranslucentTB_TranslucentTB/TranslucentTB/uwp/xamlthread.cpp | #include "xamlthread.hpp"
#include <wil/resource.h>
#include "../windows/window.hpp"
#include "uwp.hpp"
#include "../../ProgramLog/error/win32.hpp"
DWORD WINAPI XamlThread::ThreadProc(LPVOID param)
{
const auto that = static_cast<XamlThread *>(param);
that->ThreadInit();
that->m_Ready.SetEvent();
BOOL ret;
MSG ... | 2,818 | C++ | .cpp | 107 | 23.990654 | 144 | 0.727239 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,845 | xamldragregion.cpp | TranslucentTB_TranslucentTB/TranslucentTB/uwp/xamldragregion.cpp | #include "xamldragregion.hpp"
#include <windowsx.h>
#include <wil/resource.h>
#include "../ProgramLog/error/win32.hpp"
void XamlDragRegion::HandleClick(UINT msg, LPARAM lParam) noexcept
{
POINT pt = { GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam) };
if (ClientToScreen(m_WindowHandle, &pt))
{
ancestor(GA_PARENT).sen... | 4,219 | C++ | .cpp | 139 | 27.122302 | 117 | 0.716716 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,846 | basexamlpagehost.cpp | TranslucentTB_TranslucentTB/TranslucentTB/uwp/basexamlpagehost.cpp | #include "basexamlpagehost.hpp"
#include <ShellScalingApi.h>
#include <windows.ui.xaml.hosting.desktopwindowxamlsource.h>
#include "win32.hpp"
#include "../ProgramLog/error/win32.hpp"
#include "../uwp/uwp.hpp"
void BaseXamlPageHost::UpdateFrame()
{
// Magic that gives us shadows
// we use the top side because any o... | 6,581 | C++ | .cpp | 212 | 28.660377 | 163 | 0.737257 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,847 | dynamicdependency.cpp | TranslucentTB_TranslucentTB/TranslucentTB/uwp/dynamicdependency.cpp | #include "dynamicdependency.hpp"
#include <wil/win32_helpers.h>
#include "../ProgramLog/error/win32.hpp"
#include "../resources/ids.h"
#include "../localization.hpp"
#include "version.hpp"
#include "../windows/window.hpp"
DynamicDependency::DynamicDependency(HMODULE hModule, Util::null_terminated_wstring_view package... | 2,574 | C++ | .cpp | 61 | 39.409836 | 203 | 0.772546 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,848 | uwp.cpp | TranslucentTB_TranslucentTB/TranslucentTB/uwp/uwp.cpp | #include "uwp.hpp"
#include <Windows.h>
#include <appmodel.h>
#include <CoreWindow.h>
#include <DispatcherQueue.h>
#include <ShlObj_core.h>
#include <wil/resource.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.UI.Core.h>
#include "../ProgramLog/error/win32.hpp"
#include "../ProgramLog/error/winrt.hpp... | 3,324 | C++ | .cpp | 113 | 27.19469 | 133 | 0.748983 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,849 | configmanager.cpp | TranslucentTB_TranslucentTB/TranslucentTB/managers/configmanager.cpp | #include "configmanager.hpp"
#include <cerrno>
#include <cstdio>
#include <rapidjson/encodedstream.h>
#include <rapidjson/error/error.h>
#include <rapidjson/filereadstream.h>
#include <rapidjson/filewritestream.h>
#include <rapidjson/prettywriter.h>
#include <share.h>
#include <Shlwapi.h>
#include <wil/resource.h>
#inc... | 8,953 | C++ | .cpp | 286 | 28.748252 | 231 | 0.731826 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,850 | startupmanager.cpp | TranslucentTB_TranslucentTB/TranslucentTB/managers/startupmanager.cpp | #include "startupmanager.hpp"
#include <winrt/Windows.Foundation.Collections.h>
#include "../../ProgramLog/error/winrt.hpp"
#include "../uwp/uwp.hpp"
#include "../localization.hpp"
#include "../resources/ids.h"
winrt::fire_and_forget StartupManager::AcquireTask() try
{
if (!m_StartupTask)
{
m_StartupTask = co_awa... | 1,544 | C++ | .cpp | 45 | 32.533333 | 117 | 0.764075 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,851 | taskbarattributeworker.cpp | TranslucentTB_TranslucentTB/TranslucentTB/taskbar/taskbarattributeworker.cpp | #include "taskbarattributeworker.hpp"
#include <functional>
#include <member_thunk/member_thunk.hpp>
#include "constants.hpp"
#include "../localization.hpp"
#include "../../ProgramLog/error/win32.hpp"
#include "../../ProgramLog/error/winrt.hpp"
#include "undoc/explorer.hpp"
#include "undoc/user32.hpp"
#include "undoc/... | 40,192 | C++ | .cpp | 1,182 | 31.026227 | 206 | 0.742856 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,852 | messagewindow.cpp | TranslucentTB_TranslucentTB/TranslucentTB/windows/messagewindow.cpp | #include "messagewindow.hpp"
#include <member_thunk/member_thunk.hpp>
#include "../../ProgramLog/error/win32.hpp"
#include "../../ProgramLog/error/std.hpp"
void MessageWindow::init(Util::null_terminated_wstring_view windowName, DWORD style, DWORD extended_style, Window parent)
{
m_WindowHandle = Window::Create(exten... | 1,654 | C++ | .cpp | 36 | 44.138889 | 223 | 0.780261 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,853 | window.cpp | TranslucentTB_TranslucentTB/TranslucentTB/windows/window.cpp | #include "window.hpp"
#include <ShObjIdl.h>
#include <wil/com.h>
#include <wil/resource.h>
#include "undoc/winternl.hpp"
#include "win32.hpp"
std::optional<std::filesystem::path> Window::TryGetNtImageName(DWORD pid)
{
static const auto NtQuerySystemInformation = []() noexcept -> PFN_NT_QUERY_SYSTEM_INFORMATION
{
... | 5,442 | C++ | .cpp | 180 | 27.372222 | 171 | 0.715213 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,854 | windowclass.cpp | TranslucentTB_TranslucentTB/TranslucentTB/windows/windowclass.cpp | #include "windowclass.hpp"
#include <CommCtrl.h>
#include <WinBase.h>
#include <winerror.h>
#include "../../ProgramLog/error/win32.hpp"
#include "window.hpp"
void WindowClass::LoadIcons(const wchar_t *iconResource)
{
if (iconResource)
{
HresultVerify(LoadIconMetric(m_hInstance, iconResource, LIM_LARGE, m_hIcon.pu... | 2,014 | C++ | .cpp | 62 | 30.354839 | 191 | 0.748842 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,855 | StyleResources.cpp | TranslucentTB_TranslucentTB/Xaml/StyleResources.cpp | #include "pch.h"
#include <algorithm>
#include "StyleResources.h"
#if __has_include("StyleResources.g.cpp")
#include "StyleResources.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::implementation
{
wux::DependencyProperty StyleResources::m_ResourcesProperty =
wux::DependencyProperty::RegisterAttached(
L"Res... | 2,689 | C++ | .cpp | 89 | 26.044944 | 149 | 0.713789 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,856 | FunctionalConverters.cpp | TranslucentTB_TranslucentTB/Xaml/FunctionalConverters.cpp | #include "pch.h"
#include "FunctionalConverters.h"
#if __has_include("FunctionalConverters.g.cpp")
#include "FunctionalConverters.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::implementation
{
bool FunctionalConverters::InvertedBool(bool value) noexcept
{
return !value;
}
wux::Visibility FunctionalConver... | 705 | C++ | .cpp | 24 | 27.333333 | 104 | 0.792899 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,857 | App.cpp | TranslucentTB_TranslucentTB/Xaml/App.cpp | #include "pch.h"
#include "App.h"
#if __has_include("App.g.cpp")
#include "App.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::implementation
{
App::App()
{
// empty
}
}
| 181 | C++ | .cpp | 12 | 13.5 | 52 | 0.694611 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,858 | RelativeAncestor.cpp | TranslucentTB_TranslucentTB/Xaml/RelativeAncestor.cpp | #include "pch.h"
#include "RelativeAncestor.h"
#if __has_include("RelativeAncestor.g.cpp")
#include "RelativeAncestor.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::implementation
{
thread_local std::vector<std::pair<weak_ref<wux::FrameworkElement>, event_token>> RelativeAncestor::s_UnloadedTokenList;
thread_l... | 3,580 | C++ | .cpp | 129 | 23.813953 | 128 | 0.698981 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,859 | FluentColorPalette.cpp | TranslucentTB_TranslucentTB/Xaml/Models/FluentColorPalette.cpp | #include "pch.h"
#include <tuple>
#include "FluentColorPalette.h"
#if __has_include("Models/FluentColorPalette.g.cpp")
#include "Models/FluentColorPalette.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Models::implementation
{
uint32_t FluentColorPalette::ColorCount() noexcept
{
return std::tuple_size_v<decl... | 617 | C++ | .cpp | 21 | 27.47619 | 90 | 0.782095 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,860 | Action.cpp | TranslucentTB_TranslucentTB/Xaml/Models/Action.cpp | #include "pch.h"
#include "Action.h"
#if __has_include("Models/Action.g.cpp")
#include "Models/Action.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Models::implementation
{
void Action::ForwardClick(const IInspectable &sender, const wux::RoutedEventArgs &args)
{
m_click(sender, args);
}
}
| 303 | C++ | .cpp | 12 | 23.666667 | 88 | 0.761246 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,861 | WelcomePage.cpp | TranslucentTB_TranslucentTB/Xaml/Pages/WelcomePage.cpp | #include "pch.h"
#include "WelcomePage.h"
#if __has_include("Pages/WelcomePage.g.cpp")
#include "Pages/WelcomePage.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Pages::implementation
{
wf::Rect WelcomePage::ExpandedDragRegion()
{
const auto titleRegion = TitleRegion();
return {
0.0f,
0.0f,
static... | 1,059 | C++ | .cpp | 39 | 24.74359 | 92 | 0.765054 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,862 | FramelessPage.cpp | TranslucentTB_TranslucentTB/Xaml/Pages/FramelessPage.cpp | #include "pch.h"
#include <ranges>
#include "FramelessPage.h"
#if __has_include("Pages/FramelessPage.g.cpp")
#include "Pages/FramelessPage.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Pages::implementation
{
void FramelessPage::InitializeComponent()
{
m_SystemMenuChangedToken = m_SystemMenuContent.VectorCh... | 3,604 | C++ | .cpp | 147 | 21.129252 | 134 | 0.704956 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,863 | TrayFlyoutPage.cpp | TranslucentTB_TranslucentTB/Xaml/Pages/TrayFlyoutPage.cpp | #include "pch.h"
#include "TrayFlyoutPage.h"
#if __has_include("Pages/TrayFlyoutPage.g.cpp")
#include "Pages/TrayFlyoutPage.g.cpp"
#endif
#include "arch.h"
#include <winbase.h>
#include "config/taskbarappearance.hpp"
namespace winrt::TranslucentTB::Xaml::Pages::implementation
{
TrayFlyoutPage::TrayFlyoutPage(bool ... | 8,256 | C++ | .cpp | 287 | 25.090592 | 139 | 0.715996 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,864 | ColorPickerPage.cpp | TranslucentTB_TranslucentTB/Xaml/Pages/ColorPickerPage.cpp | #include "pch.h"
#include "ColorPickerPage.h"
#if __has_include("Pages/ColorPickerPage.g.cpp")
#include "Pages/ColorPickerPage.g.cpp"
#endif
#include "appinfo.hpp"
namespace winrt::TranslucentTB::Xaml::Pages::implementation
{
ColorPickerPage::ColorPickerPage(txmp::TaskbarState state, Windows::UI::Color originalColo... | 3,238 | C++ | .cpp | 95 | 31.231579 | 142 | 0.7696 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,865 | FocusBorderColorSpectrum.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/FocusBorderColorSpectrum.cpp | #include "pch.h"
#include "FocusBorderColorSpectrum.h"
#if __has_include("Controls/FocusBorderColorSpectrum.g.cpp")
#include "Controls/FocusBorderColorSpectrum.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Controls::implementation
{
void FocusBorderColorSpectrum::OnApplyTemplate()
{
m_SizingGridSizeChangedR... | 1,193 | C++ | .cpp | 32 | 34.71875 | 147 | 0.791847 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,866 | UniformGrid.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/UniformGrid.cpp | #include "pch.h"
#include <numeric>
#include <ranges>
#include "UniformGrid.h"
#if __has_include("Controls/UniformGrid.g.cpp")
#include "Controls/UniformGrid.g.cpp"
#endif
#include "win32.hpp"
namespace winrt::TranslucentTB::Xaml::Controls::implementation
{
wux::DependencyProperty UniformGrid::m_AutoLayoutProperty ... | 10,326 | C++ | .cpp | 302 | 30.086093 | 139 | 0.671146 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,867 | ConstrainedBox.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/ConstrainedBox.cpp | #include "pch.h"
#include <cmath>
#include "ConstrainedBox.h"
#if __has_include("Controls/ConstrainedBox.g.cpp")
#include "Controls/ConstrainedBox.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Controls::implementation
{
void ConstrainedBox::OnDependencyPropertyChanged(const IInspectable &sender, const wux::Dep... | 4,226 | C++ | .cpp | 105 | 37.066667 | 126 | 0.749513 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,868 | SwitchPresenter.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/SwitchPresenter.cpp | #include "pch.h"
#include "Controls/SwitchPresenter.h"
#if __has_include("Controls/SwitchPresenter.g.cpp")
#include "Controls/SwitchPresenter.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Controls::implementation
{
void SwitchPresenter::OnValueChanged(const IInspectable &sender, const wux::DependencyPropertyCh... | 3,153 | C++ | .cpp | 115 | 24.217391 | 189 | 0.714806 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,869 | ActionList.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/ActionList.cpp | #include "pch.h"
#include "Controls/ActionList.h"
#if __has_include("Controls/ActionList.g.cpp")
#include "Controls/ActionList.g.cpp"
#endif
#include "../Models/Action.h"
namespace winrt::TranslucentTB::Xaml::Controls::implementation
{
void ActionList::ForwardActionKey(const IInspectable &sender, const wux::Input::... | 720 | C++ | .cpp | 22 | 30.5 | 108 | 0.748918 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,870 | colorpickerrendering.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/colorpickerrendering.cpp | #include "pch.h"
#include "colorpickerrendering.hpp"
void FillChannelBitmap(uint8_t *bgraPixelData, int32_t width, int32_t height, double renderScale, wuxc::Orientation orientation, txmp::ColorRepresentation colorRepresentation, txmp::ColorChannel channel, Util::HsvColor baseHsvColor, Util::Color checkerColor, bool is... | 4,944 | C++ | .cpp | 151 | 29.443709 | 314 | 0.717761 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,871 | ColorPickerSlider.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/ColorPickerSlider.cpp | #include "pch.h"
#include "ColorPickerSlider.h"
#if __has_include("Controls/ColorPickerSlider.g.cpp")
#include "Controls/ColorPickerSlider.g.cpp"
#endif
#include "../Converters/ContrastBrushConverter.h"
#include "util/color.hpp"
#include "colorpickerrendering.hpp"
namespace winrt::TranslucentTB::Xaml::Controls::impl... | 7,419 | C++ | .cpp | 214 | 31.074766 | 200 | 0.732664 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,872 | ChromeButton.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/ChromeButton.cpp | #include "pch.h"
#include "ChromeButton.h"
#if __has_include("Controls/ChromeButton.g.cpp")
#include "Controls/ChromeButton.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Controls::implementation
{
ChromeButton::ChromeButton()
{
DefaultStyleKey(box_value(name_of<class_type>()));
}
void ChromeButton::OnTog... | 389 | C++ | .cpp | 19 | 18.421053 | 62 | 0.73842 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,873 | ColorPicker.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/ColorPicker.cpp | #include "pch.h"
#include "ColorPicker.h"
#if __has_include("Controls/ColorPicker.g.cpp")
#include "Controls/ColorPicker.g.cpp"
#endif
#include "colorpickerrendering.hpp"
#include "util/color.hpp"
#include "util/string_macros.hpp"
namespace winrt::TranslucentTB::Xaml::Controls::implementation
{
wux::DependencyPrope... | 40,449 | C++ | .cpp | 1,095 | 32.796347 | 174 | 0.755802 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,874 | Case.cpp | TranslucentTB_TranslucentTB/Xaml/Controls/Case.cpp | #include "pch.h"
#include "Case.h"
#if __has_include("Controls/Case.g.cpp")
#include "Controls/Case.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Controls::implementation
{
// everything declared in header, this file required for cppwinrt uniform construction
}
| 271 | C++ | .cpp | 9 | 28.777778 | 87 | 0.784615 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,875 | ContrastBrushConverter.cpp | TranslucentTB_TranslucentTB/Xaml/Converters/ContrastBrushConverter.cpp | #include "pch.h"
#include "ContrastBrushConverter.h"
#if __has_include("Converters/ContrastBrushConverter.g.cpp")
#include "Converters/ContrastBrushConverter.g.cpp"
#endif
#include "util/color.hpp"
namespace winrt::TranslucentTB::Xaml::Converters::implementation
{
uint8_t ContrastBrushConverter::AlphaThreshold() no... | 1,857 | C++ | .cpp | 62 | 27.112903 | 156 | 0.741176 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,876 | ThicknessFilterConverter.cpp | TranslucentTB_TranslucentTB/Xaml/Converters/ThicknessFilterConverter.cpp | #include "pch.h"
#include "ThicknessFilterConverter.h"
#if __has_include("Converters/ThicknessFilterConverter.g.cpp")
#include "Converters/ThicknessFilterConverter.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Converters::implementation
{
wf::IInspectable ThicknessFilterConverter::Convert(const IInspectable &v... | 1,586 | C++ | .cpp | 52 | 27.403846 | 149 | 0.746386 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,877 | ColorToColorShadeConverter.cpp | TranslucentTB_TranslucentTB/Xaml/Converters/ColorToColorShadeConverter.cpp | #include "pch.h"
#include "ColorToColorShadeConverter.h"
#if __has_include("Converters/ColorToColorShadeConverter.g.cpp")
#include "Converters/ColorToColorShadeConverter.g.cpp"
#endif
#include "util/color.hpp"
namespace winrt::TranslucentTB::Xaml::Converters::implementation
{
wf::IInspectable ColorToColorShadeConve... | 2,584 | C++ | .cpp | 87 | 26.252874 | 160 | 0.686014 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,878 | ColorToDisplayNameConverter.cpp | TranslucentTB_TranslucentTB/Xaml/Converters/ColorToDisplayNameConverter.cpp | #include "pch.h"
#include "ColorToDisplayNameConverter.h"
#if __has_include("Converters/ColorToDisplayNameConverter.g.cpp")
#include "Converters/ColorToDisplayNameConverter.g.cpp"
#endif
namespace winrt::TranslucentTB::Xaml::Converters::implementation
{
wf::IInspectable ColorToDisplayNameConverter::Convert(const IIn... | 1,049 | C++ | .cpp | 30 | 32.4 | 151 | 0.763314 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,879 | version.cpp | TranslucentTB_TranslucentTB/Tests/version.cpp | #include <gtest/gtest.h>
#include "version.hpp"
TEST(Version_FromHighLow, ConvertsToSameVersion)
{
ASSERT_EQ(Version::FromHighLow(0x00010002, 0x00030004), (Version { 1, 2, 3, 4 }));
}
TEST(Version_FromPackageVersion_WinRT, ConvertsToSameVersion)
{
winrt::Windows::ApplicationModel::PackageVersion winRtVersion = {
... | 1,185 | C++ | .cpp | 42 | 26.333333 | 83 | 0.692851 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,880 | win32.cpp | TranslucentTB_TranslucentTB/Tests/win32.cpp | #include <compare>
#include <gtest/gtest.h>
#include "win32.hpp"
#include "win32version.h"
// to allow ASSERT_EQ with RECT
static bool operator==(const RECT &left, const RECT &right) noexcept
{
// make sure there's no padding
static_assert(sizeof(RECT) == 4 * sizeof(LONG));
return std::memcmp(&left, &right, sizeo... | 3,819 | C++ | .cpp | 130 | 27.192308 | 93 | 0.638745 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,881 | strings.cpp | TranslucentTB_TranslucentTB/Tests/util/strings.cpp | #include <gtest/gtest.h>
#include <ranges>
#include "../testingdata.hpp"
#include "util/strings.hpp"
namespace {
static constexpr std::pair<std::wstring_view, std::wstring_view> trimTestCases[] = {
{ L"\t\v \f\n\rfoo \nbar", L"foo \nbar" },
{ L"foo \nbar\t\r \f\n\v", L"foo \nbar" },
{ L"\t\v \f\n\rfoo \nbar\t\... | 1,962 | C++ | .cpp | 83 | 21.614458 | 85 | 0.709539 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,882 | color.cpp | TranslucentTB_TranslucentTB/Tests/util/color.cpp | #include <gtest/gtest.h>
#include <ranges>
#include "util/color.hpp"
TEST(Util_HsvColor_Constructor, DefaultConstructorIsTransparentBlack)
{
const Util::HsvColor col;
ASSERT_EQ(col.H, 0.0);
ASSERT_EQ(col.S, 0.0);
ASSERT_EQ(col.V, 0.0);
ASSERT_EQ(col.A, 0.0);
}
TEST(Util_HsvColor_Constructor, ConstructorFromHSVU... | 7,261 | C++ | .cpp | 220 | 30.963636 | 102 | 0.682467 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,883 | numbers.cpp | TranslucentTB_TranslucentTB/Tests/util/numbers.cpp | #include <cstdint>
#include <gtest/gtest.h>
#include <ranges>
#include "../testingdata.hpp"
#include "util/numbers.hpp"
TEST(Util_IsDecimalDigit, ReturnsFalseWhenNotDigit)
{
for (const auto [upper, lower] : alphabet)
{
ASSERT_FALSE(Util::impl::IsDecimalDigit(upper));
ASSERT_FALSE(Util::impl::IsDecimalDigit(lowe... | 3,192 | C++ | .cpp | 120 | 24.491667 | 83 | 0.731236 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,884 | rapidjsonhelper.cpp | TranslucentTB_TranslucentTB/Tests/config/rapidjsonhelper.cpp | #include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <string>
#include <ranges>
#include "config/rapidjsonhelper.hpp"
namespace {
static constexpr rj::Type types[] = {
rj::Type::kNullType,
rj::Type::kObjectType,
rj::Type::kArrayType,
rj::Type::kStringType,
rj::Type::kNumberType
};
static constexpr... | 7,612 | C++ | .cpp | 247 | 28.461538 | 118 | 0.742435 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,885 | visualtreewatcher.hpp | TranslucentTB_TranslucentTB/ExplorerTAP/visualtreewatcher.hpp | #pragma once
#include <string_view>
#include <unordered_set>
#include <xamlOM.h>
#include "winrt.hpp"
#include "undefgetcurrenttime.h"
#include <winrt/Windows.UI.Xaml.h>
#include "redefgetcurrenttime.h"
#include "taskbarappearanceservice.hpp"
struct VisualTreeWatcher : winrt::implements<VisualTreeWatcher, IVisualTree... | 1,466 | C++ | .h | 32 | 43.875 | 141 | 0.827368 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,886 | api.hpp | TranslucentTB_TranslucentTB/ExplorerTAP/api.hpp | #pragma once
#include "arch.h"
#include <windef.h>
extern "C"
#ifdef EXPLORERTAP_EXPORTS
__declspec(dllexport)
#else
__declspec(dllimport)
#endif
HRESULT InjectExplorerTAP(DWORD pid, REFIID riid, LPVOID* ppv);
using PFN_INJECT_EXPLORER_TAP = decltype(&InjectExplorerTAP);
| 274 | C++ | .h | 11 | 23.727273 | 63 | 0.804598 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,887 | tapsite.hpp | TranslucentTB_TranslucentTB/ExplorerTAP/tapsite.hpp | #pragma once
#include <ocidl.h>
#include <xamlOM.h>
#include "winrt.hpp"
#include <wil/resource.h>
#include "ExplorerTAP.h"
#include "visualtreewatcher.hpp"
class TAPSite : public winrt::implements<TAPSite, IObjectWithSite, winrt::non_agile>
{
public:
static wil::unique_event_nothrow GetReadyEvent();
private:
HRES... | 564 | C++ | .h | 17 | 31.588235 | 84 | 0.806273 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,888 | taskbarappearanceservice.hpp | TranslucentTB_TranslucentTB/ExplorerTAP/taskbarappearanceservice.hpp | #pragma once
#include <unordered_map>
#include <xamlOM.h>
#include "winrt.hpp"
#include "undefgetcurrenttime.h"
#include <winrt/Windows.System.h>
#include <winrt/Windows.UI.Xaml.Media.h>
#include <winrt/Windows.UI.Xaml.Shapes.h>
#include "redefgetcurrenttime.h"
#include <wil/resource.h>
#include "ExplorerTAP.h"
#inclu... | 2,429 | C++ | .h | 55 | 42.054545 | 143 | 0.835244 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,889 | lazyfilesink.hpp | TranslucentTB_TranslucentTB/ProgramLog/lazyfilesink.hpp | #pragma once
#include "arch.h"
#include <filesystem>
#include <mutex>
#include <spdlog/details/null_mutex.h>
#include <spdlog/sinks/base_sink.h>
#include <string_view>
#include <type_traits>
#include <wil/resource.h>
#include "api.h"
enum class lazy_sink_state {
opened = 0,
nothing_logged = 1,
failed = 2
};
templ... | 1,080 | C++ | .h | 35 | 29.114286 | 98 | 0.739845 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,890 | log.hpp | TranslucentTB_TranslucentTB/ProgramLog/log.hpp | #pragma once
#include <atomic>
#include <ctime>
#include <filesystem>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include "api.h"
#include "lazyfilesink.hpp"
class Log {
private:
enum class InitStatus {
NotInitialized,
Initializing,
Initialized
};
static std::atomic<InitS... | 851 | C++ | .h | 27 | 29.740741 | 98 | 0.788767 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
4,892 | win32.hpp | TranslucentTB_TranslucentTB/ProgramLog/error/win32.hpp | #pragma once
#include "arch.h"
#include <windef.h>
#include <winerror.h>
#include <wil/result_macros.h>
#include <wil/resource.h>
#include "error.hpp"
namespace Error {
namespace impl {
std::wstring FormatHRESULT(HRESULT result, std::wstring_view description);
wil::unique_hlocal_string FormatMessageForLanguage(H... | 1,433 | C++ | .h | 33 | 41.575758 | 154 | 0.72394 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,893 | error.hpp | TranslucentTB_TranslucentTB/ProgramLog/error/error.hpp | #pragma once
#include "arch.h"
#include <spdlog/common.h>
#include <source_location>
#include <string_view>
#include <thread>
#include "../api.h"
#include "appinfo.hpp"
#include "util/null_terminated_string_view.hpp"
#define UTF8_ERROR_TITLE UTF8_APP_NAME " - Error"
namespace Error {
namespace impl {
PROGRAMLOG_A... | 2,497 | C++ | .h | 56 | 42.267857 | 243 | 0.745881 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,894 | std.hpp | TranslucentTB_TranslucentTB/ProgramLog/error/std.hpp | #pragma once
#include <system_error>
#include "error.hpp"
namespace Error {
PROGRAMLOG_API std::wstring MessageFromStdErrorCode(const std::error_code &err);
}
#define StdErrorCodeHandle(errc_, level_, message_) ErrorHandleCommonMacro((level_), (message_), Error::MessageFromStdErrorCode((errc_)))
#define StdErrorCo... | 805 | C++ | .h | 15 | 51.866667 | 156 | 0.735969 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,895 | rapidjson.hpp | TranslucentTB_TranslucentTB/ProgramLog/error/rapidjson.hpp | #pragma once
#include <rapidjson/error/en.h>
#include "error.hpp"
#include "../../Common/config/rapidjsonhelper.hpp"
#define ParseErrorCodeHandle(code_, level_, message_) ErrorHandleCommonMacro((level_), (message_), rj::GetParseError_En((code_)))
#define HelperDeserializationErrorHandle(exception_, level_, message_)... | 568 | C++ | .h | 7 | 79.571429 | 181 | 0.777379 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,896 | errno.hpp | TranslucentTB_TranslucentTB/ProgramLog/error/errno.hpp | #pragma once
#include <cerrno>
#include "error.hpp"
namespace Error {
PROGRAMLOG_API std::wstring MessageFromErrno(errno_t err);
}
#define ErrnoTHandle(err_, level_, message_) ErrorHandleCommonMacro((level_), (message_), Error::MessageFromErrno((err_)))
| 258 | C++ | .h | 7 | 35.285714 | 122 | 0.770161 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,897 | winrt.hpp | TranslucentTB_TranslucentTB/ProgramLog/error/winrt.hpp | #pragma once
#include "arch.h"
#include <restrictederrorinfo.h>
#include <windef.h>
#include <winerror.h>
#include "../Common/winrt.hpp"
#include "error.hpp"
namespace Error {
namespace impl {
std::wstring FormatIRestrictedErrorInfo(HRESULT result, BSTR description);
[[noreturn]] PROGRAMLOG_API void HandleCriti... | 1,406 | C++ | .h | 27 | 50.148148 | 205 | 0.764749 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,898 | appinfo.hpp | TranslucentTB_TranslucentTB/Common/appinfo.hpp | #pragma once
#include "util/string_macros.hpp"
#if defined(BUILD_TYPE) && BUILD_TYPE == 0
#define UTF8_APP_NAME "TranslucentTB"
#elif defined(BUILD_TYPE) && BUILD_TYPE == 1
#define UTF8_APP_NAME "TranslucentTB (Canary)"
#else
#define UTF8_APP_NAME "TranslucentTB (Dev)"
#endif
#define APP_NAME UTIL_WIDEN(UTF8_APP_NAME... | 502 | C++ | .h | 14 | 34.571429 | 65 | 0.768595 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,899 | version.hpp | TranslucentTB_TranslucentTB/Common/version.hpp | #pragma once
#include "arch.h"
#include <compare>
#include <cstdint>
#include <format>
#include <string>
#include <windef.h>
#include <winbase.h>
#include <appmodel.h>
#include "winrt.hpp"
#include <winrt/Windows.ApplicationModel.h>
struct Version {
uint16_t Major;
uint16_t Minor;
uint16_t Build;
uint16_t Revision... | 1,503 | C++ | .h | 54 | 25.777778 | 102 | 0.739945 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,900 | win32.hpp | TranslucentTB_TranslucentTB/Common/win32.hpp | #pragma once
#include "arch.h"
#include <bit>
#include <windef.h>
#include <cstddef>
#include <cstdint>
#include <errhandlingapi.h>
#include <filesystem>
#include <memory>
#include <libloaderapi.h>
#include <processthreadsapi.h>
#include <winbase.h>
#include <shellapi.h>
#include <Shlobj.h>
#include <string>
#include <... | 8,712 | C++ | .h | 278 | 28.219424 | 129 | 0.714184 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
4,901 | constants.hpp | TranslucentTB_TranslucentTB/Common/constants.hpp | #pragma once
#include "arch.h"
#include <cstdint>
#include <guiddef.h>
#include "util/null_terminated_string_view.hpp"
#pragma region App
// Mutex name for app uniqueness
static constexpr Util::null_terminated_wstring_view MUTEX_GUID = L"344635E9-9AE4-4E60-B128-D53E25AB70A7";
// Event used to signal when the TAP is... | 3,651 | C++ | .h | 57 | 62.526316 | 125 | 0.8078 | TranslucentTB/TranslucentTB | 15,526 | 1,125 | 171 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.