mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 00:27:29 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
33f029715a
12 changed files with 38 additions and 25 deletions
|
|
@ -8,8 +8,11 @@ installer:
|
||||||
package:
|
package:
|
||||||
@$(MAKE) -C application/basilisk/installer make-archive
|
@$(MAKE) -C application/basilisk/installer make-archive
|
||||||
|
|
||||||
|
l10n-package:
|
||||||
|
@$(MAKE) -C application/basilisk/installer make-langpack
|
||||||
|
|
||||||
mozpackage:
|
mozpackage:
|
||||||
@$(MAKE) -C application/basilisk/installer make-package
|
@$(MAKE) -C application/basilisk/installer
|
||||||
|
|
||||||
package-compare:
|
package-compare:
|
||||||
@$(MAKE) -C application/basilisk/installer package-compare
|
@$(MAKE) -C application/basilisk/installer package-compare
|
||||||
|
|
|
||||||
|
|
@ -150,11 +150,15 @@ endif
|
||||||
|
|
||||||
# Builds using the hybrid FasterMake/RecursiveMake backend will
|
# Builds using the hybrid FasterMake/RecursiveMake backend will
|
||||||
# fail to produce a langpack. See bug 1255096.
|
# fail to produce a langpack. See bug 1255096.
|
||||||
libs::
|
make-langpack:
|
||||||
ifeq (,$(filter FasterMake+RecursiveMake,$(BUILD_BACKENDS)))
|
ifeq (,$(filter FasterMake+RecursiveMake,$(BUILD_BACKENDS)))
|
||||||
$(MAKE) -C $(DEPTH)/application/basilisk/locales langpack
|
$(MAKE) -C $(DEPTH)/application/basilisk/locales langpack
|
||||||
|
else
|
||||||
|
@echo WARNING: "Language Pack was not generated due to using the hybrid FasterMake/RecursiveMake backend." >&2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
libs:: make-langpack
|
||||||
|
|
||||||
ifeq (WINNT,$(OS_ARCH))
|
ifeq (WINNT,$(OS_ARCH))
|
||||||
PKGCOMP_FIND_OPTS =
|
PKGCOMP_FIND_OPTS =
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,11 @@ installer:
|
||||||
package:
|
package:
|
||||||
@$(MAKE) -C application/palemoon/installer make-archive
|
@$(MAKE) -C application/palemoon/installer make-archive
|
||||||
|
|
||||||
|
l10n-package:
|
||||||
|
@$(MAKE) -C application/palemoon/installer make-langpack
|
||||||
|
|
||||||
mozpackage:
|
mozpackage:
|
||||||
@$(MAKE) -C application/palemoon/installer make-package
|
@$(MAKE) -C application/palemoon/installer
|
||||||
|
|
||||||
package-compare:
|
package-compare:
|
||||||
@$(MAKE) -C application/palemoon/installer package-compare
|
@$(MAKE) -C application/palemoon/installer package-compare
|
||||||
|
|
|
||||||
|
|
@ -156,9 +156,16 @@ endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Builds using the hybrid FasterMake/RecursiveMake backend will
|
||||||
libs::
|
# fail to produce a langpack. See bug 1255096.
|
||||||
|
make-langpack:
|
||||||
|
ifeq (,$(filter FasterMake+RecursiveMake,$(BUILD_BACKENDS)))
|
||||||
$(MAKE) -C $(DEPTH)/application/palemoon/locales langpack
|
$(MAKE) -C $(DEPTH)/application/palemoon/locales langpack
|
||||||
|
else
|
||||||
|
@echo WARNING: "Language Pack was not generated due to using the hybrid FasterMake/RecursiveMake backend." >&2
|
||||||
|
endif
|
||||||
|
|
||||||
|
libs:: make-langpack
|
||||||
|
|
||||||
ifeq (WINNT,$(OS_ARCH))
|
ifeq (WINNT,$(OS_ARCH))
|
||||||
PKGCOMP_FIND_OPTS =
|
PKGCOMP_FIND_OPTS =
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ interface nsIDOMCSSGroupingRule : nsIDOMCSSRule
|
||||||
readonly attribute nsIDOMCSSRuleList cssRules;
|
readonly attribute nsIDOMCSSRuleList cssRules;
|
||||||
|
|
||||||
unsigned long insertRule(in DOMString rule,
|
unsigned long insertRule(in DOMString rule,
|
||||||
in unsigned long index)
|
[optional] in unsigned long index)
|
||||||
raises(DOMException);
|
raises(DOMException);
|
||||||
void deleteRule(in unsigned long index)
|
void deleteRule(in unsigned long index)
|
||||||
raises(DOMException);
|
raises(DOMException);
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ interface nsIDOMCSSStyleSheet : nsIDOMStyleSheet
|
||||||
readonly attribute nsIDOMCSSRuleList cssRules;
|
readonly attribute nsIDOMCSSRuleList cssRules;
|
||||||
|
|
||||||
unsigned long insertRule(in DOMString rule,
|
unsigned long insertRule(in DOMString rule,
|
||||||
in unsigned long index)
|
[optional] in unsigned long index)
|
||||||
raises(DOMException);
|
raises(DOMException);
|
||||||
void deleteRule(in unsigned long index)
|
void deleteRule(in unsigned long index)
|
||||||
raises(DOMException);
|
raises(DOMException);
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ interface CSSStyleSheet : StyleSheet {
|
||||||
[ChromeOnly, BinaryName="parsingModeDOM"]
|
[ChromeOnly, BinaryName="parsingModeDOM"]
|
||||||
readonly attribute CSSStyleSheetParsingMode parsingMode;
|
readonly attribute CSSStyleSheetParsingMode parsingMode;
|
||||||
[Throws, NeedsSubjectPrincipal]
|
[Throws, NeedsSubjectPrincipal]
|
||||||
unsigned long insertRule(DOMString rule, unsigned long index);
|
unsigned long insertRule(DOMString rule, optional unsigned long index = 0);
|
||||||
[Throws, NeedsSubjectPrincipal]
|
[Throws, NeedsSubjectPrincipal]
|
||||||
void deleteRule(unsigned long index);
|
void deleteRule(unsigned long index);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -199,8 +199,7 @@ nsInlineFrame::DestroyFrom(nsIFrame* aDestructRoot)
|
||||||
// Fixup the parent pointers for any child frames on the OverflowList.
|
// Fixup the parent pointers for any child frames on the OverflowList.
|
||||||
// nsIFrame::DestroyFrom depends on that to find the sticky scroll
|
// nsIFrame::DestroyFrom depends on that to find the sticky scroll
|
||||||
// container (an ancestor).
|
// container (an ancestor).
|
||||||
nsIFrame* lineContainer = nsLayoutUtils::FindNearestBlockAncestor(this);
|
overflowFrames->ApplySetParent(this);
|
||||||
DrainSelfOverflowListInternal(eForDestroy, lineContainer);
|
|
||||||
}
|
}
|
||||||
nsContainerFrame::DestroyFrom(aDestructRoot);
|
nsContainerFrame::DestroyFrom(aDestructRoot);
|
||||||
}
|
}
|
||||||
|
|
@ -508,8 +507,7 @@ nsInlineFrame::DrainSelfOverflowListInternal(DrainFlags aFlags,
|
||||||
if (aLineContainer && aLineContainer->GetPrevContinuation()) {
|
if (aLineContainer && aLineContainer->GetPrevContinuation()) {
|
||||||
ReparentFloatsForInlineChild(aLineContainer, firstChild, true);
|
ReparentFloatsForInlineChild(aLineContainer, firstChild, true);
|
||||||
}
|
}
|
||||||
const bool doReparentSC =
|
const bool doReparentSC = (aFlags & eInFirstLine);
|
||||||
(aFlags & eInFirstLine) && !(aFlags & eForDestroy);
|
|
||||||
RestyleManagerHandle restyleManager = PresContext()->RestyleManager();
|
RestyleManagerHandle restyleManager = PresContext()->RestyleManager();
|
||||||
for (nsIFrame* f = firstChild; f; f = f->GetNextSibling()) {
|
for (nsIFrame* f = firstChild; f; f = f->GetNextSibling()) {
|
||||||
f->SetParent(this);
|
f->SetParent(this);
|
||||||
|
|
|
||||||
|
|
@ -175,9 +175,6 @@ private:
|
||||||
enum DrainFlags {
|
enum DrainFlags {
|
||||||
eDontReparentFrames = 1, // skip reparenting the overflow list frames
|
eDontReparentFrames = 1, // skip reparenting the overflow list frames
|
||||||
eInFirstLine = 2, // the request is for an inline descendant of a nsFirstLineFrame
|
eInFirstLine = 2, // the request is for an inline descendant of a nsFirstLineFrame
|
||||||
eForDestroy = 4, // the request is from DestroyFrom; in this case we do the
|
|
||||||
// minimal work required since the frame is about to be
|
|
||||||
// destroyed (just fixup parent pointers)
|
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Move any frames on our overflow list to the end of our principal list.
|
* Move any frames on our overflow list to the end of our principal list.
|
||||||
|
|
|
||||||
|
|
@ -249,14 +249,6 @@ nsMessengerOSXIntegration::Observe(nsISupports* aSubject, const char* aTopic, co
|
||||||
return mailSession->AddFolderListener(this, nsIFolderListener::boolPropertyChanged | nsIFolderListener::intPropertyChanged);
|
return mailSession->AddFolderListener(this, nsIFolderListener::boolPropertyChanged | nsIFolderListener::intPropertyChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strcmp(aTopic, kUnreadImCountChangedTopic)) {
|
|
||||||
nsresult rv;
|
|
||||||
nsCOMPtr<nsISupportsPRInt32> unreadCount = do_QueryInterface(aSubject, &rv);
|
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
|
||||||
|
|
||||||
return BadgeDockIcon();
|
|
||||||
}
|
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1079,6 +1079,15 @@ class Stage_Package(MachCommandBase):
|
||||||
def stage_package(self):
|
def stage_package(self):
|
||||||
return self._run_make(directory=".", target='stage-package', ensure_exit_code=False)
|
return self._run_make(directory=".", target='stage-package', ensure_exit_code=False)
|
||||||
|
|
||||||
|
@CommandProvider
|
||||||
|
class L10n_Package(MachCommandBase):
|
||||||
|
"""Build and package l10n as a language pack xpi."""
|
||||||
|
|
||||||
|
@Command('langpack', category='post-build',
|
||||||
|
description='Build and package l10n as a language pack.')
|
||||||
|
def l10n_package(self):
|
||||||
|
return self._run_make(directory=".", target='l10n-package', ensure_exit_code=False)
|
||||||
|
|
||||||
@CommandProvider
|
@CommandProvider
|
||||||
class Package(MachCommandBase):
|
class Package(MachCommandBase):
|
||||||
"""Package the built product for distribution."""
|
"""Package the built product for distribution."""
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@
|
||||||
# very much still dependent on them
|
# very much still dependent on them
|
||||||
include $(MOZILLA_DIR)/toolkit/mozapps/installer/packager.mk
|
include $(MOZILLA_DIR)/toolkit/mozapps/installer/packager.mk
|
||||||
|
|
||||||
# This is currently only used on Windows and Linux
|
# This is currently only used on Windows, Linux, and Solaris
|
||||||
# on other platforms such as Mac will fall back to the orginal
|
# on other platforms such as Mac will fall back to the orginal
|
||||||
# mozilla packaging
|
# mozilla packaging
|
||||||
make-archive:
|
make-archive:
|
||||||
ifeq (,$(filter Linux WINNT,$(OS_ARCH)))
|
ifeq (,$(filter SunOS Linux WINNT,$(OS_ARCH)))
|
||||||
$(MAKE) make-package
|
$(MAKE) make-package
|
||||||
else
|
else
|
||||||
$(MAKE) stage-package make-buildinfo-file
|
$(MAKE) stage-package make-buildinfo-file
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue