gecko-dev/dom/animation
Gabriele Svelto ace6d1063f Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

Differential Revision: https://phabricator.services.mozilla.com/D55442

--HG--
extra : moz-landing-system : lando
2019-12-06 09:24:56 +00:00
..
test Bug 1576946 - Remove nsStackFrame platform code. r=mats 2019-11-12 19:50:19 +00:00
Animation.cpp Bug 1593222: part 12) Rename "nsNodeUtils.*" to "MutationObservers.*". r=smaug 2019-11-06 09:08:06 +00:00
Animation.h Bug 1593222: part 2) Move nsNodeUtils::GetTargetForAnimation to Animation class. r=smaug 2019-11-05 14:23:13 +00:00
AnimationComparator.h
AnimationEffect.cpp Bug 1593222: part 12) Rename "nsNodeUtils.*" to "MutationObservers.*". r=smaug 2019-11-06 09:08:06 +00:00
AnimationEffect.h
AnimationEventDispatcher.cpp
AnimationEventDispatcher.h
AnimationPerformanceWarning.cpp Bug 1534884 - Add new animation warning for animations overridden by important rules. r=birtles 2019-06-28 18:18:08 +00:00
AnimationPerformanceWarning.h Bug 1534884 - Add new animation warning for animations overridden by important rules. r=birtles 2019-06-28 18:18:08 +00:00
AnimationPropertySegment.h
AnimationTarget.h Bug 1253476 - Add DefaultHasher implementation for OwningAnimationTarget; r=njn 2019-05-20 05:22:07 +00:00
AnimationTimeline.cpp
AnimationTimeline.h
AnimationUtils.cpp
AnimationUtils.h
ComputedTiming.h
ComputedTimingFunction.cpp
ComputedTimingFunction.h
CSSPseudoElement.cpp Bug 1553021 - Update naming of parameter to getAnimations to match spec; r=bzbarsky 2019-05-22 05:40:36 +00:00
CSSPseudoElement.h Bug 1553021 - Update naming of parameter to getAnimations to match spec; r=bzbarsky 2019-05-22 05:40:36 +00:00
DocumentTimeline.cpp Bug 1253476 - Run microtask checkpoint for updating timing after updating all timelines; r=hiro 2019-05-20 05:22:03 +00:00
DocumentTimeline.h
EffectCompositor.cpp Bug 1573268 - Convert two layers.offmainthreadcomposition.* prefs to static prefs. r=njn 2019-08-13 00:02:12 +00:00
EffectCompositor.h Bug 1253476 - Implement Animation.commitStyles; r=boris,emilio,bzbarsky,smaug 2019-05-20 06:04:23 +00:00
EffectSet.cpp
EffectSet.h
Keyframe.h
KeyframeEffect.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
KeyframeEffect.h Bug 1600362 - Cleanup IntersectionObserver. r=smaug 2019-11-29 20:39:36 +00:00
KeyframeEffectParams.h
KeyframeUtils.cpp Bug 1567330 - Add offset shorthand. r=emilio,birtles 2019-09-23 19:56:33 +00:00
KeyframeUtils.h
moz.build
PendingAnimationTracker.cpp
PendingAnimationTracker.h
PostRestyleMode.h
PseudoElementHashEntry.h
TimingParams.cpp
TimingParams.h