icecat: add release icecat-140.10.1-1gnu1 for ecne

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -347,9 +347,8 @@ UINT IMMHandler::GetKeyboardCodePage() { return sCodePage; }
// static
IMENotificationRequests IMMHandler::GetIMENotificationRequests() {
return IMENotificationRequests(
IMENotificationRequests::NOTIFY_POSITION_CHANGE |
IMENotificationRequests::NOTIFY_MOUSE_BUTTON_EVENT_ON_CHAR);
return {IMENotificationRequest::PositionChange,
IMENotificationRequest::MouseEventOnChar};
}
// used for checking the lParam of WM_IME_COMPOSITION

View file

@ -497,7 +497,7 @@ nsresult TSFEmptyTextStore::SetFocusAndUpdateDocumentURLAndBrowsingMode(
}
IMENotificationRequests TSFEmptyTextStore::GetIMENotificationRequests() const {
return IMENotificationRequests();
return {};
}
} // namespace mozilla::widget

View file

@ -3189,7 +3189,7 @@ IMENotificationRequests TSFTextStore::GetIMENotificationRequests() const {
if (NS_WARN_IF(!mDocumentMgr)) {
// If there is no active text store, we don't need any notifications
// since there is no sink which needs notifications.
return IMENotificationRequests();
return {};
}
// Otherwise, requests all notifications since even if some of them may not
@ -3207,11 +3207,10 @@ IMENotificationRequests TSFTextStore::GetIMENotificationRequests() const {
// focused element isn't changed. Therefore, if sEnabledTextStore isn't
// nullptr, we need to keep notifying the sink even when it is not focused
// text store for the thread manager.
return IMENotificationRequests(
IMENotificationRequests::NOTIFY_TEXT_CHANGE |
IMENotificationRequests::NOTIFY_POSITION_CHANGE |
IMENotificationRequests::NOTIFY_MOUSE_BUTTON_EVENT_ON_CHAR |
IMENotificationRequests::NOTIFY_DURING_DEACTIVE);
return {IMENotificationRequest::TextChange,
IMENotificationRequest::PositionChange,
IMENotificationRequest::MouseEventOnChar,
IMENotificationRequest::NotifyDuringInactive};
}
nsresult TSFTextStore::OnTextChangeInternal(

View file

@ -622,7 +622,7 @@ void TSFUtils::ClearStoringTextStoresIf(
IMENotificationRequests TSFUtils::GetIMENotificationRequests() {
return sCurrentTextStore ? sCurrentTextStore->GetIMENotificationRequests()
: IMENotificationRequests();
: IMENotificationRequests{};
}
inline std::ostream& operator<<(

View file

@ -41,9 +41,6 @@ namespace mozilla::widget {
class TSFEmptyTextStore;
class TSFTextStore;
class TSFTextStoreBase;
struct IMENotificationRequests;
struct InputContext;
struct InputContextAction;
class TSFUtils final {
public:

View file

@ -361,7 +361,7 @@ IMENotificationRequests IMEHandler::GetIMENotificationRequests() {
// an editor has focus isn't supported by IMEContentObserver nor
// ContentCacheInParent. Therefore, we need to request whole notifications
// which are necessary either IMMHandler or TSFTextStore.
return IMMHandler::GetIMENotificationRequests() |
return IMMHandler::GetIMENotificationRequests() +
TSFUtils::GetIMENotificationRequests();
}