<commit_before><?xml version="1.0"?>

<?xml-stylesheet href="chrome://crossfire/skin/crossfire.css" ?>

<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
    <script type="application/javascript" src="chrome://crossfire/content/crossfire.js"/>
    <!--script type="application/javascript" src="chrome://crossfire/content/crossfire-firefox.js"/-->
    <script type="application/javascript" src="chrome://firebug/content/bti_mozilla/ClientBrowserTools.js"/>

    <script type="application/javascript" src="chrome://crossfire/content/crossfire-server.js"/>
    <script type="application/javascript" src="chrome://crossfire/content/crossfire-client.js"/>

    <script type="application/javascript" src="chrome://crossfire/content/tools/tool-listener.js"/>
    <!-- Load tool files. TODO: lazily load via 'require' or similar -->
    <script type="application/javascript" src="chrome://crossfire/content/tools/console-tool.js"/>
    <script type="application/javascript" src="chrome://crossfire/content/tools/inspector-tool.js"/>
    <script type="application/javascript" src="chrome://crossfire/content/tools/net-tool.js"/>
    <script type="application/javascript" src="chrome://crossfire/content/tools/dom-tool.js"/>

    <script type="application/javascript" src="chrome://crossfire/content/crossfire-loopback.js"/>

    <!-- Firefox 3.6 Status Bar Icon -->
    <statusbar id="status-bar">
        <statusbarpanel id="crossfireStatusBar" context="crossfireContextMenu" onmousedown="Crossfire.onStatusClick(this)">
            <image id="crossfireIcon" class="disconnected" tooltiptext="Crossfire: no status set"/>
        </statusbarpanel>
        <menupopup id="crossfireStatusMenu">
            <menuitem id="menu_startCrossfireServer" label="Start Server" onclick="Crossfire.startServer()"/>
            <menuitem id="menu_connectCrossfireClient" label="Connect as client" onclick="Crossfire.connect()"/>
            <!-- menuitem id="menu_connectCrossfireClient" label="Connect as client" onclick="Crossfire.Firefox.onConnect()"/-->
            <menuitem id="menu_loopbackCrossfire" class="hidden" label="Loopback" onclick="Crossfire.Loopback.openFirebugClient()"/>
            <menuitem id="menu_disconnectCrossfire" class="hidden" label="Disconnect..." onclick="Crossfire.disconnect()"/>
        </menupopup>
    </statusbar>

    <!-- Fennec button -->
    <vbox id="browser-controls">
        <toolbarbutton class="button-control">
            <image id="crossfireIcon" class="disconnected" tooltiptext="Crossfire: no status set"/>
        </toolbarbutton>
    </vbox>
</overlay><commit_msg>Disable loopback for now on crossfire 0.3 branch<commit_after><?xml version="1.0"?>

<?xml-stylesheet href="chrome://crossfire/skin/crossfire.css" ?>

<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
    <script type="application/javascript" src="chrome://crossfire/content/crossfire.js"/>
    <!--script type="application/javascript" src="chrome://crossfire/content/crossfire-firefox.js"/-->
    <!--script type="application/javascript" src="chrome://firebug/content/bti_mozilla/ClientBrowserTools.js"/-->

    <script type="application/javascript" src="chrome://crossfire/content/crossfire-server.js"/>
    <script type="application/javascript" src="chrome://crossfire/content/crossfire-client.js"/>

    <script type="application/javascript" src="chrome://crossfire/content/tools/tool-listener.js"/>
    <!-- Load tool files. TODO: lazily load via 'require' or similar -->
    <script type="application/javascript" src="chrome://crossfire/content/tools/console-tool.js"/>
    <script type="application/javascript" src="chrome://crossfire/content/tools/inspector-tool.js"/>
    <script type="application/javascript" src="chrome://crossfire/content/tools/net-tool.js"/>
    <script type="application/javascript" src="chrome://crossfire/content/tools/dom-tool.js"/>

    <!--script type="application/javascript" src="chrome://crossfire/content/crossfire-loopback.js"/-->

    <!-- Firefox 3.6 Status Bar Icon -->
    <statusbar id="status-bar">
        <statusbarpanel id="crossfireStatusBar" context="crossfireContextMenu" onmousedown="Crossfire.onStatusClick(this)">
            <image id="crossfireIcon" class="disconnected" tooltiptext="Crossfire: no status set"/>
        </statusbarpanel>
        <menupopup id="crossfireStatusMenu">
            <menuitem id="menu_startCrossfireServer" label="Start Server" onclick="Crossfire.startServer()"/>
            <menuitem id="menu_connectCrossfireClient" label="Connect as client" onclick="Crossfire.connect()"/>
            <!-- menuitem id="menu_connectCrossfireClient" label="Connect as client" onclick="Crossfire.Firefox.onConnect()"/-->
            <menuitem id="menu_loopbackCrossfire" class="hidden" label="Loopback" onclick="Crossfire.Loopback.openFirebugClient()"/>
            <menuitem id="menu_disconnectCrossfire" class="hidden" label="Disconnect..." onclick="Crossfire.disconnect()"/>
        </menupopup>
    </statusbar>

    <!-- Fennec button -->
    <vbox id="browser-controls">
        <toolbarbutton class="button-control">
            <image id="crossfireIcon" class="disconnected" tooltiptext="Crossfire: no status set"/>
        </toolbarbutton>
    </vbox>
</overlay>
{'fraction_non_alphanumeric': 0.16613237789930227, 'fraction_numerical': 0.0018857250612860645, 'mean_word_length': 4.298701298701299, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 2, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1204317', 'n_tokens_mistral': 1510, 'n_tokens_neox': 1490, 'n_words': 236}