<commit_before><!--
   #%L
   %%
   Copyright (C) 2011 - 2015 BMW Car IT GmbH
   %%
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
   
        http://www.apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
   #L%
 -->

<html>
	<head>

		<title>Radio Consumer</title>

		<!-- include build signatures -->
		<script src="js/radioBuildSignature.js"></script>

		<!-- include joynr provisioning -->
		<script src="js/joynrprovisioning.common.js"></script>
		<script src="js/joynrprovisioning.consumer.js"></script>

		<!-- include libjoynr library -->
		<script src="js/joynr.js"></script>

		<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>


		<!-- include generated proxy after libjoynr -->
		<script src="js/joynr/vehicle/Country.js"></script>
		<script src="js/joynr/vehicle/RadioStation.js"></script>
		<script src="js/joynr/vehicle/GeoPosition.js"></script>
		<script src="js/joynr/vehicle/RadioProxy.js"></script>

		<!-- include application code last -->
		<script src="js/consumer.js"></script>
	</head>
	<body>
		<p><span style="font-size:1.5em">joynr Radio Demo: Consumer App</span></p>

		<p>Domain: <input type="text" id="txtDomain" value="" title="Enter domain to lookup joynr providers."/>
		<input type="button" id="btnCreateProxy" value="Create Proxy"/>
		<hr>

		<p>Attribute Current Station:
		<input type="button" id="btnCurrentStationGet" value="Get" disabled/>
		<input type="button" id="btnCurrentStationSubscribeOnChange" value="Subscribe OnChange" disabled/>
		<input type="button" id="btnCurrentStationSubscribePeriodic" value="Subscribe Periodic" disabled/>
		<input type="button" id="btnCurrentStationSubscribeOnChangeWithKeepAlive" value="Subscribe OnChangeWithKeepAlive" disabled/>
		<input type="button" id="btnCurrentStationUnsubscribe" value="Unsubscribe" disabled/>
		<br>
		Name: <input type="text" id="txtCurrentStationName" value="" title="Name" readonly/>
		TrafficService: <input type="text" id="txtCurrentStationTrafficService" value="" title="TrafficService" readonly/>
		Country: <input type="text" id="txtCurrentStationCountry" value="" title="Country" readonly/></p>
		<hr>

		<p>Method Shuffle Stations: <input type="button" id="btnShuffleStations" value="Shuffle Stations" disabled/></p>
		<hr>

		<p>Method Add Favorite Station:<br>
		Name: <input type="text" id="txtNewFavoriteStationName" value="" title="Enter Name for new Favorite Station"/>
		TrafficService: <select id="slctTrafficService" size="1" title="Traffic Service">
			<option>true</option>
			<option>false</option>
		</select>
		Country: <select id="slctCountry" size="1" title="Country">
			<option>AUSTRALIA</option>
			<option>CANADA</option>
			<option>GERMANY</option>
			<option>ITALY</option>
		</select>
		<input type="button" id="btnAddFavoriteStation" value="Add Favorite Station" disabled/><br>
		return value: success=<input type="text" id="txtAddFavoriteStationSuccess" value="" title="Name" readonly/></p>
		<hr>
		<p>Broadcast subscribe to weak signal broadcasts:
			<input type="button" id="btnSubscribeToWeakSignal"
				value="Subscribe to Weak Signal" disabled/>
			<input type="button" id="btnSubscribeToWeakSignalUpdate"
				value="Subscribe to Weak Signal Update" disabled/>
			<input type="button" id="btnUnsubscribeFromWeakSignal"
				value="Unsubscribe from Weak Signal" disabled/></p>
		<hr>
		<p>Broadcast subscribe to new station discovered broadcasts:
			<input type="button" id="btnSubscribeToNewStationDiscoveredSignal"
				value="Subscribe to NewStationDiscovered Signal" disabled/>
			<input type="button" id="btnUnsubscribeFromNewStationDiscoveredSignal"
				value="Unsubscribe from NewStationDiscovered Signal" disabled/></p>

		Broadcasts received:

		<div id="divBroadcasts"></div>
		<hr>
		<p><input type="button" value="Clear LOG" onclick="$('div#divLog').empty();"/></p>
		<div id="divLog"></div>
	</body>
</html><commit_msg>[JS] Radio: Enhanced Consumer web page<commit_after><!--
   #%L
   %%
   Copyright (C) 2011 - 2015 BMW Car IT GmbH
   %%
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
   
        http://www.apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
   #L%
 -->

