mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 00:17:32 +09:00
Compare commits
8 commits
5ffe72cab3
...
b725d2f0e0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b725d2f0e0 | ||
|
|
60bc7b282e | ||
|
|
bf743d6699 | ||
|
|
610e87ff3d | ||
|
|
2cd3bf46b6 | ||
|
|
d7083b26b9 | ||
|
|
d563d4cfa5 | ||
|
|
99a1d556de |
5 changed files with 29 additions and 5 deletions
|
|
@ -1,8 +1,8 @@
|
|||
WIN32_MODULE_COMPANYNAME=@MOZ_APP_VENDOR@
|
||||
WIN32_MODULE_COPYRIGHT=©Eclipse Community, Basilisk and Mozilla Developers; available under the MPL 2 license.
|
||||
WIN32_MODULE_COPYRIGHT=<EFBFBD>Dactyloidae Project, Eclipse Community, Basilisk and Mozilla Developers; available under the MPL 2 license.
|
||||
WIN32_MODULE_PRODUCTVERSION=@MOZ_APP_WINVERSION@
|
||||
WIN32_MODULE_PRODUCTVERSION_STRING=@MOZ_APP_VERSION@
|
||||
WIN32_MODULE_TRADEMARKS=The Hydra logo and project names are trademarks of Eclipse Community.
|
||||
WIN32_MODULE_DESCRIPTION=@MOZ_APP_DISPLAYNAME@ web browser
|
||||
WIN32_MODULE_TRADEMARKS=The Dactyloidae logo and project names are trademarks of Eclipse Community and Dactyloidae Project.
|
||||
WIN32_MODULE_DESCRIPTION=@MOZ_APP_DISPLAYNAME@
|
||||
WIN32_MODULE_PRODUCTNAME=@MOZ_APP_DISPLAYNAME@
|
||||
WIN32_MODULE_NAME=@MOZ_APP_DISPLAYNAME@
|
||||
|
|
|
|||
|
|
@ -938,6 +938,12 @@ BOOL WINAPI revert_mm_thread_characteristics_noop(HANDLE mmcss_handle)
|
|||
|
||||
HRESULT register_notification_client(cubeb_stream * stm)
|
||||
{
|
||||
#if defined(__MINGW32__)
|
||||
// MinGW builds have shown crashes in MMDevApi callback dispatch paths.
|
||||
// Skip notification registration and rely on normal stream operation.
|
||||
(void)stm;
|
||||
return S_OK;
|
||||
#else
|
||||
HRESULT hr = CoCreateInstance(__uuidof(MMDeviceEnumerator),
|
||||
NULL, CLSCTX_INPROC_SERVER,
|
||||
IID_PPV_ARGS(&stm->device_enumerator));
|
||||
|
|
@ -958,10 +964,15 @@ HRESULT register_notification_client(cubeb_stream * stm)
|
|||
}
|
||||
|
||||
return hr;
|
||||
#endif
|
||||
}
|
||||
|
||||
HRESULT unregister_notification_client(cubeb_stream * stm)
|
||||
{
|
||||
#if defined(__MINGW32__)
|
||||
(void)stm;
|
||||
return S_OK;
|
||||
#else
|
||||
XASSERT(stm);
|
||||
HRESULT hr;
|
||||
|
||||
|
|
@ -981,6 +992,7 @@ HRESULT unregister_notification_client(cubeb_stream * stm)
|
|||
SafeRelease(stm->device_enumerator);
|
||||
|
||||
return S_OK;
|
||||
#endif
|
||||
}
|
||||
|
||||
HRESULT get_endpoint(IMMDevice ** device, LPCWSTR devid)
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ if CONFIG['OS_TARGET'] == 'WINNT':
|
|||
'cubeb_winmm.c',
|
||||
]
|
||||
DEFINES['USE_WINMM'] = True
|
||||
if CONFIG['MOZ_SAMPLE_TYPE_FLOAT32']:
|
||||
if CONFIG['MOZ_SAMPLE_TYPE_FLOAT32'] and not CONFIG['GNU_CC']:
|
||||
DEFINES['USE_WASAPI'] = True
|
||||
SOURCES += [
|
||||
'cubeb_wasapi.cpp',
|
||||
|
|
|
|||
|
|
@ -851,7 +851,12 @@ MozDescribeCodeAddress(void* aPC, MozCodeAddressDetails* aDetails)
|
|||
pSymbol->MaxNameLen = MAX_SYM_NAME;
|
||||
|
||||
DWORD64 displacement;
|
||||
#ifdef __MINGW32__
|
||||
// SymFromAddr is not available in MinGW dbghelp.dll
|
||||
ok = FALSE;
|
||||
#else
|
||||
ok = SymFromAddr(myProcess, addr, &displacement, pSymbol);
|
||||
#endif
|
||||
|
||||
if (ok) {
|
||||
strncpy(aDetails->function, pSymbol->Name,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,14 @@
|
|||
|
||||
#include "secerr.h"
|
||||
#include "secasn1.h" /* for SEC_ASN1GetSubtemplate */
|
||||
#include "secitem.h"
|
||||
|
||||
#if defined(_WIN32) && !defined(_WIN64)
|
||||
static __inline void* Win2000_EncodePointer(void* p) { return p; }
|
||||
static __inline void* Win2000_DecodePointer(void* p) { return p; }
|
||||
|
||||
#define EncodePointer(p) Win2000_EncodePointer(p)
|
||||
#define DecodePointer(p) Win2000_DecodePointer(p)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* simple definite-length ASN.1 decoder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue