gecko-dev/netwerk
Gabriele Svelto 69790bc62e Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ 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/D55443

--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
..
base Bug 1587468 - Update uuid to 0.8.1. r=webdriver-reviewers,whimboo,emilio 2019-12-06 00:47:50 +00:00
build Bug 1596409 - P5: Enable necessary XPCOM components for using nsHttpTransaction in socket process r=dragana 2019-12-03 13:45:19 +00:00
cache Bug 1585582 - Remove all pref observers in CacheService r=mayhemer 2019-10-21 09:35:19 +00:00
cache2 Bug 1601620 - ThreadSanitizer: data race in mozilla::net::CacheFileUtils::CachePerfStats, r=valentin 2019-12-05 14:49:24 +00:00
cookie Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
dns Bug 1543201 - DoH Privacy Enhancement: Do not set the User-Agent header for DoH requests r=dragana 2019-12-05 19:17:28 +00:00
ipc Bug 1600211 - Forward AllPartsStopped to HttpChannelChild to ensure that we notify the listeners correctly. r=mayhemer 2019-12-04 03:19:38 +00:00
locales Bug 1581692 - Remove unused .properties from netwerk. CLOSED TREE 2019-09-18 19:38:50 +03:00
mime Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden 2019-09-18 08:26:34 +00:00
protocol Bug 1601070 - update Neqo to 0.1.7 r=dragana 2019-12-05 18:44:09 +00:00
sctp Bug 1586593 - dispatch CloseInt on DataChannel Open ACK failure - r=bwc 2019-10-11 17:03:23 +00:00
socket Bug 1601070 - update Neqo to 0.1.7 r=dragana 2019-12-05 18:44:09 +00:00
srtp
streamconv Bug 1600211 - Add nsIMultiPartChannelListener as a reliable way to detect when a multi-part channel is finished and we can break reference cycles. r=mayhemer 2019-12-04 03:18:56 +00:00
system Bug 1600811 - network ID: use hardcoded IP for route checking in nsNetworkLinkService on MacOS r=JuniorHsu 2019-12-03 07:26:07 +00:00
test Backed out 5 changesets (bug 1595154) for causing talos performance tests failures CLOSED TREE 2019-12-04 21:07:05 +02:00
url-classifier Bug 1584931 - P2. Disable flashblock when fission is enabled. r=bytesized 2019-12-04 09:00:28 +00:00
wifi Bug 1458624 - Firefox on Linux now sends signal strength to geolocation API as RSSI dBm instead of a percentage. r=cpeterson 2019-07-17 19:11:19 +00:00
moz.build
necko-config.h.in