<html>
	<head>

		<title>Radio Consumer</title>

		<!-- include build signatures -->
		<script src="js/radioBuildSignature.js"></script>

		<!-- include joynr provisioning -->
		<script src="js/joynrprovisioning.common.js"></script>
		<script src="js/joynrprovisioning.consumer.js"></script>

		<!-- include libjoynr library -->
		<script src="js/joynr.js"></script>

		<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>


		<!-- include generated proxy after libjoynr -->
		<script src="js/joynr/vehicle/Country.js"></script>
		<script src="js/joynr/vehicle/RadioStation.js"></script>
		<script src="js/joynr/vehicle/GeoPosition.js"></script>
		<script src="js/joynr/vehicle/RadioProxy.js"></script>

		<!-- include application code last -->
		<script src="js/consumer.js"></script>
	</head>
	<body>
		<p><span style="font-size:1.5em">joynr Radio Demo: Consumer App</span></p>

		<p><strong>Proxy creation</strong><br>
		Domain: <input type="text" id="txtDomain" value="" title="Enter domain to lookup joynr providers."/>
		<input type="button" id="btnCreateProxy" value="Create Proxy"/></p>
		<hr>

		<p><strong>Attribute Current Station:</strong><br>
		<input type="button" id="btnCurrentStationGet" value="Get" disabled/>
		<input type="button" id="btnCurrentStationSubscribeOnChange" value="Subscribe OnChange" disabled/>
		<input type="button" id="btnCurrentStationSubscribePeriodic" value="Subscribe Periodic" disabled/>
		<input type="button" id="btnCurrentStationSubscribeOnChangeWithKeepAlive" value="Subscribe OnChangeWithKeepAlive" disabled/>
		<input type="button" id="btnCurrentStationUnsubscribe" value="Unsubscribe" disabled/>
		<br>
		Name: <input type="text" id="txtCurrentStationName" value="" title="Name" readonly/>
		TrafficService: <input type="text" id="txtCurrentStationTrafficService" value="" title="TrafficService" readonly/>
		Country: <input type="text" id="txtCurrentStationCountry" value="" title="Country" readonly/></p>
		<hr>
		<p><strong>Method Shuffle Stations:</strong><br>
		<input type="button" id="btnShuffleStations" value="Shuffle Stations" disabled/></p>
		<hr>

		<p><strong>Method Add Favorite Station:</strong><br>
		Name: <input type="text" id="txtNewFavoriteStationName" value="" title="Enter Name for new Favorite Station"/>
		TrafficService: <select id="slctTrafficService" size="1" title="Traffic Service">
			<option>true</option>
			<option>false</option>
		</select>
		Country: <select id="slctCountry" size="1" title="Country">
			<option>AUSTRALIA</option>
			<option>CANADA</option>
			<option>GERMANY</option>
			<option>ITALY</option>
		</select><br>
		<input type="button" id="btnAddFavoriteStation" value="Add Favorite Station" disabled/>
		return value: success=<input type="text" id="txtAddFavoriteStationSuccess" value="" title="Name" readonly/></p>
		<hr>
		<p><strong>Weak signal broadcast:</strong><br>
		<input type="button" id="btnSubscribeToWeakSignal"
			value="Subscribe to WeakSignal" disabled/>
		<input type="button" id="btnSubscribeToWeakSignalUpdate"
			value="Update subscription to WeakSignal" disabled/>
		<input type="button" id="btnUnsubscribeFromWeakSignal"
			value="Unsubscribe from WeakSignal" disabled/></p>
		<hr>
		<p><strong>New station discovered broadcast:</strong><br>
		Filter Settings:<br>
		Position of Interest: <select id="filterCountry" size="1" title="Position of Interest">
			<option>AUSTRALIA</option>
			<option>CANADA</option>
			<option>GERMANY</option>
			<option>ITALY</option>
		</select><br>
		Latitude: <input type="text" id="lat" value="" title="Latitude" disabled/><br>
		Longitude: <input type="text" id="lon" value="" title="Longitude" disabled/><br>
		Has traffic service: <select id="filterTrafficService" size="1" title="Has traffic service">
			<option>true</option>
			<option>false</option>
		</select><br>
		Radius of interest area (in meters): <select id="filterDistance" size="1" title="Radius of Interest area">
			<option>50000</option>
			<option>100000</option>
			<option>200000</option>
		</select><br>
		<input type="button" id="btnSubscribeToNewStationDiscoveredSignal"
			value="Subscribe to NewStationDiscovered" disabled/>
		<input type="button" id="btnSubscribeToNewStationDiscoveredSignalUpdate"
			value="Update subscription to NewStationDiscovered" disabled/>
		<input type="button" id="btnUnsubscribeFromNewStationDiscoveredSignal"
			value="Unsubscribe from NewStationDiscovered" disabled/></p>
		<hr>
		<p><input type="button" value="Clear Broadcast LOG" onclick="$('div#divBroadcasts').empty();"/></p>
		<strong>Broadcasts received:</strong>
		<div id="divBroadcasts"></div>
		<hr>
		<p><input type="button" value="Clear General LOG" onclick="$('div#divLog').empty();"/></p>
		<div id="divLog"></div>
	</body>
</html>
{'fraction_non_alphanumeric': 0.15474615932444807, 'fraction_numerical': 0.00590090548377251, 'mean_word_length': 5.257161043921069, 'pattern_counts': {'":': 0, '<': 260, '<?xml version=': 0, '>': 260, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, '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': '4621400', 'n_tokens_mistral': 3289, 'n_tokens_neox': 2966, 'n_words': 748}