When "speex/speex_resampler.h" was included, another exported header (in
dist/include) would find the speex/speex_resampler.h in dist/include before
dist/system_wrappers. Visibility of undefined symbols depended on the order
of includes.
This patch changes includes to <speex/speex_resampler.h> so that
WRAP_SYSTEM_INCLUDES works as expected but removes the wrapper when not using
GKMEDIAS_SHARED_LIBRARY.
--HG--
extra : rebase_source : 93ca1dbdd6b489647624326e78539f44c60d0b34
- When a smooth scroll is being processed on a frame, mouse wheel and trackpad
momentum scroll event updates will no longer cancel the SMOOTH or SMOOTH_MSD
scroll animations, enabling scripts that depend on them to be responsive
without forcing the user to wait for the fling animations to completely stop.
- Implemented the AxisPhysicsModel class, which encapsulates interpolation and
integration of a 1-dimensional physics model in a frame-rate independent
and stable manner.
- Implemented the AxisPhysicsMSDModel class, which models a generic
1-dimensional Mass-Spring-Damper simulation.
- This physical movement simulation code has been implemented separately from
the existing momentum code in Axis.cpp so that it can be utilized by
both the compositor (AsyncPanZoomController) and main thread
(nsGfxScrollFrame).
- Added layout.css.scroll-behavior.enabled preference to enable and disable
scroll behavior and related smooth scrolling.
- Added layout.css.scroll-behavior.spring-constant preference to enable tuning
of the smooth scroll motion. spring-constant controls the strength of the
simulated MSD (Mass-Spring-Damper).
- Added layout.css.scroll-behavior.damping-ratio preference to enable tuning
of the smooth scroll motion. damping-ratio controls the under, over, or
critically damped behavior of the simulated MSD.
- Added nsIScrollableFrame::ScrollMode::SMOOTH_MSD to differentiate
existing smooth scrolls used by keyboard and mousewheel events from the
CSSOM-View scroll-behavior's MSD motion scrolling.
- Implemented ScrollFrameHelper::AsyncSmoothMSDScroll, which takes the role
of ScrollFrameHelper::AsyncScroll when SMOOTH_MSD scrolls are requested.
- Implemented glue code to handle callbacks from AsyncSmoothMSDScroll and
to hand off velocity between the classes when one scroll animation is
interrupted by another.
This simplifies the medie PlatformDecoderModule build, and makes
it easier to create a toolchain needed for release builds. We
expect binaries built against the 10.7 sdk to still run on 10.6.
This causes garbage from a previous lookup to propagate into subsequent lookups,
and creates confusing situations (like having both a value and a getter).
This is necessary because subsequent patches cause us to assert when invoking
getPropertyDescriptor on a FilteringWrapper for which |Policy| denies both GET
and SET.
This stuff is really a mess. I'm looking forward to it going away.
While most environments are using the root topobjdir, some can be using a
different path. This happens for comm-central files. For those, the compile
target needs to have paths relative to the root topobjdir instead of relative
to the comm-central topobjdir.