code stringlengths 5 1.01M | repo_name stringlengths 5 84 | path stringlengths 4 311 | language stringclasses 30 values | license stringclasses 15 values | size int64 5 1.01M | input_ids listlengths 502 502 | token_type_ids listlengths 502 502 | attention_mask listlengths 502 502 | labels listlengths 502 502 |
|---|---|---|---|---|---|---|---|---|---|
<?php
/**
* Core file
*
* @author Vince Wooll <sales@jomres.net>
* @version Jomres 7
* @package Jomres
* @copyright 2005-2013 Vince Wooll
* Jomres (tm) PHP, CSS & Javascript files are released under both MIT and GPL2 licenses. This means that you can choose the license that best suits your project, and use it accordingly.
**/
// ################################################################
defined( '_JOMRES_INITCHECK' ) or die( '' );
// ################################################################
class j06000module_popup
{
function j06000module_popup()
{
$MiniComponents = jomres_singleton_abstract::getInstance( 'mcHandler' );
if ( $MiniComponents->template_touch )
{
$this->template_touchable = false;
return;
}
//add_gmaps_source();
$property_uid = (int) jomresGetParam( $_REQUEST, "id", 0 );
$result = '';
if ( $property_uid > 0 )
{
$current_property_details = jomres_singleton_abstract::getInstance( 'basic_property_details' );
$current_property_details->gather_data($property_uid);
$inline_calendar = $MiniComponents->specificEvent( '06000', 'ui_availability_calendar', array ( 'property_uid' => $property_uid, 'return_calendar' => "1", 'noshowlegend' => "1" ) );
$mrConfig = getPropertySpecificSettings( $property_uid );
set_showtime( 'property_uid', $property_uid );
$customTextObj = jomres_singleton_abstract::getInstance( 'custom_text' );
//$property_image = get_showtime( 'live_site' ) . "/jomres/images/jrhouse.png";
//if ( file_exists( JOMRESCONFIG_ABSOLUTE_PATH . JRDS . "jomres" . JRDS . "uploadedimages" . JRDS . $property_uid . "_property_" . $property_uid . ".jpg" ) )
//$property_image = get_showtime( 'live_site' ) . "/jomres/uploadedimages/" . $property_uid . "_property_" . $property_uid . ".jpg";
$output = array ();
$price_output = get_property_price_for_display_in_lists( $property_uid );
$output[ 'PRICE_PRE_TEXT' ] = $price_output[ 'PRE_TEXT' ];
$output[ 'PRICE_PRICE' ] = $price_output[ 'PRICE' ];
$output[ 'PRICE_POST_TEXT' ] = $price_output[ 'POST_TEXT' ];
$output[ 'PROPERTY_UID' ] = $property_uid;
$output[ 'RANDOM_IDENTIFIER' ] = generateJomresRandomString( 10 );
$output[ 'JOMRES_SITEPAGE_URL_AJAX' ] = JOMRES_SITEPAGE_URL_AJAX;
$output[ 'LIVE_SITE' ] = get_showtime( 'live_site' );
$output[ 'MOREINFORMATION' ] = jr_gettext( '_JOMRES_COM_A_CLICKFORMOREINFORMATION', _JOMRES_COM_A_CLICKFORMOREINFORMATION, $editable = false, true );
$output[ 'MOREINFORMATIONLINK' ] = jomresURL( JOMRES_SITEPAGE_URL . "&task=viewproperty&property_uid=" . $property_uid );
$output[ 'STARSIMAGES' ] = '';
for ( $i = 1; $i <= $current_property_details->stars; $i++ )
{
$output[ 'STARSIMAGES' ] .= "<img src=\"" . get_showtime( 'live_site' ) . "/jomres/images/star.png\" alt=\"star\" border=\"0\" />";
}
$output[ 'SUPERIOR' ] = '';
if ( $current_property_details->superior == 1 )
$output[ 'SUPERIOR' ] = "<img src=\"" . get_showtime( 'live_site' ) . "/jomres/images/superior.png\" alt=\"superior\" border=\"0\" />";
$output[ 'PROPERTY_NAME' ] = $current_property_details->property_name;
$output[ 'PROPERTY_STREET' ] = $current_property_details->property_street;
$output[ 'PROPERTY_TOWN' ] = $current_property_details->property_town;
$output[ 'PROPERTY_POSTCODE' ] = $current_property_details->property_postcode;
$output[ 'PROPERTY_REGION' ] = $current_property_details->property_region;
$output[ 'PROPERTY_COUNTRY' ] = $current_property_details->property_country;
$output[ 'PROPERTY_COUNTRY_CODE' ] = $current_property_details->property_country_code;
$output[ 'PROPERTY_TEL' ] = $current_property_details->property_tel;
$output[ 'PROPERTY_EMAIL' ] = $current_property_details->property_email;
$output[ 'STARS' ] = $current_property_details->stars;
$output[ 'LAT' ] = $current_property_details->lat;
$output[ 'LONG' ] = $current_property_details->long;
$output[ 'PROPERTY_DESCRIPTION' ] = $current_property_details->property_description;
$output[ 'PROPERTY_CHECKIN_TIMES' ] = $current_property_details->property_checkin_times;
$output[ 'PROPERTY_AREA_ACTIVITIES' ] = $current_property_details->property_area_activities;
$output[ 'PROPERTY_DRIVING_DIRECTIONS' ] = $current_property_details->property_driving_directions;
$output[ 'PROPERTY_AIRPORTS' ] = $current_property_details->property_airports;
$output[ 'PROPERTY_OTHERTRANSPORT' ] = $current_property_details->property_othertransport;
$output[ 'PROPERTY_POLICIES_DISCLAIMERS' ] = $current_property_details->property_policies_disclaimers;
$output[ '_JOMRES_COM_MR_PROPERTIESLISTING_THISPROPERTYADDRESS' ] = jr_gettext( _JOMRES_COM_MR_PROPERTIESLISTING_THISPROPERTYADDRESS, _JOMRES_COM_MR_PROPERTIESLISTING_THISPROPERTYADDRESS, false, false );
$output[ '_JOMRES_COM_MR_VRCT_PROPERTY_HEADER_TELEPHONE' ] = jr_gettext( _JOMRES_COM_MR_VRCT_PROPERTY_HEADER_TELEPHONE, _JOMRES_COM_MR_VRCT_PROPERTY_HEADER_TELEPHONE, false, false );
$jomres_media_centre_images = jomres_singleton_abstract::getInstance( 'jomres_media_centre_images' );
$jomres_media_centre_images->get_images($property_uid, array('property'));
$output[ 'IMAGELARGE' ] = $jomres_media_centre_images->images ['property'][0][0]['large'];
$output[ 'IMAGEMEDIUM' ] = $jomres_media_centre_images->images ['property'][0][0]['medium'];
$output[ 'IMAGETHUMB' ] = $jomres_media_centre_images->images ['property'][0][0]['small'];
$siteConfig = jomres_singleton_abstract::getInstance( 'jomres_config_site_singleton' );
$jrConfig = $siteConfig->get();
if ( $jrConfig[ 'make_gifs_from_slideshows' ] == "1" && $images ['gif'] [ 'small' ] != '' )
{
$output[ 'IMAGETHUMB' ] = $images ['gif'] [ 'small' ];
$output[ 'IMAGEMEDIUM' ] = $images ['gif'] [ 'medium' ];
}
$query = "SELECT room_classes_uid FROM #__jomres_rooms WHERE propertys_uid = '" . (int) $property_uid . "' ";
$rt = doSelectSql( $query );
if ( count( $rt ) > 0 )
{
$roomTypeArray = array ();
foreach ( $rt as $roomtype )
{
$roomTypeArray[ ] = $roomtype->room_classes_uid;
}
if ( count( $roomTypeArray ) > 1 ) $roomTypeArray = array_unique( $roomTypeArray );
if ( count( $roomTypeArray ) > 0 )
{
$output[ 'HRTYPES' ] = jr_gettext( '_JOMRES_FRONT_ROOMTYPES', _JOMRES_FRONT_ROOMTYPES );
foreach ( $roomTypeArray as $type )
{
$roomtype_abbv = $current_property_details->all_room_types[ $type ][ 'room_class_abbv' ];
$roomtype_desc = $current_property_details->all_room_types[ $type ][ 'room_class_full_desc' ];
$rtRows[ 'ROOM_TYPE' ] = jomres_makeTooltip( $roomtype_abbv, $roomtype_abbv, $roomtype_desc, $current_property_details->all_room_types[ $type ][ 'image' ], "", "room_type", array () );
$roomtypes[ ] = $rtRows;
}
}
}
$features = $current_property_details->features;
$featureList = array ();
if ( count( $features ) > 0 )
{
foreach ( $features as $f )
{
$propertyFeatureDescriptionsArray[ 'FEATURE' ] = jomres_makeTooltip( $f[ 'abbv' ], $f[ 'abbv' ], $f[ 'desc' ], $f[ 'image' ], "", "property_feature", array () );
$featureList[ ] = $propertyFeatureDescriptionsArray;
}
$output[ 'HFEATURES' ] = jr_gettext( '_JOMRES_COM_MR_VRCT_PROPERTY_HEADER_FEATURES', _JOMRES_COM_MR_VRCT_PROPERTY_HEADER_FEATURES );
}
else
$output[ 'HFEATURES' ] = "";
$componentArgs = array ( 'property_uid' => $property_uid, "width" => '200', "height" => '214' );
$MiniComponents->specificEvent( '01050', 'x_geocoder', $componentArgs );
$output[ 'MAP' ] = $MiniComponents->miniComponentData[ '01050' ][ 'x_geocoder' ];
$pageoutput = array ( $output );
$tmpl = new patTemplate();
$tmpl->setRoot( JOMRES_TEMPLATEPATH_FRONTEND );
$tmpl->addRows( 'pageoutput', $pageoutput );
if ( count( $roomtypes ) > 0 ) $tmpl->addRows( 'room_types', $roomtypes );
if ( count( $featureList ) > 0 ) $tmpl->addRows( 'property_features', $featureList );
$tmpl->readTemplatesFromInput( 'module_popup_contents.html' );
$result = $tmpl->getParsedTemplate();
}
echo $result;
}
// This must be included in every Event/Mini-component
function getRetVals()
{
return null;
}
}
?> | parksandwildlife/parkstay | jomres/core-minicomponents/j06000module_popup.class.php | PHP | gpl-2.0 | 8,699 | [
30522,
1026,
1029,
25718,
1013,
1008,
1008,
1008,
4563,
5371,
1008,
1008,
1030,
3166,
12159,
12121,
2140,
1026,
4341,
1030,
8183,
2213,
6072,
1012,
5658,
1028,
1008,
1030,
2544,
8183,
2213,
6072,
1021,
1008,
1030,
7427,
8183,
2213,
6072,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
* Copyright (c) 2007 Andre Matuschek <andre@matuschek.org>
* Copyright (c) 2007 David Gies <david-gies@gmx.de>
* Copyright (c) 2007 Danny van Dyk <danny.dyk@uni-dortmund.de>
* Copyright (c) 2007, 2008 Dirk Ribbrock <dirk.ribbrock@uni-dortmund.de>
*
* This file is part of the LA C++ library. LibLa is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
* Public License version 2, as published by the Free Software Foundation.
*
* LibLa is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
* Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <honei/util/unittest.hh>
#include <honei/util/instantiation_policy-impl.hh>
#ifdef HONEI_MPI
#include <mpi.h>
#endif
#include <cstdlib>
#include <exception>
#include <iostream>
#include <list>
#include <string>
#include <utility>
using namespace honei;
using namespace tests;
class TestList :
public InstantiationPolicy<TestList, Singleton>
{
private:
static std::list<BaseTest *> _tests;
public:
friend class InstantiationPolicy<TestList, Singleton>;
typedef std::list<BaseTest*>::iterator Iterator;
void register_test(BaseTest * const test)
{
_tests.push_back(test);
}
Iterator begin_tests() const
{
return _tests.begin();
}
Iterator end_tests() const
{
return _tests.end();
}
unsigned long size()
{
return _tests.size();
}
Iterator erase (Iterator i)
{
return _tests.erase(i);
}
};
std::list<BaseTest *> TestList::_tests;
BaseTest::BaseTest(const std::string & id) :
_id(id),
_tag_name(tags::NONE::name)
{
TestList::instance()->register_test(this);
}
const std::string BaseTest::id() const
{
return _id;
}
void
BaseTest::check(const char * const function, const char * const file,
const long line, bool was_ok, const std::string & message) const
{
if (! was_ok)
throw TestFailedException(function, file, line, message);
}
bool
BaseTest::is_quick_test() const
{
return false;
}
void
BaseTest::register_tag(std::string tag_name)
{
_tag_name = tag_name;
}
std::string
BaseTest::get_tag_name()
{
return _tag_name;
}
TestFailedException::TestFailedException(const char * const function, const char * const file,
const long line, const std::string & message) throw () :
_message(honei::stringify(file) + ":" + honei::stringify(line) + ": in " +
honei::stringify(function) + ": " + message )
{
}
TestFailedException::~TestFailedException() throw ()
{
}
int main(int argc, char** argv)
{
#ifdef HONEI_MPI
MPI_Init(&argc, &argv);
#endif
int result(EXIT_SUCCESS);
bool quick(false);
bool sse(false);
bool itanium(false);
bool cuda(false);
bool cell(false);
bool mc(false);
bool cpu(false);
bool opencl(false);
bool generic(false);
bool all(true);
if ((argc > 1) && (stringify(argv[1]) == "quick"))
{
quick = true;
}
if (argc > 2)
{
for (int index(2) ; index < argc ; ++index)
{
if (stringify(argv[index]) == "sse")
{
sse = true;
all = false;
}
if (stringify(argv[index]) == "itanium")
{
itanium = true;
all = false;
}
if (stringify(argv[index]) == "cuda")
{
cuda = true;
all = false;
}
if (stringify(argv[index]) == "generic")
{
generic = true;
all = false;
}
if (stringify(argv[index]) == "cell")
{
cell = true;
all = false;
}
if (stringify(argv[index]) == "mc")
{
mc = true;
all = false;
}
if (stringify(argv[index]) == "cpu")
{
cpu = true;
all = false;
}
if (stringify(argv[index]) == "opencl")
{
opencl = true;
all = false;
}
}
}
unsigned long list_size(0);
for (TestList::Iterator i(TestList::instance()->begin_tests()), i_end(TestList::instance()->end_tests()) ;
i != i_end ; )
{
if (quick && (!(*i)->is_quick_test()) )
{
i = TestList::instance()->erase(i);
continue;
}
if (!all)
{
if (((*i)->get_tag_name()=="sse") && !sse)
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="generic") && !generic)
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="itanium") && !itanium)
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="cuda") && !cuda)
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="mc-cuda") && (!mc && !cuda))
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="cell") && !cell)
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="mc-sse") && (!mc && !sse))
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="mc-generic") && (!mc && !generic))
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="mc") && (!mc && !cpu))
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="cpu") && !cpu)
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="opencl-cpu" || (*i)->get_tag_name()=="opencl-gpu") && !opencl)
{
i = TestList::instance()->erase(i);
continue;
}
if (((*i)->get_tag_name()=="none") && !all)
{
i = TestList::instance()->erase(i);
continue;
}
}
++i;
list_size++;
}
unsigned long iterator_index(1);
for (TestList::Iterator i(TestList::instance()->begin_tests()), i_end(TestList::instance()->end_tests()) ;
i != i_end ; )
{
CONTEXT("When running test case '" + (*i)->id() + "':");
try
{
/*if (quick && (!(*i)->is_quick_test()) )
continue;
if (!all)
{
if (((*i)->get_tag_name()=="sse") && !sse)
continue;
if (((*i)->get_tag_name()=="cuda") && !cuda)
continue;
if (((*i)->get_tag_name()=="cell") && !cell)
continue;
if (((*i)->get_tag_name()=="mc-sse") && (!mc && !sse))
continue;
if (((*i)->get_tag_name()=="mc") && (!mc && !cpu))
continue;
if (((*i)->get_tag_name()=="cpu") && !cpu)
continue;
if (((*i)->get_tag_name()=="none") && !all)
continue;
}*/
std::cout << "(" << iterator_index << "/" << list_size << ") " << (*i)->id() + " [Backend: "
<< (*i)->get_tag_name() << "]" << std::endl;
(*i)->run();
std::cout << "PASSED" << std::endl;
}
catch (TestFailedException & e)
{
std::cout << "FAILED: " << std::endl << stringify(e.what()) << std::endl;
result = EXIT_FAILURE;
}
catch (honei::Exception & e)
{
std::cout << "Caught exception:" << std::endl << e.message() << " " <<e.what() << std::endl;
throw;
}
catch (std::exception & e)
{
std::cout << "Caught exception:" << std::endl << e.what() << std::endl;
throw;
}
i = TestList::instance()->erase(i);
iterator_index++;
}
#ifdef HONEI_MPI
MPI_Finalize();
#endif
return result;
}
| dribbroc/HONEI | honei/util/unittest.cc | C++ | gpl-2.0 | 9,381 | [
30522,
1013,
1008,
6819,
2213,
1024,
2275,
25430,
1027,
1018,
8541,
1027,
1018,
3802,
10671,
11368,
6806,
2094,
1027,
20231,
1024,
1008,
1013,
1013,
1008,
1008,
9385,
1006,
1039,
1007,
2289,
7213,
13523,
2271,
5403,
2243,
1026,
7213,
1030,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
.varbrowse {
background-color: #ECF0F1;
font-family: comic sans ms, monospace, consolas, courier;
padding: 10px;
border: 1px solid #333333;
color: #333333;
display: inline-block;
}
.string {
color: #E74C3C;
padding: 0 5px;
border: 1px solid #C0392B;
background-color: white;
}
.other {
color: black;
}
.number {
color: #9B59B6;
}
.unknown {
color: gray;
}
.undefined {
color: #F9BF3B;
}
.keyword {
color: #0077C0;
}
.boolean {
color: #27AE60;
}
.null {
color: #102770;
}
.whitespace {}
.operator {
color: #1E003D;
} | haskellcamargo/vardump.js | varbrowse.css | CSS | mit | 561 | [
30522,
1012,
13075,
12618,
9333,
2063,
1063,
4281,
1011,
3609,
1024,
1001,
14925,
2546,
2692,
2546,
2487,
1025,
15489,
1011,
2155,
1024,
5021,
20344,
5796,
1010,
18847,
23058,
1010,
9530,
19454,
3022,
1010,
18092,
1025,
11687,
4667,
1024,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
"use strict";
const mongoose = require('mongoose');
module.exports = (()=>{
mongoose.connect('mongodb://192.168.56.101:30000/blog');
let db = mongoose.connection;
db.on('error', function(err){
console.log(err);
});
db.once('open', (err)=> {
console.log('connect success');
})
})(); | fsy0718/study | node/express/blog/api/db.js | JavaScript | mit | 293 | [
30522,
1000,
2224,
9384,
1000,
1025,
9530,
3367,
12256,
3995,
9232,
1027,
5478,
1006,
1005,
12256,
3995,
9232,
1005,
1007,
1025,
11336,
1012,
14338,
1027,
1006,
1006,
1007,
1027,
1028,
1063,
12256,
3995,
9232,
1012,
7532,
1006,
1005,
12256,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
/*
*
* Swift Page Builder - Default Shortcodes
* ------------------------------------------------
* Swift Framework
* Copyright Swift Ideas 2016 - http://www.swiftideas.com
*
*/
/* TEXT BLOCK ASSET
================================================== */
class SwiftPageBuilderShortcode_spb_text_block extends SwiftPageBuilderShortcode {
public function content( $atts, $content = null ) {
$title = $el_class = $width = $el_position = $inline_style = $form_content = $custom_css = $bk_image_global = '';
extract( shortcode_atts( array(
'title' => '',
'icon' => '',
'padding_vertical' => '0',
'padding_horizontal' => '0',
'animation' => '',
'animation_delay' => '',
'el_class' => '',
'el_position' => '',
'form_content' => '',
'width' => '1/2',
'custom_css' => '',
'bk_image_global' => '',
), $atts ) );
if ( $form_content != '' ){
$content = html_entity_decode($form_content);
}
$output = '';
$el_class = $this->getExtraClass( $el_class );
$width = spb_translateColumnWidthToSpan( $width );
$el_class .= ' spb_text_column';
if( $custom_css != "" ){
$inline_style .= $custom_css;
$img_url = wp_get_attachment_image_src( $bk_image_global, 'full' );
if( isset( $img_url ) && $img_url[0] != "" ) {
$inline_style .= 'background-image: url(' . $img_url[0] . ');';
}
}else{
if ( $padding_vertical != "" ) {
$inline_style .= 'padding-top:' . $padding_vertical . '%;padding-bottom:' . $padding_vertical . '%;';
}
if ( $padding_horizontal != "" ) {
$inline_style .= 'padding-left:' . $padding_horizontal . '%;padding-right:' . $padding_horizontal . '%;';
}
}
$icon_output = "";
if ( $icon ) {
$icon_output = '<i class="' . $icon . '"></i>';
}
if ( $animation != "" && $animation != "none" ) {
$output .= "\n\t" . '<div class="spb_content_element sf-animation ' . $width . $el_class . '" data-animation="' . $animation . '" data-delay="' . $animation_delay . '">';
} else {
$output .= "\n\t" . '<div class="spb_content_element ' . $width . $el_class . '">';
}
$output .= "\n\t\t" . '<div class="spb-asset-content" style="' . $inline_style . '">';
if ( $icon_output != "" ) {
$output .= ( $title != '' ) ? "\n\t\t\t" . '<div class="title-wrap"><h3 class="spb-heading spb-icon-heading"><span>' . $icon_output . '' . $title . '</span></h3></div>' : '';
} else {
$output .= ( $title != '' ) ? "\n\t\t\t" . $this->spb_title( $title, 'spb-text-heading' ) : '';
}
$output .= "\n\t\t\t" . do_shortcode( $content );
$output .= "\n\t\t" . '</div>';
$output .= "\n\t" . '</div> ' . $this->endBlockComment( $width );
$output = $this->startRow( $el_position ) . $output . $this->endRow( $el_position );
return $output;
}
}
SPBMap::map( 'spb_text_block', array(
"name" => __( "Text Block", 'swift-framework-plugin' ),
"base" => "spb_text_block",
"class" => "spb_tab_media",
"icon" => "icon-text-block",
"wrapper_class" => "clearfix",
"controls" => "full",
"params" => array(
array(
"type" => "textfield",
"holder" => "div",
"heading" => __( "Widget title", 'swift-framework-plugin' ),
"param_name" => "title",
"value" => "",
"description" => __( "Heading text. Leave it empty if not needed.", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Title icon", 'swift-framework-plugin' ),
"param_name" => "icon",
"value" => "",
"description" => __( "Icon to the left of the title text. This is the class name for the icon, e.g. fa-cloud", 'swift-framework-plugin' )
),
array(
"type" => "textarea_html",
"holder" => "div",
"class" => "",
"heading" => __( "Text", 'swift-framework-plugin' ),
"param_name" => "content",
"value" => '',
//"value" => __("<p>This is a text block. Click the edit button to change this text.</p>", 'swift-framework-plugin'),
"description" => __( "Enter your content.", 'swift-framework-plugin' )
),
array(
"type" => "section_tab",
"param_name" => "animation_options_tab",
"heading" => __( "Animation", 'swift-framework-plugin' ),
),
array(
"type" => "dropdown",
"heading" => __( "Intro Animation", 'swift-framework-plugin' ),
"param_name" => "animation",
"value" => spb_animations_list(),
"description" => __( "Select an intro animation for the text block that will show it when it appears within the viewport.", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Animation Delay", 'swift-framework-plugin' ),
"param_name" => "animation_delay",
"value" => "0",
"description" => __( "If you wish to add a delay to the animation, then you can set it here (ms).", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Data Form Content", 'swift-framework-plugin' ),
"param_name" => "form_content",
"value" => "",
"description" => __( "This is a hidden field that is used to save the content when using forms inside the content.", 'swift-framework-plugin' )
)
)
)
);
/* BOXED CONTENT ASSET
================================================== */
class SwiftPageBuilderShortcode_spb_boxed_content extends SwiftPageBuilderShortcode {
public function content( $atts, $content = null ) {
$title = $type = $bg_style = $inline_style = $custom_bg_colour = $custom_text_colour = $padding_vertical = $padding_horizontal = $el_class = $width = $el_position = '';
extract( shortcode_atts( array(
'title' => '',
'type' => '',
'custom_bg_colour' => '',
'custom_text_colour' => '',
'box_link' => '',
'box_link_target' => '_self',
'padding_vertical' => '0',
'padding_horizontal' => '0',
'el_class' => '',
'el_position' => '',
'width' => '1/2'
), $atts ) );
$output = '';
$el_class = $this->getExtraClass( $el_class );
$width = spb_translateColumnWidthToSpan( $width );
if ( $custom_bg_colour != "" ) {
$bg_style .= 'background: ' . $custom_bg_colour . '!important;';
}
if ( $custom_text_colour != "" ) {
$inline_style .= 'color: ' . $custom_text_colour . '!important;';
}
if ( $padding_vertical != "" ) {
$inline_style .= 'padding-top:' . $padding_vertical . '%;padding-bottom:' . $padding_vertical . '%;';
}
if ( $padding_horizontal != "" ) {
$inline_style .= 'padding-left:' . $padding_horizontal . '%;padding-right:' . $padding_horizontal . '%;';
}
$output .= "\n\t" . '<div class="spb_content_element spb_box_content ' . $width . $el_class . '">';
$output .= ( $title != '' ) ? "\n\t\t\t" . $this->spb_title( $title, '' ) : '';
$output .= "\n\t" . '<div class="spb-bg-color-wrap ' . $type . '" style="' . $bg_style . '">';
$output .= "\n\t\t" . '<div class="spb-asset-content">';
if ( $box_link != "" ) {
$output .= '<a href="' . $box_link . '" target="' . $box_link_target . '" class="box-link"></a>';
}
$output .= "\n\t\t";
if ( $inline_style != "" ) {
$output .= '<div class="box-content-wrap" style="' . $inline_style . '">' . do_shortcode( $content ) . '</div>';
} else {
$output .= '<div class="box-content-wrap">' . do_shortcode( $content ) . '</div>';
}
$output .= "\n\t\t" . '</div>';
$output .= "\n\t\t" . '</div>';
$output .= "\n\t" . '</div> ' . $this->endBlockComment( $width );
$output = $this->startRow( $el_position ) . $output . $this->endRow( $el_position );
return $output;
}
}
$target_arr = array(
__( "Same window", 'swift-framework-plugin' ) => "_self",
__( "New window", 'swift-framework-plugin' ) => "_blank"
);
SPBMap::map( 'spb_boxed_content', array(
"name" => __( "Boxed Content", 'swift-framework-plugin' ),
"base" => "spb_boxed_content",
"class" => "spb_tab_media",
"icon" => "icon-boxed-content",
"wrapper_class" => "clearfix",
"controls" => "full",
"params" => array(
array(
"type" => "textfield",
"holder" => "div",
"heading" => __( "Widget title", 'swift-framework-plugin' ),
"param_name" => "title",
"value" => "",
"description" => __( "Heading text. Leave it empty if not needed.", 'swift-framework-plugin' )
),
array(
"type" => "textarea_html",
"holder" => "div",
"class" => "",
"heading" => __( "Text", 'swift-framework-plugin' ),
"param_name" => "content",
"value" => __( "<p>This is a boxed content block. Click the edit button to edit this text.</p>", 'swift-framework-plugin' ),
"description" => __( "Enter your content.", 'swift-framework-plugin' )
),
array(
"type" => "dropdown",
"heading" => __( "Box type", 'swift-framework-plugin' ),
"param_name" => "type",
"value" => array(
__( 'Coloured', 'swift-framework-plugin' ) => "coloured",
__( 'White with stroke', 'swift-framework-plugin' ) => "whitestroke"
),
"description" => __( "Choose the surrounding box type for this content", 'swift-framework-plugin' )
),
array(
"type" => "colorpicker",
"heading" => __( "Background color", 'swift-framework-plugin' ),
"param_name" => "custom_bg_colour",
"value" => "",
"description" => __( "Provide a background colour here. If blank, your colour customisaer settings will be used.", 'swift-framework-plugin' )
),
array(
"type" => "colorpicker",
"heading" => __( "Text colour", 'swift-framework-plugin' ),
"param_name" => "custom_text_colour",
"value" => "",
"description" => __( "Provide a text colour here. If blank, your colour customisaer settings will be used.", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Overlay Link", 'swift-framework-plugin' ),
"param_name" => "box_link",
"value" => "",
"description" => __( "Optionally provide a link here. This will overlay the boxed content and make the asset a whole clickable link.", 'swift-framework-plugin' )
),
array(
"type" => "dropdown",
"heading" => __( "Overlay Link Target", 'swift-framework-plugin' ),
"param_name" => "box_link_target",
"value" => $target_arr
),
array(
"type" => "uislider",
"heading" => __( "Padding - Vertical", 'swift-framework-plugin' ),
"param_name" => "padding_vertical",
"value" => "0",
"step" => "1",
"min" => "0",
"max" => "20",
"description" => __( "Adjust the vertical padding for the text block (percentage).", 'swift-framework-plugin' )
),
array(
"type" => "uislider",
"heading" => __( "Padding - Horizontal", 'swift-framework-plugin' ),
"param_name" => "padding_horizontal",
"value" => "0",
"step" => "1",
"min" => "0",
"max" => "20",
"description" => __( "Adjust the horizontal padding for the text block (percentage).", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Extra class", 'swift-framework-plugin' ),
"param_name" => "el_class",
"value" => "",
"description" => __( "If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin' )
)
)
) );
/* DIVIDER ASSET
================================================== */
class SwiftPageBuilderShortcode_spb_divider extends SwiftPageBuilderShortcode {
protected function content( $atts, $content = null ) {
$with_line = $fullwidth = $type = $width = $el_class = $text = '';
extract( shortcode_atts( array(
'with_line' => '',
'type' => '',
'heading_text' => '',
'top_margin' => '0px',
'bottom_margin' => '30px',
'fullwidth' => '',
'text' => '',
'width' => '1/1',
'el_class' => '',
'el_position' => ''
), $atts ) );
$width = spb_translateColumnWidthToSpan( $width );
$up_icon = apply_filters( 'sf_up_icon' , '<i class="ss-up"></i>' );
$style = "margin-top: " . $top_margin . "; margin-bottom: " . $bottom_margin . ";";
$output = '';
$output .= '<div class="divider-wrap ' . $width . '">';
if ( $type == "heading" ) {
$output .= '<div class="spb_divider ' . $el_class . '" style="' . $style . '">';
$output .= '<h3 class="divider-heading">' . $heading_text . '</h3>';
$output .= '</div>' . $this->endBlockComment( 'divider' ) . "\n";
} else {
$output .= '<div class="spb_divider ' . $type . ' spb_content_element ' . $el_class . '" style="' . $style . '">';
if ( $type == "go_to_top" ) {
$output .= '<a class="animate-top" href="#">' . $text . '</a>';
} else if ( $type == "go_to_top_icon1" ) {
$output .= '<a class="animate-top" href="#">' . $up_icon . '</a>';
} else if ( $type == "go_to_top_icon2" ) {
$output .= '<a class="animate-top" href="#">' . $text . $up_icon . '</a>';
}
$output .= '</div>' . $this->endBlockComment( 'divider' ) . "\n";
}
$output .= '</div>';
if ( $fullwidth == "yes" && $width == "col-sm-12" ) {
$output = $this->startRow( $el_position, '', true ) . $output . $this->endRow( $el_position, '', true );
} else {
$output = $this->startRow( $el_position ) . $output . $this->endRow( $el_position );
}
return $output;
}
}
SPBMap::map( 'spb_divider', array(
"name" => __( "Divider", 'swift-framework-plugin' ),
"base" => "spb_divider",
"class" => "spb_divider",
'icon' => 'icon-divider',
"controls" => '',
"params" => array(
array(
"type" => "dropdown",
"heading" => __( "Divider type", 'swift-framework-plugin' ),
"param_name" => "type",
"value" => array(
__( 'Standard', 'swift-framework-plugin' ) => "standard",
__( 'Thin', 'swift-framework-plugin' ) => "thin",
__( 'Dotted', 'swift-framework-plugin' ) => "dotted",
__( 'Heading', 'swift-framework-plugin' ) => "heading",
__( 'Go to top (text)', 'swift-framework-plugin' ) => "go_to_top",
__( 'Go to top (Icon 1)', 'swift-framework-plugin' ) => "go_to_top_icon1",
__( 'Go to top (Icon 2)', 'swift-framework-plugin' ) => "go_to_top_icon2"
),
"description" => __( "Select divider type.", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Divider Heading Text", 'swift-framework-plugin' ),
"param_name" => "heading_text",
"value" => '',
"description" => __( "The text for the the 'Heading' divider type.", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Go to top text", 'swift-framework-plugin' ),
"param_name" => "text",
"value" => __( "Go to top", 'swift-framework-plugin' ),
"required" => array("blog_type", "or", "go_to_top,go_to_top_icon1,go_to_top_icon2"),
"description" => __( "The text for the 'Go to top (text)' divider type.", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Top Margin", 'swift-framework-plugin' ),
"param_name" => "top_margin",
"value" => __( "0px", 'swift-framework-plugin' ),
"description" => __( "Set the margin above the divider (include px).", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Bottom Margin", 'swift-framework-plugin' ),
"param_name" => "bottom_margin",
"value" => __( "30px", 'swift-framework-plugin' ),
"description" => __( "Set the margin below the divider (include px).", 'swift-framework-plugin' )
),
array(
"type" => "buttonset",
"heading" => __( "Full width", 'swift-framework-plugin' ),
"param_name" => "fullwidth",
"value" => array(
__( 'No', 'swift-framework-plugin' ) => "no",
__( 'Yes', 'swift-framework-plugin' ) => "yes"
),
"buttonset_on" => "yes",
"description" => __( "Select yes if you'd like the divider to be full width (only to be used with no sidebars, and with Standard/Thin/Dotted divider types).", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Extra class", 'swift-framework-plugin' ),
"param_name" => "el_class",
"value" => "",
"description" => __( "If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin' )
)
),
"js_callback" => array( "init" => "spbTextSeparatorInitCallBack" )
) );
/* BLANK SPACER ASSET
================================================== */
class SwiftPageBuilderShortcode_spb_blank_spacer extends SwiftPageBuilderShortcode {
protected function content( $atts, $content = null ) {
$height = $el_class = '';
extract( shortcode_atts( array(
'height' => '',
'width' => '',
'responsive_vis' => '',
'el_position' => '',
'el_class' => '',
), $atts ) );
$responsive_vis = str_replace( "_", " ", $responsive_vis );
$width = spb_translateColumnWidthToSpan( $width );
$el_class = $this->getExtraClass( $el_class ) . ' ' . $responsive_vis;
$output = '';
$output .= '<div class="blank_spacer ' . $width . ' ' . $el_class . '" style="height:' . $height . ';">';
$output .= '</div>' . $this->endBlockComment( 'divider' ) . "\n";
$output = $this->startRow( $el_position ) . $output . $this->endRow( $el_position );
return $output;
}
}
SPBMap::map( 'spb_blank_spacer', array(
"name" => __( "Blank Spacer", 'swift-framework-plugin' ),
"base" => "spb_blank_spacer",
"class" => "spb_blank_spacer",
'icon' => 'icon-blank-spacer',
"params" => array(
array(
"type" => "textfield",
"heading" => __( "Height", 'swift-framework-plugin' ),
"param_name" => "height",
"value" => __( "30px", 'swift-framework-plugin' ),
"description" => __( "The height of the spacer, in px (required).", 'swift-framework-plugin' )
),
array(
"type" => "dropdown",
"heading" => __( "Responsive Visiblity", 'swift-framework-plugin' ),
"param_name" => "responsive_vis",
"holder" => 'indicator',
"value" => spb_responsive_vis_list(),
"description" => __( "Set the responsive visiblity for the row, if you would only like it to display on certain display sizes.", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Extra class", 'swift-framework-plugin' ),
"param_name" => "el_class",
"value" => "",
"description" => __( "If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin' )
)
),
) );
/* MESSAGE BOX ASSET
================================================== */
class SwiftPageBuilderShortcode_spb_message extends SwiftPageBuilderShortcode {
protected function content( $atts, $content = null ) {
$color = '';
extract( shortcode_atts( array(
'color' => 'alert-info',
'el_position' => ''
), $atts ) );
$output = '';
if ( $color == "alert-block" ) {
$color = "";
}
$width = spb_translateColumnWidthToSpan( "1/1" );
$output .= '<div class="' . $width . '"><div class="alert spb_content_element ' . $color . '"><div class="messagebox_text">' . spb_format_content( $content ) . '</div></div></div>' . $this->endBlockComment( 'alert box' ) . "\n";
//$output .= '<div class="spb_messagebox message '.$color.'"><div class="messagebox_text">'.spb_format_content($content).'</div></div>';
$output = $this->startRow( $el_position ) . $output . $this->endRow( $el_position );
return $output;
}
}
SPBMap::map( 'spb_message', array(
"name" => __( "Message Box", 'swift-framework-plugin' ),
"base" => "spb_message",
"class" => "spb_messagebox spb_controls_top_right spb_tab_ui",
"icon" => "icon-message-box",
"wrapper_class" => "alert",
"controls" => "edit_popup_delete",
"params" => array(
array(
"type" => "dropdown",
"heading" => __( "Message box type", 'swift-framework-plugin' ),
"param_name" => "color",
"value" => array(
__( 'Informational', 'swift-framework-plugin' ) => "alert-info",
__( 'Warning', 'swift-framework-plugin' ) => "alert-block",
__( 'Success', 'swift-framework-plugin' ) => "alert-success",
__( 'Error', 'swift-framework-plugin' ) => "alert-error"
),
"description" => __( "Select message type.", 'swift-framework-plugin' )
),
array(
"type" => "textarea_html",
"holder" => "div",
"class" => "messagebox_text",
"heading" => __( "Message text", 'swift-framework-plugin' ),
"param_name" => "content",
"value" => __( "<p>This is a message box. Click the edit button to edit this text.</p>", 'swift-framework-plugin' ),
"description" => __( "Message text.", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Extra class", 'swift-framework-plugin' ),
"param_name" => "el_class",
"value" => "",
"description" => __( "If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin' )
)
),
"js_callback" => array( "init" => "spbMessageInitCallBack" )
) );
/* TOGGLE ASSET
================================================== */
class SwiftPageBuilderShortcode_spb_toggle extends SwiftPageBuilderShortcode {
protected function content( $atts, $content = null ) {
$title = $el_class = $open = null;
extract( shortcode_atts( array(
'title' => __( "Click to toggle", 'swift-framework-plugin' ),
'el_class' => '',
'open' => 'false',
'el_position' => '',
'width' => '1/1'
), $atts ) );
$output = '';
$width = spb_translateColumnWidthToSpan( $width );
$el_class = $this->getExtraClass( $el_class );
$open = ( $open == 'true' ) ? ' spb_toggle_title_active' : '';
$el_class .= ( $open == ' spb_toggle_title_active' ) ? ' spb_toggle_open' : '';
$output .= '<div class="toggle-wrap ' . $width . '">';
$output .= '<h4 class="spb_toggle' . $open . '">' . $title . '</h4><div class="spb_toggle_content' . $el_class . '">' . spb_format_content( $content ) . '</div>' . $this->endBlockComment( 'toggle' ) . "\n";
$output .= '</div>';
$output = $this->startRow( $el_position ) . $output . $this->endRow( $el_position );
return $output;
}
}
SPBMap::map( 'spb_toggle', array(
"name" => __( "Toggle", 'swift-framework-plugin' ),
"base" => "spb_toggle",
"class" => "spb_faq spb_tab_ui",
"icon" => "icon-toggle",
"params" => array(
array(
"type" => "textfield",
"class" => "toggle_title",
"heading" => __( "Toggle title", 'swift-framework-plugin' ),
"param_name" => "title",
"value" => __( "Toggle title", 'swift-framework-plugin' ),
"description" => __( "Toggle block title.", 'swift-framework-plugin' )
),
array(
"type" => "textarea_html",
"holder" => "div",
"class" => "toggle_content",
"heading" => __( "Toggle content", 'swift-framework-plugin' ),
"param_name" => "content",
"value" => __( "<p>The toggle content goes here, click the edit button to change this text.</p>", 'swift-framework-plugin' ),
"description" => __( "Toggle block content.", 'swift-framework-plugin' )
),
array(
"type" => "dropdown",
"heading" => __( "Default state", 'swift-framework-plugin' ),
"param_name" => "open",
"value" => array(
__( "Closed", 'swift-framework-plugin' ) => "false",
__( "Open", 'swift-framework-plugin' ) => "true"
),
"description" => __( "Select this if you want toggle to be open by default.", 'swift-framework-plugin' )
),
array(
"type" => "textfield",
"heading" => __( "Extra class", 'swift-framework-plugin' ),
"param_name" => "el_class",
"value" => "",
"description" => __( "If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin' )
)
)
) );
| tuffon/imaginewithus | wp-content/plugins/swift-framework/includes/page-builder/shortcodes/default.php | PHP | gpl-2.0 | 31,195 | [
30522,
1026,
1029,
25718,
1013,
1008,
1008,
1008,
9170,
3931,
12508,
1011,
12398,
2460,
23237,
1008,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
// vim:ts=4:sw=4:expandtab
#include <config.h>
#if defined(__linux__)
#include <sys/sysinfo.h>
#endif
#include <stdlib.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <yajl/yajl_gen.h>
#include <yajl/yajl_version.h>
#include <errno.h>
#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include <sys/param.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#if defined(__OpenBSD__)
#include <sys/sched.h>
#else
#include <sys/dkstat.h>
#endif
#endif
#if defined(__DragonFly__)
#include <sys/param.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/resource.h>
#endif
#if defined(__NetBSD__)
#include <sys/param.h>
#include <sys/resource.h>
#include <sys/sysctl.h>
#include <sys/sched.h>
#endif
#include "i3status.h"
struct cpu_usage {
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
long user;
long nice;
long system;
long idle;
long total;
#else
int user;
int nice;
int system;
int idle;
#if defined(__OpenBSD__)
int spin;
#endif
int total;
#endif
};
#if defined(__linux__)
static int cpu_count = 0;
#endif
static struct cpu_usage prev_all = {0, 0, 0, 0, 0};
static struct cpu_usage *prev_cpus = NULL;
static struct cpu_usage *curr_cpus = NULL;
/*
* Reads the CPU utilization from /proc/stat and returns the usage as a
* percentage.
*
*/
void print_cpu_usage(cpu_usage_ctx_t *ctx) {
const char *selected_format = ctx->format;
const char *walk;
char *outwalk = ctx->buf;
struct cpu_usage curr_all = {0, 0, 0, 0, 0};
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
long diff_idle, diff_total;
#else
int diff_idle, diff_total;
#endif
int diff_usage;
bool colorful_output = false;
#if defined(__linux__)
// Detecting if CPU count has changed
int curr_cpu_count = get_nprocs_conf();
if (curr_cpu_count != cpu_count) {
cpu_count = curr_cpu_count;
free(prev_cpus);
prev_cpus = (struct cpu_usage *)calloc(cpu_count, sizeof(struct cpu_usage));
free(curr_cpus);
curr_cpus = (struct cpu_usage *)calloc(cpu_count, sizeof(struct cpu_usage));
}
memcpy(curr_cpus, prev_cpus, cpu_count * sizeof(struct cpu_usage));
FILE *f = fopen(ctx->path, "r");
if (f == NULL) {
fprintf(stderr, "i3status: open %s: %s\n", ctx->path, strerror(errno));
goto error;
}
curr_cpu_count = get_nprocs();
char line[4096];
/* Discard first line (cpu ), start at second line (cpu0) */
if (fgets(line, sizeof(line), f) == NULL) {
fclose(f);
goto error; /* unexpected EOF or read error */
}
for (int idx = 0; idx < curr_cpu_count; ++idx) {
if (fgets(line, sizeof(line), f) == NULL) {
fclose(f);
goto error; /* unexpected EOF or read error */
}
int cpu_idx, user, nice, system, idle;
if (sscanf(line, "cpu%d %d %d %d %d", &cpu_idx, &user, &nice, &system, &idle) != 5) {
fclose(f);
goto error;
}
if (cpu_idx < 0 || cpu_idx >= cpu_count) {
fclose(f);
goto error;
}
curr_cpus[cpu_idx].user = user;
curr_cpus[cpu_idx].nice = nice;
curr_cpus[cpu_idx].system = system;
curr_cpus[cpu_idx].idle = idle;
curr_cpus[cpu_idx].total = user + nice + system + idle;
}
fclose(f);
for (int cpu_idx = 0; cpu_idx < cpu_count; cpu_idx++) {
curr_all.user += curr_cpus[cpu_idx].user;
curr_all.nice += curr_cpus[cpu_idx].nice;
curr_all.system += curr_cpus[cpu_idx].system;
curr_all.idle += curr_cpus[cpu_idx].idle;
curr_all.total += curr_cpus[cpu_idx].total;
}
diff_idle = curr_all.idle - prev_all.idle;
diff_total = curr_all.total - prev_all.total;
diff_usage = (diff_total ? (1000 * (diff_total - diff_idle) / diff_total + 5) / 10 : 0);
prev_all = curr_all;
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
size_t size;
long cp_time[CPUSTATES];
size = sizeof cp_time;
if (sysctlbyname("kern.cp_time", &cp_time, &size, NULL, 0) < 0)
goto error;
#else
/* This information is taken from the boot cpu, any other cpus are currently ignored. */
long cp_time[CPUSTATES];
int mib[2];
size_t size = sizeof(cp_time);
mib[0] = CTL_KERN;
mib[1] = KERN_CPTIME;
if (sysctl(mib, 2, cp_time, &size, NULL, 0))
goto error;
#endif
curr_all.user = cp_time[CP_USER];
curr_all.nice = cp_time[CP_NICE];
curr_all.system = cp_time[CP_SYS];
#if defined(__DragonFly__)
curr_all.system += cp_time[CP_INTR];
#endif
curr_all.idle = cp_time[CP_IDLE];
#if defined(__OpenBSD__)
curr_all.spin = cp_time[CP_SPIN];
curr_all.total = curr_all.user + curr_all.nice + curr_all.system + curr_all.idle + curr_all.spin;
#else
curr_all.total = curr_all.user + curr_all.nice + curr_all.system + curr_all.idle;
#endif
diff_idle = curr_all.idle - prev_all.idle;
diff_total = curr_all.total - prev_all.total;
diff_usage = (diff_total ? (1000 * (diff_total - diff_idle) / diff_total + 5) / 10 : 0);
prev_all = curr_all;
#else
goto error;
#endif
if (diff_usage >= ctx->max_threshold) {
START_COLOR("color_bad");
colorful_output = true;
if (ctx->format_above_threshold != NULL)
selected_format = ctx->format_above_threshold;
} else if (diff_usage >= ctx->degraded_threshold) {
START_COLOR("color_degraded");
colorful_output = true;
if (ctx->format_above_degraded_threshold != NULL)
selected_format = ctx->format_above_degraded_threshold;
}
for (walk = selected_format; *walk != '\0'; walk++) {
if (*walk != '%') {
*(outwalk++) = *walk;
} else if (BEGINS_WITH(walk + 1, "usage")) {
outwalk += sprintf(outwalk, "%02d%s", diff_usage, pct_mark);
walk += strlen("usage");
}
#if defined(__linux__)
else if (BEGINS_WITH(walk + 1, "cpu")) {
int number = -1;
int length = strlen("cpu");
sscanf(walk + 1, "cpu%d%n", &number, &length);
if (number == -1) {
fprintf(stderr, "i3status: provided CPU number cannot be parsed\n");
} else if (number >= cpu_count) {
fprintf(stderr, "i3status: provided CPU number '%d' above detected number of CPU %d\n", number, cpu_count);
} else {
int cpu_diff_idle = curr_cpus[number].idle - prev_cpus[number].idle;
int cpu_diff_total = curr_cpus[number].total - prev_cpus[number].total;
int cpu_diff_usage = (cpu_diff_total ? (1000 * (cpu_diff_total - cpu_diff_idle) / cpu_diff_total + 5) / 10 : 0);
outwalk += sprintf(outwalk, "%02d%s", cpu_diff_usage, pct_mark);
}
walk += length;
}
#endif
else {
*(outwalk++) = '%';
}
}
struct cpu_usage *temp_cpus = prev_cpus;
prev_cpus = curr_cpus;
curr_cpus = temp_cpus;
if (colorful_output)
END_COLOR;
OUTPUT_FULL_TEXT(ctx->buf);
return;
error:
OUTPUT_FULL_TEXT("cant read cpu usage");
(void)fputs("i3status: Cannot read CPU usage\n", stderr);
}
| i3/i3status | src/print_cpu_usage.c | C | bsd-3-clause | 7,458 | [
30522,
1013,
1013,
6819,
2213,
1024,
24529,
1027,
1018,
1024,
25430,
1027,
1018,
1024,
7818,
2696,
2497,
1001,
2421,
1026,
9530,
8873,
2290,
1012,
1044,
1028,
1001,
2065,
4225,
1006,
1035,
1035,
11603,
1035,
1035,
1007,
1001,
2421,
1026,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/**
* Copyright (c) 2004-2011 QOS.ch
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
package org.slf4j;
import static org.junit.Assert.assertEquals;
import java.io.PrintStream;
import java.lang.reflect.Method;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
/**
* Test whether the automatically named Logger implementation works.
*
* @author Alexander Dorokhine
*/
public class AutomaticallyNamedLoggerTest {
private static final Logger STATIC_LOGGER = LoggerFactory.getLogger();
// Static class used for testing logger names
private static class StaticNestedClass {
Logger logger = LoggerFactory.getLogger();
}
// Instance class used for testing logger names
private class InstanceNestedClass {
Logger logger = LoggerFactory.getLogger();
}
PrintStream old = System.err;
@Before
public void setUp() {
System.setErr(new SilentPrintStream(old));
}
@After
public void tearDown() {
System.setErr(old);
}
@Test
public void testSimpleClassNameFromInitializer() {
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest", STATIC_LOGGER.getName());
}
@Test
public void testSimpleClassNameFromMethod() {
Logger logger = LoggerFactory.getLogger();
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest", logger.getName());
}
@Test
public void testNamedInnerClassName() {
class MyTestInstanceClass {
Logger logger = LoggerFactory.getLogger();
}
MyTestInstanceClass instance = new MyTestInstanceClass();
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest$1MyTestInstanceClass",
instance.logger.getName());
}
@Test
public void testAnonymousInnerClassName() {
new Runnable() {
Logger logger = LoggerFactory.getLogger();
public void run() {
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest$1", logger.getName());
}
}.run();
}
@Test
public void testStaticInnerClassName() {
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest$StaticNestedClass",
new StaticNestedClass().logger.getName());
}
@Test
public void testInstanceInnerClassName() {
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest$InstanceNestedClass",
new InstanceNestedClass().logger.getName());
}
@Test
public void testNestedInnerClassName() {
new StaticNestedClass() {
Logger nestedLogger = LoggerFactory.getLogger();
public void run() {
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest$StaticNestedClass",
logger.getName());
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest$2", nestedLogger.getName());
}
}.run();
}
@Test
public void testLoggerThroughReflection() throws Exception {
Method getLoggerMethod = LoggerFactory.class.getMethod("getLogger");
Object logger = getLoggerMethod.invoke(null);
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest", ((Logger)logger).getName());
}
@Test
public void testLoggerFromThread() throws Exception {
Thread thread = new Thread() {
public void run() {
Logger logger = LoggerFactory.getLogger();
assertEquals("org.slf4j.AutomaticallyNamedLoggerTest$3", logger.getName());
}
};
thread.start();
thread.join();
}
}
| adorokhine/slf4j | slf4j-simple/src/test/java/org/slf4j/AutomaticallyNamedLoggerTest.java | Java | mit | 4,425 | [
30522,
1013,
1008,
1008,
1008,
9385,
1006,
1039,
1007,
2432,
1011,
2249,
1053,
2891,
1012,
10381,
1008,
2035,
2916,
9235,
1012,
1008,
1008,
6656,
2003,
2182,
3762,
4379,
1010,
2489,
1997,
3715,
1010,
2000,
2151,
2711,
11381,
1008,
1037,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
/*
* This is a firt example of user script,
* used eg. from a special button
*
*/
// Add the conf file and first bootstrap
require_once("../inc/conn.php");
// remove the comment if the script is not public
// proteggi(); // authenticated users
// proteggi(2); // level 2 users
// proteggi(3); // level 3 users (administrator only)
if(isset($_GET['yourid'])){
$sql="SELECT * FROM youtable WHERE yourid='".$vmsql->escape($_GET['yourid'])."'";
//exec the query
$q=$vmsql->query($sql);
// if have results
if($vmsql->num_rows($q) > 0){
// get the recordset
$RS=$vmsql->fetch_assoc($q);
// do what you want with results
var_dump($RS);
}
else{
// no results case
}
}
| rockborg/wellness_server | vfront/usr/script.example.php | PHP | mit | 745 | [
30522,
1026,
1029,
25718,
1013,
1008,
1008,
2023,
2003,
1037,
21554,
2102,
2742,
1997,
5310,
5896,
1010,
1008,
2109,
1041,
2290,
1012,
2013,
1037,
2569,
6462,
1008,
1008,
1013,
1013,
1013,
5587,
1996,
9530,
2546,
5371,
1998,
2034,
6879,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Macromolecular viewer for crystallographers.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#333333">
<title>UglyMol - view protein models & electron density</title>
<link href="https://fonts.googleapis.com/css?family=Titillium+Web" rel="stylesheet">
<style type="text/css">
{% include my.css %}
</style>
</head>
<body>
<div class="container">
{{ content }}
</div>
<p id="footer">
Made in <a href="http://www.diamond.ac.uk">Diamond Light Source</a>
and in <a href="http://www.ccp4.ac.uk">CCP4-Harwell</a>.
</p>
</body>
</html>
| uglymol/uglymol.github.io | _layouts/default.html | HTML | mit | 759 | [
30522,
1026,
999,
9986,
13874,
16129,
1028,
1026,
16129,
11374,
1027,
1000,
4372,
1000,
1028,
1026,
2132,
1028,
1026,
18804,
25869,
13462,
1027,
1000,
21183,
2546,
1011,
1022,
1000,
1028,
1026,
18804,
8299,
1011,
1041,
15549,
2615,
1027,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#ifndef VC4C_CACHE_ENTRY_H
#define VC4C_CACHE_ENTRY_H
#include "../Optional.h"
#include "../Types.h"
#include "../tools/SmallSet.h"
#include <string>
namespace vc4c
{
namespace intermediate
{
struct MemoryAccessInstruction;
struct RAMAccessInstruction;
struct CacheAccessInstruction;
} // namespace intermediate
namespace periphery
{
/**
* Represents an entry within a cache.
*
* For e.g. VPM, this represents the (dynamic/static) address in rows/columns/sub-words within the VPM as well
* as the dynamic/static number of rows/columns covered by this entry. For TMU, this is an abstract concept,
* since the actual location within the TMU cache cannot be controlled and is of no consequence (except for
* cache collisions).
*/
struct CacheEntry
{
virtual ~CacheEntry() noexcept;
virtual std::string to_string() const = 0;
virtual bool isReadOnly() const = 0;
tools::SmallSortedPointerSet<intermediate::RAMAccessInstruction*> getMemoryAccesses();
tools::SmallSortedPointerSet<const intermediate::RAMAccessInstruction*> getMemoryAccesses() const;
tools::SmallSortedPointerSet<intermediate::CacheAccessInstruction*> getQPUAccesses();
tools::SmallSortedPointerSet<const intermediate::CacheAccessInstruction*> getQPUAccesses() const;
tools::SmallSortedPointerSet<intermediate::MemoryAccessInstruction*> accesses;
};
} // namespace periphery
} // namespace vc4c
#endif /* VC4C_CACHE_ENTRY_H */
| doe300/VC4C | src/periphery/CacheEntry.h | C | mit | 1,732 | [
30522,
1013,
1008,
1008,
3166,
1024,
18629,
14142,
2692,
1008,
1008,
2156,
1996,
5371,
1000,
6105,
1000,
2005,
1996,
2440,
6105,
8677,
2023,
3642,
1012,
1008,
1013,
1001,
2065,
13629,
2546,
18315,
2549,
2278,
1035,
17053,
1035,
4443,
1035,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
using System;
using Xamarin.Forms;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System.Linq;
namespace MyShop
{
public class StoresViewModel : BaseViewModel
{
readonly IDataStore dataStore;
public ObservableCollection<Store> Stores { get; set;}
public ObservableCollection<Grouping<string, Store>> StoresGrouped { get; set; }
public bool ForceSync { get; set; }
public StoresViewModel (Page page) : base (page)
{
Title = "Locations";
dataStore = DependencyService.Get<IDataStore> ();
Stores = new ObservableCollection<Store> ();
StoresGrouped = new ObservableCollection<Grouping<string, Store>> ();
}
public async Task DeleteStore(Store store)
{
if (IsBusy)
return;
IsBusy = true;
try {
await dataStore.RemoveStoreAsync(store);
Stores.Remove(store);
Sort();
} catch(Exception ex) {
page.DisplayAlert ("Uh Oh :(", "Unable to remove store, please try again", "OK");
Xamarin.Insights.Report (ex);
}
finally {
IsBusy = false;
}
}
private Command getStoresCommand;
public Command GetStoresCommand
{
get {
return getStoresCommand ??
(getStoresCommand = new Command (async () => await ExecuteGetStoresCommand (), () => {return !IsBusy;}));
}
}
private async Task ExecuteGetStoresCommand()
{
if (IsBusy)
return;
if (ForceSync)
Settings.LastSync = DateTime.Now.AddDays (-30);
IsBusy = true;
GetStoresCommand.ChangeCanExecute ();
try{
Stores.Clear();
var stores = await dataStore.GetStoresAsync ();
foreach(var store in stores)
{
if(string.IsNullOrWhiteSpace(store.Image))
store.Image = "http://refractored.com/images/wc_small.jpg";
Stores.Add(store);
}
Sort();
}
catch(Exception ex) {
page.DisplayAlert ("Uh Oh :(", "Unable to gather stores.", "OK");
Xamarin.Insights.Report (ex);
}
finally {
IsBusy = false;
GetStoresCommand.ChangeCanExecute ();
}
}
private void Sort()
{
StoresGrouped.Clear();
var sorted = from store in Stores
orderby store.Country, store.City
group store by store.Country into storeGroup
select new Grouping<string, Store>(storeGroup.Key, storeGroup);
foreach(var sort in sorted)
StoresGrouped.Add(sort);
}
}
}
| usmanm77/MyShoppe | MyShop/ViewModels/StoresViewModel.cs | C# | mit | 2,325 | [
30522,
2478,
2291,
1025,
2478,
1060,
8067,
6657,
1012,
3596,
1025,
2478,
2291,
1012,
6407,
1012,
4874,
5302,
9247,
1025,
2478,
2291,
1012,
11689,
2075,
1012,
8518,
1025,
2478,
2291,
1012,
11409,
4160,
1025,
3415,
15327,
2026,
22231,
2361,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# raptor-sdk
The Raptor Java SDK is part of the raptor platform and used extensively in the codebase.
It can be reused as a standalone library in external application for a direct integration to the exposed API
- [Requirements](#requirements)
- [Setup](#Setup)
- [Authentication](#authentication)
- [Inventory](#inventory)
- [List devices](#list-devices)
- [Create a device](#create-a-device)
- [Update a device](#update-a-device)
- [Load a device](#load-a-device)
- [Search for devices](#search-for-devices)
- [Events notifications](#events-notifications)
- [Watch device events](#watch-device-events)
- [Watch data events](#watch-data-events)
- [Watch action events](#watch-device-action-events)
- [Stream](#stream)
- [Push data](#push-data)
- [Pull data](#pull-data)
- [Last update](#last-update)
- [Drop data](#drop-data)
- [Search for data](#search-for-data)
- [Search by time](#search-by-time)
- [Search by numeric range](#search-by-numeric-range)
- [Search by distance](#search-by-distance)
- [Search by bounding box](#search-by-bounding-box)
- [Action](#action)
- [Set status](#set-status)
- [Get status](#get-status)
- [Invoke an action](#invoke-an-action)
- [Profile](#profile)
- [Set a value](#set-a-value)
- [Get a value](#get-a-value)
- [Get all values](#get-all-values)
- [Tree](#tree)
- [Create a node](#create-a-node)
- [Create a device node](#create-a-device-node)
- [List trees](#list-trees)
- [Delete a node](#delete-a-node)
- [Admin](#admin)
## Requirements
- Java 8 or higher
- Maven
## Setup
Import in your project the `raptor-sdk` maven package.
## Authentication
Let's start by initializing a raptor client instance
```java
// login with username and password
Raptor raptor = new Raptor("http://raptor.local", "admin", "admin")
// alternatively, login with a token
// Raptor raptor = new Raptor("http://raptor.local", "..token..")
// login and retrieve a token
AuthClient.LoginState loginInfo = raptor.Auth().login();
log.debug("Welcome {} (token: {})", loginInfo.user.getUsername(), loginInfo.token);
// close the session and drop the login token
raptor.Auth().logout();
```
## Inventory
The inventory API store device definitions
### List devices
List devices owned by a user
```java
List<Device> list = raptor.Inventory().list();
log.debug("found {} devices", list.size());
```
### Create a device
Create a new device definition
```java
Device dev = new Device();
dev.name("test device")
.description("info about");
dev.properties().put("active", true);
dev.properties().put("cost", 15000L);
dev.properties().put("version", "4.0.0");
dev.validate();
raptor.Inventory().create(dev);
log.debug("Device created {}", dev.id());
```
### Update a device
Update a device definition
```java
// Create a data stream named ambient with a channel temperature of type number
Stream s = dev.addStream("ambient", "temperature", "number");
//Add further channels of different types
s.addChannel("info", "text")
s.addChannel("alarm", "boolean")
// add an action
Action a = dev.addAction("light-control");
raptor.Inventory().update(dev);
log.debug("Device updated: \n {}", dev.toJSON());
```
### Load a device
Load a device definition
```java
Device dev1 = raptor.Inventory().load(dev.id());
log.debug("Device loaded: \n {}", dev.toJSON());
```
### Search for devices
Search for device definitions
```java
DeviceQuery q = new DeviceQuery();
// all devices which name contains `test`
q.name.contains("test");
// and properties.version equals to 4.0.0
q.properties.has("version", "4.0.0");
log.debug("Searching for {}", q.toJSON().toString());
List<Device> results = raptor.Inventory().search(q);
log.debug("Results found {}", results.stream().map(d -> d.name()).collect(Collectors.toList()));
```
### Event notifications
When a device receive data, an action is triggered or the definition changes events are emitted over an asynchronous MQTT channel.
#### Watch device events
Device events are notified when a device definition changes
```java
raptor.Inventory().subscribe(dev, new DeviceCallback() {
@Override
public void callback(Device obj, DevicePayload message) {
log.debug("Device event received {}", message.toString());
}
});
```
#### Watch data events
Data events are generated when a stream is updated
```java
raptor.Inventory().subscribe(dev, new DataCallback() {
@Override
public void callback(Stream stream, RecordSet record) {
log.debug("dev: Data received {}", record.toJson());
}
});
```
#### Watch action events
Action events are generated when an action is triggered or the status changes
```java
raptor.Inventory().subscribe(dev, new ActionCallback() {
@Override
public void callback(Action action, ActionPayload payload) {
log.debug("dev: Data received for {}: {}",
payload.actionId,
payload.data
);
}
});
```
## Stream
The Stream API handles data push and retrieval
### Push data
Send data based on a stream definition
```java
Stream stream = dev.getStream("ambient")
RecordSet record = new RecordSet(stream)
.channel("temperature", 5)
.channel("info", "cold")
.channel("alarm", true)
.location(new GeoJsonPoint(11, 45))
.timestamp(Instant.now())
;
raptor.Stream().push(record)
```
### Pull data
Retrieve data
```java
// return 100 records from 10
int from = 10,
size = 100;
ResultSet results = raptor.Stream().pull(stream, from, size);
```
### Last update
Retrieve the last record sent based on the timestamp
```java
ResultSet results = raptor.Stream().lastUpdate(stream);
```
### Drop data
Removed the data stored in a stream
```java
raptor.Stream().delete(stream);
```
### Search for data
#### Search by time
Search for a range in the data timestamp
```java
Instant i = Instant.now()
DataQuery q = new DataQuery()
.timeRange(
i.plus(500, ChronoUnit.MILLIS),
i.plus(2500, ChronoUnit.MILLIS)
);
log.debug("Searching {}", q.toJSON().toString());
ResultSet results = raptor.Stream().search(stream, q);
```
#### Search by numeric range
Search for a range in a numeric field
```java
DataQuery q = new DataQuery()
.range("temperature", -10, 10);
log.debug("Searching {}", q.toJSON().toString());
ResultSet results = raptor.Stream().search(stream, q);
```
#### Search by distance
Search data by distance using the `location` field
```java
DataQuery q = new DataQuery()
.distance(new GeoJsonPoint(11.45, 45.11), 10000, Metrics.KILOMETERS);
log.debug("Searching {}", q.toJSON().toString());
ResultSet results = raptor.Stream().search(stream, q);
```
#### Search by bounding box
Search data within an area using the `location` field
```java
DataQuery q = new DataQuery()
.boundingBox(new GeoJsonPoint(12, 45), new GeoJsonPoint(10, 44)));
log.debug("Searching {}", q.toJSON().toString());
ResultSet results = raptor.Stream().search(stream, q);
```
## Action
The Action API handles status and triggering of device defined actions
### Set status
Store the current status of an action
```java
Action a = dev.action("light-control");
ActionStatus status = raptor.Action()
.setStatus(a, a.getStatus().status("on"));
```
### Get status
Get the current stored status of an action
```java
Action a = dev.action("light-control");
ActionStatus status = raptor.Action()
.getStatus(a);
```
### Invoke an action
Trigger an action on the remote device
```java
Action a = dev.action("light-control");
ActionStatus status = raptor.Action()
.invoke(a);
```
Set the status of an action
## Profile
The Profile API handles a per-user key-value local store
### Set a value
Set a value by key
```java
ObjectNode json = r.Profile().newObjectNode();
json.put("test", "foo");
json.put("size", 1000L);
json.put("valid", true);
r.Profile().set("test1", json);
```
### Get a value
Get a value by key
```java
JsonNode response = r.Profile().get("test1");
```
### Get all values
Get all values
```java
JsonNode response = r.Profile().get();
```
## Tree
The Tree API handles hierarchical data structures
### Create a node
Create a generic (type `group`) node tree
```java
TreeNode node1 = TreeNode.create("Root1");
raptor.Tree().create(node1);
TreeNode child1 = TreeNode.create("child1");
TreeNode child2 = TreeNode.create("child2");
raptor.Tree().add(node1, Arrays.asList(child1));
raptor.Tree().add(child1, Arrays.asList(child2));
```
### Create a device node
Create a device references inside the tree. Events from that device will be propagated to the parent nodes up to the root
```java
raptor.Tree().add(child2, dev);
```
### List trees
List all the trees available
```java
List<TreeNode> list = raptor.Tree().list();
```
### Delete a node
Delete a node, causing all the leaves to be point to the parent. In case of `device` node references, this will not remove the device
```java
// drop child1 from previous example, child2 will be now direct children of Root1
raptor.Tree().remove(
node1 //Root1
.children().get(0) // child1
);
```
## Admin
Admin APIs allow the management of users, tokens and permissions
For an up to date reference see the [tests](https://github.com/raptorbox/raptor/tree/master/raptor-sdk/src/test/java/org/createnet/raptor/sdk/admin)
## License
Apache2
```
Copyright FBK/CREATE-NET
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.
```
| raptorbox/raptor | raptor-sdk/README.md | Markdown | apache-2.0 | 9,938 | [
30522,
1001,
9680,
4263,
1011,
17371,
2243,
1996,
9680,
4263,
9262,
17371,
2243,
2003,
2112,
1997,
1996,
9680,
4263,
4132,
1998,
2109,
8077,
1999,
1996,
3642,
15058,
1012,
2009,
2064,
2022,
26513,
2004,
1037,
26609,
3075,
1999,
6327,
4646,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
namespace StockSharp.Rss.Xaml
{
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Ecng.Xaml;
using Xceed.Wpf.Toolkit.PropertyGrid;
using Xceed.Wpf.Toolkit.PropertyGrid.Editors;
/// <summary>
/// The drop-down list to select the RSS feed address.
/// </summary>
public class RssAddressEditor : ITypeEditor
{
FrameworkElement ITypeEditor.ResolveEditor(PropertyItem propertyItem)
{
var comboBox = new RssAddressComboBox { IsEditable = true, Width = double.NaN };
var binding = new Binding("Value")
{
Source = propertyItem,
Converter = new UriValueConverter(comboBox, comboBox.SelectedAddress),
Mode = propertyItem.IsReadOnly ? BindingMode.OneWay : BindingMode.TwoWay
};
BindingOperations.SetBinding(comboBox, ComboBox.TextProperty, binding);
return comboBox;
}
}
} | donaldlee2008/StockSharp | Connectors/Rss/Xaml/RssAddressEditor.cs | C# | lgpl-3.0 | 850 | [
30522,
3415,
15327,
15768,
8167,
2361,
1012,
12667,
2015,
1012,
1060,
3286,
2140,
1063,
2478,
2291,
1012,
3645,
1025,
2478,
2291,
1012,
3645,
1012,
7711,
1025,
2478,
2291,
1012,
3645,
1012,
2951,
1025,
2478,
14925,
3070,
1012,
1060,
3286,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
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. */
#pragma once
#include <NvInfer.h>
#include <map>
#include <memory>
#include <mutex> // NOLINT
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#include "paddle/fluid/framework/tensor.h"
#include "paddle/fluid/framework/tensor_util.h"
#include "paddle/fluid/inference/api/paddle_analysis_config.h"
#include "paddle/fluid/inference/engine.h"
#include "paddle/fluid/inference/tensorrt/helper.h"
#include "paddle/fluid/inference/tensorrt/plugin/trt_plugin.h"
#include "paddle/fluid/inference/tensorrt/trt_int8_calibrator.h"
#include "paddle/fluid/inference/utils/singleton.h"
#include "paddle/fluid/platform/enforce.h"
#include "paddle/utils/any.h"
namespace paddle {
namespace inference {
namespace tensorrt {
namespace plugin {
class PluginTensorRT;
} // namespace plugin
using FluidDT = framework::proto::VarType_Type;
using TRT_DT = nvinfer1::DataType;
namespace { // NOLINT
TRT_DT FluidDataType2TRT(FluidDT type) {
switch (type) {
case FluidDT::VarType_Type_FP32:
return TRT_DT::kFLOAT;
case FluidDT::VarType_Type_INT32:
return TRT_DT::kINT32;
case FluidDT::VarType_Type_FP16:
return TRT_DT::kHALF;
default:
return TRT_DT::kINT32;
}
PADDLE_THROW(platform::errors::InvalidArgument(
"unknown fluid datatype in TRT op converter"));
return TRT_DT::kINT32;
}
// The T can be int32 or int64 type.
template <typename T>
nvinfer1::Dims Vec2TRT_Dims(const std::vector<T>& shape, std::string input,
bool with_dynamic_shape = false) {
PADDLE_ENFORCE_GT(shape.size(), 0UL,
platform::errors::InvalidArgument(
"TensorRT's tensor input requires at least 1 "
"dimensions, but input %s has %d dims.",
input, shape.size()));
auto ShapeStr = [](const std::vector<T>& shape) {
std::ostringstream os;
os << "[";
for (size_t i = 0; i < shape.size(); ++i) {
if (i == shape.size() - 1) {
os << shape[i];
} else {
os << shape[i] << ",";
}
}
os << "]";
return os.str();
};
if (!with_dynamic_shape) {
if (shape.size() == 4UL) {
if (shape[2] == -1 || shape[3] == -1) {
PADDLE_THROW(platform::errors::InvalidArgument(
"The input [%s] shape of trt subgraph is %s, please enable "
"trt dynamic_shape mode by SetTRTDynamicShapeInfo.",
input, ShapeStr(shape)));
}
return nvinfer1::Dims3(shape[1], shape[2], shape[3]);
} else if (shape.size() == 5UL) {
if (shape[2] == -1 || shape[3] == -1 || shape[4] == -1) {
PADDLE_THROW(platform::errors::InvalidArgument(
"The input [%s] shape of trt subgraph is %s, please enable "
"trt dynamic_shape mode by SetTRTDynamicShapeInfo.",
input, ShapeStr(shape)));
}
return nvinfer1::Dims4(shape[1], shape[2], shape[3], shape[4]);
} else if (shape.size() == 3UL) {
if (shape[1] == -1 || shape[2] == -1) {
PADDLE_THROW(platform::errors::InvalidArgument(
"The input [%s] shape of trt subgraph is %s, please enable "
"trt dynamic_shape mode by SetTRTDynamicShapeInfo.",
input, ShapeStr(shape)));
}
return nvinfer1::Dims2(shape[1], shape[2]);
} else if (shape.size() == 2UL) {
if (shape[1] == -1) {
PADDLE_THROW(platform::errors::InvalidArgument(
"The input [%s] shape of trt subgraph is %s, please enable "
"trt dynamic_shape mode by SetTRTDynamicShapeInfo.",
input, ShapeStr(shape)));
}
nvinfer1::Dims dims;
dims.nbDims = 1;
dims.d[0] = shape[1];
return dims;
}
// static shape doesn't support 1D op so far.
PADDLE_ENFORCE_NE(shape.size(), 1UL,
platform::errors::InvalidArgument(
"The input [%s] shape of trt subgraph is %s."
"it's not supported by trt so far",
input, ShapeStr(shape)));
nvinfer1::Dims dims;
dims.nbDims = shape.size() - 1;
for (size_t i = 1; i < shape.size(); i++) {
dims.d[i - 1] = shape[i];
}
return dims;
} else {
if (shape.size() == 4UL) {
return nvinfer1::Dims4(shape[0], shape[1], shape[2], shape[3]);
} else if (shape.size() == 3UL) {
return nvinfer1::Dims3(shape[0], shape[1], shape[2]);
}
nvinfer1::Dims dims;
dims.nbDims = shape.size();
for (size_t i = 0; i < shape.size(); i++) {
dims.d[i] = shape[i];
}
return dims;
}
}
} // NOLINT
class TRTInt8Calibrator;
/*
* TensorRT Engine.
*
* There are two alternative ways to use it, one is to build from a paddle
* protobuf model, another way is to manually construct the network.
*/
class TensorRTEngine {
using DescType = ::paddle::framework::proto::BlockDesc;
using ShapeMapType = std::map<std::string, std::vector<int>>;
public:
// Weight is model parameter.
class Weight {
public:
Weight() = default;
Weight(nvinfer1::DataType dtype, void* value, size_t num_elem) {
w_.type = dtype;
w_.values = value;
w_.count = num_elem;
}
const nvinfer1::Weights& get() { return w_; }
std::vector<int64_t> dims;
private:
nvinfer1::Weights w_;
};
TensorRTEngine(
int max_batch, int max_workspace,
AnalysisConfig::Precision precision = AnalysisConfig::Precision::kFloat32,
TRTInt8Calibrator* calibrator = nullptr, int device_id = 0,
const ShapeMapType min_input_shape = {},
const ShapeMapType max_input_shape = {},
const ShapeMapType optim_input_shape = {},
bool disable_trt_plugin_fp16 = false,
nvinfer1::ILogger& logger = NaiveLogger::Global())
: max_batch_(max_batch),
max_workspace_(max_workspace),
precision_(precision),
calibrator_(calibrator),
device_id_(device_id),
min_input_shape_(min_input_shape),
max_input_shape_(max_input_shape),
optim_input_shape_(optim_input_shape),
disable_trt_plugin_fp16_(disable_trt_plugin_fp16),
logger_(logger) {
if (min_input_shape_.size() != 0 && max_input_shape_.size() != 0 &&
optim_input_shape_.size() != 0) {
PADDLE_ENFORCE_EQ(
min_input_shape_.size(), max_input_shape_.size(),
platform::errors::InvalidArgument(
"The min_input_shape_'s size(%d) should be equal to the "
"size(%d) of max_input_shape_",
min_input_shape_.size(), max_input_shape_.size()));
PADDLE_ENFORCE_EQ(
min_input_shape_.size(), optim_input_shape_.size(),
platform::errors::InvalidArgument(
"The min_input_shape_'s size(%d) should be equal to the "
"size(%d) of optim_input_shape_",
min_input_shape_.size(), optim_input_shape_.size()));
#if IS_TRT_VERSION_GE(6000)
with_dynamic_shape_ = true;
#else
LOG(WARNING) << "Using dynamic shape of TRT need ensure that the TRT "
"version should be at least 6.";
#endif
}
dy::initLibNvInferPlugins(&logger, "");
}
~TensorRTEngine() {
for (auto& attr : attrs_) {
if (attr_dels_.find(attr.first) != attr_dels_.end()) {
attr_dels_[attr.first]();
}
}
attrs_.clear();
attr_dels_.clear();
}
// Add an input and set its name, data type and dimension.
nvinfer1::ITensor* DeclareInput(const std::string& name,
nvinfer1::DataType dtype,
const nvinfer1::Dims& dim);
// Set the offset-th output from a layer as the network's output, and set its
// name.
void DeclareOutput(const nvinfer1::ILayer* layer, int offset,
const std::string& name);
// Set the itensor_map_[name] as the network's output, and set its name.
void DeclareOutput(const std::string& name);
void ClearTensorMap() { itensor_map_.clear(); }
void SetITensor(const std::string& name, nvinfer1::ITensor* tensor);
// Get an ITensor called name.
nvinfer1::ITensor* GetITensor(const std::string& name);
nvinfer1::ICudaEngine* engine() { return infer_engine_.get(); }
nvinfer1::IExecutionContext* context() {
std::unique_lock<std::mutex> lock(mutex_);
const std::thread::id tid = std::this_thread::get_id();
if (infer_context_.find(tid) == infer_context_.end()) {
PADDLE_ENFORCE_NOT_NULL(
infer_engine_,
platform::errors::InvalidArgument(
"You should build engine first and then set the context."));
// We may see trt warning: Profile 0 has been chosen by another
// IExecutionContext...
// It's ok. We will set it later.
infer_context_[tid].reset(infer_engine_->createExecutionContext());
if (with_dynamic_shape_) {
// need new profile if it's not the first
if (cur_profile_num_ > 0) {
infer_context_[tid]->setOptimizationProfile(cur_profile_num_);
}
profile_index_[tid] = cur_profile_num_;
++cur_profile_num_;
}
}
return infer_context_[tid].get();
}
int GetProfileIndex() {
if (max_profile_num_ > 1) {
std::unique_lock<std::mutex> lock(mutex_);
const std::thread::id tid = std::this_thread::get_id();
return profile_index_[tid];
} else {
return 0;
}
}
int GetBindingsOffset() {
return (binding_num_ / max_profile_num_) * GetProfileIndex();
}
int GetNbBindings() { return binding_num_; }
void ResetContext() {
std::unique_lock<std::mutex> lock(mutex_);
const std::thread::id tid = std::this_thread::get_id();
PADDLE_ENFORCE_NOT_NULL(
infer_engine_,
platform::errors::InvalidArgument(
"You should build engine first and then set the context."));
infer_context_[tid].reset(nullptr);
infer_context_.erase(tid);
}
nvinfer1::IHostMemory* Serialize() {
PADDLE_ENFORCE_NOT_NULL(
infer_engine_,
platform::errors::InvalidArgument(
"The TensorRT engine must be built first before serialization"));
#if IS_TRT_VERSION_LT(8000)
ihost_memory_.reset(infer_engine_->serialize());
#else
PADDLE_ENFORCE_NOT_NULL(
ihost_memory_,
platform::errors::InvalidArgument(
"TensorRT >= 8.0 requires that buildSerializedNetwork is called"));
#endif
return ihost_memory_.get();
}
void Deserialize(const std::string& engine_serialized_data) {
freshDeviceId();
infer_ptr<nvinfer1::IRuntime> runtime(createInferRuntime(&logger_));
if (use_dla_) {
if (precision_ != AnalysisConfig::Precision::kInt8 &&
precision_ != AnalysisConfig::Precision::kHalf) {
LOG(WARNING) << "TensorRT DLA must be used with int8 or fp16, but you "
"set float32, so DLA is not used.";
} else if (runtime->getNbDLACores() == 0) {
LOG(WARNING)
<< "TensorRT DLA is set by config, but your device does not have "
"DLA, so DLA is not used.";
} else {
if (dla_core_ < 0 || dla_core_ >= runtime->getNbDLACores()) {
dla_core_ = 0;
LOG(WARNING) << "Invalid DLACore, must be 0 < DLACore < "
<< runtime->getNbDLACores() << ", but got " << dla_core_
<< ", so use use 0 as default.";
}
runtime->setDLACore(dla_core_);
LOG(INFO) << "TensorRT DLA enabled in Deserialize(), DLACore "
<< dla_core_;
}
}
infer_engine_.reset(runtime->deserializeCudaEngine(
engine_serialized_data.c_str(), engine_serialized_data.size()));
PADDLE_ENFORCE_NOT_NULL(
infer_engine_,
platform::errors::Fatal(
"Building TRT cuda engine failed when deserializing engine info. "
"Please check:\n1. Your TRT serialization is generated and loaded "
"on the same GPU architecture;\n2. The Paddle Inference version of "
"generating serialization file and doing inference are "
"consistent."));
binding_num_ = infer_engine_->getNbBindings();
GetEngineInfo();
}
void SetRuntimeBatch(size_t batch_size);
int GetRuntimeBatch();
bool WithFp16() {
bool enable_fp16 = (precision_ == AnalysisConfig::Precision::kHalf);
bool support_fp16 = infer_builder_->platformHasFastFp16();
return enable_fp16 && support_fp16;
}
int GetDeviceId() { return device_id_; }
nvinfer1::IPluginV2Layer* AddPlugin(nvinfer1::ITensor* const* inputs,
int num_inputs, plugin::PluginTensorRT*);
nvinfer1::IPluginV2Layer* AddPluginV2Ext(nvinfer1::ITensor* const* inputs,
int num_inputs,
plugin::PluginTensorRTV2Ext* plugin);
nvinfer1::IPluginV2Layer* AddPluginV2IOExt(nvinfer1::ITensor* const* inputs,
int num_inputs,
nvinfer1::IPluginV2IOExt* plugin);
void SetTensorDynamicRange(nvinfer1::ITensor* tensor, float range) {
quant_dynamic_range_[tensor] = range;
}
float* GetWeightCPUData(const std::string& name,
framework::Tensor* weight_tensor, bool enable_int8,
const std::vector<float>& scale = {});
// A pointer to CPU memory is needed of the TRT weight.
// Before TRT runs, fluid loads weight into GPU storage.
// so we need to copy the weights from GPU to CPU in our op converter.
// We use a map to store these weights for the weight memory is not released
// in advance, which affecting the construction of TRT Op.
std::unordered_map<std::string /*name*/, std::unique_ptr<framework::Tensor>>
weight_map;
// When setting weight_map, a self-increasing suffix is needed for the names
// so as to avoid repeatedly setting weights with the same name.
void SetWeights(std::string w_name,
std::unique_ptr<framework::Tensor> w_tensor) {
static int suffix_counter = 0;
std::string suffix = std::to_string(suffix_counter);
std::string splitter = "__";
weight_map[w_name + splitter + suffix] = std::move(w_tensor);
suffix_counter += 1;
}
void SetUseOSS(bool use_oss) { use_oss_ = use_oss; }
void SetUseDLA(bool use_dla) { use_dla_ = use_dla; }
void SetDLACore(int dla_core) { dla_core_ = dla_core; }
void SetWithErnie(bool with_ernie) { with_ernie_ = with_ernie; }
void SetWithInterleaved(bool with_interleaved) {
with_interleaved_ = with_interleaved;
}
void ClearWeights() {
for (auto& weight_pair : weight_map) {
weight_pair.second.reset(nullptr);
}
}
// NOTE: The func bellow was modified to adapt the dynamic shape.
// Initialize the inference network, so that TensorRT layers can add to this
// network.
void InitNetwork();
// After finishing adding ops, freeze this network and creates the execution
// environment.
void FreezeNetwork();
void Execute(int batch_size, std::vector<void*>* buffers,
cudaStream_t stream = nullptr);
nvinfer1::INetworkDefinition* network() { return infer_network_.get(); }
ShapeMapType min_input_shape() { return min_input_shape_; }
ShapeMapType max_input_shape() { return max_input_shape_; }
ShapeMapType optim_input_shape() { return optim_input_shape_; }
bool AdjustDynamicShapeRange(const ShapeMapType& runtime_input_shape,
std::vector<std::string>* changed) {
bool ret = false;
changed->clear();
for (const auto& it : runtime_input_shape) {
auto name = it.first;
auto input_shape = it.second;
PADDLE_ENFORCE_EQ(
min_input_shape_.count(name), true,
platform::errors::InvalidArgument(
"TRT dynamic_shape min_input_shape %s not found.", name));
PADDLE_ENFORCE_EQ(min_input_shape_[name].size(), input_shape.size(),
platform::errors::InvalidArgument(
"TRT dynamic_shape min_input_shape %s size not "
"equal, the min_input_shape[%s].size()=%d"
", but the runtime_input_shape[%s].size()=%d.",
name, name, min_input_shape_[name].size(), name,
input_shape.size()));
auto bak_min_shape = min_input_shape_[name];
auto bak_max_shape = max_input_shape_[name];
bool min_change = false;
bool max_change = false;
for (size_t d = 0; d < input_shape.size(); ++d) {
if (input_shape[d] < min_input_shape_[name][d]) {
ret = true;
min_change = true;
min_input_shape_[name][d] = input_shape[d];
}
if (input_shape[d] > max_input_shape_[name][d]) {
ret = true;
max_change = true;
max_input_shape_[name][d] = input_shape[d];
}
}
if (min_change)
LOG(INFO) << "refactor shape range: " << name << ", min_shape from "
<< Vec2Str(bak_min_shape) << " to "
<< Vec2Str(min_input_shape_[name]);
if (max_change)
LOG(INFO) << "refactor shape range: " << name << ", max_shape from "
<< Vec2Str(bak_max_shape) << " to "
<< Vec2Str(max_input_shape_[name]);
if (min_change || max_change) changed->push_back(name);
}
return ret;
}
bool use_oss() { return use_oss_; }
bool with_ernie() { return with_ernie_; }
bool with_interleaved() { return with_interleaved_; }
bool disable_trt_plugin_fp16() { return disable_trt_plugin_fp16_; }
bool with_dynamic_shape() { return with_dynamic_shape_; }
AnalysisConfig::Precision precision() { return precision_; }
#if IS_TRT_VERSION_GE(6000)
nvinfer1::IPluginV2Layer* AddDynamicPlugin(
nvinfer1::ITensor* const* inputs, int num_inputs,
plugin::DynamicPluginTensorRT* plugin) {
owned_pluginv2_.emplace_back(plugin);
return network()->addPluginV2(inputs, num_inputs, *plugin);
}
#endif
bool Has(const std::string& attr_name) const {
return attrs_.count(attr_name) > 0;
}
void Erase(const std::string& attr_name) {
if (!Has(attr_name)) {
return;
}
if (attr_dels_.find(attr_name) != attr_dels_.end()) {
attr_dels_[attr_name]();
attr_dels_.erase(attr_name);
}
attrs_.erase(attr_name);
}
// Set a pointer to the attribute. Engine takes ownership of the attribute.
template <typename AttrType>
void Set(const std::string& attr_name, AttrType* attr) {
if (attrs_.count(attr_name) == 0) {
PADDLE_ENFORCE_EQ(
attrs_.count(attr_name), 0,
platform::errors::AlreadyExists(
"Attribute %s already set in trt engine.", attr_name));
} else {
VLOG(3) << "Setting the attribute " << attr_name << " for trt engine "
<< this;
}
attrs_[attr_name] = attr;
attr_dels_[attr_name] = [attr, attr_name]() {
VLOG(3) << "deleting " << attr_name;
delete attr;
};
}
// Set a pointer to the attribute. Engine doesn't take ownership. Caller
// should delete the attribute.
template <typename AttrType>
void SetNotOwned(const std::string& attr_name, AttrType* attr) {
PADDLE_ENFORCE_EQ(
attrs_.count(attr_name), 0,
platform::errors::AlreadyExists(
"Attribute %s already set in trt engine.", attr_name));
attrs_[attr_name] = attr;
}
// Get a reference to the attributed previously set.
template <typename AttrType>
AttrType& Get(const std::string& attr_name) const {
PADDLE_ENFORCE_NE(attrs_.find(attr_name), attrs_.end(),
platform::errors::InvalidArgument(
"Attribute %s not found in trt engine.", attr_name));
try {
return *paddle::any_cast<AttrType*>(attrs_.at(attr_name));
} catch (paddle::bad_any_cast&) {
auto TypeToString = [](const std::type_info& info) -> std::string {
if (std::type_index(info) == std::type_index(typeid(bool*))) {
return "bool";
} else if (std::type_index(info) == std::type_index(typeid(int*))) {
return "int";
} else if (std::type_index(info) ==
std::type_index(typeid(const int*))) {
return "const int";
} else if (std::type_index(info) ==
std::type_index(typeid(std::string*))) {
return "std::string";
}
return info.name();
};
PADDLE_THROW(platform::errors::InvalidArgument(
"Invalid type for attritube %s, expected: %s, actual: %s.", attr_name,
TypeToString(typeid(AttrType*)),
TypeToString(attrs_.at(attr_name).type())));
}
}
void SetProfileNum(int num) { max_profile_num_ = num; }
void GetEngineInfo();
void SetUseInspector(bool use_inspector) { use_inspector_ = use_inspector; }
private:
// Each ICudaEngine object is bound to a specific GPU when it is instantiated,
// ensure that the thread is associated with the correct device by calling
// freshDeviceId().
void freshDeviceId();
// the max batch size
int max_batch_;
// the runtime batch size
static int runtime_batch_;
// the max memory size the engine uses
int max_workspace_;
AnalysisConfig::Precision precision_;
TRTInt8Calibrator* calibrator_;
// batch size of the current data, will be updated each Executation.
int batch_size_{-1};
int device_id_;
int max_profile_num_{1};
int cur_profile_num_{0};
std::unordered_map<std::thread::id, int> profile_index_;
ShapeMapType min_input_shape_;
ShapeMapType max_input_shape_;
ShapeMapType optim_input_shape_;
bool disable_trt_plugin_fp16_{false};
bool use_oss_{false};
bool use_dla_{false};
int dla_core_{0};
bool with_ernie_{false};
bool with_interleaved_{false};
nvinfer1::ILogger& logger_;
// max data size for the buffers.
std::unordered_map<std::string /*name*/, nvinfer1::ITensor* /*ITensor*/>
itensor_map_;
std::vector<std::unique_ptr<plugin::PluginTensorRT>> owned_plugin_;
std::vector<std::unique_ptr<plugin::PluginTensorRTV2Ext>> owned_plugin_v2ext_;
std::vector<std::unique_ptr<nvinfer1::IPluginV2IOExt>> owned_plugin_v2ioext_;
// TensorRT related internal members
template <typename T>
struct Destroyer {
void operator()(T* x) {
if (x) {
x->destroy();
}
}
};
template <typename T>
using infer_ptr = std::unique_ptr<T, Destroyer<T>>;
infer_ptr<nvinfer1::IBuilder> infer_builder_;
infer_ptr<nvinfer1::INetworkDefinition> infer_network_;
infer_ptr<nvinfer1::ICudaEngine> infer_engine_;
std::unordered_map<std::thread::id, infer_ptr<nvinfer1::IExecutionContext>>
infer_context_;
infer_ptr<nvinfer1::IHostMemory> ihost_memory_;
std::unordered_map<nvinfer1::ITensor*, float> quant_dynamic_range_;
std::unordered_map<std::string, paddle::any> attrs_;
std::unordered_map<std::string, std::function<void(void)>> attr_dels_;
// For dynamic shape
bool with_dynamic_shape_{false};
#if IS_TRT_VERSION_GE(6000)
int binding_num_;
infer_ptr<nvinfer1::IBuilderConfig> infer_builder_config_;
std::vector<nvinfer1::IOptimizationProfile*> optim_profiles_;
std::vector<std::unique_ptr<plugin::DynamicPluginTensorRT>> owned_pluginv2_;
#endif
std::mutex mutex_;
bool use_inspector_;
}; // class TensorRTEngine
// Add a layer__ into engine__ with args ARGS.
// For example:
//
// Reference
// https://docs.nvidia.com/deeplearning/sdk/tensorrt-developer-guide/index.html#charRNN_define_network
//
// will add a fully connected layer into the engine.
// TensorRT has too many layers, so that is not wise to add member functions for
// them, and an macro like this is more extensible when underlying TensorRT
// library add new layer supports.
#define TRT_ENGINE_ADD_LAYER(engine__, layer__, ...) \
engine__->network()->add##layer__(__VA_ARGS__);
class TRTEngineManager {
public:
bool Empty() const { return engines_.size() == 0; }
bool Has(const std::string& name) const {
if (engines_.count(name) == 0) return false;
return engines_.at(name).get() != nullptr;
}
TensorRTEngine* Get(const std::string& name) const {
return engines_.at(name).get();
}
TensorRTEngine* Create(
std::string name, int max_batch, int max_workspace,
AnalysisConfig::Precision precision = AnalysisConfig::Precision::kFloat32,
TRTInt8Calibrator* calibrator = nullptr, int device_id = 0,
const std::map<std::string, std::vector<int>> min_input_shape = {},
const std::map<std::string, std::vector<int>> max_input_shape = {},
const std::map<std::string, std::vector<int>> optim_input_shape = {},
bool disable_trt_plugin_fp16 = false,
nvinfer1::ILogger& logger = NaiveLogger::Global()) {
auto* p =
new TensorRTEngine(max_batch, max_workspace, precision, calibrator,
device_id, min_input_shape, max_input_shape,
optim_input_shape, disable_trt_plugin_fp16, logger);
engines_[name].reset(p);
return p;
}
void DeleteAll() {
for (auto& item : engines_) {
item.second.reset(nullptr);
}
}
void DeleteKey(const std::string& key) {
auto iter = engines_.find(key);
if (iter != engines_.end()) {
iter->second.reset(nullptr);
engines_.erase(iter);
}
}
private:
std::unordered_map<std::string, std::unique_ptr<TensorRTEngine>> engines_;
};
} // namespace tensorrt
} // namespace inference
} // namespace paddle
| PaddlePaddle/Paddle | paddle/fluid/inference/tensorrt/engine.h | C | apache-2.0 | 26,251 | [
30522,
1013,
1008,
9385,
1006,
1039,
1007,
2760,
20890,
15455,
10362,
6048,
1012,
2035,
2916,
9235,
1012,
7000,
2104,
1996,
15895,
6105,
1010,
2544,
1016,
1012,
1014,
1006,
1996,
1000,
6105,
1000,
1007,
1025,
2017,
2089,
2025,
2224,
2023,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>Coffeescript-UI Documentation</title>
<script src='javascript/application.js'></script>
<script src='javascript/search.js'></script>
<link rel='stylesheet' href='stylesheets/application.css' type='text/css'>
</head>
<body class='list'>
<div class='list' id='content'>
<h1 class='full_list_header'>Method List</h1>
<nav>
<a target='_self' href='class_list.html'>
Classes
</a>
<a target='_self' href='file_list.html'>
Files
</a>
<a target='_self' href='method_list.html'>
Methods
</a>
</nav>
<div id='search'>
Search:
<input type='text'>
</div>
<ul>
<li>
<a href='class/CUI/dom.html#$element-static' target='main' title='$element'>
.$element
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#$elementIsInDOM-static' target='main' title='$elementIsInDOM'>
.$elementIsInDOM
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='file/base/Deferred/when.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(base/Deferred/when.coffee)
</small>
</li>
<li>
<a href='file/elements/ConfirmationChoice/Alert.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(elements/ConfirmationChoice/Alert.coffee)
</small>
</li>
<li>
<a href='file/elements/ConfirmationChoice/Confirm.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(elements/ConfirmationChoice/Confirm.coffee)
</small>
</li>
<li>
<a href='file/elements/ConfirmationChoice/ConfirmationChoice.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(elements/ConfirmationChoice/ConfirmationChoice.coffee)
</small>
</li>
<li>
<a href='file/elements/ConfirmationChoice/Prompt.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(elements/ConfirmationChoice/Prompt.coffee)
</small>
</li>
<li>
<a href='file/elements/ConfirmationChoice/Spinner.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(elements/ConfirmationChoice/Spinner.coffee)
</small>
</li>
<li>
<a href='file/elements/ConfirmationChoice/Toaster.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(elements/ConfirmationChoice/Toaster.coffee)
</small>
</li>
<li>
<a href='file/base/Deferred/decide.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(base/Deferred/decide.coffee)
</small>
</li>
<li>
<a href='file/base/Deferred/when.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(base/Deferred/when.coffee)
</small>
</li>
<li>
<a href='file/elements/ConfirmationChoice/Alert.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(elements/ConfirmationChoice/Alert.coffee)
</small>
</li>
<li>
<a href='file/base/Deferred/when.coffee.html#CUI-' target='main' title='CUI'>
~CUI
</a>
<small>
(base/Deferred/when.coffee)
</small>
</li>
<li>
<a href='file/base/util.coffee.html#RegExp-' target='main' title='RegExp'>
~RegExp
</a>
<small>
(base/util.coffee)
</small>
</li>
<li>
<a href='file/base/util.coffee.html#String-' target='main' title='String'>
~String
</a>
<small>
(base/util.coffee)
</small>
</li>
<li>
<a href='file/base/util.coffee.html#String-' target='main' title='String'>
~String
</a>
<small>
(base/util.coffee)
</small>
</li>
<li>
<a href='file/base/util.coffee.html#String-' target='main' title='String'>
~String
</a>
<small>
(base/util.coffee)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#UNUSEDgetTimezoneData-dynamic' target='main' title='UNUSEDgetTimezoneData'>
#UNUSEDgetTimezoneData
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#__actionOnNode-dynamic' target='main' title='__actionOnNode'>
#__actionOnNode
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#__actionRecursively-dynamic' target='main' title='__actionRecursively'>
#__actionRecursively
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#__activateItemByIndex-dynamic' target='main' title='__activateItemByIndex'>
#__activateItemByIndex
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__addCustomOption-dynamic' target='main' title='__addCustomOption'>
#__addCustomOption
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#__addCustomOption-dynamic' target='main' title='__addCustomOption'>
#__addCustomOption
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__addDebugControl-dynamic' target='main' title='__addDebugControl'>
#__addDebugControl
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#__addHeaderButton-dynamic' target='main' title='__addHeaderButton'>
#__addHeaderButton
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__addMarkerToMap-dynamic' target='main' title='__addMarkerToMap'>
#__addMarkerToMap
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#__addMarkerToMap-dynamic' target='main' title='__addMarkerToMap'>
#__addMarkerToMap
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#__addMarkerToMap-dynamic' target='main' title='__addMarkerToMap'>
#__addMarkerToMap
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__addRow-dynamic' target='main' title='__addRow'>
#__addRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__addRows-dynamic' target='main' title='__addRows'>
#__addRows
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__addRowsOddEvenClasses-dynamic' target='main' title='__addRowsOddEvenClasses'>
#__addRowsOddEvenClasses
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#__addSeparator-dynamic' target='main' title='__addSeparator'>
#__addSeparator
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#__addSymbol-dynamic' target='main' title='__addSymbol'>
#__addSymbol
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__afterMarkerCreated-dynamic' target='main' title='__afterMarkerCreated'>
#__afterMarkerCreated
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#__afterMarkerCreated-dynamic' target='main' title='__afterMarkerCreated'>
#__afterMarkerCreated
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#__all-static' target='main' title='__all'>
.__all
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/dom.html#__append-static' target='main' title='__append'>
.__append
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__appendCells-dynamic' target='main' title='__appendCells'>
#__appendCells
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Template.html#__appendContent-static' target='main' title='__appendContent'>
.__appendContent
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#__appendNewRow-dynamic' target='main' title='__appendNewRow'>
#__appendNewRow
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#__appendNode-dynamic' target='main' title='__appendNode'>
#__appendNode
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#__appendRow-dynamic' target='main' title='__appendRow'>
#__appendRow
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#__assertDOMElement-dynamic' target='main' title='__assertDOMElement'>
#__assertDOMElement
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#__assertTemplateElement-dynamic' target='main' title='__assertTemplateElement'>
#__assertTemplateElement
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__bindOnClickMapEvent-dynamic' target='main' title='__bindOnClickMapEvent'>
#__bindOnClickMapEvent
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#__bindOnClickMapEvent-dynamic' target='main' title='__bindOnClickMapEvent'>
#__bindOnClickMapEvent
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#__bindOnClickMapEvent-dynamic' target='main' title='__bindOnClickMapEvent'>
#__bindOnClickMapEvent
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__buildIconPopoverContent-dynamic' target='main' title='__buildIconPopoverContent'>
#__buildIconPopoverContent
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#__buildMap-dynamic' target='main' title='__buildMap'>
#__buildMap
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__buildMap-dynamic' target='main' title='__buildMap'>
#__buildMap
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__buildMap-dynamic' target='main' title='__buildMap'>
#__buildMap
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#__buildMap-dynamic' target='main' title='__buildMap'>
#__buildMap
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__buildMarker-dynamic' target='main' title='__buildMarker'>
#__buildMarker
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#__buildMarker-dynamic' target='main' title='__buildMarker'>
#__buildMarker
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#__buildMarker-dynamic' target='main' title='__buildMarker'>
#__buildMarker
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/MultiOutput.html#__buildTemplateForKey-dynamic' target='main' title='__buildTemplateForKey'>
#__buildTemplateForKey
</a>
<small>
(CUI.MultiOutput)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#__callAutoButtonbar-dynamic' target='main' title='__callAutoButtonbar'>
#__callAutoButtonbar
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Button.html#__callOnGroup-dynamic' target='main' title='__callOnGroup'>
#__callOnGroup
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI.html#__callTimeoutChangeCallbacks-static' target='main' title='__callTimeoutChangeCallbacks'>
.__callTimeoutChangeCallbacks
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#__callback-dynamic' target='main' title='__callback'>
#__callback
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/DateTimeInputBlock.html#__changeBlock-dynamic' target='main' title='__changeBlock'>
#__changeBlock
</a>
<small>
(CUI.DateTimeInputBlock)
</small>
</li>
<li>
<a href='class/CUI/NumberInputBlock.html#__changeBlock-dynamic' target='main' title='__changeBlock'>
#__changeBlock
</a>
<small>
(CUI.NumberInputBlock)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#__checkInput-dynamic' target='main' title='__checkInput'>
#__checkInput
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__checkInput-dynamic' target='main' title='__checkInput'>
#__checkInput
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/EmailInput.html#__checkInput-dynamic' target='main' title='__checkInput'>
#__checkInput
</a>
<small>
(CUI.EmailInput)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#__checkInput-dynamic' target='main' title='__checkInput'>
#__checkInput
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__checkInputInternal-dynamic' target='main' title='__checkInputInternal'>
#__checkInputInternal
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__checkInputRegexp-dynamic' target='main' title='__checkInputRegexp'>
#__checkInputRegexp
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Prompt.html#__checkOkBtn-dynamic' target='main' title='__checkOkBtn'>
#__checkOkBtn
</a>
<small>
(CUI.Prompt)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#__checkOverflowButton-dynamic' target='main' title='__checkOverflowButton'>
#__checkOverflowButton
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/ProgressMeter.html#__checkState-dynamic' target='main' title='__checkState'>
#__checkState
</a>
<small>
(CUI.ProgressMeter)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#__checkVisibility-dynamic' target='main' title='__checkVisibility'>
#__checkVisibility
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#__cleanup-dynamic' target='main' title='__cleanup'>
#__cleanup
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#__clearOverwriteMonthAndYear-dynamic' target='main' title='__clearOverwriteMonthAndYear'>
#__clearOverwriteMonthAndYear
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI.html#__clearStorage-static' target='main' title='__clearStorage'>
.__clearStorage
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#__close-dynamic' target='main' title='__close'>
#__close
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#__closePopover-dynamic' target='main' title='__closePopover'>
#__closePopover
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#__closePopover-dynamic' target='main' title='__closePopover'>
#__closePopover
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__createElement-dynamic' target='main' title='__createElement'>
#__createElement
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Password.html#__createElement-dynamic' target='main' title='__createElement'>
#__createElement
</a>
<small>
(CUI.Password)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#__createFields-dynamic' target='main' title='__createFields'>
#__createFields
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__debugCall-dynamic' target='main' title='__debugCall'>
#__debugCall
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__debugRect-dynamic' target='main' title='__debugRect'>
#__debugRect
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__deferRow-dynamic' target='main' title='__deferRow'>
#__deferRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#__deselectPreActivated-dynamic' target='main' title='__deselectPreActivated'>
#__deselectPreActivated
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/DataFieldProxy.html#__detach-dynamic' target='main' title='__detach'>
#__detach
</a>
<small>
(CUI.DataFieldProxy)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__disableEnableZoomButtons-dynamic' target='main' title='__disableEnableZoomButtons'>
#__disableEnableZoomButtons
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#__doLayout-dynamic' target='main' title='__doLayout'>
#__doLayout
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__doLayout-dynamic' target='main' title='__doLayout'>
#__doLayout
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#__doSearch-dynamic' target='main' title='__doSearch'>
#__doSearch
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#__download_abort-dynamic' target='main' title='__download_abort'>
#__download_abort
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#__download_loadend-dynamic' target='main' title='__download_loadend'>
#__download_loadend
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#__download_progress-dynamic' target='main' title='__download_progress'>
#__download_progress
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#__download_readyStateChange-dynamic' target='main' title='__download_readyStateChange'>
#__download_readyStateChange
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#__download_timeout-dynamic' target='main' title='__download_timeout'>
#__download_timeout
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#__end_drag-dynamic' target='main' title='__end_drag'>
#__end_drag
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#__event_abort-dynamic' target='main' title='__event_abort'>
#__event_abort
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#__event_error-dynamic' target='main' title='__event_error'>
#__event_error
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#__event_load-dynamic' target='main' title='__event_load'>
#__event_load
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#__event_loadStart-dynamic' target='main' title='__event_loadStart'>
#__event_loadStart
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#__event_loadend-dynamic' target='main' title='__event_loadend'>
#__event_loadend
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#__event_progress-dynamic' target='main' title='__event_progress'>
#__event_progress
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#__findClosestSon-dynamic' target='main' title='__findClosestSon'>
#__findClosestSon
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#__findRowInfo-dynamic' target='main' title='__findRowInfo'>
#__findRowInfo
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#__finish_drag-dynamic' target='main' title='__finish_drag'>
#__finish_drag
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__focusShadowInput-dynamic' target='main' title='__focusShadowInput'>
#__focusShadowInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Events.html#__getActiveListeners-static' target='main' title='__getActiveListeners'>
.__getActiveListeners
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/Button.html#__getButtons-dynamic' target='main' title='__getButtons'>
#__getButtons
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/CSSLoader.html#__getCSSNodes-dynamic' target='main' title='__getCSSNodes'>
#__getCSSNodes
</a>
<small>
(CUI.CSSLoader)
</small>
</li>
<li>
<a href='class/CUI/Element.html#__getCheckMap-dynamic' target='main' title='__getCheckMap'>
#__getCheckMap
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Options.html#__getCheckboxByValue-dynamic' target='main' title='__getCheckboxByValue'>
#__getCheckboxByValue
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__getColClass-dynamic' target='main' title='__getColClass'>
#__getColClass
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__getColWidth-dynamic' target='main' title='__getColWidth'>
#__getColWidth
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__getColsFromAndTo-dynamic' target='main' title='__getColsFromAndTo'>
#__getColsFromAndTo
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__getFormattedPosition-dynamic' target='main' title='__getFormattedPosition'>
#__getFormattedPosition
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__getFullscreenButtonOpts-dynamic' target='main' title='__getFullscreenButtonOpts'>
#__getFullscreenButtonOpts
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Button.html#__getIcon-dynamic' target='main' title='__getIcon'>
#__getIcon
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#__getInputBlocks-dynamic' target='main' title='__getInputBlocks'>
#__getInputBlocks
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__getInputBlocks-dynamic' target='main' title='__getInputBlocks'>
#__getInputBlocks
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#__getItemByIndex-dynamic' target='main' title='__getItemByIndex'>
#__getItemByIndex
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#__getItems-dynamic' target='main' title='__getItems'>
#__getItems
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/Events.html#__getListenersForNode-static' target='main' title='__getListenersForNode'>
.__getListenersForNode
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__getMapClassName-dynamic' target='main' title='__getMapClassName'>
#__getMapClassName
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#__getMapClassName-dynamic' target='main' title='__getMapClassName'>
#__getMapClassName
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#__getMapClassName-dynamic' target='main' title='__getMapClassName'>
#__getMapClassName
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__getMarkerOptions-dynamic' target='main' title='__getMarkerOptions'>
#__getMarkerOptions
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Select.html#__getOptionByValue-dynamic' target='main' title='__getOptionByValue'>
#__getOptionByValue
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#__getOriginalElement-dynamic' target='main' title='__getOriginalElement'>
#__getOriginalElement
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__getPosition-dynamic' target='main' title='__getPosition'>
#__getPosition
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__getPositionForDisplay-dynamic' target='main' title='__getPositionForDisplay'>
#__getPositionForDisplay
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__getQuadrants-dynamic' target='main' title='__getQuadrants'>
#__getQuadrants
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationChoice.html#__getResolveValue-dynamic' target='main' title='__getResolveValue'>
#__getResolveValue
</a>
<small>
(CUI.ConfirmationChoice)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__getScrolling-dynamic' target='main' title='__getScrolling'>
#__getScrolling
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#__getSize-dynamic' target='main' title='__getSize'>
#__getSize
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#__getState-dynamic' target='main' title='__getState'>
#__getState
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI.html#__getStorage-static' target='main' title='__getStorage'>
.__getStorage
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Button.html#__getTemplateName-dynamic' target='main' title='__getTemplateName'>
#__getTemplateName
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI.html#__getTimeoutById-static' target='main' title='__getTimeoutById'>
.__getTimeoutById
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__getValue-dynamic' target='main' title='__getValue'>
#__getValue
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__getZoomButtons-dynamic' target='main' title='__getZoomButtons'>
#__getZoomButtons
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#__handleDOMEventInternal-dynamic' target='main' title='__handleDOMEventInternal'>
#__handleDOMEventInternal
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumper.html#__hasOnlyPlainValues-dynamic' target='main' title='__hasOnlyPlainValues'>
#__hasOnlyPlainValues
</a>
<small>
(CUI.ObjectDumper)
</small>
</li>
<li>
<a href='class/CUI/MultiOutput.html#__hideShowElements-dynamic' target='main' title='__hideShowElements'>
#__hideShowElements
</a>
<small>
(CUI.MultiOutput)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#__init-dynamic' target='main' title='__init'>
#__init
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Events.html#__init-static' target='main' title='__init'>
.__init
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#__init-dynamic' target='main' title='__init'>
#__init
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/BorderLayout.html#__init-dynamic' target='main' title='__init'>
#__init
</a>
<small>
(CUI.BorderLayout)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#__init-dynamic' target='main' title='__init'>
#__init
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#__initActiveIdx-dynamic' target='main' title='__initActiveIdx'>
#__initActiveIdx
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__initContentSize-dynamic' target='main' title='__initContentSize'>
#__initContentSize
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#__initDisabled-dynamic' target='main' title='__initDisabled'>
#__initDisabled
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#__initInputs-dynamic' target='main' title='__initInputs'>
#__initInputs
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/KeyboardEvent.html#__initKeyboardListener-static' target='main' title='__initKeyboardListener'>
.__initKeyboardListener
</a>
<small>
(CUI.KeyboardEvent)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__initMap-dynamic' target='main' title='__initMap'>
#__initMap
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#__initPane-dynamic' target='main' title='__initPane'>
#__initPane
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__initShadowInput-dynamic' target='main' title='__initShadowInput'>
#__initShadowInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Button.html#__initTooltip-dynamic' target='main' title='__initTooltip'>
#__initTooltip
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#__initUndo-dynamic' target='main' title='__initUndo'>
#__initUndo
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#__isAlive-dynamic' target='main' title='__isAlive'>
#__isAlive
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__isMaximizedCol-dynamic' target='main' title='__isMaximizedCol'>
#__isMaximizedCol
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#__killTimeout-dynamic' target='main' title='__killTimeout'>
#__killTimeout
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#__loadCSS-dynamic' target='main' title='__loadCSS'>
#__loadCSS
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/Select.html#__loadOptions-dynamic' target='main' title='__loadOptions'>
#__loadOptions
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#__makeList-dynamic' target='main' title='__makeList'>
#__makeList
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#__measureAndSetBodyWidth-dynamic' target='main' title='__measureAndSetBodyWidth'>
#__measureAndSetBodyWidth
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#__notify-dynamic' target='main' title='__notify'>
#__notify
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/FileUploadButton.html#__onClick-dynamic' target='main' title='__onClick'>
#__onClick
</a>
<small>
(CUI.FileUploadButton)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__onMarkerClick-dynamic' target='main' title='__onMarkerClick'>
#__onMarkerClick
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__onMoveEnd-dynamic' target='main' title='__onMoveEnd'>
#__onMoveEnd
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__onReady-dynamic' target='main' title='__onReady'>
#__onReady
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#__open-dynamic' target='main' title='__open'>
#__open
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__openIconPopover-dynamic' target='main' title='__openIconPopover'>
#__openIconPopover
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__openMapPopover-dynamic' target='main' title='__openMapPopover'>
#__openMapPopover
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#__openPopover-dynamic' target='main' title='__openPopover'>
#__openPopover
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__overwriteBlocks-dynamic' target='main' title='__overwriteBlocks'>
#__overwriteBlocks
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#__parseFormat-dynamic' target='main' title='__parseFormat'>
#__parseFormat
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/StickyHeaderControl.html#__positionControl-dynamic' target='main' title='__positionControl'>
#__positionControl
</a>
<small>
(CUI.StickyHeaderControl)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#__preActivateItemByIndex-dynamic' target='main' title='__preActivateItemByIndex'>
#__preActivateItemByIndex
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#__progress-dynamic' target='main' title='__progress'>
#__progress
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#__proxy-dynamic' target='main' title='__proxy'>
#__proxy
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#__register-dynamic' target='main' title='__register'>
#__register
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#__registerDOMEvent-dynamic' target='main' title='__registerDOMEvent'>
#__registerDOMEvent
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#__registerEvents-dynamic' target='main' title='__registerEvents'>
#__registerEvents
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/Events.html#__registerListener-static' target='main' title='__registerListener'>
.__registerListener
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#__reject-dynamic' target='main' title='__reject'>
#__reject
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__removeContentSize-dynamic' target='main' title='__removeContentSize'>
#__removeContentSize
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#__removeDebugDivs-dynamic' target='main' title='__removeDebugDivs'>
#__removeDebugDivs
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#__removeEmptyRows-dynamic' target='main' title='__removeEmptyRows'>
#__removeEmptyRows
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/Map.html#__removeMarker-dynamic' target='main' title='__removeMarker'>
#__removeMarker
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#__removeMarker-dynamic' target='main' title='__removeMarker'>
#__removeMarker
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#__removeMarker-dynamic' target='main' title='__removeMarker'>
#__removeMarker
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#__removeRow-dynamic' target='main' title='__removeRow'>
#__removeRow
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__removeShadowInput-dynamic' target='main' title='__removeShadowInput'>
#__removeShadowInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI.html#__removeTimeout-static' target='main' title='__removeTimeout'>
.__removeTimeout
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#__renderDisplay-dynamic' target='main' title='__renderDisplay'>
#__renderDisplay
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__resetCellDims-dynamic' target='main' title='__resetCellDims'>
#__resetCellDims
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__resetCellStyle-dynamic' target='main' title='__resetCellStyle'>
#__resetCellStyle
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__resetColWidth-dynamic' target='main' title='__resetColWidth'>
#__resetColWidth
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__resetRowDim-dynamic' target='main' title='__resetRowDim'>
#__resetRowDim
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#__resize-dynamic' target='main' title='__resize'>
#__resize
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#__resolve-dynamic' target='main' title='__resolve'>
#__resolve
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#__runOnAllButtons-dynamic' target='main' title='__runOnAllButtons'>
#__runOnAllButtons
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#__runTrigger-dynamic' target='main' title='__runTrigger'>
#__runTrigger
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__scheduleLayout-dynamic' target='main' title='__scheduleLayout'>
#__scheduleLayout
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#__setActiveMarker-dynamic' target='main' title='__setActiveMarker'>
#__setActiveMarker
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#__setClassOnField-dynamic' target='main' title='__setClassOnField'>
#__setClassOnField
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#__setColWidth-dynamic' target='main' title='__setColWidth'>
#__setColWidth
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__setContentSize-dynamic' target='main' title='__setContentSize'>
#__setContentSize
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__setCursor-dynamic' target='main' title='__setCursor'>
#__setCursor
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Options.html#__setDataOnOptions-dynamic' target='main' title='__setDataOnOptions'>
#__setDataOnOptions
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#__setElement-dynamic' target='main' title='__setElement'>
#__setElement
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Button.html#__setIconState-dynamic' target='main' title='__setIconState'>
#__setIconState
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Event.html#__setListener-dynamic' target='main' title='__setListener'>
#__setListener
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__setMargins-dynamic' target='main' title='__setMargins'>
#__setMargins
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Event.html#__setPhase-dynamic' target='main' title='__setPhase'>
#__setPhase
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#__setRowVisibility-dynamic' target='main' title='__setRowVisibility'>
#__setRowVisibility
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__setScrolling-dynamic' target='main' title='__setScrolling'>
#__setScrolling
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#__setSize-dynamic' target='main' title='__setSize'>
#__setSize
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#__setState-dynamic' target='main' title='__setState'>
#__setState
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Button.html#__setState-dynamic' target='main' title='__setState'>
#__setState
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#__setStatus-dynamic' target='main' title='__setStatus'>
#__setStatus
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI.html#__setStorage-static' target='main' title='__setStorage'>
.__setStorage
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Button.html#__setTextState-dynamic' target='main' title='__setTextState'>
#__setTextState
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#__setVisibilityClasses-dynamic' target='main' title='__setVisibilityClasses'>
#__setVisibilityClasses
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__shadowInput-dynamic' target='main' title='__shadowInput'>
#__shadowInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#__startDrag-dynamic' target='main' title='__startDrag'>
#__startDrag
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI.html#__startTimeout-static' target='main' title='__startTimeout'>
.__startTimeout
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#__storeValue-dynamic' target='main' title='__storeValue'>
#__storeValue
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#__syncScrolling-dynamic' target='main' title='__syncScrolling'>
#__syncScrolling
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#__triggerDataChanged-dynamic' target='main' title='__triggerDataChanged'>
#__triggerDataChanged
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Input.html#__unfocusShadowInput-dynamic' target='main' title='__unfocusShadowInput'>
#__unfocusShadowInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#__updateButtons-dynamic' target='main' title='__updateButtons'>
#__updateButtons
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#__updateEmptyInRows-dynamic' target='main' title='__updateEmptyInRows'>
#__updateEmptyInRows
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#__updateGroupsPolylines-dynamic' target='main' title='__updateGroupsPolylines'>
#__updateGroupsPolylines
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#__updateIconOptions-dynamic' target='main' title='__updateIconOptions'>
#__updateIconOptions
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#__updateLayerStackCounter-dynamic' target='main' title='__updateLayerStackCounter'>
#__updateLayerStackCounter
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#__updateView-dynamic' target='main' title='__updateView'>
#__updateView
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#__upload_progress-dynamic' target='main' title='__upload_progress'>
#__upload_progress
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/dom.html#a-static' target='main' title='a'>
.a
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#abort-dynamic' target='main' title='abort'>
#abort
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#abort-dynamic' target='main' title='abort'>
#abort
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#abort-dynamic' target='main' title='abort'>
#abort
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#abortLoading-dynamic' target='main' title='abortLoading'>
#abortLoading
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#accept-dynamic' target='main' title='accept'>
#accept
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#activate-dynamic' target='main' title='activate'>
#activate
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#activate-dynamic' target='main' title='activate'>
#activate
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/Button.html#activate-dynamic' target='main' title='activate'>
#activate
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#activatePreSelectedItem-dynamic' target='main' title='activatePreSelectedItem'>
#activatePreSelectedItem
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#addButton-dynamic' target='main' title='addButton'>
#addButton
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#addChild-dynamic' target='main' title='addChild'>
#addChild
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#addClass-dynamic' target='main' title='addClass'>
#addClass
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#addClass-dynamic' target='main' title='addClass'>
#addClass
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#addClass-dynamic' target='main' title='addClass'>
#addClass
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/dom.html#addClass-static' target='main' title='addClass'>
.addClass
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Template.html#addClass-dynamic' target='main' title='addClass'>
#addClass
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumnRightFill.html#addClass-dynamic' target='main' title='addClass'>
#addClass
</a>
<small>
(CUI.ListViewColumnRightFill)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#addClassToField-dynamic' target='main' title='addClassToField'>
#addClassToField
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#addColumn-dynamic' target='main' title='addColumn'>
#addColumn
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#addLabel-dynamic' target='main' title='addLabel'>
#addLabel
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Map.html#addMarker-dynamic' target='main' title='addMarker'>
#addMarker
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Map.html#addMarkers-dynamic' target='main' title='addMarkers'>
#addMarkers
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchMatch.html#addMatch-dynamic' target='main' title='addMatch'>
#addMatch
</a>
<small>
(CUI.DocumentBrowser.SearchMatch)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#addNode-dynamic' target='main' title='addNode'>
#addNode
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#addNode-dynamic' target='main' title='addNode'>
#addNode
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Element.html#addOpt-dynamic' target='main' title='addOpt'>
#addOpt
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Element.html#addOpts-dynamic' target='main' title='addOpts'>
#addOpts
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#addRow-dynamic' target='main' title='addRow'>
#addRow
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/Table.html#addRow-dynamic' target='main' title='addRow'>
#addRow
</a>
<small>
(CUI.Table)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#addSelectedClass-dynamic' target='main' title='addSelectedClass'>
#addSelectedClass
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/StickyHeaderControl.html#addStickyHeader-dynamic' target='main' title='addStickyHeader'>
#addStickyHeader
</a>
<small>
(CUI.StickyHeaderControl)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#addTab-dynamic' target='main' title='addTab'>
#addTab
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#addWords-dynamic' target='main' title='addWords'>
#addWords
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#addedToListView-dynamic' target='main' title='addedToListView'>
#addedToListView
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#addedToListView-dynamic' target='main' title='addedToListView'>
#addedToListView
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/util.html#alert_dump-static' target='main' title='alert_dump'>
.alert_dump
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#all-static' target='main' title='all'>
.all
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeRowMove.html#allowRowMove-dynamic' target='main' title='allowRowMove'>
#allowRowMove
</a>
<small>
(CUI.ListViewTreeRowMove)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#allowRowMove-dynamic' target='main' title='allowRowMove'>
#allowRowMove
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Event.html#altKey-dynamic' target='main' title='altKey'>
#altKey
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#always-dynamic' target='main' title='always'>
#always
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Promise.html#always-dynamic' target='main' title='always'>
#always
</a>
<small>
(CUI.Promise)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#append-dynamic' target='main' title='append'>
#append
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/dom.html#append-static' target='main' title='append'>
.append
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#append-dynamic' target='main' title='append'>
#append
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#append-dynamic' target='main' title='append'>
#append
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/Template.html#append-dynamic' target='main' title='append'>
#append
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#append-dynamic' target='main' title='append'>
#append
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#appendContent-dynamic' target='main' title='appendContent'>
#appendContent
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#appendContent-dynamic' target='main' title='appendContent'>
#appendContent
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/Block.html#appendContent-dynamic' target='main' title='appendContent'>
#appendContent
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#appendDeferredRows-dynamic' target='main' title='appendDeferredRows'>
#appendDeferredRows
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#appendRow-dynamic' target='main' title='appendRow'>
#appendRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#appendRows-dynamic' target='main' title='appendRows'>
#appendRows
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#appendSibling-dynamic' target='main' title='appendSibling'>
#appendSibling
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI.html#appendToUrl-static' target='main' title='appendToUrl'>
.appendToUrl
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#assert-static' target='main' title='assert'>
.assert
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#assertImplements-static' target='main' title='assertImplements'>
.assertImplements
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#assertInstanceOf-static' target='main' title='assertInstanceOf'>
.assertInstanceOf
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#atou-static' target='main' title='atou'>
.atou
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/dom.html#audio-static' target='main' title='audio'>
.audio
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#autoSize-dynamic' target='main' title='autoSize'>
#autoSize
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/dom.html#b-static' target='main' title='b'>
.b
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#before_drag-dynamic' target='main' title='before_drag'>
#before_drag
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Resizable.html#before_drag-dynamic' target='main' title='before_drag'>
#before_drag
</a>
<small>
(CUI.Resizable)
</small>
</li>
<li>
<a href='class/CUI/Movable.html#before_drag-dynamic' target='main' title='before_drag'>
#before_drag
</a>
<small>
(CUI.Movable)
</small>
</li>
<li>
<a href='class/CUI/InputBlock.html#calcSizes-dynamic' target='main' title='calcSizes'>
#calcSizes
</a>
<small>
(CUI.InputBlock)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#callOnFields-dynamic' target='main' title='callOnFields'>
#callOnFields
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#callOnOthers-dynamic' target='main' title='callOnOthers'>
#callOnOthers
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationChoice.html#cancel-dynamic' target='main' title='cancel'>
#cancel
</a>
<small>
(CUI.ConfirmationChoice)
</small>
</li>
<li>
<a href='class/CUI.html#chainedCall-static' target='main' title='chainedCall'>
.chainedCall
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#checkBatchDone-dynamic' target='main' title='checkBatchDone'>
#checkBatchDone
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Input.html#checkBlocks-dynamic' target='main' title='checkBlocks'>
#checkBlocks
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#checkChanged-dynamic' target='main' title='checkChanged'>
#checkChanged
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Input.html#checkInput-dynamic' target='main' title='checkInput'>
#checkInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#checkInput-dynamic' target='main' title='checkInput'>
#checkInput
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#checkList-dynamic' target='main' title='checkList'>
#checkList
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/Label.html#checkOverflowSize-dynamic' target='main' title='checkOverflowSize'>
#checkOverflowSize
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/Input.html#checkSelectionChange-dynamic' target='main' title='checkSelectionChange'>
#checkSelectionChange
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Output.html#checkValue-dynamic' target='main' title='checkValue'>
#checkValue
</a>
<small>
(CUI.Output)
</small>
</li>
<li>
<a href='class/CUI/Options.html#checkValue-dynamic' target='main' title='checkValue'>
#checkValue
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/Input.html#checkValue-dynamic' target='main' title='checkValue'>
#checkValue
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#checkValue-dynamic' target='main' title='checkValue'>
#checkValue
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#checkValue-dynamic' target='main' title='checkValue'>
#checkValue
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/Select.html#checkValue-dynamic' target='main' title='checkValue'>
#checkValue
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#checkValue-dynamic' target='main' title='checkValue'>
#checkValue
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#checkValue-dynamic' target='main' title='checkValue'>
#checkValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#check_deselect-dynamic' target='main' title='check_deselect'>
#check_deselect
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/dom.html#children-static' target='main' title='children'>
.children
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI.html#chunkWork-static' target='main' title='chunkWork'>
.chunkWork
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI.html#chunkWorkOLD-static' target='main' title='chunkWorkOLD'>
.chunkWorkOLD
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#cleanup_drag-dynamic' target='main' title='cleanup_drag'>
#cleanup_drag
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#cleanup_drag-dynamic' target='main' title='cleanup_drag'>
#cleanup_drag
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#cleanup_drag-dynamic' target='main' title='cleanup_drag'>
#cleanup_drag
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#cleanup_drag-dynamic' target='main' title='cleanup_drag'>
#cleanup_drag
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#clear-dynamic' target='main' title='clear'>
#clear
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Console.html#clear-dynamic' target='main' title='clear'>
#clear
</a>
<small>
(CUI.Console)
</small>
</li>
<li>
<a href='class/CUI.html#clearInterval-static' target='main' title='clearInterval'>
.clearInterval
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI.html#clearLocalStorage-static' target='main' title='clearLocalStorage'>
.clearLocalStorage
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI.html#clearSessionStorage-static' target='main' title='clearSessionStorage'>
.clearSessionStorage
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI.html#clearTimeout-static' target='main' title='clearTimeout'>
.clearTimeout
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#clearTimeout-dynamic' target='main' title='clearTimeout'>
#clearTimeout
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Event.html#clientX-dynamic' target='main' title='clientX'>
#clientX
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Event.html#clientY-dynamic' target='main' title='clientY'>
#clientY
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#close-dynamic' target='main' title='close'>
#close
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#close-dynamic' target='main' title='close'>
#close
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#close-dynamic' target='main' title='close'>
#close
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#closePopover-dynamic' target='main' title='closePopover'>
#closePopover
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#closePopover-dynamic' target='main' title='closePopover'>
#closePopover
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#closeRecursively-dynamic' target='main' title='closeRecursively'>
#closeRecursively
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/dom.html#closest-static' target='main' title='closest'>
.closest
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#closestUntil-static' target='main' title='closestUntil'>
.closestUntil
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#compareIndex-static' target='main' title='compareIndex'>
.compareIndex
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/DataFieldInput.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.DataFieldInput)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/Event.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/DigiDisplay.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.DigiDisplay)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/IconMarker.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.IconMarker)
</small>
</li>
<li>
<a href='class/CUI/FormButton.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.FormButton)
</small>
</li>
<li>
<a href='class/CUI/Block.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/Test.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Test)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumper.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.ObjectDumper)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/Button.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Template.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Options.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/MultilineLabel.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.MultilineLabel)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Input.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Label.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/EmptyLabel.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.EmptyLabel)
</small>
</li>
<li>
<a href='class/CUI/Map.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Icon.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Icon)
</small>
</li>
<li>
<a href='class/CUI/LayerPane.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.LayerPane)
</small>
</li>
<li>
<a href='class/CUI/ButtonHref.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.ButtonHref)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Table.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Table)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/StickyHeaderControl.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.StickyHeaderControl)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/DragDropSelect.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.DragDropSelect)
</small>
</li>
<li>
<a href='class/CUI/StickyHeader.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.StickyHeader)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/Promise.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Promise)
</small>
</li>
<li>
<a href='class/CUI/FileUploadButton.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.FileUploadButton)
</small>
</li>
<li>
<a href='class/CUI/Element.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/Console.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Console)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationChoice.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.ConfirmationChoice)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/Dummy.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.Dummy)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationDialog.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.ConfirmationDialog)
</small>
</li>
<li>
<a href='class/CUI/WaitBlock.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.WaitBlock)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/ProgressMeter.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.ProgressMeter)
</small>
</li>
<li>
<a href='class/CUI/InputBlock.html#constructor-dynamic' target='main' title='constructor'>
#constructor
</a>
<small>
(CUI.InputBlock)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#copy-dynamic' target='main' title='copy'>
#copy
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/Element.html#copy-dynamic' target='main' title='copy'>
#copy
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Icon.html#copy-dynamic' target='main' title='copy'>
#copy
</a>
<small>
(CUI.Icon)
</small>
</li>
<li>
<a href='class/CUI/util.html#copyObject-static' target='main' title='copyObject'>
.copyObject
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#correctValueForInput-dynamic' target='main' title='correctValueForInput'>
#correctValueForInput
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/Input.html#correctValueForInput-dynamic' target='main' title='correctValueForInput'>
#correctValueForInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI.html#countTimeouts-static' target='main' title='countTimeouts'>
.countTimeouts
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Event.html#createFromDOMEvent-static' target='main' title='createFromDOMEvent'>
.createFromDOMEvent
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/DigiDisplay.html#createMarkup-dynamic' target='main' title='createMarkup'>
#createMarkup
</a>
<small>
(CUI.DigiDisplay)
</small>
</li>
<li>
<a href='class/CUI/Event.html#ctrlKey-dynamic' target='main' title='ctrlKey'>
#ctrlKey
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/dom.html#data-static' target='main' title='data'>
.data
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Button.html#deactivate-dynamic' target='main' title='deactivate'>
#deactivate
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#deactivate-dynamic' target='main' title='deactivate'>
#deactivate
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#debug-dynamic' target='main' title='debug'>
#debug
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#debug-dynamic' target='main' title='debug'>
#debug
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#debug-dynamic' target='main' title='debug'>
#debug
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/dom.html#debugRect-static' target='main' title='debugRect'>
.debugRect
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI.html#decodeURIComponentNicely-static' target='main' title='decodeURIComponentNicely'>
.decodeURIComponentNicely
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI.html#decodeUrlData-static' target='main' title='decodeUrlData'>
.decodeUrlData
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI.html#decodeUrlDataArray-static' target='main' title='decodeUrlDataArray'>
.decodeUrlDataArray
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/DateTimeInputBlock.html#decrementBlock-dynamic' target='main' title='decrementBlock'>
#decrementBlock
</a>
<small>
(CUI.DateTimeInputBlock)
</small>
</li>
<li>
<a href='class/CUI/NumberInputBlock.html#decrementBlock-dynamic' target='main' title='decrementBlock'>
#decrementBlock
</a>
<small>
(CUI.NumberInputBlock)
</small>
</li>
<li>
<a href='class/CUI/InputBlock.html#decrementBlock-dynamic' target='main' title='decrementBlock'>
#decrementBlock
</a>
<small>
(CUI.InputBlock)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#dequeue-dynamic' target='main' title='dequeue'>
#dequeue
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#deselect-dynamic' target='main' title='deselect'>
#deselect
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#deselect-dynamic' target='main' title='deselect'>
#deselect
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Button.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Label.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/DataFieldProxy.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.DataFieldProxy)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationChoice.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.ConfirmationChoice)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Template.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/WaitBlock.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.WaitBlock)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/MultiOutput.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.MultiOutput)
</small>
</li>
<li>
<a href='class/CUI/Map.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/DragDropSelect.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.DragDropSelect)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/DragDropSelect.html#destroy-static' target='main' title='destroy'>
.destroy
</a>
<small>
(CUI.DragDropSelect)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/StickyHeaderControl.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.StickyHeaderControl)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/LayerPane.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.LayerPane)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Element.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Input.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#destroy-dynamic' target='main' title='destroy'>
#destroy
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/Button.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/Input.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Select.html#disable-dynamic' target='main' title='disable'>
#disable
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#disableAllButtons-dynamic' target='main' title='disableAllButtons'>
#disableAllButtons
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/Select.html#disableOption-dynamic' target='main' title='disableOption'>
#disableOption
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/Options.html#disableOption-dynamic' target='main' title='disableOption'>
#disableOption
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/Event.html#dispatch-dynamic' target='main' title='dispatch'>
#dispatch
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#display-static' target='main' title='display'>
.display
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/DigiDisplay.html#display-dynamic' target='main' title='display'>
#display
</a>
<small>
(CUI.DigiDisplay)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Options.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/OutputContent.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.OutputContent)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/Input.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/Output.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.Output)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Select.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#displayValue-dynamic' target='main' title='displayValue'>
#displayValue
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/dom.html#div-static' target='main' title='div'>
.div
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#doCancel-dynamic' target='main' title='doCancel'>
#doCancel
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#doCancel-dynamic' target='main' title='doCancel'>
#doCancel
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#do_drag-dynamic' target='main' title='do_drag'>
#do_drag
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#do_drag-dynamic' target='main' title='do_drag'>
#do_drag
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/Resizable.html#do_drag-dynamic' target='main' title='do_drag'>
#do_drag
</a>
<small>
(CUI.Resizable)
</small>
</li>
<li>
<a href='class/CUI/Movable.html#do_drag-dynamic' target='main' title='do_drag'>
#do_drag
</a>
<small>
(CUI.Movable)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#do_drag-dynamic' target='main' title='do_drag'>
#do_drag
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#do_drag-dynamic' target='main' title='do_drag'>
#do_drag
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/Dragscroll.html#do_drag-dynamic' target='main' title='do_drag'>
#do_drag
</a>
<small>
(CUI.Dragscroll)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#do_drag-dynamic' target='main' title='do_drag'>
#do_drag
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#done-dynamic' target='main' title='done'>
#done
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Promise.html#done-dynamic' target='main' title='done'>
#done
</a>
<small>
(CUI.Promise)
</small>
</li>
<li>
<a href='class/CUI.html#downloadData-static' target='main' title='downloadData'>
.downloadData
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#drawDate-dynamic' target='main' title='drawDate'>
#drawDate
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#drawMonthTable-dynamic' target='main' title='drawMonthTable'>
#drawMonthTable
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#drawYearMonthsSelect-dynamic' target='main' title='drawYearMonthsSelect'>
#drawYearMonthsSelect
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#dump-dynamic' target='main' title='dump'>
#dump
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Event.html#dump-dynamic' target='main' title='dump'>
#dump
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Events.html#dump-static' target='main' title='dump'>
.dump
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/KeyboardEvent.html#dump-dynamic' target='main' title='dump'>
#dump
</a>
<small>
(CUI.KeyboardEvent)
</small>
</li>
<li>
<a href='class/CUI/util.html#dump-static' target='main' title='dump'>
.dump
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/WheelEvent.html#dump-dynamic' target='main' title='dump'>
#dump
</a>
<small>
(CUI.WheelEvent)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#dumpString-dynamic' target='main' title='dumpString'>
#dumpString
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Events.html#dumpTopLevel-static' target='main' title='dumpTopLevel'>
.dumpTopLevel
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/dom.html#element-static' target='main' title='element'>
.element
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#elementGetPosition-static' target='main' title='elementGetPosition'>
.elementGetPosition
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/dom.html#elementsUntil-static' target='main' title='elementsUntil'>
.elementsUntil
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#empty-static' target='main' title='empty'>
.empty
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#empty-dynamic' target='main' title='empty'>
#empty
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#empty-dynamic' target='main' title='empty'>
#empty
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Template.html#empty-dynamic' target='main' title='empty'>
#empty
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#empty-dynamic' target='main' title='empty'>
#empty
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/Button.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/Input.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Select.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#enable-dynamic' target='main' title='enable'>
#enable
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#enableAllButtons-dynamic' target='main' title='enableAllButtons'>
#enableAllButtons
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/Select.html#enableOption-dynamic' target='main' title='enableOption'>
#enableOption
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/Options.html#enableOption-dynamic' target='main' title='enableOption'>
#enableOption
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#encloseSelection-dynamic' target='main' title='encloseSelection'>
#encloseSelection
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI.html#encodeURIComponentNicely-static' target='main' title='encodeURIComponentNicely'>
.encodeURIComponentNicely
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI.html#encodeUrlData-static' target='main' title='encodeUrlData'>
.encodeUrlData
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#endFillScreen-dynamic' target='main' title='endFillScreen'>
#endFillScreen
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#end_drag-dynamic' target='main' title='end_drag'>
#end_drag
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#end_drag-dynamic' target='main' title='end_drag'>
#end_drag
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#end_drag-dynamic' target='main' title='end_drag'>
#end_drag
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#end_drag-dynamic' target='main' title='end_drag'>
#end_drag
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#end_drag-dynamic' target='main' title='end_drag'>
#end_drag
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/Input.html#enterInput-dynamic' target='main' title='enterInput'>
#enterInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Test.html#eq-dynamic' target='main' title='eq'>
#eq
</a>
<small>
(CUI.Test)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#escape-static' target='main' title='escape'>
.escape
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI.html#escapeAttribute-static' target='main' title='escapeAttribute'>
.escapeAttribute
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#escapeRegExp-static' target='main' title='escapeRegExp'>
.escapeRegExp
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI.html#evalCode-static' target='main' title='evalCode'>
.evalCode
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/dom.html#exitFullscreen-static' target='main' title='exitFullscreen'>
.exitFullscreen
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Promise.html#fail-dynamic' target='main' title='fail'>
#fail
</a>
<small>
(CUI.Promise)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#fail-dynamic' target='main' title='fail'>
#fail
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#fillContent-dynamic' target='main' title='fillContent'>
#fillContent
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#filter-dynamic' target='main' title='filter'>
#filter
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#find-dynamic' target='main' title='find'>
#find
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/dom.html#find-static' target='main' title='find'>
.find
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Input.html#findBlock-dynamic' target='main' title='findBlock'>
#findBlock
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/dom.html#findElement-static' target='main' title='findElement'>
.findElement
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#findElements-static' target='main' title='findElements'>
.findElements
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#findInArray-static' target='main' title='findInArray'>
.findInArray
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/dom.html#findNextElement-static' target='main' title='findNextElement'>
.findNextElement
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#findNextSiblings-static' target='main' title='findNextSiblings'>
.findNextSiblings
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#findNextVisibleElement-static' target='main' title='findNextVisibleElement'>
.findNextVisibleElement
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#findPreviousElement-static' target='main' title='findPreviousElement'>
.findPreviousElement
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#findPreviousSiblings-static' target='main' title='findPreviousSiblings'>
.findPreviousSiblings
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#findPreviousVisibleElement-static' target='main' title='findPreviousVisibleElement'>
.findPreviousVisibleElement
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#findTextInNodes-static' target='main' title='findTextInNodes'>
.findTextInNodes
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#firstElementChild-static' target='main' title='firstElementChild'>
.firstElementChild
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#focus-dynamic' target='main' title='focus'>
#focus
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/Input.html#focus-dynamic' target='main' title='focus'>
#focus
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#focusOnHide-dynamic' target='main' title='focusOnHide'>
#focusOnHide
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#focusOnHide-dynamic' target='main' title='focusOnHide'>
#focusOnHide
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#focusOnShow-dynamic' target='main' title='focusOnShow'>
#focusOnShow
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#focusOnShow-dynamic' target='main' title='focusOnShow'>
#focusOnShow
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#focusOnShow-dynamic' target='main' title='focusOnShow'>
#focusOnShow
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/Popover.html#forceFocusOnShow-dynamic' target='main' title='forceFocusOnShow'>
#forceFocusOnShow
</a>
<small>
(CUI.Popover)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#forceFocusOnShow-dynamic' target='main' title='forceFocusOnShow'>
#forceFocusOnShow
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#forceFocusOnShow-dynamic' target='main' title='forceFocusOnShow'>
#forceFocusOnShow
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#forceFooter-dynamic' target='main' title='forceFooter'>
#forceFooter
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#forceFooter-dynamic' target='main' title='forceFooter'>
#forceFooter
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#forceHeader-dynamic' target='main' title='forceHeader'>
#forceHeader
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#forceHeader-dynamic' target='main' title='forceHeader'>
#forceHeader
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#format-dynamic' target='main' title='format'>
#format
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#format-static' target='main' title='format'>
.format
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#format-static' target='main' title='format'>
.format
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/util.html#formatCoordinates-static' target='main' title='formatCoordinates'>
.formatCoordinates
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#formatMoment-static' target='main' title='formatMoment'>
.formatMoment
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#formatMomentWithBc-static' target='main' title='formatMomentWithBc'>
.formatMomentWithBc
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#formatValueForDisplay-dynamic' target='main' title='formatValueForDisplay'>
#formatValueForDisplay
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/dom.html#fullscreenElement-static' target='main' title='fullscreenElement'>
.fullscreenElement
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#fullscreenEnabled-static' target='main' title='fullscreenEnabled'>
.fullscreenEnabled
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#get-dynamic' target='main' title='get'>
#get
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Template.html#get-dynamic' target='main' title='get'>
#get
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/CSSLoader.html#getActiveCSS-dynamic' target='main' title='getActiveCSS'>
#getActiveCSS
</a>
<small>
(CUI.CSSLoader)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#getActiveIdx-dynamic' target='main' title='getActiveIdx'>
#getActiveIdx
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#getActiveTab-dynamic' target='main' title='getActiveTab'>
#getActiveTab
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getAllDataFields-dynamic' target='main' title='getAllDataFields'>
#getAllDataFields
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#getAllResponseHeaders-dynamic' target='main' title='getAllResponseHeaders'>
#getAllResponseHeaders
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/IconMarker.html#getAnchor-dynamic' target='main' title='getAnchor'>
#getAnchor
</a>
<small>
(CUI.IconMarker)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getArrayFromOpt-dynamic' target='main' title='getArrayFromOpt'>
#getArrayFromOpt
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getAttribute-static' target='main' title='getAttribute'>
.getAttribute
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#getAttrs-dynamic' target='main' title='getAttrs'>
#getAttrs
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getBatch-dynamic' target='main' title='getBatch'>
#getBatch
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#getBody-dynamic' target='main' title='getBody'>
#getBody
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#getBody-dynamic' target='main' title='getBody'>
#getBody
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getBottom-dynamic' target='main' title='getBottom'>
#getBottom
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getBoxSizing-static' target='main' title='getBoxSizing'>
.getBoxSizing
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#getButton-dynamic' target='main' title='getButton'>
#getButton
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#getButton-dynamic' target='main' title='getButton'>
#getButton
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#getButton-dynamic' target='main' title='getButton'>
#getButton
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getButton-dynamic' target='main' title='getButton'>
#getButton
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#getButton-dynamic' target='main' title='getButton'>
#getButton
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#getButtonOpts-dynamic' target='main' title='getButtonOpts'>
#getButtonOpts
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/FormButton.html#getButtonOpts-dynamic' target='main' title='getButtonOpts'>
#getButtonOpts
</a>
<small>
(CUI.FormButton)
</small>
</li>
<li>
<a href='class/CUI/Select.html#getButtonOpts-dynamic' target='main' title='getButtonOpts'>
#getButtonOpts
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#getButtonbar-dynamic' target='main' title='getButtonbar'>
#getButtonbar
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationDialog.html#getButtons-dynamic' target='main' title='getButtons'>
#getButtons
</a>
<small>
(CUI.ConfirmationDialog)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getCSSFloatValue-static' target='main' title='getCSSFloatValue'>
.getCSSFloatValue
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getCellByTarget-dynamic' target='main' title='getCellByTarget'>
#getCellByTarget
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getCellGridRect-dynamic' target='main' title='getCellGridRect'>
#getCellGridRect
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Map.html#getCenter-dynamic' target='main' title='getCenter'>
#getCenter
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getCenter-dynamic' target='main' title='getCenter'>
#getCenter
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#getCenter-dynamic' target='main' title='getCenter'>
#getCenter
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getChangedMarker-dynamic' target='main' title='getChangedMarker'>
#getChangedMarker
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getCheckChangedValue-dynamic' target='main' title='getCheckChangedValue'>
#getCheckChangedValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getCheckbox-dynamic' target='main' title='getCheckbox'>
#getCheckbox
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/FormButton.html#getCheckboxClass-dynamic' target='main' title='getCheckboxClass'>
#getCheckboxClass
</a>
<small>
(CUI.FormButton)
</small>
</li>
<li>
<a href='class/CUI/Select.html#getCheckboxClass-dynamic' target='main' title='getCheckboxClass'>
#getCheckboxClass
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#getCheckboxClass-dynamic' target='main' title='getCheckboxClass'>
#getCheckboxClass
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getChildIdx-dynamic' target='main' title='getChildIdx'>
#getChildIdx
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#getChildren-dynamic' target='main' title='getChildren'>
#getChildren
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#getClass-dynamic' target='main' title='getClass'>
#getClass
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#getClass-dynamic' target='main' title='getClass'>
#getClass
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#getClass-dynamic' target='main' title='getClass'>
#getClass
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getClass-dynamic' target='main' title='getClass'>
#getClass
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/DragDropSelect.html#getClass-dynamic' target='main' title='getClass'>
#getClass
</a>
<small>
(CUI.DragDropSelect)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#getClass-dynamic' target='main' title='getClass'>
#getClass
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#getClass-dynamic' target='main' title='getClass'>
#getClass
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#getCloneSourceForHelper-dynamic' target='main' title='getCloneSourceForHelper'>
#getCloneSourceForHelper
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#getCloneSourceForHelper-dynamic' target='main' title='getCloneSourceForHelper'>
#getCloneSourceForHelper
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getColIdx-dynamic' target='main' title='getColIdx'>
#getColIdx
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getColWidth-dynamic' target='main' title='getColWidth'>
#getColWidth
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getColdef-dynamic' target='main' title='getColdef'>
#getColdef
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getColsCount-dynamic' target='main' title='getColsCount'>
#getColsCount
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#getColspan-dynamic' target='main' title='getColspan'>
#getColspan
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getColspan-dynamic' target='main' title='getColspan'>
#getColspan
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#getColumnIdx-dynamic' target='main' title='getColumnIdx'>
#getColumnIdx
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#getColumns-dynamic' target='main' title='getColumns'>
#getColumns
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getComputedStyle-static' target='main' title='getComputedStyle'>
.getComputedStyle
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Block.html#getContent-dynamic' target='main' title='getContent'>
#getContent
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/util.html#getCoordinatesFromEvent-static' target='main' title='getCoordinatesFromEvent'>
.getCoordinatesFromEvent
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/DragoverScrollEvent.html#getCount-dynamic' target='main' title='getCount'>
#getCount
</a>
<small>
(CUI.DragoverScrollEvent)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#getCurrentFormat-dynamic' target='main' title='getCurrentFormat'>
#getCurrentFormat
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#getCurrentFormatDisplay-dynamic' target='main' title='getCurrentFormatDisplay'>
#getCurrentFormatDisplay
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getCurrentTarget-dynamic' target='main' title='getCurrentTarget'>
#getCurrentTarget
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#getCursor-dynamic' target='main' title='getCursor'>
#getCursor
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#getCursor-dynamic' target='main' title='getCursor'>
#getCursor
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getCursorBlocks-dynamic' target='main' title='getCursorBlocks'>
#getCursorBlocks
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#getDOMElementClasses-dynamic' target='main' title='getDOMElementClasses'>
#getDOMElementClasses
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#getDOMNodes-dynamic' target='main' title='getDOMNodes'>
#getDOMNodes
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#getData-dynamic' target='main' title='getData'>
#getData
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getData-dynamic' target='main' title='getData'>
#getData
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getData-dynamic' target='main' title='getData'>
#getData
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#getData-dynamic' target='main' title='getData'>
#getData
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getDataFields-dynamic' target='main' title='getDataFields'>
#getDataFields
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#getDataRowIdx-dynamic' target='main' title='getDataRowIdx'>
#getDataRowIdx
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#getDataTable-dynamic' target='main' title='getDataTable'>
#getDataTable
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#getDateTimeDrawer-dynamic' target='main' title='getDateTimeDrawer'>
#getDateTimeDrawer
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getDebug-dynamic' target='main' title='getDebug'>
#getDebug
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#getDefaultDisplayFormat-static' target='main' title='getDefaultDisplayFormat'>
.getDefaultDisplayFormat
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#getDefaultValue-dynamic' target='main' title='getDefaultValue'>
#getDefaultValue
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/Options.html#getDefaultValue-dynamic' target='main' title='getDefaultValue'>
#getDefaultValue
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getDefaultValue-dynamic' target='main' title='getDefaultValue'>
#getDefaultValue
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getDefaultValue-dynamic' target='main' title='getDefaultValue'>
#getDefaultValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#getDefaultValue-dynamic' target='main' title='getDefaultValue'>
#getDefaultValue
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/Select.html#getDefaultValue-dynamic' target='main' title='getDefaultValue'>
#getDefaultValue
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#getDefaultValue-dynamic' target='main' title='getDefaultValue'>
#getDefaultValue
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#getDefaultValue-dynamic' target='main' title='getDefaultValue'>
#getDefaultValue
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#getDepthFromLastMatchedEvent-dynamic' target='main' title='getDepthFromLastMatchedEvent'>
#getDepthFromLastMatchedEvent
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#getDigiDisplay-dynamic' target='main' title='getDigiDisplay'>
#getDigiDisplay
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getDimension-static' target='main' title='getDimension'>
.getDimension
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getDimensions-static' target='main' title='getDimensions'>
.getDimensions
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getDisplayColIdx-dynamic' target='main' title='getDisplayColIdx'>
#getDisplayColIdx
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#getDisplayRowIdx-dynamic' target='main' title='getDisplayRowIdx'>
#getDisplayRowIdx
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getDisplayRowIdx-dynamic' target='main' title='getDisplayRowIdx'>
#getDisplayRowIdx
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Template.html#getElMap-dynamic' target='main' title='getElMap'>
#getElMap
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#getElement-dynamic' target='main' title='getElement'>
#getElement
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getElement-dynamic' target='main' title='getElement'>
#getElement
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#getElement-dynamic' target='main' title='getElement'>
#getElement
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getElement-dynamic' target='main' title='getElement'>
#getElement
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Element.html#getElementClass-dynamic' target='main' title='getElementClass'>
#getElementClass
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#getElementForLayer-dynamic' target='main' title='getElementForLayer'>
#getElementForLayer
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getElementForLayer-dynamic' target='main' title='getElementForLayer'>
#getElementForLayer
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#getElementOpenClass-dynamic' target='main' title='getElementOpenClass'>
#getElementOpenClass
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#getElementOpenClass-dynamic' target='main' title='getElementOpenClass'>
#getElementOpenClass
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getError-dynamic' target='main' title='getError'>
#getError
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getErrorXHR-dynamic' target='main' title='getErrorXHR'>
#getErrorXHR
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/Events.html#getEventType-static' target='main' title='getEventType'>
.getEventType
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/Events.html#getEventTypeAliases-static' target='main' title='getEventTypeAliases'>
.getEventTypeAliases
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getFather-dynamic' target='main' title='getFather'>
#getFather
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getFieldByIdx-dynamic' target='main' title='getFieldByIdx'>
#getFieldByIdx
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#getFieldByIdx-dynamic' target='main' title='getFieldByIdx'>
#getFieldByIdx
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#getFieldList-dynamic' target='main' title='getFieldList'>
#getFieldList
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#getFieldOpts-dynamic' target='main' title='getFieldOpts'>
#getFieldOpts
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#getFieldOpts-dynamic' target='main' title='getFieldOpts'>
#getFieldOpts
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#getFields-dynamic' target='main' title='getFields'>
#getFields
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#getFields-dynamic' target='main' title='getFields'>
#getFields
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getFields-dynamic' target='main' title='getFields'>
#getFields
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/DataFieldProxy.html#getFields-dynamic' target='main' title='getFields'>
#getFields
</a>
<small>
(CUI.DataFieldProxy)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#getFieldsByName-dynamic' target='main' title='getFieldsByName'>
#getFieldsByName
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getFieldsByName-dynamic' target='main' title='getFieldsByName'>
#getFieldsByName
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#getFieldsByName-dynamic' target='main' title='getFieldsByName'>
#getFieldsByName
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getFile-dynamic' target='main' title='getFile'>
#getFile
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getFileUpload-dynamic' target='main' title='getFileUpload'>
#getFileUpload
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#getFiles-dynamic' target='main' title='getFiles'>
#getFiles
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#getFillScreenState-dynamic' target='main' title='getFillScreenState'>
#getFillScreenState
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/Template.html#getFlexHandle-dynamic' target='main' title='getFlexHandle'>
#getFlexHandle
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#getFlexHandle-dynamic' target='main' title='getFlexHandle'>
#getFlexHandle
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Template.html#getFlexHandles-dynamic' target='main' title='getFlexHandles'>
#getFlexHandles
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/util.html#getFloat-static' target='main' title='getFloat'>
.getFloat
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#getFooter-dynamic' target='main' title='getFooter'>
#getFooter
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#getForm-dynamic' target='main' title='getForm'>
#getForm
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getForm-dynamic' target='main' title='getForm'>
#getForm
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getFormDepth-dynamic' target='main' title='getFormDepth'>
#getFormDepth
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getFormPath-dynamic' target='main' title='getFormPath'>
#getFormPath
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getGrid-dynamic' target='main' title='getGrid'>
#getGrid
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/DataFieldInput.html#getGroup-dynamic' target='main' title='getGroup'>
#getGroup
</a>
<small>
(CUI.DataFieldInput)
</small>
</li>
<li>
<a href='class/CUI/Label.html#getGroup-dynamic' target='main' title='getGroup'>
#getGroup
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getGroup-dynamic' target='main' title='getGroup'>
#getGroup
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#getGroup-dynamic' target='main' title='getGroup'>
#getGroup
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getGroupButtons-dynamic' target='main' title='getGroupButtons'>
#getGroupButtons
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#getHandle-dynamic' target='main' title='getHandle'>
#getHandle
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#getHandle-dynamic' target='main' title='getHandle'>
#getHandle
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Block.html#getHeader-dynamic' target='main' title='getHeader'>
#getHeader
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchMatch.html#getHighlighted-dynamic' target='main' title='getHighlighted'>
#getHighlighted
</a>
<small>
(CUI.DocumentBrowser.SearchMatch)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getIcon-dynamic' target='main' title='getIcon'>
#getIcon
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getIconRight-dynamic' target='main' title='getIconRight'>
#getIconRight
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getImage-dynamic' target='main' title='getImage'>
#getImage
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#getInfo-dynamic' target='main' title='getInfo'>
#getInfo
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getInfo-dynamic' target='main' title='getInfo'>
#getInfo
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getInfo-dynamic' target='main' title='getInfo'>
#getInfo
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#getInfoFromData-dynamic' target='main' title='getInfoFromData'>
#getInfoFromData
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#getInfoWindow-static' target='main' title='getInfoWindow'>
.getInfoWindow
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getInitValue-dynamic' target='main' title='getInitValue'>
#getInitValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getInputBlocks-dynamic' target='main' title='getInputBlocks'>
#getInputBlocks
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getInputState-dynamic' target='main' title='getInputState'>
#getInputState
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#getInstance-dynamic' target='main' title='getInstance'>
#getInstance
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/DragDropSelect.html#getInstance-static' target='main' title='getInstance'>
.getInstance
</a>
<small>
(CUI.DragDropSelect)
</small>
</li>
<li>
<a href='class/CUI/util.html#getInt-static' target='main' title='getInt'>
.getInt
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#getIntOrString-static' target='main' title='getIntOrString'>
.getIntOrString
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#getItemByValue-dynamic' target='main' title='getItemByValue'>
#getItemByValue
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#getItemList-dynamic' target='main' title='getItemList'>
#getItemList
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#getItems-dynamic' target='main' title='getItems'>
#getItems
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/KeyboardEvent.html#getKeyboard-dynamic' target='main' title='getKeyboard'>
#getKeyboard
</a>
<small>
(CUI.KeyboardEvent)
</small>
</li>
<li>
<a href='class/CUI/KeyboardEvent.html#getKeyboardKey-dynamic' target='main' title='getKeyboardKey'>
#getKeyboardKey
</a>
<small>
(CUI.KeyboardEvent)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#getKeys-dynamic' target='main' title='getKeys'>
#getKeys
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#getLabel-dynamic' target='main' title='getLabel'>
#getLabel
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getLabel-dynamic' target='main' title='getLabel'>
#getLabel
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getLastValue-dynamic' target='main' title='getLastValue'>
#getLastValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#getLayer-dynamic' target='main' title='getLayer'>
#getLayer
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#getLayerRoot-dynamic' target='main' title='getLayerRoot'>
#getLayerRoot
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#getLayout-dynamic' target='main' title='getLayout'>
#getLayout
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Form.html#getLayout-dynamic' target='main' title='getLayout'>
#getLayout
</a>
<small>
(CUI.Form)
</small>
</li>
<li>
<a href='class/CUI/StickyHeader.html#getLevel-dynamic' target='main' title='getLevel'>
#getLevel
</a>
<small>
(CUI.StickyHeader)
</small>
</li>
<li>
<a href='class/CUI/Movable.html#getLimitRect-dynamic' target='main' title='getLimitRect'>
#getLimitRect
</a>
<small>
(CUI.Movable)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#getListView-dynamic' target='main' title='getListView'>
#getListView
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getListViewClass-dynamic' target='main' title='getListViewClass'>
#getListViewClass
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getListViewRow-dynamic' target='main' title='getListViewRow'>
#getListViewRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getLoading-dynamic' target='main' title='getLoading'>
#getLoading
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI.html#getLocalStorage-static' target='main' title='getLocalStorage'>
.getLocalStorage
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getLog-dynamic' target='main' title='getLog'>
#getLog
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getManualColWidth-dynamic' target='main' title='getManualColWidth'>
#getManualColWidth
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/VerticalLayout.html#getMapPrefix-dynamic' target='main' title='getMapPrefix'>
#getMapPrefix
</a>
<small>
(CUI.VerticalLayout)
</small>
</li>
<li>
<a href='class/CUI/HorizontalLayout.html#getMapPrefix-dynamic' target='main' title='getMapPrefix'>
#getMapPrefix
</a>
<small>
(CUI.HorizontalLayout)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#getMapPrefix-dynamic' target='main' title='getMapPrefix'>
#getMapPrefix
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getMarkedBlock-dynamic' target='main' title='getMarkedBlock'>
#getMarkedBlock
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchMatch.html#getMatches-dynamic' target='main' title='getMatches'>
#getMatches
</a>
<small>
(CUI.DocumentBrowser.SearchMatch)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#getMaxColumnCount-dynamic' target='main' title='getMaxColumnCount'>
#getMaxColumnCount
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getMenu-dynamic' target='main' title='getMenu'>
#getMenu
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getMenuRootButton-dynamic' target='main' title='getMenuRootButton'>
#getMenuRootButton
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ProgressMeter.html#getMeter-dynamic' target='main' title='getMeter'>
#getMeter
</a>
<small>
(CUI.ProgressMeter)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getModifiers-dynamic' target='main' title='getModifiers'>
#getModifiers
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getName-dynamic' target='main' title='getName'>
#getName
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/BorderLayout.html#getName-dynamic' target='main' title='getName'>
#getName
</a>
<small>
(CUI.BorderLayout)
</small>
</li>
<li>
<a href='class/CUI/HorizontalLayout.html#getName-dynamic' target='main' title='getName'>
#getName
</a>
<small>
(CUI.HorizontalLayout)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getName-dynamic' target='main' title='getName'>
#getName
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#getName-dynamic' target='main' title='getName'>
#getName
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/VerticalLayout.html#getName-dynamic' target='main' title='getName'>
#getName
</a>
<small>
(CUI.VerticalLayout)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#getName-dynamic' target='main' title='getName'>
#getName
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getNameOpt-dynamic' target='main' title='getNameOpt'>
#getNameOpt
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getNameOpt-dynamic' target='main' title='getNameOpt'>
#getNameOpt
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getNativeEvent-dynamic' target='main' title='getNativeEvent'>
#getNativeEvent
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getNode-dynamic' target='main' title='getNode'>
#getNode
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getNode-static' target='main' title='getNode'>
.getNode
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#getNode-dynamic' target='main' title='getNode'>
#getNode
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getNodeId-dynamic' target='main' title='getNodeId'>
#getNodeId
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#getNodesForMove-dynamic' target='main' title='getNodesForMove'>
#getNodesForMove
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#getNodesFromData-dynamic' target='main' title='getNodesFromData'>
#getNodesFromData
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/util.html#getObjectClass-static' target='main' title='getObjectClass'>
.getObjectClass
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getOpenChildNodes-dynamic' target='main' title='getOpenChildNodes'>
#getOpenChildNodes
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Element.html#getOpt-dynamic' target='main' title='getOpt'>
#getOpt
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Element.html#getOptKeys-static' target='main' title='getOptKeys'>
.getOptKeys
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#getOptValue-dynamic' target='main' title='getOptValue'>
#getOptValue
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#getOptValueUnchecked-dynamic' target='main' title='getOptValueUnchecked'>
#getOptValueUnchecked
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/Options.html#getOptions-dynamic' target='main' title='getOptions'>
#getOptions
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/Select.html#getOptions-dynamic' target='main' title='getOptions'>
#getOptions
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/Element.html#getOpts-dynamic' target='main' title='getOpts'>
#getOpts
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/DragoverScrollEvent.html#getOriginalEvent-dynamic' target='main' title='getOriginalEvent'>
#getOriginalEvent
</a>
<small>
(CUI.DragoverScrollEvent)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getOtherField-dynamic' target='main' title='getOtherField'>
#getOtherField
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/LayerPane.html#getPane-dynamic' target='main' title='getPane'>
#getPane
</a>
<small>
(CUI.LayerPane)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#getPane-dynamic' target='main' title='getPane'>
#getPane
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#getPaneAndKey-dynamic' target='main' title='getPaneAndKey'>
#getPaneAndKey
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/HorizontalLayout.html#getPanes-dynamic' target='main' title='getPanes'>
#getPanes
</a>
<small>
(CUI.HorizontalLayout)
</small>
</li>
<li>
<a href='class/CUI/VerticalLayout.html#getPanes-dynamic' target='main' title='getPanes'>
#getPanes
</a>
<small>
(CUI.VerticalLayout)
</small>
</li>
<li>
<a href='class/CUI/BorderLayout.html#getPanes-dynamic' target='main' title='getPanes'>
#getPanes
</a>
<small>
(CUI.BorderLayout)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#getPanes-dynamic' target='main' title='getPanes'>
#getPanes
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Toolbar.html#getPanes-dynamic' target='main' title='getPanes'>
#getPanes
</a>
<small>
(CUI.Toolbar)
</small>
</li>
<li>
<a href='class/CUI.html#getParameterByName-static' target='main' title='getParameterByName'>
.getParameterByName
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getParentData-dynamic' target='main' title='getParentData'>
#getParentData
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getPath-dynamic' target='main' title='getPath'>
#getPath
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI.html#getPathToScript-static' target='main' title='getPathToScript'>
.getPathToScript
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getPercent-dynamic' target='main' title='getPercent'>
#getPercent
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getPhase-dynamic' target='main' title='getPhase'>
#getPhase
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getPlaceholder-dynamic' target='main' title='getPlaceholder'>
#getPlaceholder
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getPointTarget-dynamic' target='main' title='getPointTarget'>
#getPointTarget
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#getPopover-dynamic' target='main' title='getPopover'>
#getPopover
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#getPopoverOpts-dynamic' target='main' title='getPopoverOpts'>
#getPopoverOpts
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#getPopoverOpts-dynamic' target='main' title='getPopoverOpts'>
#getPopoverOpts
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#getPreferredKey-dynamic' target='main' title='getPreferredKey'>
#getPreferredKey
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#getPreview-dynamic' target='main' title='getPreview'>
#getPreview
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getProgress-dynamic' target='main' title='getProgress'>
#getProgress
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getPromise-dynamic' target='main' title='getPromise'>
#getPromise
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getRadioButtons-dynamic' target='main' title='getRadioButtons'>
#getRadioButtons
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getRangeFromCursor-dynamic' target='main' title='getRangeFromCursor'>
#getRangeFromCursor
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getRect-static' target='main' title='getRect'>
.getRect
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchQuery.html#getRegExps-dynamic' target='main' title='getRegExps'>
#getRegExps
</a>
<small>
(CUI.DocumentBrowser.SearchQuery)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getRelativeOffset-static' target='main' title='getRelativeOffset'>
.getRelativeOffset
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#getRelativePosition-static' target='main' title='getRelativePosition'>
.getRelativePosition
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Resizable.html#getResizePos-dynamic' target='main' title='getResizePos'>
#getResizePos
</a>
<small>
(CUI.Resizable)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#getResponseHeader-dynamic' target='main' title='getResponseHeader'>
#getResponseHeader
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#getResponseHeaders-dynamic' target='main' title='getResponseHeaders'>
#getResponseHeaders
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#getResult-dynamic' target='main' title='getResult'>
#getResult
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getRoot-dynamic' target='main' title='getRoot'>
#getRoot
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#getRootChildren-dynamic' target='main' title='getRootChildren'>
#getRootChildren
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getRootForm-dynamic' target='main' title='getRootForm'>
#getRootForm
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#getRootNode-dynamic' target='main' title='getRootNode'>
#getRootNode
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getRow-dynamic' target='main' title='getRow'>
#getRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#getRow-dynamic' target='main' title='getRow'>
#getRow
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#getRow-dynamic' target='main' title='getRow'>
#getRow
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getRowGridRect-dynamic' target='main' title='getRowGridRect'>
#getRowGridRect
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getRowHeight-dynamic' target='main' title='getRowHeight'>
#getRowHeight
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#getRowIdx-dynamic' target='main' title='getRowIdx'>
#getRowIdx
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getRowIdx-dynamic' target='main' title='getRowIdx'>
#getRowIdx
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#getRowMoveTool-dynamic' target='main' title='getRowMoveTool'>
#getRowMoveTool
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getRowMoveTool-dynamic' target='main' title='getRowMoveTool'>
#getRowMoveTool
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#getRows-dynamic' target='main' title='getRows'>
#getRows
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#getRowsCount-dynamic' target='main' title='getRowsCount'>
#getRowsCount
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getRowsToMove-dynamic' target='main' title='getRowsToMove'>
#getRowsToMove
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getScrollingContainer-dynamic' target='main' title='getScrollingContainer'>
#getScrollingContainer
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchQuery.html#getSearch-dynamic' target='main' title='getSearch'>
#getSearch
</a>
<small>
(CUI.DocumentBrowser.SearchQuery)
</small>
</li>
<li>
<a href='class/CUI/Map.html#getSelectedMarkerPosition-dynamic' target='main' title='getSelectedMarkerPosition'>
#getSelectedMarkerPosition
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#getSelectedMarkerPosition-dynamic' target='main' title='getSelectedMarkerPosition'>
#getSelectedMarkerPosition
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#getSelectedMarkerPosition-dynamic' target='main' title='getSelectedMarkerPosition'>
#getSelectedMarkerPosition
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#getSelectedNode-dynamic' target='main' title='getSelectedNode'>
#getSelectedNode
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getSelectedNode-dynamic' target='main' title='getSelectedNode'>
#getSelectedNode
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getSelectedNodeKey-dynamic' target='main' title='getSelectedNodeKey'>
#getSelectedNodeKey
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getSelectedRows-dynamic' target='main' title='getSelectedRows'>
#getSelectedRows
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getSelection-dynamic' target='main' title='getSelection'>
#getSelection
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI.html#getSessionStorage-static' target='main' title='getSessionStorage'>
.getSessionStorage
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Element.html#getSetOpt-dynamic' target='main' title='getSetOpt'>
#getSetOpt
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/IconMarker.html#getSize-dynamic' target='main' title='getSize'>
#getSize
</a>
<small>
(CUI.IconMarker)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#getSortTarget-dynamic' target='main' title='getSortTarget'>
#getSortTarget
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/ProgressMeter.html#getState-dynamic' target='main' title='getState'>
#getState
</a>
<small>
(CUI.ProgressMeter)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#getStatus-dynamic' target='main' title='getStatus'>
#getStatus
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#getStretchButton-static' target='main' title='getStretchButton'>
.getStretchButton
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/InputBlock.html#getString-dynamic' target='main' title='getString'>
#getString
</a>
<small>
(CUI.InputBlock)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchMatch.html#getString-dynamic' target='main' title='getString'>
#getString
</a>
<small>
(CUI.DocumentBrowser.SearchMatch)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#getSupportedPanes-dynamic' target='main' title='getSupportedPanes'>
#getSupportedPanes
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/HorizontalList.html#getSupportedPanes-dynamic' target='main' title='getSupportedPanes'>
#getSupportedPanes
</a>
<small>
(CUI.HorizontalList)
</small>
</li>
<li>
<a href='class/CUI/VerticalList.html#getSupportedPanes-dynamic' target='main' title='getSupportedPanes'>
#getSupportedPanes
</a>
<small>
(CUI.VerticalList)
</small>
</li>
<li>
<a href='class/CUI/VerticalLayout.html#getSupportedPanes-dynamic' target='main' title='getSupportedPanes'>
#getSupportedPanes
</a>
<small>
(CUI.VerticalLayout)
</small>
</li>
<li>
<a href='class/CUI/HorizontalLayout.html#getSupportedPanes-dynamic' target='main' title='getSupportedPanes'>
#getSupportedPanes
</a>
<small>
(CUI.HorizontalLayout)
</small>
</li>
<li>
<a href='class/CUI/BorderLayout.html#getSupportedPanes-dynamic' target='main' title='getSupportedPanes'>
#getSupportedPanes
</a>
<small>
(CUI.BorderLayout)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#getTab-dynamic' target='main' title='getTab'>
#getTab
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getTable-dynamic' target='main' title='getTable'>
#getTable
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getTableContainer-dynamic' target='main' title='getTableContainer'>
#getTableContainer
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Form.html#getTableContainer-dynamic' target='main' title='getTableContainer'>
#getTableContainer
</a>
<small>
(CUI.Form)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getTarget-dynamic' target='main' title='getTarget'>
#getTarget
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/MultiInputInput.html#getTemplate-dynamic' target='main' title='getTemplate'>
#getTemplate
</a>
<small>
(CUI.MultiInputInput)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#getTemplate-dynamic' target='main' title='getTemplate'>
#getTemplate
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#getTemplate-dynamic' target='main' title='getTemplate'>
#getTemplate
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#getTemplate-dynamic' target='main' title='getTemplate'>
#getTemplate
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#getTemplate-dynamic' target='main' title='getTemplate'>
#getTemplate
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Options.html#getTemplate-dynamic' target='main' title='getTemplate'>
#getTemplate
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getTemplate-dynamic' target='main' title='getTemplate'>
#getTemplate
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#getTemplateKeyForRender-dynamic' target='main' title='getTemplateKeyForRender'>
#getTemplateKeyForRender
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#getTemplateKeyForRender-dynamic' target='main' title='getTemplateKeyForRender'>
#getTemplateKeyForRender
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getTemplateKeyForRender-dynamic' target='main' title='getTemplateKeyForRender'>
#getTemplateKeyForRender
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/MultiInputInput.html#getTemplateKeyForRender-dynamic' target='main' title='getTemplateKeyForRender'>
#getTemplateKeyForRender
</a>
<small>
(CUI.MultiInputInput)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#getTemplateKeyForRender-dynamic' target='main' title='getTemplateKeyForRender'>
#getTemplateKeyForRender
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#getTemplateMap-dynamic' target='main' title='getTemplateMap'>
#getTemplateMap
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/BorderLayout.html#getTemplateMap-dynamic' target='main' title='getTemplateMap'>
#getTemplateMap
</a>
<small>
(CUI.BorderLayout)
</small>
</li>
<li>
<a href='class/CUI/WaitBlock.html#getTemplateName-dynamic' target='main' title='getTemplateName'>
#getTemplateName
</a>
<small>
(CUI.WaitBlock)
</small>
</li>
<li>
<a href='class/CUI/FileUploadButton.html#getTemplateName-dynamic' target='main' title='getTemplateName'>
#getTemplateName
</a>
<small>
(CUI.FileUploadButton)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getTemplateName-dynamic' target='main' title='getTemplateName'>
#getTemplateName
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ButtonHref.html#getTemplateName-dynamic' target='main' title='getTemplateName'>
#getTemplateName
</a>
<small>
(CUI.ButtonHref)
</small>
</li>
<li>
<a href='class/CUI/Block.html#getTemplateName-dynamic' target='main' title='getTemplateName'>
#getTemplateName
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/Label.html#getText-dynamic' target='main' title='getText'>
#getText
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#getText-dynamic' target='main' title='getText'>
#getText
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getText-dynamic' target='main' title='getText'>
#getText
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#getTimezoneOpts-dynamic' target='main' title='getTimezoneOpts'>
#getTimezoneOpts
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#getToggleFillScreenButton-static' target='main' title='getToggleFillScreenButton'>
.getToggleFillScreenButton
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getTooltip-dynamic' target='main' title='getTooltip'>
#getTooltip
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#getTop-dynamic' target='main' title='getTop'>
#getTop
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#getTree-dynamic' target='main' title='getTree'>
#getTree
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Event.html#getType-dynamic' target='main' title='getType'>
#getType
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#getTypes-dynamic' target='main' title='getTypes'>
#getTypes
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getUndo-dynamic' target='main' title='getUndo'>
#getUndo
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Promise.html#getUniqueId-dynamic' target='main' title='getUniqueId'>
#getUniqueId
</a>
<small>
(CUI.Promise)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#getUniqueId-dynamic' target='main' title='getUniqueId'>
#getUniqueId
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Dummy.html#getUniqueId-dynamic' target='main' title='getUniqueId'>
#getUniqueId
</a>
<small>
(CUI.Dummy)
</small>
</li>
<li>
<a href='class/CUI/Element.html#getUniqueId-dynamic' target='main' title='getUniqueId'>
#getUniqueId
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getUniqueIdForLabel-dynamic' target='main' title='getUniqueIdForLabel'>
#getUniqueIdForLabel
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getUniqueIdForLabel-dynamic' target='main' title='getUniqueIdForLabel'>
#getUniqueIdForLabel
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#getUniqueIdForLabel-dynamic' target='main' title='getUniqueIdForLabel'>
#getUniqueIdForLabel
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/FileReader.html#getUploadFileClass-dynamic' target='main' title='getUploadFileClass'>
#getUploadFileClass
</a>
<small>
(CUI.FileReader)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#getUploadFileClass-dynamic' target='main' title='getUploadFileClass'>
#getUploadFileClass
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#getUrl-dynamic' target='main' title='getUrl'>
#getUrl
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#getUserControlOptions-dynamic' target='main' title='getUserControlOptions'>
#getUserControlOptions
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/Select.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/Prompt.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.Prompt)
</small>
</li>
<li>
<a href='class/CUI/Button.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Output.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.Output)
</small>
</li>
<li>
<a href='class/CUI/OutputContent.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.OutputContent)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#getValue-dynamic' target='main' title='getValue'>
#getValue
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#getValueForDisplay-dynamic' target='main' title='getValueForDisplay'>
#getValueForDisplay
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#getValueForDisplay-dynamic' target='main' title='getValueForDisplay'>
#getValueForDisplay
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getValueForDisplay-dynamic' target='main' title='getValueForDisplay'>
#getValueForDisplay
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#getValueForDisplay-dynamic' target='main' title='getValueForDisplay'>
#getValueForDisplay
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getValueForInput-dynamic' target='main' title='getValueForInput'>
#getValueForInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#getValueForInput-dynamic' target='main' title='getValueForInput'>
#getValueForInput
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#getValueForInput-dynamic' target='main' title='getValueForInput'>
#getValueForInput
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#getValueForInput-dynamic' target='main' title='getValueForInput'>
#getValueForInput
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#getValueForStore-dynamic' target='main' title='getValueForStore'>
#getValueForStore
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#getValueForStore-dynamic' target='main' title='getValueForStore'>
#getValueForStore
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/Input.html#getValueForStore-dynamic' target='main' title='getValueForStore'>
#getValueForStore
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#getXHR-dynamic' target='main' title='getXHR'>
#getXHR
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#getZoom-dynamic' target='main' title='getZoom'>
#getZoom
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#getZoom-dynamic' target='main' title='getZoom'>
#getZoom
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#getZoom-dynamic' target='main' title='getZoom'>
#getZoom
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#get_axis-dynamic' target='main' title='get_axis'>
#get_axis
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#get_axis-dynamic' target='main' title='get_axis'>
#get_axis
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#get_axis-dynamic' target='main' title='get_axis'>
#get_axis
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#get_child_number-dynamic' target='main' title='get_child_number'>
#get_child_number
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#get_cursor-dynamic' target='main' title='get_cursor'>
#get_cursor
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#get_helper-dynamic' target='main' title='get_helper'>
#get_helper
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#get_helper-dynamic' target='main' title='get_helper'>
#get_helper
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#get_helper-dynamic' target='main' title='get_helper'>
#get_helper
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#get_helper_contain_element-dynamic' target='main' title='get_helper_contain_element'>
#get_helper_contain_element
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#get_helper_contain_element-dynamic' target='main' title='get_helper_contain_element'>
#get_helper_contain_element
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#get_helper_pos-dynamic' target='main' title='get_helper_pos'>
#get_helper_pos
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#get_helper_pos-dynamic' target='main' title='get_helper_pos'>
#get_helper_pos
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#get_init_helper_pos-dynamic' target='main' title='get_init_helper_pos'>
#get_init_helper_pos
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#get_init_helper_pos-dynamic' target='main' title='get_init_helper_pos'>
#get_init_helper_pos
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeRowMove.html#get_init_helper_pos-dynamic' target='main' title='get_init_helper_pos'>
#get_init_helper_pos
</a>
<small>
(CUI.ListViewTreeRowMove)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#get_init_helper_pos-dynamic' target='main' title='get_init_helper_pos'>
#get_init_helper_pos
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#get_lassoed_elements-dynamic' target='main' title='get_lassoed_elements'>
#get_lassoed_elements
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/ListViewDraggable.html#get_marker-dynamic' target='main' title='get_marker'>
#get_marker
</a>
<small>
(CUI.ListViewDraggable)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#giveAllRowsSameNumberOfColumns-dynamic' target='main' title='giveAllRowsSameNumberOfColumns'>
#giveAllRowsSameNumberOfColumns
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#goto-dynamic' target='main' title='goto'>
#goto
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/dom.html#h1-static' target='main' title='h1'>
.h1
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#h2-static' target='main' title='h2'>
.h2
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#h3-static' target='main' title='h3'>
.h3
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#h4-static' target='main' title='h4'>
.h4
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#h5-static' target='main' title='h5'>
.h5
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#h6-static' target='main' title='h6'>
.h6
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#handleEvent-dynamic' target='main' title='handleEvent'>
#handleEvent
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/Input.html#handleSelectionChange-dynamic' target='main' title='handleSelectionChange'>
#handleSelectionChange
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#handleSelectionChange-dynamic' target='main' title='handleSelectionChange'>
#handleSelectionChange
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/Template.html#has-dynamic' target='main' title='has'>
#has
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/dom.html#hasAnimatedClone-static' target='main' title='hasAnimatedClone'>
.hasAnimatedClone
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#hasAttribute-static' target='main' title='hasAttribute'>
.hasAttribute
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#hasChanges-dynamic' target='main' title='hasChanges'>
#hasChanges
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/dom.html#hasClass-static' target='main' title='hasClass'>
.hasClass
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Template.html#hasClass-dynamic' target='main' title='hasClass'>
#hasClass
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#hasClass-dynamic' target='main' title='hasClass'>
#hasClass
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#hasContentForAppend-dynamic' target='main' title='hasContentForAppend'>
#hasContentForAppend
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#hasContentForAppend-dynamic' target='main' title='hasContentForAppend'>
#hasContentForAppend
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#hasData-dynamic' target='main' title='hasData'>
#hasData
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#hasData-dynamic' target='main' title='hasData'>
#hasData
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Events.html#hasEventType-static' target='main' title='hasEventType'>
.hasEventType
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/HorizontalLayout.html#hasFlexHandles-dynamic' target='main' title='hasFlexHandles'>
#hasFlexHandles
</a>
<small>
(CUI.HorizontalLayout)
</small>
</li>
<li>
<a href='class/CUI/VerticalLayout.html#hasFlexHandles-dynamic' target='main' title='hasFlexHandles'>
#hasFlexHandles
</a>
<small>
(CUI.VerticalLayout)
</small>
</li>
<li>
<a href='class/CUI/Toolbar.html#hasFlexHandles-dynamic' target='main' title='hasFlexHandles'>
#hasFlexHandles
</a>
<small>
(CUI.Toolbar)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#hasFlexHandles-dynamic' target='main' title='hasFlexHandles'>
#hasFlexHandles
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#hasFooter-dynamic' target='main' title='hasFooter'>
#hasFooter
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#hasFooter-dynamic' target='main' title='hasFooter'>
#hasFooter
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#hasHeader-dynamic' target='main' title='hasHeader'>
#hasHeader
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#hasHeader-dynamic' target='main' title='hasHeader'>
#hasHeader
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#hasItems-dynamic' target='main' title='hasItems'>
#hasItems
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#hasItems-dynamic' target='main' title='hasItems'>
#hasItems
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/Button.html#hasLeft-dynamic' target='main' title='hasLeft'>
#hasLeft
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Button.html#hasMenu-dynamic' target='main' title='hasMenu'>
#hasMenu
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Event.html#hasModifierKey-dynamic' target='main' title='hasModifierKey'>
#hasModifierKey
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#hasMovableRows-dynamic' target='main' title='hasMovableRows'>
#hasMovableRows
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Element.html#hasOpt-dynamic' target='main' title='hasOpt'>
#hasOpt
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#hasResizableColumns-dynamic' target='main' title='hasResizableColumns'>
#hasResizableColumns
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#hasSelectableRows-dynamic' target='main' title='hasSelectableRows'>
#hasSelectableRows
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Element.html#hasSetOpt-dynamic' target='main' title='hasSetOpt'>
#hasSetOpt
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Input.html#hasShadowFocus-dynamic' target='main' title='hasShadowFocus'>
#hasShadowFocus
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#hasTab-dynamic' target='main' title='hasTab'>
#hasTab
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#hasUserControl-dynamic' target='main' title='hasUserControl'>
#hasUserControl
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#hasUserData-dynamic' target='main' title='hasUserData'>
#hasUserData
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#hasUserData-dynamic' target='main' title='hasUserData'>
#hasUserData
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#hasUserData-dynamic' target='main' title='hasUserData'>
#hasUserData
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/Input.html#hasUserInput-dynamic' target='main' title='hasUserInput'>
#hasUserInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/dom.html#height-static' target='main' title='height'>
.height
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/WaitBlock.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.WaitBlock)
</small>
</li>
<li>
<a href='class/CUI/Icon.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.Icon)
</small>
</li>
<li>
<a href='class/CUI/Template.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Button.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#hide-dynamic' target='main' title='hide'>
#hide
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#hideAll-dynamic' target='main' title='hideAll'>
#hideAll
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/dom.html#hideElement-static' target='main' title='hideElement'>
.hideElement
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#hideMarkers-dynamic' target='main' title='hideMarkers'>
#hideMarkers
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#hideMarkers-dynamic' target='main' title='hideMarkers'>
#hideMarkers
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#hideMarkers-dynamic' target='main' title='hideMarkers'>
#hideMarkers
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/Password.html#hidePassword-dynamic' target='main' title='hidePassword'>
#hidePassword
</a>
<small>
(CUI.Password)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#hideSpinner-dynamic' target='main' title='hideSpinner'>
#hideSpinner
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#hideTimeout-dynamic' target='main' title='hideTimeout'>
#hideTimeout
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#hideTimeout-dynamic' target='main' title='hideTimeout'>
#hideTimeout
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#hideWaitBlock-dynamic' target='main' title='hideWaitBlock'>
#hideWaitBlock
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/dom.html#htmlToNodes-static' target='main' title='htmlToNodes'>
.htmlToNodes
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#i-static' target='main' title='i'>
.i
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#idxInArray-static' target='main' title='idxInArray'>
.idxInArray
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Events.html#ignore-static' target='main' title='ignore'>
.ignore
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/dom.html#img-static' target='main' title='img'>
.img
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#inArray-static' target='main' title='inArray'>
.inArray
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI.html#inArray-static' target='main' title='inArray'>
.inArray
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#incAMPM-dynamic' target='main' title='incAMPM'>
#incAMPM
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Input.html#incNumberBounds-dynamic' target='main' title='incNumberBounds'>
#incNumberBounds
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DateTimeInputBlock.html#incrementBlock-dynamic' target='main' title='incrementBlock'>
#incrementBlock
</a>
<small>
(CUI.DateTimeInputBlock)
</small>
</li>
<li>
<a href='class/CUI/NumberInputBlock.html#incrementBlock-dynamic' target='main' title='incrementBlock'>
#incrementBlock
</a>
<small>
(CUI.NumberInputBlock)
</small>
</li>
<li>
<a href='class/CUI/InputBlock.html#incrementBlock-dynamic' target='main' title='incrementBlock'>
#incrementBlock
</a>
<small>
(CUI.InputBlock)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Select.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Output.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Output)
</small>
</li>
<li>
<a href='class/CUI/PaneHeader.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.PaneHeader)
</small>
</li>
<li>
<a href='class/CUI/Toolbar.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Toolbar)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/PaneToolbar.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.PaneToolbar)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationChoice.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.ConfirmationChoice)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/PaneFooter.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.PaneFooter)
</small>
</li>
<li>
<a href='class/CUI/Options.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationDialog.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.ConfirmationDialog)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/DragDropSelect.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.DragDropSelect)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/Resizable.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.Resizable)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#init-dynamic' target='main' title='init'>
#init
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/dom.html#initAnimatedClone-static' target='main' title='initAnimatedClone'>
.initAnimatedClone
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#initButton-dynamic' target='main' title='initButton'>
#initButton
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#initChildren-dynamic' target='main' title='initChildren'>
#initChildren
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Input.html#initCursor-dynamic' target='main' title='initCursor'>
#initCursor
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DataFieldProxy.html#initData-dynamic' target='main' title='initData'>
#initData
</a>
<small>
(CUI.DataFieldProxy)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#initData-dynamic' target='main' title='initData'>
#initData
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#initDateTimePicker-dynamic' target='main' title='initDateTimePicker'>
#initDateTimePicker
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#initDefaultPanes-dynamic' target='main' title='initDefaultPanes'>
#initDefaultPanes
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#initDimensions-dynamic' target='main' title='initDimensions'>
#initDimensions
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#initDropZone-dynamic' target='main' title='initDropZone'>
#initDropZone
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#initFields-dynamic' target='main' title='initFields'>
#initFields
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#initFilePicker-dynamic' target='main' title='initFilePicker'>
#initFilePicker
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Template.html#initFlexHandles-dynamic' target='main' title='initFlexHandles'>
#initFlexHandles
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#initFormat-dynamic' target='main' title='initFormat'>
#initFormat
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Form.html#initLayout-dynamic' target='main' title='initLayout'>
#initLayout
</a>
<small>
(CUI.Form)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#initLayout-dynamic' target='main' title='initLayout'>
#initLayout
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumper.html#initListView-dynamic' target='main' title='initListView'>
#initListView
</a>
<small>
(CUI.ObjectDumper)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#initListView-dynamic' target='main' title='initListView'>
#initListView
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#initListView-dynamic' target='main' title='initListView'>
#initListView
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/StickyHeaderControl.html#initNewStickyHeaders-dynamic' target='main' title='initNewStickyHeaders'>
#initNewStickyHeaders
</a>
<small>
(CUI.StickyHeaderControl)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/IconMarker.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.IconMarker)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/Block.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/FileUploadButton.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.FileUploadButton)
</small>
</li>
<li>
<a href='class/CUI/Template.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Popover.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Popover)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.NodeMatch.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DocumentBrowser.NodeMatch)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Output.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Output)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/DragoverScrollEvent.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DragoverScrollEvent)
</small>
</li>
<li>
<a href='class/CUI/Button.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Dragscroll.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Dragscroll)
</small>
</li>
<li>
<a href='class/CUI/Toolbar.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Toolbar)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/WaitBlock.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.WaitBlock)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/DigiDisplay.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DigiDisplay)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/DateTimeInputBlock.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DateTimeInputBlock)
</small>
</li>
<li>
<a href='class/CUI/MultilineLabel.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.MultilineLabel)
</small>
</li>
<li>
<a href='class/CUI/ProgressMeter.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ProgressMeter)
</small>
</li>
<li>
<a href='class/CUI/Event.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/Select.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/HorizontalList.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.HorizontalList)
</small>
</li>
<li>
<a href='class/CUI/Console.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Console)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeRowMove.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewTreeRowMove)
</small>
</li>
<li>
<a href='class/CUI/EmailInput.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.EmailInput)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/Icon.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Icon)
</small>
</li>
<li>
<a href='class/CUI/Input.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Options.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/Label.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Map.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/ListViewDraggable.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewDraggable)
</small>
</li>
<li>
<a href='class/CUI/Element.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/ButtonHref.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ButtonHref)
</small>
</li>
<li>
<a href='class/CUI/TouchEvent.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.TouchEvent)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/VerticalList.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.VerticalList)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/LayerPane.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.LayerPane)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/DataFieldProxy.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DataFieldProxy)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/OutputContent.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.OutputContent)
</small>
</li>
<li>
<a href='class/CUI/Resizable.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Resizable)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/Table.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Table)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/FormButton.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.FormButton)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/Alert.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Alert)
</small>
</li>
<li>
<a href='class/CUI/MultiOutput.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.MultiOutput)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeHeaderNode.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewTreeHeaderNode)
</small>
</li>
<li>
<a href='class/CUI/Confirm.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Confirm)
</small>
</li>
<li>
<a href='class/CUI/ListViewHeaderColumn.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewHeaderColumn)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationChoice.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ConfirmationChoice)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/StickyHeaderControl.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.StickyHeaderControl)
</small>
</li>
<li>
<a href='class/CUI/DataFieldInput.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DataFieldInput)
</small>
</li>
<li>
<a href='class/CUI/FileReader.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.FileReader)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationDialog.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ConfirmationDialog)
</small>
</li>
<li>
<a href='class/CUI/DragDropSelect.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DragDropSelect)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchQuery.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DocumentBrowser.SearchQuery)
</small>
</li>
<li>
<a href='class/CUI/MouseEvent.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.MouseEvent)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/Toaster.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Toaster)
</small>
</li>
<li>
<a href='class/CUI/Prompt.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Prompt)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchMatch.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.DocumentBrowser.SearchMatch)
</small>
</li>
<li>
<a href='class/CUI/Spinner.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Spinner)
</small>
</li>
<li>
<a href='class/CUI/InputBlock.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.InputBlock)
</small>
</li>
<li>
<a href='class/CUI/StickyHeader.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.StickyHeader)
</small>
</li>
<li>
<a href='class/CUI/Movable.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.Movable)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumper.html#initOpts-dynamic' target='main' title='initOpts'>
#initOpts
</a>
<small>
(CUI.ObjectDumper)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#initPopover-dynamic' target='main' title='initPopover'>
#initPopover
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#initPopover-dynamic' target='main' title='initPopover'>
#initPopover
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#initTemplate-dynamic' target='main' title='initTemplate'>
#initTemplate
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#initTemplate-dynamic' target='main' title='initTemplate'>
#initTemplate
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#initTemplate-dynamic' target='main' title='initTemplate'>
#initTemplate
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Form.html#initTemplate-dynamic' target='main' title='initTemplate'>
#initTemplate
</a>
<small>
(CUI.Form)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#initValue-dynamic' target='main' title='initValue'>
#initValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#initValue-dynamic' target='main' title='initValue'>
#initValue
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#initValue-dynamic' target='main' title='initValue'>
#initValue
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#initValue-dynamic' target='main' title='initValue'>
#initValue
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#init_drag-dynamic' target='main' title='init_drag'>
#init_drag
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#init_drag-dynamic' target='main' title='init_drag'>
#init_drag
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Resizable.html#init_drag-dynamic' target='main' title='init_drag'>
#init_drag
</a>
<small>
(CUI.Resizable)
</small>
</li>
<li>
<a href='class/CUI/Movable.html#init_drag-dynamic' target='main' title='init_drag'>
#init_drag
</a>
<small>
(CUI.Movable)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#init_helper-dynamic' target='main' title='init_helper'>
#init_helper
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#init_helper-dynamic' target='main' title='init_helper'>
#init_helper
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/dom.html#insertAfter-static' target='main' title='insertAfter'>
.insertAfter
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#insertBefore-static' target='main' title='insertBefore'>
.insertBefore
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#insertChildAtPosition-static' target='main' title='insertChildAtPosition'>
.insertChildAtPosition
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#insertRowAfter-dynamic' target='main' title='insertRowAfter'>
#insertRowAfter
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#insertRowAt-dynamic' target='main' title='insertRowAt'>
#insertRowAt
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#insertRowBefore-dynamic' target='main' title='insertRowBefore'>
#insertRowBefore
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#insideSaveZone-dynamic' target='main' title='insideSaveZone'>
#insideSaveZone
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/dom.html#is-static' target='main' title='is'>
.is
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#isActive-dynamic' target='main' title='isActive'>
#isActive
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Button.html#isActive-dynamic' target='main' title='isActive'>
#isActive
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#isAddedToListView-dynamic' target='main' title='isAddedToListView'>
#isAddedToListView
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI.html#isArray-static' target='main' title='isArray'>
.isArray
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#isArray-static' target='main' title='isArray'>
.isArray
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#isAutoCloseAfterClick-dynamic' target='main' title='isAutoCloseAfterClick'>
#isAutoCloseAfterClick
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/util.html#isBoolean-static' target='main' title='isBoolean'>
.isBoolean
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/dom.html#isBorderBox-static' target='main' title='isBorderBox'>
.isBorderBox
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Event.html#isBubble-dynamic' target='main' title='isBubble'>
#isBubble
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#isCapture-dynamic' target='main' title='isCapture'>
#isCapture
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#isChanged-dynamic' target='main' title='isChanged'>
#isChanged
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#isChanged-dynamic' target='main' title='isChanged'>
#isChanged
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#isChanged-dynamic' target='main' title='isChanged'>
#isChanged
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#isChanged-dynamic' target='main' title='isChanged'>
#isChanged
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#isClosed-dynamic' target='main' title='isClosed'>
#isClosed
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#isClosed-dynamic' target='main' title='isClosed'>
#isClosed
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/util.html#isContent-static' target='main' title='isContent'>
.isContent
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/dom.html#isContentBox-static' target='main' title='isContentBox'>
.isContentBox
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#isDataField-dynamic' target='main' title='isDataField'>
#isDataField
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#isDataField-dynamic' target='main' title='isDataField'>
#isDataField
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Event.html#isDefaultPrevented-dynamic' target='main' title='isDefaultPrevented'>
#isDefaultPrevented
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/util.html#isDeferred-static' target='main' title='isDeferred'>
.isDeferred
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Element.html#isDestroyed-dynamic' target='main' title='isDestroyed'>
#isDestroyed
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#isDestroyed-dynamic' target='main' title='isDestroyed'>
#isDestroyed
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Select.html#isDisabled-dynamic' target='main' title='isDisabled'>
#isDisabled
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/Button.html#isDisabled-dynamic' target='main' title='isDisabled'>
#isDisabled
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#isDisabled-dynamic' target='main' title='isDisabled'>
#isDisabled
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#isDone-dynamic' target='main' title='isDone'>
#isDone
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#isDone-dynamic' target='main' title='isDone'>
#isDone
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/util.html#isElement-static' target='main' title='isElement'>
.isElement
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Template.html#isEmpty-dynamic' target='main' title='isEmpty'>
#isEmpty
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/util.html#isEmpty-static' target='main' title='isEmpty'>
.isEmpty
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI.html#isEmptyObject-static' target='main' title='isEmptyObject'>
.isEmptyObject
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#isEmptyObject-static' target='main' title='isEmptyObject'>
.isEmptyObject
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#isEnabled-dynamic' target='main' title='isEnabled'>
#isEnabled
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/Button.html#isEnabled-dynamic' target='main' title='isEnabled'>
#isEnabled
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/util.html#isEqual-static' target='main' title='isEqual'>
.isEqual
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Event.html#isExcludeSelf-dynamic' target='main' title='isExcludeSelf'>
#isExcludeSelf
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/util.html#isFalse-static' target='main' title='isFalse'>
.isFalse
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#isFloat-static' target='main' title='isFloat'>
.isFloat
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/dom.html#isFullscreen-static' target='main' title='isFullscreen'>
.isFullscreen
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#isFunction-static' target='main' title='isFunction'>
.isFunction
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI.html#isFunction-static' target='main' title='isFunction'>
.isFunction
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#isHidden-dynamic' target='main' title='isHidden'>
#isHidden
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Button.html#isHidden-dynamic' target='main' title='isHidden'>
#isHidden
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#isHidden-dynamic' target='main' title='isHidden'>
#isHidden
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Event.html#isImmediatePropagationStopped-dynamic' target='main' title='isImmediatePropagationStopped'>
#isImmediatePropagationStopped
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/StickyHeaderControl.html#isInDOM-dynamic' target='main' title='isInDOM'>
#isInDOM
</a>
<small>
(CUI.StickyHeaderControl)
</small>
</li>
<li>
<a href='class/CUI/dom.html#isInDOM-static' target='main' title='isInDOM'>
.isInDOM
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Event.html#isInDOM-dynamic' target='main' title='isInDOM'>
#isInDOM
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#isInactive-dynamic' target='main' title='isInactive'>
#isInactive
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/util.html#isInteger-static' target='main' title='isInteger'>
.isInteger
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#isKeyboardCancellable-dynamic' target='main' title='isKeyboardCancellable'>
#isKeyboardCancellable
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Alert.html#isKeyboardCancellable-dynamic' target='main' title='isKeyboardCancellable'>
#isKeyboardCancellable
</a>
<small>
(CUI.Alert)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#isKeyboardCancellable-dynamic' target='main' title='isKeyboardCancellable'>
#isKeyboardCancellable
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#isLeaf-dynamic' target='main' title='isLeaf'>
#isLeaf
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#isLeaf-dynamic' target='main' title='isLeaf'>
#isLeaf
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#isLoading-dynamic' target='main' title='isLoading'>
#isLoading
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI.html#isMap-static' target='main' title='isMap'>
.isMap
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#isMap-static' target='main' title='isMap'>
.isMap
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#isMovable-dynamic' target='main' title='isMovable'>
#isMovable
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#isNoHierarchy-dynamic' target='main' title='isNoHierarchy'>
#isNoHierarchy
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/dom.html#isNode-static' target='main' title='isNode'>
.isNode
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#isNull-static' target='main' title='isNull'>
.isNull
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#isNumber-static' target='main' title='isNumber'>
.isNumber
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#isOnlyOnce-dynamic' target='main' title='isOnlyOnce'>
#isOnlyOnce
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#isOpen-dynamic' target='main' title='isOpen'>
#isOpen
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#isOpen-dynamic' target='main' title='isOpen'>
#isOpen
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#isOpen-dynamic' target='main' title='isOpen'>
#isOpen
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI.html#isPlainObject-static' target='main' title='isPlainObject'>
.isPlainObject
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#isPlainObject-static' target='main' title='isPlainObject'>
.isPlainObject
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#isPosInt-static' target='main' title='isPosInt'>
.isPosInt
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/dom.html#isPositioned-static' target='main' title='isPositioned'>
.isPositioned
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#isPromise-static' target='main' title='isPromise'>
.isPromise
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Event.html#isPropagationStopped-dynamic' target='main' title='isPropagationStopped'>
#isPropagationStopped
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#isQueuing-dynamic' target='main' title='isQueuing'>
#isQueuing
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#isRendered-dynamic' target='main' title='isRendered'>
#isRendered
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#isRendered-dynamic' target='main' title='isRendered'>
#isRendered
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Input.html#isRequired-dynamic' target='main' title='isRequired'>
#isRequired
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DataFieldInput.html#isResizable-dynamic' target='main' title='isResizable'>
#isResizable
</a>
<small>
(CUI.DataFieldInput)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#isResizable-dynamic' target='main' title='isResizable'>
#isResizable
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#isRoot-dynamic' target='main' title='isRoot'>
#isRoot
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewHeaderRow.html#isSelectable-dynamic' target='main' title='isSelectable'>
#isSelectable
</a>
<small>
(CUI.ListViewHeaderRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#isSelectable-dynamic' target='main' title='isSelectable'>
#isSelectable
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#isSelectable-dynamic' target='main' title='isSelectable'>
#isSelectable
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#isSelectable-dynamic' target='main' title='isSelectable'>
#isSelectable
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#isSelected-dynamic' target='main' title='isSelected'>
#isSelected
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#isSelected-dynamic' target='main' title='isSelected'>
#isSelected
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/WaitBlock.html#isShown-dynamic' target='main' title='isShown'>
#isShown
</a>
<small>
(CUI.WaitBlock)
</small>
</li>
<li>
<a href='class/CUI/Button.html#isShown-dynamic' target='main' title='isShown'>
#isShown
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#isShown-dynamic' target='main' title='isShown'>
#isShown
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#isShown-dynamic' target='main' title='isShown'>
#isShown
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#isShown-dynamic' target='main' title='isShown'>
#isShown
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Event.html#isSink-dynamic' target='main' title='isSink'>
#isSink
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#isStretched-dynamic' target='main' title='isStretched'>
#isStretched
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI.html#isString-static' target='main' title='isString'>
.isString
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#isString-static' target='main' title='isString'>
.isString
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#isSuccess-dynamic' target='main' title='isSuccess'>
#isSuccess
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI.html#isTimeoutRunning-static' target='main' title='isTimeoutRunning'>
.isTimeoutRunning
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#isTrue-static' target='main' title='isTrue'>
.isTrue
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#isUndef-static' target='main' title='isUndef'>
.isUndef
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#isUploading-dynamic' target='main' title='isUploading'>
#isUploading
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#isUploading-dynamic' target='main' title='isUploading'>
#isUploading
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Map.html#isValidLatitude-static' target='main' title='isValidLatitude'>
.isValidLatitude
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Map.html#isValidLongitude-static' target='main' title='isValidLongitude'>
.isValidLongitude
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Map.html#isValidPosition-static' target='main' title='isValidPosition'>
.isValidPosition
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/dom.html#isVisible-static' target='main' title='isVisible'>
.isVisible
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/KeyboardEvent.html#key-dynamic' target='main' title='key'>
#key
</a>
<small>
(CUI.KeyboardEvent)
</small>
</li>
<li>
<a href='class/CUI/Event.html#keyCode-dynamic' target='main' title='keyCode'>
#keyCode
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Table.html#keyValueRowsFromMap-static' target='main' title='keyValueRowsFromMap'>
.keyValueRowsFromMap
</a>
<small>
(CUI.Table)
</small>
</li>
<li>
<a href='class/CUI/dom.html#label-static' target='main' title='label'>
.label
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#lastElementChild-static' target='main' title='lastElementChild'>
.lastElementChild
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#layoutIsStopped-dynamic' target='main' title='layoutIsStopped'>
#layoutIsStopped
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Input.html#leaveInput-dynamic' target='main' title='leaveInput'>
#leaveInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#level-dynamic' target='main' title='level'>
#level
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/dom.html#li-static' target='main' title='li'>
.li
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Movable.html#limitRect-dynamic' target='main' title='limitRect'>
#limitRect
</a>
<small>
(CUI.Movable)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#limitRect-static' target='main' title='limitRect'>
.limitRect
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Events.html#listen-static' target='main' title='listen'>
.listen
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/Template.html#load-static' target='main' title='load'>
.load
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/CSSLoader.html#load-dynamic' target='main' title='load'>
#load
</a>
<small>
(CUI.CSSLoader)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#load-dynamic' target='main' title='load'>
#load
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#loadContent-dynamic' target='main' title='loadContent'>
#loadContent
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#loadContent-dynamic' target='main' title='loadContent'>
#loadContent
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#loadContent-dynamic' target='main' title='loadContent'>
#loadContent
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#loadEmpty-dynamic' target='main' title='loadEmpty'>
#loadEmpty
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/Template.html#loadFile-static' target='main' title='loadFile'>
.loadFile
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#loadLocation-dynamic' target='main' title='loadLocation'>
#loadLocation
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/Template.html#loadTemplateFile-static' target='main' title='loadTemplateFile'>
.loadTemplateFile
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Template.html#loadTemplateText-static' target='main' title='loadTemplateText'>
.loadTemplateText
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Template.html#loadText-static' target='main' title='loadText'>
.loadText
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Console.html#log-dynamic' target='main' title='log'>
#log
</a>
<small>
(CUI.Console)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#makeOrderedList-dynamic' target='main' title='makeOrderedList'>
#makeOrderedList
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#makeUnorderedList-dynamic' target='main' title='makeUnorderedList'>
#makeUnorderedList
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/Input.html#markBlock-dynamic' target='main' title='markBlock'>
#markBlock
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#markDay-dynamic' target='main' title='markDay'>
#markDay
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#marked-dynamic' target='main' title='marked'>
#marked
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.NodeMatch.html#marked-dynamic' target='main' title='marked'>
#marked
</a>
<small>
(CUI.DocumentBrowser.NodeMatch)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchQuery.html#match-dynamic' target='main' title='match'>
#match
</a>
<small>
(CUI.DocumentBrowser.SearchQuery)
</small>
</li>
<li>
<a href='class/CUI/dom.html#matchSelector-static' target='main' title='matchSelector'>
.matchSelector
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#matches-static' target='main' title='matches'>
.matches
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#matchesEvent-dynamic' target='main' title='matchesEvent'>
#matchesEvent
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#matchesFilter-dynamic' target='main' title='matchesFilter'>
#matchesFilter
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#maximizeAddClasses-dynamic' target='main' title='maximizeAddClasses'>
#maximizeAddClasses
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#maximizeAddClasses-dynamic' target='main' title='maximizeAddClasses'>
#maximizeAddClasses
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#maximizeReadOpts-dynamic' target='main' title='maximizeReadOpts'>
#maximizeReadOpts
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Button.html#menuSetActiveIdx-dynamic' target='main' title='menuSetActiveIdx'>
#menuSetActiveIdx
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/util.html#mergeMap-static' target='main' title='mergeMap'>
.mergeMap
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI.html#mergeMap-static' target='main' title='mergeMap'>
.mergeMap
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Element.html#mergeOpt-dynamic' target='main' title='mergeOpt'>
#mergeOpt
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Element.html#mergeOpts-dynamic' target='main' title='mergeOpts'>
#mergeOpts
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Event.html#metaKey-dynamic' target='main' title='metaKey'>
#metaKey
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Input.html#moveCursor-dynamic' target='main' title='moveCursor'>
#moveCursor
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/util.html#moveInArray-static' target='main' title='moveInArray'>
.moveInArray
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#moveInOrderArray-dynamic' target='main' title='moveInOrderArray'>
#moveInOrderArray
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#moveNodeAfter-dynamic' target='main' title='moveNodeAfter'>
#moveNodeAfter
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#moveNodeBefore-dynamic' target='main' title='moveNodeBefore'>
#moveNodeBefore
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#moveRow-dynamic' target='main' title='moveRow'>
#moveRow
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#moveRow-dynamic' target='main' title='moveRow'>
#moveRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#moveToNewFather-dynamic' target='main' title='moveToNewFather'>
#moveToNewFather
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#move_element-dynamic' target='main' title='move_element'>
#move_element
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#new-static' target='main' title='new'>
.new
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Select.html#newSelectOrOutput-static' target='main' title='newSelectOrOutput'>
.newSelectOrOutput
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/dom.html#nextElementSibling-static' target='main' title='nextElementSibling'>
.nextElementSibling
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Button.html#onClickAction-dynamic' target='main' title='onClickAction'>
#onClickAction
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Spinner.html#open-dynamic' target='main' title='open'>
#open
</a>
<small>
(CUI.Spinner)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#open-dynamic' target='main' title='open'>
#open
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#open-dynamic' target='main' title='open'>
#open
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#open-dynamic' target='main' title='open'>
#open
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationChoice.html#open-dynamic' target='main' title='open'>
#open
</a>
<small>
(CUI.ConfirmationChoice)
</small>
</li>
<li>
<a href='class/CUI/Prompt.html#open-dynamic' target='main' title='open'>
#open
</a>
<small>
(CUI.Prompt)
</small>
</li>
<li>
<a href='class/CUI/Toaster.html#open-dynamic' target='main' title='open'>
#open
</a>
<small>
(CUI.Toaster)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#openPopover-dynamic' target='main' title='openPopover'>
#openPopover
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#openRecursively-dynamic' target='main' title='openRecursively'>
#openRecursively
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#openTreeNodeByRowDisplayIndex-dynamic' target='main' title='openTreeNodeByRowDisplayIndex'>
#openTreeNodeByRowDisplayIndex
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#openUpwards-dynamic' target='main' title='openUpwards'>
#openUpwards
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/dom.html#p-static' target='main' title='p'>
.p
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Event.html#pageX-dynamic' target='main' title='pageX'>
#pageX
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Event.html#pageY-dynamic' target='main' title='pageY'>
#pageY
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/dom.html#parent-static' target='main' title='parent'>
.parent
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#parents-static' target='main' title='parents'>
.parents
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#parentsScrollable-static' target='main' title='parentsScrollable'>
.parentsScrollable
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#parentsUntil-static' target='main' title='parentsUntil'>
.parentsUntil
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#parse-dynamic' target='main' title='parse'>
#parse
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#parse-dynamic' target='main' title='parse'>
#parse
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/util.html#parseCoordinates-static' target='main' title='parseCoordinates'>
.parseCoordinates
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI.html#parseLocation-static' target='main' title='parseLocation'>
.parseLocation
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#parseValue-dynamic' target='main' title='parseValue'>
#parseValue
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#position-dynamic' target='main' title='position'>
#position
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/StickyHeaderControl.html#position-dynamic' target='main' title='position'>
#position
</a>
<small>
(CUI.StickyHeaderControl)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#position_helper-dynamic' target='main' title='position_helper'>
#position_helper
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/dom.html#pre-static' target='main' title='pre'>
.pre
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#preActivateNextItem-dynamic' target='main' title='preActivateNextItem'>
#preActivateNextItem
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#preActivatePreviousItem-dynamic' target='main' title='preActivatePreviousItem'>
#preActivatePreviousItem
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#preSelectByKeyword-dynamic' target='main' title='preSelectByKeyword'>
#preSelectByKeyword
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/dom.html#prepareSetDimensions-static' target='main' title='prepareSetDimensions'>
.prepareSetDimensions
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#prepend-dynamic' target='main' title='prepend'>
#prepend
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/dom.html#prepend-static' target='main' title='prepend'>
.prepend
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Template.html#prepend-dynamic' target='main' title='prepend'>
#prepend
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#prependButton-dynamic' target='main' title='prependButton'>
#prependButton
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#prependChild-dynamic' target='main' title='prependChild'>
#prependChild
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#prependColumn-dynamic' target='main' title='prependColumn'>
#prependColumn
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#prependNode-dynamic' target='main' title='prependNode'>
#prependNode
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#prependRow-dynamic' target='main' title='prependRow'>
#prependRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#prependSibling-dynamic' target='main' title='prependSibling'>
#prependSibling
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Event.html#preventDefault-dynamic' target='main' title='preventDefault'>
#preventDefault
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Input.html#preventInvalidInput-dynamic' target='main' title='preventInvalidInput'>
#preventInvalidInput
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#preventOverflow-dynamic' target='main' title='preventOverflow'>
#preventOverflow
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/dom.html#previousElementSibling-static' target='main' title='previousElementSibling'>
.previousElementSibling
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#printElement-static' target='main' title='printElement'>
.printElement
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Promise.html#progress-dynamic' target='main' title='progress'>
#progress
</a>
<small>
(CUI.Promise)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#progress-dynamic' target='main' title='progress'>
#progress
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#promise-dynamic' target='main' title='promise'>
#promise
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/Element.html#proxy-dynamic' target='main' title='proxy'>
#proxy
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI.html#proxyMethods-static' target='main' title='proxyMethods'>
.proxyMethods
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#pushOntoArray-static' target='main' title='pushOntoArray'>
.pushOntoArray
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#queue-dynamic' target='main' title='queue'>
#queue
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#queueFiles-dynamic' target='main' title='queueFiles'>
#queueFiles
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#quote-static' target='main' title='quote'>
.quote
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/MultiOutput.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.MultiOutput)
</small>
</li>
<li>
<a href='class/CUI/Table.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Table)
</small>
</li>
<li>
<a href='class/CUI/Toaster.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Toaster)
</small>
</li>
<li>
<a href='class/CUI/Resizable.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Resizable)
</small>
</li>
<li>
<a href='class/CUI/DragDropSelect.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DragDropSelect)
</small>
</li>
<li>
<a href='class/CUI/Movable.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Movable)
</small>
</li>
<li>
<a href='class/CUI/CSSLoader.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.CSSLoader)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/WaitBlock.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.WaitBlock)
</small>
</li>
<li>
<a href='class/CUI/Prompt.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Prompt)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumper.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ObjectDumper)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationChoice.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ConfirmationChoice)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/VerticalList.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.VerticalList)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Confirm.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Confirm)
</small>
</li>
<li>
<a href='class/CUI/Alert.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Alert)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationDialog.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ConfirmationDialog)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/ListViewDraggable.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ListViewDraggable)
</small>
</li>
<li>
<a href='class/CUI/FileReader.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.FileReader)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/DataFieldProxy.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DataFieldProxy)
</small>
</li>
<li>
<a href='class/CUI/Element.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/Input.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/ButtonHref.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ButtonHref)
</small>
</li>
<li>
<a href='class/CUI/FileUploadButton.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.FileUploadButton)
</small>
</li>
<li>
<a href='class/CUI/EmailInput.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.EmailInput)
</small>
</li>
<li>
<a href='class/CUI/ListViewHeaderColumn.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ListViewHeaderColumn)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/Element.html#readOpts-static' target='main' title='readOpts'>
.readOpts
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchQuery.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DocumentBrowser.SearchQuery)
</small>
</li>
<li>
<a href='class/CUI/EmptyLabel.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.EmptyLabel)
</small>
</li>
<li>
<a href='class/CUI/Label.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.SearchMatch.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DocumentBrowser.SearchMatch)
</small>
</li>
<li>
<a href='class/CUI/HorizontalList.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.HorizontalList)
</small>
</li>
<li>
<a href='class/CUI/Options.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/Block.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/Output.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Output)
</small>
</li>
<li>
<a href='class/CUI/Event.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/Popover.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Popover)
</small>
</li>
<li>
<a href='class/CUI/Button.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Dragscroll.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Dragscroll)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#readOpts-dynamic' target='main' title='readOpts'>
#readOpts
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Element.html#readOptsFromAttr-dynamic' target='main' title='readOptsFromAttr'>
#readOptsFromAttr
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI.html#ready-static' target='main' title='ready'>
.ready
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#readyState-dynamic' target='main' title='readyState'>
#readyState
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#redo-dynamic' target='main' title='redo'>
#redo
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#redo-dynamic' target='main' title='redo'>
#redo
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#regexpMatcher-dynamic' target='main' title='regexpMatcher'>
#regexpMatcher
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Test.html#register-static' target='main' title='register'>
.register
</a>
<small>
(CUI.Test)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#registerDOMElement-dynamic' target='main' title='registerDOMElement'>
#registerDOMElement
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Events.html#registerEvent-static' target='main' title='registerEvent'>
.registerEvent
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#registerLabel-dynamic' target='main' title='registerLabel'>
#registerLabel
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#registerLabel-dynamic' target='main' title='registerLabel'>
#registerLabel
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/Select.html#registerLabel-dynamic' target='main' title='registerLabel'>
#registerLabel
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#registerTemplate-dynamic' target='main' title='registerTemplate'>
#registerTemplate
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI.html#registerTimeoutChangeCallback-static' target='main' title='registerTimeoutChangeCallback'>
.registerTimeoutChangeCallback
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI.html#rejectedPromise-static' target='main' title='rejectedPromise'>
.rejectedPromise
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#reload-dynamic' target='main' title='reload'>
#reload
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#reload-dynamic' target='main' title='reload'>
#reload
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#reload-dynamic' target='main' title='reload'>
#reload
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#reload-dynamic' target='main' title='reload'>
#reload
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/Select.html#reload-dynamic' target='main' title='reload'>
#reload
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#remove-dynamic' target='main' title='remove'>
#remove
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#remove-dynamic' target='main' title='remove'>
#remove
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#remove-dynamic' target='main' title='remove'>
#remove
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#remove-dynamic' target='main' title='remove'>
#remove
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Input.html#remove-dynamic' target='main' title='remove'>
#remove
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DataFieldProxy.html#remove-dynamic' target='main' title='remove'>
#remove
</a>
<small>
(CUI.DataFieldProxy)
</small>
</li>
<li>
<a href='class/CUI/DataTableNode.html#remove-dynamic' target='main' title='remove'>
#remove
</a>
<small>
(CUI.DataTableNode)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#remove-dynamic' target='main' title='remove'>
#remove
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/dom.html#remove-static' target='main' title='remove'>
.remove
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#removeAllRows-dynamic' target='main' title='removeAllRows'>
#removeAllRows
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/dom.html#removeAnimatedClone-static' target='main' title='removeAnimatedClone'>
.removeAnimatedClone
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#removeAttribute-static' target='main' title='removeAttribute'>
.removeAttribute
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Buttonbar.html#removeButtons-dynamic' target='main' title='removeButtons'>
#removeButtons
</a>
<small>
(CUI.Buttonbar)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#removeChild-dynamic' target='main' title='removeChild'>
#removeChild
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/dom.html#removeChildren-static' target='main' title='removeChildren'>
.removeChildren
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#removeClass-dynamic' target='main' title='removeClass'>
#removeClass
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumnRightFill.html#removeClass-dynamic' target='main' title='removeClass'>
#removeClass
</a>
<small>
(CUI.ListViewColumnRightFill)
</small>
</li>
<li>
<a href='class/CUI/Template.html#removeClass-dynamic' target='main' title='removeClass'>
#removeClass
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/dom.html#removeClass-static' target='main' title='removeClass'>
.removeClass
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#removeClass-dynamic' target='main' title='removeClass'>
#removeClass
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#removeClass-dynamic' target='main' title='removeClass'>
#removeClass
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#removeClassFromField-dynamic' target='main' title='removeClassFromField'>
#removeClassFromField
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#removeColumns-dynamic' target='main' title='removeColumns'>
#removeColumns
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/dom.html#removeData-static' target='main' title='removeData'>
.removeData
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#removeDeferredRow-dynamic' target='main' title='removeDeferredRow'>
#removeDeferredRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Template.html#removeEmptySlots-dynamic' target='main' title='removeEmptySlots'>
#removeEmptySlots
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#removeFile-dynamic' target='main' title='removeFile'>
#removeFile
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/util.html#removeFromArray-static' target='main' title='removeFromArray'>
.removeFromArray
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#removeFromDOM-dynamic' target='main' title='removeFromDOM'>
#removeFromDOM
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#removeHelper-dynamic' target='main' title='removeHelper'>
#removeHelper
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/Map.html#removeMarker-dynamic' target='main' title='removeMarker'>
#removeMarker
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Map.html#removeMarkers-dynamic' target='main' title='removeMarkers'>
#removeMarkers
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Element.html#removeOpt-dynamic' target='main' title='removeOpt'>
#removeOpt
</a>
<small>
(CUI.Element)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#removeRow-dynamic' target='main' title='removeRow'>
#removeRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#removeSelectedClass-dynamic' target='main' title='removeSelectedClass'>
#removeSelectedClass
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#removeSelectedMarker-dynamic' target='main' title='removeSelectedMarker'>
#removeSelectedMarker
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#removeSelectedMarker-dynamic' target='main' title='removeSelectedMarker'>
#removeSelectedMarker
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#removeSelectedMarker-dynamic' target='main' title='removeSelectedMarker'>
#removeSelectedMarker
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/OutputContent.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.OutputContent)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumnEmpty.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ListViewColumnEmpty)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/Options.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/IconMarker.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.IconMarker)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumnRightFill.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ListViewColumnRightFill)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/Output.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.Output)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/FormButton.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.FormButton)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/ListViewHeaderColumn.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ListViewHeaderColumn)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/MultiOutput.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.MultiOutput)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeHeaderNode.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ListViewTreeHeaderNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumnRowMoveHandle.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ListViewColumnRowMoveHandle)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.NodeMatch.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.DocumentBrowser.NodeMatch)
</small>
</li>
<li>
<a href='class/CUI/Input.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Checkbox.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.Checkbox)
</small>
</li>
<li>
<a href='class/CUI/MapInput.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.MapInput)
</small>
</li>
<li>
<a href='class/CUI/DataFieldProxy.html#render-dynamic' target='main' title='render'>
#render
</a>
<small>
(CUI.DataFieldProxy)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#renderAsBlock-dynamic' target='main' title='renderAsBlock'>
#renderAsBlock
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#renderAsBlock-dynamic' target='main' title='renderAsBlock'>
#renderAsBlock
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#renderAsBlock-dynamic' target='main' title='renderAsBlock'>
#renderAsBlock
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#renderAsBlock-dynamic' target='main' title='renderAsBlock'>
#renderAsBlock
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#renderContent-dynamic' target='main' title='renderContent'>
#renderContent
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#renderContent-dynamic' target='main' title='renderContent'>
#renderContent
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#renderHTML-dynamic' target='main' title='renderHTML'>
#renderHTML
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#renderHref-dynamic' target='main' title='renderHref'>
#renderHref
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#renderTable-dynamic' target='main' title='renderTable'>
#renderTable
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#renderTable-dynamic' target='main' title='renderTable'>
#renderTable
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/SimplePane.html#replace-dynamic' target='main' title='replace'>
#replace
</a>
<small>
(CUI.SimplePane)
</small>
</li>
<li>
<a href='class/CUI/Template.html#replace-dynamic' target='main' title='replace'>
#replace
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#replace-dynamic' target='main' title='replace'>
#replace
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/dom.html#replace-static' target='main' title='replace'>
.replace
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#replace-dynamic' target='main' title='replace'>
#replace
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#replace-dynamic' target='main' title='replace'>
#replace
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#replaceRow-dynamic' target='main' title='replaceRow'>
#replaceRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#replaceSelf-dynamic' target='main' title='replaceSelf'>
#replaceSelf
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/dom.html#replaceWith-static' target='main' title='replaceWith'>
.replaceWith
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#requestFullscreen-static' target='main' title='requestFullscreen'>
.requestFullscreen
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Listener.html#require-static' target='main' title='require'>
.require
</a>
<small>
(CUI.Listener)
</small>
</li>
<li>
<a href='class/CUI/Event.html#require-static' target='main' title='require'>
.require
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#reset-dynamic' target='main' title='reset'>
#reset
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#resetColWidth-dynamic' target='main' title='resetColWidth'>
#resetColWidth
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#resetDropZones-dynamic' target='main' title='resetDropZones'>
#resetDropZones
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#resetLayer-dynamic' target='main' title='resetLayer'>
#resetLayer
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#resetMargin-dynamic' target='main' title='resetMargin'>
#resetMargin
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#resetSize-dynamic' target='main' title='resetSize'>
#resetSize
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#resetTableAndFields-dynamic' target='main' title='resetTableAndFields'>
#resetTableAndFields
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI.html#resetTimeout-static' target='main' title='resetTimeout'>
.resetTimeout
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#resize-dynamic' target='main' title='resize'>
#resize
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#resize-dynamic' target='main' title='resize'>
#resize
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#resize-dynamic' target='main' title='resize'>
#resize
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI.html#resolvedPromise-static' target='main' title='resolvedPromise'>
.resolvedPromise
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#response-dynamic' target='main' title='response'>
#response
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#revertData-dynamic' target='main' title='revertData'>
#revertData
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/util.html#revertMap-static' target='main' title='revertMap'>
.revertMap
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI.html#revertMap-static' target='main' title='revertMap'>
.revertMap
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#rowAddClass-dynamic' target='main' title='rowAddClass'>
#rowAddClass
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/DataForm.html#rowHasUserData-dynamic' target='main' title='rowHasUserData'>
#rowHasUserData
</a>
<small>
(CUI.DataForm)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#rowRemoveClass-dynamic' target='main' title='rowRemoveClass'>
#rowRemoveClass
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Test.Test_MoveInArray.html#run-dynamic' target='main' title='run'>
#run
</a>
<small>
(CUI.Test.Test_MoveInArray)
</small>
</li>
<li>
<a href='class/CUI/Test_Promise.html#run-dynamic' target='main' title='run'>
#run
</a>
<small>
(CUI.Test_Promise)
</small>
</li>
<li>
<a href='class/CUI/Test.html#run-static' target='main' title='run'>
.run
</a>
<small>
(CUI.Test)
</small>
</li>
<li>
<a href='class/CUI/Test.html#run-dynamic' target='main' title='run'>
#run
</a>
<small>
(CUI.Test)
</small>
</li>
<li>
<a href='class/CUI/FileReader.html#save-static' target='main' title='save'>
.save
</a>
<small>
(CUI.FileReader)
</small>
</li>
<li>
<a href='class/CUI.html#scheduleCallback-static' target='main' title='scheduleCallback'>
.scheduleCallback
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI.html#scheduleCallbackCancel-static' target='main' title='scheduleCallbackCancel'>
.scheduleCallbackCancel
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/dom.html#scrollIntoView-static' target='main' title='scrollIntoView'>
.scrollIntoView
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#scrollIntoView-dynamic' target='main' title='scrollIntoView'>
#scrollIntoView
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#select-dynamic' target='main' title='select'>
#select
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#select-dynamic' target='main' title='select'>
#select
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Input.html#selectAll-dynamic' target='main' title='selectAll'>
#selectAll
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#selectRow-dynamic' target='main' title='selectRow'>
#selectRow
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#selectRowByDisplayIdx-dynamic' target='main' title='selectRowByDisplayIdx'>
#selectRowByDisplayIdx
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#selectRowById-dynamic' target='main' title='selectRowById'>
#selectRowById
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#setAbsolute-static' target='main' title='setAbsolute'>
.setAbsolute
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#setAbsolute-dynamic' target='main' title='setAbsolute'>
#setAbsolute
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setAbsolutePosition-static' target='main' title='setAbsolutePosition'>
.setAbsolutePosition
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Button.html#setActive-dynamic' target='main' title='setActive'>
#setActive
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ItemList.html#setActiveIdx-dynamic' target='main' title='setActiveIdx'>
#setActiveIdx
</a>
<small>
(CUI.ItemList)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#setAria-dynamic' target='main' title='setAria'>
#setAria
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setAria-static' target='main' title='setAria'>
.setAria
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setAttribute-static' target='main' title='setAttribute'>
.setAttribute
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setAttributeMap-static' target='main' title='setAttributeMap'>
.setAttributeMap
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#setBackdropContent-dynamic' target='main' title='setBackdropContent'>
#setBackdropContent
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Map.html#setButtonBar-dynamic' target='main' title='setButtonBar'>
#setButtonBar
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#setCenter-dynamic' target='main' title='setCenter'>
#setCenter
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#setCenter-dynamic' target='main' title='setCenter'>
#setCenter
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#setCenter-dynamic' target='main' title='setCenter'>
#setCenter
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#setCheckChangedValue-dynamic' target='main' title='setCheckChangedValue'>
#setCheckChangedValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataFieldProxy.html#setCheckChangedValue-dynamic' target='main' title='setCheckChangedValue'>
#setCheckChangedValue
</a>
<small>
(CUI.DataFieldProxy)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setClass-static' target='main' title='setClass'>
.setClass
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#setClass-dynamic' target='main' title='setClass'>
#setClass
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setClassOnMousemove-static' target='main' title='setClassOnMousemove'>
.setClassOnMousemove
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#setClock-dynamic' target='main' title='setClock'>
#setClock
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#setColWidth-dynamic' target='main' title='setColWidth'>
#setColWidth
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#setColspan-dynamic' target='main' title='setColspan'>
#setColspan
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#setColspan-dynamic' target='main' title='setColspan'>
#setColspan
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#setColumn-dynamic' target='main' title='setColumn'>
#setColumn
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#setColumnIdx-dynamic' target='main' title='setColumnIdx'>
#setColumnIdx
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/Label.html#setContent-dynamic' target='main' title='setContent'>
#setContent
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/Panel.html#setContent-dynamic' target='main' title='setContent'>
#setContent
</a>
<small>
(CUI.Panel)
</small>
</li>
<li>
<a href='class/CUI/OutputContent.html#setContent-dynamic' target='main' title='setContent'>
#setContent
</a>
<small>
(CUI.OutputContent)
</small>
</li>
<li>
<a href='class/CUI/Modal.html#setContent-dynamic' target='main' title='setContent'>
#setContent
</a>
<small>
(CUI.Modal)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#setContent-dynamic' target='main' title='setContent'>
#setContent
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Block.html#setContent-dynamic' target='main' title='setContent'>
#setContent
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/Input.html#setContentSize-dynamic' target='main' title='setContentSize'>
#setContentSize
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Event.html#setCurrentTarget-dynamic' target='main' title='setCurrentTarget'>
#setCurrentTarget
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#setCursor-dynamic' target='main' title='setCursor'>
#setCursor
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#setData-dynamic' target='main' title='setData'>
#setData
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#setData-dynamic' target='main' title='setData'>
#setData
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Select.html#setData-dynamic' target='main' title='setData'>
#setData
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/FormModal.html#setData-dynamic' target='main' title='setData'>
#setData
</a>
<small>
(CUI.FormModal)
</small>
</li>
<li>
<a href='class/CUI/Options.html#setData-dynamic' target='main' title='setData'>
#setData
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/ObjectDumperNode.html#setData-dynamic' target='main' title='setData'>
#setData
</a>
<small>
(CUI.ObjectDumperNode)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#setData-dynamic' target='main' title='setData'>
#setData
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#setDataOnInputs-dynamic' target='main' title='setDataOnInputs'>
#setDataOnInputs
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#setDataOnOthers-dynamic' target='main' title='setDataOnOthers'>
#setDataOnOthers
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#setDataOnOthers-dynamic' target='main' title='setDataOnOthers'>
#setDataOnOthers
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#setDigiClock-dynamic' target='main' title='setDigiClock'>
#setDigiClock
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setDimension-static' target='main' title='setDimension'>
.setDimension
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setDimensions-static' target='main' title='setDimensions'>
.setDimensions
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#setDropClassByEvent-static' target='main' title='setDropClassByEvent'>
.setDropClassByEvent
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#setElement-dynamic' target='main' title='setElement'>
#setElement
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumnRightFill.html#setElement-dynamic' target='main' title='setElement'>
#setElement
</a>
<small>
(CUI.ListViewColumnRightFill)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#setElement-dynamic' target='main' title='setElement'>
#setElement
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumnRowMoveHandle.html#setElement-dynamic' target='main' title='setElement'>
#setElement
</a>
<small>
(CUI.ListViewColumnRowMoveHandle)
</small>
</li>
<li>
<a href='class/CUI/ListViewHeaderColumn.html#setElement-dynamic' target='main' title='setElement'>
#setElement
</a>
<small>
(CUI.ListViewHeaderColumn)
</small>
</li>
<li>
<a href='class/CUI/Movable.html#setElementCss-dynamic' target='main' title='setElementCss'>
#setElementCss
</a>
<small>
(CUI.Movable)
</small>
</li>
<li>
<a href='class/CUI/Button.html#setEnabled-dynamic' target='main' title='setEnabled'>
#setEnabled
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#setFather-dynamic' target='main' title='setFather'>
#setFather
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#setFooterLeft-dynamic' target='main' title='setFooterLeft'>
#setFooterLeft
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/Tabs.html#setFooterRight-dynamic' target='main' title='setFooterRight'>
#setFooterRight
</a>
<small>
(CUI.Tabs)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#setForm-dynamic' target='main' title='setForm'>
#setForm
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#setFormDepth-dynamic' target='main' title='setFormDepth'>
#setFormDepth
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Button.html#setGroup-dynamic' target='main' title='setGroup'>
#setGroup
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Block.html#setHeader-dynamic' target='main' title='setHeader'>
#setHeader
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/ButtonHref.html#setHref-dynamic' target='main' title='setHref'>
#setHref
</a>
<small>
(CUI.ButtonHref)
</small>
</li>
<li>
<a href='class/CUI/Button.html#setIcon-dynamic' target='main' title='setIcon'>
#setIcon
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Block.html#setIcon-dynamic' target='main' title='setIcon'>
#setIcon
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/Label.html#setIcon-dynamic' target='main' title='setIcon'>
#setIcon
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/Button.html#setIconRight-dynamic' target='main' title='setIconRight'>
#setIconRight
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#setInactive-dynamic' target='main' title='setInactive'>
#setInactive
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#setInputFormat-dynamic' target='main' title='setInputFormat'>
#setInputFormat
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#setInputFromMoment-dynamic' target='main' title='setInputFromMoment'>
#setInputFromMoment
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Input.html#setInputHint-dynamic' target='main' title='setInputHint'>
#setInputHint
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/MultiInput.html#setInputVisibility-dynamic' target='main' title='setInputVisibility'>
#setInputVisibility
</a>
<small>
(CUI.MultiInput)
</small>
</li>
<li>
<a href='class/CUI.html#setInterval-static' target='main' title='setInterval'>
.setInterval
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Input.html#setInvalidHint-dynamic' target='main' title='setInvalidHint'>
#setInvalidHint
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#setItemList-dynamic' target='main' title='setItemList'>
#setItemList
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#setKeys-dynamic' target='main' title='setKeys'>
#setKeys
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#setListView-dynamic' target='main' title='setListView'>
#setListView
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI.html#setLocalStorage-static' target='main' title='setLocalStorage'>
.setLocalStorage
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#setLocale-static' target='main' title='setLocale'>
.setLocale
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#setMax-dynamic' target='main' title='setMax'>
#setMax
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#setMin-dynamic' target='main' title='setMin'>
#setMin
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#setMomentFromInput-dynamic' target='main' title='setMomentFromInput'>
#setMomentFromInput
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Event.html#setNativeEvent-dynamic' target='main' title='setNativeEvent'>
#setNativeEvent
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/MouseEvent.html#setNativeEvent-dynamic' target='main' title='setNativeEvent'>
#setNativeEvent
</a>
<small>
(CUI.MouseEvent)
</small>
</li>
<li>
<a href='class/CUI/TouchEvent.html#setNativeEvent-dynamic' target='main' title='setNativeEvent'>
#setNativeEvent
</a>
<small>
(CUI.TouchEvent)
</small>
</li>
<li>
<a href='class/CUI/LayerPane.html#setPane-dynamic' target='main' title='setPane'>
#setPane
</a>
<small>
(CUI.LayerPane)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationDialog.html#setPane-dynamic' target='main' title='setPane'>
#setPane
</a>
<small>
(CUI.ConfirmationDialog)
</small>
</li>
<li>
<a href='class/CUI/Input.html#setPlaceholder-dynamic' target='main' title='setPlaceholder'>
#setPlaceholder
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#setPreferredKey-dynamic' target='main' title='setPreferredKey'>
#setPreferredKey
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#setPrintClock-dynamic' target='main' title='setPrintClock'>
#setPrintClock
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/ListViewColumn.html#setRow-dynamic' target='main' title='setRow'>
#setRow
</a>
<small>
(CUI.ListViewColumn)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#setRowIdx-dynamic' target='main' title='setRowIdx'>
#setRowIdx
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/ListViewRow.html#setSelectable-dynamic' target='main' title='setSelectable'>
#setSelectable
</a>
<small>
(CUI.ListViewRow)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#setSelectedMarkerPosition-dynamic' target='main' title='setSelectedMarkerPosition'>
#setSelectedMarkerPosition
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#setSelectedMarkerPosition-dynamic' target='main' title='setSelectedMarkerPosition'>
#setSelectedMarkerPosition
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#setSelectedMarkerPosition-dynamic' target='main' title='setSelectedMarkerPosition'>
#setSelectedMarkerPosition
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#setSelectedNode-dynamic' target='main' title='setSelectedNode'>
#setSelectedNode
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Input.html#setSelection-dynamic' target='main' title='setSelection'>
#setSelection
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI.html#setSessionStorage-static' target='main' title='setSessionStorage'>
.setSessionStorage
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Button.html#setSize-dynamic' target='main' title='setSize'>
#setSize
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Input.html#setSpellcheck-dynamic' target='main' title='setSpellcheck'>
#setSpellcheck
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/ProgressMeter.html#setState-dynamic' target='main' title='setState'>
#setState
</a>
<small>
(CUI.ProgressMeter)
</small>
</li>
<li>
<a href='class/CUI/InputBlock.html#setString-dynamic' target='main' title='setString'>
#setString
</a>
<small>
(CUI.InputBlock)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setStyle-static' target='main' title='setStyle'>
.setStyle
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setStyleOne-static' target='main' title='setStyleOne'>
.setStyleOne
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#setStylePx-static' target='main' title='setStylePx'>
.setStylePx
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Event.html#setTarget-dynamic' target='main' title='setTarget'>
#setTarget
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Output.html#setText-dynamic' target='main' title='setText'>
#setText
</a>
<small>
(CUI.Output)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationDialog.html#setText-dynamic' target='main' title='setText'>
#setText
</a>
<small>
(CUI.ConfirmationDialog)
</small>
</li>
<li>
<a href='class/CUI/Button.html#setText-dynamic' target='main' title='setText'>
#setText
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Block.html#setText-dynamic' target='main' title='setText'>
#setText
</a>
<small>
(CUI.Block)
</small>
</li>
<li>
<a href='class/CUI/Label.html#setText-dynamic' target='main' title='setText'>
#setText
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/Label.html#setTextMaxChars-dynamic' target='main' title='setTextMaxChars'>
#setTextMaxChars
</a>
<small>
(CUI.Label)
</small>
</li>
<li>
<a href='class/CUI/Button.html#setTextMaxChars-dynamic' target='main' title='setTextMaxChars'>
#setTextMaxChars
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI.html#setTimeout-static' target='main' title='setTimeout'>
.setTimeout
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#setTimezone-dynamic' target='main' title='setTimezone'>
#setTimezone
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#setTree-dynamic' target='main' title='setTree'>
#setTree
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#setUrl-dynamic' target='main' title='setUrl'>
#setUrl
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Input.html#setValidHint-dynamic' target='main' title='setValidHint'>
#setValidHint
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/NumberInput.html#setValue-dynamic' target='main' title='setValue'>
#setValue
</a>
<small>
(CUI.NumberInput)
</small>
</li>
<li>
<a href='class/CUI/Slider.html#setValue-dynamic' target='main' title='setValue'>
#setValue
</a>
<small>
(CUI.Slider)
</small>
</li>
<li>
<a href='class/CUI/Options.html#setValue-dynamic' target='main' title='setValue'>
#setValue
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/Input.html#setValue-dynamic' target='main' title='setValue'>
#setValue
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#setValue-dynamic' target='main' title='setValue'>
#setValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#setVisible-dynamic' target='main' title='setVisible'>
#setVisible
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#setZoom-dynamic' target='main' title='setZoom'>
#setZoom
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#setZoom-dynamic' target='main' title='setZoom'>
#setZoom
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#setZoom-dynamic' target='main' title='setZoom'>
#setZoom
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Event.html#shiftKey-dynamic' target='main' title='shiftKey'>
#shiftKey
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/WaitBlock.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.WaitBlock)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Tab.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.Tab)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Icon.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.Icon)
</small>
</li>
<li>
<a href='class/CUI/Menu.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.Menu)
</small>
</li>
<li>
<a href='class/CUI/Template.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/Button.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationChoice.html#show-dynamic' target='main' title='show'>
#show
</a>
<small>
(CUI.ConfirmationChoice)
</small>
</li>
<li>
<a href='class/CUI/Input.html#showCursor-dynamic' target='main' title='showCursor'>
#showCursor
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/dom.html#showElement-static' target='main' title='showElement'>
.showElement
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#showHorizontalTargetMarker-dynamic' target='main' title='showHorizontalTargetMarker'>
#showHorizontalTargetMarker
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeRowMove.html#showHorizontalTargetMarker-dynamic' target='main' title='showHorizontalTargetMarker'>
#showHorizontalTargetMarker
</a>
<small>
(CUI.ListViewTreeRowMove)
</small>
</li>
<li>
<a href='class/CUI/ListViewRowMove.html#showHorizontalTargetMarkerSetTarget-dynamic' target='main' title='showHorizontalTargetMarkerSetTarget'>
#showHorizontalTargetMarkerSetTarget
</a>
<small>
(CUI.ListViewRowMove)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#showMarkers-dynamic' target='main' title='showMarkers'>
#showMarkers
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#showMarkers-dynamic' target='main' title='showMarkers'>
#showMarkers
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#showMarkers-dynamic' target='main' title='showMarkers'>
#showMarkers
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Password.html#showPassword-dynamic' target='main' title='showPassword'>
#showPassword
</a>
<small>
(CUI.Password)
</small>
</li>
<li>
<a href='class/CUI/DocumentBrowser.html#showSearch-dynamic' target='main' title='showSearch'>
#showSearch
</a>
<small>
(CUI.DocumentBrowser)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#showSpinner-dynamic' target='main' title='showSpinner'>
#showSpinner
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/Tooltip.html#showTimeout-dynamic' target='main' title='showTimeout'>
#showTimeout
</a>
<small>
(CUI.Tooltip)
</small>
</li>
<li>
<a href='class/CUI/Layer.html#showTimeout-dynamic' target='main' title='showTimeout'>
#showTimeout
</a>
<small>
(CUI.Layer)
</small>
</li>
<li>
<a href='class/CUI/MultiInputControl.html#showUserControl-dynamic' target='main' title='showUserControl'>
#showUserControl
</a>
<small>
(CUI.MultiInputControl)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#showWaitBlock-dynamic' target='main' title='showWaitBlock'>
#showWaitBlock
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#sort-dynamic' target='main' title='sort'>
#sort
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/dom.html#source-static' target='main' title='source'>
.source
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#space-static' target='main' title='space'>
.space
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#span-static' target='main' title='span'>
.span
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#start-dynamic' target='main' title='start'>
#start
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI.html#start-static' target='main' title='start'>
.start
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#start-dynamic' target='main' title='start'>
#start
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#startFillScreen-dynamic' target='main' title='startFillScreen'>
#startFillScreen
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#startLayout-dynamic' target='main' title='startLayout'>
#startLayout
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Button.html#startSpinner-dynamic' target='main' title='startSpinner'>
#startSpinner
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI.html#startWebdriverTest-static' target='main' title='startWebdriverTest'>
.startWebdriverTest
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#start_drag-dynamic' target='main' title='start_drag'>
#start_drag
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#start_drag-dynamic' target='main' title='start_drag'>
#start_drag
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#start_drag-dynamic' target='main' title='start_drag'>
#start_drag
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#start_drag-dynamic' target='main' title='start_drag'>
#start_drag
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Resizable.html#start_drag-dynamic' target='main' title='start_drag'>
#start_drag
</a>
<small>
(CUI.Resizable)
</small>
</li>
<li>
<a href='class/CUI/Movable.html#start_drag-dynamic' target='main' title='start_drag'>
#start_drag
</a>
<small>
(CUI.Movable)
</small>
</li>
<li>
<a href='class/CUI/Dragscroll.html#start_drag-dynamic' target='main' title='start_drag'>
#start_drag
</a>
<small>
(CUI.Dragscroll)
</small>
</li>
<li>
<a href='class/CUI/Promise.html#state-dynamic' target='main' title='state'>
#state
</a>
<small>
(CUI.Promise)
</small>
</li>
<li>
<a href='class/CUI/Deferred.html#state-dynamic' target='main' title='state'>
#state
</a>
<small>
(CUI.Deferred)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#status-dynamic' target='main' title='status'>
#status
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/XHR.html#statusText-dynamic' target='main' title='statusText'>
#statusText
</a>
<small>
(CUI.XHR)
</small>
</li>
<li>
<a href='class/CUI/Event.html#stop-dynamic' target='main' title='stop'>
#stop
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/Event.html#stopImmediatePropagation-dynamic' target='main' title='stopImmediatePropagation'>
#stopImmediatePropagation
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/ListView.html#stopLayout-dynamic' target='main' title='stopLayout'>
#stopLayout
</a>
<small>
(CUI.ListView)
</small>
</li>
<li>
<a href='class/CUI/Event.html#stopPropagation-dynamic' target='main' title='stopPropagation'>
#stopPropagation
</a>
<small>
(CUI.Event)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#stopQueuing-dynamic' target='main' title='stopQueuing'>
#stopQueuing
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/Button.html#stopSpinner-dynamic' target='main' title='stopSpinner'>
#stopSpinner
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#stop_drag-dynamic' target='main' title='stop_drag'>
#stop_drag
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/ListViewColResize.html#stop_drag-dynamic' target='main' title='stop_drag'>
#stop_drag
</a>
<small>
(CUI.ListViewColResize)
</small>
</li>
<li>
<a href='class/CUI/Lasso.html#stop_drag-dynamic' target='main' title='stop_drag'>
#stop_drag
</a>
<small>
(CUI.Lasso)
</small>
</li>
<li>
<a href='class/CUI/Sortable.html#stop_drag-dynamic' target='main' title='stop_drag'>
#stop_drag
</a>
<small>
(CUI.Sortable)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#storeState-dynamic' target='main' title='storeState'>
#storeState
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/Input.html#storeValue-dynamic' target='main' title='storeValue'>
#storeValue
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/Select.html#storeValue-dynamic' target='main' title='storeValue'>
#storeValue
</a>
<small>
(CUI.Select)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#storeValue-dynamic' target='main' title='storeValue'>
#storeValue
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#storeValue-dynamic' target='main' title='storeValue'>
#storeValue
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#storeValue-dynamic' target='main' title='storeValue'>
#storeValue
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/Options.html#storeValue-dynamic' target='main' title='storeValue'>
#storeValue
</a>
<small>
(CUI.Options)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#stretch-dynamic' target='main' title='stretch'>
#stretch
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI.html#stringMapReplace-static' target='main' title='stringMapReplace'>
.stringMapReplace
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#stringMapReplace-static' target='main' title='stringMapReplace'>
.stringMapReplace
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/Draggable.html#supportTouch-dynamic' target='main' title='supportTouch'>
#supportTouch
</a>
<small>
(CUI.Draggable)
</small>
</li>
<li>
<a href='class/CUI/Dragscroll.html#supportTouch-dynamic' target='main' title='supportTouch'>
#supportTouch
</a>
<small>
(CUI.Dragscroll)
</small>
</li>
<li>
<a href='class/CUI/dom.html#syncAnimatedClone-static' target='main' title='syncAnimatedClone'>
.syncAnimatedClone
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#syncDropHelper-dynamic' target='main' title='syncDropHelper'>
#syncDropHelper
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/Droppable.html#syncTargetHelper-dynamic' target='main' title='syncTargetHelper'>
#syncTargetHelper
</a>
<small>
(CUI.Droppable)
</small>
</li>
<li>
<a href='class/CUI/dom.html#table-static' target='main' title='table'>
.table
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#table_one_row-static' target='main' title='table_one_row'>
.table_one_row
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#td-static' target='main' title='td'>
.td
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Test.html#test-dynamic' target='main' title='test'>
#test
</a>
<small>
(CUI.Test)
</small>
</li>
<li>
<a href='class/CUI/Template.html#text-dynamic' target='main' title='text'>
#text
</a>
<small>
(CUI.Template)
</small>
</li>
<li>
<a href='class/CUI/dom.html#text-static' target='main' title='text'>
.text
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#text-dynamic' target='main' title='text'>
#text
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/dom.html#textEmpty-static' target='main' title='textEmpty'>
.textEmpty
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#th-static' target='main' title='th'>
.th
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#toCamel-static' target='main' title='toCamel'>
.toCamel
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#toClass-static' target='main' title='toClass'>
.toClass
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#toDash-static' target='main' title='toDash'>
.toDash
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/util.html#toDot-static' target='main' title='toDot'>
.toDot
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/IconMarker.html#toHtml-dynamic' target='main' title='toHtml'>
#toHtml
</a>
<small>
(CUI.IconMarker)
</small>
</li>
<li>
<a href='class/CUI/util.html#toHtml-static' target='main' title='toHtml'>
.toHtml
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#toMoment-static' target='main' title='toMoment'>
.toMoment
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/InputBlock.html#toString-dynamic' target='main' title='toString'>
#toString
</a>
<small>
(CUI.InputBlock)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#toString-dynamic' target='main' title='toString'>
#toString
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/CSVData.html#toText-dynamic' target='main' title='toText'>
#toText
</a>
<small>
(CUI.CSVData)
</small>
</li>
<li>
<a href='class/CUI/Button.html#toggle-dynamic' target='main' title='toggle'>
#toggle
</a>
<small>
(CUI.Button)
</small>
</li>
<li>
<a href='class/CUI/dom.html#toggleClass-static' target='main' title='toggleClass'>
.toggleClass
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Pane.html#toggleFillScreen-dynamic' target='main' title='toggleFillScreen'>
#toggleFillScreen
</a>
<small>
(CUI.Pane)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#toggleNode-dynamic' target='main' title='toggleNode'>
#toggleNode
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/dom.html#tr-static' target='main' title='tr'>
.tr
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#tr_one_row-static' target='main' title='tr_one_row'>
.tr_one_row
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Events.html#trigger-static' target='main' title='trigger'>
.trigger
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/FormPopover.html#triggerDataChanged-dynamic' target='main' title='triggerDataChanged'>
#triggerDataChanged
</a>
<small>
(CUI.FormPopover)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#triggerDataChanged-dynamic' target='main' title='triggerDataChanged'>
#triggerDataChanged
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#triggerNodeDeselect-dynamic' target='main' title='triggerNodeDeselect'>
#triggerNodeDeselect
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/ListViewTree.html#triggerNodeSelect-dynamic' target='main' title='triggerNodeSelect'>
#triggerNodeSelect
</a>
<small>
(CUI.ListViewTree)
</small>
</li>
<li>
<a href='class/CUI/dom.html#ul-static' target='main' title='ul'>
.ul
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#undo-dynamic' target='main' title='undo'>
#undo
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#undo-dynamic' target='main' title='undo'>
#undo
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DOMElement.html#unregisterDOMElement-dynamic' target='main' title='unregisterDOMElement'>
#unregisterDOMElement
</a>
<small>
(CUI.DOMElement)
</small>
</li>
<li>
<a href='class/CUI/Events.html#unregisterListener-static' target='main' title='unregisterListener'>
.unregisterListener
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#unregisterTableListeners-dynamic' target='main' title='unregisterTableListeners'>
#unregisterTableListeners
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Layout.html#unsetAbsolute-dynamic' target='main' title='unsetAbsolute'>
#unsetAbsolute
</a>
<small>
(CUI.Layout)
</small>
</li>
<li>
<a href='class/CUI/FlexHandle.html#unstretch-dynamic' target='main' title='unstretch'>
#unstretch
</a>
<small>
(CUI.FlexHandle)
</small>
</li>
<li>
<a href='class/CUI/ListViewTreeNode.html#update-dynamic' target='main' title='update'>
#update
</a>
<small>
(CUI.ListViewTreeNode)
</small>
</li>
<li>
<a href='class/CUI/DataTable.html#updateButtons-dynamic' target='main' title='updateButtons'>
#updateButtons
</a>
<small>
(CUI.DataTable)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#updateCalendar-dynamic' target='main' title='updateCalendar'>
#updateCalendar
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/DataField.html#updateData-dynamic' target='main' title='updateData'>
#updateData
</a>
<small>
(CUI.DataField)
</small>
</li>
<li>
<a href='class/CUI/DateTime.html#updateDateTimePicker-dynamic' target='main' title='updateDateTimePicker'>
#updateDateTimePicker
</a>
<small>
(CUI.DateTime)
</small>
</li>
<li>
<a href='class/CUI/SimpleForm.html#updateHint-dynamic' target='main' title='updateHint'>
#updateHint
</a>
<small>
(CUI.SimpleForm)
</small>
</li>
<li>
<a href='class/CUI/Input.html#updateInputState-dynamic' target='main' title='updateInputState'>
#updateInputState
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/MarkdownInput.html#updatePreview-dynamic' target='main' title='updatePreview'>
#updatePreview
</a>
<small>
(CUI.MarkdownInput)
</small>
</li>
<li>
<a href='class/CUI/Map.html#updateSelectedMarkerOptions-dynamic' target='main' title='updateSelectedMarkerOptions'>
#updateSelectedMarkerOptions
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Input.html#updateSelection-dynamic' target='main' title='updateSelection'>
#updateSelection
</a>
<small>
(CUI.Input)
</small>
</li>
<li>
<a href='class/CUI/ConfirmationDialog.html#updateText-dynamic' target='main' title='updateText'>
#updateText
</a>
<small>
(CUI.ConfirmationDialog)
</small>
</li>
<li>
<a href='class/CUI/FileUploadFile.html#upload-dynamic' target='main' title='upload'>
#upload
</a>
<small>
(CUI.FileUploadFile)
</small>
</li>
<li>
<a href='class/CUI/FileReaderFile.html#upload-dynamic' target='main' title='upload'>
#upload
</a>
<small>
(CUI.FileReaderFile)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#uploadFile-dynamic' target='main' title='uploadFile'>
#uploadFile
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI/FileReader.html#uploadFile-dynamic' target='main' title='uploadFile'>
#uploadFile
</a>
<small>
(CUI.FileReader)
</small>
</li>
<li>
<a href='class/CUI/FileUpload.html#uploadNextFiles-dynamic' target='main' title='uploadNextFiles'>
#uploadNextFiles
</a>
<small>
(CUI.FileUpload)
</small>
</li>
<li>
<a href='class/CUI.html#utf8ArrayBufferToString-static' target='main' title='utf8ArrayBufferToString'>
.utf8ArrayBufferToString
</a>
<small>
(CUI)
</small>
</li>
<li>
<a href='class/CUI/util.html#utoa-static' target='main' title='utoa'>
.utoa
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/dom.html#video-static' target='main' title='video'>
.video
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/Events.html#wait-static' target='main' title='wait'>
.wait
</a>
<small>
(CUI.Events)
</small>
</li>
<li>
<a href='class/CUI/dom.html#waitForDOMInsert-static' target='main' title='waitForDOMInsert'>
.waitForDOMInsert
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/dom.html#waitForDOMRemove-static' target='main' title='waitForDOMRemove'>
.waitForDOMRemove
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/WheelEvent.html#wheelDeltaY-dynamic' target='main' title='wheelDeltaY'>
#wheelDeltaY
</a>
<small>
(CUI.WheelEvent)
</small>
</li>
<li>
<a href='class/CUI/dom.html#width-static' target='main' title='width'>
.width
</a>
<small>
(CUI.dom)
</small>
</li>
<li>
<a href='class/CUI/util.html#xor-static' target='main' title='xor'>
.xor
</a>
<small>
(CUI.util)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#zoomIn-dynamic' target='main' title='zoomIn'>
#zoomIn
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#zoomIn-dynamic' target='main' title='zoomIn'>
#zoomIn
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#zoomIn-dynamic' target='main' title='zoomIn'>
#zoomIn
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/Map.html#zoomOut-dynamic' target='main' title='zoomOut'>
#zoomOut
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#zoomOut-dynamic' target='main' title='zoomOut'>
#zoomOut
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#zoomOut-dynamic' target='main' title='zoomOut'>
#zoomOut
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
<li>
<a href='class/CUI/Map.html#zoomToFitAllMarkers-dynamic' target='main' title='zoomToFitAllMarkers'>
#zoomToFitAllMarkers
</a>
<small>
(CUI.Map)
</small>
</li>
<li>
<a href='class/CUI/LeafletMap.html#zoomToFitAllMarkers-dynamic' target='main' title='zoomToFitAllMarkers'>
#zoomToFitAllMarkers
</a>
<small>
(CUI.LeafletMap)
</small>
</li>
<li>
<a href='class/CUI/GoogleMap.html#zoomToFitAllMarkers-dynamic' target='main' title='zoomToFitAllMarkers'>
#zoomToFitAllMarkers
</a>
<small>
(CUI.GoogleMap)
</small>
</li>
</ul>
</div>
</body>
</html> | programmfabrik/coffeescript-ui | doc/method_list.html | HTML | mit | 451,802 | [
30522,
1026,
999,
9986,
13874,
16129,
1028,
1026,
16129,
1028,
1026,
2132,
1028,
1026,
18804,
25869,
13462,
1027,
1005,
21183,
2546,
1011,
1022,
1005,
1028,
1026,
2516,
1028,
4157,
22483,
1011,
21318,
12653,
1026,
1013,
2516,
1028,
1026,
58... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
require 'set'
require 'tsort'
module Librarian
class ManifestSet
class GraphHash < Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
self[node].each(&block)
end
end
class << self
def shallow_strip(manifests, names)
new(manifests).shallow_strip!(names).send(method_for(manifests))
end
def deep_strip(manifests, names)
new(manifests).deep_strip!(names).send(method_for(manifests))
end
def shallow_keep(manifests, names)
new(manifests).shallow_keep!(names).send(method_for(manifests))
end
def deep_keep(manifests, names)
new(manifests).deep_keep!(names).send(method_for(manifests))
end
def sort(manifests)
manifests = Hash[manifests.map{|m| [m.name, m]}] if Array === manifests
manifest_pairs = GraphHash[manifests.map{|k, m| [k, m.dependencies.map{|d| d.name}]}]
manifest_names = manifest_pairs.tsort
manifest_names.map{|n| manifests[n]}
end
private
def method_for(manifests)
case manifests
when Hash
:to_hash
when Array
:to_a
end
end
end
def initialize(manifests)
self.index = Hash === manifests ? manifests.dup : Hash[manifests.map{|m| [m.name, m]}]
end
def to_a
index.values
end
def to_hash
index.dup
end
def dup
self.class.new(index)
end
def shallow_strip(names)
dup.shallow_strip!(names)
end
def shallow_strip!(names)
assert_strings!(names)
names.each do |name|
index.delete(name)
end
self
end
def deep_strip(names)
dup.deep_strip!(names)
end
def deep_strip!(names)
names = Array === names ? names.dup : names.to_a
assert_strings!(names)
strippables = dependencies_of(names)
shallow_strip!(strippables)
self
end
def shallow_keep(names)
dup.shallow_keep!(names)
end
def shallow_keep!(names)
assert_strings!(names)
names = Set.new(names) unless Set === names
index.reject! { |k, v| !names.include?(k) }
self
end
def deep_keep(names)
dup.conservative_strip!(names)
end
def deep_keep!(names)
names = Array === names ? names.dup : names.to_a
assert_strings!(names)
keepables = dependencies_of(names)
shallow_keep!(keepables)
self
end
def consistent?
index.values.all? do |manifest|
in_compliance_with?(manifest.dependencies)
end
end
def in_compliance_with?(dependencies)
dependencies.all? do |dependency|
manifest = index[dependency.name]
manifest && manifest.satisfies?(dependency)
end
end
private
attr_accessor :index
def assert_strings!(names)
non_strings = names.reject{|name| String === name}
non_strings.empty? or raise TypeError, "names must all be strings"
end
# Straightforward breadth-first graph traversal algorithm.
def dependencies_of(names)
names = Array === names ? names.dup : names.to_a
assert_strings!(names)
deps = Set.new
until names.empty?
name = names.shift
next if deps.include?(name)
deps << name
names.concat index[name].dependencies.map(&:name)
end
deps.to_a
end
end
end
| phinze/librarian-puppet | vendor/librarian/lib/librarian/manifest_set.rb | Ruby | mit | 3,434 | [
30522,
5478,
1005,
2275,
1005,
5478,
1005,
24529,
11589,
1005,
11336,
13850,
2465,
19676,
13462,
2465,
10629,
14949,
2232,
1026,
23325,
2421,
24529,
11589,
14593,
24529,
11589,
1035,
2169,
1035,
13045,
2169,
1035,
3145,
13366,
24529,
11589,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
namespace EloquentJs\ScriptGenerator\Model;
class Metadata
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $endpoint;
/**
* @var array
*/
public $dates;
/**
* @var array
*/
public $scopes;
/**
* @var array
*/
public $relations;
/**
* @param string $name
* @param string $endpoint
* @param array $dates
* @param array $scopes
*/
public function __construct($name, $endpoint, array $dates = [], array $scopes = [], array $relations = [])
{
$this->name = $name;
$this->endpoint = $endpoint;
$this->dates = $dates;
$this->scopes = $scopes;
$this->relations = $relations;
}
}
| parsnick/eloquentjs | src/ScriptGenerator/Model/Metadata.php | PHP | mit | 772 | [
30522,
1026,
1029,
25718,
3415,
15327,
3449,
2080,
15417,
22578,
1032,
5896,
6914,
6906,
4263,
1032,
2944,
1025,
2465,
27425,
1063,
1013,
1008,
1008,
1008,
1030,
13075,
5164,
1008,
1013,
2270,
1002,
2171,
1025,
1013,
1008,
1008,
1008,
1030,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
if (!$loader = @require_once __DIR__ . '/../vendor/autoload.php') {
die("You must set up the project dependencies, run the following commands:
wget http://getcomposer.org/composer.phar
php composer.phar install --dev --prefer-source
");
}
/* @var $loader \Composer\Autoload\ClassLoader */
$loader->add('Doctrine\Tests', __DIR__.'/../vendor/doctrine/orm/tests');
| giosh94mhz/GeonamesBundle | Tests/bootstrap.php | PHP | mit | 374 | [
30522,
1026,
1029,
25718,
2065,
1006,
999,
1002,
7170,
2121,
1027,
1030,
5478,
1035,
2320,
1035,
1035,
16101,
1035,
1035,
1012,
1005,
1013,
1012,
1012,
1013,
21431,
1013,
8285,
11066,
1012,
25718,
1005,
1007,
1063,
3280,
1006,
1000,
2017,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
package runner
import (
"strings"
"testing"
"gopkg.in/stretchr/testify.v1/assert"
)
// https://wfuzz.googlecode.com/svn/trunk/wordlist/Injections/SQL.txt
var fuzzList = `
'
"
#
-
--
'%20--
--';
'%20;
=%20'
=%20;
=%20--
\x23
\x27
\x3D%20\x3B'
\x3D%20\x27
\x27\x4F\x52 SELECT *
\x27\x6F\x72 SELECT *
'or%20select *
admin'--
<>"'%;)(&+
'%20or%20''='
'%20or%20'x'='x
"%20or%20"x"="x
')%20or%20('x'='x
0 or 1=1
' or 0=0 --
" or 0=0 --
or 0=0 --
' or 0=0 #
" or 0=0 #
or 0=0 #
' or 1=1--
" or 1=1--
' or '1'='1'--
"' or 1 --'"
or 1=1--
or%201=1
or%201=1 --
' or 1=1 or ''='
" or 1=1 or ""="
' or a=a--
" or "a"="a
') or ('a'='a
") or ("a"="a
hi" or "a"="a
hi" or 1=1 --
hi' or 1=1 --
hi' or 'a'='a
hi') or ('a'='a
hi") or ("a"="a
'hi' or 'x'='x';
@variable
,@variable
PRINT
PRINT @@variable
select
insert
as
or
procedure
limit
order by
asc
desc
delete
update
distinct
having
truncate
replace
like
handler
bfilename
' or username like '%
' or uname like '%
' or userid like '%
' or uid like '%
' or user like '%
exec xp
exec sp
'; exec master..xp_cmdshell
'; exec xp_regread
t'exec master..xp_cmdshell 'nslookup www.google.com'--
--sp_password
\x27UNION SELECT
' UNION SELECT
' UNION ALL SELECT
' or (EXISTS)
' (select top 1
'||UTL_HTTP.REQUEST
1;SELECT%20*
to_timestamp_tz
tz_offset
<>"'%;)(&+
'%20or%201=1
%27%20or%201=1
%20$(sleep%2050)
%20'sleep%2050'
char%4039%41%2b%40SELECT
'%20OR
'sqlattempt1
(sqlattempt2)
|
%7C
*|
%2A%7C
*(|(mail=*))
%2A%28%7C%28mail%3D%2A%29%29
*(|(objectclass=*))
%2A%28%7C%28objectclass%3D%2A%29%29
(
%28
)
%29
&
%26
!
%21
' or 1=1 or ''='
' or ''='
x' or 1=1 or 'x'='y
/
//
//*
*/*
`
func init() {
fuzzList += "\b"
fuzzList += "\n"
fuzzList += "\n"
fuzzList += "\r"
fuzzList += "\t"
fuzzList += "Hello\tworld"
}
func TestSQLInjectionBuilder(t *testing.T) {
for _, fuzz := range strings.Split(fuzzList, "\n") {
if fuzz == "" {
continue
}
fuzz = strings.Trim(fuzz, " \t")
var id int64
var comment string
err := testDB.
InsertInto("comments").
Columns("comment").
Values(fuzz).
SetIsInterpolated(true).
Returning("id", "comment").
QueryScalar(&id, &comment)
assert.True(t, id > 0)
assert.Equal(t, fuzz, comment)
var result int
err = testDB.SQL(`
SELECT 42
FROM comments
WHERE id = $1 AND comment = $2
`, id, comment).QueryScalar(&result)
assert.NoError(t, err)
assert.Equal(t, 42, result)
}
}
func TestSQLInjectionSQL(t *testing.T) {
for _, fuzz := range strings.Split(fuzzList, "\n") {
if fuzz == "" {
continue
}
fuzz = strings.Trim(fuzz, " \t")
var id int64
var comment string
err := testDB.
SQL(`
INSERT INTO comments (comment)
VALUES ($1)
RETURNING id, comment
`, fuzz).
SetIsInterpolated(true).
QueryScalar(&id, &comment)
assert.True(t, id > 0)
assert.Equal(t, fuzz, comment)
var result int
err = testDB.SQL(`
SELECT 42
FROM comments
WHERE id = $1 AND comment = $2
`, id, comment).QueryScalar(&result)
assert.NoError(t, err)
assert.Equal(t, 42, result)
}
}
| mgutz/dat | sqlx-runner/sqli_test.go | GO | mit | 3,048 | [
30522,
7427,
5479,
12324,
1006,
1000,
7817,
1000,
1000,
5604,
1000,
1000,
2175,
2361,
2243,
2290,
1012,
1999,
1013,
7683,
2099,
1013,
19919,
1012,
1058,
2487,
1013,
20865,
1000,
1007,
1013,
1013,
16770,
1024,
1013,
1013,
1059,
11263,
13213,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
TODO - Lista de atividades pendentes
====================================
Para o primeiro release
-----------------------
* Validar números decimais no valor do item (Bug)
* Implementar serviço "InutilizacaoNFE"
* Testar emissão de NFe com certificado A1
Outros
------
* Migrar XMLs para layout V4.0
* Implementar filtros de NF na tela principal (lnfe_window)
* Implementar seleção de datas por calendario
* Implementar exportação DANFE
Pablo G. Gallardo
| icaroraci/livrenfe | TODO.md | Markdown | lgpl-3.0 | 468 | [
30522,
28681,
2080,
1011,
2862,
2050,
2139,
2012,
12848,
27893,
2229,
7279,
16454,
2229,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# coding=utf-8
"""
Collects all number values from the db.serverStatus() command, other
values are ignored.
#### Dependencies
* pymongo
"""
import diamond.collector
from diamond.collector import str_to_bool
import re
import zlib
try:
import pymongo
pymongo # workaround for pyflakes issue #13
except ImportError:
pymongo = None
try:
from pymongo import ReadPreference
ReadPreference # workaround for pyflakes issue #13
except ImportError:
ReadPreference = None
class MongoDBCollector(diamond.collector.Collector):
MAX_CRC32 = 4294967295
def __init__(self, *args, **kwargs):
self.__totals = {}
super(MongoDBCollector, self).__init__(*args, **kwargs)
def get_default_config_help(self):
config_help = super(MongoDBCollector, self).get_default_config_help()
config_help.update({
'hosts': 'Array of hostname(:port) elements to get metrics from'
'Set an alias by prefixing host:port with alias@',
'host': 'A single hostname(:port) to get metrics from'
' (can be used instead of hosts and overrides it)',
'user': 'Username for authenticated login (optional)',
'passwd': 'Password for authenticated login (optional)',
'databases': 'A regex of which databases to gather metrics for.'
' Defaults to all databases.',
'ignore_collections': 'A regex of which collections to ignore.'
' MapReduce temporary collections (tmp.mr.*)'
' are ignored by default.',
'collection_sample_rate': 'Only send stats for a consistent subset '
'of collections. This is applied after collections are ignored via'
' ignore_collections Sampling uses crc32 so it is consistent across'
' replicas. Value between 0 and 1. Default is 1',
'network_timeout': 'Timeout for mongodb connection (in seconds).'
' There is no timeout by default.',
'simple': 'Only collect the same metrics as mongostat.',
'translate_collections': 'Translate dot (.) to underscores (_)'
' in collection names.',
'ssl': 'True to enable SSL connections to the MongoDB server.'
' Default is False'
})
return config_help
def get_default_config(self):
"""
Returns the default collector settings
"""
config = super(MongoDBCollector, self).get_default_config()
config.update({
'path': 'mongo',
'hosts': ['localhost'],
'user': None,
'passwd': None,
'databases': '.*',
'ignore_collections': '^tmp\.mr\.',
'network_timeout': None,
'simple': 'False',
'translate_collections': 'False',
'collection_sample_rate': 1,
'ssl': False
})
return config
def collect(self):
"""Collect number values from db.serverStatus()"""
if pymongo is None:
self.log.error('Unable to import pymongo')
return
# we need this for backwards compatibility
if 'host' in self.config:
self.config['hosts'] = [self.config['host']]
# convert network_timeout to integer
if self.config['network_timeout']:
self.config['network_timeout'] = int(
self.config['network_timeout'])
# convert collection_sample_rate to float
if self.config['collection_sample_rate']:
self.config['collection_sample_rate'] = float(
self.config['collection_sample_rate'])
# use auth if given
if 'user' in self.config:
user = self.config['user']
else:
user = None
if 'passwd' in self.config:
passwd = self.config['passwd']
else:
passwd = None
for host in self.config['hosts']:
if len(self.config['hosts']) == 1:
# one host only, no need to have a prefix
base_prefix = []
else:
matches = re.search('((.+)\@)?(.+)?', host)
alias = matches.group(2)
host = matches.group(3)
if alias is None:
base_prefix = [re.sub('[:\.]', '_', host)]
else:
base_prefix = [alias]
try:
# Ensure that the SSL option is a boolean.
if type(self.config['ssl']) is str:
self.config['ssl'] = str_to_bool(self.config['ssl'])
if ReadPreference is None:
conn = pymongo.Connection(
host,
network_timeout=self.config['network_timeout'],
ssl=self.config['ssl'],
slave_okay=True
)
else:
conn = pymongo.Connection(
host,
network_timeout=self.config['network_timeout'],
ssl=self.config['ssl'],
read_preference=ReadPreference.SECONDARY,
)
except Exception, e:
self.log.error('Couldnt connect to mongodb: %s', e)
continue
# try auth
if user:
try:
conn.admin.authenticate(user, passwd)
except Exception, e:
self.log.error('User auth given, but could not autheticate'
+ ' with host: %s, err: %s' % (host, e))
return{}
data = conn.db.command('serverStatus')
self._publish_transformed(data, base_prefix)
if str_to_bool(self.config['simple']):
data = self._extract_simple_data(data)
self._publish_dict_with_prefix(data, base_prefix)
db_name_filter = re.compile(self.config['databases'])
ignored_collections = re.compile(self.config['ignore_collections'])
sample_threshold = self.MAX_CRC32 * self.config[
'collection_sample_rate']
for db_name in conn.database_names():
if not db_name_filter.search(db_name):
continue
db_stats = conn[db_name].command('dbStats')
db_prefix = base_prefix + ['databases', db_name]
self._publish_dict_with_prefix(db_stats, db_prefix)
for collection_name in conn[db_name].collection_names():
if ignored_collections.search(collection_name):
continue
if (self.config['collection_sample_rate'] < 1 and (
zlib.crc32(collection_name) & 0xffffffff
) > sample_threshold):
continue
collection_stats = conn[db_name].command('collstats',
collection_name)
if str_to_bool(self.config['translate_collections']):
collection_name = collection_name.replace('.', '_')
collection_prefix = db_prefix + [collection_name]
self._publish_dict_with_prefix(collection_stats,
collection_prefix)
def _publish_transformed(self, data, base_prefix):
""" Publish values of type: counter or percent """
self._publish_dict_with_prefix(data.get('opcounters', {}),
base_prefix + ['opcounters_per_sec'],
self.publish_counter)
self._publish_dict_with_prefix(data.get('opcountersRepl', {}),
base_prefix + ['opcountersRepl_per_sec'],
self.publish_counter)
self._publish_metrics(base_prefix + ['backgroundFlushing_per_sec'],
'flushes',
data.get('backgroundFlushing', {}),
self.publish_counter)
self._publish_dict_with_prefix(data.get('network', {}),
base_prefix + ['network_per_sec'],
self.publish_counter)
self._publish_metrics(base_prefix + ['extra_info_per_sec'],
'page_faults',
data.get('extra_info', {}),
self.publish_counter)
def get_dotted_value(data, key_name):
key_name = key_name.split('.')
for i in key_name:
data = data.get(i, {})
if not data:
return 0
return data
def compute_interval(data, total_name):
current_total = get_dotted_value(data, total_name)
total_key = '.'.join(base_prefix + [total_name])
last_total = self.__totals.get(total_key, current_total)
interval = current_total - last_total
self.__totals[total_key] = current_total
return interval
def publish_percent(value_name, total_name, data):
value = float(get_dotted_value(data, value_name) * 100)
interval = compute_interval(data, total_name)
key = '.'.join(base_prefix + ['percent', value_name])
self.publish_counter(key, value, time_delta=bool(interval),
interval=interval)
publish_percent('globalLock.lockTime', 'globalLock.totalTime', data)
publish_percent('indexCounters.btree.misses',
'indexCounters.btree.accesses', data)
locks = data.get('locks')
if locks:
if '.' in locks:
locks['_global_'] = locks['.']
del (locks['.'])
key_prefix = '.'.join(base_prefix + ['percent'])
db_name_filter = re.compile(self.config['databases'])
interval = compute_interval(data, 'uptimeMillis')
for db_name in locks:
if not db_name_filter.search(db_name):
continue
r = get_dotted_value(
locks,
'%s.timeLockedMicros.r' % db_name)
R = get_dotted_value(
locks,
'.%s.timeLockedMicros.R' % db_name)
value = float(r + R) / 10
if value:
self.publish_counter(
key_prefix + '.locks.%s.read' % db_name,
value, time_delta=bool(interval),
interval=interval)
w = get_dotted_value(
locks,
'%s.timeLockedMicros.w' % db_name)
W = get_dotted_value(
locks,
'%s.timeLockedMicros.W' % db_name)
value = float(w + W) / 10
if value:
self.publish_counter(
key_prefix + '.locks.%s.write' % db_name,
value, time_delta=bool(interval), interval=interval)
def _publish_dict_with_prefix(self, dict, prefix, publishfn=None):
for key in dict:
self._publish_metrics(prefix, key, dict, publishfn)
def _publish_metrics(self, prev_keys, key, data, publishfn=None):
"""Recursively publish keys"""
if not key in data:
return
value = data[key]
keys = prev_keys + [key]
if not publishfn:
publishfn = self.publish
if isinstance(value, dict):
for new_key in value:
self._publish_metrics(keys, new_key, value)
elif isinstance(value, int) or isinstance(value, float):
publishfn('.'.join(keys), value)
elif isinstance(value, long):
publishfn('.'.join(keys), float(value))
def _extract_simple_data(self, data):
return {
'connections': data.get('connections'),
'globalLock': data.get('globalLock'),
'indexCounters': data.get('indexCounters')
}
| metamx/Diamond | src/collectors/mongodb/mongodb.py | Python | mit | 12,462 | [
30522,
1001,
16861,
1027,
21183,
2546,
1011,
1022,
1000,
1000,
1000,
17427,
2035,
2193,
5300,
2013,
1996,
16962,
1012,
14903,
29336,
2271,
1006,
1007,
3094,
1010,
2060,
5300,
2024,
6439,
1012,
1001,
1001,
1001,
1001,
12530,
15266,
1008,
105... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
// Copyright (c) 2015 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
'use strict';
var EventEmitter = require('./lib/event_emitter');
var stat = require('./lib/stat');
var inherits = require('util').inherits;
var errors = require('./errors');
var States = require('./reqres_states');
function TChannelOutResponse(id, options) {
options = options || {};
var self = this;
EventEmitter.call(self);
self.errorEvent = self.defineEvent('error');
self.spanEvent = self.defineEvent('span');
self.finishEvent = self.defineEvent('finish');
self.channel = options.channel;
self.inreq = options.inreq;
self.logger = options.logger;
self.random = options.random;
self.timers = options.timers;
self.start = 0;
self.end = 0;
self.state = States.Initial;
self.id = id || 0;
self.code = options.code || 0;
self.tracing = options.tracing || null;
self.headers = options.headers || {};
self.checksumType = options.checksumType || 0;
self.checksum = options.checksum || null;
self.ok = self.code === 0;
self.span = options.span || null;
self.streamed = false;
self._argstream = null;
self.arg1 = null;
self.arg2 = null;
self.arg3 = null;
self.codeString = null;
self.message = null;
}
inherits(TChannelOutResponse, EventEmitter);
TChannelOutResponse.prototype.type = 'tchannel.outgoing-response';
TChannelOutResponse.prototype._sendCallResponse = function _sendCallResponse(args, isLast) {
var self = this;
throw errors.UnimplementedMethod({
className: self.constructor.name,
methodName: '_sendCallResponse'
});
};
TChannelOutResponse.prototype._sendCallResponseCont = function _sendCallResponseCont(args, isLast) {
var self = this;
throw errors.UnimplementedMethod({
className: self.constructor.name,
methodName: '_sendCallResponseCont'
});
};
TChannelOutResponse.prototype._sendError = function _sendError(codeString, message) {
var self = this;
throw errors.UnimplementedMethod({
className: self.constructor.name,
methodName: '_sendError'
});
};
TChannelOutResponse.prototype.sendParts = function sendParts(parts, isLast) {
var self = this;
switch (self.state) {
case States.Initial:
self.sendCallResponseFrame(parts, isLast);
break;
case States.Streaming:
self.sendCallResponseContFrame(parts, isLast);
break;
case States.Done:
self.errorEvent.emit(self, errors.ResponseFrameState({
attempted: 'arg parts',
state: 'Done'
}));
break;
case States.Error:
// TODO: log warn
break;
default:
self.channel.logger.error('TChannelOutResponse is in a wrong state', {
state: self.state
});
break;
}
};
TChannelOutResponse.prototype.sendCallResponseFrame = function sendCallResponseFrame(args, isLast) {
var self = this;
switch (self.state) {
case States.Initial:
self.start = self.timers.now();
self._sendCallResponse(args, isLast);
if (self.span) {
self.span.annotate('ss');
}
if (isLast) self.state = States.Done;
else self.state = States.Streaming;
break;
case States.Streaming:
self.errorEvent.emit(self, errors.ResponseFrameState({
attempted: 'call response',
state: 'Streaming'
}));
break;
case States.Done:
case States.Error:
var arg2 = args[1] || '';
var arg3 = args[2] || '';
self.errorEvent.emit(self, errors.ResponseAlreadyDone({
attempted: 'call response',
state: self.state,
method: 'sendCallResponseFrame',
bufArg2: arg2.slice(0, 50),
arg2: String(arg2).slice(0, 50),
bufArg3: arg3.slice(0, 50),
arg3: String(arg3).slice(0, 50)
}));
}
};
TChannelOutResponse.prototype.sendCallResponseContFrame = function sendCallResponseContFrame(args, isLast) {
var self = this;
switch (self.state) {
case States.Initial:
self.errorEvent.emit(self, errors.ResponseFrameState({
attempted: 'call response continuation',
state: 'Initial'
}));
break;
case States.Streaming:
self._sendCallResponseCont(args, isLast);
if (isLast) self.state = States.Done;
break;
case States.Done:
case States.Error:
self.errorEvent.emit(self, errors.ResponseAlreadyDone({
attempted: 'call response continuation',
state: self.state,
method: 'sendCallResponseContFrame'
}));
}
};
TChannelOutResponse.prototype.sendError = function sendError(codeString, message) {
var self = this;
if (self.state === States.Done || self.state === States.Error) {
self.errorEvent.emit(self, errors.ResponseAlreadyDone({
attempted: 'send error frame: ' + codeString + ': ' + message,
currentState: self.state,
method: 'sendError',
codeString: codeString,
errMessage: message
}));
} else {
if (self.span) {
self.span.annotate('ss');
}
self.state = States.Error;
self.codeString = codeString;
self.message = message;
self.channel.inboundCallsSystemErrorsStat.increment(1, {
'calling-service': self.inreq.headers.cn,
'service': self.inreq.serviceName,
'endpoint': String(self.inreq.arg1),
'type': self.codeString
});
self._sendError(codeString, message);
self.emitFinish();
}
};
TChannelOutResponse.prototype.emitFinish = function emitFinish() {
var self = this;
var now = self.timers.now();
if (self.end) {
self.logger.warn('out response double emitFinish', {
end: self.end,
now: now,
serviceName: self.inreq.serviceName,
cn: self.inreq.headers.cn,
endpoint: String(self.inreq.arg1),
codeString: self.codeString,
errorMessage: self.message,
remoteAddr: self.inreq.connection.socketRemoteAddr,
state: self.state,
isOk: self.ok
});
return;
}
self.end = now;
var latency = self.end - self.inreq.start;
self.channel.emitFastStat(self.channel.buildStat(
'tchannel.inbound.calls.latency',
'timing',
latency,
new stat.InboundCallsLatencyTags(
self.inreq.headers.cn,
self.inreq.serviceName,
self.inreq.endpoint
)
));
if (self.span) {
self.spanEvent.emit(self, self.span);
}
self.finishEvent.emit(self);
};
TChannelOutResponse.prototype.setOk = function setOk(ok) {
var self = this;
if (self.state !== States.Initial) {
self.errorEvent.emit(self, errors.ResponseAlreadyStarted({
state: self.state,
method: 'setOk',
ok: ok
}));
return false;
}
self.ok = ok;
self.code = ok ? 0 : 1; // TODO: too coupled to v2 specifics?
return true;
};
TChannelOutResponse.prototype.sendOk = function sendOk(res1, res2) {
var self = this;
self.setOk(true);
self.send(res1, res2);
};
TChannelOutResponse.prototype.sendNotOk = function sendNotOk(res1, res2) {
var self = this;
if (self.state === States.Error) {
self.logger.error('cannot send application error, already sent error frame', {
res1: res1,
res2: res2
});
} else {
self.setOk(false);
self.send(res1, res2);
}
};
TChannelOutResponse.prototype.send = function send(res1, res2) {
var self = this;
/* send calls after finish() should be swallowed */
if (self.end) {
var logOptions = {
serviceName: self.inreq.serviceName,
cn: self.inreq.headers.cn,
endpoint: self.inreq.endpoint,
remoteAddr: self.inreq.remoteAddr,
end: self.end,
codeString: self.codeString,
errorMessage: self.message,
isOk: self.ok,
hasResponse: !!self.arg3,
state: self.state
};
if (self.inreq && self.inreq.timedOut) {
self.logger.info('OutResponse.send() after inreq timed out', logOptions);
} else {
self.logger.warn('OutResponse called send() after end', logOptions);
}
return;
}
self.arg2 = res1;
self.arg3 = res2;
if (self.ok) {
self.channel.emitFastStat(self.channel.buildStat(
'tchannel.inbound.calls.success',
'counter',
1,
new stat.InboundCallsSuccessTags(
self.inreq.headers.cn,
self.inreq.serviceName,
self.inreq.endpoint
)
));
} else {
// TODO: add outResponse.setErrorType()
self.channel.emitFastStat(self.channel.buildStat(
'tchannel.inbound.calls.app-errors',
'counter',
1,
new stat.InboundCallsAppErrorsTags(
self.inreq.headers.cn,
self.inreq.serviceName,
self.inreq.endpoint,
'unknown'
)
));
}
self.sendCallResponseFrame([self.arg1, res1, res2], true);
self.emitFinish();
return self;
};
module.exports = TChannelOutResponse;
| davewhat/tchannel | out_response.js | JavaScript | mit | 10,872 | [
30522,
1013,
1013,
9385,
1006,
1039,
1007,
2325,
19169,
6786,
1010,
4297,
1012,
1013,
1013,
1013,
1013,
6656,
2003,
2182,
3762,
4379,
1010,
2489,
1997,
3715,
1010,
2000,
2151,
2711,
11381,
1037,
6100,
1013,
1013,
1997,
2023,
4007,
1998,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
var elixir = require('laravel-elixir');
var gulp = require("gulp");
require('laravel-elixir-wiredep');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Less
| file for our application, as well as publishing vendor resources.
|
*/
var bowerDir = "public/vendor/";
var lessPaths = [
bowerDir + "bootstrap/less/"
]
var templatePaths = [
"resources/assets/js/app/components/*/*.html",
];
elixir.extend("templates", function(src, base, dest) {
gulp.task("templates", function () {
// the base option sets the relative root for the set of files,
// preserving the folder structure
gulp.src(src, {base: base})
.pipe(gulp.dest(dest));
});
// Watch each glob in src
for (idx in src){
var glob = src[idx];
this.registerWatcher("templates", glob);
}
return this.queueTask("templates");
});
elixir(function(mix) {
// Complile LESS into CSS
mix.less("main.less", "public/css/", {paths: lessPaths});
// Inject dependencies into layout (except bootstrap css, since that is compiled into main css)
mix.wiredep({src: "master.blade.php"}, {exclude: "vendor/bootstrap/dist/css/bootstrap.css"});
// Combine app js into one file
mix.scriptsIn("resources/assets/js/", "public/js/main.js");
// Copy angular templates to public folder
mix.templates(templatePaths, "resources/assets/js/app/components/", "public");
});
| levofski/web-2-cv | gulpfile.js | JavaScript | gpl-2.0 | 1,696 | [
30522,
13075,
12005,
9048,
2099,
1027,
5478,
1006,
1005,
13679,
15985,
1011,
12005,
9048,
2099,
1005,
1007,
30524,
5478,
1006,
1005,
13679,
15985,
1011,
12005,
9048,
2099,
1011,
17502,
13699,
1005,
1007,
1025,
1013,
1008,
1064,
1011,
1011,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* 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.
*/
package io.reactivex.internal.operators.flowable;
import java.util.concurrent.atomic.AtomicReference;
import org.reactivestreams.*;
import io.reactivex.*;
import io.reactivex.annotations.Nullable;
import io.reactivex.disposables.*;
import io.reactivex.exceptions.Exceptions;
import io.reactivex.functions.Function;
import io.reactivex.internal.disposables.DisposableHelper;
import io.reactivex.internal.functions.ObjectHelper;
import io.reactivex.internal.subscriptions.*;
import io.reactivex.internal.util.AtomicThrowable;
import io.reactivex.plugins.RxJavaPlugins;
/**
* Maps a sequence of values into CompletableSources and awaits their termination.
* @param <T> the value type
*/
public final class FlowableFlatMapCompletable<T> extends AbstractFlowableWithUpstream<T, T> {
final Function<? super T, ? extends CompletableSource> mapper;
final int maxConcurrency;
final boolean delayErrors;
public FlowableFlatMapCompletable(Flowable<T> source,
Function<? super T, ? extends CompletableSource> mapper, boolean delayErrors,
int maxConcurrency) {
super(source);
this.mapper = mapper;
this.delayErrors = delayErrors;
this.maxConcurrency = maxConcurrency;
}
@Override
protected void subscribeActual(Subscriber<? super T> subscriber) {
source.subscribe(new FlatMapCompletableMainSubscriber<T>(subscriber, mapper, delayErrors, maxConcurrency));
}
static final class FlatMapCompletableMainSubscriber<T> extends BasicIntQueueSubscription<T>
implements FlowableSubscriber<T> {
private static final long serialVersionUID = 8443155186132538303L;
final Subscriber<? super T> downstream;
final AtomicThrowable errors;
final Function<? super T, ? extends CompletableSource> mapper;
final boolean delayErrors;
final CompositeDisposable set;
final int maxConcurrency;
Subscription upstream;
volatile boolean cancelled;
FlatMapCompletableMainSubscriber(Subscriber<? super T> subscriber,
Function<? super T, ? extends CompletableSource> mapper, boolean delayErrors,
int maxConcurrency) {
this.downstream = subscriber;
this.mapper = mapper;
this.delayErrors = delayErrors;
this.errors = new AtomicThrowable();
this.set = new CompositeDisposable();
this.maxConcurrency = maxConcurrency;
this.lazySet(1);
}
@Override
public void onSubscribe(Subscription s) {
if (SubscriptionHelper.validate(this.upstream, s)) {
this.upstream = s;
downstream.onSubscribe(this);
int m = maxConcurrency;
if (m == Integer.MAX_VALUE) {
s.request(Long.MAX_VALUE);
} else {
s.request(m);
}
}
}
@Override
public void onNext(T value) {
CompletableSource cs;
try {
cs = ObjectHelper.requireNonNull(mapper.apply(value), "The mapper returned a null CompletableSource");
} catch (Throwable ex) {
Exceptions.throwIfFatal(ex);
upstream.cancel();
onError(ex);
return;
}
getAndIncrement();
InnerConsumer inner = new InnerConsumer();
if (!cancelled && set.add(inner)) {
cs.subscribe(inner);
}
}
@Override
public void onError(Throwable e) {
if (errors.addThrowable(e)) {
if (delayErrors) {
if (decrementAndGet() == 0) {
Throwable ex = errors.terminate();
downstream.onError(ex);
} else {
if (maxConcurrency != Integer.MAX_VALUE) {
upstream.request(1);
}
}
} else {
cancel();
if (getAndSet(0) > 0) {
Throwable ex = errors.terminate();
downstream.onError(ex);
}
}
} else {
RxJavaPlugins.onError(e);
}
}
@Override
public void onComplete() {
if (decrementAndGet() == 0) {
Throwable ex = errors.terminate();
if (ex != null) {
downstream.onError(ex);
} else {
downstream.onComplete();
}
} else {
if (maxConcurrency != Integer.MAX_VALUE) {
upstream.request(1);
}
}
}
@Override
public void cancel() {
cancelled = true;
upstream.cancel();
set.dispose();
}
@Override
public void request(long n) {
// ignored, no values emitted
}
@Nullable
@Override
public T poll() throws Exception {
return null; // always empty
}
@Override
public boolean isEmpty() {
return true; // always empty
}
@Override
public void clear() {
// nothing to clear
}
@Override
public int requestFusion(int mode) {
return mode & ASYNC;
}
void innerComplete(InnerConsumer inner) {
set.delete(inner);
onComplete();
}
void innerError(InnerConsumer inner, Throwable e) {
set.delete(inner);
onError(e);
}
final class InnerConsumer extends AtomicReference<Disposable> implements CompletableObserver, Disposable {
private static final long serialVersionUID = 8606673141535671828L;
@Override
public void onSubscribe(Disposable d) {
DisposableHelper.setOnce(this, d);
}
@Override
public void onComplete() {
innerComplete(this);
}
@Override
public void onError(Throwable e) {
innerError(this, e);
}
@Override
public void dispose() {
DisposableHelper.dispose(this);
}
@Override
public boolean isDisposed() {
return DisposableHelper.isDisposed(get());
}
}
}
}
| NiteshKant/RxJava | src/main/java/io/reactivex/internal/operators/flowable/FlowableFlatMapCompletable.java | Java | apache-2.0 | 7,266 | [
30522,
1013,
1008,
1008,
1008,
9385,
1006,
1039,
1007,
2355,
1011,
2556,
1010,
1054,
2595,
3900,
3567,
16884,
1012,
1008,
1008,
7000,
2104,
1996,
15895,
6105,
1010,
2544,
1016,
1012,
1014,
1006,
1996,
1000,
6105,
1000,
1007,
1025,
2017,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
GWEN
Copyright (c) 2010 Facepunch Studios
See license in Gwen.h
*/
#pragma once
#ifndef GWEN_CONTROLS_CHECKBOX_H
#define GWEN_CONTROLS_CHECKBOX_H
#include "Gwen/Controls/Base.h"
#include "Gwen/Controls/Button.h"
#include "Gwen/Gwen.h"
#include "Gwen/Skin.h"
#include "Gwen/Controls/Symbol.h"
#include "Gwen/Controls/LabelClickable.h"
namespace Gwen
{
namespace Controls
{
class GWEN_EXPORT CheckBox : public Button
{
public:
GWEN_CONTROL(CheckBox, Button);
virtual void Render(Skin::Base* skin);
virtual void OnPress();
virtual void SetChecked(bool Checked);
virtual void Toggle() { SetChecked(!IsChecked()); }
virtual bool IsChecked() { return m_bChecked; }
Gwen::Event::Caller onChecked;
Gwen::Event::Caller onUnChecked;
Gwen::Event::Caller onCheckChanged;
private:
// For derived controls
virtual bool AllowUncheck() { return true; }
void OnCheckStatusChanged();
bool m_bChecked;
};
class GWEN_EXPORT CheckBoxWithLabel : public Base
{
public:
GWEN_CONTROL_INLINE(CheckBoxWithLabel, Base)
{
SetSize(200, 19);
m_Checkbox = new CheckBox(this);
m_Checkbox->Dock(Pos::Left);
m_Checkbox->SetMargin(Margin(0, 3, 3, 3));
m_Checkbox->SetTabable(false);
m_Label = new LabelClickable(this);
m_Label->Dock(Pos::Fill);
m_Label->onPress.Add(m_Checkbox, &CheckBox::ReceiveEventPress);
m_Label->SetTabable(false);
SetTabable(false);
}
virtual CheckBox* Checkbox() { return m_Checkbox; }
virtual LabelClickable* Label() { return m_Label; }
virtual bool OnKeySpace(bool bDown)
{
if (bDown) m_Checkbox->SetChecked(!m_Checkbox->IsChecked());
return true;
}
private:
CheckBox* m_Checkbox;
LabelClickable* m_Label;
};
} // namespace Controls
} // namespace Gwen
#endif
| MadManRises/Madgine | shared/bullet3-2.89/examples/ThirdPartyLibs/Gwen/Controls/CheckBox.h | C | mit | 1,720 | [
30522,
1013,
1008,
11697,
9385,
1006,
1039,
1007,
2230,
2227,
14289,
12680,
4835,
2156,
6105,
1999,
11697,
1012,
1044,
1008,
1013,
1001,
10975,
8490,
2863,
2320,
1001,
2065,
13629,
2546,
11697,
1035,
7711,
1035,
4638,
8758,
1035,
1044,
1001... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
DELETE FROM `weenie` WHERE `class_Id` = 5337;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (5337, 'oilbloodseeker', 44, '2019-02-10 00:00:00') /* CraftTool */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (5337, 1, 67108864) /* ItemType - CraftAlchemyIntermediate */
, (5337, 11, 100) /* MaxStackSize */
, (5337, 12, 1) /* StackSize */
, (5337, 13, 0) /* StackUnitEncumbrance */
, (5337, 15, 20) /* StackUnitValue */
, (5337, 16, 524296) /* ItemUseable - SourceContainedTargetContained */
, (5337, 19, 20) /* Value */
, (5337, 93, 1044) /* PhysicsState - Ethereal, IgnoreCollisions, Gravity */
, (5337, 94, 134217856) /* TargetType - Misc, CraftFletchingIntermediate */
, (5337, 8041, 101) /* PCAPRecordedPlacement - Resting */;
INSERT INTO `weenie_properties_string` (`object_Id`, `type`, `value`)
VALUES (5337, 1, 'Bloodseeker Oil') /* Name */
, (5337, 20, 'Vials of Bloodseeker Oil') /* PluralName */;
INSERT INTO `weenie_properties_d_i_d` (`object_Id`, `type`, `value`)
VALUES (5337, 1, 0x020005FF) /* Setup */
, (5337, 3, 0x20000014) /* SoundTable */
, (5337, 6, 0x04000BEF) /* PaletteBase */
, (5337, 8, 0x06001A37) /* Icon */
, (5337, 22, 0x3400002B) /* PhysicsEffectTable */
, (5337, 8001, 552985) /* PCAPRecordedWeenieHeader - PluralName, Value, Usable, StackSize, MaxStackSize, Container, TargetType */
, (5337, 8003, 16) /* PCAPRecordedObjectDesc - Attackable */
, (5337, 8005, 137217) /* PCAPRecordedPhysicsDesc - CSetup, STable, PeTable, AnimationFrame */;
INSERT INTO `weenie_properties_i_i_d` (`object_Id`, `type`, `value`)
VALUES (5337, 8000, 0x8224B579) /* PCAPRecordedObjectIID */;
INSERT INTO `weenie_properties_palette` (`object_Id`, `sub_Palette_Id`, `offset`, `length`)
VALUES (5337, 67111918, 0, 0);
INSERT INTO `weenie_properties_texture_map` (`object_Id`, `index`, `old_Id`, `new_Id`)
VALUES (5337, 0, 83890051, 83890051)
, (5337, 0, 83889356, 83889356);
INSERT INTO `weenie_properties_anim_part` (`object_Id`, `index`, `animation_Id`)
VALUES (5337, 0, 16783327);
| ACEmulator/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/CraftTool/CraftAlchemyIntermediate/05337 Bloodseeker Oil.sql | SQL | agpl-3.0 | 2,250 | [
30522,
3972,
30524,
16776,
8034,
1036,
1006,
1036,
2465,
1035,
8909,
1036,
1010,
1036,
2465,
1035,
2171,
1036,
1010,
1036,
2828,
1036,
1010,
1036,
2197,
1035,
6310,
1036,
1007,
5300,
1006,
5187,
24434,
1010,
1005,
3514,
26682,
19763,
5484,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
.ih-item {
position: relative;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item,
.ih-item * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.ih-item a {
color: #333;
}
.ih-item a:hover {
text-decoration: none;
}
.ih-item img {
width: 100%;
height: 100%;
}
.ih-item.circle {
position: relative;
width: 220px;
height: 220px;
border-radius: 50%;
}
.ih-item.circle .img {
position: relative;
width: 220px;
height: 220px;
border-radius: 50%;
}
.ih-item.circle .img:before {
position: absolute;
display: block;
content: '';
width: 100%;
height: 100%;
border-radius: 50%;
box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle .img img {
border-radius: 50%;
}
.ih-item.circle .info {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
text-align: center;
border-radius: 50%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.ih-item.square {
position: relative;
/*width: 316px;*/
/*height: 216px;*/
/*border: 8px solid #fff;*/
/*box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);*/
}
.ih-item.square .info {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
text-align: center;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.ih-item.circle.effect1 .spinner {
width: 230px;
height: 230px;
border: 10px solid #ecab18;
border-right-color: #1ad280;
border-bottom-color: #1ad280;
border-radius: 50%;
-webkit-transition: all 0.8s ease-in-out;
-moz-transition: all 0.8s ease-in-out;
transition: all 0.8s ease-in-out;
}
.ih-item.circle.effect1 .img {
position: absolute;
top: 10px;
bottom: 0;
left: 10px;
right: 0;
width: auto;
height: auto;
}
.ih-item.circle.effect1 .img:before {
display: none;
}
.ih-item.circle.effect1.colored .info {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.circle.effect1 .info {
top: 10px;
bottom: 0;
left: 10px;
right: 0;
background: #333333;
background: rgba(0, 0, 0, 0.6);
opacity: 0;
-webkit-transition: all 0.8s ease-in-out;
-moz-transition: all 0.8s ease-in-out;
transition: all 0.8s ease-in-out;
}
.ih-item.circle.effect1 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect1 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect1 a:hover .spinner {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
.ih-item.circle.effect1 a:hover .info {
opacity: 1;
}
.ih-item.circle.effect2 .img {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect2.colored .info {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.circle.effect2 .info {
background: #333333;
background: rgba(0, 0, 0, 0.6);
opacity: 0;
pointer-events: none;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect2 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect2 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect2.left_to_right .info {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.circle.effect2.left_to_right a:hover .img {
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.ih-item.circle.effect2.left_to_right a:hover .info {
opacity: 1;
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect2.right_to_left .info {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.circle.effect2.right_to_left a:hover .img {
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);
}
.ih-item.circle.effect2.right_to_left a:hover .info {
opacity: 1;
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect2.top_to_bottom .info {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect2.top_to_bottom a:hover .img {
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.ih-item.circle.effect2.top_to_bottom a:hover .info {
opacity: 1;
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect2.bottom_to_top .info {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect2.bottom_to_top a:hover .img {
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);
}
.ih-item.circle.effect2.bottom_to_top a:hover .info {
opacity: 1;
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect3 .img {
z-index: 11;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect3.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect3 .info {
background: #333333;
opacity: 0;
pointer-events: none;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect3 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect3 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect3.left_to_right .img {
-webkit-transform: scale(1) translateX(0);
-moz-transform: scale(1) translateX(0);
-ms-transform: scale(1) translateX(0);
-o-transform: scale(1) translateX(0);
transform: scale(1) translateX(0);
}
.ih-item.circle.effect3.left_to_right .info {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.circle.effect3.left_to_right a:hover .img {
-webkit-transform: scale(0.5) translateX(100%);
-moz-transform: scale(0.5) translateX(100%);
-ms-transform: scale(0.5) translateX(100%);
-o-transform: scale(0.5) translateX(100%);
transform: scale(0.5) translateX(100%);
}
.ih-item.circle.effect3.left_to_right a:hover .info {
opacity: 1;
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect3.right_to_left .img {
-webkit-transform: scale(1) translateX(0);
-moz-transform: scale(1) translateX(0);
-ms-transform: scale(1) translateX(0);
-o-transform: scale(1) translateX(0);
transform: scale(1) translateX(0);
}
.ih-item.circle.effect3.right_to_left .info {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.circle.effect3.right_to_left a:hover .img {
-webkit-transform: scale(0.5) translateX(-100%);
-moz-transform: scale(0.5) translateX(-100%);
-ms-transform: scale(0.5) translateX(-100%);
-o-transform: scale(0.5) translateX(-100%);
transform: scale(0.5) translateX(-100%);
}
.ih-item.circle.effect3.right_to_left a:hover .info {
opacity: 1;
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect3.top_to_bottom .img {
-webkit-transform: scale(1) translateY(0);
-moz-transform: scale(1) translateY(0);
-ms-transform: scale(1) translateY(0);
-o-transform: scale(1) translateY(0);
transform: scale(1) translateY(0);
}
.ih-item.circle.effect3.top_to_bottom .info {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect3.top_to_bottom a:hover .img {
-webkit-transform: scale(0.5) translateY(100%);
-moz-transform: scale(0.5) translateY(100%);
-ms-transform: scale(0.5) translateY(100%);
-o-transform: scale(0.5) translateY(100%);
transform: scale(0.5) translateY(100%);
}
.ih-item.circle.effect3.top_to_bottom a:hover .info {
opacity: 1;
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect3.bottom_to_top .img {
-webkit-transform: scale(1) translateY(0);
-moz-transform: scale(1) translateY(0);
-ms-transform: scale(1) translateY(0);
-o-transform: scale(1) translateY(0);
transform: scale(1) translateY(0);
}
.ih-item.circle.effect3.bottom_to_top .info {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect3.bottom_to_top a:hover .img {
-webkit-transform: scale(0.5) translateY(-100%);
-moz-transform: scale(0.5) translateY(-100%);
-ms-transform: scale(0.5) translateY(-100%);
-o-transform: scale(0.5) translateY(-100%);
transform: scale(0.5) translateY(-100%);
}
.ih-item.circle.effect3.bottom_to_top a:hover .info {
opacity: 1;
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect4 .img {
opacity: 1;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.ih-item.circle.effect4.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect4 .info {
background: #333333;
opacity: 0;
visibility: hidden;
pointer-events: none;
-webkit-transition: all 0.35s ease;
-moz-transition: all 0.35s ease;
transition: all 0.35s ease;
}
.ih-item.circle.effect4 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect4 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect4 a:hover .img {
opacity: 0;
pointer-events: none;
}
.ih-item.circle.effect4 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.circle.effect4.left_to_right .img {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect4.left_to_right .info {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.circle.effect4.left_to_right a:hover .img {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.circle.effect4.left_to_right a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect4.right_to_left .img {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect4.right_to_left .info {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.circle.effect4.right_to_left a:hover .img {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.circle.effect4.right_to_left a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect4.top_to_bottom .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect4.top_to_bottom .info {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect4.top_to_bottom a:hover .img {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect4.top_to_bottom a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect4.bottom_to_top .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect4.bottom_to_top .info {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect4.bottom_to_top a:hover .img {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect4.bottom_to_top a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect5 {
-webkit-perspective: 900px;
-moz-perspective: 900px;
perspective: 900px;
}
.ih-item.circle.effect5.colored .info .info-back {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.circle.effect5 .info {
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.ih-item.circle.effect5 .info .info-back {
visibility: hidden;
border-radius: 50%;
width: 100%;
height: 100%;
background: #333333;
background: rgba(0, 0, 0, 0.6);
-webkit-transform: rotate3d(0, 1, 0, 180deg);
-moz-transform: rotate3d(0, 1, 0, 180deg);
-ms-transform: rotate3d(0, 1, 0, 180deg);
-o-transform: rotate3d(0, 1, 0, 180deg);
transform: rotate3d(0, 1, 0, 180deg);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.ih-item.circle.effect5 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect5 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect5 a:hover .info {
-webkit-transform: rotate3d(0, 1, 0, -180deg);
-moz-transform: rotate3d(0, 1, 0, -180deg);
-ms-transform: rotate3d(0, 1, 0, -180deg);
-o-transform: rotate3d(0, 1, 0, -180deg);
transform: rotate3d(0, 1, 0, -180deg);
}
.ih-item.circle.effect5 a:hover .info .info-back {
visibility: visible;
}
.ih-item.circle.effect6 .img {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect6.colored .info {
background: #3e8ac3;
}
.ih-item.circle.effect6 .info {
background: #333333;
opacity: 0;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect6 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect6 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect6.scale_up .info {
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
}
.ih-item.circle.effect6.scale_up a:hover .img {
opacity: 0;
-webkit-transform: scale(1.5);
-moz-transform: scale(1.5);
-ms-transform: scale(1.5);
-o-transform: scale(1.5);
transform: scale(1.5);
}
.ih-item.circle.effect6.scale_up a:hover .info {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.circle.effect6.scale_down .info {
-webkit-transform: scale(1.5);
-moz-transform: scale(1.5);
-ms-transform: scale(1.5);
-o-transform: scale(1.5);
transform: scale(1.5);
}
.ih-item.circle.effect6.scale_down a:hover .img {
opacity: 0;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
}
.ih-item.circle.effect6.scale_down a:hover .info {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.circle.effect6.scale_down_up .info {
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
-webkit-transition: all 0.35s ease-in-out 0.2s;
-moz-transition: all 0.35s ease-in-out 0.2s;
transition: all 0.35s ease-in-out 0.2s;
}
.ih-item.circle.effect6.scale_down_up a:hover .img {
opacity: 0;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
}
.ih-item.circle.effect6.scale_down_up a:hover .info {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.circle.effect7 .img {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
-webkit-transition: all 0.35s ease-out;
-moz-transition: all 0.35s ease-out;
transition: all 0.35s ease-out;
}
.ih-item.circle.effect7.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect7 .info {
background: #333333;
opacity: 0;
visibility: hidden;
pointer-events: none;
-webkit-transition: all 0.35s ease 0.2s;
-moz-transition: all 0.35s ease 0.2s;
transition: all 0.35s ease 0.2s;
}
.ih-item.circle.effect7 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect7 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect7 a:hover .img {
opacity: 0;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
}
.ih-item.circle.effect7 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.circle.effect7.left_to_right .info {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.circle.effect7.left_to_right a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect7.right_to_left .info {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.circle.effect7.right_to_left a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect7.top_to_bottom .info {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect7.top_to_bottom a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect7.bottom_to_top .info {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect7.bottom_to_top a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect8.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect8 .img-container {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.ih-item.circle.effect8 .img-container .img {
opacity: 1;
-webkit-transition: all 0.3s ease-in-out 0.3s;
-moz-transition: all 0.3s ease-in-out 0.3s;
transition: all 0.3s ease-in-out 0.3s;
}
.ih-item.circle.effect8 .info-container {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
text-align: center;
border-radius: 50%;
opacity: 0;
pointer-events: none;
-webkit-transition: all 0.3s ease-in-out 0.3s;
-moz-transition: all 0.3s ease-in-out 0.3s;
transition: all 0.3s ease-in-out 0.3s;
}
.ih-item.circle.effect8 .info {
width: 100%;
height: 100%;
background: #333333;
pointer-events: none;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
-webkit-transition: all 0.35s ease-in-out 0.6s;
-moz-transition: all 0.35s ease-in-out 0.6s;
transition: all 0.35s ease-in-out 0.6s;
}
.ih-item.circle.effect8 .info h3 {
color: #fff;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 45px 0 0 0;
height: 140px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect8 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect8 a:hover .img-container {
pointer-events: none;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
}
.ih-item.circle.effect8 a:hover .img-container .img {
opacity: 0;
pointer-events: none;
}
.ih-item.circle.effect8 a:hover .info-container {
opacity: 1;
}
.ih-item.circle.effect8 a:hover .info-container .info {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.circle.effect8.left_to_right .img-container .img {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect8.left_to_right .info-container {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.circle.effect8.left_to_right a:hover .img-container .img {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.circle.effect8.left_to_right a:hover .info-container {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect8.right_to_left .img-container .img {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect8.right_to_left .info-container {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.circle.effect8.right_to_left a:hover .img-container .img {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.circle.effect8.right_to_left a:hover .info-container {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect8.top_to_bottom .img-container .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect8.top_to_bottom .info-container {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect8.top_to_bottom a:hover .img-container .img {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect8.top_to_bottom a:hover .info-container {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect8.bottom_to_top .img-container .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect8.bottom_to_top .info-container {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect8.bottom_to_top a:hover .img-container .img {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect8.bottom_to_top a:hover .info-container {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect9 .img {
opacity: 1;
-webkit-transition: all 0.35s ease-out;
-moz-transition: all 0.35s ease-out;
transition: all 0.35s ease-out;
}
.ih-item.circle.effect9.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect9 .info {
background: #333333;
opacity: 0;
visibility: hidden;
pointer-events: none;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
-webkit-transition: all 0.35s ease 0.2s;
-moz-transition: all 0.35s ease 0.2s;
transition: all 0.35s ease 0.2s;
}
.ih-item.circle.effect9 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect9 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect9 a:hover .img {
opacity: 0;
pointer-events: none;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
}
.ih-item.circle.effect9 a:hover .info {
visibility: visible;
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.circle.effect9.left_to_right .img {
-webkit-transform: translateX(0) rotate(0);
-moz-transform: translateX(0) rotate(0);
-ms-transform: translateX(0) rotate(0);
-o-transform: translateX(0) rotate(0);
transform: translateX(0) rotate(0);
}
.ih-item.circle.effect9.left_to_right a:hover .img {
-webkit-transform: translateX(100%) rotate(180deg);
-moz-transform: translateX(100%) rotate(180deg);
-ms-transform: translateX(100%) rotate(180deg);
-o-transform: translateX(100%) rotate(180deg);
transform: translateX(100%) rotate(180deg);
}
.ih-item.circle.effect9.right_to_left .img {
-webkit-transform: translateX(0) rotate(0);
-moz-transform: translateX(0) rotate(0);
-ms-transform: translateX(0) rotate(0);
-o-transform: translateX(0) rotate(0);
transform: translateX(0) rotate(0);
}
.ih-item.circle.effect9.right_to_left a:hover .img {
-webkit-transform: translateX(-100%) rotate(-180deg);
-moz-transform: translateX(-100%) rotate(-180deg);
-ms-transform: translateX(-100%) rotate(-180deg);
-o-transform: translateX(-100%) rotate(-180deg);
transform: translateX(-100%) rotate(-180deg);
}
.ih-item.circle.effect9.top_to_bottom .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect9.top_to_bottom a:hover .img {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect9.bottom_to_top .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect9.bottom_to_top a:hover .img {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect10 .img {
z-index: 11;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect10.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect10 .info {
background: #333333;
opacity: 0;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect10 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect10 .info p {
color: #bbb;
font-style: italic;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect10 a:hover .info {
visibility: visible;
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.circle.effect10.top_to_bottom .info h3 {
margin: 0 30px;
padding: 25px 0 0 0;
height: 78px;
}
.ih-item.circle.effect10.top_to_bottom .info p {
margin: 0 30px;
padding: 5px;
}
.ih-item.circle.effect10.top_to_bottom a:hover .img {
-webkit-transform: translateY(50px) scale(0.5);
-moz-transform: translateY(50px) scale(0.5);
-ms-transform: translateY(50px) scale(0.5);
-o-transform: translateY(50px) scale(0.5);
transform: translateY(50px) scale(0.5);
}
.ih-item.circle.effect10.bottom_to_top .info h3 {
margin: 95px 30px 0;
padding: 25px 0 0 0;
height: 78px;
}
.ih-item.circle.effect10.bottom_to_top .info p {
margin: 0 30px;
padding: 5px;
}
.ih-item.circle.effect10.bottom_to_top a:hover .img {
-webkit-transform: translateY(-50px) scale(0.5);
-moz-transform: translateY(-50px) scale(0.5);
-ms-transform: translateY(-50px) scale(0.5);
-o-transform: translateY(-50px) scale(0.5);
transform: translateY(-50px) scale(0.5);
}
.ih-item.circle.effect11 {
-webkit-perspective: 900px;
-moz-perspective: 900px;
perspective: 900px;
}
.ih-item.circle.effect11 .img {
opacity: 1;
-webkit-transform-origin: 50% 50%;
-moz-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
-o-transform-origin: 50% 50%;
transform-origin: 50% 50%;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect11.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect11 .info {
background: #333333;
opacity: 0;
visibility: hidden;
-webkit-transition: all 0.35s ease 0.35s;
-moz-transition: all 0.35s ease 0.35s;
transition: all 0.35s ease 0.35s;
}
.ih-item.circle.effect11 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect11 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect11 a:hover .img {
opacity: 0;
}
.ih-item.circle.effect11 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.circle.effect11.left_to_right .img {
-webkit-transform: translateZ(0) rotateY(0);
-moz-transform: translateZ(0) rotateY(0);
-ms-transform: translateZ(0) rotateY(0);
-o-transform: translateZ(0) rotateY(0);
transform: translateZ(0) rotateY(0);
}
.ih-item.circle.effect11.left_to_right .info {
-webkit-transform: translateZ(-1000px) rotateY(-90deg);
-moz-transform: translateZ(-1000px) rotateY(-90deg);
-ms-transform: translateZ(-1000px) rotateY(-90deg);
-o-transform: translateZ(-1000px) rotateY(-90deg);
transform: translateZ(-1000px) rotateY(-90deg);
}
.ih-item.circle.effect11.left_to_right a:hover .img {
-webkit-transform: translateZ(-1000px) rotateY(90deg);
-moz-transform: translateZ(-1000px) rotateY(90deg);
-ms-transform: translateZ(-1000px) rotateY(90deg);
-o-transform: translateZ(-1000px) rotateY(90deg);
transform: translateZ(-1000px) rotateY(90deg);
}
.ih-item.circle.effect11.left_to_right a:hover .info {
-webkit-transform: translateZ(0) rotateY(0);
-moz-transform: translateZ(0) rotateY(0);
-ms-transform: translateZ(0) rotateY(0);
-o-transform: translateZ(0) rotateY(0);
transform: translateZ(0) rotateY(0);
}
.ih-item.circle.effect11.right_to_left .img {
-webkit-transform: translateZ(0) rotateY(0);
-moz-transform: translateZ(0) rotateY(0);
-ms-transform: translateZ(0) rotateY(0);
-o-transform: translateZ(0) rotateY(0);
transform: translateZ(0) rotateY(0);
}
.ih-item.circle.effect11.right_to_left .info {
-webkit-transform: translateZ(-1000px) rotateY(90deg);
-moz-transform: translateZ(-1000px) rotateY(90deg);
-ms-transform: translateZ(-1000px) rotateY(90deg);
-o-transform: translateZ(-1000px) rotateY(90deg);
transform: translateZ(-1000px) rotateY(90deg);
}
.ih-item.circle.effect11.right_to_left a:hover .img {
-webkit-transform: translateZ(-1000px) rotateY(-90deg);
-moz-transform: translateZ(-1000px) rotateY(-90deg);
-ms-transform: translateZ(-1000px) rotateY(-90deg);
-o-transform: translateZ(-1000px) rotateY(-90deg);
transform: translateZ(-1000px) rotateY(-90deg);
}
.ih-item.circle.effect11.right_to_left a:hover .info {
-webkit-transform: translateZ(0) rotateY(0);
-moz-transform: translateZ(0) rotateY(0);
-ms-transform: translateZ(0) rotateY(0);
-o-transform: translateZ(0) rotateY(0);
transform: translateZ(0) rotateY(0);
}
.ih-item.circle.effect11.top_to_bottom .img {
-webkit-transform: translateZ(0) rotateX(0);
-moz-transform: translateZ(0) rotateX(0);
-ms-transform: translateZ(0) rotateX(0);
-o-transform: translateZ(0) rotateX(0);
transform: translateZ(0) rotateX(0);
}
.ih-item.circle.effect11.top_to_bottom .info {
-webkit-transform: translateZ(-1000px) rotateX(90deg);
-moz-transform: translateZ(-1000px) rotateX(90deg);
-ms-transform: translateZ(-1000px) rotateX(90deg);
-o-transform: translateZ(-1000px) rotateX(90deg);
transform: translateZ(-1000px) rotateX(90deg);
}
.ih-item.circle.effect11.top_to_bottom a:hover .img {
-webkit-transform: translateZ(-1000px) rotateX(-90deg);
-moz-transform: translateZ(-1000px) rotateX(-90deg);
-ms-transform: translateZ(-1000px) rotateX(-90deg);
-o-transform: translateZ(-1000px) rotateX(-90deg);
transform: translateZ(-1000px) rotateX(-90deg);
}
.ih-item.circle.effect11.top_to_bottom a:hover .info {
-webkit-transform: translateZ(0) rotateX(0);
-moz-transform: translateZ(0) rotateX(0);
-ms-transform: translateZ(0) rotateX(0);
-o-transform: translateZ(0) rotateX(0);
transform: translateZ(0) rotateX(0);
}
.ih-item.circle.effect11.bottom_to_top .img {
-webkit-transform: translateZ(0) rotateX(0);
-moz-transform: translateZ(0) rotateX(0);
-ms-transform: translateZ(0) rotateX(0);
-o-transform: translateZ(0) rotateX(0);
transform: translateZ(0) rotateX(0);
}
.ih-item.circle.effect11.bottom_to_top .info {
-webkit-transform: translateZ(-1000px) rotateX(-90deg);
-moz-transform: translateZ(-1000px) rotateX(-90deg);
-ms-transform: translateZ(-1000px) rotateX(-90deg);
-o-transform: translateZ(-1000px) rotateX(-90deg);
transform: translateZ(-1000px) rotateX(-90deg);
}
.ih-item.circle.effect11.bottom_to_top a:hover .img {
-webkit-transform: translateZ(-1000px) rotateX(90deg);
-moz-transform: translateZ(-1000px) rotateX(90deg);
-ms-transform: translateZ(-1000px) rotateX(90deg);
-o-transform: translateZ(-1000px) rotateX(90deg);
transform: translateZ(-1000px) rotateX(90deg);
}
.ih-item.circle.effect11.bottom_to_top a:hover .info {
-webkit-transform: translateZ(0) rotateX(0);
-moz-transform: translateZ(0) rotateX(0);
-ms-transform: translateZ(0) rotateX(0);
-o-transform: translateZ(0) rotateX(0);
transform: translateZ(0) rotateX(0);
}
.ih-item.circle.effect12 .img {
opacity: 1;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect12.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect12 .info {
background: #333333;
opacity: 0;
visibility: hidden;
pointer-events: none;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect12 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect12 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect12 a:hover .img {
opacity: 0;
pointer-events: none;
}
.ih-item.circle.effect12 a:hover .info {
opacity: 1;
visibility: visible;
}
.ih-item.circle.effect12.left_to_right .img {
-webkit-transform: translateX(0) rotate(0);
-moz-transform: translateX(0) rotate(0);
-ms-transform: translateX(0) rotate(0);
-o-transform: translateX(0) rotate(0);
transform: translateX(0) rotate(0);
}
.ih-item.circle.effect12.left_to_right .info {
-webkit-transform: translateX(100%) rotate(180deg);
-moz-transform: translateX(100%) rotate(180deg);
-ms-transform: translateX(100%) rotate(180deg);
-o-transform: translateX(100%) rotate(180deg);
transform: translateX(100%) rotate(180deg);
}
.ih-item.circle.effect12.left_to_right a:hover .img {
-webkit-transform: translateX(100%) rotate(180deg);
-moz-transform: translateX(100%) rotate(180deg);
-ms-transform: translateX(100%) rotate(180deg);
-o-transform: translateX(100%) rotate(180deg);
transform: translateX(100%) rotate(180deg);
}
.ih-item.circle.effect12.left_to_right a:hover .info {
-webkit-transform: translateX(0) rotate(0);
-moz-transform: translateX(0) rotate(0);
-ms-transform: translateX(0) rotate(0);
-o-transform: translateX(0) rotate(0);
transform: translateX(0) rotate(0);
-webkit-transition-delay: 0.4s;
-moz-transition-delay: 0.4s;
transition-delay: 0.4s;
}
.ih-item.circle.effect12.right_to_left .img {
-webkit-transform: translateX(0) rotate(0);
-moz-transform: translateX(0) rotate(0);
-ms-transform: translateX(0) rotate(0);
-o-transform: translateX(0) rotate(0);
transform: translateX(0) rotate(0);
}
.ih-item.circle.effect12.right_to_left .info {
-webkit-transform: translateX(-100%) rotate(-180deg);
-moz-transform: translateX(-100%) rotate(-180deg);
-ms-transform: translateX(-100%) rotate(-180deg);
-o-transform: translateX(-100%) rotate(-180deg);
transform: translateX(-100%) rotate(-180deg);
}
.ih-item.circle.effect12.right_to_left a:hover .img {
-webkit-transform: translateX(-100%) rotate(-180deg);
-moz-transform: translateX(-100%) rotate(-180deg);
-ms-transform: translateX(-100%) rotate(-180deg);
-o-transform: translateX(-100%) rotate(-180deg);
transform: translateX(-100%) rotate(-180deg);
}
.ih-item.circle.effect12.right_to_left a:hover .info {
-webkit-transform: translateX(0) rotate(0);
-moz-transform: translateX(0) rotate(0);
-ms-transform: translateX(0) rotate(0);
-o-transform: translateX(0) rotate(0);
transform: translateX(0) rotate(0);
-webkit-transition-delay: 0.4s;
-moz-transition-delay: 0.4s;
transition-delay: 0.4s;
}
.ih-item.circle.effect12.top_to_bottom .img {
-webkit-transform: translateY(0) rotate(0);
-moz-transform: translateY(0) rotate(0);
-ms-transform: translateY(0) rotate(0);
-o-transform: translateY(0) rotate(0);
transform: translateY(0) rotate(0);
}
.ih-item.circle.effect12.top_to_bottom .info {
-webkit-transform: translateY(-100%) rotate(-180deg);
-moz-transform: translateY(-100%) rotate(-180deg);
-ms-transform: translateY(-100%) rotate(-180deg);
-o-transform: translateY(-100%) rotate(-180deg);
transform: translateY(-100%) rotate(-180deg);
}
.ih-item.circle.effect12.top_to_bottom a:hover .img {
-webkit-transform: translateY(-100%) rotate(-180deg);
-moz-transform: translateY(-100%) rotate(-180deg);
-ms-transform: translateY(-100%) rotate(-180deg);
-o-transform: translateY(-100%) rotate(-180deg);
transform: translateY(-100%) rotate(-180deg);
}
.ih-item.circle.effect12.top_to_bottom a:hover .info {
-webkit-transform: translateY(0) rotate(0);
-moz-transform: translateY(0) rotate(0);
-ms-transform: translateY(0) rotate(0);
-o-transform: translateY(0) rotate(0);
transform: translateY(0) rotate(0);
-webkit-transition-delay: 0.4s;
-moz-transition-delay: 0.4s;
transition-delay: 0.4s;
}
.ih-item.circle.effect12.bottom_to_top .img {
-webkit-transform: translateY(0) rotate(0);
-moz-transform: translateY(0) rotate(0);
-ms-transform: translateY(0) rotate(0);
-o-transform: translateY(0) rotate(0);
transform: translateY(0) rotate(0);
}
.ih-item.circle.effect12.bottom_to_top .info {
-webkit-transform: translateY(100%) rotate(180deg);
-moz-transform: translateY(100%) rotate(180deg);
-ms-transform: translateY(100%) rotate(180deg);
-o-transform: translateY(100%) rotate(180deg);
transform: translateY(100%) rotate(180deg);
}
.ih-item.circle.effect12.bottom_to_top a:hover .img {
-webkit-transform: translateY(100%) rotate(180deg);
-moz-transform: translateY(100%) rotate(180deg);
-ms-transform: translateY(100%) rotate(180deg);
-o-transform: translateY(100%) rotate(180deg);
transform: translateY(100%) rotate(180deg);
}
.ih-item.circle.effect12.bottom_to_top a:hover .info {
-webkit-transform: translateY(0) rotate(0);
-moz-transform: translateY(0) rotate(0);
-ms-transform: translateY(0) rotate(0);
-o-transform: translateY(0) rotate(0);
transform: translateY(0) rotate(0);
-webkit-transition-delay: 0.4s;
-moz-transition-delay: 0.4s;
transition-delay: 0.4s;
}
.ih-item.circle.effect13.colored .info {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.circle.effect13 .info {
background: #333333;
background: rgba(0, 0, 0, 0.6);
opacity: 0;
pointer-events: none;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect13 .info h3 {
visibility: hidden;
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect13 .info p {
visibility: hidden;
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect13 a:hover .info {
opacity: 1;
}
.ih-item.circle.effect13 a:hover h3 {
visibility: visible;
}
.ih-item.circle.effect13 a:hover p {
visibility: visible;
}
.ih-item.circle.effect13.from_left_and_right .info h3 {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.circle.effect13.from_left_and_right .info p {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.circle.effect13.from_left_and_right a:hover h3 {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect13.from_left_and_right a:hover p {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.circle.effect13.top_to_bottom .info h3 {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect13.top_to_bottom .info p {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.circle.effect13.top_to_bottom a:hover h3 {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect13.top_to_bottom a:hover p {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect13.bottom_to_top .info h3 {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect13.bottom_to_top .info p {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.circle.effect13.bottom_to_top a:hover h3 {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect13.bottom_to_top a:hover p {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.circle.effect14 {
-webkit-perspective: 900px;
-moz-perspective: 900px;
perspective: 900px;
}
.ih-item.circle.effect14 .img {
visibility: visible;
opacity: 1;
-webkit-transition: all 0.4s ease-out;
-moz-transition: all 0.4s ease-out;
transition: all 0.4s ease-out;
}
.ih-item.circle.effect14.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect14 .info {
background: #333333;
opacity: 0;
visibility: hidden;
-webkit-transition: all 0.35s ease-in-out 0.3s;
-moz-transition: all 0.35s ease-in-out 0.3s;
transition: all 0.35s ease-in-out 0.3s;
}
.ih-item.circle.effect14 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect14 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect14 a:hover .img {
opacity: 0;
visibility: hidden;
}
.ih-item.circle.effect14 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.circle.effect14.left_to_right .img {
-webkit-transform: rotateY(0);
-moz-transform: rotateY(0);
-ms-transform: rotateY(0);
-o-transform: rotateY(0);
transform: rotateY(0);
-webkit-transform-origin: 100% 50%;
-moz-transform-origin: 100% 50%;
-ms-transform-origin: 100% 50%;
-o-transform-origin: 100% 50%;
transform-origin: 100% 50%;
}
.ih-item.circle.effect14.left_to_right .info {
-webkit-transform: rotateY(90deg);
-moz-transform: rotateY(90deg);
-ms-transform: rotateY(90deg);
-o-transform: rotateY(90deg);
transform: rotateY(90deg);
-webkit-transform-origin: 0% 50%;
-moz-transform-origin: 0% 50%;
-ms-transform-origin: 0% 50%;
-o-transform-origin: 0% 50%;
transform-origin: 0% 50%;
}
.ih-item.circle.effect14.left_to_right a:hover .img {
-webkit-transform: rotateY(-90deg);
-moz-transform: rotateY(-90deg);
-ms-transform: rotateY(-90deg);
-o-transform: rotateY(-90deg);
transform: rotateY(-90deg);
}
.ih-item.circle.effect14.left_to_right a:hover .info {
-webkit-transform: rotateY(0);
-moz-transform: rotateY(0);
-ms-transform: rotateY(0);
-o-transform: rotateY(0);
transform: rotateY(0);
}
.ih-item.circle.effect14.right_to_left .img {
-webkit-transform: rotateY(0);
-moz-transform: rotateY(0);
-ms-transform: rotateY(0);
-o-transform: rotateY(0);
transform: rotateY(0);
-webkit-transform-origin: 0% 50%;
-moz-transform-origin: 0% 50%;
-ms-transform-origin: 0% 50%;
-o-transform-origin: 0% 50%;
transform-origin: 0% 50%;
}
.ih-item.circle.effect14.right_to_left .info {
-webkit-transform: rotateY(-90deg);
-moz-transform: rotateY(-90deg);
-ms-transform: rotateY(-90deg);
-o-transform: rotateY(-90deg);
transform: rotateY(-90deg);
-webkit-transform-origin: 100% 50%;
-moz-transform-origin: 100% 50%;
-ms-transform-origin: 100% 50%;
-o-transform-origin: 100% 50%;
transform-origin: 100% 50%;
}
.ih-item.circle.effect14.right_to_left a:hover .img {
-webkit-transform: rotateY(90deg);
-moz-transform: rotateY(90deg);
-ms-transform: rotateY(90deg);
-o-transform: rotateY(90deg);
transform: rotateY(90deg);
}
.ih-item.circle.effect14.right_to_left a:hover .info {
-webkit-transform: rotateY(0);
-moz-transform: rotateY(0);
-ms-transform: rotateY(0);
-o-transform: rotateY(0);
transform: rotateY(0);
}
.ih-item.circle.effect14.top_to_bottom .img {
-webkit-transform: rotateX(0);
-moz-transform: rotateX(0);
-ms-transform: rotateX(0);
-o-transform: rotateX(0);
transform: rotateX(0);
-webkit-transform-origin: 50% 100%;
-moz-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
-o-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
.ih-item.circle.effect14.top_to_bottom .info {
-webkit-transform: rotateX(-90deg);
-moz-transform: rotateX(-90deg);
-ms-transform: rotateX(-90deg);
-o-transform: rotateX(-90deg);
transform: rotateX(-90deg);
-webkit-transform-origin: 50% 0;
-moz-transform-origin: 50% 0;
-ms-transform-origin: 50% 0;
-o-transform-origin: 50% 0;
transform-origin: 50% 0;
}
.ih-item.circle.effect14.top_to_bottom a:hover .img {
-webkit-transform: rotateX(90deg);
-moz-transform: rotateX(90deg);
-ms-transform: rotateX(90deg);
-o-transform: rotateX(90deg);
transform: rotateX(90deg);
}
.ih-item.circle.effect14.top_to_bottom a:hover .info {
-webkit-transform: rotateX(0);
-moz-transform: rotateX(0);
-ms-transform: rotateX(0);
-o-transform: rotateX(0);
transform: rotateX(0);
}
.ih-item.circle.effect14.bottom_to_top .img {
-webkit-transform: rotateX(0);
-moz-transform: rotateX(0);
-ms-transform: rotateX(0);
-o-transform: rotateX(0);
transform: rotateX(0);
-webkit-transform-origin: 50% 0;
-moz-transform-origin: 50% 0;
-ms-transform-origin: 50% 0;
-o-transform-origin: 50% 0;
transform-origin: 50% 0;
}
.ih-item.circle.effect14.bottom_to_top .info {
-webkit-transform: rotateX(90deg);
-moz-transform: rotateX(90deg);
-ms-transform: rotateX(90deg);
-o-transform: rotateX(90deg);
transform: rotateX(90deg);
-webkit-transform-origin: 50% 100%;
-moz-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
-o-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
.ih-item.circle.effect14.bottom_to_top a:hover .img {
-webkit-transform: rotateX(-90deg);
-moz-transform: rotateX(-90deg);
-ms-transform: rotateX(-90deg);
-o-transform: rotateX(-90deg);
transform: rotateX(-90deg);
}
.ih-item.circle.effect14.bottom_to_top a:hover .info {
-webkit-transform: rotateX(0);
-moz-transform: rotateX(0);
-ms-transform: rotateX(0);
-o-transform: rotateX(0);
transform: rotateX(0);
}
.ih-item.circle.effect15 .img {
opacity: 1;
visibility: visible;
-webkit-transform: scale(1) rotate(0);
-moz-transform: scale(1) rotate(0);
-ms-transform: scale(1) rotate(0);
-o-transform: scale(1) rotate(0);
transform: scale(1) rotate(0);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect15.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect15 .info {
background: #333333;
opacity: 0;
visibility: hidden;
-webkit-transform: scale(0.5) rotate(-720deg);
-moz-transform: scale(0.5) rotate(-720deg);
-ms-transform: scale(0.5) rotate(-720deg);
-o-transform: scale(0.5) rotate(-720deg);
transform: scale(0.5) rotate(-720deg);
-webkit-transition: all 0.35s ease-in-out 0.3s;
-moz-transition: all 0.35s ease-in-out 0.3s;
transition: all 0.35s ease-in-out 0.3s;
}
.ih-item.circle.effect15 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect15 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect15 a:hover .img {
opacity: 0;
visibility: hidden;
-webkit-transform: scale(0.5) rotate(720deg);
-moz-transform: scale(0.5) rotate(720deg);
-ms-transform: scale(0.5) rotate(720deg);
-o-transform: scale(0.5) rotate(720deg);
transform: scale(0.5) rotate(720deg);
}
.ih-item.circle.effect15 a:hover .info {
opacity: 1;
visibility: visible;
-webkit-transform: scale(1) rotate(0);
-moz-transform: scale(1) rotate(0);
-ms-transform: scale(1) rotate(0);
-o-transform: scale(1) rotate(0);
transform: scale(1) rotate(0);
}
.ih-item.circle.effect16 .img {
z-index: 11;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect16.colored .info {
background: #1a4a72;
}
.ih-item.circle.effect16 .info {
background: #333333;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect16 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect16 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect16.left_to_right .img {
-webkit-transform-origin: 95% 40%;
-moz-transform-origin: 95% 40%;
-ms-transform-origin: 95% 40%;
-o-transform-origin: 95% 40%;
transform-origin: 95% 40%;
}
.ih-item.circle.effect16.left_to_right .img:after {
content: '';
width: 8px;
height: 8px;
position: absolute;
border-radius: 50%;
top: 40%;
left: 95%;
margin: -4px 0 0 -4px;
background: rgba(0, 0, 0, 0.8);
box-shadow: 0 0 1px rgba(255, 255, 255, 0.9);
}
.ih-item.circle.effect16.left_to_right a:hover .img {
-webkit-transform: rotate(-120deg);
-moz-transform: rotate(-120deg);
-ms-transform: rotate(-120deg);
-o-transform: rotate(-120deg);
transform: rotate(-120deg);
}
.ih-item.circle.effect16.right_to_left .img {
-webkit-transform-origin: 5% 40%;
-moz-transform-origin: 5% 40%;
-ms-transform-origin: 5% 40%;
-o-transform-origin: 5% 40%;
transform-origin: 5% 40%;
}
.ih-item.circle.effect16.right_to_left .img:after {
content: '';
width: 8px;
height: 8px;
position: absolute;
border-radius: 50%;
top: 40%;
left: 5%;
margin: -4px 0 0 -4px;
background: rgba(0, 0, 0, 0.8);
box-shadow: 0 0 1px rgba(255, 255, 255, 0.9);
}
.ih-item.circle.effect16.right_to_left a:hover .img {
-webkit-transform: rotate(120deg);
-moz-transform: rotate(120deg);
-ms-transform: rotate(120deg);
-o-transform: rotate(120deg);
transform: rotate(120deg);
}
.ih-item.circle.effect17 .info {
opacity: 0;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect17 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect17 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
opacity: 0;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect17 a:hover .img:before {
box-shadow: inset 0 0 0 110px #333333, inset 0 0 0 16px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 0 0 110px rgba(0, 0, 0, 0.6), inset 0 0 0 16px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1);
}
.ih-item.circle.effect17 a:hover .info {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.circle.effect17 a:hover .info p {
opacity: 1;
}
.ih-item.circle.effect17.colored a:hover .img:before {
box-shadow: inset 0 0 0 110px #1a4a72, inset 0 0 0 16px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 0 0 110px rgba(26, 74, 114, 0.6), inset 0 0 0 16px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1);
}
.ih-item.circle.effect18 {
-webkit-perspective: 900px;
-moz-perspective: 900px;
perspective: 900px;
}
.ih-item.circle.effect18 .img {
z-index: 11;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.ih-item.circle.effect18.colored .info .info-back {
background: #1a4a72;
}
.ih-item.circle.effect18 .info {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.ih-item.circle.effect18 .info .info-back {
opacity: 1;
border-radius: 50%;
width: 100%;
height: 100%;
background: #333333;
}
.ih-item.circle.effect18 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect18 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect18.bottom_to_top .img {
-webkit-transform-origin: 50% 0;
-moz-transform-origin: 50% 0;
-ms-transform-origin: 50% 0;
-o-transform-origin: 50% 0;
transform-origin: 50% 0;
}
.ih-item.circle.effect18.bottom_to_top a:hover .img {
-webkit-transform: rotate3d(1, 0, 0, 180deg);
-moz-transform: rotate3d(1, 0, 0, 180deg);
-ms-transform: rotate3d(1, 0, 0, 180deg);
-o-transform: rotate3d(1, 0, 0, 180deg);
transform: rotate3d(1, 0, 0, 180deg);
}
.ih-item.circle.effect18.top_to_bottom .img {
-webkit-transform-origin: 50% 100%;
-moz-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
-o-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
.ih-item.circle.effect18.top_to_bottom a:hover .img {
-webkit-transform: rotate3d(1, 0, 0, -180deg);
-moz-transform: rotate3d(1, 0, 0, -180deg);
-ms-transform: rotate3d(1, 0, 0, -180deg);
-o-transform: rotate3d(1, 0, 0, -180deg);
transform: rotate3d(1, 0, 0, -180deg);
}
.ih-item.circle.effect18.left_to_right .img {
-webkit-transform-origin: 100% 50%;
-moz-transform-origin: 100% 50%;
-ms-transform-origin: 100% 50%;
-o-transform-origin: 100% 50%;
transform-origin: 100% 50%;
}
.ih-item.circle.effect18.left_to_right a:hover .img {
-webkit-transform: rotate3d(0, 1, 0, 180deg);
-moz-transform: rotate3d(0, 1, 0, 180deg);
-ms-transform: rotate3d(0, 1, 0, 180deg);
-o-transform: rotate3d(0, 1, 0, 180deg);
transform: rotate3d(0, 1, 0, 180deg);
}
.ih-item.circle.effect18.right_to_left .img {
-webkit-transform-origin: 0% 50%;
-moz-transform-origin: 0% 50%;
-ms-transform-origin: 0% 50%;
-o-transform-origin: 0% 50%;
transform-origin: 0% 50%;
}
.ih-item.circle.effect18.right_to_left a:hover .img {
-webkit-transform: rotate3d(0, 1, 0, -180deg);
-moz-transform: rotate3d(0, 1, 0, -180deg);
-ms-transform: rotate3d(0, 1, 0, -180deg);
-o-transform: rotate3d(0, 1, 0, -180deg);
transform: rotate3d(0, 1, 0, -180deg);
}
.ih-item.circle.effect19.colored .info {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.circle.effect19 .info {
background: #333333;
background: rgba(0, 0, 0, 0.6);
opacity: 0;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.circle.effect19 .info h3 {
color: #fff;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 45px 0 0 0;
height: 140px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect19 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect19 a:hover .info {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.circle.effect20 {
-webkit-perspective: 900px;
-moz-perspective: 900px;
perspective: 900px;
}
.ih-item.circle.effect20 .img {
-webkit-transition: all 0.35s linear;
-moz-transition: all 0.35s linear;
transition: all 0.35s linear;
-webkit-transform-origin: 50% 0%;
-moz-transform-origin: 50% 0%;
-ms-transform-origin: 50% 0%;
-o-transform-origin: 50% 0%;
transform-origin: 50% 0%;
}
.ih-item.circle.effect20.colored .info .info-back {
background: #1a4a72;
}
.ih-item.circle.effect20 .info {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.ih-item.circle.effect20 .info .info-back {
opacity: 1;
visibility: hidden;
border-radius: 50%;
width: 100%;
height: 100%;
background: #333333;
-webkit-transition: all 0.35s linear;
-moz-transition: all 0.35s linear;
transition: all 0.35s linear;
-webkit-transform-origin: 50% 0%;
-moz-transform-origin: 50% 0%;
-ms-transform-origin: 50% 0%;
-o-transform-origin: 50% 0%;
transform-origin: 50% 0%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.ih-item.circle.effect20 .info h3 {
color: #fff;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 22px;
margin: 0 30px;
padding: 55px 0 0 0;
height: 110px;
text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ih-item.circle.effect20 .info p {
color: #bbb;
padding: 10px 5px;
font-style: italic;
margin: 0 30px;
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.ih-item.circle.effect20 a:hover .img {
opacity: 0;
}
.ih-item.circle.effect20 a:hover .info .info-back {
opacity: 1;
visibility: visible;
}
.ih-item.circle.effect20.top_to_bottom .info .info-back {
-webkit-transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
-moz-transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
-ms-transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
-o-transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
}
.ih-item.circle.effect20.top_to_bottom a:hover .img {
-webkit-transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
-moz-transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
-ms-transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
-o-transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
}
.ih-item.circle.effect20.top_to_bottom a:hover .info .info-back {
-webkit-transform: rotate3d(1, 0, 0, 0deg);
-moz-transform: rotate3d(1, 0, 0, 0deg);
-ms-transform: rotate3d(1, 0, 0, 0deg);
-o-transform: rotate3d(1, 0, 0, 0deg);
transform: rotate3d(1, 0, 0, 0deg);
}
.ih-item.circle.effect20.bottom_to_top .info .info-back {
-webkit-transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
-moz-transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
-ms-transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
-o-transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
transform: translate3d(0, 280px, 0) rotate3d(1, 0, 0, -90deg);
}
.ih-item.circle.effect20.bottom_to_top a:hover .img {
-webkit-transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
-moz-transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
-ms-transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
-o-transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
}
.ih-item.circle.effect20.bottom_to_top a:hover .info .info-back {
-webkit-transform: rotate3d(1, 0, 0, 0deg);
-moz-transform: rotate3d(1, 0, 0, 0deg);
-ms-transform: rotate3d(1, 0, 0, 0deg);
-o-transform: rotate3d(1, 0, 0, 0deg);
transform: rotate3d(1, 0, 0, 0deg);
}
.ih-item.square.effect1 {
overflow: hidden;
}
.ih-item.square.effect1.colored .info {
background: #1a4a72;
}
.ih-item.square.effect1 .img {
z-index: 11;
position: absolute;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect1 .info {
background: #333333;
visibility: hidden;
opacity: 0;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect1 a:hover .info {
visibility: visible;
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect1.left_and_right .info h3 {
position: absolute;
top: 12px;
left: 12px;
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
margin: 0;
}
.ih-item.square.effect1.left_and_right .info p {
position: absolute;
right: 12px;
bottom: 12px;
margin: 0;
font-style: italic;
font-size: 12px;
color: #bbb;
}
.ih-item.square.effect1.left_and_right a:hover .img {
-webkit-transform: scale(0.6);
-moz-transform: scale(0.6);
-ms-transform: scale(0.6);
-o-transform: scale(0.6);
transform: scale(0.6);
}
.ih-item.square.effect1.top_to_bottom .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px 10px 0 4px;
margin: 10px 0 0 0;
}
.ih-item.square.effect1.top_to_bottom .info p {
font-style: italic;
font-size: 12px;
color: #bbb;
padding: 5px;
text-align: center;
}
.ih-item.square.effect1.top_to_bottom a:hover .img {
-webkit-transform: translateY(30px) scale(0.6);
-moz-transform: translateY(30px) scale(0.6);
-ms-transform: translateY(30px) scale(0.6);
-o-transform: translateY(30px) scale(0.6);
transform: translateY(30px) scale(0.6);
}
.ih-item.square.effect1.bottom_to_top .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px 10px 0 4px;
margin: 134px 0 0 0;
}
.ih-item.square.effect1.bottom_to_top .info p {
font-style: italic;
font-size: 12px;
color: #bbb;
padding: 5px;
text-align: center;
}
.ih-item.square.effect1.bottom_to_top a:hover .img {
-webkit-transform: translateY(-30px) scale(0.6);
-moz-transform: translateY(-30px) scale(0.6);
-ms-transform: translateY(-30px) scale(0.6);
-o-transform: translateY(-30px) scale(0.6);
transform: translateY(-30px) scale(0.6);
}
.ih-item.square.effect2 {
overflow: hidden;
}
.ih-item.square.effect2.colored .info {
background: #1a4a72;
}
.ih-item.square.effect2.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect2 .img {
opacity: 1;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
-webkit-transform: rotate(0deg) scale(1);
-moz-transform: rotate(0deg) scale(1);
-ms-transform: rotate(0deg) scale(1);
-o-transform: rotate(0deg) scale(1);
transform: rotate(0deg) scale(1);
}
.ih-item.square.effect2 .info {
background: #333333;
visibility: hidden;
-webkit-transition: all 0.35s 0.3s ease-in-out;
-moz-transition: all 0.35s 0.3s ease-in-out;
transition: all 0.35s 0.3s ease-in-out;
}
.ih-item.square.effect2 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
-webkit-transform: translateY(-200px);
-moz-transform: translateY(-200px);
-ms-transform: translateY(-200px);
-o-transform: translateY(-200px);
transform: translateY(-200px);
-webkit-transition: all 0.35s 0.6s ease-in-out;
-moz-transition: all 0.35s 0.6s ease-in-out;
transition: all 0.35s 0.6s ease-in-out;
}
.ih-item.square.effect2 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
-webkit-transform: translateY(-200px);
-moz-transform: translateY(-200px);
-ms-transform: translateY(-200px);
-o-transform: translateY(-200px);
transform: translateY(-200px);
-webkit-transition: all 0.35s 0.5s linear;
-moz-transition: all 0.35s 0.5s linear;
transition: all 0.35s 0.5s linear;
}
.ih-item.square.effect2 a:hover .img {
-webkit-transform: rotate(720deg) scale(0);
-moz-transform: rotate(720deg) scale(0);
-ms-transform: rotate(720deg) scale(0);
-o-transform: rotate(720deg) scale(0);
transform: rotate(720deg) scale(0);
opacity: 0;
}
.ih-item.square.effect2 a:hover .info {
visibility: visible;
}
.ih-item.square.effect2 a:hover .info h3,
.ih-item.square.effect2 a:hover .info p {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect3 {
overflow: hidden;
}
.ih-item.square.effect3.colored .info {
background: #1a4a72;
}
.ih-item.square.effect3 .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect3 .info {
height: 65px;
background: #333333;
opacity: 0;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect3 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px 10px 0 4px;
margin: 4px 0 0 0;
}
.ih-item.square.effect3 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 5px;
text-align: center;
}
.ih-item.square.effect3 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.square.effect3.bottom_to_top .info {
top: auto;
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.square.effect3.bottom_to_top a:hover .img {
-webkit-transform: translateY(-50px);
-moz-transform: translateY(-50px);
-ms-transform: translateY(-50px);
-o-transform: translateY(-50px);
transform: translateY(-50px);
}
.ih-item.square.effect3.bottom_to_top a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect3.top_to_bottom .info {
bottom: auto;
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.square.effect3.top_to_bottom a:hover .img {
-webkit-transform: translateY(50px);
-moz-transform: translateY(50px);
-ms-transform: translateY(50px);
-o-transform: translateY(50px);
transform: translateY(50px);
}
.ih-item.square.effect3.top_to_bottom a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect4 {
overflow: hidden;
position: relative;
}
.ih-item.square.effect4.colored .info {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect4.colored .mask1,
.ih-item.square.effect4.colored .mask2 {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.square.effect4 .img {
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect4 .mask1,
.ih-item.square.effect4 .mask2 {
position: absolute;
background: #333333;
background: rgba(0, 0, 0, 0.6);
height: 361px;
width: 361px;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect4 .mask1 {
left: auto;
right: 0;
top: 0;
-webkit-transform: rotate(56.5deg) translateX(-180px);
-moz-transform: rotate(56.5deg) translateX(-180px);
-ms-transform: rotate(56.5deg) translateX(-180px);
-o-transform: rotate(56.5deg) translateX(-180px);
transform: rotate(56.5deg) translateX(-180px);
-webkit-transform-origin: 100% 0%;
-moz-transform-origin: 100% 0%;
-ms-transform-origin: 100% 0%;
-o-transform-origin: 100% 0%;
transform-origin: 100% 0%;
}
.ih-item.square.effect4 .mask2 {
top: auto;
bottom: 0;
left: 0;
-webkit-transform: rotate(56.5deg) translateX(180px);
-moz-transform: rotate(56.5deg) translateX(180px);
-ms-transform: rotate(56.5deg) translateX(180px);
-o-transform: rotate(56.5deg) translateX(180px);
transform: rotate(56.5deg) translateX(180px);
-webkit-transform-origin: 0% 100%;
-moz-transform-origin: 0% 100%;
-ms-transform-origin: 0% 100%;
-o-transform-origin: 0% 100%;
transform-origin: 0% 100%;
}
.ih-item.square.effect4 .info {
background: #111111;
height: 0;
visibility: hidden;
width: 361px;
-webkit-transform: rotate(-33.5deg) translate(-112px, 166px);
-moz-transform: rotate(-33.5deg) translate(-112px, 166px);
-ms-transform: rotate(-33.5deg) translate(-112px, 166px);
-o-transform: rotate(-33.5deg) translate(-112px, 166px);
transform: rotate(-33.5deg) translate(-112px, 166px);
-webkit-transform-origin: 0% 100%;
-moz-transform-origin: 0% 100%;
-ms-transform-origin: 0% 100%;
-o-transform-origin: 0% 100%;
transform-origin: 0% 100%;
-webkit-transition: all 0.35s ease-in-out 0.35s;
-moz-transition: all 0.35s ease-in-out 0.35s;
transition: all 0.35s ease-in-out 0.35s;
}
.ih-item.square.effect4 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: transparent;
margin-top: 5px;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
opacity: 0;
-webkit-transition: all 0.35s ease-in-out 0.35s;
-moz-transition: all 0.35s ease-in-out 0.35s;
transition: all 0.35s ease-in-out 0.35s;
}
.ih-item.square.effect4 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
opacity: 0;
-webkit-transition: all 0.35s ease-in-out 0.35s;
-moz-transition: all 0.35s ease-in-out 0.35s;
transition: all 0.35s ease-in-out 0.35s;
}
.ih-item.square.effect4 a:hover .mask1 {
-webkit-transform: rotate(56.5deg) translateX(1px);
-moz-transform: rotate(56.5deg) translateX(1px);
-ms-transform: rotate(56.5deg) translateX(1px);
-o-transform: rotate(56.5deg) translateX(1px);
transform: rotate(56.5deg) translateX(1px);
}
.ih-item.square.effect4 a:hover .mask2 {
-webkit-transform: rotate(56.5deg) translateX(-1px);
-moz-transform: rotate(56.5deg) translateX(-1px);
-ms-transform: rotate(56.5deg) translateX(-1px);
-o-transform: rotate(56.5deg) translateX(-1px);
transform: rotate(56.5deg) translateX(-1px);
}
.ih-item.square.effect4 a:hover .info {
width: 300px;
height: 120px;
visibility: visible;
top: 40px;
-webkit-transform: rotate(0deg) translate(0, 0);
-moz-transform: rotate(0deg) translate(0, 0);
-ms-transform: rotate(0deg) translate(0, 0);
-o-transform: rotate(0deg) translate(0, 0);
transform: rotate(0deg) translate(0, 0);
}
.ih-item.square.effect4 a:hover .info h3,
.ih-item.square.effect4 a:hover .info p {
opacity: 1;
}
.ih-item.square.effect5.colored .info {
background: #1a4a72;
}
.ih-item.square.effect5.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect5 .img {
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect5 .info {
background: #333333;
opacity: 0;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect5 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
}
.ih-item.square.effect5 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
}
.ih-item.square.effect5 a:hover .img {
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
-webkit-transition-delay: 0;
-moz-transition-delay: 0;
transition-delay: 0;
}
.ih-item.square.effect5 a:hover .info {
visibility: visible;
opacity: 1;
-webkit-transform: scale(1) rotate(0deg);
-moz-transform: scale(1) rotate(0deg);
-ms-transform: scale(1) rotate(0deg);
-o-transform: scale(1) rotate(0deg);
transform: scale(1) rotate(0deg);
-webkit-transition-delay: 0.3s;
-moz-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.ih-item.square.effect5.left_to_right .info {
-webkit-transform: scale(0) rotate(-180deg);
-moz-transform: scale(0) rotate(-180deg);
-ms-transform: scale(0) rotate(-180deg);
-o-transform: scale(0) rotate(-180deg);
transform: scale(0) rotate(-180deg);
}
.ih-item.square.effect5.right_to_left .info {
-webkit-transform: scale(0) rotate(180deg);
-moz-transform: scale(0) rotate(180deg);
-ms-transform: scale(0) rotate(180deg);
-o-transform: scale(0) rotate(180deg);
transform: scale(0) rotate(180deg);
}
.ih-item.square.effect6 {
overflow: hidden;
}
.ih-item.square.effect6.colored .info {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.square.effect6.colored .info h3 {
/*background: rgba(12, 34, 52, 0.6);*/
}
.ih-item.square.effect6 .img {
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect6 .info {
background: #333333;
background: rgba(0, 0, 0, 0.6);
visibility: hidden;
opacity: 0;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect6 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 25px;
padding: 10px;
text-decoration: underline;
/*background: #111111;*/
margin: 30px 0 0 0;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect6 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
-webkit-transition: all 0.35s 0.1s linear;
-moz-transition: all 0.35s 0.1s linear;
transition: all 0.35s 0.1s linear;
}
.ih-item.square.effect6 a:hover .img {
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-ms-transform: scale(1.2);
-o-transform: scale(1.2);
transform: scale(1.2);
}
.ih-item.square.effect6 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.square.effect6.from_top_and_bottom .info h3 {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.square.effect6.from_top_and_bottom .info p {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.square.effect6.from_top_and_bottom a:hover .info h3,
.ih-item.square.effect6.from_top_and_bottom a:hover .info p {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect6.from_left_and_right .info h3 {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.square.effect6.from_left_and_right .info p {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.square.effect6.from_left_and_right a:hover .info h3,
.ih-item.square.effect6.from_left_and_right a:hover .info p {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.square.effect6.top_to_bottom .info h3 {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.square.effect6.top_to_bottom .info p {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.square.effect6.top_to_bottom a:hover .info h3,
.ih-item.square.effect6.top_to_bottom a:hover .info p {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect6.bottom_to_top .info h3 {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.square.effect6.bottom_to_top .info p {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.square.effect6.bottom_to_top a:hover .info h3,
.ih-item.square.effect6.bottom_to_top a:hover .info p {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect7 {
overflow: hidden;
}
.ih-item.square.effect7.colored .info {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.square.effect7.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect7 .img {
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect7 .info {
background: #333333;
background: rgba(0, 0, 0, 0.6);
visibility: hidden;
opacity: 0;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect7 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
-webkit-transform: scale(4);
-moz-transform: scale(4);
-ms-transform: scale(4);
-o-transform: scale(4);
transform: scale(4);
-webkit-transition: all 0.35s 0.1s ease-in-out;
-moz-transition: all 0.35s 0.1s ease-in-out;
transition: all 0.35s 0.1s ease-in-out;
}
.ih-item.square.effect7 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
-webkit-transform: scale(5);
-moz-transform: scale(5);
-ms-transform: scale(5);
-o-transform: scale(5);
transform: scale(5);
-webkit-transition: all 0.35s 0.3s linear;
-moz-transition: all 0.35s 0.3s linear;
transition: all 0.35s 0.3s linear;
}
.ih-item.square.effect7 a:hover .img {
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-ms-transform: scale(1.2);
-o-transform: scale(1.2);
transform: scale(1.2);
}
.ih-item.square.effect7 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.square.effect7 a:hover .info h3,
.ih-item.square.effect7 a:hover .info p {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect8 {
overflow: hidden;
}
.ih-item.square.effect8.colored .info {
background: #1a4a72;
}
.ih-item.square.effect8.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect8 .img {
opacity: 1;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect8 .info {
background: #333333;
visibility: hidden;
opacity: 0;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect8 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
-webkit-transition: all 0.35s 0.1s ease-in-out;
-moz-transition: all 0.35s 0.1s ease-in-out;
transition: all 0.35s 0.1s ease-in-out;
}
.ih-item.square.effect8 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
-webkit-transition: all 0.35s 0.15s linear;
-moz-transition: all 0.35s 0.15s linear;
transition: all 0.35s 0.15s linear;
}
.ih-item.square.effect8 a:hover .img {
opacity: 0;
}
.ih-item.square.effect8 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.square.effect8.scale_up .img {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect8.scale_up .info {
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}
.ih-item.square.effect8.scale_up .info h3,
.ih-item.square.effect8.scale_up .info p {
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}
.ih-item.square.effect8.scale_up a:hover .img {
-webkit-transform: scale(5);
-moz-transform: scale(5);
-ms-transform: scale(5);
-o-transform: scale(5);
transform: scale(5);
}
.ih-item.square.effect8.scale_up a:hover .info {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect8.scale_up a:hover .info h3,
.ih-item.square.effect8.scale_up a:hover .info p {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect8.scale_down .img {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect8.scale_down .info {
-webkit-transform: scale(5);
-moz-transform: scale(5);
-ms-transform: scale(5);
-o-transform: scale(5);
transform: scale(5);
}
.ih-item.square.effect8.scale_down .info h3,
.ih-item.square.effect8.scale_down .info p {
-webkit-transform: scale(5);
-moz-transform: scale(5);
-ms-transform: scale(5);
-o-transform: scale(5);
transform: scale(5);
}
.ih-item.square.effect8.scale_down a:hover .img {
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
}
.ih-item.square.effect8.scale_down a:hover .info {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect8.scale_down a:hover .info h3,
.ih-item.square.effect8.scale_down a:hover .info p {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect9 {
-webkit-perspective: 900px;
-moz-perspective: 900px;
perspective: 900px;
}
.ih-item.square.effect9.colored .info .info-back {
background: #1a4a72;
}
.ih-item.square.effect9.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect9 .img {
position: relative;
z-index: 11;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.ih-item.square.effect9 .info {
z-index: 0;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.ih-item.square.effect9 .info .info-back {
opacity: 1;
width: 100%;
height: 100%;
padding-top: 30px;
background: #333333;
}
.ih-item.square.effect9 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 0;
}
.ih-item.square.effect9 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
}
.ih-item.square.effect9.left_to_right .img {
-webkit-transform-origin: 100% 50%;
-moz-transform-origin: 100% 50%;
-ms-transform-origin: 100% 50%;
-o-transform-origin: 100% 50%;
transform-origin: 100% 50%;
}
.ih-item.square.effect9.left_to_right a:hover .img {
-webkit-transform: rotate3d(0, 1, 0, 180deg);
-moz-transform: rotate3d(0, 1, 0, 180deg);
-ms-transform: rotate3d(0, 1, 0, 180deg);
-o-transform: rotate3d(0, 1, 0, 180deg);
transform: rotate3d(0, 1, 0, 180deg);
}
.ih-item.square.effect9.right_to_left .img {
-webkit-transform-origin: 0% 50%;
-moz-transform-origin: 0% 50%;
-ms-transform-origin: 0% 50%;
-o-transform-origin: 0% 50%;
transform-origin: 0% 50%;
}
.ih-item.square.effect9.right_to_left a:hover .img {
-webkit-transform: rotate3d(0, 1, 0, -180deg);
-moz-transform: rotate3d(0, 1, 0, -180deg);
-ms-transform: rotate3d(0, 1, 0, -180deg);
-o-transform: rotate3d(0, 1, 0, -180deg);
transform: rotate3d(0, 1, 0, -180deg);
}
.ih-item.square.effect9.top_to_bottom .img {
-webkit-transform-origin: 50% 100%;
-moz-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
-o-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
.ih-item.square.effect9.top_to_bottom a:hover .img {
-webkit-transform: rotate3d(1, 0, 0, -180deg);
-moz-transform: rotate3d(1, 0, 0, -180deg);
-ms-transform: rotate3d(1, 0, 0, -180deg);
-o-transform: rotate3d(1, 0, 0, -180deg);
transform: rotate3d(1, 0, 0, -180deg);
}
.ih-item.square.effect9.bottom_to_top .img {
-webkit-transform-origin: 50% 0;
-moz-transform-origin: 50% 0;
-ms-transform-origin: 50% 0;
-o-transform-origin: 50% 0;
transform-origin: 50% 0;
}
.ih-item.square.effect9.bottom_to_top a:hover .img {
-webkit-transform: rotate3d(1, 0, 0, 180deg);
-moz-transform: rotate3d(1, 0, 0, 180deg);
-ms-transform: rotate3d(1, 0, 0, 180deg);
-o-transform: rotate3d(1, 0, 0, 180deg);
transform: rotate3d(1, 0, 0, 180deg);
}
.ih-item.square.effect10 {
overflow: hidden;
}
.ih-item.square.effect10.colored .info {
background: #1a4a72;
}
.ih-item.square.effect10.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect10 .img {
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect10 .info {
background: #333333;
visibility: hidden;
opacity: 0;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect10 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
}
.ih-item.square.effect10 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
}
.ih-item.square.effect10 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.square.effect10.left_to_right .img {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.square.effect10.left_to_right .info {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.square.effect10.left_to_right a:hover .img {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.square.effect10.left_to_right a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.square.effect10.right_to_left .img {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.square.effect10.right_to_left .info {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.square.effect10.right_to_left a:hover .img {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.square.effect10.right_to_left a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.square.effect10.top_to_bottom .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect10.top_to_bottom .info {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.square.effect10.top_to_bottom a:hover .img {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.square.effect10.top_to_bottom a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect10.bottom_to_top .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect10.bottom_to_top .info {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.square.effect10.bottom_to_top a:hover .img {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.square.effect10.bottom_to_top a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect11 {
overflow: hidden;
}
.ih-item.square.effect11.colored .info {
background: #1a4a72;
}
.ih-item.square.effect11.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect11 .img {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect11 .info {
background: #333333;
visibility: hidden;
opacity: 0;
-webkit-transition: all 0.35s ease 0.2s;
-moz-transition: all 0.35s ease 0.2s;
transition: all 0.35s ease 0.2s;
}
.ih-item.square.effect11 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
}
.ih-item.square.effect11 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
}
.ih-item.square.effect11 a:hover .img {
opacity: 0;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
}
.ih-item.square.effect11 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.square.effect11.left_to_right .info {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.square.effect11.left_to_right a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.square.effect11.right_to_left .info {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.square.effect11.right_to_left a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.square.effect11.top_to_bottom .info {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.square.effect11.top_to_bottom a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect11.bottom_to_top .info {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.square.effect11.bottom_to_top a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect12 {
overflow: hidden;
}
.ih-item.square.effect12.colored .info {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.square.effect12.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect12 .img {
-webkit-transition: all 0.35s ease-in;
-moz-transition: all 0.35s ease-in;
transition: all 0.35s ease-in;
}
.ih-item.square.effect12 .info {
background: #333333;
background: rgba(0, 0, 0, 0.6);
visibility: hidden;
opacity: 0;
-webkit-transition: all 0.35s ease-in;
-moz-transition: all 0.35s ease-in;
transition: all 0.35s ease-in;
}
.ih-item.square.effect12 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
-webkit-transition: all 0.35s ease-in;
-moz-transition: all 0.35s ease-in;
transition: all 0.35s ease-in;
}
.ih-item.square.effect12 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
-webkit-transition: all 0.35s ease-in;
-moz-transition: all 0.35s ease-in;
transition: all 0.35s ease-in;
}
.ih-item.square.effect12 a:hover .info {
visibility: visible;
opacity: 1;
-webkit-transition-delay: 0.2s;
-moz-transition-delay: 0.2s;
transition-delay: 0.2s;
}
.ih-item.square.effect12 a:hover .info h3 {
-webkit-transition-delay: 0.3s;
-moz-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.ih-item.square.effect12 a:hover .info p {
-webkit-transition-delay: 0.25s;
-moz-transition-delay: 0.25s;
transition-delay: 0.25s;
}
.ih-item.square.effect12.left_to_right .info {
-webkit-transform: translate(-460px, -100px) rotate(-180deg);
-moz-transform: translate(-460px, -100px) rotate(-180deg);
-ms-transform: translate(-460px, -100px) rotate(-180deg);
-o-transform: translate(-460px, -100px) rotate(-180deg);
transform: translate(-460px, -100px) rotate(-180deg);
}
.ih-item.square.effect12.left_to_right .info h3 {
-webkit-transform: translateY(-100px);
-moz-transform: translateY(-100px);
-ms-transform: translateY(-100px);
-o-transform: translateY(-100px);
transform: translateY(-100px);
}
.ih-item.square.effect12.left_to_right .info p {
-webkit-transform: translateX(-300px) rotate(-90deg);
-moz-transform: translateX(-300px) rotate(-90deg);
-ms-transform: translateX(-300px) rotate(-90deg);
-o-transform: translateX(-300px) rotate(-90deg);
transform: translateX(-300px) rotate(-90deg);
}
.ih-item.square.effect12.left_to_right a:hover .info {
-webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
-o-transform: translate(0px, 0px);
transform: translate(0px, 0px);
}
.ih-item.square.effect12.left_to_right a:hover .info h3 {
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px);
}
.ih-item.square.effect12.left_to_right a:hover .info p {
-webkit-transform: translateX(0px) rotate(0deg);
-moz-transform: translateX(0px) rotate(0deg);
-ms-transform: translateX(0px) rotate(0deg);
-o-transform: translateX(0px) rotate(0deg);
transform: translateX(0px) rotate(0deg);
}
.ih-item.square.effect12.right_to_left .info {
-webkit-transform: translate(460px, -100px) rotate(180deg);
-moz-transform: translate(460px, -100px) rotate(180deg);
-ms-transform: translate(460px, -100px) rotate(180deg);
-o-transform: translate(460px, -100px) rotate(180deg);
transform: translate(460px, -100px) rotate(180deg);
}
.ih-item.square.effect12.right_to_left .info h3 {
-webkit-transform: translateY(-100px);
-moz-transform: translateY(-100px);
-ms-transform: translateY(-100px);
-o-transform: translateY(-100px);
transform: translateY(-100px);
}
.ih-item.square.effect12.right_to_left .info p {
-webkit-transform: translateX(300px) rotate(90deg);
-moz-transform: translateX(300px) rotate(90deg);
-ms-transform: translateX(300px) rotate(90deg);
-o-transform: translateX(300px) rotate(90deg);
transform: translateX(300px) rotate(90deg);
}
.ih-item.square.effect12.right_to_left a:hover .info {
-webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
-o-transform: translate(0px, 0px);
transform: translate(0px, 0px);
}
.ih-item.square.effect12.right_to_left a:hover .info h3 {
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px);
}
.ih-item.square.effect12.right_to_left a:hover .info p {
-webkit-transform: translateX(0px) rotate(0deg);
-moz-transform: translateX(0px) rotate(0deg);
-ms-transform: translateX(0px) rotate(0deg);
-o-transform: translateX(0px) rotate(0deg);
transform: translateX(0px) rotate(0deg);
}
.ih-item.square.effect12.top_to_bottom .info {
-webkit-transform: translate(-265px, -145px) rotate(-45deg);
-moz-transform: translate(-265px, -145px) rotate(-45deg);
-ms-transform: translate(-265px, -145px) rotate(-45deg);
-o-transform: translate(-265px, -145px) rotate(-45deg);
transform: translate(-265px, -145px) rotate(-45deg);
}
.ih-item.square.effect12.top_to_bottom .info h3 {
-webkit-transform: translate(200px, -200px);
-moz-transform: translate(200px, -200px);
-ms-transform: translate(200px, -200px);
-o-transform: translate(200px, -200px);
transform: translate(200px, -200px);
}
.ih-item.square.effect12.top_to_bottom .info p {
-webkit-transform: translate(200px, -200px);
-moz-transform: translate(200px, -200px);
-ms-transform: translate(200px, -200px);
-o-transform: translate(200px, -200px);
transform: translate(200px, -200px);
}
.ih-item.square.effect12.top_to_bottom a:hover .info {
-webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
-o-transform: translate(0px, 0px);
transform: translate(0px, 0px);
-webkit-transition-delay: 0.2s;
-moz-transition-delay: 0.2s;
transition-delay: 0.2s;
}
.ih-item.square.effect12.top_to_bottom a:hover .info h3 {
-webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
-o-transform: translate(0px, 0px);
transform: translate(0px, 0px);
-webkit-transition-delay: 0.3s;
-moz-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.ih-item.square.effect12.top_to_bottom a:hover .info p {
-webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
-o-transform: translate(0px, 0px);
transform: translate(0px, 0px);
-webkit-transition-delay: 0.4s;
-moz-transition-delay: 0.4s;
transition-delay: 0.4s;
}
.ih-item.square.effect12.bottom_to_top .info {
-webkit-transform: translate(265px, 145px) rotate(45deg);
-moz-transform: translate(265px, 145px) rotate(45deg);
-ms-transform: translate(265px, 145px) rotate(45deg);
-o-transform: translate(265px, 145px) rotate(45deg);
transform: translate(265px, 145px) rotate(45deg);
}
.ih-item.square.effect12.bottom_to_top .info h3 {
-webkit-transform: translate(200px, -200px);
-moz-transform: translate(200px, -200px);
-ms-transform: translate(200px, -200px);
-o-transform: translate(200px, -200px);
transform: translate(200px, -200px);
}
.ih-item.square.effect12.bottom_to_top .info p {
-webkit-transform: translate(-200px, 200px);
-moz-transform: translate(-200px, 200px);
-ms-transform: translate(-200px, 200px);
-o-transform: translate(-200px, 200px);
transform: translate(-200px, 200px);
}
.ih-item.square.effect12.bottom_to_top a:hover .info {
-webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
-o-transform: translate(0px, 0px);
transform: translate(0px, 0px);
-webkit-transition-delay: 0.2s;
-moz-transition-delay: 0.2s;
transition-delay: 0.2s;
}
.ih-item.square.effect12.bottom_to_top a:hover .info h3 {
-webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
-o-transform: translate(0px, 0px);
transform: translate(0px, 0px);
-webkit-transition-delay: 0.3s;
-moz-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.ih-item.square.effect12.bottom_to_top a:hover .info p {
-webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
-o-transform: translate(0px, 0px);
transform: translate(0px, 0px);
-webkit-transition-delay: 0.4s;
-moz-transition-delay: 0.4s;
transition-delay: 0.4s;
}
.ih-item.square.effect13 {
overflow: hidden;
}
.ih-item.square.effect13.colored .info {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
}
.ih-item.square.effect13.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect13 .img {
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect13 .info {
background: #333333;
background: rgba(0, 0, 0, 0.6);
visibility: hidden;
opacity: 0;
pointer-events: none;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect13 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
}
.ih-item.square.effect13 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
}
.ih-item.square.effect13 a:hover .img {
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-ms-transform: scale(1.2);
-o-transform: scale(1.2);
transform: scale(1.2);
}
.ih-item.square.effect13 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.square.effect13.left_to_right .info {
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
.ih-item.square.effect13.left_to_right a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.square.effect13.right_to_left .info {
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
}
.ih-item.square.effect13.right_to_left a:hover .info {
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.ih-item.square.effect13.top_to_bottom .info {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.square.effect13.top_to_bottom a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect13.bottom_to_top .info {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.square.effect13.bottom_to_top a:hover .info {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect14.colored .info {
background: #1a4a72;
}
.ih-item.square.effect14.colored .info h3 {
background: rgba(12, 34, 52, 0.6);
}
.ih-item.square.effect14 .img {
opacity: 1;
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
.ih-item.square.effect14 .info {
background: #333333;
visibility: hidden;
opacity: 0;
pointer-events: none;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
-webkit-transition: all 0.35s ease 0.2s;
-moz-transition: all 0.35s ease 0.2s;
transition: all 0.35s ease 0.2s;
}
.ih-item.square.effect14 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
}
.ih-item.square.effect14 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
}
.ih-item.square.effect14 a:hover .img {
opacity: 0;
pointer-events: none;
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
-o-transform: scale(0.5);
transform: scale(0.5);
}
.ih-item.square.effect14 a:hover .info {
visibility: visible;
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.ih-item.square.effect14.left_to_right .img {
-webkit-transform: translateX(0) rotate(0);
-moz-transform: translateX(0) rotate(0);
-ms-transform: translateX(0) rotate(0);
-o-transform: translateX(0) rotate(0);
transform: translateX(0) rotate(0);
}
.ih-item.square.effect14.left_to_right a:hover .img {
-webkit-transform: translateX(100%) rotate(180deg);
-moz-transform: translateX(100%) rotate(180deg);
-ms-transform: translateX(100%) rotate(180deg);
-o-transform: translateX(100%) rotate(180deg);
transform: translateX(100%) rotate(180deg);
}
.ih-item.square.effect14.right_to_left .img {
-webkit-transform: translateX(0) rotate(0);
-moz-transform: translateX(0) rotate(0);
-ms-transform: translateX(0) rotate(0);
-o-transform: translateX(0) rotate(0);
transform: translateX(0) rotate(0);
}
.ih-item.square.effect14.right_to_left a:hover .img {
-webkit-transform: translateX(-100%) rotate(-180deg);
-moz-transform: translateX(-100%) rotate(-180deg);
-ms-transform: translateX(-100%) rotate(-180deg);
-o-transform: translateX(-100%) rotate(-180deg);
transform: translateX(-100%) rotate(-180deg);
}
.ih-item.square.effect14.top_to_bottom .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect14.top_to_bottom a:hover .img {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}
.ih-item.square.effect14.bottom_to_top .img {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
.ih-item.square.effect14.bottom_to_top a:hover .img {
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
}
.ih-item.square.effect15 {
overflow: hidden;
-webkit-perspective: 900px;
-moz-perspective: 900px;
perspective: 900px;
}
.ih-item.square.effect15.colored .info {
background: #1a4a72;
}
.ih-item.square.effect15 .img {
opacity: 1;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.ih-item.square.effect15 .info {
background: #333333;
opacity: 0;
-webkit-transition: all 0.35s ease-in-out 0.3s;
-moz-transition: all 0.35s ease-in-out 0.3s;
transition: all 0.35s ease-in-out 0.3s;
}
.ih-item.square.effect15 .info h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
margin: 30px 0 0 0;
}
.ih-item.square.effect15 .info p {
font-style: italic;
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
}
.ih-item.square.effect15 a:hover .img {
opacity: 0;
visibility: hidden;
}
.ih-item.square.effect15 a:hover .info {
visibility: visible;
opacity: 1;
}
.ih-item.square.effect15.left_to_right .img {
-webkit-transform: rotateY(0);
-moz-transform: rotateY(0);
-ms-transform: rotateY(0);
-o-transform: rotateY(0);
transform: rotateY(0);
-webkit-transform-origin: 100% 50%;
-moz-transform-origin: 100% 50%;
-ms-transform-origin: 100% 50%;
-o-transform-origin: 100% 50%;
transform-origin: 100% 50%;
}
.ih-item.square.effect15.left_to_right .info {
-webkit-transform: rotateY(90deg);
-moz-transform: rotateY(90deg);
-ms-transform: rotateY(90deg);
-o-transform: rotateY(90deg);
transform: rotateY(90deg);
-webkit-transform-origin: 0% 50%;
-moz-transform-origin: 0% 50%;
-ms-transform-origin: 0% 50%;
-o-transform-origin: 0% 50%;
transform-origin: 0% 50%;
}
.ih-item.square.effect15.left_to_right a:hover .img {
-webkit-transform: rotateY(-90deg);
-moz-transform: rotateY(-90deg);
-ms-transform: rotateY(-90deg);
-o-transform: rotateY(-90deg);
transform: rotateY(-90deg);
}
.ih-item.square.effect15.left_to_right a:hover .info {
-webkit-transform: rotateY(0);
-moz-transform: rotateY(0);
-ms-transform: rotateY(0);
-o-transform: rotateY(0);
transform: rotateY(0);
}
.ih-item.square.effect15.right_to_left .img {
-webkit-transform: rotateY(0);
-moz-transform: rotateY(0);
-ms-transform: rotateY(0);
-o-transform: rotateY(0);
transform: rotateY(0);
-webkit-transform-origin: 0% 50%;
-moz-transform-origin: 0% 50%;
-ms-transform-origin: 0% 50%;
-o-transform-origin: 0% 50%;
transform-origin: 0% 50%;
}
.ih-item.square.effect15.right_to_left .info {
-webkit-transform: rotateY(-90deg);
-moz-transform: rotateY(-90deg);
-ms-transform: rotateY(-90deg);
-o-transform: rotateY(-90deg);
transform: rotateY(-90deg);
-webkit-transform-origin: 100% 50%;
-moz-transform-origin: 100% 50%;
-ms-transform-origin: 100% 50%;
-o-transform-origin: 100% 50%;
transform-origin: 100% 50%;
}
.ih-item.square.effect15.right_to_left a:hover .img {
-webkit-transform: rotateY(90deg);
-moz-transform: rotateY(90deg);
-ms-transform: rotateY(90deg);
-o-transform: rotateY(90deg);
transform: rotateY(90deg);
}
.ih-item.square.effect15.right_to_left a:hover .info {
-webkit-transform: rotateY(0);
-moz-transform: rotateY(0);
-ms-transform: rotateY(0);
-o-transform: rotateY(0);
transform: rotateY(0);
}
.ih-item.square.effect15.top_to_bottom .img {
-webkit-transform: rotateX(0);
-moz-transform: rotateX(0);
-ms-transform: rotateX(0);
-o-transform: rotateX(0);
transform: rotateX(0);
-webkit-transform-origin: 50% 100%;
-moz-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
-o-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
.ih-item.square.effect15.top_to_bottom .info {
-webkit-transform: rotateX(-90deg);
-moz-transform: rotateX(-90deg);
-ms-transform: rotateX(-90deg);
-o-transform: rotateX(-90deg);
transform: rotateX(-90deg);
-webkit-transform-origin: 50% 0;
-moz-transform-origin: 50% 0;
-ms-transform-origin: 50% 0;
-o-transform-origin: 50% 0;
transform-origin: 50% 0;
}
.ih-item.square.effect15.top_to_bottom a:hover .img {
-webkit-transform: rotateX(90deg);
-moz-transform: rotateX(90deg);
-ms-transform: rotateX(90deg);
-o-transform: rotateX(90deg);
transform: rotateX(90deg);
}
.ih-item.square.effect15.top_to_bottom a:hover .info {
-webkit-transform: rotateX(0);
-moz-transform: rotateX(0);
-ms-transform: rotateX(0);
-o-transform: rotateX(0);
transform: rotateX(0);
}
.ih-item.square.effect15.bottom_to_top .img {
-webkit-transform: rotateX(0);
-moz-transform: rotateX(0);
-ms-transform: rotateX(0);
-o-transform: rotateX(0);
transform: rotateX(0);
-webkit-transform-origin: 50% 0;
-moz-transform-origin: 50% 0;
-ms-transform-origin: 50% 0;
-o-transform-origin: 50% 0;
transform-origin: 50% 0;
}
.ih-item.square.effect15.bottom_to_top .info {
-webkit-transform: rotateX(90deg);
-moz-transform: rotateX(90deg);
-ms-transform: rotateX(90deg);
-o-transform: rotateX(90deg);
transform: rotateX(90deg);
-webkit-transform-origin: 50% 100%;
-moz-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
-o-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
.ih-item.square.effect15.bottom_to_top a:hover .img {
-webkit-transform: rotateX(-90deg);
-moz-transform: rotateX(-90deg);
-ms-transform: rotateX(-90deg);
-o-transform: rotateX(-90deg);
transform: rotateX(-90deg);
}
.ih-item.square.effect15.bottom_to_top a:hover .info {
-webkit-transform: rotateX(0);
-moz-transform: rotateX(0);
-ms-transform: rotateX(0);
-o-transform: rotateX(0);
transform: rotateX(0);
} | JorgeProyecto/azulCancun | web/css/ihover.css | CSS | mit | 135,098 | [
30522,
1012,
1045,
2232,
1011,
8875,
1063,
2597,
1024,
5816,
1025,
1011,
4773,
23615,
1011,
6653,
1024,
2035,
1014,
1012,
3486,
2015,
7496,
1011,
1999,
1011,
2041,
1025,
1011,
9587,
2480,
1011,
6653,
1024,
2035,
1014,
1012,
3486,
2015,
74... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
package com.mmm.product.domain;
import java.io.Serializable;
public class ShippingDetails implements Serializable{
private static final long serialVersionUID = 5941389959992371612L;
}
| Lnjena/mmm.com | mmm-spring-boot/src/main/java/com/mmm/product/domain/ShippingDetails.java | Java | gpl-2.0 | 189 | [
30522,
7427,
4012,
1012,
25391,
1012,
4031,
1012,
5884,
1025,
12324,
9262,
1012,
22834,
1012,
7642,
21335,
3468,
1025,
2270,
2465,
7829,
3207,
22081,
22164,
7642,
21335,
3468,
1063,
2797,
10763,
2345,
2146,
7642,
27774,
21272,
1027,
5354,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# Copyright 2019 Virgil Dupras
#
# This software is licensed under the "GPLv3" License as described in the "LICENSE" file,
# which should be included with this package. The terms are also available at
# http://www.gnu.org/licenses/gpl-3.0.html
import datetime
from collections import defaultdict
from core.util import dedupe, first as getfirst
from core.trans import tr
from ..model.date import DateFormat
from .base import GUIObject
from .import_table import ImportTable
from .selectable_list import LinkedSelectableList
DAY = 'day'
MONTH = 'month'
YEAR = 'year'
class SwapType:
DayMonth = 0
MonthYear = 1
DayYear = 2
DescriptionPayee = 3
InvertAmount = 4
def last_two_digits(year):
return year - ((year // 100) * 100)
def swapped_date(date, first, second):
attrs = {DAY: date.day, MONTH: date.month, YEAR: last_two_digits(date.year)}
newattrs = {first: attrs[second], second: attrs[first]}
if YEAR in newattrs:
newattrs[YEAR] += 2000
return date.replace(**newattrs)
def swap_format_elements(format, first, second):
# format is a DateFormat
swapped = format.copy()
elems = swapped.elements
TYPE2CHAR = {DAY: 'd', MONTH: 'M', YEAR: 'y'}
first_char = TYPE2CHAR[first]
second_char = TYPE2CHAR[second]
first_index = [i for i, x in enumerate(elems) if x.startswith(first_char)][0]
second_index = [i for i, x in enumerate(elems) if x.startswith(second_char)][0]
elems[first_index], elems[second_index] = elems[second_index], elems[first_index]
return swapped
class AccountPane:
def __init__(self, iwin, account, target_account, parsing_date_format):
self.iwin = iwin
self.account = account
self._selected_target = target_account
self.name = account.name
entries = iwin.loader.accounts.entries_for_account(account)
self.count = len(entries)
self.matches = [] # [[ref, imported]]
self.parsing_date_format = parsing_date_format
self.max_day = 31
self.max_month = 12
self.max_year = 99 # 2 digits
self._match_entries()
self._swap_possibilities = set()
self._compute_swap_possibilities()
def _compute_swap_possibilities(self):
entries = list(self.iwin.loader.accounts.entries_for_account(self.account))
if not entries:
return
self._swap_possibilities = set([(DAY, MONTH), (MONTH, YEAR), (DAY, YEAR)])
for first, second in self._swap_possibilities.copy():
for entry in entries:
try:
swapped_date(entry.date, first, second)
except ValueError:
self._swap_possibilities.remove((first, second))
break
def _match_entries(self):
to_import = list(self.iwin.loader.accounts.entries_for_account(self.account))
reference2entry = {}
for entry in (e for e in to_import if e.reference):
reference2entry[entry.reference] = entry
self.matches = []
if self.selected_target is not None:
entries = self.iwin.document.accounts.entries_for_account(self.selected_target)
for entry in entries:
if entry.reference in reference2entry:
other = reference2entry[entry.reference]
if entry.reconciled:
self.iwin.import_table.dont_import.add(other)
to_import.remove(other)
del reference2entry[entry.reference]
else:
other = None
if other is not None or not entry.reconciled:
self.matches.append([entry, other])
self.matches += [[None, entry] for entry in to_import]
self._sort_matches()
def _sort_matches(self):
self.matches.sort(key=lambda t: t[0].date if t[0] is not None else t[1].date)
def bind(self, existing, imported):
[match1] = [m for m in self.matches if m[0] is existing]
[match2] = [m for m in self.matches if m[1] is imported]
assert match1[1] is None
assert match2[0] is None
match1[1] = match2[1]
self.matches.remove(match2)
def can_swap_date_fields(self, first, second): # 'day', 'month', 'year'
return (first, second) in self._swap_possibilities or (second, first) in self._swap_possibilities
def match_entries_by_date_and_amount(self, threshold):
delta = datetime.timedelta(days=threshold)
unmatched = (
to_import for ref, to_import in self.matches if ref is None)
unmatched_refs = (
ref for ref, to_import in self.matches if to_import is None)
amount2refs = defaultdict(list)
for entry in unmatched_refs:
amount2refs[entry.amount].append(entry)
for entry in unmatched:
if entry.amount not in amount2refs:
continue
potentials = amount2refs[entry.amount]
for ref in potentials:
if abs(ref.date - entry.date) <= delta:
self.bind(ref, entry)
potentials.remove(ref)
self._sort_matches()
def unbind(self, existing, imported):
[match] = [m for m in self.matches if m[0] is existing and m[1] is imported]
match[1] = None
self.matches.append([None, imported])
self._sort_matches()
@property
def selected_target(self):
return self._selected_target
@selected_target.setter
def selected_target(self, value):
self._selected_target = value
self._match_entries()
# This is a modal window that is designed to be re-instantiated on each import
# run. It is shown modally by the UI as soon as its created on the UI side.
class ImportWindow(GUIObject):
# --- View interface
# close()
# close_selected_tab()
# set_swap_button_enabled(enabled: bool)
# update_selected_pane()
# show()
#
def __init__(self, mainwindow, target_account=None):
super().__init__()
if not hasattr(mainwindow, 'loader'):
raise ValueError("Nothing to import!")
self.mainwindow = mainwindow
self.document = mainwindow.document
self.app = self.document.app
self._selected_pane_index = 0
self._selected_target_index = 0
def setfunc(index):
self.view.set_swap_button_enabled(self.can_perform_swap())
self.swap_type_list = LinkedSelectableList(items=[
"<placeholder> Day <--> Month",
"<placeholder> Month <--> Year",
"<placeholder> Day <--> Year",
tr("Description <--> Payee"),
tr("Invert Amounts"),
], setfunc=setfunc)
self.swap_type_list.selected_index = SwapType.DayMonth
self.panes = []
self.import_table = ImportTable(self)
self.loader = self.mainwindow.loader
self.target_accounts = [
a for a in self.document.accounts if a.is_balance_sheet_account()]
self.target_accounts.sort(key=lambda a: a.name.lower())
accounts = []
for account in self.loader.accounts:
if account.is_balance_sheet_account():
entries = self.loader.accounts.entries_for_account(account)
if len(entries):
new_name = self.document.accounts.new_name(account.name)
if new_name != account.name:
self.loader.accounts.rename_account(account, new_name)
accounts.append(account)
parsing_date_format = DateFormat.from_sysformat(self.loader.parsing_date_format)
for account in accounts:
target = target_account
if target is None and account.reference:
target = getfirst(
t for t in self.target_accounts if t.reference == account.reference
)
self.panes.append(
AccountPane(self, account, target, parsing_date_format))
# --- Private
def _can_swap_date_fields(self, first, second): # 'day', 'month', 'year'
pane = self.selected_pane
if pane is None:
return False
return pane.can_swap_date_fields(first, second)
def _invert_amounts(self, apply_to_all):
if apply_to_all:
panes = self.panes
else:
panes = [self.selected_pane]
for pane in panes:
entries = self.loader.accounts.entries_for_account(pane.account)
txns = dedupe(e.transaction for e in entries)
for txn in txns:
for split in txn.splits:
split.amount = -split.amount
self.import_table.refresh()
def _refresh_target_selection(self):
if not self.panes:
return
target = self.selected_pane.selected_target
self._selected_target_index = 0
if target is not None:
try:
self._selected_target_index = self.target_accounts.index(target) + 1
except ValueError:
pass
def _refresh_swap_list_items(self):
if not self.panes:
return
items = []
basefmt = self.selected_pane.parsing_date_format
for first, second in [(DAY, MONTH), (MONTH, YEAR), (DAY, YEAR)]:
swapped = swap_format_elements(basefmt, first, second)
items.append("{} --> {}".format(basefmt.iso_format, swapped.iso_format))
self.swap_type_list[:3] = items
def _swap_date_fields(self, first, second, apply_to_all): # 'day', 'month', 'year'
assert self._can_swap_date_fields(first, second)
if apply_to_all:
panes = [p for p in self.panes if p.can_swap_date_fields(first, second)]
else:
panes = [self.selected_pane]
def switch_func(txn):
txn.date = swapped_date(txn.date, first, second)
self._swap_fields(panes, switch_func)
# Now, lets' change the date format on these panes
for pane in panes:
basefmt = self.selected_pane.parsing_date_format
swapped = swap_format_elements(basefmt, first, second)
pane.parsing_date_format = swapped
pane._sort_matches()
self.import_table.refresh()
self._refresh_swap_list_items()
def _swap_description_payee(self, apply_to_all):
if apply_to_all:
panes = self.panes
else:
panes = [self.selected_pane]
def switch_func(txn):
txn.description, txn.payee = txn.payee, txn.description
self._swap_fields(panes, switch_func)
def _swap_fields(self, panes, switch_func):
seen = set()
for pane in panes:
entries = self.loader.accounts.entries_for_account(pane.account)
txns = dedupe(e.transaction for e in entries)
for txn in txns:
if txn.affected_accounts() & seen:
# We've already swapped this txn in a previous pane.
continue
switch_func(txn)
seen.add(pane.account)
self.import_table.refresh()
def _update_selected_pane(self):
self.import_table.refresh()
self._refresh_swap_list_items()
self.view.update_selected_pane()
self.view.set_swap_button_enabled(self.can_perform_swap())
# --- Override
def _view_updated(self):
if self.document.can_restore_from_prefs():
self.restore_view()
# XXX Logically, we should call _update_selected_pane() but doing so
# make tests fail. to investigate.
self._refresh_target_selection()
self.view.update_selected_pane()
self._refresh_swap_list_items()
self.import_table.refresh()
# --- Public
def can_perform_swap(self):
index = self.swap_type_list.selected_index
if index == SwapType.DayMonth:
return self._can_swap_date_fields(DAY, MONTH)
elif index == SwapType.MonthYear:
return self._can_swap_date_fields(MONTH, YEAR)
elif index == SwapType.DayYear:
return self._can_swap_date_fields(DAY, YEAR)
else:
return True
def close_pane(self, index):
was_selected = index == self.selected_pane_index
del self.panes[index]
if not self.panes:
self.view.close()
return
self._selected_pane_index = min(self._selected_pane_index, len(self.panes) - 1)
if was_selected:
self._update_selected_pane()
def import_selected_pane(self):
pane = self.selected_pane
matches = pane.matches
matches = [
(e, ref) for ref, e in matches
if e is not None and e not in self.import_table.dont_import]
if pane.selected_target is not None:
# We import in an existing account, adjust all the transactions accordingly
target_account = pane.selected_target
else:
target_account = None
self.document.import_entries(target_account, pane.account, matches)
self.mainwindow.revalidate()
self.close_pane(self.selected_pane_index)
self.view.close_selected_tab()
def match_entries_by_date_and_amount(self, threshold):
self.selected_pane.match_entries_by_date_and_amount(threshold)
self.import_table.refresh()
def perform_swap(self, apply_to_all=False):
index = self.swap_type_list.selected_index
if index == SwapType.DayMonth:
self._swap_date_fields(DAY, MONTH, apply_to_all=apply_to_all)
elif index == SwapType.MonthYear:
self._swap_date_fields(MONTH, YEAR, apply_to_all=apply_to_all)
elif index == SwapType.DayYear:
self._swap_date_fields(DAY, YEAR, apply_to_all=apply_to_all)
elif index == SwapType.DescriptionPayee:
self._swap_description_payee(apply_to_all=apply_to_all)
elif index == SwapType.InvertAmount:
self._invert_amounts(apply_to_all=apply_to_all)
def restore_view(self):
self.import_table.columns.restore_columns()
# --- Properties
@property
def selected_pane(self):
return self.panes[self.selected_pane_index] if self.panes else None
@property
def selected_pane_index(self):
return self._selected_pane_index
@selected_pane_index.setter
def selected_pane_index(self, value):
if value >= len(self.panes):
return
self._selected_pane_index = value
self._refresh_target_selection()
self._update_selected_pane()
@property
def selected_target_account(self):
return self.selected_pane.selected_target
@property
def selected_target_account_index(self):
return self._selected_target_index
@selected_target_account_index.setter
def selected_target_account_index(self, value):
target = self.target_accounts[value - 1] if value > 0 else None
self.selected_pane.selected_target = target
self._selected_target_index = value
self.import_table.refresh()
@property
def target_account_names(self):
return [tr('< New Account >')] + [a.name for a in self.target_accounts]
| hsoft/moneyguru | core/gui/import_window.py | Python | gpl-3.0 | 15,326 | [
30522,
1001,
9385,
10476,
17270,
4241,
18098,
3022,
1001,
1001,
2023,
4007,
2003,
7000,
2104,
1996,
1000,
14246,
2140,
2615,
2509,
1000,
6105,
2004,
2649,
1999,
1996,
1000,
6105,
1000,
5371,
1010,
1001,
2029,
2323,
2022,
2443,
2007,
2023,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
{-# LANGUAGE Haskell2010 #-}
module Maybe1 where
instance Functor Maybe' where
fmap f m = m >>= pure . f
instance Applicative Maybe' where
pure = Just'
f1 <*> f2 = f1 >>= \v1 -> f2 >>= (pure . v1)
data Maybe' a = Nothing' | Just' a
instance Monad Maybe' where
return = pure
Nothing' >>= _ = Nothing'
Just' x >>= f = f x
fail _ = Nothing'
| hvr/Hs2010To201x | testcases/H2010/Maybe1.expected.hs | Haskell | bsd-3-clause | 373 | [
30522,
1063,
1011,
1001,
2653,
2038,
18690,
11387,
10790,
1001,
1011,
1065,
11336,
2672,
2487,
2073,
6013,
4569,
16761,
2672,
1005,
2073,
4718,
9331,
1042,
1049,
1027,
1049,
1028,
1028,
1027,
5760,
1012,
1042,
6013,
10439,
19341,
6024,
2672... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
//==============================================================================
// Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI
// Copyright 2012 - 2014 MetaScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//==============================================================================
#ifndef BOOST_SIMD_CONSTANT_CONSTANTS_SIMD_VMX_ALTIVEC_EIGHT_HPP_INCLUDED
#define BOOST_SIMD_CONSTANT_CONSTANTS_SIMD_VMX_ALTIVEC_EIGHT_HPP_INCLUDED
#ifdef BOOST_SIMD_HAS_VMX_SUPPORT
#include <boost/simd/constant/constants/eight.hpp>
#include <boost/dispatch/attributes.hpp>
namespace boost { namespace simd { namespace ext
{
BOOST_SIMD_FUNCTOR_IMPLEMENTATION ( simd::tag::Eight
, boost::simd::tag::vmx_
, (A0)
, ((target_ < simd_ < int8_<A0>
, boost::simd::tag::vmx_
>
>
))
)
{
typedef typename A0::type result_type;
BOOST_FORCEINLINE result_type operator()(A0 const&) const
{
return vec_splat_s8(8);
}
};
BOOST_SIMD_FUNCTOR_IMPLEMENTATION ( simd::tag::Eight
, boost::simd::tag::vmx_
, (A0)
, ((target_ < simd_ < uint8_<A0>
, boost::simd::tag::vmx_
>
>
))
)
{
typedef typename A0::type result_type;
BOOST_FORCEINLINE result_type operator()(A0 const&) const
{
return vec_splat_u8(8);
}
};
BOOST_SIMD_FUNCTOR_IMPLEMENTATION ( simd::tag::Eight
, boost::simd::tag::vmx_
, (A0)
, ((target_ < simd_ < int16_<A0>
, boost::simd::tag::vmx_
>
>
))
)
{
typedef typename A0::type result_type;
BOOST_FORCEINLINE result_type operator()(A0 const&) const
{
return vec_splat_s16(8);
}
};
BOOST_SIMD_FUNCTOR_IMPLEMENTATION ( simd::tag::Eight
, boost::simd::tag::vmx_
, (A0)
, ((target_ < simd_ < uint16_<A0>
, boost::simd::tag::vmx_
>
>
))
)
{
typedef typename A0::type result_type;
BOOST_FORCEINLINE result_type operator()(A0 const&) const
{
return vec_splat_u16(8);
}
};
BOOST_SIMD_FUNCTOR_IMPLEMENTATION ( simd::tag::Eight
, boost::simd::tag::vmx_
, (A0)
, ((target_ < simd_ < int32_<A0>
, boost::simd::tag::vmx_
>
>
))
)
{
typedef typename A0::type result_type;
BOOST_FORCEINLINE result_type operator()(A0 const&) const
{
return vec_splat_s32(8);
}
};
BOOST_SIMD_FUNCTOR_IMPLEMENTATION ( simd::tag::Eight
, boost::simd::tag::vmx_
, (A0)
, ((target_ < simd_ < uint32_<A0>
, boost::simd::tag::vmx_
>
>
))
)
{
typedef typename A0::type result_type;
BOOST_FORCEINLINE result_type operator()(A0 const&) const
{
return vec_splat_u32(8);
}
};
} } }
#endif
#endif
| hainm/pythran | third_party/boost/simd/constant/constants/simd/vmx/altivec/eight.hpp | C++ | bsd-3-clause | 4,832 | [
30522,
1013,
1013,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
102... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
'use strict';
const Schemas = require('../server/schemas');
const Code = require('code');
const Lab = require('lab');
const expect = Code.expect;
const lab = exports.lab = Lab.script();
const describe = lab.describe;
const it = lab.it;
describe('server/schemas.todoSchema', () => {
it('validates object', (done) => {
expect(Schemas.todoSchema.validate({ test: 'val' }).error).to.exist();
return done();
});
it('allows id as string, done as boolean, and content as string', (done) => {
expect(Schemas.todoSchema.validate({ id: 1 }).error).to.exist();
expect(Schemas.todoSchema.validate({ id: 'id' }).error).to.not.exist();
expect(Schemas.todoSchema.validate({ done: false}).error).to.not.exist();
expect(Schemas.todoSchema.validate({ done: 'somtest'}).error).to.exist();
expect(Schemas.todoSchema.validate({ done: 'false'}).error).to.not.exist();
expect(Schemas.todoSchema.validate({ content: 1234567 }).error).to.exist();
expect(Schemas.todoSchema.validate({ content: 'test' }).error).to.not.exist();
return done();
});
it('exposes a todoObject', (done) => {
expect(Schemas.todoObject).to.be.an.object();
return done();
});
});
| genediazjr/hapitodo | test/schemasTest.js | JavaScript | mit | 1,261 | [
30522,
1005,
2224,
9384,
1005,
1025,
9530,
3367,
8040,
28433,
2015,
1027,
5478,
1006,
1005,
1012,
1012,
1013,
8241,
1013,
8040,
28433,
2015,
1005,
1007,
1025,
9530,
3367,
3642,
1027,
5478,
1006,
1005,
3642,
1005,
1007,
1025,
9530,
3367,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
// checking whether other types are subtypes of type parameters with constraints
function f1<T extends U, U>(x: T, y: U) {
var r = true ? x : y;
var r = true ? y : x;
}
// V > U > T
function f2<T extends U, U extends V, V>(x: T, y: U, z: V) {
var r = true ? x : y;
var r = true ? y : x;
// ok
var r2 = true ? z : y;
var r2 = true ? y : z;
// ok
var r2a = true ? z : x;
var r2b = true ? x : z;
}
// Date > U > T
function f3<T extends U, U extends Date>(x: T, y: U) {
var r = true ? x : y;
var r = true ? y : x;
// ok
var r2 = true ? x : new Date();
var r2 = true ? new Date() : x;
// ok
var r3 = true ? y : new Date();
var r3 = true ? new Date() : y;
}
interface I1 { foo: number; }
class C1 { foo: number; }
class C2<T> { foo: T; }
enum E { A }
function f() { }
module f {
export var bar = 1;
}
class c { baz: string }
module c {
export var bar = 1;
}
function f4<T extends Number>(x: T) {
var r0 = true ? x : null; // ok
var r0 = true ? null : x; // ok
var u: typeof undefined;
var r0b = true ? u : x; // ok
var r0b = true ? x : u; // ok
}
function f5<T extends Number>(x: T) {
var r1 = true ? 1 : x; // ok
var r1 = true ? x : 1; // ok
}
function f6<T extends String>(x: T) {
var r2 = true ? '' : x; // ok
var r2 = true ? x : ''; // ok
}
function f7<T extends Boolean>(x: T) {
var r3 = true ? true : x; // ok
var r3 = true ? x : true; // ok
}
function f8<T extends Date>(x: T) {
var r4 = true ? new Date() : x; // ok
var r4 = true ? x : new Date(); // ok
}
function f9<T extends RegExp>(x: T) {
var r5 = true ? /1/ : x; // ok
var r5 = true ? x : /1/; // ok
}
function f10<T extends { foo: number }>(x: T) {
var r6 = true ? { foo: 1 } : x; // ok
var r6 = true ? x : { foo: 1 }; // ok
}
function f11<T extends () => void>(x: T) {
var r7 = true ? () => { } : x; // ok
var r7 = true ? x : () => { }; // ok
}
function f12<T extends <U>(x: U) => U>(x: T) {
var r8 = true ? <T>(x: T) => { return x } : x; // ok
var r8b = true ? x : <T>(x: T) => { return x }; // ok, type parameters not identical across declarations
}
function f13<T extends I1>(x: T) {
var i1: I1;
var r9 = true ? i1 : x; // ok
var r9 = true ? x : i1; // ok
}
function f14<T extends C1>(x: T) {
var c1: C1;
var r10 = true ? c1 : x; // ok
var r10 = true ? x : c1; // ok
}
function f15<T extends C2<number>>(x: T) {
var c2: C2<number>;
var r12 = true ? c2 : x; // ok
var r12 = true ? x : c2; // ok
}
function f16<T extends E>(x: T) {
var r13 = true ? E : x; // ok
var r13 = true ? x : E; // ok
var r14 = true ? E.A : x; // ok
var r14 = true ? x : E.A; // ok
}
function f17<T extends typeof f>(x: T) {
var af: typeof f;
var r15 = true ? af : x; // ok
var r15 = true ? x : af; // ok
}
function f18<T extends typeof c>(x: T) {
var ac: typeof c;
var r16 = true ? ac : x; // ok
var r16 = true ? x : ac; // ok
}
function f19<T>(x: T) {
function f17<U extends T>(a: U) {
var r17 = true ? x : a; // ok
var r17 = true ? a : x; // ok
}
function f18<V extends U, U extends T>(a: V) {
var r18 = true ? x : a; // ok
var r18 = true ? a : x; // ok
}
}
function f20<T extends Number>(x: T) {
var r19 = true ? new Object() : x; // ok
var r19 = true ? x : new Object(); // ok
}
function f21<T extends Number>(x: T) {
var r20 = true ? {} : x; // ok
var r20 = true ? x : {}; // ok
} | progre/TypeScript | tests/cases/conformance/types/typeRelationships/subtypesAndSuperTypes/subtypesOfTypeParameterWithConstraints2.ts | TypeScript | apache-2.0 | 3,713 | [
30522,
1013,
1013,
9361,
3251,
2060,
4127,
2024,
4942,
13874,
2015,
1997,
2828,
11709,
2007,
14679,
3853,
20069,
1026,
1056,
8908,
1057,
1010,
1057,
1028,
1006,
1060,
1024,
1056,
1010,
1061,
1024,
1057,
1007,
1063,
13075,
1054,
30524,
1058,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
import { Observable } from '../Observable';
import { Scheduler } from '../Scheduler';
import { Operator } from '../Operator';
import { PartialObserver } from '../Observer';
import { Subscriber } from '../Subscriber';
import { Notification } from '../Notification';
import { TeardownLogic } from '../Subscription';
/**
* @see {@link Notification}
*
* @param scheduler
* @param delay
* @return {Observable<R>|WebSocketSubject<T>|Observable<T>}
* @method observeOn
* @owner Observable
*/
export function observeOn<T>(scheduler: Scheduler, delay: number = 0): Observable<T> {
return this.lift(new ObserveOnOperator(scheduler, delay));
}
export interface ObserveOnSignature<T> {
(scheduler: Scheduler, delay?: number): Observable<T>;
}
export class ObserveOnOperator<T> implements Operator<T, T> {
constructor(private scheduler: Scheduler, private delay: number = 0) {
}
call(subscriber: Subscriber<T>, source: any): TeardownLogic {
return source._subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));
}
}
/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class ObserveOnSubscriber<T> extends Subscriber<T> {
static dispatch(arg: ObserveOnMessage) {
const { notification, destination } = arg;
notification.observe(destination);
}
constructor(destination: Subscriber<T>,
private scheduler: Scheduler,
private delay: number = 0) {
super(destination);
}
private scheduleMessage(notification: Notification<any>): void {
this.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch,
this.delay,
new ObserveOnMessage(notification, this.destination)));
}
protected _next(value: T): void {
this.scheduleMessage(Notification.createNext(value));
}
protected _error(err: any): void {
this.scheduleMessage(Notification.createError(err));
}
protected _complete(): void {
this.scheduleMessage(Notification.createComplete());
}
}
export class ObserveOnMessage {
constructor(public notification: Notification<any>,
public destination: PartialObserver<any>) {
}
}
| ice3x2/Clreball | web/lib/rxjs/src/operator/observeOn.ts | TypeScript | gpl-3.0 | 2,225 | [
30522,
12324,
1063,
27885,
8043,
12423,
1065,
2013,
1005,
1012,
1012,
1013,
27885,
8043,
12423,
1005,
1025,
12324,
1063,
6134,
2099,
1065,
2013,
1005,
1012,
1012,
1013,
6134,
2099,
1005,
1025,
12324,
1063,
6872,
1065,
2013,
1005,
1012,
1012... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, Callable, Dict, Generic, Optional, TypeVar
import warnings
from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
from ... import models as _models
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
class Operations:
"""Operations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
:type models: ~azure.mgmt.rdbms.mariadb.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
"""
models = _models
def __init__(self, client, config, serializer, deserializer) -> None:
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self._config = config
async def list(
self,
**kwargs: Any
) -> "_models.OperationListResult":
"""Lists all of the available REST API operations.
:keyword callable cls: A custom type or function that will be passed the direct response
:return: OperationListResult, or the result of cls(response)
:rtype: ~azure.mgmt.rdbms.mariadb.models.OperationListResult
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2018-06-01"
accept = "application/json"
# Construct URL
url = self.list.metadata['url'] # type: ignore
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
deserialized = self._deserialize('OperationListResult', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
list.metadata = {'url': '/providers/Microsoft.DBForMariaDB/operations'} # type: ignore
| Azure/azure-sdk-for-python | sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mariadb/aio/operations/_operations.py | Python | mit | 3,780 | [
30522,
1001,
16861,
1027,
21183,
2546,
1011,
1022,
1001,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
#!/usr/bin/env python
from ..debugging import bacpypes_debugging, ModuleLogger
from ..capability import Capability
from ..basetypes import ErrorType, PropertyIdentifier
from ..primitivedata import Atomic, Null, Unsigned
from ..constructeddata import Any, Array, ArrayOf, List
from ..apdu import \
SimpleAckPDU, ReadPropertyACK, ReadPropertyMultipleACK, \
ReadAccessResult, ReadAccessResultElement, ReadAccessResultElementChoice
from ..errors import ExecutionError
from ..object import PropertyError
# some debugging
_debug = 0
_log = ModuleLogger(globals())
# handy reference
ArrayOfPropertyIdentifier = ArrayOf(PropertyIdentifier)
#
# ReadProperty and WriteProperty Services
#
@bacpypes_debugging
class ReadWritePropertyServices(Capability):
def __init__(self):
if _debug: ReadWritePropertyServices._debug("__init__")
Capability.__init__(self)
def do_ReadPropertyRequest(self, apdu):
"""Return the value of some property of one of our objects."""
if _debug: ReadWritePropertyServices._debug("do_ReadPropertyRequest %r", apdu)
# extract the object identifier
objId = apdu.objectIdentifier
# check for wildcard
if (objId == ('device', 4194303)) and self.localDevice is not None:
if _debug: ReadWritePropertyServices._debug(" - wildcard device identifier")
objId = self.localDevice.objectIdentifier
# get the object
obj = self.get_object_id(objId)
if _debug: ReadWritePropertyServices._debug(" - object: %r", obj)
if not obj:
raise ExecutionError(errorClass='object', errorCode='unknownObject')
try:
# get the datatype
datatype = obj.get_datatype(apdu.propertyIdentifier)
if _debug: ReadWritePropertyServices._debug(" - datatype: %r", datatype)
# get the value
value = obj.ReadProperty(apdu.propertyIdentifier, apdu.propertyArrayIndex)
if _debug: ReadWritePropertyServices._debug(" - value: %r", value)
if value is None:
raise PropertyError(apdu.propertyIdentifier)
# change atomic values into something encodeable
if issubclass(datatype, Atomic) or (issubclass(datatype, (Array, List)) and isinstance(value, list)):
value = datatype(value)
elif issubclass(datatype, Array) and (apdu.propertyArrayIndex is not None):
if apdu.propertyArrayIndex == 0:
value = Unsigned(value)
elif issubclass(datatype.subtype, Atomic):
value = datatype.subtype(value)
elif not isinstance(value, datatype.subtype):
raise TypeError("invalid result datatype, expecting {0} and got {1}" \
.format(datatype.subtype.__name__, type(value).__name__))
elif issubclass(datatype, List):
value = datatype(value)
elif not isinstance(value, datatype):
raise TypeError("invalid result datatype, expecting {0} and got {1}" \
.format(datatype.__name__, type(value).__name__))
if _debug: ReadWritePropertyServices._debug(" - encodeable value: %r", value)
# this is a ReadProperty ack
resp = ReadPropertyACK(context=apdu)
resp.objectIdentifier = objId
resp.propertyIdentifier = apdu.propertyIdentifier
resp.propertyArrayIndex = apdu.propertyArrayIndex
# save the result in the property value
resp.propertyValue = Any()
resp.propertyValue.cast_in(value)
if _debug: ReadWritePropertyServices._debug(" - resp: %r", resp)
except PropertyError:
raise ExecutionError(errorClass='property', errorCode='unknownProperty')
# return the result
self.response(resp)
def do_WritePropertyRequest(self, apdu):
"""Change the value of some property of one of our objects."""
if _debug: ReadWritePropertyServices._debug("do_WritePropertyRequest %r", apdu)
# get the object
obj = self.get_object_id(apdu.objectIdentifier)
if _debug: ReadWritePropertyServices._debug(" - object: %r", obj)
if not obj:
raise ExecutionError(errorClass='object', errorCode='unknownObject')
try:
# check if the property exists
if obj.ReadProperty(apdu.propertyIdentifier, apdu.propertyArrayIndex) is None:
raise PropertyError(apdu.propertyIdentifier)
# get the datatype, special case for null
if apdu.propertyValue.is_application_class_null():
datatype = Null
else:
datatype = obj.get_datatype(apdu.propertyIdentifier)
if _debug: ReadWritePropertyServices._debug(" - datatype: %r", datatype)
# special case for array parts, others are managed by cast_out
if issubclass(datatype, Array) and (apdu.propertyArrayIndex is not None):
if apdu.propertyArrayIndex == 0:
value = apdu.propertyValue.cast_out(Unsigned)
else:
value = apdu.propertyValue.cast_out(datatype.subtype)
else:
value = apdu.propertyValue.cast_out(datatype)
if _debug: ReadWritePropertyServices._debug(" - value: %r", value)
# change the value
value = obj.WriteProperty(apdu.propertyIdentifier, value, apdu.propertyArrayIndex, apdu.priority)
# success
resp = SimpleAckPDU(context=apdu)
if _debug: ReadWritePropertyServices._debug(" - resp: %r", resp)
except PropertyError:
raise ExecutionError(errorClass='property', errorCode='unknownProperty')
# return the result
self.response(resp)
#
# read_property_to_any
#
@bacpypes_debugging
def read_property_to_any(obj, propertyIdentifier, propertyArrayIndex=None):
"""Read the specified property of the object, with the optional array index,
and cast the result into an Any object."""
if _debug: read_property_to_any._debug("read_property_to_any %s %r %r", obj, propertyIdentifier, propertyArrayIndex)
# get the datatype
datatype = obj.get_datatype(propertyIdentifier)
if _debug: read_property_to_any._debug(" - datatype: %r", datatype)
if datatype is None:
raise ExecutionError(errorClass='property', errorCode='datatypeNotSupported')
# get the value
value = obj.ReadProperty(propertyIdentifier, propertyArrayIndex)
if _debug: read_property_to_any._debug(" - value: %r", value)
if value is None:
raise ExecutionError(errorClass='property', errorCode='unknownProperty')
# change atomic values into something encodeable
if issubclass(datatype, Atomic) or (issubclass(datatype, (Array, List)) and isinstance(value, list)):
value = datatype(value)
elif issubclass(datatype, Array) and (propertyArrayIndex is not None):
if propertyArrayIndex == 0:
value = Unsigned(value)
elif issubclass(datatype.subtype, Atomic):
value = datatype.subtype(value)
elif not isinstance(value, datatype.subtype):
raise TypeError("invalid result datatype, expecting %s and got %s" \
% (datatype.subtype.__name__, type(value).__name__))
elif not isinstance(value, datatype):
raise TypeError("invalid result datatype, expecting %s and got %s" \
% (datatype.__name__, type(value).__name__))
if _debug: read_property_to_any._debug(" - encodeable value: %r", value)
# encode the value
result = Any()
result.cast_in(value)
if _debug: read_property_to_any._debug(" - result: %r", result)
# return the object
return result
#
# read_property_to_result_element
#
@bacpypes_debugging
def read_property_to_result_element(obj, propertyIdentifier, propertyArrayIndex=None):
"""Read the specified property of the object, with the optional array index,
and cast the result into an Any object."""
if _debug: read_property_to_result_element._debug("read_property_to_result_element %s %r %r", obj, propertyIdentifier, propertyArrayIndex)
# save the result in the property value
read_result = ReadAccessResultElementChoice()
try:
if not obj:
raise ExecutionError(errorClass='object', errorCode='unknownObject')
read_result.propertyValue = read_property_to_any(obj, propertyIdentifier, propertyArrayIndex)
if _debug: read_property_to_result_element._debug(" - success")
except PropertyError as error:
if _debug: read_property_to_result_element._debug(" - error: %r", error)
read_result.propertyAccessError = ErrorType(errorClass='property', errorCode='unknownProperty')
except ExecutionError as error:
if _debug: read_property_to_result_element._debug(" - error: %r", error)
read_result.propertyAccessError = ErrorType(errorClass=error.errorClass, errorCode=error.errorCode)
# make an element for this value
read_access_result_element = ReadAccessResultElement(
propertyIdentifier=propertyIdentifier,
propertyArrayIndex=propertyArrayIndex,
readResult=read_result,
)
if _debug: read_property_to_result_element._debug(" - read_access_result_element: %r", read_access_result_element)
# fini
return read_access_result_element
#
# ReadWritePropertyMultipleServices
#
@bacpypes_debugging
class ReadWritePropertyMultipleServices(Capability):
def __init__(self):
if _debug: ReadWritePropertyMultipleServices._debug("__init__")
Capability.__init__(self)
def do_ReadPropertyMultipleRequest(self, apdu):
"""Respond to a ReadPropertyMultiple Request."""
if _debug: ReadWritePropertyMultipleServices._debug("do_ReadPropertyMultipleRequest %r", apdu)
# response is a list of read access results (or an error)
resp = None
read_access_result_list = []
# loop through the request
for read_access_spec in apdu.listOfReadAccessSpecs:
# get the object identifier
objectIdentifier = read_access_spec.objectIdentifier
if _debug: ReadWritePropertyMultipleServices._debug(" - objectIdentifier: %r", objectIdentifier)
# check for wildcard
if (objectIdentifier == ('device', 4194303)) and self.localDevice is not None:
if _debug: ReadWritePropertyMultipleServices._debug(" - wildcard device identifier")
objectIdentifier = self.localDevice.objectIdentifier
# get the object
obj = self.get_object_id(objectIdentifier)
if _debug: ReadWritePropertyMultipleServices._debug(" - object: %r", obj)
# build a list of result elements
read_access_result_element_list = []
# loop through the property references
for prop_reference in read_access_spec.listOfPropertyReferences:
# get the property identifier
propertyIdentifier = prop_reference.propertyIdentifier
if _debug: ReadWritePropertyMultipleServices._debug(" - propertyIdentifier: %r", propertyIdentifier)
# get the array index (optional)
propertyArrayIndex = prop_reference.propertyArrayIndex
if _debug: ReadWritePropertyMultipleServices._debug(" - propertyArrayIndex: %r", propertyArrayIndex)
# check for special property identifiers
if propertyIdentifier in ('all', 'required', 'optional'):
if not obj:
# build a property access error
read_result = ReadAccessResultElementChoice()
read_result.propertyAccessError = ErrorType(errorClass='object', errorCode='unknownObject')
# make an element for this error
read_access_result_element = ReadAccessResultElement(
propertyIdentifier=propertyIdentifier,
propertyArrayIndex=propertyArrayIndex,
readResult=read_result,
)
# add it to the list
read_access_result_element_list.append(read_access_result_element)
else:
for propId, prop in obj._properties.items():
if _debug: ReadWritePropertyMultipleServices._debug(" - checking: %r %r", propId, prop.optional)
# skip propertyList for ReadPropertyMultiple
if (propId == 'propertyList'):
if _debug: ReadWritePropertyMultipleServices._debug(" - ignore propertyList")
continue
if (propertyIdentifier == 'all'):
pass
elif (propertyIdentifier == 'required') and (prop.optional):
if _debug: ReadWritePropertyMultipleServices._debug(" - not a required property")
continue
elif (propertyIdentifier == 'optional') and (not prop.optional):
if _debug: ReadWritePropertyMultipleServices._debug(" - not an optional property")
continue
# read the specific property
read_access_result_element = read_property_to_result_element(obj, propId, propertyArrayIndex)
# check for undefined property
if read_access_result_element.readResult.propertyAccessError \
and read_access_result_element.readResult.propertyAccessError.errorCode == 'unknownProperty':
continue
# add it to the list
read_access_result_element_list.append(read_access_result_element)
else:
# read the specific property
read_access_result_element = read_property_to_result_element(obj, propertyIdentifier, propertyArrayIndex)
# add it to the list
read_access_result_element_list.append(read_access_result_element)
# build a read access result
read_access_result = ReadAccessResult(
objectIdentifier=objectIdentifier,
listOfResults=read_access_result_element_list
)
if _debug: ReadWritePropertyMultipleServices._debug(" - read_access_result: %r", read_access_result)
# add it to the list
read_access_result_list.append(read_access_result)
# this is a ReadPropertyMultiple ack
if not resp:
resp = ReadPropertyMultipleACK(context=apdu)
resp.listOfReadAccessResults = read_access_result_list
if _debug: ReadWritePropertyMultipleServices._debug(" - resp: %r", resp)
# return the result
self.response(resp)
# def do_WritePropertyMultipleRequest(self, apdu):
# """Respond to a WritePropertyMultiple Request."""
# if _debug: ReadWritePropertyMultipleServices._debug("do_ReadPropertyMultipleRequest %r", apdu)
#
# raise NotImplementedError()
| JoelBender/bacpypes | py27/bacpypes/service/object.py | Python | mit | 15,660 | [
30522,
1001,
999,
1013,
2149,
2099,
1013,
8026,
1013,
4372,
2615,
18750,
2013,
1012,
1012,
2139,
8569,
12588,
12324,
8670,
21906,
18863,
2015,
1035,
2139,
8569,
12588,
1010,
11336,
21197,
4590,
2013,
1012,
1012,
10673,
12324,
10673,
2013,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>class DropboxApi::Endpoints::Sharing::RevokeSharedLink - RDoc Documentation</title>
<script type="text/javascript">
var rdoc_rel_prefix = "../../../";
var index_rel_prefix = "../../../";
</script>
<script src="../../../js/jquery.js"></script>
<script src="../../../js/darkfish.js"></script>
<link href="../../../css/fonts.css" rel="stylesheet">
<link href="../../../css/rdoc.css" rel="stylesheet">
<body id="top" role="document" class="class">
<nav role="navigation">
<div id="project-navigation">
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
<h2>
<a href="../../../index.html" rel="home">Home</a>
</h2>
<div id="table-of-contents-navigation">
<a href="../../../table_of_contents.html#pages">Pages</a>
<a href="../../../table_of_contents.html#classes">Classes</a>
<a href="../../../table_of_contents.html#methods">Methods</a>
</div>
</div>
<div id="search-section" role="search" class="project-section initially-hidden">
<form action="#" method="get" accept-charset="utf-8">
<div id="search-field-wrapper">
<input id="search-field" role="combobox" aria-label="Search"
aria-autocomplete="list" aria-controls="search-results"
type="text" name="search" placeholder="Search" spellcheck="false"
title="Type to search, Up and Down to navigate, Enter to load">
</div>
<ul id="search-results" aria-label="Search Results"
aria-busy="false" aria-expanded="false"
aria-atomic="false" class="initially-hidden"></ul>
</form>
</div>
</div>
<div id="class-metadata">
<div id="parent-class-section" class="nav-section">
<h3>Parent</h3>
<p class="link"><a href="../Rpc.html">DropboxApi::Endpoints::Rpc</a>
</div>
</div>
</nav>
<main role="main" aria-labelledby="class-DropboxApi::Endpoints::Sharing::RevokeSharedLink">
<h1 id="class-DropboxApi::Endpoints::Sharing::RevokeSharedLink" class="class">
class DropboxApi::Endpoints::Sharing::RevokeSharedLink
</h1>
<section class="description">
</section>
<section id="5Buntitled-5D" class="documentation-section">
<section class="constants-list">
<header>
<h3>Constants</h3>
</header>
<dl>
<dt id="ErrorType">ErrorType
<dd>
<dt id="Method">Method
<dd>
<dt id="Path">Path
<dd>
<dt id="ResultType">ResultType
<dd>
</dl>
</section>
</section>
</main>
<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.0.1.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>
| Jesus/dropbox_api | doc/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html | HTML | mit | 3,058 | [
30522,
1026,
999,
9986,
13874,
16129,
1028,
1026,
16129,
1028,
1026,
2132,
1028,
1026,
18804,
25869,
13462,
1027,
1000,
21183,
2546,
1011,
1022,
1000,
1028,
1026,
2516,
1028,
2465,
4530,
8758,
9331,
2072,
1024,
1024,
2203,
26521,
1024,
1024... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file 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.
*/
package com.amazonaws.services.robomaker.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.robomaker.model.*;
import com.amazonaws.transform.Marshaller;
import com.amazonaws.protocol.*;
import com.amazonaws.protocol.Protocol;
import com.amazonaws.annotation.SdkInternalApi;
/**
* DescribeSimulationApplicationRequest Marshaller
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
@SdkInternalApi
public class DescribeSimulationApplicationRequestProtocolMarshaller implements
Marshaller<Request<DescribeSimulationApplicationRequest>, DescribeSimulationApplicationRequest> {
private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.REST_JSON)
.requestUri("/describeSimulationApplication").httpMethodName(HttpMethodName.POST).hasExplicitPayloadMember(false).hasPayloadMembers(true)
.serviceName("AWSRoboMaker").build();
private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory;
public DescribeSimulationApplicationRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) {
this.protocolFactory = protocolFactory;
}
public Request<DescribeSimulationApplicationRequest> marshall(DescribeSimulationApplicationRequest describeSimulationApplicationRequest) {
if (describeSimulationApplicationRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
final ProtocolRequestMarshaller<DescribeSimulationApplicationRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller(
SDK_OPERATION_BINDING, describeSimulationApplicationRequest);
protocolMarshaller.startMarshalling();
DescribeSimulationApplicationRequestMarshaller.getInstance().marshall(describeSimulationApplicationRequest, protocolMarshaller);
return protocolMarshaller.finishMarshalling();
} catch (Exception e) {
throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
}
}
}
| jentfoo/aws-sdk-java | aws-java-sdk-robomaker/src/main/java/com/amazonaws/services/robomaker/model/transform/DescribeSimulationApplicationRequestProtocolMarshaller.java | Java | apache-2.0 | 2,864 | [
30522,
1013,
1008,
1008,
9385,
2297,
1011,
10476,
9733,
1012,
4012,
1010,
4297,
1012,
2030,
2049,
18460,
1012,
2035,
2916,
9235,
1012,
1008,
1008,
7000,
2104,
1996,
15895,
6105,
1010,
2544,
1016,
1012,
1014,
1006,
1996,
1000,
6105,
1000,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Multiwallet Qt Development and Integration Strategy
===================================================
In order to support loading of multiple wallets in bitcoin-qt, a few changes in the UI architecture will be needed.
Fortunately, only four of the files in the existing project are affected by this change.
Two new classes have been implemented in two new .h/.cpp file pairs, with much of the functionality that was previously
implemented in the BitcoinGUI class moved over to these new classes.
The two existing files most affected, by far, are bitcoingui.h and bitcoingui.cpp, as the BitcoinGUI class will require
some major retrofitting.
Only requiring some minor changes is bitcoin.cpp.
Finally, two new headers and source files will have to be added to bitcoin-qt.pro.
Changes to class BitcoinGUI
---------------------------
The principal change to the BitcoinGUI class concerns the QStackedWidget instance called centralWidget.
This widget owns five page views: overviewPage, transactionsPage, addressBookPage, receiveCoinsPage, and sendCoinsPage.
A new class called *WalletView* inheriting from QStackedWidget has been written to handle all renderings and updates of
these page views. In addition to owning these five page views, a WalletView also has a pointer to a WalletModel instance.
This allows the construction of multiple WalletView objects, each rendering a distinct wallet.
A second class called *WalletFrame* inheriting from QFrame has been written as a container for embedding all wallet-related
controls into BitcoinGUI. At present it contains the WalletView instances for the wallets and does little more than passing on messages
from BitcoinGUI to the currently selected WalletView. It is a WalletFrame instance
that takes the place of what used to be centralWidget in BitcoinGUI. The purpose of this class is to allow future
refinements of the wallet controls with minimal need for further modifications to BitcoinGUI, thus greatly simplifying
merges while reducing the risk of breaking top-level stuff.
Changes to bitcoin.cpp
----------------------
bitcoin.cpp is the entry point into bitcoin-qt, and as such, will require some minor modifications to provide hooks for
multiple wallet support. Most importantly will be the way it instantiates WalletModels and passes them to the
singleton BitcoinGUI instance called window. Formerly, BitcoinGUI kept a pointer to a single instance of a WalletModel.
The initial change required is very simple: rather than calling `window.setWalletModel(&walletModel);` we perform the
following two steps:
window.addWallet("~Default", &walletModel);
window.setCurrentWallet("~Default");
The string parameter is just an arbitrary name given to the default wallet. It's been prepended with a tilde to avoid name collisions in the future with additional wallets.
The shutdown call `window.setWalletModel(0)` has also been removed. In its place is now:
window.removeAllWallets();
| SoyPay/soypay | doc/multiwallet-qt.md | Markdown | mit | 2,997 | [
30522,
4800,
9628,
3388,
1053,
2102,
2458,
1998,
8346,
5656,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
102... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* Copyright 2012-2013 eBay Software Foundation and selendroid committers.
*
* 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.
*/
package io.selendroid.server.model;
import io.selendroid.ServerInstrumentation;
import io.selendroid.android.AndroidKeys;
import io.selendroid.android.AndroidWait;
import io.selendroid.android.ViewHierarchyAnalyzer;
import io.selendroid.android.internal.Dimension;
import io.selendroid.android.internal.Point;
import io.selendroid.exceptions.ElementNotVisibleException;
import io.selendroid.exceptions.NoSuchElementAttributeException;
import io.selendroid.exceptions.NoSuchElementException;
import io.selendroid.exceptions.SelendroidException;
import io.selendroid.exceptions.TimeoutException;
import io.selendroid.server.model.interactions.AndroidCoordinates;
import io.selendroid.server.model.interactions.Coordinates;
import io.selendroid.server.model.internal.AbstractNativeElementContext;
import io.selendroid.util.Function;
import io.selendroid.util.Preconditions;
import io.selendroid.util.SelendroidLogger;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Collection;
import java.util.LinkedHashSet;
import java.util.List;
import org.json.JSONException;
import org.json.JSONObject;
import android.graphics.Rect;
import android.os.SystemClock;
import android.view.MotionEvent;
import android.view.View;
import android.webkit.JsResult;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.TextView;
public class AndroidNativeElement implements AndroidElement {
// TODO revisit
protected static final long DURATION_OF_LONG_PRESS = 750L;// (long)
// (ViewConfiguration.getLongPressTimeout()
// * 1.5f);
private View view;
private Collection<AndroidElement> children = new LinkedHashSet<AndroidElement>();
private AndroidElement parent;
private ServerInstrumentation instrumentation;
private SearchContext nativeElementSearchScope = null;
private Coordinates coordinates = null;
final Object syncObject = new Object();
private Boolean done = false;
private KnownElements ke;
static final long UI_TIMEOUT = 3000L;
public AndroidNativeElement(View view, ServerInstrumentation instrumentation, KnownElements ke) {
this.view = view;
this.instrumentation = instrumentation;
this.nativeElementSearchScope = new NativeElementSearchScope(instrumentation, ke);
this.ke = ke;
}
@Override
public AndroidElement getParent() {
return parent;
}
public boolean isDisplayed() {
return view.hasWindowFocus() && view.isEnabled() && view.isShown() && (view.getWidth() > 0)
&& (view.getHeight() > 0);
}
private void waitUntilIsDisplayed() {
AndroidWait wait = instrumentation.getAndroidWait();
try {
wait.until(new Function<Void, Boolean>() {
@Override
public Boolean apply(Void input) {
return isDisplayed();
}
});
} catch (TimeoutException exception) {
throw new ElementNotVisibleException(
"You may only do passive read with element not displayed");
}
}
protected void scrollIntoScreenIfNeeded() {
Point leftTopLocation = getLocation();
final int left = leftTopLocation.x;
final int top = leftTopLocation.y;
instrumentation.runOnUiThread(new Runnable() {
@Override
public void run() {
synchronized (syncObject) {
Rect r = new Rect(left, top, view.getWidth(), view.getHeight());
view.requestRectangleOnScreen(r);
done = true;
syncObject.notify();
}
}
});
long end = System.currentTimeMillis() + instrumentation.getAndroidWait().getTimeoutInMillis();
synchronized (syncObject) {
while (!done && System.currentTimeMillis() < end) {
try {
syncObject.wait(AndroidWait.DEFAULT_SLEEP_INTERVAL);
} catch (InterruptedException e) {
e.printStackTrace();
throw new SelendroidException(e);
}
}
}
}
@Override
public void enterText(CharSequence... keysToSend) {
final View viewview = view;
instrumentation.runOnUiThread(new Runnable() {
@Override
public void run() {
viewview.requestFocus();
}
});
click();
StringBuilder sb = new StringBuilder();
for (CharSequence keys : keysToSend) {
sb.append(keys);
}
send(sb.toString());
}
@Override
public String getText() {
if (view instanceof TextView) {
return ((TextView) view).getText().toString();
}
System.err.println("not supported elment for getting the text: "
+ view.getClass().getSimpleName());
return null;
}
@Override
public void click() {
waitUntilIsDisplayed();
scrollIntoScreenIfNeeded();
try {
// is needed for recalculation of location
Thread.sleep(300);
} catch (InterruptedException e) {}
int[] xy = new int[2];
view.getLocationOnScreen(xy);
final int viewWidth = view.getWidth();
final int viewHeight = view.getHeight();
final float x = xy[0] + (viewWidth / 2.0f);
float y = xy[1] + (viewHeight / 2.0f);
clickOnScreen(x, y);
}
private void clickOnScreen(float x, float y) {
final ServerInstrumentation inst = ServerInstrumentation.getInstance();
long downTime = SystemClock.uptimeMillis();
long eventTime = SystemClock.uptimeMillis();
final MotionEvent event =
MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_DOWN, x, y, 0);
final MotionEvent event2 =
MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0);
try {
inst.sendPointerSync(event);
inst.sendPointerSync(event2);
try {
Thread.sleep(300);
} catch (InterruptedException ignored) {}
} catch (SecurityException e) {
SelendroidLogger.log("error while clicking element", e);
}
}
public Integer getAndroidId() {
int viewId = view.getId();
return (viewId == View.NO_ID) ? null : viewId;
}
@Override
public AndroidElement findElement(By by) throws NoSuchElementException {
return by.findElement(nativeElementSearchScope);
}
@Override
public List<AndroidElement> findElements(By by) throws NoSuchElementException {
return by.findElements(nativeElementSearchScope);
}
@Override
public Collection<AndroidElement> getChildren() {
return children;
}
public void setParent(AndroidElement parent) {
this.parent = parent;
}
public void addChild(AndroidElement child) {
this.children.add(child);
}
public String toString() {
StringBuilder string = new StringBuilder();
string.append("id: " + view.getId());
string.append("view class: " + view.getClass());
string.append("view content desc: " + view.getContentDescription());
return string.toString();
}
private static int indexOfSpecialKey(CharSequence string, int startIndex) {
for (int i = startIndex; i < string.length(); i++) {
if (AndroidKeys.hasAndroidKeyEvent(string.charAt(i))) {
return i;
}
}
return string.length();
}
protected void send(CharSequence string) {
int currentIndex = 0;
instrumentation.waitForIdleSync();
while (currentIndex < string.length()) {
char currentCharacter = string.charAt(currentIndex);
if (AndroidKeys.hasAndroidKeyEvent(currentCharacter)) {
// The next character is special and must be sent individually
instrumentation.sendKeyDownUpSync(AndroidKeys.keyCodeFor(currentCharacter));
currentIndex++;
} else {
// There is at least one "normal" character, that is a character
// represented by a plain Unicode character that can be sent
// with
// sendStringSync. So send as many such consecutive normal
// characters
// as possible in a single String.
int nextSpecialKey = indexOfSpecialKey(string, currentIndex);
instrumentation.sendStringSync(string.subSequence(currentIndex, nextSpecialKey).toString());
currentIndex = nextSpecialKey;
}
}
}
public JSONObject toJson() throws JSONException {
JSONObject object = new JSONObject();
JSONObject l10n = new JSONObject();
String l10nKey = null;
// try {
// l10nKey =
// instrumentation.getCurrentActivity().getResources().getText(view.getId()).toString();
// } catch (Resources.NotFoundException e) {
// // ignoring, can happen
// }
if (l10nKey != null) {
l10n.put("matches", 1);
l10n.put("key", l10nKey);
} else {
l10n.put("matches", 0);
}
object.put("l10n", l10n);
String label = String.valueOf(view.getContentDescription());
object.put("name", label == null ? "" : label);
String id = getNativeId();
object.put("id", id.startsWith("id/") ? id.replace("id/", "") : id);
JSONObject rect = new JSONObject();
object.put("rect", rect);
JSONObject origin = new JSONObject();
Point location = getLocation();
origin.put("x", location.x);
origin.put("y", location.y);
rect.put("origin", origin);
JSONObject size = new JSONObject();
Dimension s = getSize();
size.put("height", s.getHeight());
size.put("width", s.getWidth());
rect.put("size", size);
object.put("ref", ke.getIdOfElement(this));
object.put("type", view.getClass().getSimpleName());
String value = "";
if (view instanceof TextView) {
value = String.valueOf(((TextView) view).getText());
}
object.put("value", value);
object.put("shown", view.isShown());
if (view instanceof WebView) {
final WebView webview = (WebView) view;
final MyWebChromeClient client = new MyWebChromeClient();
String html = null;
instrumentation.runOnUiThread(new Runnable() {
public void run() {
synchronized (syncObject) {
webview.getSettings().setJavaScriptEnabled(true);
webview.setWebChromeClient(client);
String script = "document.body.parentNode.innerHTML";
webview.loadUrl("javascript:alert('selendroidSource:'+" + script + ")");
}
}
});
long end = System.currentTimeMillis() + 10000;
waitForDone(end, UI_TIMEOUT, "Error while grabbing web view source code.");
object.put("source", "<html>"+ client.result+"</html>");
}
return object;
}
public class MyWebChromeClient extends WebChromeClient {
public Object result = null;
/**
* Unconventional way of adding a Javascript interface but the main reason why I took this way
* is that it is working stable compared to the webview.addJavascriptInterface way.
*/
@Override
public boolean onJsAlert(WebView view, String url, String message, JsResult jsResult) {
System.out.println("alert message: " + message);
if (message != null && message.startsWith("selendroidSource:")) {
jsResult.confirm();
synchronized (syncObject) {
result = message.replaceFirst("selendroidSource:", "");
done = true;
syncObject.notify();
}
return true;
} else {
return super.onJsAlert(view, url, message, jsResult);
}
}
}
private void waitForDone(long end, long timeout, String error) {
synchronized (syncObject) {
while (!done && System.currentTimeMillis() < end) {
try {
syncObject.wait(timeout);
} catch (InterruptedException e) {
throw new SelendroidException(error, e);
}
}
}
}
private String getNativeId() {
return ViewHierarchyAnalyzer.getNativeId(view);
}
public View getView() {
return view;
}
@Override
public void clear() {
final View viewview = view;
instrumentation.runOnUiThread(new Runnable() {
@Override
public void run() {
viewview.requestFocus();
if (viewview instanceof EditText) {
((EditText) viewview).setText("");
}
}
});
}
@Override
public void submit() {
throw new UnsupportedOperationException("Submit is not supported for native elements.");
}
@Override
public boolean isSelected() {
if (view instanceof CompoundButton) {
return ((CompoundButton) view).isChecked();
}
throw new UnsupportedOperationException(
"Is selected is only available for view class CheckBox and RadioButton.");
}
@Override
public Point getLocation() {
int[] xy = new int[2];
view.getLocationOnScreen(xy);
return new Point(xy[0], xy[1]);
}
private class NativeElementSearchScope extends AbstractNativeElementContext {
public NativeElementSearchScope(ServerInstrumentation instrumentation,
KnownElements knownElements) {
super(instrumentation, knownElements);
}
@Override
protected View getRootView() {
return view;
}
protected List<View> getTopLevelViews() {
return Arrays.asList(view);
}
}
@Override
public Coordinates getCoordinates() {
if (coordinates == null) {
coordinates = new AndroidCoordinates(String.valueOf(view.getId()), getCenterCoordinates());
}
return coordinates;
}
private Point getCenterCoordinates() {
int height = view.getHeight();
int width = view.getWidth();
Point location = getLocation();
int x = location.x + (height / 2);
int y = location.y + (width / 2);
return new Point(x, y);
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((view == null) ? 0 : view.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null) return false;
if (getClass() != obj.getClass()) return false;
AndroidNativeElement other = (AndroidNativeElement) obj;
if (view == null) {
if (other.view != null) return false;
} else if (!view.equals(other.view)) return false;
return true;
}
@Override
public Dimension getSize() {
return new Dimension(view.getWidth(), view.getHeight());
}
@Override
public String getAttribute(String attribute) {
if (attribute.equalsIgnoreCase("nativeid")) {
return getNativeId();
}
String name = capitalizeFirstLetter(attribute);
Method method = getDeclaredMethod("get" + name);
if (method == null) {
method = getDeclaredMethod("is" + name);
if (method == null) {
throw new NoSuchElementAttributeException("The attribute with name '" + name
+ "' was not found.");
}
}
try {
Object result = method.invoke(view);
return String.valueOf(result);
} catch (IllegalArgumentException e) {
throw new SelendroidException(e);
} catch (IllegalAccessException e) {
throw new SelendroidException(e);
} catch (InvocationTargetException e) {
throw new SelendroidException(e);
}
}
private String capitalizeFirstLetter(String name) {
return name.substring(0, 1).toUpperCase() + name.substring(1);
}
private Method getDeclaredMethod(String name) {
Preconditions.checkNotNull(name);
Method method = null;
try {
method = view.getClass().getMethod(name);
} catch (NoSuchMethodException e) {
// can happen
}
return method;
}
@Override
public boolean isEnabled() {
return view.isEnabled();
}
@Override
public String getTagName() {
return view.getClass().getSimpleName();
}
}
| popwich/test_selendroid | selendroid-server/src/main/java/io/selendroid/server/model/AndroidNativeElement.java | Java | apache-2.0 | 16,268 | [
30522,
30524,
2262,
1011,
2286,
1041,
15907,
4007,
3192,
1998,
7367,
7770,
22196,
3593,
10797,
7747,
1012,
1008,
1008,
7000,
2104,
1996,
15895,
6105,
1010,
2544,
1016,
1012,
1014,
1006,
1996,
1000,
6105,
1000,
1007,
1025,
2017,
2089,
2025,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Uses of Class org.myrobotlab.opencv.OpenCVFilterSmooth</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.myrobotlab.opencv.OpenCVFilterSmooth";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/myrobotlab/opencv/OpenCVFilterSmooth.html" title="class in org.myrobotlab.opencv">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/myrobotlab/opencv/class-use/OpenCVFilterSmooth.html" target="_top">Frames</a></li>
<li><a href="OpenCVFilterSmooth.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.myrobotlab.opencv.OpenCVFilterSmooth" class="title">Uses of Class<br>org.myrobotlab.opencv.OpenCVFilterSmooth</h2>
</div>
<div class="classUseContainer">No usage of org.myrobotlab.opencv.OpenCVFilterSmooth</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/myrobotlab/opencv/OpenCVFilterSmooth.html" title="class in org.myrobotlab.opencv">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/myrobotlab/opencv/class-use/OpenCVFilterSmooth.html" target="_top">Frames</a></li>
<li><a href="OpenCVFilterSmooth.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
| lanchun/myrobotlab | javadoc/org/myrobotlab/opencv/class-use/OpenCVFilterSmooth.html | HTML | apache-2.0 | 4,412 | [
30522,
1026,
999,
9986,
13874,
16129,
2270,
1000,
1011,
1013,
1013,
1059,
2509,
2278,
1013,
1013,
26718,
2094,
16129,
1018,
1012,
5890,
17459,
1013,
1013,
4372,
1000,
1000,
8299,
1024,
1013,
1013,
7479,
1012,
1059,
2509,
1012,
8917,
1013,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
jsonp({"cep":"78734168","logradouro":"Rua S\u00e3o Bento","bairro":"Conjunto Habitacional Cidade de Deus","cidade":"Rondon\u00f3polis","uf":"MT","estado":"Mato Grosso"});
| lfreneda/cepdb | api/v1/78734168.jsonp.js | JavaScript | cc0-1.0 | 171 | [
30522,
1046,
3385,
2361,
1006,
1063,
1000,
8292,
2361,
1000,
1024,
1000,
6275,
2581,
22022,
16048,
2620,
1000,
1010,
1000,
8833,
12173,
8162,
2080,
1000,
1024,
1000,
21766,
2050,
1055,
1032,
1057,
8889,
2063,
2509,
2080,
6260,
2080,
1000,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
import Yoga from '@react-pdf/yoga';
import setJustifyContent from '../../src/node/setJustifyContent';
describe('node setJustifyContent', () => {
const mock = jest.fn();
const node = { _yogaNode: { setJustifyContent: mock } };
beforeEach(() => {
mock.mockReset();
});
test('should return node if no yoga node available', () => {
const emptyNode = { box: { width: 10, height: 20 } };
const result = setJustifyContent(null)(emptyNode);
expect(result).toBe(emptyNode);
});
test('Should set center', () => {
const result = setJustifyContent('center')(node);
expect(mock.mock.calls).toHaveLength(1);
expect(mock.mock.calls[0][0]).toBe(Yoga.JUSTIFY_CENTER);
expect(result).toBe(node);
});
test('Should set flex-end', () => {
const result = setJustifyContent('flex-end')(node);
expect(mock.mock.calls).toHaveLength(1);
expect(mock.mock.calls[0][0]).toBe(Yoga.JUSTIFY_FLEX_END);
expect(result).toBe(node);
});
test('Should set flex-start', () => {
const result = setJustifyContent('flex-start')(node);
expect(mock.mock.calls).toHaveLength(1);
expect(mock.mock.calls[0][0]).toBe(Yoga.JUSTIFY_FLEX_START);
expect(result).toBe(node);
});
test('Should set space-between', () => {
const result = setJustifyContent('space-between')(node);
expect(mock.mock.calls).toHaveLength(1);
expect(mock.mock.calls[0][0]).toBe(Yoga.JUSTIFY_SPACE_BETWEEN);
expect(result).toBe(node);
});
test('Should set space-around', () => {
const result = setJustifyContent('space-around')(node);
expect(mock.mock.calls).toHaveLength(1);
expect(mock.mock.calls[0][0]).toBe(Yoga.JUSTIFY_SPACE_AROUND);
expect(result).toBe(node);
});
test('Should set space-evenly', () => {
const result = setJustifyContent('space-evenly')(node);
expect(mock.mock.calls).toHaveLength(1);
expect(mock.mock.calls[0][0]).toBe(Yoga.JUSTIFY_SPACE_EVENLY);
expect(result).toBe(node);
});
});
| diegomura/react-pdf | packages/layout/tests/node/setJustifyContent.test.js | JavaScript | mit | 1,991 | [
30522,
12324,
13272,
2013,
1005,
1030,
10509,
1011,
11135,
1013,
13272,
1005,
1025,
12324,
2275,
29427,
8757,
8663,
6528,
2102,
2013,
1005,
1012,
1012,
1013,
1012,
1012,
1013,
5034,
2278,
1013,
13045,
1013,
2275,
29427,
8757,
8663,
6528,
21... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
namespace ALttP\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}
| sporchia/alttp_vt_randomizer | app/Http/Controllers/Controller.php | PHP | mit | 363 | [
30522,
1026,
1029,
25718,
3415,
15327,
12456,
25856,
1032,
8299,
1032,
21257,
1025,
2224,
5665,
12717,
12556,
1032,
3192,
1032,
3902,
1032,
18365,
2229,
5558,
5910,
1025,
2224,
5665,
12717,
12556,
1032,
16972,
1032,
11486,
2004,
2918,
8663,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
/**
* Sparkling Top Posts Widget
* Sparkling Theme
*/
class Sparkling_Popular_Posts extends WP_Widget {
function __construct() {
add_action( 'admin_init', array( $this, 'enqueue' ) );
add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue' ) );
$widget_ops = array(
'classname' => 'sparkling-popular-posts',
'description' => esc_html__( 'Sparkling Popular Posts Widget', 'sparkling' ),
);
parent::__construct( 'sparkling_popular_posts', esc_html__( 'Sparkling Popular Posts Widget','sparkling' ), $widget_ops );
}
public function enqueue() {
if ( is_admin() ) {
wp_enqueue_script( 'sparkling-popular-post-script', get_template_directory_uri() . '/assets/js/widget.js', array( 'jquery' ) );
$args = array(
'ajaxurl' => admin_url( 'admin-ajax.php' ),
);
wp_localize_script( 'sparkling-popular-post-script', 'Sparkling', $args );
}
}
function widget( $args, $instance ) {
$title = isset( $instance['title'] ) ? $instance['title'] : esc_html__( 'Popular Posts', 'sparkling' );
$limit = isset( $instance['limit'] ) ? $instance['limit'] : 5;
$default_image = isset( $instance['default_image'] ) ? $instance['default_image'] : '';
echo $args['before_widget'];
echo $args['before_title'];
echo $title;
echo $args['after_title'];
/**
* Widget Content
*/
?>
<!-- popular posts -->
<div class="popular-posts-wrapper">
<?php
$featured_args = array(
'posts_per_page' => $limit,
'orderby' => 'comment_count',
'order' => 'DESC',
'ignore_sticky_posts' => 1,
);
$featured_query = new WP_Query( $featured_args );
/**
* Check if zilla likes plugin exists
*/
if ( $featured_query->have_posts() ) : while ( $featured_query->have_posts() ) : $featured_query->the_post();
?>
<?php if ( get_the_content() != '' ) : ?>
<!-- post -->
<div class="post">
<!-- image -->
<div class="post-image <?php echo get_post_format(); ?>">
<a href="<?php echo get_permalink(); ?>">
<?php
if ( has_post_thumbnail() ) {
echo get_the_post_thumbnail( get_the_ID() , 'tab-small' );
}elseif ( $default_image ) {
echo wp_get_attachment_image( $default_image, 'tab-small' );
}
?>
</a>
</div> <!-- end post image -->
<!-- content -->
<div class="post-content">
<a href="<?php echo get_permalink(); ?>"><?php echo get_the_title(); ?></a>
<span class="date"><?php echo get_the_date( 'd M , Y' ); ?></span>
</div><!-- end content -->
</div><!-- end post -->
<?php endif; ?>
<?php
endwhile;
endif;
wp_reset_query();
?>
</div> <!-- end posts wrapper -->
<?php
echo $args['after_widget'];
}
function form( $instance ) {
if ( ! isset( $instance['title'] ) ) {
$instance['title'] = esc_html__( 'Popular Posts', 'sparkling' );
}
if ( ! isset( $instance['limit'] ) ) {
$instance['limit'] = 5;
}
if ( ! isset( $instance['default_image'] ) ) {
$instance['default_image'] = '';
}else{
$instance['default_image'] = wp_get_attachment_image_url( $instance['default_image'], 'medium' );
}
?>
<p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php esc_html_e( 'Title', 'sparkling' ) ?></label>
<input type="text" value="<?php echo esc_attr( $instance['title'] ); ?>"
name="<?php echo $this->get_field_name( 'title' ); ?>"
id="<?php $this->get_field_id( 'title' ); ?>"
class="widefat" />
</p>
<p><label for="<?php echo $this->get_field_id( 'limit' ); ?>"><?php esc_html_e( 'Limit Posts Number', 'sparkling' ) ?></label>
<input type="text" value="<?php echo esc_attr( $instance['limit'] ); ?>"
name="<?php echo $this->get_field_name( 'limit' ); ?>"
id="<?php $this->get_field_id( 'limit' ); ?>"
class="widefat" />
<p>
<div class="sparkling-media-container media-widget-control">
<p>
<label for="<?php echo $this->get_field_id( 'default_image' ); ?>"><?php esc_html_e( 'Default Image', 'sparkling' ) ?></label>
<input type="hidden" value="<?php echo esc_attr( $instance['default_image'] ); ?>"
name="<?php echo $this->get_field_name( 'default_image' ); ?>"
id="<?php echo $this->get_field_id( 'default_image' ); ?>"
class="widefat" />
</p>
<div class="media-widget-preview">
<div class="attachment-media-view">
<div class="placeholder" <?php echo $instance['default_image'] ? 'style="display:none;"' : '' ?>><?php echo esc_html__( 'No media selected', 'sparkling' ); ?></div>
<?php if ( $instance['default_image'] ): ?>
<img src="<?php echo $instance['default_image'] ?>">
<?php endif ?>
</div>
</div>
<p class="media-widget-buttons">
<button type="button" class="button upload-button">
<?php echo esc_html_x( 'Add Media', 'label for button in the media widget', 'sparkling' ); ?>
</button>
<button type="button" class="button remove-button">
<?php echo esc_html_x( 'Remove Media', 'label for button in the media widget; should preferably not be longer than ~13 characters long', 'sparkling' ); ?>
</button>
</p>
</div>
<?php
}
}
?>
| jmelgarejo/Clan | wordpress/wp-content/themes/sparkling/inc/widgets/class-sparkling-popular-posts.php | PHP | mit | 5,292 | [
30522,
1026,
1029,
25718,
1013,
1008,
1008,
1008,
16619,
2327,
8466,
15536,
24291,
1008,
16619,
4323,
1008,
1013,
2465,
16619,
1035,
2759,
1035,
8466,
8908,
1059,
2361,
1035,
15536,
24291,
1063,
3853,
1035,
1035,
9570,
1006,
1007,
1063,
558... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject
from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase
import vtk
class vtkRuledSurfaceFilter(SimpleVTKClassModuleBase):
def __init__(self, module_manager):
SimpleVTKClassModuleBase.__init__(
self, module_manager,
vtk.vtkRuledSurfaceFilter(), 'Processing.',
('vtkPolyData',), ('vtkPolyData',),
replaceDoc=True,
inputFunctions=None, outputFunctions=None)
| nagyistoce/devide | modules/vtk_basic/vtkRuledSurfaceFilter.py | Python | bsd-3-clause | 497 | [
30522,
1001,
2465,
7013,
2011,
14386,
3207,
1024,
1024,
2580,
6777,
5178,
5302,
8566,
2571,
19699,
5358,
2615,
2102,
3683,
2497,
20614,
2013,
11336,
1035,
18628,
1012,
28879,
2243,
1035,
8934,
1012,
4666,
7076,
12324,
3722,
2615,
2102,
2243... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
// MAIN.CPP - Entry point for the Architecture Description Language Compiler
#include "adlc.hpp"
//------------------------------Prototypes-------------------------------------
static void usage(ArchDesc& AD); // Print usage message and exit
static char *strip_ext(char *fname); // Strip off name extension
static char *base_plus_suffix(const char* base, const char *suffix);// New concatenated string
static int get_legal_text(FileBuff &fbuf, char **legal_text); // Get pointer to legal text
ArchDesc* globalAD = NULL; // global reference to Architecture Description object
const char* get_basename(const char* filename) {
const char *basename = filename;
const char *cp;
for (cp = basename; *cp; cp++) {
if (*cp == '/') {
basename = cp+1;
}
}
return basename;
}
//------------------------------main-------------------------------------------
int main(int argc, char *argv[])
{
ArchDesc AD; // Architecture Description object
globalAD = &AD;
// ResourceMark mark;
ADLParser *ADL_Parse; // ADL Parser object to parse AD file
// Check for proper arguments
if( argc == 1 ) usage(AD); // No arguments? Then print usage
// Read command line arguments and file names
for( int i = 1; i < argc; i++ ) { // For all arguments
register char *s = argv[i]; // Get option/filename
if( *s++ == '-' ) { // It's a flag? (not a filename)
if( !*s ) { // Stand-alone `-' means stdin
//********** INSERT CODE HERE **********
} else while (*s != '\0') { // While have flags on option
switch (*s++) { // Handle flag
case 'd': // Debug flag
AD._dfa_debug += 1; // Set Debug Flag
break;
case 'g': // Debug ad location flag
AD._adlocation_debug += 1; // Set Debug ad location Flag
break;
case 'o': // No Output Flag
AD._no_output ^= 1; // Toggle no_output flag
break;
case 'q': // Quiet Mode Flag
AD._quiet_mode ^= 1; // Toggle quiet_mode flag
break;
case 'w': // Disable Warnings Flag
AD._disable_warnings ^= 1; // Toggle disable_warnings flag
break;
case 'T': // Option to make DFA as many subroutine calls.
AD._dfa_small += 1; // Set Mode Flag
break;
case 'c': { // Set C++ Output file name
AD._CPP_file._name = s;
const char *base = strip_ext(strdup(s));
AD._CPP_CLONE_file._name = base_plus_suffix(base,"_clone.cpp");
AD._CPP_EXPAND_file._name = base_plus_suffix(base,"_expand.cpp");
AD._CPP_FORMAT_file._name = base_plus_suffix(base,"_format.cpp");
AD._CPP_GEN_file._name = base_plus_suffix(base,"_gen.cpp");
AD._CPP_MISC_file._name = base_plus_suffix(base,"_misc.cpp");
AD._CPP_PEEPHOLE_file._name = base_plus_suffix(base,"_peephole.cpp");
AD._CPP_PIPELINE_file._name = base_plus_suffix(base,"_pipeline.cpp");
s += strlen(s);
break;
}
case 'h': // Set C++ Output file name
AD._HPP_file._name = s; s += strlen(s);
break;
case 'v': // Set C++ Output file name
AD._VM_file._name = s; s += strlen(s);
break;
case 'a': // Set C++ Output file name
AD._DFA_file._name = s;
AD._bug_file._name = s;
s += strlen(s);
break;
case '#': // Special internal debug flag
AD._adl_debug++; // Increment internal debug level
break;
case 's': // Output which instructions are cisc-spillable
AD._cisc_spill_debug = true;
break;
case 'D': // Flag Definition
{
char* flag = s;
s += strlen(s);
char* def = strchr(flag, '=');
if (def == NULL) def = (char*)"1";
else *def++ = '\0';
AD.set_preproc_def(flag, def);
}
break;
case 'U': // Flag Un-Definition
{
char* flag = s;
s += strlen(s);
AD.set_preproc_def(flag, NULL);
}
break;
default: // Unknown option
usage(AD); // So print usage and exit
} // End of switch on options...
} // End of while have options...
} else { // Not an option; must be a filename
AD._ADL_file._name = argv[i]; // Set the input filename
// // Files for storage, based on input file name
const char *base = strip_ext(strdup(argv[i]));
char *temp = base_plus_suffix("dfa_",base);
AD._DFA_file._name = base_plus_suffix(temp,".cpp");
delete temp;
temp = base_plus_suffix("ad_",base);
AD._CPP_file._name = base_plus_suffix(temp,".cpp");
AD._CPP_CLONE_file._name = base_plus_suffix(temp,"_clone.cpp");
AD._CPP_EXPAND_file._name = base_plus_suffix(temp,"_expand.cpp");
AD._CPP_FORMAT_file._name = base_plus_suffix(temp,"_format.cpp");
AD._CPP_GEN_file._name = base_plus_suffix(temp,"_gen.cpp");
AD._CPP_MISC_file._name = base_plus_suffix(temp,"_misc.cpp");
AD._CPP_PEEPHOLE_file._name = base_plus_suffix(temp,"_peephole.cpp");
AD._CPP_PIPELINE_file._name = base_plus_suffix(temp,"_pipeline.cpp");
AD._HPP_file._name = base_plus_suffix(temp,".hpp");
delete temp;
temp = base_plus_suffix("adGlobals_",base);
AD._VM_file._name = base_plus_suffix(temp,".hpp");
delete temp;
temp = base_plus_suffix("bugs_",base);
AD._bug_file._name = base_plus_suffix(temp,".out");
delete temp;
} // End of files vs options...
} // End of while have command line arguments
// Open files used to store the matcher and its components
if (AD.open_files() == 0) return 1; // Open all input/output files
// Build the File Buffer, Parse the input, & Generate Code
FileBuff ADL_Buf(&AD._ADL_file, AD); // Create a file buffer for input file
// Get pointer to legal text at the beginning of AD file.
// It will be used in generated ad files.
char* legal_text;
int legal_sz = get_legal_text(ADL_Buf, &legal_text);
ADL_Parse = new ADLParser(ADL_Buf, AD); // Create a parser to parse the buffer
ADL_Parse->parse(); // Parse buffer & build description lists
if( AD._dfa_debug >= 1 ) { // For higher debug settings, print dump
AD.dump();
}
delete ADL_Parse; // Delete parser
// Verify that the results of the parse are consistent
AD.verify();
// Prepare to generate the result files:
AD.generateMatchLists();
AD.identify_unique_operands();
AD.identify_cisc_spill_instructions();
AD.identify_short_branches();
// Make sure every file starts with a copyright:
AD.addSunCopyright(legal_text, legal_sz, AD._HPP_file._fp); // .hpp
AD.addSunCopyright(legal_text, legal_sz, AD._CPP_file._fp); // .cpp
AD.addSunCopyright(legal_text, legal_sz, AD._CPP_CLONE_file._fp); // .cpp
AD.addSunCopyright(legal_text, legal_sz, AD._CPP_EXPAND_file._fp); // .cpp
AD.addSunCopyright(legal_text, legal_sz, AD._CPP_FORMAT_file._fp); // .cpp
AD.addSunCopyright(legal_text, legal_sz, AD._CPP_GEN_file._fp); // .cpp
AD.addSunCopyright(legal_text, legal_sz, AD._CPP_MISC_file._fp); // .cpp
AD.addSunCopyright(legal_text, legal_sz, AD._CPP_PEEPHOLE_file._fp); // .cpp
AD.addSunCopyright(legal_text, legal_sz, AD._CPP_PIPELINE_file._fp); // .cpp
AD.addSunCopyright(legal_text, legal_sz, AD._VM_file._fp); // .hpp
AD.addSunCopyright(legal_text, legal_sz, AD._DFA_file._fp); // .cpp
// Add include guards for all .hpp files
AD.addIncludeGuardStart(AD._HPP_file, "GENERATED_ADFILES_AD_HPP"); // .hpp
AD.addIncludeGuardStart(AD._VM_file, "GENERATED_ADFILES_ADGLOBALS_HPP"); // .hpp
// Add includes
AD.addInclude(AD._CPP_file, "precompiled.hpp");
AD.addInclude(AD._CPP_file, "adfiles", get_basename(AD._VM_file._name));
AD.addInclude(AD._CPP_file, "adfiles", get_basename(AD._HPP_file._name));
AD.addInclude(AD._CPP_file, "memory/allocation.inline.hpp");
AD.addInclude(AD._CPP_file, "asm/macroAssembler.inline.hpp");
AD.addInclude(AD._CPP_file, "code/compiledIC.hpp");
AD.addInclude(AD._CPP_file, "code/nativeInst.hpp");
AD.addInclude(AD._CPP_file, "code/vmreg.inline.hpp");
AD.addInclude(AD._CPP_file, "gc/shared/collectedHeap.inline.hpp");
AD.addInclude(AD._CPP_file, "oops/compiledICHolder.hpp");
AD.addInclude(AD._CPP_file, "oops/markOop.hpp");
AD.addInclude(AD._CPP_file, "oops/method.hpp");
AD.addInclude(AD._CPP_file, "oops/oop.inline.hpp");
AD.addInclude(AD._CPP_file, "opto/cfgnode.hpp");
AD.addInclude(AD._CPP_file, "opto/intrinsicnode.hpp");
AD.addInclude(AD._CPP_file, "opto/locknode.hpp");
AD.addInclude(AD._CPP_file, "opto/opcodes.hpp");
AD.addInclude(AD._CPP_file, "opto/regalloc.hpp");
AD.addInclude(AD._CPP_file, "opto/regmask.hpp");
AD.addInclude(AD._CPP_file, "opto/runtime.hpp");
AD.addInclude(AD._CPP_file, "runtime/biasedLocking.hpp");
AD.addInclude(AD._CPP_file, "runtime/sharedRuntime.hpp");
AD.addInclude(AD._CPP_file, "runtime/stubRoutines.hpp");
AD.addInclude(AD._CPP_file, "utilities/growableArray.hpp");
AD.addInclude(AD._HPP_file, "memory/allocation.hpp");
AD.addInclude(AD._HPP_file, "code/nativeInst.hpp");
AD.addInclude(AD._HPP_file, "opto/machnode.hpp");
AD.addInclude(AD._HPP_file, "opto/node.hpp");
AD.addInclude(AD._HPP_file, "opto/regalloc.hpp");
AD.addInclude(AD._HPP_file, "opto/subnode.hpp");
AD.addInclude(AD._HPP_file, "opto/vectornode.hpp");
AD.addInclude(AD._CPP_CLONE_file, "precompiled.hpp");
AD.addInclude(AD._CPP_CLONE_file, "adfiles", get_basename(AD._HPP_file._name));
AD.addInclude(AD._CPP_EXPAND_file, "precompiled.hpp");
AD.addInclude(AD._CPP_EXPAND_file, "adfiles", get_basename(AD._HPP_file._name));
AD.addInclude(AD._CPP_FORMAT_file, "precompiled.hpp");
AD.addInclude(AD._CPP_FORMAT_file, "adfiles", get_basename(AD._HPP_file._name));
AD.addInclude(AD._CPP_GEN_file, "precompiled.hpp");
AD.addInclude(AD._CPP_GEN_file, "adfiles", get_basename(AD._HPP_file._name));
AD.addInclude(AD._CPP_GEN_file, "opto/cfgnode.hpp");
AD.addInclude(AD._CPP_GEN_file, "opto/locknode.hpp");
AD.addInclude(AD._CPP_MISC_file, "precompiled.hpp");
AD.addInclude(AD._CPP_MISC_file, "adfiles", get_basename(AD._HPP_file._name));
AD.addInclude(AD._CPP_PEEPHOLE_file, "precompiled.hpp");
AD.addInclude(AD._CPP_PEEPHOLE_file, "adfiles", get_basename(AD._HPP_file._name));
AD.addInclude(AD._CPP_PIPELINE_file, "precompiled.hpp");
AD.addInclude(AD._CPP_PIPELINE_file, "adfiles", get_basename(AD._HPP_file._name));
AD.addInclude(AD._DFA_file, "precompiled.hpp");
AD.addInclude(AD._DFA_file, "adfiles", get_basename(AD._HPP_file._name));
AD.addInclude(AD._DFA_file, "opto/cfgnode.hpp"); // Use PROB_MAX in predicate.
AD.addInclude(AD._DFA_file, "opto/intrinsicnode.hpp");
AD.addInclude(AD._DFA_file, "opto/matcher.hpp");
AD.addInclude(AD._DFA_file, "opto/narrowptrnode.hpp");
AD.addInclude(AD._DFA_file, "opto/opcodes.hpp");
AD.addInclude(AD._DFA_file, "opto/convertnode.hpp");
// Make sure each .cpp file starts with include lines:
// files declaring and defining generators for Mach* Objects (hpp,cpp)
// Generate the result files:
// enumerations, class definitions, object generators, and the DFA
// file containing enumeration of machine operands & instructions (hpp)
AD.addPreHeaderBlocks(AD._HPP_file._fp); // .hpp
AD.buildMachOperEnum(AD._HPP_file._fp); // .hpp
AD.buildMachOpcodesEnum(AD._HPP_file._fp); // .hpp
AD.buildMachRegisterNumbers(AD._VM_file._fp); // VM file
AD.buildMachRegisterEncodes(AD._HPP_file._fp); // .hpp file
AD.declareRegSizes(AD._HPP_file._fp); // .hpp
AD.build_pipeline_enums(AD._HPP_file._fp); // .hpp
// output definition of class "State"
AD.defineStateClass(AD._HPP_file._fp); // .hpp
// file declaring the Mach* classes derived from MachOper and MachNode
AD.declareClasses(AD._HPP_file._fp);
// declare and define maps: in the .hpp and .cpp files respectively
AD.addSourceBlocks(AD._CPP_file._fp); // .cpp
AD.addHeaderBlocks(AD._HPP_file._fp); // .hpp
AD.buildReduceMaps(AD._HPP_file._fp, AD._CPP_file._fp);
AD.buildMustCloneMap(AD._HPP_file._fp, AD._CPP_file._fp);
// build CISC_spilling oracle and MachNode::cisc_spill() methods
AD.build_cisc_spill_instructions(AD._HPP_file._fp, AD._CPP_file._fp);
// define methods for machine dependent State, MachOper, and MachNode classes
AD.defineClasses(AD._CPP_file._fp);
AD.buildMachOperGenerator(AD._CPP_GEN_file._fp);// .cpp
AD.buildMachNodeGenerator(AD._CPP_GEN_file._fp);// .cpp
// define methods for machine dependent instruction matching
AD.buildInstructMatchCheck(AD._CPP_file._fp); // .cpp
// define methods for machine dependent frame management
AD.buildFrameMethods(AD._CPP_file._fp); // .cpp
AD.generate_needs_clone_jvms(AD._CPP_file._fp);
// do this last:
AD.addPreprocessorChecks(AD._CPP_file._fp); // .cpp
AD.addPreprocessorChecks(AD._CPP_CLONE_file._fp); // .cpp
AD.addPreprocessorChecks(AD._CPP_EXPAND_file._fp); // .cpp
AD.addPreprocessorChecks(AD._CPP_FORMAT_file._fp); // .cpp
AD.addPreprocessorChecks(AD._CPP_GEN_file._fp); // .cpp
AD.addPreprocessorChecks(AD._CPP_MISC_file._fp); // .cpp
AD.addPreprocessorChecks(AD._CPP_PEEPHOLE_file._fp); // .cpp
AD.addPreprocessorChecks(AD._CPP_PIPELINE_file._fp); // .cpp
// define the finite automata that selects lowest cost production
AD.buildDFA(AD._DFA_file._fp);
// Add include guards for all .hpp files
AD.addIncludeGuardEnd(AD._HPP_file, "GENERATED_ADFILES_AD_HPP"); // .hpp
AD.addIncludeGuardEnd(AD._VM_file, "GENERATED_ADFILES_ADGLOBALS_HPP"); // .hpp
AD.close_files(0); // Close all input/output files
// Final printout and statistics
// cout << program;
if( AD._dfa_debug & 2 ) { // For higher debug settings, print timing info
// Timer t_stop;
// Timer t_total = t_stop - t_start; // Total running time
// cerr << "\n---Architecture Description Totals---\n";
// cerr << ", Total lines: " << TotalLines;
// float l = TotalLines;
// cerr << "\nTotal Compilation Time: " << t_total << "\n";
// float ft = (float)t_total;
// if( ft > 0.0 ) fprintf(stderr,"Lines/sec: %#5.2f\n", l/ft);
}
return (AD._syntax_errs + AD._semantic_errs + AD._internal_errs); // Bye Bye!!
}
//------------------------------usage------------------------------------------
static void usage(ArchDesc& AD)
{
printf("Architecture Description Language Compiler\n\n");
printf("Usage: adlc [-doqwTs] [-#]* [-D<FLAG>[=<DEF>]] [-U<FLAG>] [-c<CPP_FILE_NAME>] [-h<HPP_FILE_NAME>] [-a<DFA_FILE_NAME>] [-v<GLOBALS_FILE_NAME>] <ADL_FILE_NAME>\n");
printf(" d produce DFA debugging info\n");
printf(" o no output produced, syntax and semantic checking only\n");
printf(" q quiet mode, supresses all non-essential messages\n");
printf(" w suppress warning messages\n");
printf(" T make DFA as many subroutine calls\n");
printf(" s output which instructions are cisc-spillable\n");
printf(" D define preprocessor symbol\n");
printf(" U undefine preprocessor symbol\n");
printf(" c specify CPP file name (default: %s)\n", AD._CPP_file._name);
printf(" h specify HPP file name (default: %s)\n", AD._HPP_file._name);
printf(" a specify DFA output file name\n");
printf(" v specify adGlobals output file name\n");
printf(" # increment ADL debug level\n");
printf("\n");
}
//------------------------------open_file------------------------------------
int ArchDesc::open_file(bool required, ADLFILE & ADF, const char *action)
{
if (required &&
(ADF._fp = fopen(ADF._name, action)) == NULL) {
printf("ERROR: Cannot open file for %s: %s\n", action, ADF._name);
close_files(1);
return 0;
}
return 1;
}
//------------------------------open_files-------------------------------------
int ArchDesc::open_files(void)
{
if (_ADL_file._name == NULL)
{ printf("ERROR: No ADL input file specified\n"); return 0; }
if (!open_file(true , _ADL_file, "r")) { return 0; }
if (!open_file(!_no_output, _DFA_file, "w")) { return 0; }
if (!open_file(!_no_output, _HPP_file, "w")) { return 0; }
if (!open_file(!_no_output, _CPP_file, "w")) { return 0; }
if (!open_file(!_no_output, _CPP_CLONE_file, "w")) { return 0; }
if (!open_file(!_no_output, _CPP_EXPAND_file, "w")) { return 0; }
if (!open_file(!_no_output, _CPP_FORMAT_file, "w")) { return 0; }
if (!open_file(!_no_output, _CPP_GEN_file, "w")) { return 0; }
if (!open_file(!_no_output, _CPP_MISC_file, "w")) { return 0; }
if (!open_file(!_no_output, _CPP_PEEPHOLE_file, "w")) { return 0; }
if (!open_file(!_no_output, _CPP_PIPELINE_file, "w")) { return 0; }
if (!open_file(!_no_output, _VM_file , "w")) { return 0; }
if (!open_file(_dfa_debug != 0, _bug_file, "w")) { return 0; }
return 1;
}
//------------------------------close_file------------------------------------
void ArchDesc::close_file(int delete_out, ADLFILE& ADF)
{
if (ADF._fp) {
fclose(ADF._fp);
if (delete_out) remove(ADF._name);
}
}
//------------------------------close_files------------------------------------
void ArchDesc::close_files(int delete_out)
{
if (_ADL_file._fp) fclose(_ADL_file._fp);
close_file(delete_out, _CPP_file);
close_file(delete_out, _CPP_CLONE_file);
close_file(delete_out, _CPP_EXPAND_file);
close_file(delete_out, _CPP_FORMAT_file);
close_file(delete_out, _CPP_GEN_file);
close_file(delete_out, _CPP_MISC_file);
close_file(delete_out, _CPP_PEEPHOLE_file);
close_file(delete_out, _CPP_PIPELINE_file);
close_file(delete_out, _HPP_file);
close_file(delete_out, _DFA_file);
close_file(delete_out, _bug_file);
if (!_quiet_mode) {
printf("\n");
if (_no_output || delete_out) {
if (_ADL_file._name) printf("%s: ", _ADL_file._name);
printf("No output produced");
}
else {
if (_ADL_file._name) printf("%s --> ", _ADL_file._name);
printf("%s, %s, %s, %s, %s, %s, %s, %s, %s, %s",
_CPP_file._name,
_CPP_CLONE_file._name,
_CPP_EXPAND_file._name,
_CPP_FORMAT_file._name,
_CPP_GEN_file._name,
_CPP_MISC_file._name,
_CPP_PEEPHOLE_file._name,
_CPP_PIPELINE_file._name,
_HPP_file._name,
_DFA_file._name);
}
printf("\n");
}
}
//------------------------------strip_ext--------------------------------------
static char *strip_ext(char *fname)
{
char *ep;
if (fname) {
ep = fname + strlen(fname) - 1; // start at last character and look for '.'
while (ep >= fname && *ep != '.') --ep;
if (*ep == '.') *ep = '\0'; // truncate string at '.'
}
return fname;
}
//------------------------------base_plus_suffix-------------------------------
// New concatenated string
static char *base_plus_suffix(const char* base, const char *suffix)
{
int len = (int)strlen(base) + (int)strlen(suffix) + 1;
char* fname = new char[len];
sprintf(fname,"%s%s",base,suffix);
return fname;
}
//------------------------------get_legal_text---------------------------------
// Get pointer to legal text at the beginning of AD file.
// This code assumes that a legal text starts at the beginning of .ad files,
// is commented by "//" at each line and ends with empty line.
//
int get_legal_text(FileBuff &fbuf, char **legal_text)
{
char* legal_start = fbuf.get_line();
assert(legal_start[0] == '/' && legal_start[1] == '/', "Incorrect header of AD file");
char* legal_end = fbuf.get_line();
assert(strncmp(legal_end, "// Copyright", 12) == 0, "Incorrect header of AD file");
while(legal_end[0] == '/' && legal_end[1] == '/') {
legal_end = fbuf.get_line();
}
*legal_text = legal_start;
return (int) (legal_end - legal_start);
}
// VS2005 has its own definition, identical to this one.
#if !defined(_WIN32) || defined(_WIN64) || _MSC_VER < 1400
void *operator new( size_t size, int, const char *, int ) throw() {
return ::operator new( size );
}
#endif
| YouDiSN/OpenJDK-Research | jdk9/hotspot/src/share/vm/adlc/main.cpp | C++ | gpl-2.0 | 21,875 | [
30522,
1013,
1008,
1008,
9385,
1006,
1039,
1007,
2722,
1010,
2325,
1010,
14721,
1998,
1013,
2030,
2049,
18460,
1012,
2035,
2916,
9235,
1012,
1008,
2079,
2025,
11477,
2030,
6366,
9385,
14444,
2030,
2023,
5371,
20346,
1012,
1008,
1008,
2023,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# frozen_string_literal: true
# Override for devise sessions controller in order to track a user's location
# when signing out.
class SessionsController < Devise::SessionsController
layout "layouts/full_page"
end
| remomueller/slice | app/controllers/sessions_controller.rb | Ruby | mit | 216 | [
30522,
1001,
7708,
1035,
5164,
1035,
18204,
1024,
2995,
1001,
2058,
15637,
2005,
14386,
3366,
6521,
11486,
1999,
2344,
2000,
2650,
1037,
5310,
1005,
1055,
3295,
1001,
2043,
6608,
2041,
1012,
2465,
6521,
8663,
13181,
10820,
1026,
14386,
3366... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*******************************************************************************
* Online Judge : POJ
* Problem Title : Remmarguts' Date
* Problem URL : http://acm.pku.edu.cn/JudgeOnline/problem?id=2449
* ID : 2449
* Date : 6/29/2009
* Time : 19:41:29
* Computer Name : EVERLASTING-PC
* Wizard Version : 20090522P
*******************************************************************************/
#include<iostream>
#include<queue>
using namespace std;
#define MAXE 200000
#define MAXN 1001
#define INF 0x7fffffff
struct LNode
{
int v,d,next;
};
int lin1[MAXN],lin2[MAXN];
LNode e[MAXE];
int n,m;
int s,t,k;
int cnt;
bool inq[MAXN];
int dis[MAXN];
deque<int> q;
struct PNode
{
int g,u;
PNode(int _g,int _u):g(_g),u(_u){}
PNode(){}
};
inline bool operator <(PNode a,PNode b)
{
return a.g+dis[a.u]>b.g+dis[b.u];
}
priority_queue<PNode> pq;
int main()
{
#ifndef ONLINE_JUDGE
freopen("in_2449.txt","r",stdin);
#endif
memset(lin1,-1,sizeof(lin1));
memset(lin2,-1,sizeof(lin2));
scanf("%d%d",&n,&m);
cnt=0;
while(m--)
{
int u,v,d;
scanf("%d%d%d",&u,&v,&d);
e[cnt].next=lin1[u];
e[cnt].v=v;
e[cnt].d=d;
lin1[u]=cnt++;
e[cnt].next=lin2[v];
e[cnt].v=u;
e[cnt].d=d;
lin2[v]=cnt++;
}
scanf("%d%d%d",&s,&t,&k);
//SPFA
for(int i=1;i<=n;++i)
{
dis[i]=INF;
}
memset(inq,false,sizeof(inq));
dis[t]=0;
inq[t]=true;
q.push_back(t);
while(!q.empty())
{
int u=q.front();
q.pop_front();
inq[u]=false;
for(int i=lin2[u];i!=-1;i=e[i].next)
{
int &v=e[i].v;
int &d=e[i].d;
if(dis[v]>dis[u]+d)
{
dis[v]=dis[u]+d;
if(!inq[v])
{
if(q.empty()||dis[v]<dis[q.front()])
{
q.push_front(v);
}
else
{
q.push_back(v);
}
inq[v]=true;
}
}
}
}
//No Answer
if(dis[s]==INF)
{
printf("-1\n");
return 0;
}
//AStar
if(s==t) k++;
cnt=0;
pq.push(PNode(0,s));
while(!pq.empty())
{
PNode now=pq.top();
pq.pop();
int &u=now.u;
int &g=now.g;
if(u==t)
{
cnt++;
if(cnt==k)
{
printf("%d\n",g);
return 0;
}
}
for(int i=lin1[u];i!=-1;i=e[i].next)
{
int &v=e[i].v;
int &d=e[i].d;
pq.push(PNode(g+d,v));
}
}
//No Answer
printf("-1\n");
return 0;
} | twilightgod/twilight-poj-solution | 2449/7985203_AC_250MS_7460K.cpp | C++ | apache-2.0 | 2,287 | [
30522,
1013,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
100... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
@echo off
rem ##########################################################################
rem This file is part of LImA, a Library for Image Acquisition
rem
rem Copyright (C) : 2009-2017
rem European Synchrotron Radiation Facility
rem BP 220, Grenoble 38043
rem FRANCE
rem
rem Contact: lima@esrf.fr
rem
rem This is free software; you can redistribute it and/or modify
rem it under the terms of the GNU General Public License as published by
rem the Free Software Foundation; either version 3 of the License, or
rem (at your option) any later version.
rem
rem This software is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU General Public License for more details.
rem
rem You should have received a copy of the GNU General Public License
rem along with this program; if not, see <http://www.gnu.org/licenses/>.
rem ###########################################################################
cd scripts/
if not exist config.txt (
copy /y config.txt_default config.txt
)
cd ..
rem we call the main script, with options as arguments.
call python scripts/bootstrap.py %*
exit /b %ERRORLEVEL%
| soleil-ica/Lima | install.bat | Batchfile | gpl-3.0 | 1,304 | [
30522,
1030,
9052,
2125,
2128,
2213,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
1001,
100... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
local mod = DBM:NewMod(2396, "DBM-Party-Shadowlands", 1, 1182)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20211125075428")
mod:SetCreatureID(162693)
mod:SetEncounterID(2390)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 321368 321754 320788 323730 323198",
"SPELL_AURA_REMOVED 321368 321754 320788 323730 323198",
"SPELL_CAST_START 320772",
"SPELL_CAST_SUCCESS 320788 323730 321894"
-- "SPELL_PERIODIC_DAMAGE",
-- "SPELL_PERIODIC_MISSED",
-- "UNIT_SPELLCAST_SUCCEEDED boss1"
)
--TODO, target scan dark exile to make it faster?
--[[
ability.id = 320772 and type = "begincast"
or (ability.id = 320788 or ability.id = 323730 or ability.id = 321894) and type = "cast"
or (ability.id = 321368 or ability.id = 321754) and type = "applybuff"
--]]
local warnIceboundAegis = mod:NewTargetNoFilterAnnounce(321754, 4)
local warnFrozenBinds = mod:NewTargetNoFilterAnnounce(323730, 3)
local warnDarkExile = mod:NewTargetNoFilterAnnounce(321894, 3)
local specWarnCometStorm = mod:NewSpecialWarningDodge(320772, nil, nil, nil, 2, 2)
local specWarnFrozenBinds = mod:NewSpecialWarningYou(323730, nil, nil, nil, 1, 2)
local specWarnFrozenBindsNear = mod:NewSpecialWarningClose(323730, nil, nil, nil, 1, 2)
local yellFrozenBinds = mod:NewYell(323730)
local yellFrozenBindsFades = mod:NewShortYell(323730)
local specWarnDarkExile = mod:NewSpecialWarningYou(321894, nil, nil, nil, 1, 5)
--local specWarnGTFO = mod:NewSpecialWarningGTFO(257274, nil, nil, nil, 1, 8)
local timerCometStormCD = mod:NewCDTimer(24.2, 320772, nil, nil, nil, 3)
local timerIceboundAegisCD = mod:NewCDTimer(24.2, 321754, nil, nil, nil, 5, nil, DBM_COMMON_L.DAMAGE_ICON)
local timerFrozenBindsCD = mod:NewCDTimer(24.2, 323730, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)
local timerDarkExileCD = mod:NewCDTimer(35.2, 321894, nil, nil, nil, 3)--35.2-40+
local timerDarkExile = mod:NewTargetTimer(50, 321894, nil, nil, nil, 5)
mod:AddInfoFrameOption(321754, true)
function mod:OnCombatStart(delay)
timerFrozenBindsCD:Start(8.9-delay)--SUCCESS
timerIceboundAegisCD:Start(11.7-delay)--11.7-14
timerCometStormCD:Start(16.5-delay)--16.5-17.2
timerDarkExileCD:Start(26.5-delay)--SUCCESS--26-30
end
function mod:OnCombatEnd()
if self.Options.InfoFrame then
DBM.InfoFrame:Hide()
end
end
function mod:SPELL_CAST_START(args)
local spellId = args.spellId
if spellId == 320772 then
specWarnCometStorm:Show()
specWarnCometStorm:Play("watchstep")
timerCometStormCD:Start()
end
end
function mod:SPELL_CAST_SUCCESS(args)
local spellId = args.spellId
if spellId == 320788 or spellId == 323730 then
timerFrozenBindsCD:Start()
elseif spellId == 321894 then
timerDarkExileCD:Start()
end
end
function mod:SPELL_AURA_APPLIED(args)
local spellId = args.spellId
if spellId == 321368 or spellId == 321754 then
warnIceboundAegis:Show(args.destName)
timerIceboundAegisCD:Start()
if self.Options.InfoFrame then
DBM.InfoFrame:SetHeader(args.spellName)
DBM.InfoFrame:Show(2, "enemyabsorb", nil, args.amount, "boss1")
end
elseif spellId == 320788 or spellId == 323730 then
if args:IsPlayer() then
specWarnFrozenBinds:Show()
specWarnFrozenBinds:Play("targetyou")
yellFrozenBinds:Yell()
yellFrozenBindsFades:Countdown(spellId)
elseif self:CheckNearby(16, args.destName) and not DBM:UnitDebuff("player", spellId) then
specWarnFrozenBindsNear:CombinedShow(0.5, args.destName)
specWarnFrozenBindsNear:ScheduleVoice(0.5, "runaway")
else
warnFrozenBinds:CombinedShow(0.5, args.destName)
end
elseif spellId == 323198 then
timerDarkExile:Start(50, args.destName)
if args:IsPlayer() then
specWarnDarkExile:Show()
specWarnDarkExile:Play("teleyou")
else
warnDarkExile:Show(args.destName)
end
end
end
function mod:SPELL_AURA_REMOVED(args)
local spellId = args.spellId
if spellId == 321368 or spellId == 321754 then
if self.Options.InfoFrame then
DBM.InfoFrame:Hide()
end
elseif spellId == 320788 or spellId == 323730 then
if args:IsPlayer() then
yellFrozenBindsFades:Cancel()
end
elseif spellId == 323198 then
timerDarkExile:Stop(args.destName)
end
end
--[[
function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId, spellName)
if spellId == 309991 and destGUID == UnitGUID("player") and self:AntiSpam(2, 2) then
specWarnGTFO:Show(spellName)
specWarnGTFO:Play("watchfeet")
end
end
mod.SPELL_PERIODIC_MISSED = mod.SPELL_PERIODIC_DAMAGE
function mod:UNIT_SPELLCAST_SUCCEEDED(uId, _, spellId)
if spellId == 257453 then
end
end
--]]
| qyh214/wow_addons_private_use | AddOns/DBM-Party-Shadowlands/TheNecroticWake/Nalthor.lua | Lua | gpl-3.0 | 4,580 | [
30522,
2334,
16913,
1027,
16962,
2213,
1024,
2047,
5302,
2094,
1006,
23688,
2575,
1010,
1000,
16962,
2213,
1011,
2283,
1011,
5192,
8653,
1000,
1010,
1015,
1010,
12963,
2475,
1007,
2334,
1048,
1027,
16913,
1024,
2131,
4135,
9289,
3550,
3367,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
#ifndef SORTS_MERGESORT_H
#define SORTS_MERGESORT_H
void merge(int *l, int *tmp, int left, int center, int right) {
int i = left;
int j = center + 1;
int ptr = left;
while(i <= center && j <= right) {
if(l[i] <= l[j])
tmp[ptr++] = l[i++];
else
tmp[ptr++] = l[j++];
}
while(i <= center) { tmp[ptr++] = l[i++]; } // copy remaining left half
while(j <= right) { tmp[ptr++] = l[j++]; } // copy remaining right half
for(i = left; i <= right; i++) { l[i] = tmp[i]; } // copy temp array back to original
}
void _mergesort(int *l, int *tmp, int left, int right) {
if(right > left) {
int center = left + ((right - left) / 2);
_mergesort(l, tmp, left, center);
_mergesort(l, tmp, center + 1, right);
merge(l, tmp, left, center, right);
}
}
void mergesort(int *l, int left, int right) {
int *tmp = malloc((right - left + 1) * sizeof (int));
_mergesort(l, tmp, left, right);
}
#endif
| sebleier/cs101 | sorts/mergesort.h | C | bsd-3-clause | 996 | [
30522,
1001,
2065,
13629,
2546,
11901,
1035,
13590,
21748,
2102,
1035,
1044,
1001,
9375,
11901,
1035,
13590,
21748,
2102,
1035,
1044,
11675,
13590,
1006,
20014,
1008,
1048,
1010,
20014,
1008,
1056,
8737,
1010,
20014,
2187,
1010,
20014,
2415,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# Weebly
=============
http://themehack.beta.weebly.com/weebly/main.php
| alex-accellerator/weebly | README.md | Markdown | apache-2.0 | 73 | [
30522,
1001,
16776,
6321,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
8299,
1024,
1013,
1013,
4323,
3270,
3600,
1012,
8247,
1012,
16776,
6321,
1012,
4012,
1013,
16776,
6321,
1013,
2364,
1012,
25718,
102,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
module Fog
module Storage
class GoogleJSON
class Real
# Create a Google Storage bucket
# @see https://cloud.google.com/storage/docs/json_api/v1/buckets/insert
#
# @param bucket_name [String] Name of bucket to create
# @param options [Hash]
# Optional fields. Acceptable options include
# any writeable bucket attribute (see docs)
# or one of the following options:
# @param predefined_acl [String] Applies a predefined set of access controls to this bucket.
# @param predefined_default_object_acl [String] Applies a predefined set of default object access controls
#
# @return [Google::Apis::StorageV1::Bucket]
def put_bucket(bucket_name,
predefined_acl: nil,
predefined_default_object_acl: nil,
**options)
bucket = ::Google::Apis::StorageV1::Bucket.new(
options.merge(:name => bucket_name)
)
@storage_json.insert_bucket(
@project, bucket,
:predefined_acl => predefined_acl,
:predefined_default_object_acl => predefined_default_object_acl
)
end
end
class Mock
def put_bucket(_bucket_name, _options = {})
# :no-coverage:
Fog::Mock.not_implemented
# :no-coverage:
end
end
end
end
end
| Temikus/fog-google | lib/fog/storage/google_json/requests/put_bucket.rb | Ruby | mit | 1,441 | [
30522,
11336,
9666,
11336,
5527,
2465,
8224,
22578,
2239,
2465,
2613,
1001,
3443,
1037,
8224,
5527,
13610,
1001,
1030,
2156,
16770,
1024,
1013,
1013,
6112,
1012,
8224,
1012,
4012,
1013,
5527,
1013,
9986,
2015,
1013,
1046,
3385,
1035,
17928,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
#!/bin/bash
umask 000
python /opt/sickrage/SickBeard.py --datadir /config/ --config /config/config-real.ini
| marcelowa/docker-sickrage | run.sh | Shell | unlicense | 109 | [
30522,
1001,
999,
1013,
8026,
1013,
24234,
8529,
19895,
2199,
18750,
1013,
23569,
1013,
5305,
24449,
1013,
5305,
4783,
4232,
1012,
1052,
2100,
1011,
1011,
2951,
4305,
2099,
1013,
9530,
8873,
2290,
1013,
1011,
1011,
9530,
8873,
2290,
1013,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
#!/usr/bin/env python
# Progressive Cactus Package
# Copyright (C) 2009-2012 by Glenn Hickey (hickey@soe.ucsc.edu)
# and Benedict Paten (benedictpaten@gmail.com)
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import os
import sys
import xml.etree.ElementTree as ET
import math
import time
import random
import copy
from optparse import OptionParser
from optparse import OptionGroup
import imp
import socket
import signal
import traceback
import datetime
from sonLib.bioio import logger
from sonLib.bioio import setLoggingFromOptions
from sonLib.bioio import getTempDirectory
from sonLib.bioio import system
from sonLib.bioio import popenCatch
from jobTree.scriptTree.target import Target
from jobTree.scriptTree.stack import Stack
from jobTree.src.master import getJobFileDirName, getConfigFileName
from jobTree.src.jobTreeStatus import parseJobFiles
from cactus.progressive.multiCactusProject import MultiCactusProject
from cactus.shared.experimentWrapper import ExperimentWrapper
from cactus.shared.configWrapper import ConfigWrapper
from seqFile import SeqFile
from projectWrapper import ProjectWrapper
from jobStatusMonitor import JobStatusMonitor
def initParser():
usage = "usage: runProgressiveCactus.sh [options] <seqFile> <workDir> <outputHalFile>\n\n"\
"Required Arguments:\n"\
" <seqFile>\t\tFile containing newick tree and seqeunce paths"\
" paths.\n"\
"\t\t\t(see documetation or examples for format).\n"\
" <workDir>\t\tWorking directory (which can grow "\
"exteremely large)\n"\
" <outputHalFile>\tPath of output alignment in .hal format."
parser = OptionParser(usage=usage)
#JobTree Options (method below now adds an option group)
Stack.addJobTreeOptions(parser)
#Progressive Cactus will handle where the jobtree path is
parser.remove_option("--jobTree")
#Progressive Cactus Options
parser.add_option("--optionsFile", dest="optionsFile",
help="Text file containing command line options to use as"\
" defaults", default=None)
parser.add_option("--database", dest="database",
help="Database type: tokyo_cabinet or kyoto_tycoon"
" [default: %default]",
default="kyoto_tycoon")
parser.add_option("--outputMaf", dest="outputMaf",
help="[DEPRECATED use hal2maf on the ouput file instead] Path of output alignment in .maf format. This option should be avoided and will soon be removed. It may cause sequence names to be mangled, and use a tremendous amount of memory. ",
default=None)
parser.add_option("--configFile", dest="configFile",
help="Specify cactus configuration file",
default=None)
parser.add_option("--legacy", dest="legacy", action="store_true", help=
"Run cactus directly on all input sequences "
"without any progressive decomposition (ie how it "
"was originally published in 2011)",
default=False)
parser.add_option("--autoAbortOnDeadlock", dest="autoAbortOnDeadlock",
action="store_true",
help="Abort automatically when jobTree monitor" +
" suspects a deadlock by deleting the jobTree folder." +
" Will guarantee no trailing ktservers but still " +
" dangerous to use until we can more robustly detect " +
" deadlocks.",
default=False)
parser.add_option("--overwrite", dest="overwrite", action="store_true",
help="Re-align nodes in the tree that have already" +
" been successfully aligned.",
default=False)
parser.add_option("--rootOutgroupDists", dest="rootOutgroupDists",
help="root outgroup distance (--rootOutgroupPaths must " +
"be given as well)", default=None)
parser.add_option("--rootOutgroupPaths", dest="rootOutgroupPaths", type=str,
help="root outgroup path (--rootOutgroup must be given " +
"as well)", default=None)
parser.add_option("--root", dest="root", help="Name of ancestral node (which"
" must appear in NEWICK tree in <seqfile>) to use as a "
"root for the alignment. Any genomes not below this node "
"in the tree may be used as outgroups but will never appear"
" in the output. If no root is specifed then the root"
" of the tree is used. ", default=None)
#Kyoto Tycoon Options
ktGroup = OptionGroup(parser, "kyoto_tycoon Options",
"Kyoto tycoon provides a client/server framework "
"for large in-memory hash tables and is available "
"via the --database option.")
ktGroup.add_option("--ktPort", dest="ktPort",
help="starting port (lower bound of range) of ktservers"
" [default: %default]",
default=1978)
ktGroup.add_option("--ktHost", dest="ktHost",
help="The hostname to use for connections to the "
"ktserver (this just specifies where nodes will attempt"
" to find the server, *not* where the ktserver will be"
" run)",
default=None)
ktGroup.add_option("--ktType", dest="ktType",
help="Kyoto Tycoon server type "
"(memory, snapshot, or disk)"
" [default: %default]",
default='memory')
# sonlib doesn't allow for spaces in attributes in the db conf
# which renders this options useless
#ktGroup.add_option("--ktOpts", dest="ktOpts",
# help="Command line ktserver options",
# default=None)
ktGroup.add_option("--ktCreateTuning", dest="ktCreateTuning",
help="ktserver options when creating db "\
"(ex #bnum=30m#msiz=50g)",
default=None)
ktGroup.add_option("--ktOpenTuning", dest="ktOpenTuning",
help="ktserver options when opening existing db "\
"(ex #opts=ls#ktopts=p)",
default=None)
parser.add_option_group(ktGroup)
return parser
# Try to weed out errors early by checking options and paths
def validateInput(workDir, outputHalFile, options):
try:
if workDir.find(' ') >= 0:
raise RuntimeError("Cactus does not support spaces in pathnames: %s"
% workDir)
if not os.path.isdir(workDir):
os.makedirs(workDir)
if not os.path.isdir(workDir) or not os.access(workDir, os.W_OK):
raise
except:
raise RuntimeError("Can't write to workDir: %s" % workDir)
try:
open(outputHalFile, "w")
except:
raise RuntimeError("Unable to write to hal: %s" % outputHalFile)
if options.database != "tokyo_cabinet" and\
options.database != "kyoto_tycoon":
raise RuntimeError("Invalid database type: %s" % options.database)
if options.outputMaf is not None:
try:
open(options.outputMaf, "w")
except:
raise RuntimeError("Unable to write to maf: %s" % options.outputMaf)
if options.configFile is not None:
try:
ConfigWrapper(ET.parse(options.configFile).getroot())
except:
raise RuntimeError("Unable to read config: %s" % options.configFile)
if options.database == 'kyoto_tycoon':
if options.ktType.lower() != 'memory' and\
options.ktType.lower() != 'snapshot' and\
options.ktType.lower() != 'disk':
raise RuntimeError("Invalid ktserver type specified: %s. Must be "
"memory, snapshot or disk" % options.ktType)
# Convert the jobTree options taken in by the parser back
# out to command line options to pass to progressive cactus
def getJobTreeCommands(jtPath, parser, options):
cmds = "--jobTree %s" % jtPath
for optGroup in parser.option_groups:
if optGroup.title.startswith("jobTree") or optGroup.title.startswith("Jobtree"):
for opt in optGroup.option_list:
if hasattr(options, opt.dest) and \
getattr(options, opt.dest) != optGroup.defaults[opt.dest]:
cmds += " %s" % str(opt)
if opt.nargs > 0:
cmds += " \"%s\"" % getattr(options, opt.dest)
return cmds
# Go through a text file and add every word inside to an arguments list
# which will be prepended to sys.argv. This way both the file and
# command line are passed to the option parser, with the command line
# getting priority.
def parseOptionsFile(path):
if not os.path.isfile(path):
raise RuntimeError("Options File not found: %s" % path)
args = []
optFile = open(path, "r")
for l in optFile:
line = l.rstrip()
if line:
args += shlex.split(line)
# This source file should always be in progressiveCactus/src. So
# we return the path to progressiveCactus/environment, which needs
# to be sourced before doing anything.
def getEnvFilePath():
path = os.path.dirname(sys.argv[0])
envFile = os.path.join(path, '..', 'environment')
assert os.path.isfile(envFile)
return envFile
# If specified with the risky --autoAbortOnDeadlock option, we call this to
# force an abort if the jobStatusMonitor thinks it's hopeless.
# We delete the jobTreePath to get rid of kyoto tycoons.
def abortFunction(jtPath, options):
def afClosure():
sys.stderr.write('\nAborting due to deadlock (prevent with'
+ '--noAutoAbort' +
' option), and running rm -rf %s\n\n' % jtPath)
system('rm -rf %s' % jtPath)
sys.exit(-1)
if options.autoAbortOnDeadlock:
return afClosure
else:
return None
# Run cactus progressive on the project that has been created in workDir.
# Any jobtree options are passed along. Should probably look at redirecting
# stdout/stderr in the future.
def runCactus(workDir, jtCommands, jtPath, options):
envFile = getEnvFilePath()
pjPath = os.path.join(workDir, ProjectWrapper.alignmentDirName,
'%s_project.xml' % ProjectWrapper.alignmentDirName)
logFile = os.path.join(workDir, 'cactus.log')
if options.overwrite:
overwriteFlag = '--overwrite'
system("rm -f %s" % logFile)
else:
overwriteFlag = ''
logHandle = open(logFile, "a")
logHandle.write("\n%s: Beginning Progressive Cactus Alignment\n\n" % str(
datetime.datetime.now()))
logHandle.close()
cmd = '. %s && cactus_progressive.py %s %s %s >> %s 2>&1' % (envFile,
jtCommands,
pjPath,
overwriteFlag,
logFile)
jtMonitor = JobStatusMonitor(jtPath, pjPath, logFile,
deadlockCallbackFn=abortFunction(jtPath,
options))
if options.database == "kyoto_tycoon":
jtMonitor.daemon = True
jtMonitor.start()
system(cmd)
logHandle = open(logFile, "a")
logHandle.write("\n%s: Finished Progressive Cactus Alignment\n" % str(
datetime.datetime.now()))
logHandle.close()
def checkCactus(workDir, options):
pass
# Call cactus2hal to extract a single hal file out of the progressive
# alignmenet in the working directory. If the maf option was set, we
# just move out the root maf.
def extractOutput(workDir, outputHalFile, options):
if options.outputMaf is not None:
mcProj = MultiCactusProject()
mcProj.readXML(
os.path.join(workDir, ProjectWrapper.alignmentDirName,
ProjectWrapper.alignmentDirName + "_project.xml"))
rootName = mcProj.mcTree.getRootName()
rootPath = os.path.join(workDir, ProjectWrapper.alignmentDirName,
rootName, rootName + '.maf')
cmd = 'mv %s %s' % (rootPath, options.outputMaf)
system(cmd)
envFile = getEnvFilePath()
logFile = os.path.join(workDir, 'cactus.log')
pjPath = os.path.join(workDir, ProjectWrapper.alignmentDirName,
'%s_project.xml' % ProjectWrapper.alignmentDirName)
logHandle = open(logFile, "a")
logHandle.write("\n\n%s: Beginning HAL Export\n\n" % str(
datetime.datetime.now()))
logHandle.close()
cmd = '. %s && cactus2hal.py %s %s >> %s 2>&1' % (envFile, pjPath,
outputHalFile, logFile)
system(cmd)
logHandle = open(logFile, "a")
logHandle.write("\n%s: Finished HAL Export \n" % str(
datetime.datetime.now()))
logHandle.close()
def main():
# init as dummy function
cleanKtFn = lambda x,y:x
stage = -1
workDir = None
try:
parser = initParser()
options, args = parser.parse_args()
if (options.rootOutgroupDists is not None) \
^ (options.rootOutgroupPaths is not None):
parser.error("--rootOutgroupDists and --rootOutgroupPaths must be " +
"provided together")
if len(args) == 0:
parser.print_help()
return 1
if len(args) != 3:
raise RuntimeError("Error parsing command line. Exactly 3 arguments are required but %d arguments were detected: %s" % (len(args), str(args)))
if options.optionsFile != None:
fileArgs = parseOptionsFile(options.optionsFile)
options, args = parser.parse_args(fileArgs + sys.argv[1:])
if len(args) != 3:
raise RuntimeError("Error parsing options file. Make sure all "
"options have -- prefix")
stage = 0
setLoggingFromOptions(options)
seqFile = SeqFile(args[0])
workDir = args[1]
outputHalFile = args[2]
validateInput(workDir, outputHalFile, options)
jtPath = os.path.join(workDir, "jobTree")
stage = 1
print "\nBeginning Alignment"
system("rm -rf %s" % jtPath)
projWrapper = ProjectWrapper(options, seqFile, workDir)
projWrapper.writeXml()
jtCommands = getJobTreeCommands(jtPath, parser, options)
runCactus(workDir, jtCommands, jtPath, options)
cmd = 'jobTreeStatus --failIfNotComplete --jobTree %s > /dev/null 2>&1 ' %\
jtPath
system(cmd)
stage = 2
print "Beginning HAL Export"
extractOutput(workDir, outputHalFile, options)
print "Success.\n" "Temporary data was left in: %s\n" \
% workDir
return 0
except RuntimeError, e:
sys.stderr.write("Error: %s\n\n" % str(e))
if stage >= 0 and workDir is not None and os.path.isdir(workDir):
sys.stderr.write("Temporary data was left in: %s\n" % workDir)
if stage == 1:
sys.stderr.write("More information can be found in %s\n" %
os.path.join(workDir, "cactus.log"))
elif stage == 2:
sys.stderr.write("More information can be found in %s\n" %
os.path.join(workDir, "cactus.log"))
return -1
if __name__ == '__main__':
sys.exit(main())
| BD2KGenomics/cactus | src/progressiveCactus.py | Python | gpl-3.0 | 16,648 | [
30522,
1001,
999,
1013,
2149,
2099,
1013,
8026,
1013,
4372,
2615,
18750,
1001,
6555,
23265,
7427,
1001,
9385,
1006,
1039,
1007,
2268,
1011,
2262,
2011,
9465,
7632,
29183,
1006,
7632,
29183,
1030,
2061,
2063,
1012,
15384,
11020,
1012,
3968,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/**
* Opensec OVAL - https://nakamura5akihito.github.io/
* Copyright (C) 2015 Akihito Nakamura
*
* 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.
*/
package io.opensec.oval.model.unix;
import io.opensec.oval.model.ComponentType;
import io.opensec.oval.model.ElementRef;
import io.opensec.oval.model.Family;
import io.opensec.oval.model.definitions.EntityStateBoolType;
import io.opensec.oval.model.definitions.EntityStateIPAddressStringType;
import io.opensec.oval.model.definitions.EntityStateIntType;
import io.opensec.oval.model.definitions.EntityStateStringType;
import io.opensec.oval.model.definitions.StateType;
import java.util.ArrayList;
import java.util.Collection;
/**
* The xinetd state defines the different information
* associated with a specific Internet service.
*
* @author Akihito Nakamura, AIST
* @see <a href="http://oval.mitre.org/language/">OVAL Language</a>
*/
public class XinetdState
extends StateType
{
//{0..1}
private EntityStateStringType protocol;
private EntityStateStringType service_name;
private EntityStateStringType flags;
private EntityStateStringType no_access;
private EntityStateIPAddressStringType only_from;
private EntityStateIntType port;
private EntityStateStringType server;
private EntityStateStringType server_arguments;
private EntityStateStringType socket_type;
private EntityStateXinetdTypeStatusType type;
private EntityStateStringType user;
private EntityStateBoolType wait;
private EntityStateBoolType disabled;
/**
* Constructor.
*/
public XinetdState()
{
this( null, 0 );
}
public XinetdState(
final String id,
final int version
)
{
this( id, version, null );
}
public XinetdState(
final String id,
final int version,
final String comment
)
{
super( id, version, comment );
// _oval_platform_type = OvalPlatformType.unix;
// _oval_component_type = OvalComponentType.xinetd;
_oval_family = Family.UNIX;
_oval_component = ComponentType.XINETD;
}
/**
*/
public void setProtocol(
final EntityStateStringType protocol
)
{
this.protocol = protocol;
}
public EntityStateStringType getProtocol()
{
return protocol;
}
/**
*/
public void setServiceName(
final EntityStateStringType service_name
)
{
this.service_name = service_name;
}
public EntityStateStringType getServiceName()
{
return service_name;
}
/**
*/
public void setFlags(
final EntityStateStringType flags
)
{
this.flags = flags;
}
public EntityStateStringType getFlags()
{
return flags;
}
/**
*/
public void setNoAccess(
final EntityStateStringType no_access
)
{
this.no_access = no_access;
}
public EntityStateStringType getNoAccess()
{
return no_access;
}
/**
*/
public void setOnlyFrom(
final EntityStateIPAddressStringType only_from
)
{
this.only_from = only_from;
}
public EntityStateIPAddressStringType getOnlyFrom()
{
return only_from;
}
/**
*/
public void setPort(
final EntityStateIntType port
)
{
this.port = port;
}
public EntityStateIntType getPort()
{
return port;
}
/**
*/
public void setServer(
final EntityStateStringType server
)
{
this.server = server;
}
public EntityStateStringType getServer()
{
return server;
}
/**
*/
public void setServerArguments(
final EntityStateStringType server_arguments
)
{
this.server_arguments = server_arguments;
}
public EntityStateStringType getServerArguments()
{
return server_arguments;
}
/**
*/
public void setSocketType(
final EntityStateStringType socket_type
)
{
this.socket_type = socket_type;
}
public EntityStateStringType getSocketType()
{
return socket_type;
}
/**
*/
public void setType(
final EntityStateXinetdTypeStatusType type
)
{
this.type = type;
}
public EntityStateXinetdTypeStatusType getType()
{
return type;
}
/**
*/
public void setUser(
final EntityStateStringType user
)
{
this.user = user;
}
public EntityStateStringType getUser()
{
return user;
}
/**
*/
public void setWait(
final EntityStateBoolType wait
)
{
this.wait = wait;
}
public EntityStateBoolType getWait()
{
return wait;
}
/**
*/
public void setDisabled(
final EntityStateBoolType disabled
)
{
this.disabled = disabled;
}
public EntityStateBoolType getDisabled()
{
return disabled;
}
//*********************************************************************
// DefinitionsElement
//*********************************************************************
@Override
public Collection<ElementRef> ovalGetElementRef()
{
Collection<ElementRef> ref_list = new ArrayList<ElementRef>();
ref_list.add( getProtocol() );
ref_list.add( getServiceName() );
ref_list.add( getFlags() );
ref_list.add( getNoAccess() );
ref_list.add( getOnlyFrom() );
ref_list.add( getPort() );
ref_list.add( getServer() );
ref_list.add( getServerArguments() );
ref_list.add( getSocketType() );
ref_list.add( getType() );
ref_list.add( getUser() );
ref_list.add( getWait() );
ref_list.add( getDisabled() );
return ref_list;
}
//**************************************************************
// java.lang.Object
//**************************************************************
@Override
public int hashCode()
{
return super.hashCode();
}
@Override
public boolean equals(
final Object obj
)
{
if (!(obj instanceof XinetdState)) {
return false;
}
return super.equals( obj );
}
@Override
public String toString()
{
return "xinetd_state[" + super.toString()
+ ", protocol=" + getProtocol()
+ ", service_name=" + getServiceName()
+ ", flags=" + getFlags()
+ ", no_access=" + getNoAccess()
+ ", only_from=" + getOnlyFrom()
+ ", port=" + getPort()
+ ", server=" + getServer()
+ ", server_arguments=" + getServerArguments()
+ ", socket_type=" + getSocketType()
+ ", type=" + getType()
+ ", user=" + getUser()
+ ", wait=" + getWait()
+ ", disabled=" + getDisabled()
+ "]";
}
}
//XinetdState
| nakamura5akihito/opensec-oval | src/main/java/io/opensec/oval/model/unix/XinetdState.java | Java | apache-2.0 | 8,524 | [
30522,
1013,
1008,
1008,
1008,
7480,
8586,
9242,
1011,
16770,
1024,
1013,
1013,
23981,
2629,
8978,
16584,
2080,
1012,
21025,
2705,
12083,
1012,
22834,
1013,
1008,
9385,
1006,
1039,
1007,
2325,
17712,
19190,
9956,
23981,
1008,
1008,
7000,
21... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
#pragma once
#include "platform/network_policy.hpp"
@class NSDate;
namespace network_policy
{
enum Stage
{
Ask,
Always,
Never,
Today,
NotToday
};
void SetStage(Stage state);
Stage GetStage();
bool CanUseNetwork();
bool IsActivePolicyDate();
NSDate* GetPolicyDate();
} // namespace network_policy
| rokuz/omim | platform/network_policy_ios.h | C | apache-2.0 | 312 | [
30522,
1001,
10975,
8490,
2863,
2320,
1001,
2421,
1000,
4132,
1013,
2897,
1035,
3343,
1012,
6522,
2361,
1000,
1030,
2465,
24978,
13701,
1025,
3415,
15327,
2897,
1035,
3343,
1063,
4372,
2819,
2754,
1063,
3198,
1010,
2467,
1010,
2196,
1010,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* Copyright 2012 International Business Machines Corp.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. 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.
*/
package javax.batch.api.chunk.listener;
import java.util.List;
/**
* The AbstractItemWriteListener provides default
* implementations of less commonly implemented methods.
*/
public abstract class AbstractItemWriteListener implements
ItemWriteListener {
/**
* Override this method if the ItemWriteListener
* will do something before the items are written.
* The default implementation does nothing.
*
* @param items specifies the items about to be
* written.
* @throws Exception (or subclass) if an error occurs.
*/
@Override
public void beforeWrite(List<Object> items) throws Exception {}
/**
* Override this method if the ItemWriteListener
* will do something after the items are written.
* The default implementation does nothing.
*
* @param items specifies the items about to be
* written.
* @throws Exception (or subclass) if an error occurs.
*/
@Override
public void afterWrite(List<Object> items) throws Exception {}
/**
* Override this method if the ItemWriteListener
* will do something when the ItemWriter writeItems
* method throws an exception.
* The default implementation does nothing.
*
* @param items specifies the items about to be
* written.
* @param ex specifies the exception thrown by the item
* writer.
* @throws Exception (or subclass) if an error occurs.
*/
@Override
public void onWriteError(List<Object> items, Exception ex) throws Exception {}
}
| sidgoyal/standards.jsr352.jbatch | javax.batch/src/main/java/javax/batch/api/chunk/listener/AbstractItemWriteListener.java | Java | apache-2.0 | 2,264 | [
30522,
1013,
1008,
1008,
9385,
2262,
2248,
2449,
6681,
13058,
1012,
1008,
1008,
2156,
1996,
5060,
5371,
5500,
2007,
2023,
2147,
2005,
3176,
2592,
1008,
4953,
9385,
6095,
1012,
7000,
2104,
1996,
15895,
6105,
1010,
1008,
2544,
1016,
1012,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
-- SmartAI script for creature entry 9528 Arathandris Silversky and 9529 Maybess Riverbreeze
SET @Arathandris := 9528;
SET @Riverbreeze := 9529;
UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`= '' WHERE `entry` IN (@Arathandris,@Riverbreeze);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Arathandris,@Riverbreeze) AND `source_type`= 0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@Arathandris,0, 0,1, 62,0,100,0, 2208,0,0,0, 72, 0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Arathandris Silversky - On Gossip 2208 Option 0 selected - Close Gossip'),
(@Arathandris,0, 1,2, 61,0,100,0, 0,0,0,0, 11,15120,0,0,0,0,0,7,0,0,0,0,0,0,0,"Arathandris Silversky - On Gossip 2208 Option 0 selected - Cast 'Cenarion Beacon'"),
(@Arathandris,0, 2,0, 61,0,100,0, 0,0,0,0, 1, 0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Arathandris Silversky - On Gossip 2208 Option 0 Selected - Say Line 0'),
(@Riverbreeze,0, 0,1, 62,0,100,0,21400,0,0,0, 72, 0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Maybess Riverbreeze - On Gossip 21400 Option 0 Selected - Close Gossip'),
(@Riverbreeze,0, 1,2, 61,0,100,0, 0,0,0,0, 11,15120,0,0,0,0,0,7,0,0,0,0,0,0,0,"Maybess Riverbreeze - On Gossip 21400 Option 0 Selected - Cast 'Cenarion Beacon'"),
(@Riverbreeze,0, 2,0, 61,0,100,0, 0,0,0,0, 1, 0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Maybess Riverbreeze - On Gossip 21400 Option 0 Selected - Say Line 0');
-- insert missing gossip_menu entries
DELETE FROM `gossip_menu` WHERE `entry` IN (2209, 21401) AND `text_id` IN (3046, 3047);
INSERT INTO `gossip_menu` (`entry`,`text_id`,`VerifiedBuild`) VALUES
(2209, 3046, 0),
(21401, 3047, 0);
UPDATE `gossip_menu_option` SET `action_menu_id` = 2209 WHERE `menu_id` = 2208 AND `OptionBroadcastTextID`= 5384;
UPDATE `gossip_menu_option` SET `action_menu_id`= 21401 WHERE `menu_id`= 21400 AND `OptionBroadcastTextID`= 5384;
DELETE FROM `creature_text` WHERE `entry` IN (@Arathandris,@Riverbreeze);
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(@Riverbreeze,0,0,'Here is a beacon for you, $n. You must keep it in your possession if you are to find the corrupted items we will need.',12,1,100,25,5000,0,5244,0,'Arathandris Silversky - SAY_BEACON'),
(@Arathandris,0,0,'Here is a beacon for you, $n. You must keep it in your possession if you are to find the corrupted items we will need.',12,7,100,25,5000,0,5245,0,'Arathandris Silversky - SAY_BEACON');
-- conditions for Arathandris Silversky's and Maybess Riverbreeze's gossip menus
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 14 AND `SourceGroup`= 21400 AND `SourceEntry` IN (2842,2843,2849);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(14, 21400, 2842, 0, 0, 8, 0, 4102, 0, 0, 1, 0, 0, '', 'Maybess Riverbreeze - Show gossip text if player has not been rewarded quest 4102'),
(14, 21400, 2843, 0, 0, 6, 0, 469, 0, 0, 0, 0, 0, '', 'Maybess Riverbreeze - Show gossip text if player is alliance'),
(14, 21400, 2849, 0, 0, 8, 0, 4102, 0, 0, 0, 0, 0, '', 'Maybess Riverbreeze - Show gossip text if player has been rewarded quest 4102');
-- Correct some wrong quest IDs and NPC texts
UPDATE `conditions` SET `ConditionValue1`= 4101 WHERE `SourceGroup`= 2208 AND `ConditionValue1`= 3781;
UPDATE `conditions` SET `ConditionValue1`= 4102 WHERE `SourceGroup`= 21400 AND `ConditionValue1`= 3781;
UPDATE `conditions` SET `SourceEntry`= 2845 WHERE `SourceTypeOrReferenceId`= 14 AND `SourceGroup`= 2208 AND `SourceEntry`= 2848;
UPDATE `conditions` SET `SourceEntry`= 2848 WHERE `SourceTypeOrReferenceId`= 14 AND `SourceGroup`= 2208 AND `SourceEntry`= 2845 AND `ConditionValue1`= 4101;
-- Condition for source GOSSIP MENU OPTION condition type ITEM, item 11511 Cenarion Beacon
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 15 AND `SourceGroup` IN (2208,21400) AND `SourceEntry`= 0 AND `SourceId`= 0 AND `NegativeCondition`= 1;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(15, 2208,0,0,0, 2,0, 11511,1, 0,1,0,0,'','Do not show gossip menu 2208 option id 0 if player has 1 of Cenarion Beacon in bags or bank.'),
(15,21400,0,0,0, 2,0, 11511,1, 0,1,0,0,'','Do not show gossip menu 21400 option id 0 if player has 1 of Cenarion Beacon in bags or bank.');
| timothystewart6/BotsPlusPlus | sql/updates/world/3.3.5/2016_07_31_00_world_335.sql | SQL | gpl-2.0 | 5,089 | [
30522,
1011,
1011,
6047,
4886,
5896,
2005,
6492,
4443,
5345,
22407,
19027,
21604,
13626,
2483,
30524,
2483,
1024,
1027,
5345,
22407,
1025,
2275,
1030,
2314,
13578,
9351,
2063,
1024,
1027,
5345,
24594,
1025,
10651,
1036,
6492,
1035,
23561,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*/
/**
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
*/
/**
* State machine for managing different states of the Import process.
*/
class CRM_SMS_StateMachine_Send extends CRM_Core_StateMachine {
/**
* Class constructor.
*
* @param object $controller
* @param \const|int $action
*
* @return \CRM_SMS_StateMachine_Send CRM_SMS_StateMachine
*/
public function __construct($controller, $action = CRM_Core_Action::NONE) {
parent::__construct($controller, $action);
$this->_pages = array(
'CRM_SMS_Form_Group' => NULL,
'CRM_SMS_Form_Upload' => NULL,
'CRM_SMS_Form_Schedule' => NULL,
);
$this->addSequentialPages($this->_pages, $action);
}
}
| sharique/d7-civicrm | sites/all/modules/contrib/civicrm/CRM/SMS/StateMachine/Send.php | PHP | gpl-2.0 | 2,385 | [
30522,
1026,
1029,
25718,
1013,
1008,
1009,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/******************************************************************************
* Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
* Linux device driver for RTL8190P / RTL8192E
*
* Based on the r8180 driver, which is:
* Copyright 2004-2005 Andrea Merello <andreamrl@tiscali.it>, et al.
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*
* The full GNU General Public License is included in this distribution in the
* file called LICENSE.
*
* Contact Information:
* Jerry chuang <wlanfae@realtek.com>
*/
#undef LOOP_TEST
#undef RX_DONT_PASS_UL
#undef DEBUG_EPROM
#undef DEBUG_RX_VERBOSE
#undef DUMMY_RX
#undef DEBUG_ZERO_RX
#undef DEBUG_RX_SKB
#undef DEBUG_TX_FRAG
#undef DEBUG_RX_FRAG
#undef DEBUG_TX_FILLDESC
#undef DEBUG_TX
#undef DEBUG_IRQ
#undef DEBUG_RX
#undef DEBUG_RXALLOC
#undef DEBUG_REGISTERS
#undef DEBUG_RING
#undef DEBUG_IRQ_TASKLET
#undef DEBUG_TX_ALLOC
#undef DEBUG_TX_DESC
//#define CONFIG_RTL8192_IO_MAP
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include "r8192E_hw.h"
#include "r8192E.h"
#include "r8190_rtl8256.h" /* RTL8225 Radio frontend */
#include "r8180_93cx6.h" /* Card EEPROM */
#include "r8192E_wx.h"
#include "r819xE_phy.h" //added by WB 4.30.2008
#include "r819xE_phyreg.h"
#include "r819xE_cmdpkt.h"
#include "r8192E_dm.h"
//#include "r8192xU_phyreg.h"
//#include <linux/usb.h>
#ifdef CONFIG_PM
#include "r8192_pm.h"
#endif
#ifdef ENABLE_DOT11D
#include "ieee80211/dot11d.h"
#endif
//set here to open your trace code. //WB
u32 rt_global_debug_component = \
// COMP_INIT |
// COMP_EPROM |
// COMP_PHY |
// COMP_RF |
// COMP_FIRMWARE |
// COMP_TRACE |
// COMP_DOWN |
// COMP_SWBW |
// COMP_SEC |
// COMP_QOS |
// COMP_RATE |
// COMP_RECV |
// COMP_SEND |
// COMP_POWER |
// COMP_EVENTS |
// COMP_RESET |
// COMP_CMDPKT |
// COMP_POWER_TRACKING |
// COMP_INTR |
COMP_ERR ; //always open err flags on
static const struct pci_device_id rtl8192_pci_id_tbl[] __devinitdata = {
#ifdef RTL8190P
/* Realtek */
/* Dlink */
{ PCI_DEVICE(0x10ec, 0x8190) },
/* Corega */
{ PCI_DEVICE(0x07aa, 0x0045) },
{ PCI_DEVICE(0x07aa, 0x0046) },
#else
/* Realtek */
{ PCI_DEVICE(0x10ec, 0x8192) },
/* Corega */
{ PCI_DEVICE(0x07aa, 0x0044) },
{ PCI_DEVICE(0x07aa, 0x0047) },
#endif
{}
};
static char ifname[IFNAMSIZ] = "wlan%d";
static int hwwep = 1; //default use hw. set 0 to use software security
static int channels = 0x3fff;
MODULE_LICENSE("GPL");
MODULE_VERSION("V 1.1");
MODULE_DEVICE_TABLE(pci, rtl8192_pci_id_tbl);
//MODULE_AUTHOR("Andrea Merello <andreamrl@tiscali.it>");
MODULE_DESCRIPTION("Linux driver for Realtek RTL819x WiFi cards");
module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR);
//module_param(hwseqnum,int, S_IRUGO|S_IWUSR);
module_param(hwwep,int, S_IRUGO|S_IWUSR);
module_param(channels,int, S_IRUGO|S_IWUSR);
MODULE_PARM_DESC(ifname," Net interface name, wlan%d=default");
//MODULE_PARM_DESC(hwseqnum," Try to use hardware 802.11 header sequence numbers. Zero=default");
MODULE_PARM_DESC(hwwep," Try to use hardware WEP support. Still broken and not available on all cards");
MODULE_PARM_DESC(channels," Channel bitmask for specific locales. NYI");
static int __devinit rtl8192_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id);
static void __devexit rtl8192_pci_disconnect(struct pci_dev *pdev);
static struct pci_driver rtl8192_pci_driver = {
.name = RTL819xE_MODULE_NAME, /* Driver name */
.id_table = rtl8192_pci_id_tbl, /* PCI_ID table */
.probe = rtl8192_pci_probe, /* probe fn */
.remove = __devexit_p(rtl8192_pci_disconnect), /* remove fn */
#ifdef CONFIG_PM
.suspend = rtl8192E_suspend, /* PM suspend fn */
.resume = rtl8192E_resume, /* PM resume fn */
#else
.suspend = NULL, /* PM suspend fn */
.resume = NULL, /* PM resume fn */
#endif
};
static void rtl8192_start_beacon(struct net_device *dev);
static void rtl8192_stop_beacon(struct net_device *dev);
static void rtl819x_watchdog_wqcallback(struct work_struct *work);
static void rtl8192_irq_rx_tasklet(struct r8192_priv *priv);
static void rtl8192_irq_tx_tasklet(struct r8192_priv *priv);
static void rtl8192_prepare_beacon(struct r8192_priv *priv);
static irqreturn_t rtl8192_interrupt(int irq, void *netdev);
static void rtl8192_try_wake_queue(struct net_device *dev, int pri);
static void rtl819xE_tx_cmd(struct net_device *dev, struct sk_buff *skb);
#ifdef ENABLE_DOT11D
typedef struct _CHANNEL_LIST
{
u8 Channel[32];
u8 Len;
}CHANNEL_LIST, *PCHANNEL_LIST;
static const CHANNEL_LIST ChannelPlan[] = {
{{1,2,3,4,5,6,7,8,9,10,11,36,40,44,48,52,56,60,64,149,153,157,161,165},24}, //FCC
{{1,2,3,4,5,6,7,8,9,10,11},11}, //IC
{{1,2,3,4,5,6,7,8,9,10,11,12,13,36,40,44,48,52,56,60,64},21}, //ETSI
{{1,2,3,4,5,6,7,8,9,10,11,12,13},13}, //Spain. Change to ETSI.
{{1,2,3,4,5,6,7,8,9,10,11,12,13},13}, //France. Change to ETSI.
{{1,2,3,4,5,6,7,8,9,10,11,12,13,14,36,40,44,48,52,56,60,64},22}, //MKK //MKK
{{1,2,3,4,5,6,7,8,9,10,11,12,13,14,36,40,44,48,52,56,60,64},22},//MKK1
{{1,2,3,4,5,6,7,8,9,10,11,12,13},13}, //Israel.
{{1,2,3,4,5,6,7,8,9,10,11,12,13,14,36,40,44,48,52,56,60,64},22}, // For 11a , TELEC
{{1,2,3,4,5,6,7,8,9,10,11,12,13,14,36,40,44,48,52,56,60,64}, 22}, //MIC
{{1,2,3,4,5,6,7,8,9,10,11,12,13,14},14} //For Global Domain. 1-11:active scan, 12-14 passive scan. //+YJ, 080626
};
static void rtl819x_set_channel_map(u8 channel_plan, struct r8192_priv* priv)
{
int i, max_chan=-1, min_chan=-1;
struct ieee80211_device* ieee = priv->ieee80211;
switch (channel_plan)
{
case COUNTRY_CODE_FCC:
case COUNTRY_CODE_IC:
case COUNTRY_CODE_ETSI:
case COUNTRY_CODE_SPAIN:
case COUNTRY_CODE_FRANCE:
case COUNTRY_CODE_MKK:
case COUNTRY_CODE_MKK1:
case COUNTRY_CODE_ISRAEL:
case COUNTRY_CODE_TELEC:
case COUNTRY_CODE_MIC:
{
Dot11d_Init(ieee);
ieee->bGlobalDomain = false;
//acturally 8225 & 8256 rf chip only support B,G,24N mode
if ((priv->rf_chip == RF_8225) || (priv->rf_chip == RF_8256))
{
min_chan = 1;
max_chan = 14;
}
else
{
RT_TRACE(COMP_ERR, "unknown rf chip, can't set channel map in function:%s()\n", __FUNCTION__);
}
if (ChannelPlan[channel_plan].Len != 0){
// Clear old channel map
memset(GET_DOT11D_INFO(ieee)->channel_map, 0, sizeof(GET_DOT11D_INFO(ieee)->channel_map));
// Set new channel map
for (i=0;i<ChannelPlan[channel_plan].Len;i++)
{
if (ChannelPlan[channel_plan].Channel[i] < min_chan || ChannelPlan[channel_plan].Channel[i] > max_chan)
break;
GET_DOT11D_INFO(ieee)->channel_map[ChannelPlan[channel_plan].Channel[i]] = 1;
}
}
break;
}
case COUNTRY_CODE_GLOBAL_DOMAIN:
{
GET_DOT11D_INFO(ieee)->bEnabled = 0; //this flag enabled to follow 11d country IE setting, otherwise, it shall follow global domain setting
Dot11d_Reset(ieee);
ieee->bGlobalDomain = true;
break;
}
default:
break;
}
}
#endif
#define eqMacAddr(a,b) ( ((a)[0]==(b)[0] && (a)[1]==(b)[1] && (a)[2]==(b)[2] && (a)[3]==(b)[3] && (a)[4]==(b)[4] && (a)[5]==(b)[5]) ? 1:0 )
/* 2007/07/25 MH Defien temp tx fw info. */
static TX_FWINFO_T Tmp_TxFwInfo;
#define rx_hal_is_cck_rate(_pdrvinfo)\
(_pdrvinfo->RxRate == DESC90_RATE1M ||\
_pdrvinfo->RxRate == DESC90_RATE2M ||\
_pdrvinfo->RxRate == DESC90_RATE5_5M ||\
_pdrvinfo->RxRate == DESC90_RATE11M) &&\
!_pdrvinfo->RxHT\
void CamResetAllEntry(struct net_device *dev)
{
//u8 ucIndex;
u32 ulcommand = 0;
ulcommand |= BIT31|BIT30;
write_nic_dword(dev, RWCAM, ulcommand);
}
void write_cam(struct net_device *dev, u8 addr, u32 data)
{
write_nic_dword(dev, WCAMI, data);
write_nic_dword(dev, RWCAM, BIT31|BIT16|(addr&0xff) );
}
u32 read_cam(struct net_device *dev, u8 addr)
{
write_nic_dword(dev, RWCAM, 0x80000000|(addr&0xff) );
return read_nic_dword(dev, 0xa8);
}
////////////////////////////////////////////////////////////
#ifdef CONFIG_RTL8180_IO_MAP
u8 read_nic_byte(struct net_device *dev, int x)
{
return 0xff&inb(dev->base_addr +x);
}
u32 read_nic_dword(struct net_device *dev, int x)
{
return inl(dev->base_addr +x);
}
u16 read_nic_word(struct net_device *dev, int x)
{
return inw(dev->base_addr +x);
}
void write_nic_byte(struct net_device *dev, int x,u8 y)
{
outb(y&0xff,dev->base_addr +x);
}
void write_nic_word(struct net_device *dev, int x,u16 y)
{
outw(y,dev->base_addr +x);
}
void write_nic_dword(struct net_device *dev, int x,u32 y)
{
outl(y,dev->base_addr +x);
}
#else /* RTL_IO_MAP */
u8 read_nic_byte(struct net_device *dev, int x)
{
return 0xff&readb((u8*)dev->mem_start +x);
}
u32 read_nic_dword(struct net_device *dev, int x)
{
return readl((u8*)dev->mem_start +x);
}
u16 read_nic_word(struct net_device *dev, int x)
{
return readw((u8*)dev->mem_start +x);
}
void write_nic_byte(struct net_device *dev, int x,u8 y)
{
writeb(y,(u8*)dev->mem_start +x);
udelay(20);
}
void write_nic_dword(struct net_device *dev, int x,u32 y)
{
writel(y,(u8*)dev->mem_start +x);
udelay(20);
}
void write_nic_word(struct net_device *dev, int x,u16 y)
{
writew(y,(u8*)dev->mem_start +x);
udelay(20);
}
#endif /* RTL_IO_MAP */
u8 rtl8192e_ap_sec_type(struct ieee80211_device *ieee)
{
//struct r8192_priv* priv = ieee80211_priv(dev);
//struct ieee80211_device *ieee = priv->ieee80211;
static const u8 ccmp_ie[4] = {0x00,0x50,0xf2,0x04};
static const u8 ccmp_rsn_ie[4] = {0x00, 0x0f, 0xac, 0x04};
int wpa_ie_len= ieee->wpa_ie_len;
struct ieee80211_crypt_data* crypt;
int encrypt;
crypt = ieee->crypt[ieee->tx_keyidx];
encrypt = (ieee->current_network.capability & WLAN_CAPABILITY_PRIVACY) ||\
(ieee->host_encrypt && crypt && crypt->ops && \
(0 == strcmp(crypt->ops->name,"WEP")));
/* simply judge */
if(encrypt && (wpa_ie_len == 0)) {
// wep encryption, no N mode setting */
return SEC_ALG_WEP;
} else if((wpa_ie_len != 0)) {
// parse pairwise key type */
if (((ieee->wpa_ie[0] == 0xdd) && (!memcmp(&(ieee->wpa_ie[14]),ccmp_ie,4))) ||
((ieee->wpa_ie[0] == 0x30) && (!memcmp(&ieee->wpa_ie[10],ccmp_rsn_ie, 4))))
return SEC_ALG_CCMP;
else
return SEC_ALG_TKIP;
} else {
return SEC_ALG_NONE;
}
}
void
rtl8192e_SetHwReg(struct net_device *dev,u8 variable,u8* val)
{
struct r8192_priv* priv = ieee80211_priv(dev);
switch(variable)
{
case HW_VAR_BSSID:
write_nic_dword(dev, BSSIDR, ((u32*)(val))[0]);
write_nic_word(dev, BSSIDR+2, ((u16*)(val+2))[0]);
break;
case HW_VAR_MEDIA_STATUS:
{
RT_OP_MODE OpMode = *((RT_OP_MODE *)(val));
//LED_CTL_MODE LedAction = LED_CTL_NO_LINK;
u8 btMsr = read_nic_byte(dev, MSR);
btMsr &= 0xfc;
switch(OpMode)
{
case RT_OP_MODE_INFRASTRUCTURE:
btMsr |= MSR_INFRA;
//LedAction = LED_CTL_LINK;
break;
case RT_OP_MODE_IBSS:
btMsr |= MSR_ADHOC;
// led link set separate
break;
case RT_OP_MODE_AP:
btMsr |= MSR_AP;
//LedAction = LED_CTL_LINK;
break;
default:
btMsr |= MSR_NOLINK;
break;
}
write_nic_byte(dev, MSR, btMsr);
//priv->ieee80211->LedControlHandler(dev, LedAction);
}
break;
case HW_VAR_CECHK_BSSID:
{
u32 RegRCR, Type;
Type = ((u8*)(val))[0];
//priv->ieee80211->GetHwRegHandler(dev, HW_VAR_RCR, (u8*)(&RegRCR));
RegRCR = read_nic_dword(dev,RCR);
priv->ReceiveConfig = RegRCR;
if (Type == true)
RegRCR |= (RCR_CBSSID);
else if (Type == false)
RegRCR &= (~RCR_CBSSID);
//priv->ieee80211->SetHwRegHandler( dev, HW_VAR_RCR, (u8*)(&RegRCR) );
write_nic_dword(dev, RCR,RegRCR);
priv->ReceiveConfig = RegRCR;
}
break;
case HW_VAR_SLOT_TIME:
{
//PSTA_QOS pStaQos = Adapter->MgntInfo.pStaQos;
//AC_CODING eACI;
priv->slot_time = val[0];
write_nic_byte(dev, SLOT_TIME, val[0]);
}
break;
case HW_VAR_ACK_PREAMBLE:
{
u32 regTmp = 0;
priv->short_preamble = (bool)(*(u8*)val );
regTmp = priv->basic_rate;
if (priv->short_preamble)
regTmp |= BRSR_AckShortPmb;
write_nic_dword(dev, RRSR, regTmp);
}
break;
case HW_VAR_CPU_RST:
write_nic_dword(dev, CPU_GEN, ((u32*)(val))[0]);
break;
default:
break;
}
}
///////////////////////////////////////////////////////////
//u8 read_phy_cck(struct net_device *dev, u8 adr);
//u8 read_phy_ofdm(struct net_device *dev, u8 adr);
/* this might still called in what was the PHY rtl8185/rtl8192 common code
* plans are to possibilty turn it again in one common code...
*/
void force_pci_posting(struct net_device *dev)
{
}
//warning message WB
//static struct net_device_stats *rtl8192_stats(struct net_device *dev);
//void rtl8192_restart(struct net_device *dev);
void rtl8192_restart(struct work_struct *work);
//void rtl8192_rq_tx_ack(struct work_struct *work);
void watch_dog_timer_callback(unsigned long data);
/****************************************************************************
-----------------------------PROCFS STUFF-------------------------
*****************************************************************************/
static struct proc_dir_entry *rtl8192_proc = NULL;
static int proc_get_stats_ap(char *page, char **start,
off_t offset, int count,
int *eof, void *data)
{
struct net_device *dev = data;
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
struct ieee80211_device *ieee = priv->ieee80211;
struct ieee80211_network *target;
int len = 0;
list_for_each_entry(target, &ieee->network_list, list) {
len += snprintf(page + len, count - len,
"%s ", target->ssid);
if(target->wpa_ie_len>0 || target->rsn_ie_len>0){
len += snprintf(page + len, count - len,
"WPA\n");
}
else{
len += snprintf(page + len, count - len,
"non_WPA\n");
}
}
*eof = 1;
return len;
}
static int proc_get_registers(char *page, char **start,
off_t offset, int count,
int *eof, void *data)
{
struct net_device *dev = data;
// struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
int len = 0;
int i,n;
int max=0xff;
/* This dump the current register page */
len += snprintf(page + len, count - len,
"\n####################page 0##################\n ");
for(n=0;n<=max;)
{
//printk( "\nD: %2x> ", n);
len += snprintf(page + len, count - len,
"\nD: %2x > ",n);
for(i=0;i<16 && n<=max;i++,n++)
len += snprintf(page + len, count - len,
"%2x ",read_nic_byte(dev,n));
// printk("%2x ",read_nic_byte(dev,n));
}
len += snprintf(page + len, count - len,"\n");
len += snprintf(page + len, count - len,
"\n####################page 1##################\n ");
for(n=0;n<=max;)
{
//printk( "\nD: %2x> ", n);
len += snprintf(page + len, count - len,
"\nD: %2x > ",n);
for(i=0;i<16 && n<=max;i++,n++)
len += snprintf(page + len, count - len,
"%2x ",read_nic_byte(dev,0x100|n));
// printk("%2x ",read_nic_byte(dev,n));
}
len += snprintf(page + len, count - len,
"\n####################page 3##################\n ");
for(n=0;n<=max;)
{
//printk( "\nD: %2x> ", n);
len += snprintf(page + len, count - len,
"\nD: %2x > ",n);
for(i=0;i<16 && n<=max;i++,n++)
len += snprintf(page + len, count - len,
"%2x ",read_nic_byte(dev,0x300|n));
// printk("%2x ",read_nic_byte(dev,n));
}
*eof = 1;
return len;
}
static int proc_get_stats_tx(char *page, char **start,
off_t offset, int count,
int *eof, void *data)
{
struct net_device *dev = data;
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
int len = 0;
len += snprintf(page + len, count - len,
"TX VI priority ok int: %lu\n"
// "TX VI priority error int: %lu\n"
"TX VO priority ok int: %lu\n"
// "TX VO priority error int: %lu\n"
"TX BE priority ok int: %lu\n"
// "TX BE priority error int: %lu\n"
"TX BK priority ok int: %lu\n"
// "TX BK priority error int: %lu\n"
"TX MANAGE priority ok int: %lu\n"
// "TX MANAGE priority error int: %lu\n"
"TX BEACON priority ok int: %lu\n"
"TX BEACON priority error int: %lu\n"
"TX CMDPKT priority ok int: %lu\n"
// "TX high priority ok int: %lu\n"
// "TX high priority failed error int: %lu\n"
// "TX queue resume: %lu\n"
"TX queue stopped?: %d\n"
"TX fifo overflow: %lu\n"
// "TX beacon: %lu\n"
// "TX VI queue: %d\n"
// "TX VO queue: %d\n"
// "TX BE queue: %d\n"
// "TX BK queue: %d\n"
// "TX HW queue: %d\n"
// "TX VI dropped: %lu\n"
// "TX VO dropped: %lu\n"
// "TX BE dropped: %lu\n"
// "TX BK dropped: %lu\n"
"TX total data packets %lu\n"
"TX total data bytes :%lu\n",
// "TX beacon aborted: %lu\n",
priv->stats.txviokint,
// priv->stats.txvierr,
priv->stats.txvookint,
// priv->stats.txvoerr,
priv->stats.txbeokint,
// priv->stats.txbeerr,
priv->stats.txbkokint,
// priv->stats.txbkerr,
priv->stats.txmanageokint,
// priv->stats.txmanageerr,
priv->stats.txbeaconokint,
priv->stats.txbeaconerr,
priv->stats.txcmdpktokint,
// priv->stats.txhpokint,
// priv->stats.txhperr,
// priv->stats.txresumed,
netif_queue_stopped(dev),
priv->stats.txoverflow,
// priv->stats.txbeacon,
// atomic_read(&(priv->tx_pending[VI_QUEUE])),
// atomic_read(&(priv->tx_pending[VO_QUEUE])),
// atomic_read(&(priv->tx_pending[BE_QUEUE])),
// atomic_read(&(priv->tx_pending[BK_QUEUE])),
// read_nic_byte(dev, TXFIFOCOUNT),
// priv->stats.txvidrop,
// priv->stats.txvodrop,
priv->ieee80211->stats.tx_packets,
priv->ieee80211->stats.tx_bytes
// priv->stats.txbedrop,
// priv->stats.txbkdrop
// priv->stats.txdatapkt
// priv->stats.txbeaconerr
);
*eof = 1;
return len;
}
static int proc_get_stats_rx(char *page, char **start,
off_t offset, int count,
int *eof, void *data)
{
struct net_device *dev = data;
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
int len = 0;
len += snprintf(page + len, count - len,
"RX packets: %lu\n"
"RX desc err: %lu\n"
"RX rx overflow error: %lu\n"
"RX invalid urb error: %lu\n",
priv->stats.rxint,
priv->stats.rxrdu,
priv->stats.rxoverflow,
priv->stats.rxurberr);
*eof = 1;
return len;
}
static void rtl8192_proc_module_init(void)
{
RT_TRACE(COMP_INIT, "Initializing proc filesystem");
rtl8192_proc=create_proc_entry(RTL819xE_MODULE_NAME, S_IFDIR, init_net.proc_net);
}
static void rtl8192_proc_module_remove(void)
{
remove_proc_entry(RTL819xE_MODULE_NAME, init_net.proc_net);
}
static void rtl8192_proc_remove_one(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
printk("dev name=======> %s\n",dev->name);
if (priv->dir_dev) {
// remove_proc_entry("stats-hw", priv->dir_dev);
remove_proc_entry("stats-tx", priv->dir_dev);
remove_proc_entry("stats-rx", priv->dir_dev);
// remove_proc_entry("stats-ieee", priv->dir_dev);
remove_proc_entry("stats-ap", priv->dir_dev);
remove_proc_entry("registers", priv->dir_dev);
// remove_proc_entry("cck-registers",priv->dir_dev);
// remove_proc_entry("ofdm-registers",priv->dir_dev);
//remove_proc_entry(dev->name, rtl8192_proc);
remove_proc_entry("wlan0", rtl8192_proc);
priv->dir_dev = NULL;
}
}
static void rtl8192_proc_init_one(struct net_device *dev)
{
struct proc_dir_entry *e;
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
priv->dir_dev = create_proc_entry(dev->name,
S_IFDIR | S_IRUGO | S_IXUGO,
rtl8192_proc);
if (!priv->dir_dev) {
RT_TRACE(COMP_ERR, "Unable to initialize /proc/net/rtl8192/%s\n",
dev->name);
return;
}
e = create_proc_read_entry("stats-rx", S_IFREG | S_IRUGO,
priv->dir_dev, proc_get_stats_rx, dev);
if (!e) {
RT_TRACE(COMP_ERR,"Unable to initialize "
"/proc/net/rtl8192/%s/stats-rx\n",
dev->name);
}
e = create_proc_read_entry("stats-tx", S_IFREG | S_IRUGO,
priv->dir_dev, proc_get_stats_tx, dev);
if (!e) {
RT_TRACE(COMP_ERR, "Unable to initialize "
"/proc/net/rtl8192/%s/stats-tx\n",
dev->name);
}
e = create_proc_read_entry("stats-ap", S_IFREG | S_IRUGO,
priv->dir_dev, proc_get_stats_ap, dev);
if (!e) {
RT_TRACE(COMP_ERR, "Unable to initialize "
"/proc/net/rtl8192/%s/stats-ap\n",
dev->name);
}
e = create_proc_read_entry("registers", S_IFREG | S_IRUGO,
priv->dir_dev, proc_get_registers, dev);
if (!e) {
RT_TRACE(COMP_ERR, "Unable to initialize "
"/proc/net/rtl8192/%s/registers\n",
dev->name);
}
}
/****************************************************************************
-----------------------------MISC STUFF-------------------------
*****************************************************************************/
short check_nic_enough_desc(struct net_device *dev, int prio)
{
struct r8192_priv *priv = ieee80211_priv(dev);
struct rtl8192_tx_ring *ring = &priv->tx_ring[prio];
/* for now we reserve two free descriptor as a safety boundary
* between the tail and the head
*/
if (ring->entries - skb_queue_len(&ring->queue) >= 2) {
return 1;
} else {
return 0;
}
}
static void tx_timeout(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
//rtl8192_commit(dev);
schedule_work(&priv->reset_wq);
printk("TXTIMEOUT");
}
/****************************************************************************
------------------------------HW STUFF---------------------------
*****************************************************************************/
static void rtl8192_irq_enable(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
priv->irq_enabled = 1;
write_nic_dword(dev,INTA_MASK, priv->irq_mask);
}
void rtl8192_irq_disable(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
write_nic_dword(dev,INTA_MASK,0);
force_pci_posting(dev);
priv->irq_enabled = 0;
}
void rtl8192_update_msr(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
u8 msr;
msr = read_nic_byte(dev, MSR);
msr &= ~ MSR_LINK_MASK;
/* do not change in link_state != WLAN_LINK_ASSOCIATED.
* msr must be updated if the state is ASSOCIATING.
* this is intentional and make sense for ad-hoc and
* master (see the create BSS/IBSS func)
*/
if (priv->ieee80211->state == IEEE80211_LINKED){
if (priv->ieee80211->iw_mode == IW_MODE_INFRA)
msr |= (MSR_LINK_MANAGED<<MSR_LINK_SHIFT);
else if (priv->ieee80211->iw_mode == IW_MODE_ADHOC)
msr |= (MSR_LINK_ADHOC<<MSR_LINK_SHIFT);
else if (priv->ieee80211->iw_mode == IW_MODE_MASTER)
msr |= (MSR_LINK_MASTER<<MSR_LINK_SHIFT);
}else
msr |= (MSR_LINK_NONE<<MSR_LINK_SHIFT);
write_nic_byte(dev, MSR, msr);
}
void rtl8192_set_chan(struct net_device *dev,short ch)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
RT_TRACE(COMP_RF, "=====>%s()====ch:%d\n", __FUNCTION__, ch);
priv->chan=ch;
/* this hack should avoid frame TX during channel setting*/
// tx = read_nic_dword(dev,TX_CONF);
// tx &= ~TX_LOOPBACK_MASK;
#ifndef LOOP_TEST
//TODO
// write_nic_dword(dev,TX_CONF, tx |( TX_LOOPBACK_MAC<<TX_LOOPBACK_SHIFT));
//need to implement rf set channel here WB
if (priv->rf_set_chan)
priv->rf_set_chan(dev,priv->chan);
// mdelay(10);
// write_nic_dword(dev,TX_CONF,tx | (TX_LOOPBACK_NONE<<TX_LOOPBACK_SHIFT));
#endif
}
void rtl8192_rx_enable(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
write_nic_dword(dev, RDQDA,priv->rx_ring_dma);
}
/* the TX_DESC_BASE setting is according to the following queue index
* BK_QUEUE ===> 0
* BE_QUEUE ===> 1
* VI_QUEUE ===> 2
* VO_QUEUE ===> 3
* HCCA_QUEUE ===> 4
* TXCMD_QUEUE ===> 5
* MGNT_QUEUE ===> 6
* HIGH_QUEUE ===> 7
* BEACON_QUEUE ===> 8
* */
static const u32 TX_DESC_BASE[] = {BKQDA, BEQDA, VIQDA, VOQDA, HCCAQDA, CQDA, MQDA, HQDA, BQDA};
void rtl8192_tx_enable(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
u32 i;
for (i = 0; i < MAX_TX_QUEUE_COUNT; i++)
write_nic_dword(dev, TX_DESC_BASE[i], priv->tx_ring[i].dma);
ieee80211_reset_queue(priv->ieee80211);
}
static void rtl8192_free_rx_ring(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
int i;
for (i = 0; i < priv->rxringcount; i++) {
struct sk_buff *skb = priv->rx_buf[i];
if (!skb)
continue;
pci_unmap_single(priv->pdev,
*((dma_addr_t *)skb->cb),
priv->rxbuffersize, PCI_DMA_FROMDEVICE);
kfree_skb(skb);
}
pci_free_consistent(priv->pdev, sizeof(*priv->rx_ring) * priv->rxringcount,
priv->rx_ring, priv->rx_ring_dma);
priv->rx_ring = NULL;
}
static void rtl8192_free_tx_ring(struct net_device *dev, unsigned int prio)
{
struct r8192_priv *priv = ieee80211_priv(dev);
struct rtl8192_tx_ring *ring = &priv->tx_ring[prio];
while (skb_queue_len(&ring->queue)) {
tx_desc_819x_pci *entry = &ring->desc[ring->idx];
struct sk_buff *skb = __skb_dequeue(&ring->queue);
pci_unmap_single(priv->pdev, le32_to_cpu(entry->TxBuffAddr),
skb->len, PCI_DMA_TODEVICE);
kfree_skb(skb);
ring->idx = (ring->idx + 1) % ring->entries;
}
pci_free_consistent(priv->pdev, sizeof(*ring->desc)*ring->entries,
ring->desc, ring->dma);
ring->desc = NULL;
}
void PHY_SetRtl8192eRfOff(struct net_device* dev )
{
//struct r8192_priv *priv = ieee80211_priv(dev);
//disable RF-Chip A/B
rtl8192_setBBreg(dev, rFPGA0_XA_RFInterfaceOE, BIT4, 0x0);
//analog to digital off, for power save
rtl8192_setBBreg(dev, rFPGA0_AnalogParameter4, 0x300, 0x0);
//digital to analog off, for power save
rtl8192_setBBreg(dev, rFPGA0_AnalogParameter1, 0x18, 0x0);
//rx antenna off
rtl8192_setBBreg(dev, rOFDM0_TRxPathEnable, 0xf, 0x0);
//rx antenna off
rtl8192_setBBreg(dev, rOFDM1_TRxPathEnable, 0xf, 0x0);
//analog to digital part2 off, for power save
rtl8192_setBBreg(dev, rFPGA0_AnalogParameter1, 0x60, 0x0);
rtl8192_setBBreg(dev, rFPGA0_AnalogParameter1, 0x4, 0x0);
// Analog parameter!!Change bias and Lbus control.
write_nic_byte(dev, ANAPAR_FOR_8192PciE, 0x07);
}
void rtl8192_halt_adapter(struct net_device *dev, bool reset)
{
//u8 cmd;
struct r8192_priv *priv = ieee80211_priv(dev);
int i;
u8 OpMode;
u8 u1bTmp;
u32 ulRegRead;
OpMode = RT_OP_MODE_NO_LINK;
priv->ieee80211->SetHwRegHandler(dev, HW_VAR_MEDIA_STATUS, &OpMode);
if(!priv->ieee80211->bSupportRemoteWakeUp)
{
u1bTmp = 0x0; // disable tx/rx. In 8185 we write 0x10 (Reset bit), but here we make reference to WMAC and wirte 0x0. 2006.11.21 Emily
//priv->ieee80211->SetHwRegHandler(dev, HW_VAR_COMMAND, &u1bTmp ); // Using HW_VAR_COMMAND instead of writing CMDR directly. Rewrited by Annie, 2006-04-07.
write_nic_byte(dev, CMDR, u1bTmp);
}
mdelay(20);
if(!reset)
{
//PlatformStallExecution(150000);
mdelay(150);
#ifdef RTL8192E
priv->bHwRfOffAction = 2;
#endif
//
// Call MgntActSet_RF_State instead to prevent RF config race condition.
// By Bruce, 2008-01-17.
//
if(!priv->ieee80211->bSupportRemoteWakeUp)
{
//MgntActSet_RF_State(Adapter, eRfOff, RF_CHANGE_BY_INIT);
//MgntActSet_RF_State(Adapter, eRfOff, Adapter->MgntInfo.RfOffReason);
//if(Adapter->HardwareType == HARDWARE_TYPE_RTL8190P)
PHY_SetRtl8192eRfOff(dev);
// 2006.11.30. System reset bit
//priv->ieee80211->GetHwRegHandler(dev, HW_VAR_CPU_RST, (u32*)(&ulRegRead) );
ulRegRead = read_nic_dword(dev,CPU_GEN);
ulRegRead|=CPU_GEN_SYSTEM_RESET;
//priv->ieee80211->SetHwRegHandler(dev, HW_VAR_CPU_RST, &ulRegRead);
write_nic_dword(dev,CPU_GEN, ulRegRead);
}
else
{
//2008.06.03 for WOL
write_nic_dword(dev, WFCRC0, 0xffffffff);
write_nic_dword(dev, WFCRC1, 0xffffffff);
write_nic_dword(dev, WFCRC2, 0xffffffff);
//Write PMR register
write_nic_byte(dev, PMR, 0x5);
//Disable tx, enanble rx
write_nic_byte(dev, MacBlkCtrl, 0xa);
}
}
for(i = 0; i < MAX_QUEUE_SIZE; i++) {
skb_queue_purge(&priv->ieee80211->skb_waitQ [i]);
}
for(i = 0; i < MAX_QUEUE_SIZE; i++) {
skb_queue_purge(&priv->ieee80211->skb_aggQ [i]);
}
skb_queue_purge(&priv->skb_queue);
return;
}
static const u16 rtl_rate[] = {10,20,55,110,60,90,120,180,240,360,480,540};
inline u16 rtl8192_rate2rate(short rate)
{
if (rate >11) return 0;
return rtl_rate[rate];
}
static void rtl8192_data_hard_stop(struct net_device *dev)
{
}
static void rtl8192_data_hard_resume(struct net_device *dev)
{
}
/* this function TX data frames when the ieee80211 stack requires this.
* It checks also if we need to stop the ieee tx queue, eventually do it
*/
static void rtl8192_hard_data_xmit(struct sk_buff *skb, struct net_device *dev, int rate)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
int ret;
//unsigned long flags;
cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
u8 queue_index = tcb_desc->queue_index;
/* shall not be referred by command packet */
assert(queue_index != TXCMD_QUEUE);
if((priv->bHwRadioOff == true)||(!priv->up))
{
kfree_skb(skb);
return;
}
//spin_lock_irqsave(&priv->tx_lock,flags);
memcpy((unsigned char *)(skb->cb),&dev,sizeof(dev));
skb_push(skb, priv->ieee80211->tx_headroom);
ret = rtl8192_tx(dev, skb);
if(ret != 0) {
kfree_skb(skb);
};
//
if(queue_index!=MGNT_QUEUE) {
priv->ieee80211->stats.tx_bytes+=(skb->len - priv->ieee80211->tx_headroom);
priv->ieee80211->stats.tx_packets++;
}
//spin_unlock_irqrestore(&priv->tx_lock,flags);
// return ret;
return;
}
/* This is a rough attempt to TX a frame
* This is called by the ieee 80211 stack to TX management frames.
* If the ring is full packet are dropped (for data frame the queue
* is stopped before this can happen).
*/
static int rtl8192_hard_start_xmit(struct sk_buff *skb,struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
int ret;
//unsigned long flags;
cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
u8 queue_index = tcb_desc->queue_index;
if(queue_index != TXCMD_QUEUE){
if((priv->bHwRadioOff == true)||(!priv->up))
{
kfree_skb(skb);
return 0;
}
}
//spin_lock_irqsave(&priv->tx_lock,flags);
memcpy((unsigned char *)(skb->cb),&dev,sizeof(dev));
if(queue_index == TXCMD_QUEUE) {
// skb_push(skb, USB_HWDESC_HEADER_LEN);
rtl819xE_tx_cmd(dev, skb);
ret = 0;
//spin_unlock_irqrestore(&priv->tx_lock,flags);
return ret;
} else {
// RT_TRACE(COMP_SEND, "To send management packet\n");
tcb_desc->RATRIndex = 7;
tcb_desc->bTxDisableRateFallBack = 1;
tcb_desc->bTxUseDriverAssingedRate = 1;
tcb_desc->bTxEnableFwCalcDur = 1;
skb_push(skb, priv->ieee80211->tx_headroom);
ret = rtl8192_tx(dev, skb);
if(ret != 0) {
kfree_skb(skb);
};
}
// priv->ieee80211->stats.tx_bytes+=skb->len;
// priv->ieee80211->stats.tx_packets++;
//spin_unlock_irqrestore(&priv->tx_lock,flags);
return ret;
}
static void rtl8192_tx_isr(struct net_device *dev, int prio)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
struct rtl8192_tx_ring *ring = &priv->tx_ring[prio];
while (skb_queue_len(&ring->queue)) {
tx_desc_819x_pci *entry = &ring->desc[ring->idx];
struct sk_buff *skb;
/* beacon packet will only use the first descriptor defaultly,
* and the OWN may not be cleared by the hardware
* */
if(prio != BEACON_QUEUE) {
if(entry->OWN)
return;
ring->idx = (ring->idx + 1) % ring->entries;
}
skb = __skb_dequeue(&ring->queue);
pci_unmap_single(priv->pdev, le32_to_cpu(entry->TxBuffAddr),
skb->len, PCI_DMA_TODEVICE);
kfree_skb(skb);
}
if (prio == MGNT_QUEUE){
if (priv->ieee80211->ack_tx_to_ieee){
if (rtl8192_is_tx_queue_empty(dev)){
priv->ieee80211->ack_tx_to_ieee = 0;
ieee80211_ps_tx_ack(priv->ieee80211, 1);
}
}
}
if(prio != BEACON_QUEUE) {
/* try to deal with the pending packets */
tasklet_schedule(&priv->irq_tx_tasklet);
}
}
static void rtl8192_stop_beacon(struct net_device *dev)
{
//rtl8192_beacon_disable(dev);
}
static void rtl8192_config_rate(struct net_device* dev, u16* rate_config)
{
struct r8192_priv *priv = ieee80211_priv(dev);
struct ieee80211_network *net;
u8 i=0, basic_rate = 0;
net = & priv->ieee80211->current_network;
for (i=0; i<net->rates_len; i++)
{
basic_rate = net->rates[i]&0x7f;
switch(basic_rate)
{
case MGN_1M: *rate_config |= RRSR_1M; break;
case MGN_2M: *rate_config |= RRSR_2M; break;
case MGN_5_5M: *rate_config |= RRSR_5_5M; break;
case MGN_11M: *rate_config |= RRSR_11M; break;
case MGN_6M: *rate_config |= RRSR_6M; break;
case MGN_9M: *rate_config |= RRSR_9M; break;
case MGN_12M: *rate_config |= RRSR_12M; break;
case MGN_18M: *rate_config |= RRSR_18M; break;
case MGN_24M: *rate_config |= RRSR_24M; break;
case MGN_36M: *rate_config |= RRSR_36M; break;
case MGN_48M: *rate_config |= RRSR_48M; break;
case MGN_54M: *rate_config |= RRSR_54M; break;
}
}
for (i=0; i<net->rates_ex_len; i++)
{
basic_rate = net->rates_ex[i]&0x7f;
switch(basic_rate)
{
case MGN_1M: *rate_config |= RRSR_1M; break;
case MGN_2M: *rate_config |= RRSR_2M; break;
case MGN_5_5M: *rate_config |= RRSR_5_5M; break;
case MGN_11M: *rate_config |= RRSR_11M; break;
case MGN_6M: *rate_config |= RRSR_6M; break;
case MGN_9M: *rate_config |= RRSR_9M; break;
case MGN_12M: *rate_config |= RRSR_12M; break;
case MGN_18M: *rate_config |= RRSR_18M; break;
case MGN_24M: *rate_config |= RRSR_24M; break;
case MGN_36M: *rate_config |= RRSR_36M; break;
case MGN_48M: *rate_config |= RRSR_48M; break;
case MGN_54M: *rate_config |= RRSR_54M; break;
}
}
}
#define SHORT_SLOT_TIME 9
#define NON_SHORT_SLOT_TIME 20
static void rtl8192_update_cap(struct net_device* dev, u16 cap)
{
u32 tmp = 0;
struct r8192_priv *priv = ieee80211_priv(dev);
struct ieee80211_network *net = &priv->ieee80211->current_network;
priv->short_preamble = cap & WLAN_CAPABILITY_SHORT_PREAMBLE;
tmp = priv->basic_rate;
if (priv->short_preamble)
tmp |= BRSR_AckShortPmb;
write_nic_dword(dev, RRSR, tmp);
if (net->mode & (IEEE_G|IEEE_N_24G))
{
u8 slot_time = 0;
if ((cap & WLAN_CAPABILITY_SHORT_SLOT)&&(!priv->ieee80211->pHTInfo->bCurrentRT2RTLongSlotTime))
{//short slot time
slot_time = SHORT_SLOT_TIME;
}
else //long slot time
slot_time = NON_SHORT_SLOT_TIME;
priv->slot_time = slot_time;
write_nic_byte(dev, SLOT_TIME, slot_time);
}
}
static void rtl8192_net_update(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
struct ieee80211_network *net;
u16 BcnTimeCfg = 0, BcnCW = 6, BcnIFS = 0xf;
u16 rate_config = 0;
net = &priv->ieee80211->current_network;
//update Basic rate: RR, BRSR
rtl8192_config_rate(dev, &rate_config);
// 2007.01.16, by Emily
// Select RRSR (in Legacy-OFDM and CCK)
// For 8190, we select only 24M, 12M, 6M, 11M, 5.5M, 2M, and 1M from the Basic rate.
// We do not use other rates.
priv->basic_rate = rate_config &= 0x15f;
//BSSID
write_nic_dword(dev,BSSIDR,((u32*)net->bssid)[0]);
write_nic_word(dev,BSSIDR+4,((u16*)net->bssid)[2]);
// rtl8192_update_cap(dev, net->capability);
if (priv->ieee80211->iw_mode == IW_MODE_ADHOC)
{
write_nic_word(dev, ATIMWND, 2);
write_nic_word(dev, BCN_DMATIME, 256);
write_nic_word(dev, BCN_INTERVAL, net->beacon_interval);
// write_nic_word(dev, BcnIntTime, 100);
//BIT15 of BCN_DRV_EARLY_INT will indicate whether software beacon or hw beacon is applied.
write_nic_word(dev, BCN_DRV_EARLY_INT, 10);
write_nic_byte(dev, BCN_ERR_THRESH, 100);
BcnTimeCfg |= (BcnCW<<BCN_TCFG_CW_SHIFT);
// TODO: BcnIFS may required to be changed on ASIC
BcnTimeCfg |= BcnIFS<<BCN_TCFG_IFS;
write_nic_word(dev, BCN_TCFG, BcnTimeCfg);
}
}
void rtl819xE_tx_cmd(struct net_device *dev, struct sk_buff *skb)
{
struct r8192_priv *priv = ieee80211_priv(dev);
struct rtl8192_tx_ring *ring;
tx_desc_819x_pci *entry;
unsigned int idx;
dma_addr_t mapping;
cb_desc *tcb_desc;
unsigned long flags;
ring = &priv->tx_ring[TXCMD_QUEUE];
mapping = pci_map_single(priv->pdev, skb->data, skb->len, PCI_DMA_TODEVICE);
spin_lock_irqsave(&priv->irq_th_lock,flags);
idx = (ring->idx + skb_queue_len(&ring->queue)) % ring->entries;
entry = &ring->desc[idx];
tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
memset(entry,0,12);
entry->LINIP = tcb_desc->bLastIniPkt;
entry->FirstSeg = 1;//first segment
entry->LastSeg = 1; //last segment
if(tcb_desc->bCmdOrInit == DESC_PACKET_TYPE_INIT) {
entry->CmdInit = DESC_PACKET_TYPE_INIT;
} else {
entry->CmdInit = DESC_PACKET_TYPE_NORMAL;
entry->Offset = sizeof(TX_FWINFO_8190PCI) + 8;
entry->PktSize = (u16)(tcb_desc->pkt_size + entry->Offset);
entry->QueueSelect = QSLT_CMD;
entry->TxFWInfoSize = 0x08;
entry->RATid = (u8)DESC_PACKET_TYPE_INIT;
}
entry->TxBufferSize = skb->len;
entry->TxBuffAddr = cpu_to_le32(mapping);
entry->OWN = 1;
#ifdef JOHN_DUMP_TXDESC
{ int i;
tx_desc_819x_pci *entry1 = &ring->desc[0];
unsigned int *ptr= (unsigned int *)entry1;
printk("<Tx descriptor>:\n");
for (i = 0; i < 8; i++)
printk("%8x ", ptr[i]);
printk("\n");
}
#endif
__skb_queue_tail(&ring->queue, skb);
spin_unlock_irqrestore(&priv->irq_th_lock,flags);
write_nic_byte(dev, TPPoll, TPPoll_CQ);
return;
}
/*
* Mapping Software/Hardware descriptor queue id to "Queue Select Field"
* in TxFwInfo data structure
* 2006.10.30 by Emily
*
* \param QUEUEID Software Queue
*/
static u8 MapHwQueueToFirmwareQueue(u8 QueueID)
{
u8 QueueSelect = 0x0; //defualt set to
switch(QueueID) {
case BE_QUEUE:
QueueSelect = QSLT_BE; //or QSelect = pTcb->priority;
break;
case BK_QUEUE:
QueueSelect = QSLT_BK; //or QSelect = pTcb->priority;
break;
case VO_QUEUE:
QueueSelect = QSLT_VO; //or QSelect = pTcb->priority;
break;
case VI_QUEUE:
QueueSelect = QSLT_VI; //or QSelect = pTcb->priority;
break;
case MGNT_QUEUE:
QueueSelect = QSLT_MGNT;
break;
case BEACON_QUEUE:
QueueSelect = QSLT_BEACON;
break;
// TODO: 2006.10.30 mark other queue selection until we verify it is OK
// TODO: Remove Assertions
//#if (RTL819X_FPGA_VER & RTL819X_FPGA_GUANGAN_070502)
case TXCMD_QUEUE:
QueueSelect = QSLT_CMD;
break;
//#endif
case HIGH_QUEUE:
//QueueSelect = QSLT_HIGH;
//break;
default:
RT_TRACE(COMP_ERR, "TransmitTCB(): Impossible Queue Selection: %d \n", QueueID);
break;
}
return QueueSelect;
}
static u8 MRateToHwRate8190Pci(u8 rate)
{
u8 ret = DESC90_RATE1M;
switch(rate) {
case MGN_1M: ret = DESC90_RATE1M; break;
case MGN_2M: ret = DESC90_RATE2M; break;
case MGN_5_5M: ret = DESC90_RATE5_5M; break;
case MGN_11M: ret = DESC90_RATE11M; break;
case MGN_6M: ret = DESC90_RATE6M; break;
case MGN_9M: ret = DESC90_RATE9M; break;
case MGN_12M: ret = DESC90_RATE12M; break;
case MGN_18M: ret = DESC90_RATE18M; break;
case MGN_24M: ret = DESC90_RATE24M; break;
case MGN_36M: ret = DESC90_RATE36M; break;
case MGN_48M: ret = DESC90_RATE48M; break;
case MGN_54M: ret = DESC90_RATE54M; break;
// HT rate since here
case MGN_MCS0: ret = DESC90_RATEMCS0; break;
case MGN_MCS1: ret = DESC90_RATEMCS1; break;
case MGN_MCS2: ret = DESC90_RATEMCS2; break;
case MGN_MCS3: ret = DESC90_RATEMCS3; break;
case MGN_MCS4: ret = DESC90_RATEMCS4; break;
case MGN_MCS5: ret = DESC90_RATEMCS5; break;
case MGN_MCS6: ret = DESC90_RATEMCS6; break;
case MGN_MCS7: ret = DESC90_RATEMCS7; break;
case MGN_MCS8: ret = DESC90_RATEMCS8; break;
case MGN_MCS9: ret = DESC90_RATEMCS9; break;
case MGN_MCS10: ret = DESC90_RATEMCS10; break;
case MGN_MCS11: ret = DESC90_RATEMCS11; break;
case MGN_MCS12: ret = DESC90_RATEMCS12; break;
case MGN_MCS13: ret = DESC90_RATEMCS13; break;
case MGN_MCS14: ret = DESC90_RATEMCS14; break;
case MGN_MCS15: ret = DESC90_RATEMCS15; break;
case (0x80|0x20): ret = DESC90_RATEMCS32; break;
default: break;
}
return ret;
}
static u8 QueryIsShort(u8 TxHT, u8 TxRate, cb_desc *tcb_desc)
{
u8 tmp_Short;
tmp_Short = (TxHT==1)?((tcb_desc->bUseShortGI)?1:0):((tcb_desc->bUseShortPreamble)?1:0);
if(TxHT==1 && TxRate != DESC90_RATEMCS15)
tmp_Short = 0;
return tmp_Short;
}
/*
* The tx procedure is just as following,
* skb->cb will contain all the following information,
* priority, morefrag, rate, &dev.
* */
short rtl8192_tx(struct net_device *dev, struct sk_buff* skb)
{
struct r8192_priv *priv = ieee80211_priv(dev);
struct rtl8192_tx_ring *ring;
unsigned long flags;
cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
tx_desc_819x_pci *pdesc = NULL;
TX_FWINFO_8190PCI *pTxFwInfo = NULL;
dma_addr_t mapping;
bool multi_addr=false,broad_addr=false,uni_addr=false;
u8* pda_addr = NULL;
int idx;
if(priv->bdisable_nic){
RT_TRACE(COMP_ERR,"%s: ERR!! Nic is disabled! Can't tx packet len=%d qidx=%d!!!\n", __FUNCTION__, skb->len, tcb_desc->queue_index);
return skb->len;
}
#ifdef ENABLE_LPS
priv->ieee80211->bAwakePktSent = true;
#endif
mapping = pci_map_single(priv->pdev, skb->data, skb->len, PCI_DMA_TODEVICE);
/* collect the tx packets statitcs */
pda_addr = ((u8*)skb->data) + sizeof(TX_FWINFO_8190PCI);
if(is_multicast_ether_addr(pda_addr))
multi_addr = true;
else if(is_broadcast_ether_addr(pda_addr))
broad_addr = true;
else
uni_addr = true;
if(uni_addr)
priv->stats.txbytesunicast += (u8)(skb->len) - sizeof(TX_FWINFO_8190PCI);
else if(multi_addr)
priv->stats.txbytesmulticast +=(u8)(skb->len) - sizeof(TX_FWINFO_8190PCI);
else
priv->stats.txbytesbroadcast += (u8)(skb->len) - sizeof(TX_FWINFO_8190PCI);
/* fill tx firmware */
pTxFwInfo = (PTX_FWINFO_8190PCI)skb->data;
memset(pTxFwInfo,0,sizeof(TX_FWINFO_8190PCI));
pTxFwInfo->TxHT = (tcb_desc->data_rate&0x80)?1:0;
pTxFwInfo->TxRate = MRateToHwRate8190Pci((u8)tcb_desc->data_rate);
pTxFwInfo->EnableCPUDur = tcb_desc->bTxEnableFwCalcDur;
pTxFwInfo->Short = QueryIsShort(pTxFwInfo->TxHT, pTxFwInfo->TxRate, tcb_desc);
/* Aggregation related */
if(tcb_desc->bAMPDUEnable) {
pTxFwInfo->AllowAggregation = 1;
pTxFwInfo->RxMF = tcb_desc->ampdu_factor;
pTxFwInfo->RxAMD = tcb_desc->ampdu_density;
} else {
pTxFwInfo->AllowAggregation = 0;
pTxFwInfo->RxMF = 0;
pTxFwInfo->RxAMD = 0;
}
//
// Protection mode related
//
pTxFwInfo->RtsEnable = (tcb_desc->bRTSEnable)?1:0;
pTxFwInfo->CtsEnable = (tcb_desc->bCTSEnable)?1:0;
pTxFwInfo->RtsSTBC = (tcb_desc->bRTSSTBC)?1:0;
pTxFwInfo->RtsHT= (tcb_desc->rts_rate&0x80)?1:0;
pTxFwInfo->RtsRate = MRateToHwRate8190Pci((u8)tcb_desc->rts_rate);
pTxFwInfo->RtsBandwidth = 0;
pTxFwInfo->RtsSubcarrier = tcb_desc->RTSSC;
pTxFwInfo->RtsShort = (pTxFwInfo->RtsHT==0)?(tcb_desc->bRTSUseShortPreamble?1:0):(tcb_desc->bRTSUseShortGI?1:0);
//
// Set Bandwidth and sub-channel settings.
//
if(priv->CurrentChannelBW == HT_CHANNEL_WIDTH_20_40)
{
if(tcb_desc->bPacketBW)
{
pTxFwInfo->TxBandwidth = 1;
#ifdef RTL8190P
pTxFwInfo->TxSubCarrier = 3;
#else
pTxFwInfo->TxSubCarrier = 0; //By SD3's Jerry suggestion, use duplicated mode, cosa 04012008
#endif
}
else
{
pTxFwInfo->TxBandwidth = 0;
pTxFwInfo->TxSubCarrier = priv->nCur40MhzPrimeSC;
}
} else {
pTxFwInfo->TxBandwidth = 0;
pTxFwInfo->TxSubCarrier = 0;
}
if (0)
{
/* 2007/07/25 MH Copy current TX FW info.*/
memcpy((void*)(&Tmp_TxFwInfo), (void*)(pTxFwInfo), sizeof(TX_FWINFO_8190PCI));
printk("&&&&&&&&&&&&&&&&&&&&&&====>print out fwinf\n");
printk("===>enable fwcacl:%d\n", Tmp_TxFwInfo.EnableCPUDur);
printk("===>RTS STBC:%d\n", Tmp_TxFwInfo.RtsSTBC);
printk("===>RTS Subcarrier:%d\n", Tmp_TxFwInfo.RtsSubcarrier);
printk("===>Allow Aggregation:%d\n", Tmp_TxFwInfo.AllowAggregation);
printk("===>TX HT bit:%d\n", Tmp_TxFwInfo.TxHT);
printk("===>Tx rate:%d\n", Tmp_TxFwInfo.TxRate);
printk("===>Received AMPDU Density:%d\n", Tmp_TxFwInfo.RxAMD);
printk("===>Received MPDU Factor:%d\n", Tmp_TxFwInfo.RxMF);
printk("===>TxBandwidth:%d\n", Tmp_TxFwInfo.TxBandwidth);
printk("===>TxSubCarrier:%d\n", Tmp_TxFwInfo.TxSubCarrier);
printk("<=====**********************out of print\n");
}
spin_lock_irqsave(&priv->irq_th_lock,flags);
ring = &priv->tx_ring[tcb_desc->queue_index];
if (tcb_desc->queue_index != BEACON_QUEUE) {
idx = (ring->idx + skb_queue_len(&ring->queue)) % ring->entries;
} else {
idx = 0;
}
pdesc = &ring->desc[idx];
if((pdesc->OWN == 1) && (tcb_desc->queue_index != BEACON_QUEUE)) {
RT_TRACE(COMP_ERR,"No more TX desc@%d, ring->idx = %d,idx = %d,%x", \
tcb_desc->queue_index,ring->idx, idx,skb->len);
spin_unlock_irqrestore(&priv->irq_th_lock,flags);
return skb->len;
}
/* fill tx descriptor */
memset((u8*)pdesc,0,12);
/*DWORD 0*/
pdesc->LINIP = 0;
pdesc->CmdInit = 1;
pdesc->Offset = sizeof(TX_FWINFO_8190PCI) + 8; //We must add 8!! Emily
pdesc->PktSize = (u16)skb->len-sizeof(TX_FWINFO_8190PCI);
/*DWORD 1*/
pdesc->SecCAMID= 0;
pdesc->RATid = tcb_desc->RATRIndex;
pdesc->NoEnc = 1;
pdesc->SecType = 0x0;
if (tcb_desc->bHwSec) {
switch (priv->ieee80211->pairwise_key_type) {
case KEY_TYPE_WEP40:
case KEY_TYPE_WEP104:
pdesc->SecType = 0x1;
pdesc->NoEnc = 0;
break;
case KEY_TYPE_TKIP:
pdesc->SecType = 0x2;
pdesc->NoEnc = 0;
break;
case KEY_TYPE_CCMP:
pdesc->SecType = 0x3;
pdesc->NoEnc = 0;
break;
case KEY_TYPE_NA:
pdesc->SecType = 0x0;
pdesc->NoEnc = 1;
break;
}
}
//
// Set Packet ID
//
pdesc->PktId = 0x0;
pdesc->QueueSelect = MapHwQueueToFirmwareQueue(tcb_desc->queue_index);
pdesc->TxFWInfoSize = sizeof(TX_FWINFO_8190PCI);
pdesc->DISFB = tcb_desc->bTxDisableRateFallBack;
pdesc->USERATE = tcb_desc->bTxUseDriverAssingedRate;
pdesc->FirstSeg =1;
pdesc->LastSeg = 1;
pdesc->TxBufferSize = skb->len;
pdesc->TxBuffAddr = cpu_to_le32(mapping);
__skb_queue_tail(&ring->queue, skb);
pdesc->OWN = 1;
spin_unlock_irqrestore(&priv->irq_th_lock,flags);
dev->trans_start = jiffies;
write_nic_word(dev,TPPoll,0x01<<tcb_desc->queue_index);
return 0;
}
static short rtl8192_alloc_rx_desc_ring(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
rx_desc_819x_pci *entry = NULL;
int i;
priv->rx_ring = pci_alloc_consistent(priv->pdev,
sizeof(*priv->rx_ring) * priv->rxringcount, &priv->rx_ring_dma);
if (!priv->rx_ring || (unsigned long)priv->rx_ring & 0xFF) {
RT_TRACE(COMP_ERR,"Cannot allocate RX ring\n");
return -ENOMEM;
}
memset(priv->rx_ring, 0, sizeof(*priv->rx_ring) * priv->rxringcount);
priv->rx_idx = 0;
for (i = 0; i < priv->rxringcount; i++) {
struct sk_buff *skb = dev_alloc_skb(priv->rxbuffersize);
dma_addr_t *mapping;
entry = &priv->rx_ring[i];
if (!skb)
return 0;
priv->rx_buf[i] = skb;
mapping = (dma_addr_t *)skb->cb;
*mapping = pci_map_single(priv->pdev, skb_tail_pointer(skb),
priv->rxbuffersize, PCI_DMA_FROMDEVICE);
entry->BufferAddress = cpu_to_le32(*mapping);
entry->Length = priv->rxbuffersize;
entry->OWN = 1;
}
entry->EOR = 1;
return 0;
}
static int rtl8192_alloc_tx_desc_ring(struct net_device *dev,
unsigned int prio, unsigned int entries)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
tx_desc_819x_pci *ring;
dma_addr_t dma;
int i;
ring = pci_alloc_consistent(priv->pdev, sizeof(*ring) * entries, &dma);
if (!ring || (unsigned long)ring & 0xFF) {
RT_TRACE(COMP_ERR, "Cannot allocate TX ring (prio = %d)\n", prio);
return -ENOMEM;
}
memset(ring, 0, sizeof(*ring)*entries);
priv->tx_ring[prio].desc = ring;
priv->tx_ring[prio].dma = dma;
priv->tx_ring[prio].idx = 0;
priv->tx_ring[prio].entries = entries;
skb_queue_head_init(&priv->tx_ring[prio].queue);
for (i = 0; i < entries; i++)
ring[i].NextDescAddress =
cpu_to_le32((u32)dma + ((i + 1) % entries) * sizeof(*ring));
return 0;
}
static short rtl8192_pci_initdescring(struct net_device *dev)
{
u32 ret;
int i;
struct r8192_priv *priv = ieee80211_priv(dev);
ret = rtl8192_alloc_rx_desc_ring(dev);
if (ret) {
return ret;
}
/* general process for other queue */
for (i = 0; i < MAX_TX_QUEUE_COUNT; i++) {
ret = rtl8192_alloc_tx_desc_ring(dev, i, priv->txringcount);
if (ret)
goto err_free_rings;
}
return 0;
err_free_rings:
rtl8192_free_rx_ring(dev);
for (i = 0; i < MAX_TX_QUEUE_COUNT; i++)
if (priv->tx_ring[i].desc)
rtl8192_free_tx_ring(dev, i);
return 1;
}
static void rtl8192_pci_resetdescring(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
int i;
/* force the rx_idx to the first one */
if(priv->rx_ring) {
rx_desc_819x_pci *entry = NULL;
for (i = 0; i < priv->rxringcount; i++) {
entry = &priv->rx_ring[i];
entry->OWN = 1;
}
priv->rx_idx = 0;
}
/* after reset, release previous pending packet, and force the
* tx idx to the first one */
for (i = 0; i < MAX_TX_QUEUE_COUNT; i++) {
if (priv->tx_ring[i].desc) {
struct rtl8192_tx_ring *ring = &priv->tx_ring[i];
while (skb_queue_len(&ring->queue)) {
tx_desc_819x_pci *entry = &ring->desc[ring->idx];
struct sk_buff *skb = __skb_dequeue(&ring->queue);
pci_unmap_single(priv->pdev, le32_to_cpu(entry->TxBuffAddr),
skb->len, PCI_DMA_TODEVICE);
kfree_skb(skb);
ring->idx = (ring->idx + 1) % ring->entries;
}
ring->idx = 0;
}
}
}
extern void rtl8192_update_ratr_table(struct net_device* dev);
static void rtl8192_link_change(struct net_device *dev)
{
// int i;
struct r8192_priv *priv = ieee80211_priv(dev);
struct ieee80211_device* ieee = priv->ieee80211;
//write_nic_word(dev, BCN_INTR_ITV, net->beacon_interval);
if (ieee->state == IEEE80211_LINKED)
{
rtl8192_net_update(dev);
rtl8192_update_ratr_table(dev);
//add this as in pure N mode, wep encryption will use software way, but there is no chance to set this as wep will not set group key in wext. WB.2008.07.08
if ((KEY_TYPE_WEP40 == ieee->pairwise_key_type) || (KEY_TYPE_WEP104 == ieee->pairwise_key_type))
EnableHWSecurityConfig8192(dev);
}
else
{
write_nic_byte(dev, 0x173, 0);
}
/*update timing params*/
//rtl8192_set_chan(dev, priv->chan);
//MSR
rtl8192_update_msr(dev);
// 2007/10/16 MH MAC Will update TSF according to all received beacon, so we have
// // To set CBSSID bit when link with any AP or STA.
if (ieee->iw_mode == IW_MODE_INFRA || ieee->iw_mode == IW_MODE_ADHOC)
{
u32 reg = 0;
reg = read_nic_dword(dev, RCR);
if (priv->ieee80211->state == IEEE80211_LINKED)
priv->ReceiveConfig = reg |= RCR_CBSSID;
else
priv->ReceiveConfig = reg &= ~RCR_CBSSID;
write_nic_dword(dev, RCR, reg);
}
}
static struct ieee80211_qos_parameters def_qos_parameters = {
{3,3,3,3},/* cw_min */
{7,7,7,7},/* cw_max */
{2,2,2,2},/* aifs */
{0,0,0,0},/* flags */
{0,0,0,0} /* tx_op_limit */
};
static void rtl8192_update_beacon(struct work_struct * work)
{
struct r8192_priv *priv = container_of(work, struct r8192_priv, update_beacon_wq.work);
struct net_device *dev = priv->ieee80211->dev;
struct ieee80211_device* ieee = priv->ieee80211;
struct ieee80211_network* net = &ieee->current_network;
if (ieee->pHTInfo->bCurrentHTSupport)
HTUpdateSelfAndPeerSetting(ieee, net);
ieee->pHTInfo->bCurrentRT2RTLongSlotTime = net->bssht.bdRT2RTLongSlotTime;
rtl8192_update_cap(dev, net->capability);
}
/*
* background support to run QoS activate functionality
*/
static const int WDCAPARA_ADD[] = {EDCAPARA_BE,EDCAPARA_BK,EDCAPARA_VI,EDCAPARA_VO};
static void rtl8192_qos_activate(struct work_struct * work)
{
struct r8192_priv *priv = container_of(work, struct r8192_priv, qos_activate);
struct net_device *dev = priv->ieee80211->dev;
struct ieee80211_qos_parameters *qos_parameters = &priv->ieee80211->current_network.qos_data.parameters;
u8 mode = priv->ieee80211->current_network.mode;
// u32 size = sizeof(struct ieee80211_qos_parameters);
u8 u1bAIFS;
u32 u4bAcParam;
int i;
mutex_lock(&priv->mutex);
if(priv->ieee80211->state != IEEE80211_LINKED)
goto success;
RT_TRACE(COMP_QOS,"qos active process with associate response received\n");
/* It better set slot time at first */
/* For we just support b/g mode at present, let the slot time at 9/20 selection */
/* update the ac parameter to related registers */
for(i = 0; i < QOS_QUEUE_NUM; i++) {
//Mode G/A: slotTimeTimer = 9; Mode B: 20
u1bAIFS = qos_parameters->aifs[i] * ((mode&(IEEE_G|IEEE_N_24G)) ?9:20) + aSifsTime;
u4bAcParam = ((((u32)(qos_parameters->tx_op_limit[i]))<< AC_PARAM_TXOP_LIMIT_OFFSET)|
(((u32)(qos_parameters->cw_max[i]))<< AC_PARAM_ECW_MAX_OFFSET)|
(((u32)(qos_parameters->cw_min[i]))<< AC_PARAM_ECW_MIN_OFFSET)|
((u32)u1bAIFS << AC_PARAM_AIFS_OFFSET));
//printk("===>u4bAcParam:%x, ", u4bAcParam);
write_nic_dword(dev, WDCAPARA_ADD[i], u4bAcParam);
//write_nic_dword(dev, WDCAPARA_ADD[i], 0x005e4332);
}
success:
mutex_unlock(&priv->mutex);
}
static int rtl8192_qos_handle_probe_response(struct r8192_priv *priv,
int active_network,
struct ieee80211_network *network)
{
int ret = 0;
u32 size = sizeof(struct ieee80211_qos_parameters);
if(priv->ieee80211->state !=IEEE80211_LINKED)
return ret;
if ((priv->ieee80211->iw_mode != IW_MODE_INFRA))
return ret;
if (network->flags & NETWORK_HAS_QOS_MASK) {
if (active_network &&
(network->flags & NETWORK_HAS_QOS_PARAMETERS))
network->qos_data.active = network->qos_data.supported;
if ((network->qos_data.active == 1) && (active_network == 1) &&
(network->flags & NETWORK_HAS_QOS_PARAMETERS) &&
(network->qos_data.old_param_count !=
network->qos_data.param_count)) {
network->qos_data.old_param_count =
network->qos_data.param_count;
queue_work(priv->priv_wq, &priv->qos_activate);
RT_TRACE (COMP_QOS, "QoS parameters change call "
"qos_activate\n");
}
} else {
memcpy(&priv->ieee80211->current_network.qos_data.parameters,\
&def_qos_parameters, size);
if ((network->qos_data.active == 1) && (active_network == 1)) {
queue_work(priv->priv_wq, &priv->qos_activate);
RT_TRACE(COMP_QOS, "QoS was disabled call qos_activate \n");
}
network->qos_data.active = 0;
network->qos_data.supported = 0;
}
return 0;
}
/* handle manage frame frame beacon and probe response */
static int rtl8192_handle_beacon(struct net_device * dev,
struct ieee80211_beacon * beacon,
struct ieee80211_network * network)
{
struct r8192_priv *priv = ieee80211_priv(dev);
rtl8192_qos_handle_probe_response(priv,1,network);
queue_delayed_work(priv->priv_wq, &priv->update_beacon_wq, 0);
return 0;
}
/*
* handling the beaconing responses. if we get different QoS setting
* off the network from the associated setting, adjust the QoS
* setting
*/
static int rtl8192_qos_association_resp(struct r8192_priv *priv,
struct ieee80211_network *network)
{
int ret = 0;
unsigned long flags;
u32 size = sizeof(struct ieee80211_qos_parameters);
int set_qos_param = 0;
if ((priv == NULL) || (network == NULL))
return ret;
if(priv->ieee80211->state !=IEEE80211_LINKED)
return ret;
if ((priv->ieee80211->iw_mode != IW_MODE_INFRA))
return ret;
spin_lock_irqsave(&priv->ieee80211->lock, flags);
if(network->flags & NETWORK_HAS_QOS_PARAMETERS) {
memcpy(&priv->ieee80211->current_network.qos_data.parameters,\
&network->qos_data.parameters,\
sizeof(struct ieee80211_qos_parameters));
priv->ieee80211->current_network.qos_data.active = 1;
{
set_qos_param = 1;
/* update qos parameter for current network */
priv->ieee80211->current_network.qos_data.old_param_count = \
priv->ieee80211->current_network.qos_data.param_count;
priv->ieee80211->current_network.qos_data.param_count = \
network->qos_data.param_count;
}
} else {
memcpy(&priv->ieee80211->current_network.qos_data.parameters,\
&def_qos_parameters, size);
priv->ieee80211->current_network.qos_data.active = 0;
priv->ieee80211->current_network.qos_data.supported = 0;
set_qos_param = 1;
}
spin_unlock_irqrestore(&priv->ieee80211->lock, flags);
RT_TRACE(COMP_QOS, "%s: network->flags = %d,%d\n",__FUNCTION__,network->flags ,priv->ieee80211->current_network.qos_data.active);
if (set_qos_param == 1)
queue_work(priv->priv_wq, &priv->qos_activate);
return ret;
}
static int rtl8192_handle_assoc_response(struct net_device *dev,
struct ieee80211_assoc_response_frame *resp,
struct ieee80211_network *network)
{
struct r8192_priv *priv = ieee80211_priv(dev);
rtl8192_qos_association_resp(priv, network);
return 0;
}
//updateRATRTabel for MCS only. Basic rate is not implement.
void rtl8192_update_ratr_table(struct net_device* dev)
// POCTET_STRING posLegacyRate,
// u8* pMcsRate)
// PRT_WLAN_STA pEntry)
{
struct r8192_priv* priv = ieee80211_priv(dev);
struct ieee80211_device* ieee = priv->ieee80211;
u8* pMcsRate = ieee->dot11HTOperationalRateSet;
//struct ieee80211_network *net = &ieee->current_network;
u32 ratr_value = 0;
u8 rate_index = 0;
rtl8192_config_rate(dev, (u16*)(&ratr_value));
ratr_value |= (*(u16*)(pMcsRate)) << 12;
// switch (net->mode)
switch (ieee->mode)
{
case IEEE_A:
ratr_value &= 0x00000FF0;
break;
case IEEE_B:
ratr_value &= 0x0000000F;
break;
case IEEE_G:
ratr_value &= 0x00000FF7;
break;
case IEEE_N_24G:
case IEEE_N_5G:
if (ieee->pHTInfo->PeerMimoPs == 0) //MIMO_PS_STATIC
ratr_value &= 0x0007F007;
else{
if (priv->rf_type == RF_1T2R)
ratr_value &= 0x000FF007;
else
ratr_value &= 0x0F81F007;
}
break;
default:
break;
}
ratr_value &= 0x0FFFFFFF;
if(ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI40MHz){
ratr_value |= 0x80000000;
}else if(!ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI20MHz){
ratr_value |= 0x80000000;
}
write_nic_dword(dev, RATR0+rate_index*4, ratr_value);
write_nic_byte(dev, UFWP, 1);
}
static bool GetNmodeSupportBySecCfg8190Pci(struct net_device*dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
struct ieee80211_device *ieee = priv->ieee80211;
if (ieee->rtllib_ap_sec_type &&
(ieee->rtllib_ap_sec_type(ieee)&(SEC_ALG_WEP|SEC_ALG_TKIP))) {
return false;
} else {
return true;
}
}
static void rtl8192_refresh_supportrate(struct r8192_priv* priv)
{
struct ieee80211_device* ieee = priv->ieee80211;
//we donot consider set support rate for ABG mode, only HT MCS rate is set here.
if (ieee->mode == WIRELESS_MODE_N_24G || ieee->mode == WIRELESS_MODE_N_5G)
{
memcpy(ieee->Regdot11HTOperationalRateSet, ieee->RegHTSuppRateSet, 16);
//RT_DEBUG_DATA(COMP_INIT, ieee->RegHTSuppRateSet, 16);
//RT_DEBUG_DATA(COMP_INIT, ieee->Regdot11HTOperationalRateSet, 16);
}
else
memset(ieee->Regdot11HTOperationalRateSet, 0, 16);
return;
}
static u8 rtl8192_getSupportedWireleeMode(struct net_device*dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
u8 ret = 0;
switch(priv->rf_chip)
{
case RF_8225:
case RF_8256:
case RF_PSEUDO_11N:
ret = (WIRELESS_MODE_N_24G|WIRELESS_MODE_G|WIRELESS_MODE_B);
break;
case RF_8258:
ret = (WIRELESS_MODE_A|WIRELESS_MODE_N_5G);
break;
default:
ret = WIRELESS_MODE_B;
break;
}
return ret;
}
static void rtl8192_SetWirelessMode(struct net_device* dev, u8 wireless_mode)
{
struct r8192_priv *priv = ieee80211_priv(dev);
u8 bSupportMode = rtl8192_getSupportedWireleeMode(dev);
if ((wireless_mode == WIRELESS_MODE_AUTO) || ((wireless_mode&bSupportMode)==0))
{
if(bSupportMode & WIRELESS_MODE_N_24G)
{
wireless_mode = WIRELESS_MODE_N_24G;
}
else if(bSupportMode & WIRELESS_MODE_N_5G)
{
wireless_mode = WIRELESS_MODE_N_5G;
}
else if((bSupportMode & WIRELESS_MODE_A))
{
wireless_mode = WIRELESS_MODE_A;
}
else if((bSupportMode & WIRELESS_MODE_G))
{
wireless_mode = WIRELESS_MODE_G;
}
else if((bSupportMode & WIRELESS_MODE_B))
{
wireless_mode = WIRELESS_MODE_B;
}
else{
RT_TRACE(COMP_ERR, "%s(), No valid wireless mode supported, SupportedWirelessMode(%x)!!!\n", __FUNCTION__,bSupportMode);
wireless_mode = WIRELESS_MODE_B;
}
}
#ifdef TO_DO_LIST //// TODO: this function doesn't work well at this time, we should wait for FPGA
ActUpdateChannelAccessSetting( pAdapter, pHalData->CurrentWirelessMode, &pAdapter->MgntInfo.Info8185.ChannelAccessSetting );
#endif
priv->ieee80211->mode = wireless_mode;
if ((wireless_mode == WIRELESS_MODE_N_24G) || (wireless_mode == WIRELESS_MODE_N_5G))
priv->ieee80211->pHTInfo->bEnableHT = 1;
else
priv->ieee80211->pHTInfo->bEnableHT = 0;
RT_TRACE(COMP_INIT, "Current Wireless Mode is %x\n", wireless_mode);
rtl8192_refresh_supportrate(priv);
}
//init priv variables here
static bool GetHalfNmodeSupportByAPs819xPci(struct net_device* dev)
{
bool Reval;
struct r8192_priv* priv = ieee80211_priv(dev);
struct ieee80211_device* ieee = priv->ieee80211;
if(ieee->bHalfWirelessN24GMode == true)
Reval = true;
else
Reval = false;
return Reval;
}
short rtl8192_is_tx_queue_empty(struct net_device *dev)
{
int i=0;
struct r8192_priv *priv = ieee80211_priv(dev);
for (i=0; i<=MGNT_QUEUE; i++)
{
if ((i== TXCMD_QUEUE) || (i == HCCA_QUEUE) )
continue;
if (skb_queue_len(&(&priv->tx_ring[i])->queue) > 0){
printk("===>tx queue is not empty:%d, %d\n", i, skb_queue_len(&(&priv->tx_ring[i])->queue));
return 0;
}
}
return 1;
}
static void rtl8192_hw_sleep_down(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
unsigned long flags = 0;
spin_lock_irqsave(&priv->rf_ps_lock,flags);
if (priv->RFChangeInProgress) {
spin_unlock_irqrestore(&priv->rf_ps_lock,flags);
RT_TRACE(COMP_RF, "rtl8192_hw_sleep_down(): RF Change in progress! \n");
printk("rtl8192_hw_sleep_down(): RF Change in progress!\n");
return;
}
spin_unlock_irqrestore(&priv->rf_ps_lock,flags);
//RT_TRACE(COMP_PS, "%s()============>come to sleep down\n", __FUNCTION__);
MgntActSet_RF_State(dev, eRfSleep, RF_CHANGE_BY_PS);
}
static void rtl8192_hw_sleep_wq (struct work_struct *work)
{
// struct r8180_priv *priv = container_of(work, struct r8180_priv, watch_dog_wq);
// struct ieee80211_device * ieee = (struct ieee80211_device*)
// container_of(work, struct ieee80211_device, watch_dog_wq);
struct delayed_work *dwork = container_of(work,struct delayed_work,work);
struct ieee80211_device *ieee = container_of(dwork,struct ieee80211_device,hw_sleep_wq);
struct net_device *dev = ieee->dev;
rtl8192_hw_sleep_down(dev);
}
static void rtl8192_hw_wakeup(struct net_device* dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
unsigned long flags = 0;
spin_lock_irqsave(&priv->rf_ps_lock,flags);
if (priv->RFChangeInProgress) {
spin_unlock_irqrestore(&priv->rf_ps_lock,flags);
RT_TRACE(COMP_RF, "rtl8192_hw_wakeup(): RF Change in progress! \n");
printk("rtl8192_hw_wakeup(): RF Change in progress! schedule wake up task again\n");
queue_delayed_work(priv->ieee80211->wq,&priv->ieee80211->hw_wakeup_wq,MSECS(10));//PowerSave is not supported if kernel version is below 2.6.20
return;
}
spin_unlock_irqrestore(&priv->rf_ps_lock,flags);
//RT_TRACE(COMP_PS, "%s()============>come to wake up\n", __FUNCTION__);
MgntActSet_RF_State(dev, eRfOn, RF_CHANGE_BY_PS);
}
void rtl8192_hw_wakeup_wq (struct work_struct *work)
{
// struct r8180_priv *priv = container_of(work, struct r8180_priv, watch_dog_wq);
// struct ieee80211_device * ieee = (struct ieee80211_device*)
// container_of(work, struct ieee80211_device, watch_dog_wq);
struct delayed_work *dwork = container_of(work,struct delayed_work,work);
struct ieee80211_device *ieee = container_of(dwork,struct ieee80211_device,hw_wakeup_wq);
struct net_device *dev = ieee->dev;
rtl8192_hw_wakeup(dev);
}
#define MIN_SLEEP_TIME 50
#define MAX_SLEEP_TIME 10000
static void rtl8192_hw_to_sleep(struct net_device *dev, u32 th, u32 tl)
{
struct r8192_priv *priv = ieee80211_priv(dev);
u32 rb = jiffies;
unsigned long flags;
spin_lock_irqsave(&priv->ps_lock,flags);
// Writing HW register with 0 equals to disable
// the timer, that is not really what we want
//
tl -= MSECS(8+16+7);
// If the interval in witch we are requested to sleep is too
// short then give up and remain awake
// when we sleep after send null frame, the timer will be too short to sleep.
//
if(((tl>=rb)&& (tl-rb) <= MSECS(MIN_SLEEP_TIME))
||((rb>tl)&& (rb-tl) < MSECS(MIN_SLEEP_TIME))) {
spin_unlock_irqrestore(&priv->ps_lock,flags);
printk("too short to sleep::%x, %x, %lx\n",tl, rb, MSECS(MIN_SLEEP_TIME));
return;
}
if(((tl > rb) && ((tl-rb) > MSECS(MAX_SLEEP_TIME)))||
((tl < rb) && (tl>MSECS(69)) && ((rb-tl) > MSECS(MAX_SLEEP_TIME)))||
((tl<rb)&&(tl<MSECS(69))&&((tl+0xffffffff-rb)>MSECS(MAX_SLEEP_TIME)))) {
printk("========>too long to sleep:%x, %x, %lx\n", tl, rb, MSECS(MAX_SLEEP_TIME));
spin_unlock_irqrestore(&priv->ps_lock,flags);
return;
}
{
u32 tmp = (tl>rb)?(tl-rb):(rb-tl);
queue_delayed_work(priv->ieee80211->wq,
&priv->ieee80211->hw_wakeup_wq,tmp);
//PowerSave not supported when kernel version less 2.6.20
}
queue_delayed_work(priv->ieee80211->wq,
(void *)&priv->ieee80211->hw_sleep_wq,0);
spin_unlock_irqrestore(&priv->ps_lock,flags);
}
static void rtl8192_init_priv_variable(struct net_device* dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
u8 i;
PRT_POWER_SAVE_CONTROL pPSC = (PRT_POWER_SAVE_CONTROL)(&(priv->ieee80211->PowerSaveControl));
// Default Halt the NIC if RF is OFF.
pPSC->RegRfPsLevel |= RT_RF_OFF_LEVL_HALT_NIC;
pPSC->RegRfPsLevel |= RT_RF_OFF_LEVL_CLK_REQ;
pPSC->RegRfPsLevel |= RT_RF_OFF_LEVL_ASPM;
pPSC->RegRfPsLevel |= RT_RF_LPS_LEVEL_ASPM;
pPSC->bLeisurePs = true;
pPSC->RegMaxLPSAwakeIntvl = 5;
priv->bHwRadioOff = false;
priv->being_init_adapter = false;
priv->txbuffsize = 1600;//1024;
priv->txfwbuffersize = 4096;
priv->txringcount = 64;//32;
//priv->txbeaconcount = priv->txringcount;
priv->txbeaconcount = 2;
priv->rxbuffersize = 9100;//2048;//1024;
priv->rxringcount = MAX_RX_COUNT;//64;
priv->irq_enabled=0;
priv->card_8192 = NIC_8192E;
priv->rx_skb_complete = 1;
priv->chan = 1; //set to channel 1
priv->RegWirelessMode = WIRELESS_MODE_AUTO;
priv->RegChannelPlan = 0xf;
priv->nrxAMPDU_size = 0;
priv->nrxAMPDU_aggr_num = 0;
priv->last_rxdesc_tsf_high = 0;
priv->last_rxdesc_tsf_low = 0;
priv->ieee80211->mode = WIRELESS_MODE_AUTO; //SET AUTO
priv->ieee80211->iw_mode = IW_MODE_INFRA;
priv->ieee80211->ieee_up=0;
priv->retry_rts = DEFAULT_RETRY_RTS;
priv->retry_data = DEFAULT_RETRY_DATA;
priv->ieee80211->rts = DEFAULT_RTS_THRESHOLD;
priv->ieee80211->rate = 110; //11 mbps
priv->ieee80211->short_slot = 1;
priv->promisc = (dev->flags & IFF_PROMISC) ? 1:0;
priv->bcck_in_ch14 = false;
priv->bfsync_processing = false;
priv->CCKPresentAttentuation = 0;
priv->rfa_txpowertrackingindex = 0;
priv->rfc_txpowertrackingindex = 0;
priv->CckPwEnl = 6;
priv->ScanDelay = 50;//for Scan TODO
//added by amy for silent reset
priv->ResetProgress = RESET_TYPE_NORESET;
priv->bForcedSilentReset = 0;
priv->bDisableNormalResetCheck = false;
priv->force_reset = false;
//added by amy for power save
priv->RegRfOff = 0;
priv->ieee80211->RfOffReason = 0;
priv->RFChangeInProgress = false;
priv->bHwRfOffAction = 0;
priv->SetRFPowerStateInProgress = false;
priv->ieee80211->PowerSaveControl.bInactivePs = true;
priv->ieee80211->PowerSaveControl.bIPSModeBackup = false;
//just for debug
priv->txpower_checkcnt = 0;
priv->thermal_readback_index =0;
priv->txpower_tracking_callback_cnt = 0;
priv->ccktxpower_adjustcnt_ch14 = 0;
priv->ccktxpower_adjustcnt_not_ch14 = 0;
priv->ieee80211->current_network.beacon_interval = DEFAULT_BEACONINTERVAL;
priv->ieee80211->iw_mode = IW_MODE_INFRA;
priv->ieee80211->softmac_features = IEEE_SOFTMAC_SCAN |
IEEE_SOFTMAC_ASSOCIATE | IEEE_SOFTMAC_PROBERQ |
IEEE_SOFTMAC_PROBERS | IEEE_SOFTMAC_TX_QUEUE;/* |
IEEE_SOFTMAC_BEACONS;*///added by amy 080604 //| //IEEE_SOFTMAC_SINGLE_QUEUE;
priv->ieee80211->active_scan = 1;
priv->ieee80211->modulation = IEEE80211_CCK_MODULATION | IEEE80211_OFDM_MODULATION;
priv->ieee80211->host_encrypt = 1;
priv->ieee80211->host_decrypt = 1;
//priv->ieee80211->start_send_beacons = NULL;//rtl819xusb_beacon_tx;//-by amy 080604
//priv->ieee80211->stop_send_beacons = NULL;//rtl8192_beacon_stop;//-by amy 080604
priv->ieee80211->start_send_beacons = rtl8192_start_beacon;//+by david 081107
priv->ieee80211->stop_send_beacons = rtl8192_stop_beacon;//+by david 081107
priv->ieee80211->softmac_hard_start_xmit = rtl8192_hard_start_xmit;
priv->ieee80211->set_chan = rtl8192_set_chan;
priv->ieee80211->link_change = rtl8192_link_change;
priv->ieee80211->softmac_data_hard_start_xmit = rtl8192_hard_data_xmit;
priv->ieee80211->data_hard_stop = rtl8192_data_hard_stop;
priv->ieee80211->data_hard_resume = rtl8192_data_hard_resume;
priv->ieee80211->init_wmmparam_flag = 0;
priv->ieee80211->fts = DEFAULT_FRAG_THRESHOLD;
priv->ieee80211->check_nic_enough_desc = check_nic_enough_desc;
priv->ieee80211->tx_headroom = sizeof(TX_FWINFO_8190PCI);
priv->ieee80211->qos_support = 1;
priv->ieee80211->dot11PowerSaveMode = 0;
//added by WB
// priv->ieee80211->SwChnlByTimerHandler = rtl8192_phy_SwChnl;
priv->ieee80211->SetBWModeHandler = rtl8192_SetBWMode;
priv->ieee80211->handle_assoc_response = rtl8192_handle_assoc_response;
priv->ieee80211->handle_beacon = rtl8192_handle_beacon;
priv->ieee80211->sta_wake_up = rtl8192_hw_wakeup;
// priv->ieee80211->ps_request_tx_ack = rtl8192_rq_tx_ack;
priv->ieee80211->enter_sleep_state = rtl8192_hw_to_sleep;
priv->ieee80211->ps_is_queue_empty = rtl8192_is_tx_queue_empty;
//added by david
priv->ieee80211->GetNmodeSupportBySecCfg = GetNmodeSupportBySecCfg8190Pci;
priv->ieee80211->SetWirelessMode = rtl8192_SetWirelessMode;
priv->ieee80211->GetHalfNmodeSupportByAPsHandler = GetHalfNmodeSupportByAPs819xPci;
//added by amy
priv->ieee80211->InitialGainHandler = InitialGain819xPci;
#ifdef ENABLE_IPS
priv->ieee80211->ieee80211_ips_leave_wq = ieee80211_ips_leave_wq;
priv->ieee80211->ieee80211_ips_leave = ieee80211_ips_leave;
#endif
#ifdef ENABLE_LPS
priv->ieee80211->LeisurePSLeave = LeisurePSLeave;
#endif//ENABL
priv->ieee80211->SetHwRegHandler = rtl8192e_SetHwReg;
priv->ieee80211->rtllib_ap_sec_type = rtl8192e_ap_sec_type;
priv->card_type = USB;
{
priv->ShortRetryLimit = 0x30;
priv->LongRetryLimit = 0x30;
}
priv->EarlyRxThreshold = 7;
priv->enable_gpio0 = 0;
priv->TransmitConfig = 0;
priv->ReceiveConfig = RCR_ADD3 |
RCR_AMF | RCR_ADF | //accept management/data
RCR_AICV | //accept control frame for SW AP needs PS-poll, 2005.07.07, by rcnjko.
RCR_AB | RCR_AM | RCR_APM | //accept BC/MC/UC
RCR_AAP | ((u32)7<<RCR_MXDMA_OFFSET) |
((u32)7 << RCR_FIFO_OFFSET) | RCR_ONLYERLPKT;
priv->irq_mask = (u32)(IMR_ROK | IMR_VODOK | IMR_VIDOK | IMR_BEDOK | IMR_BKDOK |\
IMR_HCCADOK | IMR_MGNTDOK | IMR_COMDOK | IMR_HIGHDOK |\
IMR_BDOK | IMR_RXCMDOK | IMR_TIMEOUT0 | IMR_RDU | IMR_RXFOVW |\
IMR_TXFOVW | IMR_BcnInt | IMR_TBDOK | IMR_TBDER);
priv->AcmControl = 0;
priv->pFirmware = (rt_firmware*)vmalloc(sizeof(rt_firmware));
if (priv->pFirmware)
memset(priv->pFirmware, 0, sizeof(rt_firmware));
/* rx related queue */
skb_queue_head_init(&priv->rx_queue);
skb_queue_head_init(&priv->skb_queue);
/* Tx related queue */
for(i = 0; i < MAX_QUEUE_SIZE; i++) {
skb_queue_head_init(&priv->ieee80211->skb_waitQ [i]);
}
for(i = 0; i < MAX_QUEUE_SIZE; i++) {
skb_queue_head_init(&priv->ieee80211->skb_aggQ [i]);
}
priv->rf_set_chan = rtl8192_phy_SwChnl;
}
//init lock here
static void rtl8192_init_priv_lock(struct r8192_priv* priv)
{
spin_lock_init(&priv->tx_lock);
spin_lock_init(&priv->irq_lock);//added by thomas
spin_lock_init(&priv->irq_th_lock);
spin_lock_init(&priv->rf_ps_lock);
spin_lock_init(&priv->ps_lock);
//spin_lock_init(&priv->rf_lock);
sema_init(&priv->wx_sem,1);
sema_init(&priv->rf_sem,1);
mutex_init(&priv->mutex);
}
//init tasklet and wait_queue here. only 2.6 above kernel is considered
#define DRV_NAME "wlan0"
static void rtl8192_init_priv_task(struct net_device* dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
#ifdef PF_SYNCTHREAD
priv->priv_wq = create_workqueue(DRV_NAME,0);
#else
priv->priv_wq = create_workqueue(DRV_NAME);
#endif
#ifdef ENABLE_IPS
INIT_WORK(&priv->ieee80211->ips_leave_wq, (void*)IPSLeave_wq);
#endif
// INIT_WORK(&priv->reset_wq, (void(*)(void*)) rtl8192_restart);
INIT_WORK(&priv->reset_wq, rtl8192_restart);
// INIT_DELAYED_WORK(&priv->watch_dog_wq, hal_dm_watchdog);
INIT_DELAYED_WORK(&priv->watch_dog_wq, rtl819x_watchdog_wqcallback);
INIT_DELAYED_WORK(&priv->txpower_tracking_wq, dm_txpower_trackingcallback);
INIT_DELAYED_WORK(&priv->rfpath_check_wq, dm_rf_pathcheck_workitemcallback);
INIT_DELAYED_WORK(&priv->update_beacon_wq, rtl8192_update_beacon);
//INIT_WORK(&priv->SwChnlWorkItem, rtl8192_SwChnl_WorkItem);
//INIT_WORK(&priv->SetBWModeWorkItem, rtl8192_SetBWModeWorkItem);
INIT_WORK(&priv->qos_activate, rtl8192_qos_activate);
INIT_DELAYED_WORK(&priv->ieee80211->hw_wakeup_wq,(void*) rtl8192_hw_wakeup_wq);
INIT_DELAYED_WORK(&priv->ieee80211->hw_sleep_wq,(void*) rtl8192_hw_sleep_wq);
tasklet_init(&priv->irq_rx_tasklet,
(void(*)(unsigned long))rtl8192_irq_rx_tasklet,
(unsigned long)priv);
tasklet_init(&priv->irq_tx_tasklet,
(void(*)(unsigned long))rtl8192_irq_tx_tasklet,
(unsigned long)priv);
tasklet_init(&priv->irq_prepare_beacon_tasklet,
(void(*)(unsigned long))rtl8192_prepare_beacon,
(unsigned long)priv);
}
static void rtl8192_get_eeprom_size(struct net_device* dev)
{
u16 curCR = 0;
struct r8192_priv *priv = ieee80211_priv(dev);
RT_TRACE(COMP_INIT, "===========>%s()\n", __FUNCTION__);
curCR = read_nic_dword(dev, EPROM_CMD);
RT_TRACE(COMP_INIT, "read from Reg Cmd9346CR(%x):%x\n", EPROM_CMD, curCR);
//whether need I consider BIT5?
priv->epromtype = (curCR & EPROM_CMD_9356SEL) ? EPROM_93c56 : EPROM_93c46;
RT_TRACE(COMP_INIT, "<===========%s(), epromtype:%d\n", __FUNCTION__, priv->epromtype);
}
//used to swap endian. as ntohl & htonl are not neccessary to swap endian, so use this instead.
static inline u16 endian_swap(u16* data)
{
u16 tmp = *data;
*data = (tmp >> 8) | (tmp << 8);
return *data;
}
/*
* Note: Adapter->EEPROMAddressSize should be set before this function call.
* EEPROM address size can be got through GetEEPROMSize8185()
*/
static void rtl8192_read_eeprom_info(struct net_device* dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
u8 tempval;
#ifdef RTL8192E
u8 ICVer8192, ICVer8256;
#endif
u16 i,usValue, IC_Version;
u16 EEPROMId;
#ifdef RTL8190P
u8 offset;//, tmpAFR;
u8 EepromTxPower[100];
#endif
u8 bMac_Tmp_Addr[6] = {0x00, 0xe0, 0x4c, 0x00, 0x00, 0x01};
RT_TRACE(COMP_INIT, "====> rtl8192_read_eeprom_info\n");
// TODO: I don't know if we need to apply EF function to EEPROM read function
//2 Read EEPROM ID to make sure autoload is success
EEPROMId = eprom_read(dev, 0);
if( EEPROMId != RTL8190_EEPROM_ID )
{
RT_TRACE(COMP_ERR, "EEPROM ID is invalid:%x, %x\n", EEPROMId, RTL8190_EEPROM_ID);
priv->AutoloadFailFlag=true;
}
else
{
priv->AutoloadFailFlag=false;
}
//
// Assign Chip Version ID
//
// Read IC Version && Channel Plan
if(!priv->AutoloadFailFlag)
{
// VID, PID
priv->eeprom_vid = eprom_read(dev, (EEPROM_VID >> 1));
priv->eeprom_did = eprom_read(dev, (EEPROM_DID >> 1));
usValue = eprom_read(dev, (u16)(EEPROM_Customer_ID>>1)) >> 8 ;
priv->eeprom_CustomerID = (u8)( usValue & 0xff);
usValue = eprom_read(dev, (EEPROM_ICVersion_ChannelPlan>>1));
priv->eeprom_ChannelPlan = usValue&0xff;
IC_Version = ((usValue&0xff00)>>8);
#ifdef RTL8190P
priv->card_8192_version = (VERSION_8190)(IC_Version);
#else
#ifdef RTL8192E
ICVer8192 = (IC_Version&0xf); //bit0~3; 1:A cut, 2:B cut, 3:C cut...
ICVer8256 = ((IC_Version&0xf0)>>4);//bit4~6, bit7 reserved for other RF chip; 1:A cut, 2:B cut, 3:C cut...
RT_TRACE(COMP_INIT, "\nICVer8192 = 0x%x\n", ICVer8192);
RT_TRACE(COMP_INIT, "\nICVer8256 = 0x%x\n", ICVer8256);
if(ICVer8192 == 0x2) //B-cut
{
if(ICVer8256 == 0x5) //E-cut
priv->card_8192_version= VERSION_8190_BE;
}
#endif
#endif
switch(priv->card_8192_version)
{
case VERSION_8190_BD:
case VERSION_8190_BE:
break;
default:
priv->card_8192_version = VERSION_8190_BD;
break;
}
RT_TRACE(COMP_INIT, "\nIC Version = 0x%x\n", priv->card_8192_version);
}
else
{
priv->card_8192_version = VERSION_8190_BD;
priv->eeprom_vid = 0;
priv->eeprom_did = 0;
priv->eeprom_CustomerID = 0;
priv->eeprom_ChannelPlan = 0;
RT_TRACE(COMP_INIT, "\nIC Version = 0x%x\n", 0xff);
}
RT_TRACE(COMP_INIT, "EEPROM VID = 0x%4x\n", priv->eeprom_vid);
RT_TRACE(COMP_INIT, "EEPROM DID = 0x%4x\n", priv->eeprom_did);
RT_TRACE(COMP_INIT,"EEPROM Customer ID: 0x%2x\n", priv->eeprom_CustomerID);
//2 Read Permanent MAC address
if(!priv->AutoloadFailFlag)
{
for(i = 0; i < 6; i += 2)
{
usValue = eprom_read(dev, (u16) ((EEPROM_NODE_ADDRESS_BYTE_0+i)>>1));
*(u16*)(&dev->dev_addr[i]) = usValue;
}
} else {
// when auto load failed, the last address byte set to be a random one.
// added by david woo.2007/11/7
memcpy(dev->dev_addr, bMac_Tmp_Addr, 6);
}
RT_TRACE(COMP_INIT, "Permanent Address = %pM\n", dev->dev_addr);
//2 TX Power Check EEPROM Fail or not
if(priv->card_8192_version > VERSION_8190_BD) {
priv->bTXPowerDataReadFromEEPORM = true;
} else {
priv->bTXPowerDataReadFromEEPORM = false;
}
// 2007/11/15 MH 8190PCI Default=2T4R, 8192PCIE default=1T2R
priv->rf_type = RTL819X_DEFAULT_RF_TYPE;
if(priv->card_8192_version > VERSION_8190_BD)
{
// Read RF-indication and Tx Power gain index diff of legacy to HT OFDM rate.
if(!priv->AutoloadFailFlag)
{
tempval = (eprom_read(dev, (EEPROM_RFInd_PowerDiff>>1))) & 0xff;
priv->EEPROMLegacyHTTxPowerDiff = tempval & 0xf; // bit[3:0]
if (tempval&0x80) //RF-indication, bit[7]
priv->rf_type = RF_1T2R;
else
priv->rf_type = RF_2T4R;
}
else
{
priv->EEPROMLegacyHTTxPowerDiff = EEPROM_Default_LegacyHTTxPowerDiff;
}
RT_TRACE(COMP_INIT, "EEPROMLegacyHTTxPowerDiff = %d\n",
priv->EEPROMLegacyHTTxPowerDiff);
// Read ThermalMeter from EEPROM
if(!priv->AutoloadFailFlag)
{
priv->EEPROMThermalMeter = (u8)(((eprom_read(dev, (EEPROM_ThermalMeter>>1))) & 0xff00)>>8);
}
else
{
priv->EEPROMThermalMeter = EEPROM_Default_ThermalMeter;
}
RT_TRACE(COMP_INIT, "ThermalMeter = %d\n", priv->EEPROMThermalMeter);
//vivi, for tx power track
priv->TSSI_13dBm = priv->EEPROMThermalMeter *100;
if(priv->epromtype == EPROM_93c46)
{
// Read antenna tx power offset of B/C/D to A and CrystalCap from EEPROM
if(!priv->AutoloadFailFlag)
{
usValue = eprom_read(dev, (EEPROM_TxPwDiff_CrystalCap>>1));
priv->EEPROMAntPwDiff = (usValue&0x0fff);
priv->EEPROMCrystalCap = (u8)((usValue&0xf000)>>12);
}
else
{
priv->EEPROMAntPwDiff = EEPROM_Default_AntTxPowerDiff;
priv->EEPROMCrystalCap = EEPROM_Default_TxPwDiff_CrystalCap;
}
RT_TRACE(COMP_INIT, "EEPROMAntPwDiff = %d\n", priv->EEPROMAntPwDiff);
RT_TRACE(COMP_INIT, "EEPROMCrystalCap = %d\n", priv->EEPROMCrystalCap);
//
// Get per-channel Tx Power Level
//
for(i=0; i<14; i+=2)
{
if(!priv->AutoloadFailFlag)
{
usValue = eprom_read(dev, (u16) ((EEPROM_TxPwIndex_CCK+i)>>1) );
}
else
{
usValue = EEPROM_Default_TxPower;
}
*((u16*)(&priv->EEPROMTxPowerLevelCCK[i])) = usValue;
RT_TRACE(COMP_INIT,"CCK Tx Power Level, Index %d = 0x%02x\n", i, priv->EEPROMTxPowerLevelCCK[i]);
RT_TRACE(COMP_INIT, "CCK Tx Power Level, Index %d = 0x%02x\n", i+1, priv->EEPROMTxPowerLevelCCK[i+1]);
}
for(i=0; i<14; i+=2)
{
if(!priv->AutoloadFailFlag)
{
usValue = eprom_read(dev, (u16) ((EEPROM_TxPwIndex_OFDM_24G+i)>>1) );
}
else
{
usValue = EEPROM_Default_TxPower;
}
*((u16*)(&priv->EEPROMTxPowerLevelOFDM24G[i])) = usValue;
RT_TRACE(COMP_INIT, "OFDM 2.4G Tx Power Level, Index %d = 0x%02x\n", i, priv->EEPROMTxPowerLevelOFDM24G[i]);
RT_TRACE(COMP_INIT, "OFDM 2.4G Tx Power Level, Index %d = 0x%02x\n", i+1, priv->EEPROMTxPowerLevelOFDM24G[i+1]);
}
}
else if(priv->epromtype== EPROM_93c56)
{
#ifdef RTL8190P
// Read CrystalCap from EEPROM
if(!priv->AutoloadFailFlag)
{
priv->EEPROMAntPwDiff = EEPROM_Default_AntTxPowerDiff;
priv->EEPROMCrystalCap = (u8)(((eprom_read(dev, (EEPROM_C56_CrystalCap>>1))) & 0xf000)>>12);
}
else
{
priv->EEPROMAntPwDiff = EEPROM_Default_AntTxPowerDiff;
priv->EEPROMCrystalCap = EEPROM_Default_TxPwDiff_CrystalCap;
}
RT_TRACE(COMP_INIT,"EEPROMAntPwDiff = %d\n", priv->EEPROMAntPwDiff);
RT_TRACE(COMP_INIT, "EEPROMCrystalCap = %d\n", priv->EEPROMCrystalCap);
// Get Tx Power Level by Channel
if(!priv->AutoloadFailFlag)
{
// Read Tx power of Channel 1 ~ 14 from EEPROM.
for(i = 0; i < 12; i+=2)
{
if (i <6)
offset = EEPROM_C56_RfA_CCK_Chnl1_TxPwIndex + i;
else
offset = EEPROM_C56_RfC_CCK_Chnl1_TxPwIndex + i - 6;
usValue = eprom_read(dev, (offset>>1));
*((u16*)(&EepromTxPower[i])) = usValue;
}
for(i = 0; i < 12; i++)
{
if (i <= 2)
priv->EEPROMRfACCKChnl1TxPwLevel[i] = EepromTxPower[i];
else if ((i >=3 )&&(i <= 5))
priv->EEPROMRfAOfdmChnlTxPwLevel[i-3] = EepromTxPower[i];
else if ((i >=6 )&&(i <= 8))
priv->EEPROMRfCCCKChnl1TxPwLevel[i-6] = EepromTxPower[i];
else
priv->EEPROMRfCOfdmChnlTxPwLevel[i-9] = EepromTxPower[i];
}
}
else
{
priv->EEPROMRfACCKChnl1TxPwLevel[0] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfACCKChnl1TxPwLevel[1] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfACCKChnl1TxPwLevel[2] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfAOfdmChnlTxPwLevel[0] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfAOfdmChnlTxPwLevel[1] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfAOfdmChnlTxPwLevel[2] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfCCCKChnl1TxPwLevel[0] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfCCCKChnl1TxPwLevel[1] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfCCCKChnl1TxPwLevel[2] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfCOfdmChnlTxPwLevel[0] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfCOfdmChnlTxPwLevel[1] = EEPROM_Default_TxPowerLevel;
priv->EEPROMRfCOfdmChnlTxPwLevel[2] = EEPROM_Default_TxPowerLevel;
}
RT_TRACE(COMP_INIT, "priv->EEPROMRfACCKChnl1TxPwLevel[0] = 0x%x\n", priv->EEPROMRfACCKChnl1TxPwLevel[0]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfACCKChnl1TxPwLevel[1] = 0x%x\n", priv->EEPROMRfACCKChnl1TxPwLevel[1]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfACCKChnl1TxPwLevel[2] = 0x%x\n", priv->EEPROMRfACCKChnl1TxPwLevel[2]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfAOfdmChnlTxPwLevel[0] = 0x%x\n", priv->EEPROMRfAOfdmChnlTxPwLevel[0]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfAOfdmChnlTxPwLevel[1] = 0x%x\n", priv->EEPROMRfAOfdmChnlTxPwLevel[1]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfAOfdmChnlTxPwLevel[2] = 0x%x\n", priv->EEPROMRfAOfdmChnlTxPwLevel[2]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfCCCKChnl1TxPwLevel[0] = 0x%x\n", priv->EEPROMRfCCCKChnl1TxPwLevel[0]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfCCCKChnl1TxPwLevel[1] = 0x%x\n", priv->EEPROMRfCCCKChnl1TxPwLevel[1]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfCCCKChnl1TxPwLevel[2] = 0x%x\n", priv->EEPROMRfCCCKChnl1TxPwLevel[2]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfCOfdmChnlTxPwLevel[0] = 0x%x\n", priv->EEPROMRfCOfdmChnlTxPwLevel[0]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfCOfdmChnlTxPwLevel[1] = 0x%x\n", priv->EEPROMRfCOfdmChnlTxPwLevel[1]);
RT_TRACE(COMP_INIT, "priv->EEPROMRfCOfdmChnlTxPwLevel[2] = 0x%x\n", priv->EEPROMRfCOfdmChnlTxPwLevel[2]);
#endif
}
//
// Update HAL variables.
//
if(priv->epromtype == EPROM_93c46)
{
for(i=0; i<14; i++)
{
priv->TxPowerLevelCCK[i] = priv->EEPROMTxPowerLevelCCK[i];
priv->TxPowerLevelOFDM24G[i] = priv->EEPROMTxPowerLevelOFDM24G[i];
}
priv->LegacyHTTxPowerDiff = priv->EEPROMLegacyHTTxPowerDiff;
// Antenna B gain offset to antenna A, bit0~3
priv->AntennaTxPwDiff[0] = (priv->EEPROMAntPwDiff & 0xf);
// Antenna C gain offset to antenna A, bit4~7
priv->AntennaTxPwDiff[1] = ((priv->EEPROMAntPwDiff & 0xf0)>>4);
// Antenna D gain offset to antenna A, bit8~11
priv->AntennaTxPwDiff[2] = ((priv->EEPROMAntPwDiff & 0xf00)>>8);
// CrystalCap, bit12~15
priv->CrystalCap = priv->EEPROMCrystalCap;
// ThermalMeter, bit0~3 for RFIC1, bit4~7 for RFIC2
priv->ThermalMeter[0] = (priv->EEPROMThermalMeter & 0xf);
priv->ThermalMeter[1] = ((priv->EEPROMThermalMeter & 0xf0)>>4);
}
else if(priv->epromtype == EPROM_93c56)
{
//char cck_pwr_diff_a=0, cck_pwr_diff_c=0;
//cck_pwr_diff_a = pHalData->EEPROMRfACCKChnl7TxPwLevel - pHalData->EEPROMRfAOfdmChnlTxPwLevel[1];
//cck_pwr_diff_c = pHalData->EEPROMRfCCCKChnl7TxPwLevel - pHalData->EEPROMRfCOfdmChnlTxPwLevel[1];
for(i=0; i<3; i++) // channel 1~3 use the same Tx Power Level.
{
priv->TxPowerLevelCCK_A[i] = priv->EEPROMRfACCKChnl1TxPwLevel[0];
priv->TxPowerLevelOFDM24G_A[i] = priv->EEPROMRfAOfdmChnlTxPwLevel[0];
priv->TxPowerLevelCCK_C[i] = priv->EEPROMRfCCCKChnl1TxPwLevel[0];
priv->TxPowerLevelOFDM24G_C[i] = priv->EEPROMRfCOfdmChnlTxPwLevel[0];
}
for(i=3; i<9; i++) // channel 4~9 use the same Tx Power Level
{
priv->TxPowerLevelCCK_A[i] = priv->EEPROMRfACCKChnl1TxPwLevel[1];
priv->TxPowerLevelOFDM24G_A[i] = priv->EEPROMRfAOfdmChnlTxPwLevel[1];
priv->TxPowerLevelCCK_C[i] = priv->EEPROMRfCCCKChnl1TxPwLevel[1];
priv->TxPowerLevelOFDM24G_C[i] = priv->EEPROMRfCOfdmChnlTxPwLevel[1];
}
for(i=9; i<14; i++) // channel 10~14 use the same Tx Power Level
{
priv->TxPowerLevelCCK_A[i] = priv->EEPROMRfACCKChnl1TxPwLevel[2];
priv->TxPowerLevelOFDM24G_A[i] = priv->EEPROMRfAOfdmChnlTxPwLevel[2];
priv->TxPowerLevelCCK_C[i] = priv->EEPROMRfCCCKChnl1TxPwLevel[2];
priv->TxPowerLevelOFDM24G_C[i] = priv->EEPROMRfCOfdmChnlTxPwLevel[2];
}
for(i=0; i<14; i++)
RT_TRACE(COMP_INIT, "priv->TxPowerLevelCCK_A[%d] = 0x%x\n", i, priv->TxPowerLevelCCK_A[i]);
for(i=0; i<14; i++)
RT_TRACE(COMP_INIT,"priv->TxPowerLevelOFDM24G_A[%d] = 0x%x\n", i, priv->TxPowerLevelOFDM24G_A[i]);
for(i=0; i<14; i++)
RT_TRACE(COMP_INIT, "priv->TxPowerLevelCCK_C[%d] = 0x%x\n", i, priv->TxPowerLevelCCK_C[i]);
for(i=0; i<14; i++)
RT_TRACE(COMP_INIT, "priv->TxPowerLevelOFDM24G_C[%d] = 0x%x\n", i, priv->TxPowerLevelOFDM24G_C[i]);
priv->LegacyHTTxPowerDiff = priv->EEPROMLegacyHTTxPowerDiff;
priv->AntennaTxPwDiff[0] = 0;
priv->AntennaTxPwDiff[1] = 0;
priv->AntennaTxPwDiff[2] = 0;
priv->CrystalCap = priv->EEPROMCrystalCap;
// ThermalMeter, bit0~3 for RFIC1, bit4~7 for RFIC2
priv->ThermalMeter[0] = (priv->EEPROMThermalMeter & 0xf);
priv->ThermalMeter[1] = ((priv->EEPROMThermalMeter & 0xf0)>>4);
}
}
if(priv->rf_type == RF_1T2R)
{
RT_TRACE(COMP_INIT, "\n1T2R config\n");
}
else if (priv->rf_type == RF_2T4R)
{
RT_TRACE(COMP_INIT, "\n2T4R config\n");
}
// 2008/01/16 MH We can only know RF type in the function. So we have to init
// DIG RATR table again.
init_rate_adaptive(dev);
//1 Make a copy for following variables and we can change them if we want
priv->rf_chip= RF_8256;
if(priv->RegChannelPlan == 0xf)
{
priv->ChannelPlan = priv->eeprom_ChannelPlan;
}
else
{
priv->ChannelPlan = priv->RegChannelPlan;
}
//
// Used PID and DID to Set CustomerID
//
if( priv->eeprom_vid == 0x1186 && priv->eeprom_did == 0x3304 )
{
priv->CustomerID = RT_CID_DLINK;
}
switch(priv->eeprom_CustomerID)
{
case EEPROM_CID_DEFAULT:
priv->CustomerID = RT_CID_DEFAULT;
break;
case EEPROM_CID_CAMEO:
priv->CustomerID = RT_CID_819x_CAMEO;
break;
case EEPROM_CID_RUNTOP:
priv->CustomerID = RT_CID_819x_RUNTOP;
break;
case EEPROM_CID_NetCore:
priv->CustomerID = RT_CID_819x_Netcore;
break;
case EEPROM_CID_TOSHIBA: // Merge by Jacken, 2008/01/31
priv->CustomerID = RT_CID_TOSHIBA;
if(priv->eeprom_ChannelPlan&0x80)
priv->ChannelPlan = priv->eeprom_ChannelPlan&0x7f;
else
priv->ChannelPlan = 0x0;
RT_TRACE(COMP_INIT, "Toshiba ChannelPlan = 0x%x\n",
priv->ChannelPlan);
break;
case EEPROM_CID_Nettronix:
priv->ScanDelay = 100; //cosa add for scan
priv->CustomerID = RT_CID_Nettronix;
break;
case EEPROM_CID_Pronet:
priv->CustomerID = RT_CID_PRONET;
break;
case EEPROM_CID_DLINK:
priv->CustomerID = RT_CID_DLINK;
break;
case EEPROM_CID_WHQL:
//Adapter->bInHctTest = TRUE;//do not supported
//priv->bSupportTurboMode = FALSE;
//priv->bAutoTurboBy8186 = FALSE;
//pMgntInfo->PowerSaveControl.bInactivePs = FALSE;
//pMgntInfo->PowerSaveControl.bIPSModeBackup = FALSE;
//pMgntInfo->PowerSaveControl.bLeisurePs = FALSE;
break;
default:
// value from RegCustomerID
break;
}
//Avoid the channel plan array overflow, by Bruce, 2007-08-27.
if(priv->ChannelPlan > CHANNEL_PLAN_LEN - 1)
priv->ChannelPlan = 0; //FCC
switch(priv->CustomerID)
{
case RT_CID_DEFAULT:
#ifdef RTL8190P
priv->LedStrategy = HW_LED;
#else
#ifdef RTL8192E
priv->LedStrategy = SW_LED_MODE1;
#endif
#endif
break;
case RT_CID_819x_CAMEO:
priv->LedStrategy = SW_LED_MODE2;
break;
case RT_CID_819x_RUNTOP:
priv->LedStrategy = SW_LED_MODE3;
break;
case RT_CID_819x_Netcore:
priv->LedStrategy = SW_LED_MODE4;
break;
case RT_CID_Nettronix:
priv->LedStrategy = SW_LED_MODE5;
break;
case RT_CID_PRONET:
priv->LedStrategy = SW_LED_MODE6;
break;
case RT_CID_TOSHIBA: //Modify by Jacken 2008/01/31
// Do nothing.
//break;
default:
#ifdef RTL8190P
priv->LedStrategy = HW_LED;
#else
#ifdef RTL8192E
priv->LedStrategy = SW_LED_MODE1;
#endif
#endif
break;
}
if( priv->eeprom_vid == 0x1186 && priv->eeprom_did == 0x3304)
priv->ieee80211->bSupportRemoteWakeUp = true;
else
priv->ieee80211->bSupportRemoteWakeUp = false;
RT_TRACE(COMP_INIT, "RegChannelPlan(%d)\n", priv->RegChannelPlan);
RT_TRACE(COMP_INIT, "ChannelPlan = %d \n", priv->ChannelPlan);
RT_TRACE(COMP_INIT, "LedStrategy = %d \n", priv->LedStrategy);
RT_TRACE(COMP_TRACE, "<==== ReadAdapterInfo\n");
return ;
}
static short rtl8192_get_channel_map(struct net_device * dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
#ifdef ENABLE_DOT11D
if(priv->ChannelPlan> COUNTRY_CODE_GLOBAL_DOMAIN){
printk("rtl8180_init:Error channel plan! Set to default.\n");
priv->ChannelPlan= 0;
}
RT_TRACE(COMP_INIT, "Channel plan is %d\n",priv->ChannelPlan);
rtl819x_set_channel_map(priv->ChannelPlan, priv);
#else
int ch,i;
//Set Default Channel Plan
if(!channels){
DMESG("No channels, aborting");
return -1;
}
ch=channels;
priv->ChannelPlan= 0;//hikaru
// set channels 1..14 allowed in given locale
for (i=1; i<=14; i++) {
(priv->ieee80211->channel_map)[i] = (u8)(ch & 0x01);
ch >>= 1;
}
#endif
return 0;
}
static short rtl8192_init(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
memset(&(priv->stats),0,sizeof(struct Stats));
rtl8192_init_priv_variable(dev);
rtl8192_init_priv_lock(priv);
rtl8192_init_priv_task(dev);
rtl8192_get_eeprom_size(dev);
rtl8192_read_eeprom_info(dev);
rtl8192_get_channel_map(dev);
init_hal_dm(dev);
init_timer(&priv->watch_dog_timer);
priv->watch_dog_timer.data = (unsigned long)dev;
priv->watch_dog_timer.function = watch_dog_timer_callback;
#if defined(IRQF_SHARED)
if(request_irq(dev->irq, (void*)rtl8192_interrupt, IRQF_SHARED, dev->name, dev)){
#else
if(request_irq(dev->irq, (void *)rtl8192_interrupt, SA_SHIRQ, dev->name, dev)){
#endif
printk("Error allocating IRQ %d",dev->irq);
return -1;
}else{
priv->irq=dev->irq;
printk("IRQ %d",dev->irq);
}
if(rtl8192_pci_initdescring(dev)!=0){
printk("Endopoints initialization failed");
return -1;
}
//rtl8192_rx_enable(dev);
//rtl8192_adapter_start(dev);
return 0;
}
/******************************************************************************
*function: This function actually only set RRSR, RATR and BW_OPMODE registers
* not to do all the hw config as its name says
* input: net_device dev
* output: none
* return: none
* notice: This part need to modified according to the rate set we filtered
* ****************************************************************************/
static void rtl8192_hwconfig(struct net_device* dev)
{
u32 regRATR = 0, regRRSR = 0;
u8 regBwOpMode = 0, regTmp = 0;
struct r8192_priv *priv = ieee80211_priv(dev);
// Set RRSR, RATR, and BW_OPMODE registers
//
switch(priv->ieee80211->mode)
{
case WIRELESS_MODE_B:
regBwOpMode = BW_OPMODE_20MHZ;
regRATR = RATE_ALL_CCK;
regRRSR = RATE_ALL_CCK;
break;
case WIRELESS_MODE_A:
regBwOpMode = BW_OPMODE_5G |BW_OPMODE_20MHZ;
regRATR = RATE_ALL_OFDM_AG;
regRRSR = RATE_ALL_OFDM_AG;
break;
case WIRELESS_MODE_G:
regBwOpMode = BW_OPMODE_20MHZ;
regRATR = RATE_ALL_CCK | RATE_ALL_OFDM_AG;
regRRSR = RATE_ALL_CCK | RATE_ALL_OFDM_AG;
break;
case WIRELESS_MODE_AUTO:
case WIRELESS_MODE_N_24G:
// It support CCK rate by default.
// CCK rate will be filtered out only when associated AP does not support it.
regBwOpMode = BW_OPMODE_20MHZ;
regRATR = RATE_ALL_CCK | RATE_ALL_OFDM_AG | RATE_ALL_OFDM_1SS | RATE_ALL_OFDM_2SS;
regRRSR = RATE_ALL_CCK | RATE_ALL_OFDM_AG;
break;
case WIRELESS_MODE_N_5G:
regBwOpMode = BW_OPMODE_5G;
regRATR = RATE_ALL_OFDM_AG | RATE_ALL_OFDM_1SS | RATE_ALL_OFDM_2SS;
regRRSR = RATE_ALL_OFDM_AG;
break;
}
write_nic_byte(dev, BW_OPMODE, regBwOpMode);
{
u32 ratr_value = 0;
ratr_value = regRATR;
if (priv->rf_type == RF_1T2R)
{
ratr_value &= ~(RATE_ALL_OFDM_2SS);
}
write_nic_dword(dev, RATR0, ratr_value);
write_nic_byte(dev, UFWP, 1);
}
regTmp = read_nic_byte(dev, 0x313);
regRRSR = ((regTmp) << 24) | (regRRSR & 0x00ffffff);
write_nic_dword(dev, RRSR, regRRSR);
//
// Set Retry Limit here
//
write_nic_word(dev, RETRY_LIMIT,
priv->ShortRetryLimit << RETRY_LIMIT_SHORT_SHIFT | \
priv->LongRetryLimit << RETRY_LIMIT_LONG_SHIFT);
// Set Contention Window here
// Set Tx AGC
// Set Tx Antenna including Feedback control
// Set Auto Rate fallback control
}
static RT_STATUS rtl8192_adapter_start(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
// struct ieee80211_device *ieee = priv->ieee80211;
u32 ulRegRead;
RT_STATUS rtStatus = RT_STATUS_SUCCESS;
// static char szMACPHYRegFile[] = RTL819X_PHY_MACPHY_REG;
// static char szMACPHYRegPGFile[] = RTL819X_PHY_MACPHY_REG_PG;
//u8 eRFPath;
u8 tmpvalue;
#ifdef RTL8192E
u8 ICVersion,SwitchingRegulatorOutput;
#endif
bool bfirmwareok = true;
#ifdef RTL8190P
u8 ucRegRead;
#endif
u32 tmpRegA, tmpRegC, TempCCk;
int i =0;
// u32 dwRegRead = 0;
RT_TRACE(COMP_INIT, "====>%s()\n", __FUNCTION__);
priv->being_init_adapter = true;
rtl8192_pci_resetdescring(dev);
// 2007/11/02 MH Before initalizing RF. We can not use FW to do RF-R/W.
priv->Rf_Mode = RF_OP_By_SW_3wire;
#ifdef RTL8192E
//dPLL on
if(priv->ResetProgress == RESET_TYPE_NORESET)
{
write_nic_byte(dev, ANAPAR, 0x37);
// Accordign to designer's explain, LBUS active will never > 10ms. We delay 10ms
// Joseph increae the time to prevent firmware download fail
mdelay(500);
}
#endif
//PlatformSleepUs(10000);
// For any kind of InitializeAdapter process, we shall use system now!!
priv->pFirmware->firmware_status = FW_STATUS_0_INIT;
// Set to eRfoff in order not to count receive count.
if(priv->RegRfOff == TRUE)
priv->ieee80211->eRFPowerState = eRfOff;
//
//3 //Config CPUReset Register
//3//
//3 Firmware Reset Or Not
ulRegRead = read_nic_dword(dev, CPU_GEN);
if(priv->pFirmware->firmware_status == FW_STATUS_0_INIT)
{ //called from MPInitialized. do nothing
ulRegRead |= CPU_GEN_SYSTEM_RESET;
}else if(priv->pFirmware->firmware_status == FW_STATUS_5_READY)
ulRegRead |= CPU_GEN_FIRMWARE_RESET; // Called from MPReset
else
RT_TRACE(COMP_ERR, "ERROR in %s(): undefined firmware state(%d)\n", __FUNCTION__, priv->pFirmware->firmware_status);
#ifdef RTL8190P
//2008.06.03, for WOL 90 hw bug
ulRegRead &= (~(CPU_GEN_GPIO_UART));
#endif
write_nic_dword(dev, CPU_GEN, ulRegRead);
//mdelay(100);
#ifdef RTL8192E
//3//
//3 //Fix the issue of E-cut high temperature issue
//3//
// TODO: E cut only
ICVersion = read_nic_byte(dev, IC_VERRSION);
if(ICVersion >= 0x4) //E-cut only
{
// HW SD suggest that we should not wirte this register too often, so driver
// should readback this register. This register will be modified only when
// power on reset
SwitchingRegulatorOutput = read_nic_byte(dev, SWREGULATOR);
if(SwitchingRegulatorOutput != 0xb8)
{
write_nic_byte(dev, SWREGULATOR, 0xa8);
mdelay(1);
write_nic_byte(dev, SWREGULATOR, 0xb8);
}
}
#endif
//3//
//3// Initialize BB before MAC
//3//
RT_TRACE(COMP_INIT, "BB Config Start!\n");
rtStatus = rtl8192_BBConfig(dev);
if(rtStatus != RT_STATUS_SUCCESS)
{
RT_TRACE(COMP_ERR, "BB Config failed\n");
return rtStatus;
}
RT_TRACE(COMP_INIT,"BB Config Finished!\n");
//3//Set Loopback mode or Normal mode
//3//
//2006.12.13 by emily. Note!We should not merge these two CPU_GEN register writings
// because setting of System_Reset bit reset MAC to default transmission mode.
//Loopback mode or not
priv->LoopbackMode = RTL819X_NO_LOOPBACK;
//priv->LoopbackMode = RTL819X_MAC_LOOPBACK;
if(priv->ResetProgress == RESET_TYPE_NORESET)
{
ulRegRead = read_nic_dword(dev, CPU_GEN);
if(priv->LoopbackMode == RTL819X_NO_LOOPBACK)
{
ulRegRead = ((ulRegRead & CPU_GEN_NO_LOOPBACK_MSK) | CPU_GEN_NO_LOOPBACK_SET);
}
else if (priv->LoopbackMode == RTL819X_MAC_LOOPBACK )
{
ulRegRead |= CPU_CCK_LOOPBACK;
}
else
{
RT_TRACE(COMP_ERR,"Serious error: wrong loopback mode setting\n");
}
//2008.06.03, for WOL
//ulRegRead &= (~(CPU_GEN_GPIO_UART));
write_nic_dword(dev, CPU_GEN, ulRegRead);
// 2006.11.29. After reset cpu, we sholud wait for a second, otherwise, it may fail to write registers. Emily
udelay(500);
}
//3Set Hardware(Do nothing now)
rtl8192_hwconfig(dev);
//2=======================================================
// Common Setting for all of the FPGA platform. (part 1)
//2=======================================================
// If there is changes, please make sure it applies to all of the FPGA version
//3 Turn on Tx/Rx
write_nic_byte(dev, CMDR, CR_RE|CR_TE);
//2Set Tx dma burst
#ifdef RTL8190P
write_nic_byte(dev, PCIF, ((MXDMA2_NoLimit<<MXDMA2_RX_SHIFT) | \
(MXDMA2_NoLimit<<MXDMA2_TX_SHIFT) | \
(1<<MULRW_SHIFT)));
#else
#ifdef RTL8192E
write_nic_byte(dev, PCIF, ((MXDMA2_NoLimit<<MXDMA2_RX_SHIFT) |\
(MXDMA2_NoLimit<<MXDMA2_TX_SHIFT) ));
#endif
#endif
//set IDR0 here
write_nic_dword(dev, MAC0, ((u32*)dev->dev_addr)[0]);
write_nic_word(dev, MAC4, ((u16*)(dev->dev_addr + 4))[0]);
//set RCR
write_nic_dword(dev, RCR, priv->ReceiveConfig);
//3 Initialize Number of Reserved Pages in Firmware Queue
#ifdef TO_DO_LIST
if(priv->bInHctTest)
{
PlatformEFIOWrite4Byte(Adapter, RQPN1, NUM_OF_PAGE_IN_FW_QUEUE_BK_DTM << RSVD_FW_QUEUE_PAGE_BK_SHIFT |\
NUM_OF_PAGE_IN_FW_QUEUE_BE_DTM << RSVD_FW_QUEUE_PAGE_BE_SHIFT | \
NUM_OF_PAGE_IN_FW_QUEUE_VI_DTM << RSVD_FW_QUEUE_PAGE_VI_SHIFT | \
NUM_OF_PAGE_IN_FW_QUEUE_VO_DTM <<RSVD_FW_QUEUE_PAGE_VO_SHIFT);
PlatformEFIOWrite4Byte(Adapter, RQPN2, NUM_OF_PAGE_IN_FW_QUEUE_MGNT << RSVD_FW_QUEUE_PAGE_MGNT_SHIFT);
PlatformEFIOWrite4Byte(Adapter, RQPN3, APPLIED_RESERVED_QUEUE_IN_FW| \
NUM_OF_PAGE_IN_FW_QUEUE_BCN<<RSVD_FW_QUEUE_PAGE_BCN_SHIFT|\
NUM_OF_PAGE_IN_FW_QUEUE_PUB_DTM<<RSVD_FW_QUEUE_PAGE_PUB_SHIFT);
}
else
#endif
{
write_nic_dword(dev, RQPN1, NUM_OF_PAGE_IN_FW_QUEUE_BK << RSVD_FW_QUEUE_PAGE_BK_SHIFT |\
NUM_OF_PAGE_IN_FW_QUEUE_BE << RSVD_FW_QUEUE_PAGE_BE_SHIFT | \
NUM_OF_PAGE_IN_FW_QUEUE_VI << RSVD_FW_QUEUE_PAGE_VI_SHIFT | \
NUM_OF_PAGE_IN_FW_QUEUE_VO <<RSVD_FW_QUEUE_PAGE_VO_SHIFT);
write_nic_dword(dev, RQPN2, NUM_OF_PAGE_IN_FW_QUEUE_MGNT << RSVD_FW_QUEUE_PAGE_MGNT_SHIFT);
write_nic_dword(dev, RQPN3, APPLIED_RESERVED_QUEUE_IN_FW| \
NUM_OF_PAGE_IN_FW_QUEUE_BCN<<RSVD_FW_QUEUE_PAGE_BCN_SHIFT|\
NUM_OF_PAGE_IN_FW_QUEUE_PUB<<RSVD_FW_QUEUE_PAGE_PUB_SHIFT);
}
rtl8192_tx_enable(dev);
rtl8192_rx_enable(dev);
//3Set Response Rate Setting Register
// CCK rate is supported by default.
// CCK rate will be filtered out only when associated AP does not support it.
ulRegRead = (0xFFF00000 & read_nic_dword(dev, RRSR)) | RATE_ALL_OFDM_AG | RATE_ALL_CCK;
write_nic_dword(dev, RRSR, ulRegRead);
write_nic_dword(dev, RATR0+4*7, (RATE_ALL_OFDM_AG | RATE_ALL_CCK));
//2Set AckTimeout
// TODO: (it value is only for FPGA version). need to be changed!!2006.12.18, by Emily
write_nic_byte(dev, ACK_TIMEOUT, 0x30);
//rtl8192_actset_wirelessmode(dev,priv->RegWirelessMode);
if(priv->ResetProgress == RESET_TYPE_NORESET)
rtl8192_SetWirelessMode(dev, priv->ieee80211->mode);
//-----------------------------------------------------------------------------
// Set up security related. 070106, by rcnjko:
// 1. Clear all H/W keys.
// 2. Enable H/W encryption/decryption.
//-----------------------------------------------------------------------------
CamResetAllEntry(dev);
{
u8 SECR_value = 0x0;
SECR_value |= SCR_TxEncEnable;
SECR_value |= SCR_RxDecEnable;
SECR_value |= SCR_NoSKMC;
write_nic_byte(dev, SECR, SECR_value);
}
//3Beacon related
write_nic_word(dev, ATIMWND, 2);
write_nic_word(dev, BCN_INTERVAL, 100);
for (i=0; i<QOS_QUEUE_NUM; i++)
write_nic_dword(dev, WDCAPARA_ADD[i], 0x005e4332);
//
// Switching regulator controller: This is set temporarily.
// It's not sure if this can be removed in the future.
// PJ advised to leave it by default.
//
write_nic_byte(dev, 0xbe, 0xc0);
//2=======================================================
// Set PHY related configuration defined in MAC register bank
//2=======================================================
rtl8192_phy_configmac(dev);
if (priv->card_8192_version > (u8) VERSION_8190_BD) {
rtl8192_phy_getTxPower(dev);
rtl8192_phy_setTxPower(dev, priv->chan);
}
//if D or C cut
tmpvalue = read_nic_byte(dev, IC_VERRSION);
priv->IC_Cut = tmpvalue;
RT_TRACE(COMP_INIT, "priv->IC_Cut = 0x%x\n", priv->IC_Cut);
if(priv->IC_Cut >= IC_VersionCut_D)
{
//pHalData->bDcut = TRUE;
if(priv->IC_Cut == IC_VersionCut_D)
RT_TRACE(COMP_INIT, "D-cut\n");
if(priv->IC_Cut == IC_VersionCut_E)
{
RT_TRACE(COMP_INIT, "E-cut\n");
// HW SD suggest that we should not wirte this register too often, so driver
// should readback this register. This register will be modified only when
// power on reset
}
}
else
{
//pHalData->bDcut = FALSE;
RT_TRACE(COMP_INIT, "Before C-cut\n");
}
//Firmware download
RT_TRACE(COMP_INIT, "Load Firmware!\n");
bfirmwareok = init_firmware(dev);
if(bfirmwareok != true) {
rtStatus = RT_STATUS_FAILURE;
return rtStatus;
}
RT_TRACE(COMP_INIT, "Load Firmware finished!\n");
//RF config
if(priv->ResetProgress == RESET_TYPE_NORESET)
{
RT_TRACE(COMP_INIT, "RF Config Started!\n");
rtStatus = rtl8192_phy_RFConfig(dev);
if(rtStatus != RT_STATUS_SUCCESS)
{
RT_TRACE(COMP_ERR, "RF Config failed\n");
return rtStatus;
}
RT_TRACE(COMP_INIT, "RF Config Finished!\n");
}
rtl8192_phy_updateInitGain(dev);
/*---- Set CCK and OFDM Block "ON"----*/
rtl8192_setBBreg(dev, rFPGA0_RFMOD, bCCKEn, 0x1);
rtl8192_setBBreg(dev, rFPGA0_RFMOD, bOFDMEn, 0x1);
#ifdef RTL8192E
//Enable Led
write_nic_byte(dev, 0x87, 0x0);
#endif
#ifdef RTL8190P
//2008.06.03, for WOL
ucRegRead = read_nic_byte(dev, GPE);
ucRegRead |= BIT0;
write_nic_byte(dev, GPE, ucRegRead);
ucRegRead = read_nic_byte(dev, GPO);
ucRegRead &= ~BIT0;
write_nic_byte(dev, GPO, ucRegRead);
#endif
//2=======================================================
// RF Power Save
//2=======================================================
#ifdef ENABLE_IPS
{
if(priv->RegRfOff == TRUE)
{ // User disable RF via registry.
RT_TRACE((COMP_INIT|COMP_RF|COMP_POWER), "%s(): Turn off RF for RegRfOff ----------\n",__FUNCTION__);
MgntActSet_RF_State(dev, eRfOff, RF_CHANGE_BY_SW);
}
else if(priv->ieee80211->RfOffReason > RF_CHANGE_BY_PS)
{ // H/W or S/W RF OFF before sleep.
RT_TRACE((COMP_INIT|COMP_RF|COMP_POWER), "%s(): Turn off RF for RfOffReason(%d) ----------\n", __FUNCTION__,priv->ieee80211->RfOffReason);
MgntActSet_RF_State(dev, eRfOff, priv->ieee80211->RfOffReason);
}
else if(priv->ieee80211->RfOffReason >= RF_CHANGE_BY_IPS)
{ // H/W or S/W RF OFF before sleep.
RT_TRACE((COMP_INIT|COMP_RF|COMP_POWER), "%s(): Turn off RF for RfOffReason(%d) ----------\n", __FUNCTION__,priv->ieee80211->RfOffReason);
MgntActSet_RF_State(dev, eRfOff, priv->ieee80211->RfOffReason);
}
else
{
RT_TRACE((COMP_INIT|COMP_RF|COMP_POWER), "%s(): RF-ON \n",__FUNCTION__);
priv->ieee80211->eRFPowerState = eRfOn;
priv->ieee80211->RfOffReason = 0;
//DrvIFIndicateCurrentPhyStatus(Adapter);
// LED control
//Adapter->HalFunc.LedControlHandler(Adapter, LED_CTL_POWER_ON);
//
// If inactive power mode is enabled, disable rf while in disconnected state.
// But we should still tell upper layer we are in rf on state.
// 2007.07.16, by shien chang.
//
//if(!Adapter->bInHctTest)
//IPSEnter(Adapter);
}
}
#endif
if(1){
#ifdef RTL8192E
// We can force firmware to do RF-R/W
if(priv->ieee80211->FwRWRF)
priv->Rf_Mode = RF_OP_By_FW;
else
priv->Rf_Mode = RF_OP_By_SW_3wire;
#else
priv->Rf_Mode = RF_OP_By_SW_3wire;
#endif
}
#ifdef RTL8190P
if(priv->ResetProgress == RESET_TYPE_NORESET)
{
dm_initialize_txpower_tracking(dev);
tmpRegA= rtl8192_QueryBBReg(dev,rOFDM0_XATxIQImbalance,bMaskDWord);
tmpRegC= rtl8192_QueryBBReg(dev,rOFDM0_XCTxIQImbalance,bMaskDWord);
if(priv->rf_type == RF_2T4R){
for(i = 0; i<TxBBGainTableLength; i++)
{
if(tmpRegA == priv->txbbgain_table[i].txbbgain_value)
{
priv->rfa_txpowertrackingindex= (u8)i;
priv->rfa_txpowertrackingindex_real= (u8)i;
priv->rfa_txpowertracking_default = priv->rfa_txpowertrackingindex;
break;
}
}
}
for(i = 0; i<TxBBGainTableLength; i++)
{
if(tmpRegC == priv->txbbgain_table[i].txbbgain_value)
{
priv->rfc_txpowertrackingindex= (u8)i;
priv->rfc_txpowertrackingindex_real= (u8)i;
priv->rfc_txpowertracking_default = priv->rfc_txpowertrackingindex;
break;
}
}
TempCCk = rtl8192_QueryBBReg(dev, rCCK0_TxFilter1, bMaskByte2);
for(i=0 ; i<CCKTxBBGainTableLength ; i++)
{
if(TempCCk == priv->cck_txbbgain_table[i].ccktxbb_valuearray[0])
{
priv->CCKPresentAttentuation_20Mdefault =(u8) i;
break;
}
}
priv->CCKPresentAttentuation_40Mdefault = 0;
priv->CCKPresentAttentuation_difference = 0;
priv->CCKPresentAttentuation = priv->CCKPresentAttentuation_20Mdefault;
RT_TRACE(COMP_POWER_TRACKING, "priv->rfa_txpowertrackingindex_initial = %d\n", priv->rfa_txpowertrackingindex);
RT_TRACE(COMP_POWER_TRACKING, "priv->rfa_txpowertrackingindex_real__initial = %d\n", priv->rfa_txpowertrackingindex_real);
RT_TRACE(COMP_POWER_TRACKING, "priv->rfc_txpowertrackingindex_initial = %d\n", priv->rfc_txpowertrackingindex);
RT_TRACE(COMP_POWER_TRACKING, "priv->rfc_txpowertrackingindex_real_initial = %d\n", priv->rfc_txpowertrackingindex_real);
RT_TRACE(COMP_POWER_TRACKING, "priv->CCKPresentAttentuation_difference_initial = %d\n", priv->CCKPresentAttentuation_difference);
RT_TRACE(COMP_POWER_TRACKING, "priv->CCKPresentAttentuation_initial = %d\n", priv->CCKPresentAttentuation);
}
#else
#ifdef RTL8192E
if(priv->ResetProgress == RESET_TYPE_NORESET)
{
dm_initialize_txpower_tracking(dev);
if(priv->IC_Cut >= IC_VersionCut_D)
{
tmpRegA= rtl8192_QueryBBReg(dev,rOFDM0_XATxIQImbalance,bMaskDWord);
tmpRegC= rtl8192_QueryBBReg(dev,rOFDM0_XCTxIQImbalance,bMaskDWord);
for(i = 0; i<TxBBGainTableLength; i++)
{
if(tmpRegA == priv->txbbgain_table[i].txbbgain_value)
{
priv->rfa_txpowertrackingindex= (u8)i;
priv->rfa_txpowertrackingindex_real= (u8)i;
priv->rfa_txpowertracking_default = priv->rfa_txpowertrackingindex;
break;
}
}
TempCCk = rtl8192_QueryBBReg(dev, rCCK0_TxFilter1, bMaskByte2);
for(i=0 ; i<CCKTxBBGainTableLength ; i++)
{
if(TempCCk == priv->cck_txbbgain_table[i].ccktxbb_valuearray[0])
{
priv->CCKPresentAttentuation_20Mdefault =(u8) i;
break;
}
}
priv->CCKPresentAttentuation_40Mdefault = 0;
priv->CCKPresentAttentuation_difference = 0;
priv->CCKPresentAttentuation = priv->CCKPresentAttentuation_20Mdefault;
RT_TRACE(COMP_POWER_TRACKING, "priv->rfa_txpowertrackingindex_initial = %d\n", priv->rfa_txpowertrackingindex);
RT_TRACE(COMP_POWER_TRACKING, "priv->rfa_txpowertrackingindex_real__initial = %d\n", priv->rfa_txpowertrackingindex_real);
RT_TRACE(COMP_POWER_TRACKING, "priv->CCKPresentAttentuation_difference_initial = %d\n", priv->CCKPresentAttentuation_difference);
RT_TRACE(COMP_POWER_TRACKING, "priv->CCKPresentAttentuation_initial = %d\n", priv->CCKPresentAttentuation);
priv->btxpower_tracking = FALSE;//TEMPLY DISABLE
}
}
#endif
#endif
rtl8192_irq_enable(dev);
priv->being_init_adapter = false;
return rtStatus;
}
static void rtl8192_prepare_beacon(struct r8192_priv *priv)
{
struct sk_buff *skb;
//unsigned long flags;
cb_desc *tcb_desc;
skb = ieee80211_get_beacon(priv->ieee80211);
tcb_desc = (cb_desc *)(skb->cb + 8);
//printk("===========> %s\n", __FUNCTION__);
//spin_lock_irqsave(&priv->tx_lock,flags);
/* prepare misc info for the beacon xmit */
tcb_desc->queue_index = BEACON_QUEUE;
/* IBSS does not support HT yet, use 1M defaultly */
tcb_desc->data_rate = 2;
tcb_desc->RATRIndex = 7;
tcb_desc->bTxDisableRateFallBack = 1;
tcb_desc->bTxUseDriverAssingedRate = 1;
skb_push(skb, priv->ieee80211->tx_headroom);
if(skb){
rtl8192_tx(priv->ieee80211->dev,skb);
}
//spin_unlock_irqrestore (&priv->tx_lock, flags);
}
/* this configures registers for beacon tx and enables it via
* rtl8192_beacon_tx_enable(). rtl8192_beacon_tx_disable() might
* be used to stop beacon transmission
*/
static void rtl8192_start_beacon(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
struct ieee80211_network *net = &priv->ieee80211->current_network;
u16 BcnTimeCfg = 0;
u16 BcnCW = 6;
u16 BcnIFS = 0xf;
DMESG("Enabling beacon TX");
//rtl8192_prepare_beacon(dev);
rtl8192_irq_disable(dev);
//rtl8192_beacon_tx_enable(dev);
/* ATIM window */
write_nic_word(dev, ATIMWND, 2);
/* Beacon interval (in unit of TU) */
write_nic_word(dev, BCN_INTERVAL, net->beacon_interval);
/*
* DrvErlyInt (in unit of TU).
* (Time to send interrupt to notify driver to c
* hange beacon content)
* */
write_nic_word(dev, BCN_DRV_EARLY_INT, 10);
/*
* BcnDMATIM(in unit of us).
* Indicates the time before TBTT to perform beacon queue DMA
* */
write_nic_word(dev, BCN_DMATIME, 256);
/*
* Force beacon frame transmission even after receiving
* beacon frame from other ad hoc STA
* */
write_nic_byte(dev, BCN_ERR_THRESH, 100);
/* Set CW and IFS */
BcnTimeCfg |= BcnCW<<BCN_TCFG_CW_SHIFT;
BcnTimeCfg |= BcnIFS<<BCN_TCFG_IFS;
write_nic_word(dev, BCN_TCFG, BcnTimeCfg);
/* enable the interrupt for ad-hoc process */
rtl8192_irq_enable(dev);
}
/***************************************************************************
-------------------------------NET STUFF---------------------------
***************************************************************************/
static bool HalTxCheckStuck8190Pci(struct net_device *dev)
{
u16 RegTxCounter = read_nic_word(dev, 0x128);
struct r8192_priv *priv = ieee80211_priv(dev);
bool bStuck = FALSE;
RT_TRACE(COMP_RESET,"%s():RegTxCounter is %d,TxCounter is %d\n",__FUNCTION__,RegTxCounter,priv->TxCounter);
if(priv->TxCounter==RegTxCounter)
bStuck = TRUE;
priv->TxCounter = RegTxCounter;
return bStuck;
}
/*
* <Assumption: RT_TX_SPINLOCK is acquired.>
* First added: 2006.11.19 by emily
*/
static RESET_TYPE
TxCheckStuck(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
u8 QueueID;
ptx_ring head=NULL,tail=NULL,txring = NULL;
u8 ResetThreshold = NIC_SEND_HANG_THRESHOLD_POWERSAVE;
bool bCheckFwTxCnt = false;
//unsigned long flags;
//
// Decide Stuch threshold according to current power save mode
//
//printk("++++++++++++>%s()\n",__FUNCTION__);
switch (priv->ieee80211->dot11PowerSaveMode)
{
// The threshold value may required to be adjusted .
case eActive: // Active/Continuous access.
ResetThreshold = NIC_SEND_HANG_THRESHOLD_NORMAL;
break;
case eMaxPs: // Max power save mode.
ResetThreshold = NIC_SEND_HANG_THRESHOLD_POWERSAVE;
break;
case eFastPs: // Fast power save mode.
ResetThreshold = NIC_SEND_HANG_THRESHOLD_POWERSAVE;
break;
}
//
// Check whether specific tcb has been queued for a specific time
//
for(QueueID = 0; QueueID < MAX_TX_QUEUE; QueueID++)
{
if(QueueID == TXCMD_QUEUE)
continue;
switch(QueueID) {
case MGNT_QUEUE:
tail=priv->txmapringtail;
head=priv->txmapringhead;
break;
case BK_QUEUE:
tail=priv->txbkpringtail;
head=priv->txbkpringhead;
break;
case BE_QUEUE:
tail=priv->txbepringtail;
head=priv->txbepringhead;
break;
case VI_QUEUE:
tail=priv->txvipringtail;
head=priv->txvipringhead;
break;
case VO_QUEUE:
tail=priv->txvopringtail;
head=priv->txvopringhead;
break;
default:
tail=head=NULL;
break;
}
if(tail == head)
continue;
else
{
txring = head;
if(txring == NULL)
{
RT_TRACE(COMP_ERR,"%s():txring is NULL , BUG!\n",__FUNCTION__);
continue;
}
txring->nStuckCount++;
bCheckFwTxCnt = TRUE;
}
}
if(bCheckFwTxCnt)
{
if(HalTxCheckStuck8190Pci(dev))
{
RT_TRACE(COMP_RESET, "TxCheckStuck(): Fw indicates no Tx condition! \n");
return RESET_TYPE_SILENT;
}
}
return RESET_TYPE_NORESET;
}
static bool HalRxCheckStuck8190Pci(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
u16 RegRxCounter = read_nic_word(dev, 0x130);
bool bStuck = FALSE;
static u8 rx_chk_cnt = 0;
RT_TRACE(COMP_RESET,"%s(): RegRxCounter is %d,RxCounter is %d\n",__FUNCTION__,RegRxCounter,priv->RxCounter);
// If rssi is small, we should check rx for long time because of bad rx.
// or maybe it will continuous silent reset every 2 seconds.
rx_chk_cnt++;
if(priv->undecorated_smoothed_pwdb >= (RateAdaptiveTH_High+5))
{
rx_chk_cnt = 0; //high rssi, check rx stuck right now.
}
else if(priv->undecorated_smoothed_pwdb < (RateAdaptiveTH_High+5) &&
((priv->CurrentChannelBW!=HT_CHANNEL_WIDTH_20&&priv->undecorated_smoothed_pwdb>=RateAdaptiveTH_Low_40M) ||
(priv->CurrentChannelBW==HT_CHANNEL_WIDTH_20&&priv->undecorated_smoothed_pwdb>=RateAdaptiveTH_Low_20M)) )
{
if(rx_chk_cnt < 2)
{
return bStuck;
}
else
{
rx_chk_cnt = 0;
}
}
else if(((priv->CurrentChannelBW!=HT_CHANNEL_WIDTH_20&&priv->undecorated_smoothed_pwdb<RateAdaptiveTH_Low_40M) ||
(priv->CurrentChannelBW==HT_CHANNEL_WIDTH_20&&priv->undecorated_smoothed_pwdb<RateAdaptiveTH_Low_20M)) &&
priv->undecorated_smoothed_pwdb >= VeryLowRSSI)
{
if(rx_chk_cnt < 4)
{
//DbgPrint("RSSI < %d && RSSI >= %d, no check this time \n", RateAdaptiveTH_Low, VeryLowRSSI);
return bStuck;
}
else
{
rx_chk_cnt = 0;
//DbgPrint("RSSI < %d && RSSI >= %d, check this time \n", RateAdaptiveTH_Low, VeryLowRSSI);
}
}
else
{
if(rx_chk_cnt < 8)
{
//DbgPrint("RSSI <= %d, no check this time \n", VeryLowRSSI);
return bStuck;
}
else
{
rx_chk_cnt = 0;
//DbgPrint("RSSI <= %d, check this time \n", VeryLowRSSI);
}
}
if(priv->RxCounter==RegRxCounter)
bStuck = TRUE;
priv->RxCounter = RegRxCounter;
return bStuck;
}
static RESET_TYPE RxCheckStuck(struct net_device *dev)
{
if(HalRxCheckStuck8190Pci(dev))
{
RT_TRACE(COMP_RESET, "RxStuck Condition\n");
return RESET_TYPE_SILENT;
}
return RESET_TYPE_NORESET;
}
static RESET_TYPE
rtl819x_ifcheck_resetornot(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
RESET_TYPE TxResetType = RESET_TYPE_NORESET;
RESET_TYPE RxResetType = RESET_TYPE_NORESET;
RT_RF_POWER_STATE rfState;
rfState = priv->ieee80211->eRFPowerState;
TxResetType = TxCheckStuck(dev);
if( rfState != eRfOff &&
/*ADAPTER_TEST_STATUS_FLAG(Adapter, ADAPTER_STATUS_FW_DOWNLOAD_FAILURE)) &&*/
(priv->ieee80211->iw_mode != IW_MODE_ADHOC))
{
// If driver is in the status of firmware download failure , driver skips RF initialization and RF is
// in turned off state. Driver should check whether Rx stuck and do silent reset. And
// if driver is in firmware download failure status, driver should initialize RF in the following
// silent reset procedure Emily, 2008.01.21
// Driver should not check RX stuck in IBSS mode because it is required to
// set Check BSSID in order to send beacon, however, if check BSSID is
// set, STA cannot hear any packet a all. Emily, 2008.04.12
RxResetType = RxCheckStuck(dev);
}
RT_TRACE(COMP_RESET,"%s(): TxResetType is %d, RxResetType is %d\n",__FUNCTION__,TxResetType,RxResetType);
if(TxResetType==RESET_TYPE_NORMAL || RxResetType==RESET_TYPE_NORMAL)
return RESET_TYPE_NORMAL;
else if(TxResetType==RESET_TYPE_SILENT || RxResetType==RESET_TYPE_SILENT)
return RESET_TYPE_SILENT;
else
return RESET_TYPE_NORESET;
}
static void CamRestoreAllEntry(struct net_device *dev)
{
u8 EntryId = 0;
struct r8192_priv *priv = ieee80211_priv(dev);
const u8* MacAddr = priv->ieee80211->current_network.bssid;
static const u8 CAM_CONST_ADDR[4][6] = {
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x03}};
static const u8 CAM_CONST_BROAD[] =
{0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
RT_TRACE(COMP_SEC, "CamRestoreAllEntry: \n");
if ((priv->ieee80211->pairwise_key_type == KEY_TYPE_WEP40)||
(priv->ieee80211->pairwise_key_type == KEY_TYPE_WEP104))
{
for(EntryId=0; EntryId<4; EntryId++)
{
{
MacAddr = CAM_CONST_ADDR[EntryId];
setKey(dev,
EntryId ,
EntryId,
priv->ieee80211->pairwise_key_type,
MacAddr,
0,
NULL);
}
}
}
else if(priv->ieee80211->pairwise_key_type == KEY_TYPE_TKIP)
{
{
if(priv->ieee80211->iw_mode == IW_MODE_ADHOC)
setKey(dev,
4,
0,
priv->ieee80211->pairwise_key_type,
(u8*)dev->dev_addr,
0,
NULL);
else
setKey(dev,
4,
0,
priv->ieee80211->pairwise_key_type,
MacAddr,
0,
NULL);
}
}
else if(priv->ieee80211->pairwise_key_type == KEY_TYPE_CCMP)
{
{
if(priv->ieee80211->iw_mode == IW_MODE_ADHOC)
setKey(dev,
4,
0,
priv->ieee80211->pairwise_key_type,
(u8*)dev->dev_addr,
0,
NULL);
else
setKey(dev,
4,
0,
priv->ieee80211->pairwise_key_type,
MacAddr,
0,
NULL);
}
}
if(priv->ieee80211->group_key_type == KEY_TYPE_TKIP)
{
MacAddr = CAM_CONST_BROAD;
for(EntryId=1 ; EntryId<4 ; EntryId++)
{
{
setKey(dev,
EntryId,
EntryId,
priv->ieee80211->group_key_type,
MacAddr,
0,
NULL);
}
}
if(priv->ieee80211->iw_mode == IW_MODE_ADHOC)
setKey(dev,
0,
0,
priv->ieee80211->group_key_type,
CAM_CONST_ADDR[0],
0,
NULL);
}
else if(priv->ieee80211->group_key_type == KEY_TYPE_CCMP)
{
MacAddr = CAM_CONST_BROAD;
for(EntryId=1; EntryId<4 ; EntryId++)
{
{
setKey(dev,
EntryId ,
EntryId,
priv->ieee80211->group_key_type,
MacAddr,
0,
NULL);
}
}
if(priv->ieee80211->iw_mode == IW_MODE_ADHOC)
setKey(dev,
0 ,
0,
priv->ieee80211->group_key_type,
CAM_CONST_ADDR[0],
0,
NULL);
}
}
void rtl8192_cancel_deferred_work(struct r8192_priv* priv);
int _rtl8192_up(struct net_device *dev);
/*
* This function is used to fix Tx/Rx stop bug temporarily.
* This function will do "system reset" to NIC when Tx or Rx is stuck.
* The method checking Tx/Rx stuck of this function is supported by FW,
* which reports Tx and Rx counter to register 0x128 and 0x130.
* */
static void rtl819x_ifsilentreset(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
u8 reset_times = 0;
int reset_status = 0;
struct ieee80211_device *ieee = priv->ieee80211;
return;
// 2007.07.20. If we need to check CCK stop, please uncomment this line.
//bStuck = Adapter->HalFunc.CheckHWStopHandler(Adapter);
if(priv->ResetProgress==RESET_TYPE_NORESET)
{
RESET_START:
#ifdef ENABLE_LPS
//LZM for PS-Poll AID issue. 090429
if(priv->ieee80211->state == IEEE80211_LINKED)
LeisurePSLeave(dev);
#endif
RT_TRACE(COMP_RESET,"=========>Reset progress!! \n");
// Set the variable for reset.
priv->ResetProgress = RESET_TYPE_SILENT;
// rtl8192_close(dev);
down(&priv->wx_sem);
if(priv->up == 0)
{
RT_TRACE(COMP_ERR,"%s():the driver is not up! return\n",__FUNCTION__);
up(&priv->wx_sem);
return ;
}
priv->up = 0;
RT_TRACE(COMP_RESET,"%s():======>start to down the driver\n",__FUNCTION__);
if(!netif_queue_stopped(dev))
netif_stop_queue(dev);
dm_backup_dynamic_mechanism_state(dev);
rtl8192_irq_disable(dev);
rtl8192_cancel_deferred_work(priv);
deinit_hal_dm(dev);
del_timer_sync(&priv->watch_dog_timer);
ieee->sync_scan_hurryup = 1;
if(ieee->state == IEEE80211_LINKED)
{
down(&ieee->wx_sem);
printk("ieee->state is IEEE80211_LINKED\n");
ieee80211_stop_send_beacons(priv->ieee80211);
del_timer_sync(&ieee->associate_timer);
cancel_delayed_work(&ieee->associate_retry_wq);
ieee80211_stop_scan(ieee);
up(&ieee->wx_sem);
}
else{
printk("ieee->state is NOT LINKED\n");
ieee80211_softmac_stop_protocol(priv->ieee80211,true);
}
rtl8192_halt_adapter(dev, true);
up(&priv->wx_sem);
RT_TRACE(COMP_RESET,"%s():<==========down process is finished\n",__FUNCTION__);
RT_TRACE(COMP_RESET,"%s():===========>start to up the driver\n",__FUNCTION__);
reset_status = _rtl8192_up(dev);
RT_TRACE(COMP_RESET,"%s():<===========up process is finished\n",__FUNCTION__);
if(reset_status == -1)
{
if(reset_times < 3)
{
reset_times++;
goto RESET_START;
}
else
{
RT_TRACE(COMP_ERR," ERR!!! %s(): Reset Failed!!\n",__FUNCTION__);
}
}
ieee->is_silent_reset = 1;
EnableHWSecurityConfig8192(dev);
if(ieee->state == IEEE80211_LINKED && ieee->iw_mode == IW_MODE_INFRA)
{
ieee->set_chan(ieee->dev, ieee->current_network.channel);
queue_work(ieee->wq, &ieee->associate_complete_wq);
}
else if(ieee->state == IEEE80211_LINKED && ieee->iw_mode == IW_MODE_ADHOC)
{
ieee->set_chan(ieee->dev, ieee->current_network.channel);
ieee->link_change(ieee->dev);
// notify_wx_assoc_event(ieee);
ieee80211_start_send_beacons(ieee);
if (ieee->data_hard_resume)
ieee->data_hard_resume(ieee->dev);
netif_carrier_on(ieee->dev);
}
CamRestoreAllEntry(dev);
// Restore the previous setting for all dynamic mechanism
dm_restore_dynamic_mechanism_state(dev);
priv->ResetProgress = RESET_TYPE_NORESET;
priv->reset_count++;
priv->bForcedSilentReset =false;
priv->bResetInProgress = false;
// For test --> force write UFWP.
write_nic_byte(dev, UFWP, 1);
RT_TRACE(COMP_RESET, "Reset finished!! ====>[%d]\n", priv->reset_count);
}
}
#ifdef ENABLE_IPS
void InactivePsWorkItemCallback(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
PRT_POWER_SAVE_CONTROL pPSC = (PRT_POWER_SAVE_CONTROL)(&(priv->ieee80211->PowerSaveControl));
//u8 index = 0;
RT_TRACE(COMP_POWER, "InactivePsWorkItemCallback() ---------> \n");
//
// This flag "bSwRfProcessing", indicates the status of IPS procedure, should be set if the IPS workitem
// is really scheduled.
// The old code, sets this flag before scheduling the IPS workitem and however, at the same time the
// previous IPS workitem did not end yet, fails to schedule the current workitem. Thus, bSwRfProcessing
// blocks the IPS procedure of switching RF.
// By Bruce, 2007-12-25.
//
pPSC->bSwRfProcessing = TRUE;
RT_TRACE(COMP_RF, "InactivePsWorkItemCallback(): Set RF to %s.\n", \
pPSC->eInactivePowerState == eRfOff?"OFF":"ON");
MgntActSet_RF_State(dev, pPSC->eInactivePowerState, RF_CHANGE_BY_IPS);
//
// To solve CAM values miss in RF OFF, rewrite CAM values after RF ON. By Bruce, 2007-09-20.
//
pPSC->bSwRfProcessing = FALSE;
RT_TRACE(COMP_POWER, "InactivePsWorkItemCallback() <--------- \n");
}
#ifdef ENABLE_LPS
//
// Change current and default preamble mode.
// 2005.01.06, by rcnjko.
//
bool MgntActSet_802_11_PowerSaveMode(struct net_device *dev, u8 rtPsMode)
{
struct r8192_priv *priv = ieee80211_priv(dev);
//PRT_POWER_SAVE_CONTROL pPSC = (PRT_POWER_SAVE_CONTROL)(&(priv->ieee80211->PowerSaveControl));
//u8 RpwmVal, FwPwrMode;
// Currently, we do not change power save mode on IBSS mode.
if(priv->ieee80211->iw_mode == IW_MODE_ADHOC)
{
return false;
}
//
// <RJ_NOTE> If we make HW to fill up the PwrMgt bit for us,
// some AP will not response to our mgnt frames with PwrMgt bit set,
// e.g. cannot associate the AP.
// So I commented out it. 2005.02.16, by rcnjko.
//
// // Change device's power save mode.
// Adapter->HalFunc.SetPSModeHandler( Adapter, rtPsMode );
// Update power save mode configured.
//RT_TRACE(COMP_LPS,"%s(): set ieee->ps = %x\n",__FUNCTION__,rtPsMode);
if(!priv->ps_force) {
priv->ieee80211->ps = rtPsMode;
}
// Awake immediately
if(priv->ieee80211->sta_sleep != 0 && rtPsMode == IEEE80211_PS_DISABLED)
{
unsigned long flags;
//PlatformSetTimer(Adapter, &(pMgntInfo->AwakeTimer), 0);
// Notify the AP we awke.
rtl8192_hw_wakeup(dev);
priv->ieee80211->sta_sleep = 0;
spin_lock_irqsave(&(priv->ieee80211->mgmt_tx_lock), flags);
printk("LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData\n");
ieee80211_sta_ps_send_null_frame(priv->ieee80211, 0);
spin_unlock_irqrestore(&(priv->ieee80211->mgmt_tx_lock), flags);
}
return true;
}
//================================================================================
// Leisure Power Save in linked state.
//================================================================================
//
// Description:
// Enter the leisure power save mode.
//
void LeisurePSEnter(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
PRT_POWER_SAVE_CONTROL pPSC = (PRT_POWER_SAVE_CONTROL)(&(priv->ieee80211->PowerSaveControl));
//RT_TRACE(COMP_PS, "LeisurePSEnter()...\n");
//RT_TRACE(COMP_PS, "pPSC->bLeisurePs = %d, ieee->ps = %d,pPSC->LpsIdleCount is %d,RT_CHECK_FOR_HANG_PERIOD is %d\n",
// pPSC->bLeisurePs, priv->ieee80211->ps,pPSC->LpsIdleCount,RT_CHECK_FOR_HANG_PERIOD);
if(!((priv->ieee80211->iw_mode == IW_MODE_INFRA) &&
(priv->ieee80211->state == IEEE80211_LINKED)) ||
(priv->ieee80211->iw_mode == IW_MODE_ADHOC) ||
(priv->ieee80211->iw_mode == IW_MODE_MASTER))
return;
if (pPSC->bLeisurePs)
{
// Idle for a while if we connect to AP a while ago.
if(pPSC->LpsIdleCount >= RT_CHECK_FOR_HANG_PERIOD) // 4 Sec
{
if(priv->ieee80211->ps == IEEE80211_PS_DISABLED)
{
//RT_TRACE(COMP_LPS, "LeisurePSEnter(): Enter 802.11 power save mode...\n");
MgntActSet_802_11_PowerSaveMode(dev, IEEE80211_PS_MBCAST|IEEE80211_PS_UNICAST);
}
}
else
pPSC->LpsIdleCount++;
}
}
//
// Description:
// Leave the leisure power save mode.
//
void LeisurePSLeave(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
PRT_POWER_SAVE_CONTROL pPSC = (PRT_POWER_SAVE_CONTROL)(&(priv->ieee80211->PowerSaveControl));
//RT_TRACE(COMP_PS, "LeisurePSLeave()...\n");
//RT_TRACE(COMP_PS, "pPSC->bLeisurePs = %d, ieee->ps = %d\n",
// pPSC->bLeisurePs, priv->ieee80211->ps);
if (pPSC->bLeisurePs)
{
if(priv->ieee80211->ps != IEEE80211_PS_DISABLED)
{
// move to lps_wakecomplete()
//RT_TRACE(COMP_LPS, "LeisurePSLeave(): Busy Traffic , Leave 802.11 power save..\n");
MgntActSet_802_11_PowerSaveMode(dev, IEEE80211_PS_DISABLED);
}
}
}
#endif
//
// Description:
// Enter the inactive power save mode. RF will be off
// 2007.08.17, by shien chang.
//
void
IPSEnter(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
PRT_POWER_SAVE_CONTROL pPSC = (PRT_POWER_SAVE_CONTROL)(&(priv->ieee80211->PowerSaveControl));
RT_RF_POWER_STATE rtState;
if (pPSC->bInactivePs)
{
rtState = priv->ieee80211->eRFPowerState;
//
// Added by Bruce, 2007-12-25.
// Do not enter IPS in the following conditions:
// (1) RF is already OFF or Sleep
// (2) bSwRfProcessing (indicates the IPS is still under going)
// (3) Connectted (only disconnected can trigger IPS)
// (4) IBSS (send Beacon)
// (5) AP mode (send Beacon)
//
if (rtState == eRfOn && !pPSC->bSwRfProcessing
&& (priv->ieee80211->state != IEEE80211_LINKED) )
{
RT_TRACE(COMP_RF,"IPSEnter(): Turn off RF.\n");
//printk("IPSEnter(): Turn off RF.\n");
pPSC->eInactivePowerState = eRfOff;
// queue_work(priv->priv_wq,&(pPSC->InactivePsWorkItem));
InactivePsWorkItemCallback(dev);
}
}
}
//
// Description:
// Leave the inactive power save mode, RF will be on.
// 2007.08.17, by shien chang.
//
void
IPSLeave(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
PRT_POWER_SAVE_CONTROL pPSC = (PRT_POWER_SAVE_CONTROL)(&(priv->ieee80211->PowerSaveControl));
RT_RF_POWER_STATE rtState;
if (pPSC->bInactivePs)
{
rtState = priv->ieee80211->eRFPowerState;
if (rtState != eRfOn && !pPSC->bSwRfProcessing && priv->ieee80211->RfOffReason <= RF_CHANGE_BY_IPS)
{
RT_TRACE(COMP_POWER, "IPSLeave(): Turn on RF.\n");
//printk("IPSLeave(): Turn on RF.\n");
pPSC->eInactivePowerState = eRfOn;
// queue_work(priv->priv_wq,&(pPSC->InactivePsWorkItem));
InactivePsWorkItemCallback(dev);
}
}
}
void IPSLeave_wq(void *data)
{
struct ieee80211_device *ieee = container_of(data,struct ieee80211_device,ips_leave_wq);
struct net_device *dev = ieee->dev;
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
down(&priv->ieee80211->ips_sem);
IPSLeave(dev);
up(&priv->ieee80211->ips_sem);
}
void ieee80211_ips_leave_wq(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
RT_RF_POWER_STATE rtState;
rtState = priv->ieee80211->eRFPowerState;
if(priv->ieee80211->PowerSaveControl.bInactivePs){
if(rtState == eRfOff){
if(priv->ieee80211->RfOffReason > RF_CHANGE_BY_IPS)
{
RT_TRACE(COMP_ERR, "%s(): RF is OFF.\n",__FUNCTION__);
return;
}
else{
printk("=========>%s(): IPSLeave\n",__FUNCTION__);
queue_work(priv->ieee80211->wq,&priv->ieee80211->ips_leave_wq);
}
}
}
}
//added by amy 090331 end
void ieee80211_ips_leave(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
down(&priv->ieee80211->ips_sem);
IPSLeave(dev);
up(&priv->ieee80211->ips_sem);
}
#endif
static void rtl819x_update_rxcounts(
struct r8192_priv *priv,
u32* TotalRxBcnNum,
u32* TotalRxDataNum
)
{
u16 SlotIndex;
u8 i;
*TotalRxBcnNum = 0;
*TotalRxDataNum = 0;
SlotIndex = (priv->ieee80211->LinkDetectInfo.SlotIndex++)%(priv->ieee80211->LinkDetectInfo.SlotNum);
priv->ieee80211->LinkDetectInfo.RxBcnNum[SlotIndex] = priv->ieee80211->LinkDetectInfo.NumRecvBcnInPeriod;
priv->ieee80211->LinkDetectInfo.RxDataNum[SlotIndex] = priv->ieee80211->LinkDetectInfo.NumRecvDataInPeriod;
for( i=0; i<priv->ieee80211->LinkDetectInfo.SlotNum; i++ ){
*TotalRxBcnNum += priv->ieee80211->LinkDetectInfo.RxBcnNum[i];
*TotalRxDataNum += priv->ieee80211->LinkDetectInfo.RxDataNum[i];
}
}
static void rtl819x_watchdog_wqcallback(struct work_struct *work)
{
struct delayed_work *dwork = container_of(work,struct delayed_work,work);
struct r8192_priv *priv = container_of(dwork,struct r8192_priv,watch_dog_wq);
struct net_device *dev = priv->ieee80211->dev;
struct ieee80211_device* ieee = priv->ieee80211;
RESET_TYPE ResetType = RESET_TYPE_NORESET;
static u8 check_reset_cnt=0;
unsigned long flags;
bool bBusyTraffic = false;
static u8 last_time = 0;
bool bEnterPS = false;
if((!priv->up) || (priv->bHwRadioOff == true))
return;
if(!priv->up)
return;
hal_dm_watchdog(dev);
#ifdef ENABLE_IPS
// printk("watch_dog ENABLE_IPS\n");
if(ieee->actscanning == false){
//printk("%d,%d,%d,%d\n", ieee->eRFPowerState, ieee->is_set_key, ieee->proto_stoppping, ieee->wx_set_enc);
if((ieee->iw_mode == IW_MODE_INFRA) && (ieee->state == IEEE80211_NOLINK) &&\
(ieee->eRFPowerState == eRfOn)&&!ieee->is_set_key &&\
(!ieee->proto_stoppping) && !ieee->wx_set_enc){
if(ieee->PowerSaveControl.ReturnPoint == IPS_CALLBACK_NONE){
//printk("====================>haha:IPSEnter()\n");
IPSEnter(dev);
//ieee80211_stop_scan(priv->ieee80211);
}
}
}
#endif
{//to get busy traffic condition
if(ieee->state == IEEE80211_LINKED)
{
if( ieee->LinkDetectInfo.NumRxOkInPeriod> 100 ||
ieee->LinkDetectInfo.NumTxOkInPeriod> 100 ) {
bBusyTraffic = true;
}
#ifdef ENABLE_LPS
//added by amy for Leisure PS
if( ((ieee->LinkDetectInfo.NumRxUnicastOkInPeriod + ieee->LinkDetectInfo.NumTxOkInPeriod) > 8 ) ||
(ieee->LinkDetectInfo.NumRxUnicastOkInPeriod > 2) )
{
//printk("ieee->LinkDetectInfo.NumRxUnicastOkInPeriod is %d,ieee->LinkDetectInfo.NumTxOkInPeriod is %d\n",
// ieee->LinkDetectInfo.NumRxUnicastOkInPeriod,ieee->LinkDetectInfo.NumTxOkInPeriod);
bEnterPS= false;
}
else
{
bEnterPS= true;
}
//printk("***bEnterPS = %d\n", bEnterPS);
// LeisurePS only work in infra mode.
if(bEnterPS)
{
LeisurePSEnter(dev);
}
else
{
LeisurePSLeave(dev);
}
#endif
}
else
{
#ifdef ENABLE_LPS
//RT_TRACE(COMP_LPS,"====>no link LPS leave\n");
LeisurePSLeave(dev);
#endif
}
ieee->LinkDetectInfo.NumRxOkInPeriod = 0;
ieee->LinkDetectInfo.NumTxOkInPeriod = 0;
ieee->LinkDetectInfo.NumRxUnicastOkInPeriod = 0;
ieee->LinkDetectInfo.bBusyTraffic = bBusyTraffic;
}
//added by amy for AP roaming
if (1)
{
if(ieee->state == IEEE80211_LINKED && ieee->iw_mode == IW_MODE_INFRA)
{
u32 TotalRxBcnNum = 0;
u32 TotalRxDataNum = 0;
rtl819x_update_rxcounts(priv, &TotalRxBcnNum, &TotalRxDataNum);
if((TotalRxBcnNum+TotalRxDataNum) == 0)
{
if( ieee->eRFPowerState == eRfOff)
RT_TRACE(COMP_ERR,"========>%s()\n",__FUNCTION__);
printk("===>%s(): AP is power off,connect another one\n",__FUNCTION__);
// Dot11d_Reset(dev);
ieee->state = IEEE80211_ASSOCIATING;
notify_wx_assoc_event(priv->ieee80211);
RemovePeerTS(priv->ieee80211,priv->ieee80211->current_network.bssid);
ieee->is_roaming = true;
ieee->is_set_key = false;
ieee->link_change(dev);
queue_work(ieee->wq, &ieee->associate_procedure_wq);
}
}
ieee->LinkDetectInfo.NumRecvBcnInPeriod=0;
ieee->LinkDetectInfo.NumRecvDataInPeriod=0;
}
//check if reset the driver
spin_lock_irqsave(&priv->tx_lock,flags);
if(check_reset_cnt++ >= 3 && !ieee->is_roaming && (last_time != 1))
{
ResetType = rtl819x_ifcheck_resetornot(dev);
check_reset_cnt = 3;
//DbgPrint("Start to check silent reset\n");
}
spin_unlock_irqrestore(&priv->tx_lock,flags);
if(!priv->bDisableNormalResetCheck && ResetType == RESET_TYPE_NORMAL)
{
priv->ResetProgress = RESET_TYPE_NORMAL;
RT_TRACE(COMP_RESET,"%s(): NOMAL RESET\n",__FUNCTION__);
return;
}
/* disable silent reset temply 2008.9.11*/
if( ((priv->force_reset) || (!priv->bDisableNormalResetCheck && ResetType==RESET_TYPE_SILENT))) // This is control by OID set in Pomelo
{
last_time = 1;
rtl819x_ifsilentreset(dev);
}
else
last_time = 0;
priv->force_reset = false;
priv->bForcedSilentReset = false;
priv->bResetInProgress = false;
RT_TRACE(COMP_TRACE, " <==RtUsbCheckForHangWorkItemCallback()\n");
}
void watch_dog_timer_callback(unsigned long data)
{
struct r8192_priv *priv = ieee80211_priv((struct net_device *) data);
queue_delayed_work(priv->priv_wq,&priv->watch_dog_wq,0);
mod_timer(&priv->watch_dog_timer, jiffies + MSECS(IEEE80211_WATCH_DOG_TIME));
}
int _rtl8192_up(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
//int i;
RT_STATUS init_status = RT_STATUS_SUCCESS;
priv->up=1;
priv->ieee80211->ieee_up=1;
priv->bdisable_nic = false; //YJ,add,091111
RT_TRACE(COMP_INIT, "Bringing up iface");
init_status = rtl8192_adapter_start(dev);
if(init_status != RT_STATUS_SUCCESS)
{
RT_TRACE(COMP_ERR,"ERR!!! %s(): initialization is failed!\n",__FUNCTION__);
return -1;
}
RT_TRACE(COMP_INIT, "start adapter finished\n");
#ifdef RTL8192E
if(priv->ieee80211->eRFPowerState!=eRfOn)
MgntActSet_RF_State(dev, eRfOn, priv->ieee80211->RfOffReason);
#endif
if(priv->ieee80211->state != IEEE80211_LINKED)
ieee80211_softmac_start_protocol(priv->ieee80211);
ieee80211_reset_queue(priv->ieee80211);
watch_dog_timer_callback((unsigned long) dev);
if(!netif_queue_stopped(dev))
netif_start_queue(dev);
else
netif_wake_queue(dev);
return 0;
}
static int rtl8192_open(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
int ret;
down(&priv->wx_sem);
ret = rtl8192_up(dev);
up(&priv->wx_sem);
return ret;
}
int rtl8192_up(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
if (priv->up == 1) return -1;
return _rtl8192_up(dev);
}
static int rtl8192_close(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
int ret;
down(&priv->wx_sem);
ret = rtl8192_down(dev);
up(&priv->wx_sem);
return ret;
}
int rtl8192_down(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
// int i;
if (priv->up == 0) return -1;
#ifdef ENABLE_LPS
//LZM for PS-Poll AID issue. 090429
if(priv->ieee80211->state == IEEE80211_LINKED)
LeisurePSLeave(dev);
#endif
priv->up=0;
priv->ieee80211->ieee_up = 0;
RT_TRACE(COMP_DOWN, "==========>%s()\n", __FUNCTION__);
if (!netif_queue_stopped(dev))
netif_stop_queue(dev);
rtl8192_irq_disable(dev);
// flush_scheduled_work();
rtl8192_cancel_deferred_work(priv);
deinit_hal_dm(dev);
del_timer_sync(&priv->watch_dog_timer);
ieee80211_softmac_stop_protocol(priv->ieee80211,true);
rtl8192_halt_adapter(dev,false);
memset(&priv->ieee80211->current_network, 0 , offsetof(struct ieee80211_network, list));
RT_TRACE(COMP_DOWN, "<==========%s()\n", __FUNCTION__);
return 0;
}
void rtl8192_commit(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
if (priv->up == 0) return ;
ieee80211_softmac_stop_protocol(priv->ieee80211,true);
rtl8192_irq_disable(dev);
rtl8192_halt_adapter(dev,true);
_rtl8192_up(dev);
}
void rtl8192_restart(struct work_struct *work)
{
struct r8192_priv *priv = container_of(work, struct r8192_priv, reset_wq);
struct net_device *dev = priv->ieee80211->dev;
down(&priv->wx_sem);
rtl8192_commit(dev);
up(&priv->wx_sem);
}
static void r8192_set_multicast(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
short promisc;
//down(&priv->wx_sem);
promisc = (dev->flags & IFF_PROMISC) ? 1:0;
if (promisc != priv->promisc) {
;
// rtl8192_commit(dev);
}
priv->promisc = promisc;
//schedule_work(&priv->reset_wq);
//up(&priv->wx_sem);
}
static int r8192_set_mac_adr(struct net_device *dev, void *mac)
{
struct r8192_priv *priv = ieee80211_priv(dev);
struct sockaddr *addr = mac;
down(&priv->wx_sem);
memcpy(dev->dev_addr, addr->sa_data, ETH_ALEN);
schedule_work(&priv->reset_wq);
up(&priv->wx_sem);
return 0;
}
/* based on ipw2200 driver */
static int rtl8192_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
struct iwreq *wrq = (struct iwreq *)rq;
int ret=-1;
struct ieee80211_device *ieee = priv->ieee80211;
u32 key[4];
u8 broadcast_addr[6] = {0xff,0xff,0xff,0xff,0xff,0xff};
struct iw_point *p = &wrq->u.data;
struct ieee_param *ipw = NULL;//(struct ieee_param *)wrq->u.data.pointer;
down(&priv->wx_sem);
if (p->length < sizeof(struct ieee_param) || !p->pointer){
ret = -EINVAL;
goto out;
}
ipw = kmalloc(p->length, GFP_KERNEL);
if (ipw == NULL){
ret = -ENOMEM;
goto out;
}
if (copy_from_user(ipw, p->pointer, p->length)) {
kfree(ipw);
ret = -EFAULT;
goto out;
}
switch (cmd) {
case RTL_IOCTL_WPA_SUPPLICANT:
//parse here for HW security
if (ipw->cmd == IEEE_CMD_SET_ENCRYPTION)
{
if (ipw->u.crypt.set_tx)
{
if (strcmp(ipw->u.crypt.alg, "CCMP") == 0)
ieee->pairwise_key_type = KEY_TYPE_CCMP;
else if (strcmp(ipw->u.crypt.alg, "TKIP") == 0)
ieee->pairwise_key_type = KEY_TYPE_TKIP;
else if (strcmp(ipw->u.crypt.alg, "WEP") == 0)
{
if (ipw->u.crypt.key_len == 13)
ieee->pairwise_key_type = KEY_TYPE_WEP104;
else if (ipw->u.crypt.key_len == 5)
ieee->pairwise_key_type = KEY_TYPE_WEP40;
}
else
ieee->pairwise_key_type = KEY_TYPE_NA;
if (ieee->pairwise_key_type)
{
memcpy((u8*)key, ipw->u.crypt.key, 16);
EnableHWSecurityConfig8192(dev);
//we fill both index entry and 4th entry for pairwise key as in IPW interface, adhoc will only get here, so we need index entry for its default key serching!
//added by WB.
setKey(dev, 4, ipw->u.crypt.idx, ieee->pairwise_key_type, (u8*)ieee->ap_mac_addr, 0, key);
if (ieee->auth_mode != 2) //LEAP WEP will never set this.
setKey(dev, ipw->u.crypt.idx, ipw->u.crypt.idx, ieee->pairwise_key_type, (u8*)ieee->ap_mac_addr, 0, key);
}
if ((ieee->pairwise_key_type == KEY_TYPE_CCMP) && ieee->pHTInfo->bCurrentHTSupport){
write_nic_byte(dev, 0x173, 1); //fix aes bug
}
}
else //if (ipw->u.crypt.idx) //group key use idx > 0
{
memcpy((u8*)key, ipw->u.crypt.key, 16);
if (strcmp(ipw->u.crypt.alg, "CCMP") == 0)
ieee->group_key_type= KEY_TYPE_CCMP;
else if (strcmp(ipw->u.crypt.alg, "TKIP") == 0)
ieee->group_key_type = KEY_TYPE_TKIP;
else if (strcmp(ipw->u.crypt.alg, "WEP") == 0)
{
if (ipw->u.crypt.key_len == 13)
ieee->group_key_type = KEY_TYPE_WEP104;
else if (ipw->u.crypt.key_len == 5)
ieee->group_key_type = KEY_TYPE_WEP40;
}
else
ieee->group_key_type = KEY_TYPE_NA;
if (ieee->group_key_type)
{
setKey( dev,
ipw->u.crypt.idx,
ipw->u.crypt.idx, //KeyIndex
ieee->group_key_type, //KeyType
broadcast_addr, //MacAddr
0, //DefaultKey
key); //KeyContent
}
}
}
#ifdef JOHN_DEBUG
//john's test 0711
{
int i;
printk("@@ wrq->u pointer = ");
for(i=0;i<wrq->u.data.length;i++){
if(i%10==0) printk("\n");
printk( "%8x|", ((u32*)wrq->u.data.pointer)[i] );
}
printk("\n");
}
#endif /*JOHN_DEBUG*/
ret = ieee80211_wpa_supplicant_ioctl(priv->ieee80211, &wrq->u.data);
break;
default:
ret = -EOPNOTSUPP;
break;
}
kfree(ipw);
out:
up(&priv->wx_sem);
return ret;
}
static u8 HwRateToMRate90(bool bIsHT, u8 rate)
{
u8 ret_rate = 0x02;
if(!bIsHT) {
switch(rate) {
case DESC90_RATE1M: ret_rate = MGN_1M; break;
case DESC90_RATE2M: ret_rate = MGN_2M; break;
case DESC90_RATE5_5M: ret_rate = MGN_5_5M; break;
case DESC90_RATE11M: ret_rate = MGN_11M; break;
case DESC90_RATE6M: ret_rate = MGN_6M; break;
case DESC90_RATE9M: ret_rate = MGN_9M; break;
case DESC90_RATE12M: ret_rate = MGN_12M; break;
case DESC90_RATE18M: ret_rate = MGN_18M; break;
case DESC90_RATE24M: ret_rate = MGN_24M; break;
case DESC90_RATE36M: ret_rate = MGN_36M; break;
case DESC90_RATE48M: ret_rate = MGN_48M; break;
case DESC90_RATE54M: ret_rate = MGN_54M; break;
default:
RT_TRACE(COMP_RECV, "HwRateToMRate90(): Non supported Rate [%x], bIsHT = %d!!!\n", rate, bIsHT);
break;
}
} else {
switch(rate) {
case DESC90_RATEMCS0: ret_rate = MGN_MCS0; break;
case DESC90_RATEMCS1: ret_rate = MGN_MCS1; break;
case DESC90_RATEMCS2: ret_rate = MGN_MCS2; break;
case DESC90_RATEMCS3: ret_rate = MGN_MCS3; break;
case DESC90_RATEMCS4: ret_rate = MGN_MCS4; break;
case DESC90_RATEMCS5: ret_rate = MGN_MCS5; break;
case DESC90_RATEMCS6: ret_rate = MGN_MCS6; break;
case DESC90_RATEMCS7: ret_rate = MGN_MCS7; break;
case DESC90_RATEMCS8: ret_rate = MGN_MCS8; break;
case DESC90_RATEMCS9: ret_rate = MGN_MCS9; break;
case DESC90_RATEMCS10: ret_rate = MGN_MCS10; break;
case DESC90_RATEMCS11: ret_rate = MGN_MCS11; break;
case DESC90_RATEMCS12: ret_rate = MGN_MCS12; break;
case DESC90_RATEMCS13: ret_rate = MGN_MCS13; break;
case DESC90_RATEMCS14: ret_rate = MGN_MCS14; break;
case DESC90_RATEMCS15: ret_rate = MGN_MCS15; break;
case DESC90_RATEMCS32: ret_rate = (0x80|0x20); break;
default:
RT_TRACE(COMP_RECV, "HwRateToMRate90(): Non supported Rate [%x], bIsHT = %d!!!\n",rate, bIsHT);
break;
}
}
return ret_rate;
}
/**
* Function: UpdateRxPktTimeStamp
* Overview: Recored down the TSF time stamp when receiving a packet
*
* Input:
* PADAPTER Adapter
* PRT_RFD pRfd,
*
* Output:
* PRT_RFD pRfd
* (pRfd->Status.TimeStampHigh is updated)
* (pRfd->Status.TimeStampLow is updated)
* Return:
* None
*/
static void UpdateRxPktTimeStamp8190 (struct net_device *dev, struct ieee80211_rx_stats *stats)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
if(stats->bIsAMPDU && !stats->bFirstMPDU) {
stats->mac_time[0] = priv->LastRxDescTSFLow;
stats->mac_time[1] = priv->LastRxDescTSFHigh;
} else {
priv->LastRxDescTSFLow = stats->mac_time[0];
priv->LastRxDescTSFHigh = stats->mac_time[1];
}
}
static long rtl819x_translate_todbm(u8 signal_strength_index)// 0-100 index.
{
long signal_power; // in dBm.
// Translate to dBm (x=0.5y-95).
signal_power = (long)((signal_strength_index + 1) >> 1);
signal_power -= 95;
return signal_power;
}
//
// Description:
// Update Rx signal related information in the packet reeived
// to RxStats. User application can query RxStats to realize
// current Rx signal status.
//
// Assumption:
// In normal operation, user only care about the information of the BSS
// and we shall invoke this function if the packet received is from the BSS.
//
static void
rtl819x_update_rxsignalstatistics8190pci(
struct r8192_priv * priv,
struct ieee80211_rx_stats * pprevious_stats
)
{
int weighting = 0;
//2 <ToDo> Update Rx Statistics (such as signal strength and signal quality).
// Initila state
if(priv->stats.recv_signal_power == 0)
priv->stats.recv_signal_power = pprevious_stats->RecvSignalPower;
// To avoid the past result restricting the statistics sensitivity, weight the current power (5/6) to speed up the
// reaction of smoothed Signal Power.
if(pprevious_stats->RecvSignalPower > priv->stats.recv_signal_power)
weighting = 5;
else if(pprevious_stats->RecvSignalPower < priv->stats.recv_signal_power)
weighting = (-5);
//
// We need more correct power of received packets and the "SignalStrength" of RxStats have been beautified or translated,
// so we record the correct power in Dbm here. By Bruce, 2008-03-07.
//
priv->stats.recv_signal_power = (priv->stats.recv_signal_power * 5 + pprevious_stats->RecvSignalPower + weighting) / 6;
}
static void
rtl8190_process_cck_rxpathsel(
struct r8192_priv * priv,
struct ieee80211_rx_stats * pprevious_stats
)
{
#ifdef RTL8190P //Only 90P 2T4R need to check
char last_cck_adc_pwdb[4]={0,0,0,0};
u8 i;
//cosa add for Rx path selection
if(priv->rf_type == RF_2T4R && DM_RxPathSelTable.Enable)
{
if(pprevious_stats->bIsCCK &&
(pprevious_stats->bPacketToSelf ||pprevious_stats->bPacketBeacon))
{
/* record the cck adc_pwdb to the sliding window. */
if(priv->stats.cck_adc_pwdb.TotalNum++ >= PHY_RSSI_SLID_WIN_MAX)
{
priv->stats.cck_adc_pwdb.TotalNum = PHY_RSSI_SLID_WIN_MAX;
for(i=RF90_PATH_A; i<RF90_PATH_MAX; i++)
{
last_cck_adc_pwdb[i] = priv->stats.cck_adc_pwdb.elements[i][priv->stats.cck_adc_pwdb.index];
priv->stats.cck_adc_pwdb.TotalVal[i] -= last_cck_adc_pwdb[i];
}
}
for(i=RF90_PATH_A; i<RF90_PATH_MAX; i++)
{
priv->stats.cck_adc_pwdb.TotalVal[i] += pprevious_stats->cck_adc_pwdb[i];
priv->stats.cck_adc_pwdb.elements[i][priv->stats.cck_adc_pwdb.index] = pprevious_stats->cck_adc_pwdb[i];
}
priv->stats.cck_adc_pwdb.index++;
if(priv->stats.cck_adc_pwdb.index >= PHY_RSSI_SLID_WIN_MAX)
priv->stats.cck_adc_pwdb.index = 0;
for(i=RF90_PATH_A; i<RF90_PATH_MAX; i++)
{
DM_RxPathSelTable.cck_pwdb_sta[i] = priv->stats.cck_adc_pwdb.TotalVal[i]/priv->stats.cck_adc_pwdb.TotalNum;
}
for(i=RF90_PATH_A; i<RF90_PATH_MAX; i++)
{
if(pprevious_stats->cck_adc_pwdb[i] > (char)priv->undecorated_smoothed_cck_adc_pwdb[i])
{
priv->undecorated_smoothed_cck_adc_pwdb[i] =
( (priv->undecorated_smoothed_cck_adc_pwdb[i]*(Rx_Smooth_Factor-1)) +
(pprevious_stats->cck_adc_pwdb[i])) /(Rx_Smooth_Factor);
priv->undecorated_smoothed_cck_adc_pwdb[i] = priv->undecorated_smoothed_cck_adc_pwdb[i] + 1;
}
else
{
priv->undecorated_smoothed_cck_adc_pwdb[i] =
( (priv->undecorated_smoothed_cck_adc_pwdb[i]*(Rx_Smooth_Factor-1)) +
(pprevious_stats->cck_adc_pwdb[i])) /(Rx_Smooth_Factor);
}
}
}
}
#endif
}
/* 2008/01/22 MH We can not delcare RSSI/EVM total value of sliding window to
be a local static. Otherwise, it may increase when we return from S3/S4. The
value will be kept in memory or disk. We must delcare the value in adapter
and it will be reinitialized when return from S3/S4. */
static void rtl8192_process_phyinfo(struct r8192_priv * priv, u8* buffer,struct ieee80211_rx_stats * pprevious_stats, struct ieee80211_rx_stats * pcurrent_stats)
{
bool bcheck = false;
u8 rfpath;
u32 nspatial_stream, tmp_val;
//u8 i;
static u32 slide_rssi_index=0, slide_rssi_statistics=0;
static u32 slide_evm_index=0, slide_evm_statistics=0;
static u32 last_rssi=0, last_evm=0;
//cosa add for rx path selection
// static long slide_cck_adc_pwdb_index=0, slide_cck_adc_pwdb_statistics=0;
// static char last_cck_adc_pwdb[4]={0,0,0,0};
//cosa add for beacon rssi smoothing
static u32 slide_beacon_adc_pwdb_index=0, slide_beacon_adc_pwdb_statistics=0;
static u32 last_beacon_adc_pwdb=0;
struct ieee80211_hdr_3addr *hdr;
u16 sc ;
unsigned int frag,seq;
hdr = (struct ieee80211_hdr_3addr *)buffer;
sc = le16_to_cpu(hdr->seq_ctl);
frag = WLAN_GET_SEQ_FRAG(sc);
seq = WLAN_GET_SEQ_SEQ(sc);
//cosa add 04292008 to record the sequence number
pcurrent_stats->Seq_Num = seq;
//
// Check whether we should take the previous packet into accounting
//
if(!pprevious_stats->bIsAMPDU)
{
// if previous packet is not aggregated packet
bcheck = true;
}else
{
//remve for that we don't use AMPDU to calculate PWDB,because the reported PWDB of some AP is fault.
}
if(slide_rssi_statistics++ >= PHY_RSSI_SLID_WIN_MAX)
{
slide_rssi_statistics = PHY_RSSI_SLID_WIN_MAX;
last_rssi = priv->stats.slide_signal_strength[slide_rssi_index];
priv->stats.slide_rssi_total -= last_rssi;
}
priv->stats.slide_rssi_total += pprevious_stats->SignalStrength;
priv->stats.slide_signal_strength[slide_rssi_index++] = pprevious_stats->SignalStrength;
if(slide_rssi_index >= PHY_RSSI_SLID_WIN_MAX)
slide_rssi_index = 0;
// <1> Showed on UI for user, in dbm
tmp_val = priv->stats.slide_rssi_total/slide_rssi_statistics;
priv->stats.signal_strength = rtl819x_translate_todbm((u8)tmp_val);
pcurrent_stats->rssi = priv->stats.signal_strength;
//
// If the previous packet does not match the criteria, neglect it
//
if(!pprevious_stats->bPacketMatchBSSID)
{
if(!pprevious_stats->bToSelfBA)
return;
}
if(!bcheck)
return;
rtl8190_process_cck_rxpathsel(priv,pprevious_stats);
//
// Check RSSI
//
priv->stats.num_process_phyinfo++;
// <2> Showed on UI for engineering
// hardware does not provide rssi information for each rf path in CCK
if(!pprevious_stats->bIsCCK && pprevious_stats->bPacketToSelf)
{
for (rfpath = RF90_PATH_A; rfpath < RF90_PATH_C; rfpath++)
{
if (!rtl8192_phy_CheckIsLegalRFPath(priv->ieee80211->dev, rfpath))
continue;
RT_TRACE(COMP_DBG,"Jacken -> pPreviousstats->RxMIMOSignalStrength[rfpath] = %d \n" ,pprevious_stats->RxMIMOSignalStrength[rfpath] );
//Fixed by Jacken 2008-03-20
if(priv->stats.rx_rssi_percentage[rfpath] == 0)
{
priv->stats.rx_rssi_percentage[rfpath] = pprevious_stats->RxMIMOSignalStrength[rfpath];
//DbgPrint("MIMO RSSI initialize \n");
}
if(pprevious_stats->RxMIMOSignalStrength[rfpath] > priv->stats.rx_rssi_percentage[rfpath])
{
priv->stats.rx_rssi_percentage[rfpath] =
( (priv->stats.rx_rssi_percentage[rfpath]*(Rx_Smooth_Factor-1)) +
(pprevious_stats->RxMIMOSignalStrength[rfpath])) /(Rx_Smooth_Factor);
priv->stats.rx_rssi_percentage[rfpath] = priv->stats.rx_rssi_percentage[rfpath] + 1;
}
else
{
priv->stats.rx_rssi_percentage[rfpath] =
( (priv->stats.rx_rssi_percentage[rfpath]*(Rx_Smooth_Factor-1)) +
(pprevious_stats->RxMIMOSignalStrength[rfpath])) /(Rx_Smooth_Factor);
}
RT_TRACE(COMP_DBG,"Jacken -> priv->RxStats.RxRSSIPercentage[rfPath] = %d \n" ,priv->stats.rx_rssi_percentage[rfpath] );
}
}
//
// Check PWDB.
//
//cosa add for beacon rssi smoothing by average.
if(pprevious_stats->bPacketBeacon)
{
/* record the beacon pwdb to the sliding window. */
if(slide_beacon_adc_pwdb_statistics++ >= PHY_Beacon_RSSI_SLID_WIN_MAX)
{
slide_beacon_adc_pwdb_statistics = PHY_Beacon_RSSI_SLID_WIN_MAX;
last_beacon_adc_pwdb = priv->stats.Slide_Beacon_pwdb[slide_beacon_adc_pwdb_index];
priv->stats.Slide_Beacon_Total -= last_beacon_adc_pwdb;
//DbgPrint("slide_beacon_adc_pwdb_index = %d, last_beacon_adc_pwdb = %d, Adapter->RxStats.Slide_Beacon_Total = %d\n",
// slide_beacon_adc_pwdb_index, last_beacon_adc_pwdb, Adapter->RxStats.Slide_Beacon_Total);
}
priv->stats.Slide_Beacon_Total += pprevious_stats->RxPWDBAll;
priv->stats.Slide_Beacon_pwdb[slide_beacon_adc_pwdb_index] = pprevious_stats->RxPWDBAll;
//DbgPrint("slide_beacon_adc_pwdb_index = %d, pPreviousRfd->Status.RxPWDBAll = %d\n", slide_beacon_adc_pwdb_index, pPreviousRfd->Status.RxPWDBAll);
slide_beacon_adc_pwdb_index++;
if(slide_beacon_adc_pwdb_index >= PHY_Beacon_RSSI_SLID_WIN_MAX)
slide_beacon_adc_pwdb_index = 0;
pprevious_stats->RxPWDBAll = priv->stats.Slide_Beacon_Total/slide_beacon_adc_pwdb_statistics;
if(pprevious_stats->RxPWDBAll >= 3)
pprevious_stats->RxPWDBAll -= 3;
}
RT_TRACE(COMP_RXDESC, "Smooth %s PWDB = %d\n",
pprevious_stats->bIsCCK? "CCK": "OFDM",
pprevious_stats->RxPWDBAll);
if(pprevious_stats->bPacketToSelf || pprevious_stats->bPacketBeacon || pprevious_stats->bToSelfBA)
{
if(priv->undecorated_smoothed_pwdb < 0) // initialize
{
priv->undecorated_smoothed_pwdb = pprevious_stats->RxPWDBAll;
//DbgPrint("First pwdb initialize \n");
}
if(pprevious_stats->RxPWDBAll > (u32)priv->undecorated_smoothed_pwdb)
{
priv->undecorated_smoothed_pwdb =
( ((priv->undecorated_smoothed_pwdb)*(Rx_Smooth_Factor-1)) +
(pprevious_stats->RxPWDBAll)) /(Rx_Smooth_Factor);
priv->undecorated_smoothed_pwdb = priv->undecorated_smoothed_pwdb + 1;
}
else
{
priv->undecorated_smoothed_pwdb =
( ((priv->undecorated_smoothed_pwdb)*(Rx_Smooth_Factor-1)) +
(pprevious_stats->RxPWDBAll)) /(Rx_Smooth_Factor);
}
rtl819x_update_rxsignalstatistics8190pci(priv,pprevious_stats);
}
//
// Check EVM
//
/* record the general EVM to the sliding window. */
if(pprevious_stats->SignalQuality == 0)
{
}
else
{
if(pprevious_stats->bPacketToSelf || pprevious_stats->bPacketBeacon || pprevious_stats->bToSelfBA){
if(slide_evm_statistics++ >= PHY_RSSI_SLID_WIN_MAX){
slide_evm_statistics = PHY_RSSI_SLID_WIN_MAX;
last_evm = priv->stats.slide_evm[slide_evm_index];
priv->stats.slide_evm_total -= last_evm;
}
priv->stats.slide_evm_total += pprevious_stats->SignalQuality;
priv->stats.slide_evm[slide_evm_index++] = pprevious_stats->SignalQuality;
if(slide_evm_index >= PHY_RSSI_SLID_WIN_MAX)
slide_evm_index = 0;
// <1> Showed on UI for user, in percentage.
tmp_val = priv->stats.slide_evm_total/slide_evm_statistics;
priv->stats.signal_quality = tmp_val;
//cosa add 10/11/2007, Showed on UI for user in Windows Vista, for Link quality.
priv->stats.last_signal_strength_inpercent = tmp_val;
}
// <2> Showed on UI for engineering
if(pprevious_stats->bPacketToSelf || pprevious_stats->bPacketBeacon || pprevious_stats->bToSelfBA)
{
for(nspatial_stream = 0; nspatial_stream<2 ; nspatial_stream++) // 2 spatial stream
{
if(pprevious_stats->RxMIMOSignalQuality[nspatial_stream] != -1)
{
if(priv->stats.rx_evm_percentage[nspatial_stream] == 0) // initialize
{
priv->stats.rx_evm_percentage[nspatial_stream] = pprevious_stats->RxMIMOSignalQuality[nspatial_stream];
}
priv->stats.rx_evm_percentage[nspatial_stream] =
( (priv->stats.rx_evm_percentage[nspatial_stream]* (Rx_Smooth_Factor-1)) +
(pprevious_stats->RxMIMOSignalQuality[nspatial_stream]* 1)) / (Rx_Smooth_Factor);
}
}
}
}
}
/*-----------------------------------------------------------------------------
* Function: rtl819x_query_rxpwrpercentage()
*
* Overview:
*
* Input: char antpower
*
* Output: NONE
*
* Return: 0-100 percentage
*
* Revised History:
* When Who Remark
* 05/26/2008 amy Create Version 0 porting from windows code.
*
*---------------------------------------------------------------------------*/
static u8 rtl819x_query_rxpwrpercentage(
char antpower
)
{
if ((antpower <= -100) || (antpower >= 20))
{
return 0;
}
else if (antpower >= 0)
{
return 100;
}
else
{
return (100+antpower);
}
} /* QueryRxPwrPercentage */
static u8
rtl819x_evm_dbtopercentage(
char value
)
{
char ret_val;
ret_val = value;
if(ret_val >= 0)
ret_val = 0;
if(ret_val <= -33)
ret_val = -33;
ret_val = 0 - ret_val;
ret_val*=3;
if(ret_val == 99)
ret_val = 100;
return(ret_val);
}
//
// Description:
// We want good-looking for signal strength/quality
// 2007/7/19 01:09, by cosa.
//
static long rtl819x_signal_scale_mapping(long currsig)
{
long retsig;
// Step 1. Scale mapping.
if(currsig >= 61 && currsig <= 100)
{
retsig = 90 + ((currsig - 60) / 4);
}
else if(currsig >= 41 && currsig <= 60)
{
retsig = 78 + ((currsig - 40) / 2);
}
else if(currsig >= 31 && currsig <= 40)
{
retsig = 66 + (currsig - 30);
}
else if(currsig >= 21 && currsig <= 30)
{
retsig = 54 + (currsig - 20);
}
else if(currsig >= 5 && currsig <= 20)
{
retsig = 42 + (((currsig - 5) * 2) / 3);
}
else if(currsig == 4)
{
retsig = 36;
}
else if(currsig == 3)
{
retsig = 27;
}
else if(currsig == 2)
{
retsig = 18;
}
else if(currsig == 1)
{
retsig = 9;
}
else
{
retsig = currsig;
}
return retsig;
}
static void rtl8192_query_rxphystatus(
struct r8192_priv * priv,
struct ieee80211_rx_stats * pstats,
prx_desc_819x_pci pdesc,
prx_fwinfo_819x_pci pdrvinfo,
struct ieee80211_rx_stats * precord_stats,
bool bpacket_match_bssid,
bool bpacket_toself,
bool bPacketBeacon,
bool bToSelfBA
)
{
//PRT_RFD_STATUS pRtRfdStatus = &(pRfd->Status);
phy_sts_ofdm_819xpci_t* pofdm_buf;
phy_sts_cck_819xpci_t * pcck_buf;
phy_ofdm_rx_status_rxsc_sgien_exintfflag* prxsc;
u8 *prxpkt;
u8 i,max_spatial_stream, tmp_rxsnr, tmp_rxevm, rxsc_sgien_exflg;
char rx_pwr[4], rx_pwr_all=0;
//long rx_avg_pwr = 0;
char rx_snrX, rx_evmX;
u8 evm, pwdb_all;
u32 RSSI, total_rssi=0;//, total_evm=0;
// long signal_strength_index = 0;
u8 is_cck_rate=0;
u8 rf_rx_num = 0;
/* 2007/07/04 MH For OFDM RSSI. For high power or not. */
static u8 check_reg824 = 0;
static u32 reg824_bit9 = 0;
priv->stats.numqry_phystatus++;
is_cck_rate = rx_hal_is_cck_rate(pdrvinfo);
// Record it for next packet processing
memset(precord_stats, 0, sizeof(struct ieee80211_rx_stats));
pstats->bPacketMatchBSSID = precord_stats->bPacketMatchBSSID = bpacket_match_bssid;
pstats->bPacketToSelf = precord_stats->bPacketToSelf = bpacket_toself;
pstats->bIsCCK = precord_stats->bIsCCK = is_cck_rate;//RX_HAL_IS_CCK_RATE(pDrvInfo);
pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon;
pstats->bToSelfBA = precord_stats->bToSelfBA = bToSelfBA;
/*2007.08.30 requested by SD3 Jerry */
if(check_reg824 == 0)
{
reg824_bit9 = rtl8192_QueryBBReg(priv->ieee80211->dev, rFPGA0_XA_HSSIParameter2, 0x200);
check_reg824 = 1;
}
prxpkt = (u8*)pdrvinfo;
/* Move pointer to the 16th bytes. Phy status start address. */
prxpkt += sizeof(rx_fwinfo_819x_pci);
/* Initial the cck and ofdm buffer pointer */
pcck_buf = (phy_sts_cck_819xpci_t *)prxpkt;
pofdm_buf = (phy_sts_ofdm_819xpci_t *)prxpkt;
pstats->RxMIMOSignalQuality[0] = -1;
pstats->RxMIMOSignalQuality[1] = -1;
precord_stats->RxMIMOSignalQuality[0] = -1;
precord_stats->RxMIMOSignalQuality[1] = -1;
if(is_cck_rate)
{
//
// (1)Hardware does not provide RSSI for CCK
//
//
// (2)PWDB, Average PWDB cacluated by hardware (for rate adaptive)
//
u8 report;//, cck_agc_rpt;
#ifdef RTL8190P
u8 tmp_pwdb;
char cck_adc_pwdb[4];
#endif
priv->stats.numqry_phystatusCCK++;
#ifdef RTL8190P //Only 90P 2T4R need to check
if(priv->rf_type == RF_2T4R && DM_RxPathSelTable.Enable && bpacket_match_bssid)
{
for(i=RF90_PATH_A; i<RF90_PATH_MAX; i++)
{
tmp_pwdb = pcck_buf->adc_pwdb_X[i];
cck_adc_pwdb[i] = (char)tmp_pwdb;
cck_adc_pwdb[i] /= 2;
pstats->cck_adc_pwdb[i] = precord_stats->cck_adc_pwdb[i] = cck_adc_pwdb[i];
//DbgPrint("RF-%d tmp_pwdb = 0x%x, cck_adc_pwdb = %d", i, tmp_pwdb, cck_adc_pwdb[i]);
}
}
#endif
if(!reg824_bit9)
{
report = pcck_buf->cck_agc_rpt & 0xc0;
report = report>>6;
switch(report)
{
//Fixed by Jacken from Bryant 2008-03-20
//Original value is -38 , -26 , -14 , -2
//Fixed value is -35 , -23 , -11 , 6
case 0x3:
rx_pwr_all = -35 - (pcck_buf->cck_agc_rpt & 0x3e);
break;
case 0x2:
rx_pwr_all = -23 - (pcck_buf->cck_agc_rpt & 0x3e);
break;
case 0x1:
rx_pwr_all = -11 - (pcck_buf->cck_agc_rpt & 0x3e);
break;
case 0x0:
rx_pwr_all = 8 - (pcck_buf->cck_agc_rpt & 0x3e);
break;
}
}
else
{
report = pcck_buf->cck_agc_rpt & 0x60;
report = report>>5;
switch(report)
{
case 0x3:
rx_pwr_all = -35 - ((pcck_buf->cck_agc_rpt & 0x1f)<<1) ;
break;
case 0x2:
rx_pwr_all = -23 - ((pcck_buf->cck_agc_rpt & 0x1f)<<1);
break;
case 0x1:
rx_pwr_all = -11 - ((pcck_buf->cck_agc_rpt & 0x1f)<<1) ;
break;
case 0x0:
rx_pwr_all = -8 - ((pcck_buf->cck_agc_rpt & 0x1f)<<1) ;
break;
}
}
pwdb_all = rtl819x_query_rxpwrpercentage(rx_pwr_all);
pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all;
pstats->RecvSignalPower = rx_pwr_all;
//
// (3) Get Signal Quality (EVM)
//
if(bpacket_match_bssid)
{
u8 sq;
if(pstats->RxPWDBAll > 40)
{
sq = 100;
}else
{
sq = pcck_buf->sq_rpt;
if(pcck_buf->sq_rpt > 64)
sq = 0;
else if (pcck_buf->sq_rpt < 20)
sq = 100;
else
sq = ((64-sq) * 100) / 44;
}
pstats->SignalQuality = precord_stats->SignalQuality = sq;
pstats->RxMIMOSignalQuality[0] = precord_stats->RxMIMOSignalQuality[0] = sq;
pstats->RxMIMOSignalQuality[1] = precord_stats->RxMIMOSignalQuality[1] = -1;
}
}
else
{
priv->stats.numqry_phystatusHT++;
//
// (1)Get RSSI for HT rate
//
for(i=RF90_PATH_A; i<RF90_PATH_MAX; i++)
{
// 2008/01/30 MH we will judge RF RX path now.
if (priv->brfpath_rxenable[i])
rf_rx_num++;
//else
//continue;
//Fixed by Jacken from Bryant 2008-03-20
//Original value is 106
#ifdef RTL8190P //Modify by Jacken 2008/03/31
rx_pwr[i] = ((pofdm_buf->trsw_gain_X[i]&0x3F)*2) - 106;
#else
rx_pwr[i] = ((pofdm_buf->trsw_gain_X[i]&0x3F)*2) - 110;
#endif
//Get Rx snr value in DB
tmp_rxsnr = pofdm_buf->rxsnr_X[i];
rx_snrX = (char)(tmp_rxsnr);
rx_snrX /= 2;
priv->stats.rxSNRdB[i] = (long)rx_snrX;
/* Translate DBM to percentage. */
RSSI = rtl819x_query_rxpwrpercentage(rx_pwr[i]);
if (priv->brfpath_rxenable[i])
total_rssi += RSSI;
/* Record Signal Strength for next packet */
if(bpacket_match_bssid)
{
pstats->RxMIMOSignalStrength[i] =(u8) RSSI;
precord_stats->RxMIMOSignalStrength[i] =(u8) RSSI;
}
}
//
// (2)PWDB, Average PWDB cacluated by hardware (for rate adaptive)
//
//Fixed by Jacken from Bryant 2008-03-20
//Original value is 106
rx_pwr_all = (((pofdm_buf->pwdb_all ) >> 1 )& 0x7f) -106;
pwdb_all = rtl819x_query_rxpwrpercentage(rx_pwr_all);
pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all;
pstats->RxPower = precord_stats->RxPower = rx_pwr_all;
pstats->RecvSignalPower = rx_pwr_all;
//
// (3)EVM of HT rate
//
if(pdrvinfo->RxHT && pdrvinfo->RxRate>=DESC90_RATEMCS8 &&
pdrvinfo->RxRate<=DESC90_RATEMCS15)
max_spatial_stream = 2; //both spatial stream make sense
else
max_spatial_stream = 1; //only spatial stream 1 makes sense
for(i=0; i<max_spatial_stream; i++)
{
tmp_rxevm = pofdm_buf->rxevm_X[i];
rx_evmX = (char)(tmp_rxevm);
// Do not use shift operation like "rx_evmX >>= 1" because the compilor of free build environment
// fill most significant bit to "zero" when doing shifting operation which may change a negative
// value to positive one, then the dbm value (which is supposed to be negative) is not correct anymore.
rx_evmX /= 2; //dbm
evm = rtl819x_evm_dbtopercentage(rx_evmX);
if(bpacket_match_bssid)
{
if(i==0) // Fill value in RFD, Get the first spatial stream only
pstats->SignalQuality = precord_stats->SignalQuality = (u8)(evm & 0xff);
pstats->RxMIMOSignalQuality[i] = precord_stats->RxMIMOSignalQuality[i] = (u8)(evm & 0xff);
}
}
/* record rx statistics for debug */
rxsc_sgien_exflg = pofdm_buf->rxsc_sgien_exflg;
prxsc = (phy_ofdm_rx_status_rxsc_sgien_exintfflag *)&rxsc_sgien_exflg;
if(pdrvinfo->BW) //40M channel
priv->stats.received_bwtype[1+prxsc->rxsc]++;
else //20M channel
priv->stats.received_bwtype[0]++;
}
//UI BSS List signal strength(in percentage), make it good looking, from 0~100.
//It is assigned to the BSS List in GetValueFromBeaconOrProbeRsp().
if(is_cck_rate)
{
pstats->SignalStrength = precord_stats->SignalStrength = (u8)(rtl819x_signal_scale_mapping((long)pwdb_all));//PWDB_ALL;
}
else
{
//pRfd->Status.SignalStrength = pRecordRfd->Status.SignalStrength = (u1Byte)(SignalScaleMapping(total_rssi/=RF90_PATH_MAX));//(u1Byte)(total_rssi/=RF90_PATH_MAX);
// We can judge RX path number now.
if (rf_rx_num != 0)
pstats->SignalStrength = precord_stats->SignalStrength = (u8)(rtl819x_signal_scale_mapping((long)(total_rssi/=rf_rx_num)));
}
} /* QueryRxPhyStatus8190Pci */
static void
rtl8192_record_rxdesc_forlateruse(
struct ieee80211_rx_stats * psrc_stats,
struct ieee80211_rx_stats * ptarget_stats
)
{
ptarget_stats->bIsAMPDU = psrc_stats->bIsAMPDU;
ptarget_stats->bFirstMPDU = psrc_stats->bFirstMPDU;
//ptarget_stats->Seq_Num = psrc_stats->Seq_Num;
}
static void TranslateRxSignalStuff819xpci(struct net_device *dev,
struct sk_buff *skb,
struct ieee80211_rx_stats * pstats,
prx_desc_819x_pci pdesc,
prx_fwinfo_819x_pci pdrvinfo)
{
// TODO: We must only check packet for current MAC address. Not finish
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
bool bpacket_match_bssid, bpacket_toself;
bool bPacketBeacon=false, bToSelfBA=false;
static struct ieee80211_rx_stats previous_stats;
struct ieee80211_hdr_3addr *hdr;
u16 fc,type;
// Get Signal Quality for only RX data queue (but not command queue)
u8* tmp_buf;
u8 *praddr;
/* Get MAC frame start address. */
tmp_buf = skb->data;
hdr = (struct ieee80211_hdr_3addr *)tmp_buf;
fc = le16_to_cpu(hdr->frame_ctl);
type = WLAN_FC_GET_TYPE(fc);
praddr = hdr->addr1;
/* Check if the received packet is acceptabe. */
bpacket_match_bssid = ((IEEE80211_FTYPE_CTL != type) &&
(eqMacAddr(priv->ieee80211->current_network.bssid, (fc & IEEE80211_FCTL_TODS)? hdr->addr1 : (fc & IEEE80211_FCTL_FROMDS )? hdr->addr2 : hdr->addr3))
&& (!pstats->bHwError) && (!pstats->bCRC)&& (!pstats->bICV));
bpacket_toself = bpacket_match_bssid & (eqMacAddr(praddr, priv->ieee80211->dev->dev_addr));
if(WLAN_FC_GET_FRAMETYPE(fc)== IEEE80211_STYPE_BEACON)
{
bPacketBeacon = true;
//DbgPrint("Beacon 2, MatchBSSID = %d, ToSelf = %d \n", bPacketMatchBSSID, bPacketToSelf);
}
if(WLAN_FC_GET_FRAMETYPE(fc) == IEEE80211_STYPE_BLOCKACK)
{
if((eqMacAddr(praddr,dev->dev_addr)))
bToSelfBA = true;
//DbgPrint("BlockAck, MatchBSSID = %d, ToSelf = %d \n", bPacketMatchBSSID, bPacketToSelf);
}
if(bpacket_match_bssid)
{
priv->stats.numpacket_matchbssid++;
}
if(bpacket_toself){
priv->stats.numpacket_toself++;
}
//
// Process PHY information for previous packet (RSSI/PWDB/EVM)
//
// Because phy information is contained in the last packet of AMPDU only, so driver
// should process phy information of previous packet
rtl8192_process_phyinfo(priv, tmp_buf,&previous_stats, pstats);
rtl8192_query_rxphystatus(priv, pstats, pdesc, pdrvinfo, &previous_stats, bpacket_match_bssid,
bpacket_toself ,bPacketBeacon, bToSelfBA);
rtl8192_record_rxdesc_forlateruse(pstats, &previous_stats);
}
static void rtl8192_tx_resume(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
struct ieee80211_device *ieee = priv->ieee80211;
struct sk_buff *skb;
int queue_index;
for(queue_index = BK_QUEUE; queue_index < TXCMD_QUEUE;queue_index++) {
while((!skb_queue_empty(&ieee->skb_waitQ[queue_index]))&&
(priv->ieee80211->check_nic_enough_desc(dev,queue_index) > 0)) {
/* 1. dequeue the packet from the wait queue */
skb = skb_dequeue(&ieee->skb_waitQ[queue_index]);
/* 2. tx the packet directly */
ieee->softmac_data_hard_start_xmit(skb,dev,0/* rate useless now*/);
}
}
}
static void rtl8192_irq_tx_tasklet(struct r8192_priv *priv)
{
rtl8192_tx_resume(priv->ieee80211->dev);
}
/**
* Function: UpdateReceivedRateHistogramStatistics
* Overview: Recored down the received data rate
*
* Input:
* PADAPTER Adapter
* PRT_RFD pRfd,
*
* Output:
* PRT_TCB Adapter
* (Adapter->RxStats.ReceivedRateHistogram[] is updated)
* Return:
* None
*/
static void UpdateReceivedRateHistogramStatistics8190(
struct net_device *dev,
struct ieee80211_rx_stats* pstats
)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
u32 rcvType=1; //0: Total, 1:OK, 2:CRC, 3:ICV
u32 rateIndex;
u32 preamble_guardinterval; //1: short preamble/GI, 0: long preamble/GI
/* 2007/03/09 MH We will not update rate of packet from rx cmd queue. */
if(pstats->bCRC)
rcvType = 2;
else if(pstats->bICV)
rcvType = 3;
if(pstats->bShortPreamble)
preamble_guardinterval = 1;// short
else
preamble_guardinterval = 0;// long
switch(pstats->rate)
{
//
// CCK rate
//
case MGN_1M: rateIndex = 0; break;
case MGN_2M: rateIndex = 1; break;
case MGN_5_5M: rateIndex = 2; break;
case MGN_11M: rateIndex = 3; break;
//
// Legacy OFDM rate
//
case MGN_6M: rateIndex = 4; break;
case MGN_9M: rateIndex = 5; break;
case MGN_12M: rateIndex = 6; break;
case MGN_18M: rateIndex = 7; break;
case MGN_24M: rateIndex = 8; break;
case MGN_36M: rateIndex = 9; break;
case MGN_48M: rateIndex = 10; break;
case MGN_54M: rateIndex = 11; break;
//
// 11n High throughput rate
//
case MGN_MCS0: rateIndex = 12; break;
case MGN_MCS1: rateIndex = 13; break;
case MGN_MCS2: rateIndex = 14; break;
case MGN_MCS3: rateIndex = 15; break;
case MGN_MCS4: rateIndex = 16; break;
case MGN_MCS5: rateIndex = 17; break;
case MGN_MCS6: rateIndex = 18; break;
case MGN_MCS7: rateIndex = 19; break;
case MGN_MCS8: rateIndex = 20; break;
case MGN_MCS9: rateIndex = 21; break;
case MGN_MCS10: rateIndex = 22; break;
case MGN_MCS11: rateIndex = 23; break;
case MGN_MCS12: rateIndex = 24; break;
case MGN_MCS13: rateIndex = 25; break;
case MGN_MCS14: rateIndex = 26; break;
case MGN_MCS15: rateIndex = 27; break;
default: rateIndex = 28; break;
}
priv->stats.received_preamble_GI[preamble_guardinterval][rateIndex]++;
priv->stats.received_rate_histogram[0][rateIndex]++; //total
priv->stats.received_rate_histogram[rcvType][rateIndex]++;
}
static void rtl8192_rx(struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
struct ieee80211_hdr_1addr *ieee80211_hdr = NULL;
bool unicast_packet = false;
struct ieee80211_rx_stats stats = {
.signal = 0,
.noise = -98,
.rate = 0,
.freq = IEEE80211_24GHZ_BAND,
};
unsigned int count = priv->rxringcount;
stats.nic_type = NIC_8192E;
while (count--) {
rx_desc_819x_pci *pdesc = &priv->rx_ring[priv->rx_idx];//rx descriptor
struct sk_buff *skb = priv->rx_buf[priv->rx_idx];//rx pkt
if (pdesc->OWN){
/* wait data to be filled by hardware */
return;
} else {
stats.bICV = pdesc->ICV;
stats.bCRC = pdesc->CRC32;
stats.bHwError = pdesc->CRC32 | pdesc->ICV;
stats.Length = pdesc->Length;
if(stats.Length < 24)
stats.bHwError |= 1;
if(stats.bHwError) {
stats.bShift = false;
if(pdesc->CRC32) {
if (pdesc->Length <500)
priv->stats.rxcrcerrmin++;
else if (pdesc->Length >1000)
priv->stats.rxcrcerrmax++;
else
priv->stats.rxcrcerrmid++;
}
goto done;
} else {
prx_fwinfo_819x_pci pDrvInfo = NULL;
struct sk_buff *new_skb = dev_alloc_skb(priv->rxbuffersize);
if (unlikely(!new_skb)) {
goto done;
}
stats.RxDrvInfoSize = pdesc->RxDrvInfoSize;
stats.RxBufShift = ((pdesc->Shift)&0x03);
stats.Decrypted = !pdesc->SWDec;
pci_dma_sync_single_for_cpu(priv->pdev,
*((dma_addr_t *)skb->cb),
priv->rxbuffersize,
PCI_DMA_FROMDEVICE);
skb_put(skb, pdesc->Length);
pDrvInfo = (rx_fwinfo_819x_pci *)(skb->data + stats.RxBufShift);
skb_reserve(skb, stats.RxDrvInfoSize + stats.RxBufShift);
stats.rate = HwRateToMRate90((bool)pDrvInfo->RxHT, (u8)pDrvInfo->RxRate);
stats.bShortPreamble = pDrvInfo->SPLCP;
/* it is debug only. It should be disabled in released driver.
* 2007.1.11 by Emily
* */
UpdateReceivedRateHistogramStatistics8190(dev, &stats);
stats.bIsAMPDU = (pDrvInfo->PartAggr==1);
stats.bFirstMPDU = (pDrvInfo->PartAggr==1) && (pDrvInfo->FirstAGGR==1);
stats.TimeStampLow = pDrvInfo->TSFL;
stats.TimeStampHigh = read_nic_dword(dev, TSFR+4);
UpdateRxPktTimeStamp8190(dev, &stats);
//
// Get Total offset of MPDU Frame Body
//
if((stats.RxBufShift + stats.RxDrvInfoSize) > 0)
stats.bShift = 1;
stats.RxIs40MHzPacket = pDrvInfo->BW;
/* ???? */
TranslateRxSignalStuff819xpci(dev,skb, &stats, pdesc, pDrvInfo);
/* Rx A-MPDU */
if(pDrvInfo->FirstAGGR==1 || pDrvInfo->PartAggr == 1)
RT_TRACE(COMP_RXDESC, "pDrvInfo->FirstAGGR = %d, pDrvInfo->PartAggr = %d\n",
pDrvInfo->FirstAGGR, pDrvInfo->PartAggr);
skb_trim(skb, skb->len - 4/*sCrcLng*/);
/* rx packets statistics */
ieee80211_hdr = (struct ieee80211_hdr_1addr *)skb->data;
unicast_packet = false;
if(is_broadcast_ether_addr(ieee80211_hdr->addr1)) {
//TODO
}else if(is_multicast_ether_addr(ieee80211_hdr->addr1)){
//TODO
}else {
/* unicast packet */
unicast_packet = true;
}
stats.packetlength = stats.Length-4;
stats.fraglength = stats.packetlength;
stats.fragoffset = 0;
stats.ntotalfrag = 1;
if(!ieee80211_rtl_rx(priv->ieee80211, skb, &stats)){
dev_kfree_skb_any(skb);
} else {
priv->stats.rxok++;
if(unicast_packet) {
priv->stats.rxbytesunicast += skb->len;
}
}
skb = new_skb;
priv->rx_buf[priv->rx_idx] = skb;
*((dma_addr_t *) skb->cb) = pci_map_single(priv->pdev, skb_tail_pointer(skb), priv->rxbuffersize, PCI_DMA_FROMDEVICE);
}
}
done:
pdesc->BufferAddress = cpu_to_le32(*((dma_addr_t *)skb->cb));
pdesc->OWN = 1;
pdesc->Length = priv->rxbuffersize;
if (priv->rx_idx == priv->rxringcount-1)
pdesc->EOR = 1;
priv->rx_idx = (priv->rx_idx + 1) % priv->rxringcount;
}
}
static void rtl8192_irq_rx_tasklet(struct r8192_priv *priv)
{
rtl8192_rx(priv->ieee80211->dev);
/* unmask RDU */
write_nic_dword(priv->ieee80211->dev, INTA_MASK,read_nic_dword(priv->ieee80211->dev, INTA_MASK) | IMR_RDU);
}
static const struct net_device_ops rtl8192_netdev_ops = {
.ndo_open = rtl8192_open,
.ndo_stop = rtl8192_close,
/* .ndo_get_stats = rtl8192_stats, */
.ndo_tx_timeout = tx_timeout,
.ndo_do_ioctl = rtl8192_ioctl,
.ndo_set_multicast_list = r8192_set_multicast,
.ndo_set_mac_address = r8192_set_mac_adr,
.ndo_start_xmit = ieee80211_rtl_xmit,
};
/****************************************************************************
---------------------------- PCI_STUFF---------------------------
*****************************************************************************/
static int __devinit rtl8192_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{
unsigned long ioaddr = 0;
struct net_device *dev = NULL;
struct r8192_priv *priv= NULL;
u8 unit = 0;
#ifdef CONFIG_RTL8192_IO_MAP
unsigned long pio_start, pio_len, pio_flags;
#else
unsigned long pmem_start, pmem_len, pmem_flags;
#endif //end #ifdef RTL_IO_MAP
RT_TRACE(COMP_INIT,"Configuring chip resources");
if( pci_enable_device (pdev) ){
RT_TRACE(COMP_ERR,"Failed to enable PCI device");
return -EIO;
}
pci_set_master(pdev);
//pci_set_wmi(pdev);
pci_set_dma_mask(pdev, 0xffffff00ULL);
pci_set_consistent_dma_mask(pdev,0xffffff00ULL);
dev = alloc_ieee80211(sizeof(struct r8192_priv));
if (!dev)
return -ENOMEM;
pci_set_drvdata(pdev, dev);
SET_NETDEV_DEV(dev, &pdev->dev);
priv = ieee80211_priv(dev);
priv->ieee80211 = netdev_priv(dev);
priv->pdev=pdev;
if((pdev->subsystem_vendor == PCI_VENDOR_ID_DLINK)&&(pdev->subsystem_device == 0x3304)){
priv->ieee80211->bSupportRemoteWakeUp = 1;
} else
{
priv->ieee80211->bSupportRemoteWakeUp = 0;
}
#ifdef CONFIG_RTL8192_IO_MAP
pio_start = (unsigned long)pci_resource_start (pdev, 0);
pio_len = (unsigned long)pci_resource_len (pdev, 0);
pio_flags = (unsigned long)pci_resource_flags (pdev, 0);
if (!(pio_flags & IORESOURCE_IO)) {
RT_TRACE(COMP_ERR,"region #0 not a PIO resource, aborting");
goto fail;
}
//DMESG("IO space @ 0x%08lx", pio_start );
if( ! request_region( pio_start, pio_len, RTL819xE_MODULE_NAME ) ){
RT_TRACE(COMP_ERR,"request_region failed!");
goto fail;
}
ioaddr = pio_start;
dev->base_addr = ioaddr; // device I/O address
#else
pmem_start = pci_resource_start(pdev, 1);
pmem_len = pci_resource_len(pdev, 1);
pmem_flags = pci_resource_flags (pdev, 1);
if (!(pmem_flags & IORESOURCE_MEM)) {
RT_TRACE(COMP_ERR,"region #1 not a MMIO resource, aborting");
goto fail;
}
//DMESG("Memory mapped space @ 0x%08lx ", pmem_start);
if( ! request_mem_region(pmem_start, pmem_len, RTL819xE_MODULE_NAME)) {
RT_TRACE(COMP_ERR,"request_mem_region failed!");
goto fail;
}
ioaddr = (unsigned long)ioremap_nocache( pmem_start, pmem_len);
if( ioaddr == (unsigned long)NULL ){
RT_TRACE(COMP_ERR,"ioremap failed!");
// release_mem_region( pmem_start, pmem_len );
goto fail1;
}
dev->mem_start = ioaddr; // shared mem start
dev->mem_end = ioaddr + pci_resource_len(pdev, 0); // shared mem end
#endif //end #ifdef RTL_IO_MAP
/* We disable the RETRY_TIMEOUT register (0x41) to keep
* PCI Tx retries from interfering with C3 CPU state */
pci_write_config_byte(pdev, 0x41, 0x00);
pci_read_config_byte(pdev, 0x05, &unit);
pci_write_config_byte(pdev, 0x05, unit & (~0x04));
dev->irq = pdev->irq;
priv->irq = 0;
dev->netdev_ops = &rtl8192_netdev_ops;
//DMESG("Oops: i'm coming\n");
#if WIRELESS_EXT >= 12
#if WIRELESS_EXT < 17
dev->get_wireless_stats = r8192_get_wireless_stats;
#endif
dev->wireless_handlers = (struct iw_handler_def *) &r8192_wx_handlers_def;
#endif
//dev->get_wireless_stats = r8192_get_wireless_stats;
dev->type=ARPHRD_ETHER;
dev->watchdog_timeo = HZ*3; //modified by john, 0805
if (dev_alloc_name(dev, ifname) < 0){
RT_TRACE(COMP_INIT, "Oops: devname already taken! Trying wlan%%d...\n");
strcpy(ifname, "wlan%d");
dev_alloc_name(dev, ifname);
}
RT_TRACE(COMP_INIT, "Driver probe completed1\n");
if(rtl8192_init(dev)!=0){
RT_TRACE(COMP_ERR, "Initialization failed");
goto fail;
}
netif_carrier_off(dev);
netif_stop_queue(dev);
register_netdev(dev);
RT_TRACE(COMP_INIT, "dev name=======> %s\n",dev->name);
rtl8192_proc_init_one(dev);
RT_TRACE(COMP_INIT, "Driver probe completed\n");
return 0;
fail1:
#ifdef CONFIG_RTL8180_IO_MAP
if( dev->base_addr != 0 ){
release_region(dev->base_addr,
pci_resource_len(pdev, 0) );
}
#else
if( dev->mem_start != (unsigned long)NULL ){
iounmap( (void *)dev->mem_start );
release_mem_region( pci_resource_start(pdev, 1),
pci_resource_len(pdev, 1) );
}
#endif //end #ifdef RTL_IO_MAP
fail:
if(dev){
if (priv->irq) {
free_irq(dev->irq, dev);
dev->irq=0;
}
free_ieee80211(dev);
}
pci_disable_device(pdev);
DMESG("wlan driver load failed\n");
pci_set_drvdata(pdev, NULL);
return -ENODEV;
}
/* detach all the work and timer structure declared or inititialized
* in r8192_init function.
* */
void rtl8192_cancel_deferred_work(struct r8192_priv* priv)
{
cancel_delayed_work(&priv->watch_dog_wq);
cancel_delayed_work(&priv->update_beacon_wq);
cancel_delayed_work(&priv->ieee80211->hw_wakeup_wq);
cancel_delayed_work(&priv->ieee80211->hw_sleep_wq);
#ifdef RTL8192E
cancel_delayed_work(&priv->gpio_change_rf_wq);
#endif
cancel_work_sync(&priv->reset_wq);
cancel_work_sync(&priv->qos_activate);
//cancel_work_sync(&priv->SetBWModeWorkItem);
//cancel_work_sync(&priv->SwChnlWorkItem);
}
static void __devexit rtl8192_pci_disconnect(struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
struct r8192_priv *priv ;
if(dev){
unregister_netdev(dev);
priv=ieee80211_priv(dev);
rtl8192_proc_remove_one(dev);
rtl8192_down(dev);
if (priv->pFirmware)
{
vfree(priv->pFirmware);
priv->pFirmware = NULL;
}
// priv->rf_close(dev);
// rtl8192_usb_deleteendpoints(dev);
destroy_workqueue(priv->priv_wq);
/* redundant with rtl8192_down */
// rtl8192_irq_disable(dev);
// rtl8192_reset(dev);
// mdelay(10);
{
u32 i;
/* free tx/rx rings */
rtl8192_free_rx_ring(dev);
for (i = 0; i < MAX_TX_QUEUE_COUNT; i++) {
rtl8192_free_tx_ring(dev, i);
}
}
if(priv->irq){
printk("Freeing irq %d\n",dev->irq);
free_irq(dev->irq, dev);
priv->irq=0;
}
// free_beacon_desc_ring(dev,priv->txbeaconcount);
#ifdef CONFIG_RTL8180_IO_MAP
if( dev->base_addr != 0 ){
release_region(dev->base_addr,
pci_resource_len(pdev, 0) );
}
#else
if( dev->mem_start != (unsigned long)NULL ){
iounmap( (void *)dev->mem_start );
release_mem_region( pci_resource_start(pdev, 1),
pci_resource_len(pdev, 1) );
}
#endif /*end #ifdef RTL_IO_MAP*/
free_ieee80211(dev);
}
pci_disable_device(pdev);
RT_TRACE(COMP_DOWN, "wlan driver removed\n");
}
extern int ieee80211_rtl_init(void);
extern void ieee80211_rtl_exit(void);
static int __init rtl8192_pci_module_init(void)
{
int retval;
retval = ieee80211_rtl_init();
if (retval)
return retval;
printk(KERN_INFO "\nLinux kernel driver for RTL8192 based WLAN cards\n");
printk(KERN_INFO "Copyright (c) 2007-2008, Realsil Wlan\n");
RT_TRACE(COMP_INIT, "Initializing module");
RT_TRACE(COMP_INIT, "Wireless extensions version %d", WIRELESS_EXT);
rtl8192_proc_module_init();
if(0!=pci_register_driver(&rtl8192_pci_driver))
{
DMESG("No device found");
/*pci_unregister_driver (&rtl8192_pci_driver);*/
return -ENODEV;
}
return 0;
}
static void __exit rtl8192_pci_module_exit(void)
{
pci_unregister_driver(&rtl8192_pci_driver);
RT_TRACE(COMP_DOWN, "Exiting");
rtl8192_proc_module_remove();
ieee80211_rtl_exit();
}
//warning message WB
static irqreturn_t rtl8192_interrupt(int irq, void *netdev)
{
struct net_device *dev = (struct net_device *) netdev;
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
unsigned long flags;
u32 inta;
/* We should return IRQ_NONE, but for now let me keep this */
if(priv->irq_enabled == 0){
return IRQ_HANDLED;
}
spin_lock_irqsave(&priv->irq_th_lock,flags);
//ISR: 4bytes
inta = read_nic_dword(dev, ISR);// & priv->IntrMask;
write_nic_dword(dev,ISR,inta); // reset int situation
priv->stats.shints++;
//DMESG("Enter interrupt, ISR value = 0x%08x", inta);
if(!inta){
spin_unlock_irqrestore(&priv->irq_th_lock,flags);
return IRQ_HANDLED;
/*
most probably we can safely return IRQ_NONE,
but for now is better to avoid problems
*/
}
if(inta == 0xffff){
/* HW disappared */
spin_unlock_irqrestore(&priv->irq_th_lock,flags);
return IRQ_HANDLED;
}
priv->stats.ints++;
#ifdef DEBUG_IRQ
DMESG("NIC irq %x",inta);
#endif
//priv->irqpending = inta;
if(!netif_running(dev)) {
spin_unlock_irqrestore(&priv->irq_th_lock,flags);
return IRQ_HANDLED;
}
if(inta & IMR_TIMEOUT0){
// write_nic_dword(dev, TimerInt, 0);
//DMESG("=================>waking up");
// rtl8180_hw_wakeup(dev);
}
if(inta & IMR_TBDOK){
RT_TRACE(COMP_INTR, "beacon ok interrupt!\n");
rtl8192_tx_isr(dev, BEACON_QUEUE);
priv->stats.txbeaconokint++;
}
if(inta & IMR_TBDER){
RT_TRACE(COMP_INTR, "beacon ok interrupt!\n");
rtl8192_tx_isr(dev, BEACON_QUEUE);
priv->stats.txbeaconerr++;
}
if(inta & IMR_MGNTDOK ) {
RT_TRACE(COMP_INTR, "Manage ok interrupt!\n");
priv->stats.txmanageokint++;
rtl8192_tx_isr(dev,MGNT_QUEUE);
}
if(inta & IMR_COMDOK)
{
priv->stats.txcmdpktokint++;
rtl8192_tx_isr(dev,TXCMD_QUEUE);
}
if(inta & IMR_ROK){
#ifdef DEBUG_RX
DMESG("Frame arrived !");
#endif
priv->stats.rxint++;
tasklet_schedule(&priv->irq_rx_tasklet);
}
if(inta & IMR_BcnInt) {
RT_TRACE(COMP_INTR, "prepare beacon for interrupt!\n");
tasklet_schedule(&priv->irq_prepare_beacon_tasklet);
}
if(inta & IMR_RDU){
RT_TRACE(COMP_INTR, "rx descriptor unavailable!\n");
priv->stats.rxrdu++;
/* reset int situation */
write_nic_dword(dev,INTA_MASK,read_nic_dword(dev, INTA_MASK) & ~IMR_RDU);
tasklet_schedule(&priv->irq_rx_tasklet);
}
if(inta & IMR_RXFOVW){
RT_TRACE(COMP_INTR, "rx overflow !\n");
priv->stats.rxoverflow++;
tasklet_schedule(&priv->irq_rx_tasklet);
}
if(inta & IMR_TXFOVW) priv->stats.txoverflow++;
if(inta & IMR_BKDOK){
RT_TRACE(COMP_INTR, "BK Tx OK interrupt!\n");
priv->stats.txbkokint++;
priv->ieee80211->LinkDetectInfo.NumTxOkInPeriod++;
rtl8192_tx_isr(dev,BK_QUEUE);
rtl8192_try_wake_queue(dev, BK_QUEUE);
}
if(inta & IMR_BEDOK){
RT_TRACE(COMP_INTR, "BE TX OK interrupt!\n");
priv->stats.txbeokint++;
priv->ieee80211->LinkDetectInfo.NumTxOkInPeriod++;
rtl8192_tx_isr(dev,BE_QUEUE);
rtl8192_try_wake_queue(dev, BE_QUEUE);
}
if(inta & IMR_VIDOK){
RT_TRACE(COMP_INTR, "VI TX OK interrupt!\n");
priv->stats.txviokint++;
priv->ieee80211->LinkDetectInfo.NumTxOkInPeriod++;
rtl8192_tx_isr(dev,VI_QUEUE);
rtl8192_try_wake_queue(dev, VI_QUEUE);
}
if(inta & IMR_VODOK){
priv->stats.txvookint++;
priv->ieee80211->LinkDetectInfo.NumTxOkInPeriod++;
rtl8192_tx_isr(dev,VO_QUEUE);
rtl8192_try_wake_queue(dev, VO_QUEUE);
}
force_pci_posting(dev);
spin_unlock_irqrestore(&priv->irq_th_lock,flags);
return IRQ_HANDLED;
}
static void rtl8192_try_wake_queue(struct net_device *dev, int pri)
{
}
void EnableHWSecurityConfig8192(struct net_device *dev)
{
u8 SECR_value = 0x0;
// struct ieee80211_device* ieee1 = container_of(&dev, struct ieee80211_device, dev);
//printk("==>ieee1:%p, dev:%p\n", ieee1, dev);
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
struct ieee80211_device* ieee = priv->ieee80211;
//printk("==>ieee:%p, dev:%p\n", ieee, dev);
SECR_value = SCR_TxEncEnable | SCR_RxDecEnable;
if (((KEY_TYPE_WEP40 == ieee->pairwise_key_type) || (KEY_TYPE_WEP104 == ieee->pairwise_key_type)) && (priv->ieee80211->auth_mode != 2))
{
SECR_value |= SCR_RxUseDK;
SECR_value |= SCR_TxUseDK;
}
else if ((ieee->iw_mode == IW_MODE_ADHOC) && (ieee->pairwise_key_type & (KEY_TYPE_CCMP | KEY_TYPE_TKIP)))
{
SECR_value |= SCR_RxUseDK;
SECR_value |= SCR_TxUseDK;
}
//add HWSec active enable here.
//default using hwsec. when peer AP is in N mode only and pairwise_key_type is none_aes(which HT_IOT_ACT_PURE_N_MODE indicates it), use software security. when peer AP is in b,g,n mode mixed and pairwise_key_type is none_aes, use g mode hw security. WB on 2008.7.4
ieee->hwsec_active = 1;
if ((ieee->pHTInfo->IOTAction&HT_IOT_ACT_PURE_N_MODE) || !hwwep)//!ieee->hwsec_support) //add hwsec_support flag to totol control hw_sec on/off
{
ieee->hwsec_active = 0;
SECR_value &= ~SCR_RxDecEnable;
}
RT_TRACE(COMP_SEC,"%s:, hwsec:%d, pairwise_key:%d, SECR_value:%x\n", __FUNCTION__, \
ieee->hwsec_active, ieee->pairwise_key_type, SECR_value);
{
write_nic_byte(dev, SECR, SECR_value);//SECR_value | SCR_UseDK );
}
}
#define TOTAL_CAM_ENTRY 32
//#define CAM_CONTENT_COUNT 8
void setKey( struct net_device *dev,
u8 EntryNo,
u8 KeyIndex,
u16 KeyType,
const u8 *MacAddr,
u8 DefaultKey,
u32 *KeyContent )
{
u32 TargetCommand = 0;
u32 TargetContent = 0;
u16 usConfig = 0;
u8 i;
#ifdef ENABLE_IPS
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
RT_RF_POWER_STATE rtState;
rtState = priv->ieee80211->eRFPowerState;
if(priv->ieee80211->PowerSaveControl.bInactivePs){
if(rtState == eRfOff){
if(priv->ieee80211->RfOffReason > RF_CHANGE_BY_IPS)
{
RT_TRACE(COMP_ERR, "%s(): RF is OFF.\n",__FUNCTION__);
//up(&priv->wx_sem);
return ;
}
else{
down(&priv->ieee80211->ips_sem);
IPSLeave(dev);
up(&priv->ieee80211->ips_sem);
}
}
}
priv->ieee80211->is_set_key = true;
#endif
if (EntryNo >= TOTAL_CAM_ENTRY)
RT_TRACE(COMP_ERR, "cam entry exceeds in setKey()\n");
RT_TRACE(COMP_SEC, "====>to setKey(), dev:%p, EntryNo:%d, KeyIndex:%d, KeyType:%d, MacAddr%pM\n", dev,EntryNo, KeyIndex, KeyType, MacAddr);
if (DefaultKey)
usConfig |= BIT15 | (KeyType<<2);
else
usConfig |= BIT15 | (KeyType<<2) | KeyIndex;
// usConfig |= BIT15 | (KeyType<<2) | (DefaultKey<<5) | KeyIndex;
for(i=0 ; i<CAM_CONTENT_COUNT; i++){
TargetCommand = i+CAM_CONTENT_COUNT*EntryNo;
TargetCommand |= BIT31|BIT16;
if(i==0){//MAC|Config
TargetContent = (u32)(*(MacAddr+0)) << 16|
(u32)(*(MacAddr+1)) << 24|
(u32)usConfig;
write_nic_dword(dev, WCAMI, TargetContent);
write_nic_dword(dev, RWCAM, TargetCommand);
// printk("setkey cam =%8x\n", read_cam(dev, i+6*EntryNo));
}
else if(i==1){//MAC
TargetContent = (u32)(*(MacAddr+2)) |
(u32)(*(MacAddr+3)) << 8|
(u32)(*(MacAddr+4)) << 16|
(u32)(*(MacAddr+5)) << 24;
write_nic_dword(dev, WCAMI, TargetContent);
write_nic_dword(dev, RWCAM, TargetCommand);
}
else { //Key Material
if(KeyContent != NULL)
{
write_nic_dword(dev, WCAMI, (u32)(*(KeyContent+i-2)) );
write_nic_dword(dev, RWCAM, TargetCommand);
}
}
}
RT_TRACE(COMP_SEC,"=========>after set key, usconfig:%x\n", usConfig);
}
// This function seems not ready! WB
void CamPrintDbgReg(struct net_device* dev)
{
unsigned long rvalue;
unsigned char ucValue;
write_nic_dword(dev, DCAM, 0x80000000);
msleep(40);
rvalue = read_nic_dword(dev, DCAM); //delay_ms(40);
RT_TRACE(COMP_SEC, " TX CAM=%8lX ",rvalue);
if((rvalue & 0x40000000) != 0x4000000)
RT_TRACE(COMP_SEC, "-->TX Key Not Found ");
msleep(20);
write_nic_dword(dev, DCAM, 0x00000000); //delay_ms(40);
rvalue = read_nic_dword(dev, DCAM); //delay_ms(40);
RT_TRACE(COMP_SEC, "RX CAM=%8lX ",rvalue);
if((rvalue & 0x40000000) != 0x4000000)
RT_TRACE(COMP_SEC, "-->CAM Key Not Found ");
ucValue = read_nic_byte(dev, SECR);
RT_TRACE(COMP_SEC, "WPA_Config=%x \n",ucValue);
}
bool NicIFEnableNIC(struct net_device* dev)
{
RT_STATUS init_status = RT_STATUS_SUCCESS;
struct r8192_priv* priv = ieee80211_priv(dev);
PRT_POWER_SAVE_CONTROL pPSC = (PRT_POWER_SAVE_CONTROL)(&(priv->ieee80211->PowerSaveControl));
//YJ,add,091109
if (priv->up == 0){
RT_TRACE(COMP_ERR, "ERR!!! %s(): Driver is already down!\n",__FUNCTION__);
priv->bdisable_nic = false; //YJ,add,091111
return false;
}
// <1> Reset memory: descriptor, buffer,..
//NicIFResetMemory(Adapter);
// <2> Enable Adapter
//printk("===========>%s()\n",__FUNCTION__);
//priv->bfirst_init = true;
init_status = rtl8192_adapter_start(dev);
if (init_status != RT_STATUS_SUCCESS) {
RT_TRACE(COMP_ERR,"ERR!!! %s(): initialization is failed!\n",__FUNCTION__);
priv->bdisable_nic = false; //YJ,add,091111
return -1;
}
//printk("start adapter finished\n");
RT_CLEAR_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC);
//priv->bfirst_init = false;
// <3> Enable Interrupt
rtl8192_irq_enable(dev);
priv->bdisable_nic = false;
//RT_TRACE(COMP_PS,"<===========%s()\n",__FUNCTION__);
return (init_status == RT_STATUS_SUCCESS) ? true:false;
}
bool NicIFDisableNIC(struct net_device* dev)
{
bool status = true;
struct r8192_priv* priv = ieee80211_priv(dev);
u8 tmp_state = 0;
// <1> Disable Interrupt
//RT_TRACE(COMP_PS, "=========>%s()\n",__FUNCTION__);
priv->bdisable_nic = true; //YJ,move,091109
tmp_state = priv->ieee80211->state;
ieee80211_softmac_stop_protocol(priv->ieee80211, false);
priv->ieee80211->state = tmp_state;
rtl8192_cancel_deferred_work(priv);
rtl8192_irq_disable(dev);
// <2> Stop all timer
// <3> Disable Adapter
rtl8192_halt_adapter(dev, false);
// priv->bdisable_nic = true;
//RT_TRACE(COMP_PS, "<=========%s()\n",__FUNCTION__);
return status;
}
/***************************************************************************
------------------- module init / exit stubs ----------------
****************************************************************************/
module_init(rtl8192_pci_module_init);
module_exit(rtl8192_pci_module_exit);
| wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/drivers/staging/rtl8192e/r8192E_core.c | C | gpl-2.0 | 202,469 | [
30522,
1013,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
100... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
//
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
// LICENSE: Atomic Game Engine Editor and Tools EULA
// Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
// license information: https://github.com/AtomicGameEngine/AtomicGameEngine
//
#pragma once
#include <Atomic/Core/Object.h>
using namespace Atomic;
namespace ToolCore
{
class JSBPackage;
class JSBModule;
class JSBHeader;
class JSBEnum : public Object
{
OBJECT(JSBEnum)
public:
JSBEnum(Context* context, JSBModule* module, const String& name);
virtual ~JSBEnum();
const String& GetName() { return name_; }
JSBHeader* GetHeader() { return header_; }
JSBPackage* GetPackage();
HashMap<String, String>& GetValues() { return values_; }
void SetHeader(JSBHeader* header) { header_ = header; }
void Preprocess();
void AddValue(const String& name, const String& constantValue = String::EMPTY) { values_[name] = constantValue; }
private:
String name_;
SharedPtr<JSBModule> module_;
HashMap<String, String> values_;
JSBHeader* header_;
};
}
| rsredsq/AtomicGameEngine | Source/ToolCore/JSBind/JSBEnum.h | C | mit | 1,111 | [
30522,
1013,
1013,
1013,
1013,
9385,
1006,
1039,
1007,
2297,
1011,
2325,
1010,
8505,
4783,
14083,
2399,
11775,
2035,
2916,
9235,
1013,
1013,
6105,
1024,
9593,
2208,
3194,
3559,
1998,
5906,
7327,
2721,
1013,
1013,
3531,
2156,
6105,
1035,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
.podcast-channel-header{width:100%;clear:both;display:inline-block;border-bottom:3px solid #000}.podcast-channel-image{width:25%;float:left;display:inline-block;border:1px solid #000}.channel-meta{width:74%;float:left;display:inline-block}.channel-meta h1{text-align:center;margin:0}.channel-meta h2{text-align:center}.channel-meta p.owner{text-align:center;margin:-1em 0 0 0}.channel-meta p.description{margin-left:auto;margin-right:auto;text-align:center;line-height:1.2}.channel-links{float:left;margin-left:2em}.channel-content{display:inline-block}#episodes{display:inline-block;clear:both;width:75%;float:left}#episodes ul{list-style-type:none}.clearfix{clear:both}#podcast-series{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;display:inline-block;background:#ccc;width:24%;float:right;min-height:16em}#podcast-series h2{font-size:20px;text-align:center}#podcast-series a{color:#000}#podcast-series a:hover{font-weight:bold}
/*# sourceMappingURL=podcast.css.map */ | floede/freeplay-blog | user/plugins/podcast/assets/css/podcast.css | CSS | mit | 992 | [
30522,
1012,
16110,
1011,
3149,
1011,
20346,
1063,
9381,
1024,
2531,
1003,
1025,
3154,
1024,
2119,
1025,
4653,
1024,
23881,
1011,
3796,
1025,
3675,
1011,
3953,
1024,
1017,
2361,
2595,
5024,
1001,
2199,
1065,
1012,
16110,
1011,
3149,
1011,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
/**
* Created by PhpStorm.
* User: ROGER
* Date: 16.03.14
* Time: 04:08
*/
add_action('admin_notices', 'my_admin_notice');
function my_admin_notice() {
$set_errors = get_settings_errors();
if (!isset($_SESSION['page_for_posts']) || !isset($_SESSION['page_on_front'])) {
$_SESSION['page_for_posts'] = get_option('page_for_posts');
$_SESSION['page_on_front'] = get_option('page_on_front');
}
if (current_user_can('manage_options') && !empty($set_errors) &&
$_SERVER['PHP_SELF'] === '/wp-admin/options-reading.php'
) {
if ($set_errors[0]['code'] == 'settings_updated' && isset($_GET['settings-updated']) &&
($_SESSION['page_for_posts'] !== get_option('page_for_posts') ||
$_SESSION['page_on_front'] !== get_option('page_on_front'))
) {
$_SESSION['page_for_posts'] = get_option('page_for_posts');
$_SESSION['page_on_front'] = get_option('page_on_front');
if (get_option('show_on_front') == 'page') {
echo '<div id="message" class="updated ">
<p>Please, don\'t forget to update your Blog page. Click here: <a href="' .
admin_url
('edit.php?post_type=page') .
'">Edit Pages</a> </p>
</div>';
} else {
echo '<div id="message" class="updated ">
<p>Please, don\'t forget to update Front and Posts pages. Click here: <a href="' .
admin_url
('edit.php?post_type=page') .
'">Edit Pages</a> </p>
</div>';
}
}
}
} | HRoger/angularpresstheme | library/inc/angular/admin/reading-settings.php | PHP | gpl-2.0 | 1,450 | [
30522,
1026,
1029,
25718,
1013,
1008,
1008,
1008,
2580,
2011,
25718,
19718,
1012,
1008,
5310,
1024,
5074,
1008,
3058,
1024,
2385,
1012,
6021,
1012,
2403,
1008,
2051,
1024,
5840,
1024,
5511,
1008,
1013,
5587,
1035,
2895,
1006,
1005,
4748,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
a = [1,2,3,4,5]
b = [2,3,4,5,6]
to_100=list(range(1,100))
print ("Printing B")
for i in a:
print i
print ("Printing A")
for i in b:
print i
print ("Print 100 elements")
for i in to_100:
print i | davidvillaciscalderon/PythonLab | Session 4/bucles.py | Python | mit | 211 | [
30522,
1037,
1027,
1031,
1015,
1010,
1016,
1010,
1017,
1010,
1018,
1010,
1019,
1033,
1038,
1027,
1031,
1016,
1010,
1017,
1010,
1018,
1010,
1019,
1010,
1020,
1033,
2000,
1035,
2531,
1027,
2862,
1006,
2846,
1006,
1015,
1010,
2531,
1007,
100... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
/**
* @package EasyBlog
* @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasyBlog is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined('_JEXEC') or die('Unauthorized Access');
require_once(__DIR__ . '/abstract.php');
class EasyBlogContributorJomsocialEvent extends EasyBlogContributorAbstract
{
public $event = null;
public function __construct($id, $type)
{
parent::__construct($id, $type);
$exists = EB::jomsocial()->exists();
if (!$exists) {
return;
}
JTable::addIncludePath(JPATH_ROOT . '/components/com_community/tables');
$event = JTable::getInstance('Event', 'CTable');
$event->load($id);
$this->event = $event;
}
public function getAvatar()
{
$exists = EB::jomsocial()->exists();
if (!$exists) {
return;
}
return $this->event->getAvatar();
}
public function getTitle()
{
$exists = EB::jomsocial()->exists();
if (!$exists) {
return;
}
return $this->event->title;
}
public function getPermalink()
{
$exists = EB::jomsocial()->exists();
if (!$exists) {
return;
}
return $this->event->getLink();
}
}
| quanghung0404/it2tech | administrator/components/com_easyblog/includes/contributor/adapters/jomsocial.event.php | PHP | gpl-2.0 | 1,629 | [
30522,
1026,
1029,
25718,
1013,
1008,
1008,
1008,
1030,
7427,
3733,
16558,
8649,
1008,
1030,
9385,
9385,
1006,
1039,
1007,
2230,
1011,
2297,
9991,
4784,
17371,
2078,
1038,
14945,
1012,
2035,
2916,
9235,
1012,
1008,
1030,
6105,
27004,
1013,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
/**
* This file is part of the Bruery Platform.
*
* (c) Viktore Zara <viktore.zara@gmail.com>
* (c) Mell Zamora <mellzamora@outlook.com>
*
* Copyright (c) 2017. For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Bruery\EntityAuditBundle\EventListener;
use Bruery\EntityAuditBundle\Model\AuditManager;
use Doctrine\Common\EventSubscriber;
use Doctrine\DBAL\Types\Type;
use Doctrine\ORM\Event\LifecycleEventArgs;
use Doctrine\ORM\Event\OnFlushEventArgs;
use Doctrine\ORM\Events;
use Doctrine\ORM\Mapping\ClassMetadata;
class LogRevisionsListener implements EventSubscriber
{
/**
* @var \SimpleThings\EntityAudit\AuditConfiguration
*/
protected $config;
/**
* @var \SimpleThings\EntityAudit\Metadata\MetadataFactory
*/
protected $metadataFactory;
/**
* @var \Doctrine\DBAL\Connection
*/
protected $conn;
/**
* @var \Doctrine\DBAL\Platforms\AbstractPlatform
*/
protected $platform;
/**
* @var \Doctrine\ORM\EntityManager
*/
protected $sourceEm;
/**
* @var array
*/
protected $insertRevisionSQL = array();
/**
* @var \Doctrine\ORM\UnitOfWork
*/
protected $uow;
/**
* @var int
*/
protected $revisionId;
protected $auditEm;
public function __construct(AuditManager $auditManager)
{
$this->config = $auditManager->getConfiguration();
$this->metadataFactory = $auditManager->getMetadataFactory();
}
public function getSubscribedEvents()
{
return array(Events::onFlush, Events::postPersist, Events::postUpdate);
}
public function postPersist(LifecycleEventArgs $eventArgs)
{
// onFlush was executed before, everything already initialized
$entity = $eventArgs->getEntity();
$class = $this->sourceEm->getClassMetadata(get_class($entity));
if (!$this->metadataFactory->isAudited($class->name)) {
return;
}
$this->saveRevisionEntityData($class, $this->getOriginalEntityData($entity), 'INS');
}
public function postUpdate(LifecycleEventArgs $eventArgs)
{
// onFlush was executed before, everything already initialized
$entity = $eventArgs->getEntity();
$class = $this->sourceEm->getClassMetadata(get_class($entity));
if (!$this->metadataFactory->isAudited($class->name)) {
return;
}
// get changes => should be already computed here (is a listener)
$changeset = $this->uow->getEntityChangeSet($entity);
foreach ($this->config->getGlobalIgnoreColumns() as $column) {
if (isset($changeset[$column])) {
unset($changeset[$column]);
}
}
// if we have no changes left => don't create revision log
if (count($changeset) == 0) {
return;
}
$entityData = array_merge($this->getOriginalEntityData($entity), $this->uow->getEntityIdentifier($entity));
$this->saveRevisionEntityData($class, $entityData, 'UPD');
}
public function onFlush(OnFlushEventArgs $eventArgs)
{
$this->sourceEm = $eventArgs->getEntityManager();
$this->conn = $this->sourceEm->getConnection();
$this->uow = $this->sourceEm->getUnitOfWork();
$this->platform = $this->conn->getDatabasePlatform();
$this->revisionId = null; // reset revision
foreach ($this->uow->getScheduledEntityDeletions() as $entity) {
$class = $this->sourceEm->getClassMetadata(get_class($entity));
if (!$this->metadataFactory->isAudited($class->name)) {
continue;
}
$entityData = array_merge($this->getOriginalEntityData($entity), $this->uow->getEntityIdentifier($entity));
$this->saveRevisionEntityData($class, $entityData, 'DEL');
}
}
/**
* get original entity data, including versioned field, if "version" constraint is used
*
* @param mixed $entity
* @return array
*/
protected function getOriginalEntityData($entity)
{
$class = $this->sourceEm->getClassMetadata(get_class($entity));
$data = $this->uow->getOriginalEntityData($entity);
if ($class->isVersioned) {
$versionField = $class->versionField;
$data[$versionField] = $class->reflFields[$versionField]->getValue($entity);
}
return $data;
}
protected function getRevisionId()
{
if ($this->revisionId === null) {
$this->auditEm->getConnection()->insert($this->config->getRevisionTableName(), array(
'timestamp' => date_create('now'),
'username' => $this->config->getCurrentUsername() ?: 'admin',
), array(
Type::DATETIME,
Type::STRING
));
$sequenceName = $this->platform->supportsSequences()
? 'REVISIONS_ID_SEQ'
: null;
$this->revisionId = $this->auditEm->getConnection()->lastInsertId($sequenceName);
}
return $this->revisionId;
}
protected function getInsertRevisionSQL($class)
{
if (!isset($this->insertRevisionSQL[$class->name])) {
$placeholders = array('?', '?');
$tableName = $this->config->getTablePrefix() . $class->table['name'] . $this->config->getTableSuffix();
$sql = "INSERT INTO " . $tableName . " (" .
$this->config->getRevisionFieldName() . ", " . $this->config->getRevisionTypeFieldName();
$fields = array();
foreach ($class->associationMappings as $assoc) {
if (($assoc['type'] & ClassMetadata::TO_ONE) > 0 && $assoc['isOwningSide']) {
foreach ($assoc['targetToSourceKeyColumns'] as $sourceCol) {
$fields[$sourceCol] = true;
$sql .= ', ' . $sourceCol;
$placeholders[] = '?';
}
}
}
foreach ($class->fieldNames as $field) {
if (array_key_exists($field, $fields)) {
continue;
}
$type = Type::getType($class->fieldMappings[$field]['type']);
$placeholders[] = (!empty($class->fieldMappings[$field]['requireSQLConversion']))
? $type->convertToDatabaseValueSQL('?', $this->platform)
: '?';
$sql .= ', ' . $class->getQuotedColumnName($field, $this->platform);
}
$sql .= ") VALUES (" . implode(", ", $placeholders) . ")";
$this->insertRevisionSQL[$class->name] = $sql;
}
return $this->insertRevisionSQL[$class->name];
}
/**
* @param ClassMetadata $class
* @param array $entityData
* @param string $revType
*/
protected function saveRevisionEntityData($class, $entityData, $revType)
{
$params = array($this->getRevisionId(), $revType);
$types = array(\PDO::PARAM_INT, \PDO::PARAM_STR);
$fields = array();
foreach ($class->associationMappings as $field => $assoc) {
if (($assoc['type'] & ClassMetadata::TO_ONE) > 0 && $assoc['isOwningSide']) {
$targetClass = $this->sourceEm->getClassMetadata($assoc['targetEntity']);
if ($entityData[$field] !== null) {
$relatedId = $this->uow->getEntityIdentifier($entityData[$field]);
}
$targetClass = $this->sourceEm->getClassMetadata($assoc['targetEntity']);
foreach ($assoc['sourceToTargetKeyColumns'] as $sourceColumn => $targetColumn) {
$fields[$sourceColumn] = true;
if ($entityData[$field] === null) {
$params[] = null;
$types[] = \PDO::PARAM_STR;
} else {
$params[] = $relatedId[$targetClass->fieldNames[$targetColumn]];
$types[] = $targetClass->getTypeOfColumn($targetColumn);
}
}
}
}
foreach ($class->fieldNames as $field) {
if (array_key_exists($field, $fields)) {
continue;
}
$params[] = $entityData[$field];
$types[] = $class->fieldMappings[$field]['type'];
}
$this->auditEm->getConnection()->executeUpdate($this->getInsertRevisionSQL($class), $params, $types);
}
/**
* @return mixed
*/
public function getAuditEm()
{
return $this->auditEm;
}
/**
* @param mixed $auditEm
*/
public function setAuditEm($auditEm)
{
$this->auditEm = $auditEm;
}
}
| bruery/platform | src/bundles/EntityAuditBundle/EventListener/LogRevisionsListener.php | PHP | mit | 8,931 | [
30522,
1026,
1029,
25718,
1013,
1008,
1008,
1008,
2023,
5371,
2003,
2112,
1997,
1996,
7987,
13094,
2100,
4132,
1012,
1008,
1008,
1006,
1039,
1007,
13489,
2063,
23564,
2527,
1026,
13489,
2063,
1012,
23564,
2527,
1030,
20917,
4014,
1012,
4012... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# -*- coding: utf-8 -*-
"""
eve.io.media
~~~~~~~~~~~~
Media storage for Eve-powered APIs.
:copyright: (c) 2014 by Nicola Iarocci.
:license: BSD, see LICENSE for more details.
"""
class MediaStorage(object):
""" The MediaStorage class provides a standardized API for storing files,
along with a set of default behaviors that all other storage systems can
inherit or override as necessary.
..versioneadded:: 0.3
"""
def __init__(self, app=None):
"""
:param app: the flask application (eve itself). This can be used by
the class to access, amongst other things, the app.config object to
retrieve class-specific settings.
"""
self.app = app
def get(self, id_or_filename):
""" Opens the file given by name or unique id. Note that although the
returned file is guaranteed to be a File object, it might actually be
some subclass. Returns None if no file was found.
"""
raise NotImplementedError
def put(self, content, filename=None, content_type=None):
""" Saves a new file using the storage system, preferably with the name
specified. If there already exists a file with this name name, the
storage system may modify the filename as necessary to get a unique
name. Depending on the storage system, a unique id or the actual name
of the stored file will be returned. The content type argument is used
to appropriately identify the file when it is retrieved.
.. versionchanged:: 0.5
Allow filename to be optional (#414).
"""
raise NotImplementedError
def delete(self, id_or_filename):
""" Deletes the file referenced by name or unique id. If deletion is
not supported on the target storage system this will raise
NotImplementedError instead
"""
raise NotImplementedError
def exists(self, id_or_filename):
""" Returns True if a file referenced by the given name or unique id
already exists in the storage system, or False if the name is available
for a new file.
"""
raise NotImplementedError
| opticode/eve | eve/io/media.py | Python | bsd-3-clause | 2,207 | [
30522,
1001,
1011,
1008,
1011,
16861,
1024,
21183,
2546,
1011,
1022,
1011,
1008,
1011,
1000,
1000,
1000,
6574,
1012,
22834,
1012,
2865,
1066,
1066,
1066,
1066,
1066,
1066,
1066,
1066,
1066,
1066,
1066,
1066,
2865,
5527,
2005,
6574,
1011,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
//********************************************************************************
// Copyright (c) 2007-2014 Intel Corporation. All rights reserved. **
// **
// Redistribution and use in source and binary forms, with or without **
// modification, are permitted provided that the following conditions are met: **
// * Redistributions of source code must retain the above copyright notice, **
// this list of conditions and the following disclaimer. **
// * Redistributions in binary form must reproduce the above copyright **
// notice, this list of conditions and the following disclaimer in the **
// documentation and/or other materials provided with the distribution. **
// * Neither the name of Intel Corporation nor the names of its contributors **
// may be used to endorse or promote products derived from this software **
// without specific prior written permission. **
// **
// This software is provided by the copyright holders and contributors "as is" **
// and any express or implied warranties, including, but not limited to, the **
// implied warranties of merchantability and fitness for a particular purpose **
// are disclaimed. In no event shall the copyright owner or contributors be **
// liable for any direct, indirect, incidental, special, exemplary, or **
// consequential damages (including, but not limited to, procurement of **
// substitute goods or services; loss of use, data, or profits; or business **
// interruption) however caused and on any theory of liability, whether in **
// contract, strict liability, or tort (including negligence or otherwise) **
// arising in any way out of the use of this software, even if advised of **
// the possibility of such damage. **
//********************************************************************************
// Find configurations on a nxn board where each row and each colum has esactly one queen.
// We use (partial) configurations as tags and have no items.
// A potential use of fouind configurations would just prescribe the post-processing step
// with the solution tag collections.
// As on optional flag exploration can be cancelled as soon as at least one valid
// solution was found.
// Try with boardsize<14 first.
// enable _DEBUG to print all sloutions found (note: if boardsize>7 this is a huge output).
#ifdef WIN32
#include <windows.h>
#include <mmsystem.h>
#endif
#include <iostream>
#include "tbb/tick_count.h"
#include <cnc/cnc.h>
#include <cnc/debug.h>
#include "nqueens.h"
// Forward declaration of the context class (also known as graph)
struct nq_cnc_context;
// The step classes
struct QueensStep
{
int execute( const NQueensConfig & t, nq_cnc_context & c ) const;
};
// The context class
struct nq_cnc_context : public CnC::context< nq_cnc_context >
{
// Tuner
typedef CnC::cancel_tuner< NQueensConfig, false > tuner_type;
tuner_type m_tuner;
// Step collection
CnC::step_collection< QueensStep, tuner_type > m_nqsteps;
// Item collections
// We don't create items, we just create tags if we found a solution.
// Anyone who needs to do something with that solution can just
// prescribe a step with that m_solutions
// Tag collections
CnC::tag_collection< NQueensConfig, CnC::preserve_tuner< NQueensConfig > > m_solutions;
CnC::tag_collection< NQueensConfig > m_tags;
// number of parallel exploration levels (#rows) before going sequential
int m_tuning_factor;
// this is set to false if we are interested only in some solutions (not all)
bool m_findall;
// The context class constructor
nq_cnc_context( int tf = 1, bool find_all = true )
: m_tuner( *this ),
m_nqsteps( *this, m_tuner ),
m_solutions( *this ),
m_tags( *this ),
m_tuning_factor( tf ),
m_findall( find_all )
{
// Prescriptive relations
m_tags.prescribes( m_nqsteps, *this );
// potentially prescribe post-processing step here
// m_solutions.prescribe( m_postSteps );
}
};
// console printout of given solution
void print(const char queens[MAX_BOARD_SIZE], int id, int size)
{
std::cerr << "Solution " << id << std::endl;
for(int row=0; row<size; row++) {
for(int col=0; col<size; col++) {
if(queens[row]==col) {
std::cout << "Q";
} else {
std::cout << "-";
}
}
std::cout << std::endl;
}
}
//verifies that the row and col inputs are a valid position for a
//queen based on the existing board state in currConfig
bool verifyNextQueenPosition( const NQueensConfig & currConfig, int col )
{
for( int i=0; i<currConfig.m_nextRow; i++ ) {
if( currConfig.m_config[i] == col || abs( currConfig.m_config[i] - col ) == ( currConfig.m_nextRow - i ) ) {
return false;
}
}
return true;
}
//Processes the next row in the gameboard
//Only creates new gameboard states that are valid and generate new step tags.
//If the board is completely filled, found a solution and put it in solution tags
// If we are looking for some solutions (and not all) we can cancel exploration
int QueensStep::execute(const NQueensConfig &t, nq_cnc_context &c) const
{
for( int i=0; i < t.m_boardSize; ++i ) {
if( verifyNextQueenPosition( t, i ) ) {
NQueensConfig next( t, i );
if( next.m_nextRow >= next.m_boardSize ) {
c.m_solutions.put( next );
if( c.m_findall == false ) {
// If we are looking for some solutions (and not all) we can cancel exploration
c.m_tuner.cancel_all();
}
return CnC::CNC_Success;
} else if (next.m_nextRow <= c.m_tuning_factor) {
// Branch into multiple steps
c.m_tags.put( next );
} else {
// Serial.
execute(next, c);
}
}
}
return CnC::CNC_Success;
}
// the driver routine
long long int solve(int size, bool findall, int tuning_factor)
{
// Create an instance of the Concurrent Collection graph class
// which defines the CnC graph
nq_cnc_context c( tuning_factor, findall );
// Create a tag to start CnC execution
c.m_tags.put( NQueensConfig( size ) );
// Wait for the CnC steps to finish
c.wait();
#ifdef _DEBUG
// Print solutions
CnC::tag_collection< NQueensConfig, CnC::preserve_tuner< NQueensConfig > >::const_iterator ci;
int id = 0;
for( ci = c.m_solutions.begin(); ci != c.m_solutions.end(); ci++) {
print(ci->first.m_config, ++id, size);
}
#endif
return c.m_solutions.size();
}
int main(int argc, char*argv[])
{
if (argc < 2) {
std::cerr << "Usage: nq-cnc <board_size> [findsome] [tuning_factor]\n"
<< "findsome=0 is the default (-> find all)\n"
<< "tuning_factor is 1 by default. (1 levelof branching)\n";
return 0;
}
int size = atoi(argv[1]);
bool findall = true;
int tuning_factor = 1;
if (argc >= 3)
if( strcmp( argv[2], "findsome" ) == 0 ) findall = false;
if (argc >= 4)
tuning_factor = atoi(argv[3]);
if (size > MAX_BOARD_SIZE || size < 0) {
std::cerr << "Cannot create board with N > " << MAX_BOARD_SIZE << " or N < 0.\n";
return 0;
}
std::cout << "Starting Concurrent Collections solver for size " << size << "...\n";
std::cout << "Using a tuning factor of " << tuning_factor << "\n";
tbb::tick_count startTime = tbb::tick_count::now();
long long int count = solve(size, findall, tuning_factor);
tbb::tick_count endTime = tbb::tick_count::now();
std::cout << "Number of solutions: " << count << std::endl;
std::cout << "Calculations took " << (endTime-startTime).seconds() << "s.\n";
return 0;
}
| fschlimb/icnc | samples/nqueens/nqueens/nqueens.cpp | C++ | bsd-3-clause | 8,161 | [
30522,
1013,
1013,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
1008,
100... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
export type FormItem = {
label?: string;
type: 'string';
default: string | null;
hidden?: boolean;
multiline?: boolean;
} | {
label?: string;
type: 'number';
default: number | null;
hidden?: boolean;
step?: number;
} | {
label?: string;
type: 'boolean';
default: boolean | null;
hidden?: boolean;
} | {
label?: string;
type: 'enum';
default: string | null;
hidden?: boolean;
enum: string[];
} | {
label?: string;
type: 'array';
default: unknown[] | null;
hidden?: boolean;
};
export type Form = Record<string, FormItem>;
| syuilo/Misskey | src/client/scripts/form.ts | TypeScript | mit | 545 | [
30522,
9167,
2828,
2433,
4221,
2213,
1027,
1063,
3830,
1029,
1024,
5164,
1025,
2828,
1024,
1005,
5164,
1005,
1025,
12398,
1024,
5164,
1064,
19701,
1025,
5023,
1029,
1024,
22017,
20898,
1025,
4800,
4179,
1029,
1024,
22017,
20898,
1025,
1065,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
package main
import (
"errors"
"flag"
"fmt"
"go/ast"
"go/parser"
"go/token"
"log"
"os"
"path/filepath"
"strings"
"text/template"
)
const (
usageText = `SCANEO
Generate Go code to convert database rows into arbitrary structs.
USAGE
scaneo [options] paths...
OPTIONS
-o, -output
Set the name of the generated file. Default is scans.go.
-p, -package
Set the package name for the generated file. Default is current
directory name.
-u, -unexport
Generate unexported functions. Default is export all.
-w, -whitelist
Only include structs specified in case-sensitive, comma-delimited
string.
-v, -version
Print version and exit.
-h, -help
Print help and exit.
EXAMPLES
tables.go is a file that contains one or more struct declarations.
Generate scan functions based on structs in tables.go.
scaneo tables.go
Generate scan functions and name the output file funcs.go
scaneo -o funcs.go tables.go
Generate scans.go with unexported functions.
scaneo -u tables.go
Generate scans.go with only struct Post and struct user.
scaneo -w "Post,user" tables.go
NOTES
Struct field names don't have to match database column names at all.
However, the order of the types must match.
Integrate this with go generate by adding this line to the top of your
tables.go file.
//go:generate scaneo $GOFILE
`
)
type fieldToken struct {
Name string
Type string
}
type structToken struct {
Name string
Fields []fieldToken
}
func main() {
log.SetFlags(0)
outFilename := flag.String("o", "scans.go", "")
packName := flag.String("p", "current directory", "")
unexport := flag.Bool("u", false, "")
whitelist := flag.String("w", "", "")
version := flag.Bool("v", false, "")
help := flag.Bool("h", false, "")
flag.StringVar(outFilename, "output", "scans.go", "")
flag.StringVar(packName, "package", "current directory", "")
flag.BoolVar(unexport, "unexport", false, "")
flag.StringVar(whitelist, "whitelist", "", "")
flag.BoolVar(version, "version", false, "")
flag.BoolVar(help, "help", false, "")
flag.Usage = func() { log.Println(usageText) } // call on flag error
flag.Parse()
if *help {
// not an error, send to stdout
// that way people can: scaneo -h | less
fmt.Println(usageText)
return
}
if *version {
fmt.Println("scaneo version 1.2.0")
return
}
if *packName == "current directory" {
wd, err := os.Getwd()
if err != nil {
log.Fatal("couldn't get working directory:", err)
}
*packName = filepath.Base(wd)
}
files, err := findFiles(flag.Args())
if err != nil {
log.Println("couldn't find files:", err)
log.Fatal(usageText)
}
structToks := make([]structToken, 0, 8)
for _, file := range files {
toks, err := parseCode(file, *whitelist)
if err != nil {
log.Println(`"syntax error" - parser probably`)
log.Fatal(err)
}
structToks = append(structToks, toks...)
}
if err := genFile(*outFilename, *packName, *unexport, structToks); err != nil {
log.Fatal("couldn't generate file:", err)
}
}
func findFiles(paths []string) ([]string, error) {
if len(paths) < 1 {
return nil, errors.New("no starting paths")
}
// using map to prevent duplicate file path entries
// in case the user accidently passes the same file path more than once
// probably because of autocomplete
files := make(map[string]struct{})
for _, path := range paths {
info, err := os.Stat(path)
if err != nil {
return nil, err
}
if !info.IsDir() {
// add file path to files
files[path] = struct{}{}
continue
}
filepath.Walk(path, func(fp string, fi os.FileInfo, _ error) error {
if fi.IsDir() {
// will still enter directory
return nil
} else if fi.Name()[0] == '.' {
return nil
}
// add file path to files
files[fp] = struct{}{}
return nil
})
}
deduped := make([]string, 0, len(files))
for f := range files {
deduped = append(deduped, f)
}
return deduped, nil
}
func parseCode(source string, commaList string) ([]structToken, error) {
wlist := make(map[string]struct{})
if commaList != "" {
wSplits := strings.Split(commaList, ",")
for _, s := range wSplits {
wlist[s] = struct{}{}
}
}
structToks := make([]structToken, 0, 8)
fset := token.NewFileSet()
astf, err := parser.ParseFile(fset, source, nil, 0)
if err != nil {
return nil, err
}
var filter bool
if len(wlist) > 0 {
filter = true
}
//ast.Print(fset, astf)
for _, decl := range astf.Decls {
genDecl, isGeneralDeclaration := decl.(*ast.GenDecl)
if !isGeneralDeclaration {
continue
}
for _, spec := range genDecl.Specs {
typeSpec, isTypeDeclaration := spec.(*ast.TypeSpec)
if !isTypeDeclaration {
continue
}
structType, isStructTypeDeclaration := typeSpec.Type.(*ast.StructType)
if !isStructTypeDeclaration {
continue
}
// found a struct in the source code!
var structTok structToken
// filter logic
if structName := typeSpec.Name.Name; !filter {
// no filter, collect everything
structTok.Name = structName
} else if _, exists := wlist[structName]; filter && !exists {
// if structName not in whitelist, continue
continue
} else if filter && exists {
// structName exists in whitelist
structTok.Name = structName
}
structTok.Fields = make([]fieldToken, 0, len(structType.Fields.List))
// iterate through struct fields (1 line at a time)
for _, fieldLine := range structType.Fields.List {
fieldToks := make([]fieldToken, len(fieldLine.Names))
// get field name (or names because multiple vars can be declared in 1 line)
for i, fieldName := range fieldLine.Names {
fieldToks[i].Name = parseIdent(fieldName)
}
var fieldType string
// get field type
switch typeToken := fieldLine.Type.(type) {
case *ast.Ident:
// simple types, e.g. bool, int
fieldType = parseIdent(typeToken)
case *ast.SelectorExpr:
// struct fields, e.g. time.Time, sql.NullString
fieldType = parseSelector(typeToken)
case *ast.ArrayType:
// arrays
fieldType = parseArray(typeToken)
case *ast.StarExpr:
// pointers
fieldType = parseStar(typeToken)
}
if fieldType == "" {
continue
}
// apply type to all variables declared in this line
for i := range fieldToks {
fieldToks[i].Type = fieldType
}
structTok.Fields = append(structTok.Fields, fieldToks...)
}
structToks = append(structToks, structTok)
}
}
return structToks, nil
}
func parseIdent(fieldType *ast.Ident) string {
// return like byte, string, int
return fieldType.Name
}
func parseSelector(fieldType *ast.SelectorExpr) string {
// return like time.Time, sql.NullString
ident, isIdent := fieldType.X.(*ast.Ident)
if !isIdent {
return ""
}
return fmt.Sprintf("%s.%s", parseIdent(ident), fieldType.Sel.Name)
}
func parseArray(fieldType *ast.ArrayType) string {
// return like []byte, []time.Time, []*byte, []*sql.NullString
var arrayType string
switch typeToken := fieldType.Elt.(type) {
case *ast.Ident:
arrayType = parseIdent(typeToken)
case *ast.SelectorExpr:
arrayType = parseSelector(typeToken)
case *ast.StarExpr:
arrayType = parseStar(typeToken)
}
if arrayType == "" {
return ""
}
return fmt.Sprintf("[]%s", arrayType)
}
func parseStar(fieldType *ast.StarExpr) string {
// return like *bool, *time.Time, *[]byte, and other array stuff
var starType string
switch typeToken := fieldType.X.(type) {
case *ast.Ident:
starType = parseIdent(typeToken)
case *ast.SelectorExpr:
starType = parseSelector(typeToken)
case *ast.ArrayType:
starType = parseArray(typeToken)
}
if starType == "" {
return ""
}
return fmt.Sprintf("*%s", starType)
}
func genFile(outFile, pkg string, unexport bool, toks []structToken) error {
if len(toks) < 1 {
return errors.New("no structs found")
}
fout, err := os.Create(outFile)
if err != nil {
return err
}
defer fout.Close()
data := struct {
PackageName string
Tokens []structToken
Visibility string
}{
PackageName: pkg,
Visibility: "S",
Tokens: toks,
}
if unexport {
// func name will be scanFoo instead of ScanFoo
data.Visibility = "s"
}
fnMap := template.FuncMap{"title": strings.Title}
scansTmpl, err := template.New("scans").Funcs(fnMap).Parse(scansText)
if err != nil {
return err
}
if err := scansTmpl.Execute(fout, data); err != nil {
return err
}
return nil
}
| variadico/scaneo | scaneo.go | GO | mit | 8,566 | [
30522,
7427,
2364,
12324,
1006,
1000,
10697,
1000,
1000,
5210,
1000,
1000,
4718,
2102,
1000,
1000,
2175,
1013,
2004,
2102,
1000,
1000,
2175,
1013,
11968,
8043,
1000,
1000,
2175,
1013,
19204,
1000,
1000,
8833,
1000,
1000,
9808,
1000,
1000,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
## Supports
KRImageParser supports ARC.
## How To Get Started
KRImageParser can easy parse the AssetsLibrary image and capture the Video image.
``` objective-c
#import "KRImageParser.h"
@property (nonatomic, weak) IBOutlet UIImageView *outImageView;
@property (nonatomic, assign) NSString *_photoPath;
#pragma --mark Parsing Methods
-(void)parseMethod1
{
//No Cache when parsed.
[[KRImageParser sharedManager] parseOneImageNoCacheWithPath:self._photoPath
successHandler:^(UIImage *parsedImage) {
self.outImageView.image = parsedImage;
}];
}
-(void)parseMethod2
{
//Scale the image.
KRImageParser *_krImageParser = [[KRImageParser alloc] init];
_krImageParser.needToScale = YES;
_krImageParser.scaleWidth = 100.0f;
_krImageParser.scaleHeight = 100.0f;
[_krImageParser parseOneImageWithPath:self._photoPath
successHandler:^(UIImage *parsedImage) {
self.outImageView.image = parsedImage;
} failureHandler:^(NSString *failedImageId) {
NSLog(@"Error Image ID : %@", failedImageId);
}];
}
-(void)parseMethod3
{
//Capture the Video image.
NSString *_videoPath = @"/var/sample.avi";
[[KRImageParser sharedManager] parseOneImageWithPath:_videoPath
mediaType:krImageParserMediaTypeIsMovie
setImageId:@"1"
successHandler:^(UIImage *parsedImage) {
self.outImageView.image = parsedImage;
} failureHandler:^(NSString *failedImageId) {
//...
}];
}
-(void)parseMethod4
{
//To once parse more images.
NSArray *_images1 = [NSArray arrayWithObjects:
@"assets-library://asset/asset.JPG?id=285699CD-1&ext=JPG",
krImageParserMediaTypeIsImage, nil];
NSArray *_images2 = [NSArray arrayWithObjects:
@"assets-library://asset/asset.JPG?id=285699CD-20&ext=JPG",
krImageParserMediaTypeIsImage, nil];
NSArray *_images3 = [NSArray arrayWithObjects:
@"assets-library://asset/asset.JPG?id=285699CD-3&ext=JPG",
krImageParserMediaTypeIsImage, nil];
NSDictionary *_moreParses = [NSDictionary dictionaryWithObjectsAndKeys:
_images1, @"1",
_images2, @"2",
_images3, @"3",
nil];
[[KRImageParser sharedManager] parseMoreImagesInfo:_moreParses];
}
#pragma --mark IBActions
-(IBAction)pickPhoto:(id)sender
{
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
[self presentViewController:picker animated:YES completion:nil];
}
#pragma UIImagePickerDelegate
-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
[picker dismissViewControllerAnimated:YES completion:nil];
//self.outImageView.image = [info objectForKey:UIImagePickerControllerOriginalImage];
//NSURL needs convert to NSString to go parser.
self._photoPath = [NSString stringWithFormat:@"%@", [info objectForKey:UIImagePickerControllerReferenceURL]];
[self parseMethod1]; //It works
//[self parseMethod2]; //It works
//[self parseMethod3]; //It works
//[self parseMethod4]; //It works
}
```
## Version
KRImageParser now is V1.0.
## License
KRImageParser is available under the MIT license ( or Whatever you wanna do ). See the LICENSE file for more info.
| Kalvar/ios-KRImageParser | README.md | Markdown | mit | 4,097 | [
30522,
1001,
1001,
6753,
1047,
20026,
4270,
19362,
8043,
6753,
8115,
1012,
1001,
1001,
2129,
2000,
2131,
2318,
1047,
20026,
4270,
19362,
8043,
2064,
3733,
11968,
3366,
1996,
7045,
29521,
19848,
2100,
3746,
1998,
5425,
1996,
2678,
3746,
1012... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
Dummy::Application.config.secret_token = '7e9be574f07141f1371d9eae88cf1923c67864036cbdbf7900c9612daa72633a3387b81294f236ca5e2c47730f4d8430c5861f0794505acfa3d3cc126c95c3c1'
Dummy::Application.config.secret_key_base = '7e9be574f07141f1371d9eae88cf1923c67864036cbdbf7900c9612daa72633a3387b81294f236ca5e2c47730f4d8430c5861f0794505acfa3d3cc126c95c3c1'
| ausaccessfed/federatedrails | spec/dummy/config/initializers/secret_token.rb | Ruby | mit | 671 | [
30522,
1001,
2022,
2469,
2000,
23818,
2115,
8241,
2043,
2017,
19933,
2023,
5371,
1012,
1001,
2115,
3595,
3145,
2005,
20410,
2075,
1996,
11109,
1997,
2772,
16324,
1012,
1001,
2065,
2017,
2689,
2023,
3145,
1010,
2035,
2214,
2772,
16324,
2097,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Display Logs for the JavaScript Client
=================================================================
**Note:** To use the Gateway, a KAAZING client library, or a KAAZING demo, fork the repository from [kaazing.org](http://kaazing.org).
You can display logs for the Javascript client by pointing to the relevant `*-debug.js` file located at [kaazing.org](http://kaazing.org):
- `PostMessage-debug.js`
- `ServerSentEvents-debug.js`
- `WebSocket-debug.js`
- `XMLHttpRequest-debug.js`
Before You Begin
----------------
This procedure is part of [Build JavaScript WebSocket Clients](o_dev_js.md):
1. [Use the JavaScript WebSocket API](p_dev_js_websocket.md)
2. [Use the JavaScript EventSource API](p_dev_js_eventsource.md)
3. [Migrate JavaScript Applications to KAAZING Gateway 5.0](p_dev_js_migrate.md)
4. [Secure Your JavaScript Client](p_dev_js_secure.md)
5. **Display Logs for the JavaScript Client**
To Enable the JavaScript Client Logs
------------------------------------
1. Build your Kaazing JavaScript client, as described in [Build JavaScript WebSocket Clients](o_dev_js.md).
2. Edit the client HTML page containing the JavaScript to use the appropriate `*-debug.js` file. For example, if you are using WebSocket, change:
`<script src="WebSocket.js"></script>`
to
`<script src="WebSocket-debug.js"></script>`
3. Configure the logging level by adding a META tag called `kaazing:logging`, which specifies the package regular expressions and the log level for them. For example:
`<meta name="kaazing:logging" content="org.kaazing.gateway.*=ALL" />`
4. Navigate to your browser's console (such as Firebug for Firefox, or Developer Tools for Google Chrome, Safari, or Microsoft Internet Explorer 8 or greater).
**Mozilla Firefox**
1. Download and install [Firebug](http://getfirebug.com/downloads).
2. Restart Firefox.
3. See [How do I open Firebug?](https://getfirebug.com/faq/#How_do_I_open_Firebug) from Mozilla for information on starting Firebug on your OS.
**Google Chrome**
See [Opening DevTools](https://developers.google.com/chrome-developer-tools/docs/shortcuts#opening-devtools) from Google for information on opening the Console.
**Safari 5**
See [Using the Error Console](http://developer.apple.com/library/safari/#documentation/AppleApplications/Conceptual/Safari_Developer_Guide/DebuggingYourWebsite/DebuggingYourWebsite.html) from Apple for more information.
**Internet Explorer 8 or greater**
Press **F12** or choose **Tools \> Developer Tools**. For more information, see [How to use F12 Developer Tools to Debug your Webpages](http://msdn.microsoft.com/en-us/library/gg589507(v=vs.85).aspx) from Microsoft.
5. Visit the page running the client code. You should now see log messages in the console.
See Also
--------
To learn how to build clients using the Kaazing client libraries, see the Kaazing client developer documentation in the **For Developer's** section of the [documentation](https://github.com/kaazing/gateway/blob/develop/doc/index.md) page.
| michaelcretzman/javascript.client | gateway/doc/p_clientlogging_js.md | Markdown | apache-2.0 | 3,106 | [
30522,
4653,
15664,
2005,
1996,
9262,
22483,
7396,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
package com.softserve.app.repository;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import com.softserve.app.model.Pet;
@RunWith(MockitoJUnitRunner.class)
public class PetRepositoryStubTest {
@Mock PetRepository stubM;
@Mock Pet petM;
@Test
public void testFindAllPetsWithMockStub() {
List<Pet> pets = stubM.findAllPets();
assertNotNull(pets);
}
@Test
public void testFindAllPetsWithRealStub() {
PetRepositoryStub stub = new PetRepositoryStub();
List<Pet> pets = (ArrayList<Pet>) stub.findAllPets();
assertNotNull(pets);
}
@Test
public void testFindPetWithRealStub() {
PetRepositoryStub stub = new PetRepositoryStub();
Pet pet = stub.findPet("101");
System.out.println(pet);
assertNotNull(pet);
}
@Test
public void testFindPetWithMockStub() {
when(stubM.findPet("10").getType()).thenReturn("dog");
assertEquals("dog", stubM.findPet("0").getType());
}
@Test(expected=RuntimeException.class)
public void testFindPetWithBadRequestWithRealStub() {
PetRepositoryStub stub = new PetRepositoryStub();
Pet pet = stub.findPet("0");
}
@Test
public void testCreate() {
PetRepositoryStub stub = new PetRepositoryStub();
Pet pet5 = new Pet();
pet5.setId("5");
pet5.setType("Dog");
System.out.println(pet5.getType());
stub.create(pet5);
System.out.println(stub.findPet("5").getType());
assertNotNull(stub.findPet("5").getType());
}
}
| OlegSvyryd/animalsRepo | SampleProjectPet/src/test/java/com/softserve/app/repository/PetRepositoryStubTest.java | Java | mit | 1,751 | [
30522,
7427,
4012,
1012,
3730,
8043,
3726,
1012,
10439,
1012,
22409,
1025,
12324,
10763,
8917,
1012,
12022,
4183,
1012,
20865,
1012,
20865,
2063,
26426,
2015,
1025,
12324,
10763,
8917,
1012,
12022,
4183,
1012,
20865,
1012,
20865,
17048,
11231... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Dbg = System.Management.Automation.Diagnostics;
namespace System.Management.Automation.Remoting
{
/// <summary>
/// Class that encapsulates the information carried by the RunspaceInitInfo PSRP message.
/// </summary>
internal class RunspacePoolInitInfo
{
/// <summary>
/// Min Runspaces setting on the server runspace pool.
/// </summary>
internal int MinRunspaces { get; }
/// <summary>
/// Max Runspaces setting on the server runspace pool.
/// </summary>
internal int MaxRunspaces { get; }
/// <summary>
/// Constructor.
/// </summary>
/// <param name="minRS"></param>
/// <param name="maxRS"></param>
internal RunspacePoolInitInfo(int minRS, int maxRS)
{
MinRunspaces = minRS;
MaxRunspaces = maxRS;
}
}
}
| JamesWTruher/PowerShell-1 | src/System.Management.Automation/engine/remoting/common/RunspaceInitInfo.cs | C# | mit | 970 | [
30522,
1013,
1013,
9385,
1006,
1039,
1007,
7513,
3840,
1012,
1013,
1013,
7000,
2104,
1996,
10210,
6105,
1012,
2478,
16962,
2290,
1027,
2291,
1012,
2968,
1012,
19309,
1012,
16474,
2015,
1025,
3415,
15327,
2291,
1012,
2968,
1012,
19309,
1012,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, propagated, or distributed except according to the terms contained
* in the LICENSE file.
*/
#include <u.h>
#include <libc.h>
char output[4096];
void add(char*, ...);
void error(char*);
void notifyf(void*, char*);
void
main(int argc, char *argv[])
{
int i;
Waitmsg *w;
long l;
char *p;
char err[ERRMAX];
if(argc <= 1){
fprint(2, "usage: time command\n");
exits("usage");
}
switch(fork()){
case -1:
error("fork");
case 0:
exec(argv[1], &argv[1]);
if(argv[1][0] != '/' && strncmp(argv[1], "./", 2) &&
strncmp(argv[1], "../", 3)){
sprint(output, "/bin/%s", argv[1]);
exec(output, &argv[1]);
}
error(argv[1]);
}
notify(notifyf);
loop:
w = wait();
if(w == nil){
errstr(err, sizeof err);
if(strcmp(err, "interrupted") == 0)
goto loop;
error("wait");
}
l = w->time[0];
add("%ld.%.2ldu", l/1000, (l%1000)/10);
l = w->time[1];
add("%ld.%.2lds", l/1000, (l%1000)/10);
l = w->time[2];
add("%ld.%.2ldr", l/1000, (l%1000)/10);
add("\t");
for(i=1; i<argc; i++){
add("%s", argv[i], 0);
if(i>4){
add("...");
break;
}
}
if(w->msg[0]){
p = utfrune(w->msg, ':');
if(p && p[1])
p++;
else
p = w->msg;
add(" # status=%s", p);
}
fprint(2, "%s\n", output);
exits(w->msg);
}
void
add(char *a, ...)
{
static beenhere=0;
va_list arg;
if(beenhere)
strcat(output, " ");
va_start(arg, a);
vseprint(output+strlen(output), output+sizeof(output), a, arg);
va_end(arg);
beenhere++;
}
void
error(char *s)
{
fprint(2, "time: %s: %r\n", s);
exits(s);
}
void
notifyf(void *a, char *s)
{
USED(a);
if(strcmp(s, "interrupt") == 0)
noted(NCONT);
noted(NDFLT);
}
| brho/plan9 | sys/src/cmd/time.c | C | gpl-2.0 | 1,959 | [
30522,
1013,
1008,
1008,
2023,
5371,
2003,
2112,
1997,
1996,
15384,
2497,
2713,
1997,
2933,
1023,
1012,
2009,
2003,
3395,
2000,
1996,
6105,
1008,
3408,
1999,
1996,
6105,
5371,
2179,
1999,
1996,
2327,
1011,
2504,
14176,
1997,
2023,
1008,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
package gitnotify
import (
"errors"
"fmt"
"html/template"
"net/http"
"os"
"sort"
"github.com/gorilla/mux"
"github.com/markbates/goth"
"github.com/markbates/goth/gothic"
"github.com/markbates/goth/providers/github"
"github.com/markbates/goth/providers/gitlab"
"github.com/sairam/kinli"
)
// Authentication data/$provider/$user/$settingsFile
type Authentication struct {
Provider string `yaml:"provider"` // github/gitlab
Name string `yaml:"name"` // name of the person addressing to
Email string `yaml:"email"` // email that we will send to
UserName string `yaml:"username"` // username for identification
Token string `yaml:"token"` // used to query the provider
}
// UserInfo provides provider/username
func (userInfo *Authentication) UserInfo() string {
return fmt.Sprintf("%s/%s", userInfo.Provider, userInfo.UserName)
}
func (userInfo *Authentication) save() {
conf := new(Setting)
os.MkdirAll(userInfo.getConfigDir(), 0700)
conf.load(userInfo.getConfigFile())
conf.Auth = userInfo
conf.save(userInfo.getConfigFile())
}
func (userInfo *Authentication) getConfigDir() string {
if userInfo.Provider == "" {
return ""
}
return fmt.Sprintf("data/%s/%s", userInfo.Provider, userInfo.UserName)
}
func (userInfo *Authentication) getConfigFile() string {
if userInfo.Provider == "" {
return ""
}
return fmt.Sprintf("%s/%s", userInfo.getConfigDir(), config.SettingsFile)
}
func preInitAuth() {
// ProviderNames is the map of key/value providers configured
config.Providers = make(map[string]string)
var providers []goth.Provider
if provider := configureGithub(); provider != nil {
providers = append(providers, provider)
}
if provider := configureGitlab(); provider != nil {
providers = append(providers, provider)
}
goth.UseProviders(providers...)
}
func initAuth(p *mux.Router) {
p.HandleFunc("/{provider}/callback", authProviderCallbackHandler).Methods("GET")
p.HandleFunc("/{provider}", authProviderHandler).Methods("GET")
p.HandleFunc("/", authListHandler).Methods("GET")
}
func configureGithub() goth.Provider {
if config.GithubURLEndPoint != "" && config.GithubAPIEndPoint != "" {
if os.Getenv("GITHUB_KEY") == "" || os.Getenv("GITHUB_SECRET") == "" {
panic("Missing Configuration: Github Authentication is not set!")
}
github.AuthURL = config.GithubURLEndPoint + "login/oauth/authorize"
github.TokenURL = config.GithubURLEndPoint + "login/oauth/access_token"
github.ProfileURL = config.GithubAPIEndPoint + "user"
config.Providers[GithubProvider] = "Github"
// for github, add scope: "repo:status" to access private repositories
return github.New(os.Getenv("GITHUB_KEY"), os.Getenv("GITHUB_SECRET"), config.websiteURL()+"/auth/github/callback", "user:email")
}
return nil
}
func configureGitlab() goth.Provider {
if config.GitlabURLEndPoint != "" && config.GitlabAPIEndPoint != "" {
if os.Getenv("GITLAB_KEY") == "" || os.Getenv("GITLAB_SECRET") == "" {
panic("Missing Configuration: Github Authentication is not set!")
}
gitlab.AuthURL = config.GitlabURLEndPoint + "oauth/authorize"
gitlab.TokenURL = config.GitlabURLEndPoint + "oauth/token"
gitlab.ProfileURL = config.GitlabAPIEndPoint + "user"
config.Providers[GitlabProvider] = "Gitlab"
// gitlab does not have any scopes, you get full access to the user's account
return gitlab.New(os.Getenv("GITLAB_KEY"), os.Getenv("GITLAB_SECRET"), config.websiteURL()+"/auth/gitlab/callback")
}
return nil
}
func authListHandler(res http.ResponseWriter, req *http.Request) {
var keys []string
for k := range config.Providers {
keys = append(keys, k)
}
sort.Strings(keys)
providerIndex := &ProviderIndex{Providers: keys, ProvidersMap: config.Providers}
t, _ := template.New("foo").Parse(indexTemplate)
t.Execute(res, providerIndex)
}
func authProviderHandler(res http.ResponseWriter, req *http.Request) {
hc := &kinli.HttpContext{W: res, R: req}
if isAuthed(hc) {
text := "User is already logged in"
kinli.DisplayText(hc, res, text)
} else {
statCount("auth.start")
gothic.BeginAuthHandler(res, req)
}
}
func authProviderCallbackHandler(res http.ResponseWriter, req *http.Request) {
statCount("auth.complete")
user, err := gothic.CompleteUserAuth(res, req)
if err != nil {
fmt.Fprintln(res, err)
return
}
authType, _ := getProviderName(req)
auth := &Authentication{
Provider: authType,
UserName: user.NickName,
Name: user.Name,
Email: user.Email,
Token: user.AccessToken,
}
auth.save()
hc := &kinli.HttpContext{W: res, R: req}
loginTheUser(hc, auth, authType)
http.Redirect(res, req, kinli.HomePathAuthed, 302)
}
// ProviderIndex is used for setting up the providers
type ProviderIndex struct {
Providers []string
ProvidersMap map[string]string
}
// See gothic/gothic.go: GetProviderName function
// Overridden since we use mux
func getProviderName(req *http.Request) (string, error) {
vars := mux.Vars(req)
provider := vars["provider"]
if provider == "" {
return provider, errors.New("you must select a provider")
}
return provider, nil
}
var indexTemplate = `{{range $key,$value:=.Providers}}
<p><a href="/auth/{{$value}}">Log in with {{index $.ProvidersMap $value}}</a></p>
{{end}}`
| sairam/gitnotify | gitnotify/auth.go | GO | mit | 5,241 | [
30522,
7427,
21025,
2102,
17048,
8757,
12324,
1006,
1000,
10697,
1000,
1000,
4718,
2102,
1000,
1000,
16129,
1013,
23561,
1000,
1000,
5658,
1013,
8299,
1000,
1000,
9808,
1000,
1000,
4066,
1000,
1000,
21025,
2705,
12083,
1012,
4012,
1013,
235... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%Y-%m-%d': '%Y.%m.%d.',
'%Y-%m-%d %H:%M:%S': '%Y.%m.%d. %H:%M:%S',
'%s rows deleted': '%s sorok t\xc3\xb6rl\xc5\x91dtek',
'%s rows updated': '%s sorok friss\xc3\xadt\xc5\x91dtek',
'Available databases and tables': 'El\xc3\xa9rhet\xc5\x91 adatb\xc3\xa1zisok \xc3\xa9s t\xc3\xa1bl\xc3\xa1k',
'Cannot be empty': 'Nem lehet \xc3\xbcres',
'Check to delete': 'T\xc3\xb6rl\xc3\xa9shez v\xc3\xa1laszd ki',
'Client IP': 'Client IP',
'Controller': 'Controller',
'Copyright': 'Copyright',
'Current request': 'Jelenlegi lek\xc3\xa9rdez\xc3\xa9s',
'Current response': 'Jelenlegi v\xc3\xa1lasz',
'Current session': 'Jelenlegi folyamat',
'DB Model': 'DB Model',
'Database': 'Adatb\xc3\xa1zis',
'Delete:': 'T\xc3\xb6r\xc3\xb6l:',
'Description': 'Description',
'E-mail': 'E-mail',
'Edit': 'Szerkeszt',
'Edit This App': 'Alkalmaz\xc3\xa1st szerkeszt',
'Edit current record': 'Aktu\xc3\xa1lis bejegyz\xc3\xa9s szerkeszt\xc3\xa9se',
'First name': 'First name',
'Group ID': 'Group ID',
'Hello World': 'Hello Vil\xc3\xa1g',
'Import/Export': 'Import/Export',
'Index': 'Index',
'Internal State': 'Internal State',
'Invalid Query': 'Hib\xc3\xa1s lek\xc3\xa9rdez\xc3\xa9s',
'Invalid email': 'Invalid email',
'Last name': 'Last name',
'Layout': 'Szerkezet',
'Main Menu': 'F\xc5\x91men\xc3\xbc',
'Menu Model': 'Men\xc3\xbc model',
'Name': 'Name',
'New Record': '\xc3\x9aj bejegyz\xc3\xa9s',
'No databases in this application': 'Nincs adatb\xc3\xa1zis ebben az alkalmaz\xc3\xa1sban',
'Origin': 'Origin',
'Password': 'Password',
'Powered by': 'Powered by',
'Query:': 'Lek\xc3\xa9rdez\xc3\xa9s:',
'Record ID': 'Record ID',
'Registration key': 'Registration key',
'Reset Password key': 'Reset Password key',
'Role': 'Role',
'Rows in table': 'Sorok a t\xc3\xa1bl\xc3\xa1ban',
'Rows selected': 'Kiv\xc3\xa1lasztott sorok',
'Stylesheet': 'Stylesheet',
'Sure you want to delete this object?': 'Biztos t\xc3\xb6rli ezt az objektumot?',
'Table name': 'Table name',
'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1==db.table2.field2" results in a SQL JOIN.': 'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1==db.table2.field2" results in a SQL JOIN.',
'Timestamp': 'Timestamp',
'Update:': 'Friss\xc3\xadt:',
'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.': 'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.',
'User ID': 'User ID',
'View': 'N\xc3\xa9zet',
'Welcome to web2py': 'Isten hozott a web2py-ban',
'appadmin is disabled because insecure channel': 'az appadmin a biztons\xc3\xa1gtalan csatorna miatt letiltva',
'cache': 'gyors\xc3\xadt\xc3\xb3t\xc3\xa1r',
'change password': 'jelsz\xc3\xb3 megv\xc3\xa1ltoztat\xc3\xa1sa',
'click here for online examples': 'online p\xc3\xa9ld\xc3\xa1k\xc3\xa9rt kattints ide',
'click here for the administrative interface': 'az adminisztr\xc3\xa1ci\xc3\xb3s fel\xc3\xbclet\xc3\xa9rt kattints ide',
'customize me!': 'v\xc3\xa1ltoztass meg!',
'data uploaded': 'adat felt\xc3\xb6ltve',
'database': 'adatb\xc3\xa1zis',
'database %s select': 'adatb\xc3\xa1zis %s kiv\xc3\xa1laszt\xc3\xa1s',
'db': 'db',
'design': 'design',
'done!': 'k\xc3\xa9sz!',
'edit profile': 'profil szerkeszt\xc3\xa9se',
'export as csv file': 'export\xc3\xa1l csv f\xc3\xa1jlba',
'insert new': '\xc3\xbaj beilleszt\xc3\xa9se',
'insert new %s': '\xc3\xbaj beilleszt\xc3\xa9se %s',
'invalid request': 'hib\xc3\xa1s k\xc3\xa9r\xc3\xa9s',
'login': 'bel\xc3\xa9p',
'logout': 'kil\xc3\xa9p',
'lost password': 'elveszett jelsz\xc3\xb3',
'new record inserted': '\xc3\xbaj bejegyz\xc3\xa9s felv\xc3\xa9ve',
'next 100 rows': 'k\xc3\xb6vetkez\xc5\x91 100 sor',
'or import from csv file': 'vagy bet\xc3\xb6lt\xc3\xa9s csv f\xc3\xa1jlb\xc3\xb3l',
'previous 100 rows': 'el\xc5\x91z\xc5\x91 100 sor',
'record': 'bejegyz\xc3\xa9s',
'record does not exist': 'bejegyz\xc3\xa9s nem l\xc3\xa9tezik',
'record id': 'bejegyz\xc3\xa9s id',
'register': 'regisztr\xc3\xa1ci\xc3\xb3',
'selected': 'kiv\xc3\xa1lasztott',
'state': '\xc3\xa1llapot',
'table': 't\xc3\xa1bla',
'unable to parse csv file': 'nem lehet a csv f\xc3\xa1jlt beolvasni',
}
| henkelis/sonospy | web2py/applications/sonospy/languages/hu.py | Python | gpl-3.0 | 4,428 | [
30522,
1001,
16861,
30524,
2019,
11887,
3670,
2066,
1000,
2492,
2487,
1027,
1032,
1005,
2047,
10175,
5657,
1032,
1005,
1000,
1012,
2017,
3685,
10651,
2030,
3972,
12870,
1996,
3463,
1997,
1037,
3693,
1005,
1010,
1005,
1003,
1061,
1011,
1003,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* sw_device.c - Linux kernel modules for Detection i2c device.
*/
#include "sw_device.h"
static int ctp_mask = 0x00;
static u32 debug_mask = 0x0;
#define dprintk(level_mask, fmt, arg...) if (unlikely(debug_mask & level_mask)) \
printk(KERN_DEBUG fmt , ## arg)
module_param_named(debug_mask, debug_mask, int, S_IRUGO | S_IWUSR | S_IWGRP);
module_param_named(ctp_mask, ctp_mask, int , S_IRUGO | S_IWUSR | S_IWGRP);
/*gsensor info*/
static struct sw_device_info gsensors[] = {
{ "bma250", {0x18, 0x19, 0x08, 0x38}, 0x00, {0x02,0x03,0xf9}, 0},
{ "mma8452", {0x1c, 0x1d }, 0x0d, {0x2A }, 0},
{ "mma7660", {0x4c }, 0x00, {0x00 }, 0},
{ "mma865x", {0x1d }, 0x0d, {0x4A,0x5A }, 0},
{ "afa750", {0x3d }, 0x37, {0x3d,0x3c }, 0},
{"lis3de_acc", {0x28, 0x29 }, 0x0f, {0x33 }, 0},
{"lis3dh_acc", {0x18, 0x19 }, 0x0f, {0x33 }, 0},
{ "kxtik", {0x0f }, 0x0f, {0x05,0x08 }, 0},
{ "dmard10", {0x18 }, 0x00, {0x00 }, 1},
{ "dmard06", {0x1c }, 0x0f, {0x06 }, 0},
{ "mxc622x", {0x15 }, 0x00, {0x00 }, 0},
{ "fxos8700", {0x1c, 0x1d, 0x1e, 0x1f}, 0x0d, {0xc7 }, 0},
{ "lsm303d", {0x1e, 0x1d }, 0x0f, {0x49 }, 0},
};
/*ctp info*/
static struct sw_device_info ctps[] = {
{ "ft5x_ts", { 0x38}, 0xa3, {0x55,0x08,0x02,0x06,0xa3}, 0},
{ "gt82x", { 0x5d}, 0xf7d, {0x13,0x27,0x28 }, 0},
{ "gslX680", { 0x40}, 0x00, {0x00 }, 0},
{ "gt9xx", {0x14, 0x5d}, 0x8140, {0x39 }, 0},
{ "gt811", { 0x5d}, 0x715, {0x11 }, 0},
{"aw5306_ts", { 0x38}, 0x01, {0xA8 }, 0},
{ "zet622x", { 0x76}, 0x00, {0x00 }, 0},
{ "ilitek_aimvF", { 0x41}, 0x40, {0x00,0x00,0x00,0x07 }, 0},
};
static struct sw_device_info lsensors[] = {
{"ltr_501als", {0x23 }, 0x87, {0x05 }, 0},
};
static struct sw_device_info gyr_sensors[] = {
{"l3gd20_gyr", {0x6a, 0x6b}, 0x0F, {0x00D4 }, 0},
};
/*lsensors para_name info*/
static struct para_name ls_name = {
"ls_para",
"ls_used",
"ls_list_para",
"ls_det_used",
"ls_twi_id",
LSENSOR_DEVICE_KEY_NAME,
};
/*gyr para_name info*/
static struct para_name gyr_name = {
"gy_para",
"gy_used",
"gy_list_para",
"gy_det_used",
"gy_twi_id",
GYR_SENSOR_DEVICE_KEY_NAME,
};
/*gsensor para_name info*/
static struct para_name g_name = {
"gsensor_para",
"gsensor_used",
"gsensor_list_para",
"gsensor_det_used",
"gsensor_twi_id",
GSENSOR_DEVICE_KEY_NAME,
};
/*ctp para_name info*/
static struct para_name c_name = {
"ctp_para",
"ctp_used",
"ctp_list_para",
"ctp_det_used",
"ctp_twi_id",
CTP_DEVICE_KEY_NAME,
};
static struct sw_device_name d_name = {"", "", 0, 0};
static void sw_devices_events(struct work_struct *work);
struct workqueue_struct *sw_wq;
static DECLARE_WORK(sw_work, sw_devices_events);
static int sw_i2c_write_bytes(struct i2c_client *client, uint8_t *data, uint16_t len)
{
struct i2c_msg msg;
int ret=-1;
msg.flags = !I2C_M_RD;
msg.addr = client->addr;
msg.len = len;
msg.buf = data;
ret=i2c_transfer(client->adapter, &msg,1);
return ret;
}
static int i2c_read_bytes_addr16(struct i2c_client *client, uint8_t *buf, uint16_t len)
{
struct i2c_msg msgs[2];
int ret=-1;
msgs[0].flags = !I2C_M_RD;
msgs[0].addr = client->addr;
msgs[0].len = 2; //data address
msgs[0].buf = buf;
msgs[1].flags = I2C_M_RD;
msgs[1].addr = client->addr;
msgs[1].len = len-2;
msgs[1].buf = buf+2;
ret=i2c_transfer(client->adapter, msgs, 2);
return ret;
}
static bool i2c_test(struct i2c_client * client)
{
int ret,retry;
uint8_t test_data[1] = { 0 }; //only write a data address.
for(retry=0; retry < 5; retry++)
{
ret = sw_i2c_write_bytes(client, test_data, 1); //Test i2c.
if (ret == 1)
break;
msleep(10);
}
return ret==1 ? true : false;
}
static int i2c_check_addr(char check_addr[], unsigned short address)
{
int ret = 0;
while((check_addr[ret]) && (ret < NAME_LENGTH)) {
if(check_addr[ret] == address){
dprintk(DEBUG_INIT, "address:0x%x\n", check_addr[ret]);
return 1;
}
ret++;
}
return 0;
}
/**
* ctp_wakeup - function
*
*/
static int ctp_wakeup(u32 gpio, int status, int ms)
{
u32 gpio_status;
gpio_status = sw_gpio_getcfg(gpio);
if(gpio_status != 1){
sw_gpio_setcfg(gpio, 1); //set output
}
if(status == 0){
if(ms == 0) {
__gpio_set_value(gpio, 0);
}else {
__gpio_set_value(gpio, 0);
msleep(ms);
__gpio_set_value(gpio, 1);
}
}
if(status == 1){
if(ms == 0) {
__gpio_set_value(gpio, 1);
}else {
__gpio_set_value(gpio, 1);
msleep(ms);
__gpio_set_value(gpio, 0);
}
}
msleep(5);
if(gpio_status != 1){
sw_gpio_setcfg(gpio, gpio_status);
}
return 0;
}
static script_item_u get_para_value(char* keyname, char* subname)
{
script_item_u val;
script_item_value_type_e type = 0;
if((!keyname) || (!subname)) {
printk("keyname:%s subname:%s \n", keyname, subname);
goto script_get_item_err;
}
memset(&val, 0, sizeof(val));
type = script_get_item(keyname, subname, &val);
if((SCIRPT_ITEM_VALUE_TYPE_INT != type) && (SCIRPT_ITEM_VALUE_TYPE_STR != type) &&
(SCIRPT_ITEM_VALUE_TYPE_PIO != type)) {
goto script_get_item_err;
}
return val;
script_get_item_err:
printk("keyname:%s subname:%s ,get error!\n", keyname, subname);
val.val = -1;
return val;
}
static void get_pio_para(char* name[], struct gpio_config value[], int num)
{
script_item_u val;
int ret = 0;
if(num < 1) {
printk("%s: num:%d ,error!\n", __func__, num);
return;
}
while(ret < num)
{
val = get_para_value(name[0],name[ret+1]);
if(val.val == -1) {
val.val = 0;
val.gpio.gpio = -1;
}
value[ret] = val.gpio;
ret++;
}
}
/*
*********************************************************************************************************
* i2c_get_chip_id_value_addr16
*
*Description: By reading chip_id register for 16 bit address, get chip_id value
*
*Arguments :address Register address
*Return : result;
* Chip_id value
*********************************************************************************************************
*/
static int i2c_get_chip_id_value_addr16(unsigned short address, struct i2c_client* temp_client)
{
int value = -1;
uint8_t buf[5] = {0};
int retry = 2;
if(address & 0xff00) {
buf[0] = address >> 8;
buf[1] = address & 0x00ff;
}
while(retry--) {
value = i2c_read_bytes_addr16(temp_client, buf, 3);
if(value != 2){
msleep(1);
printk("%s:read chip id error!", __func__);
}else{
break;
}
}
value = buf[2] & 0xffff;
dprintk(DEBUG_INIT, "buf[0]:0x%x, buf[1]:0x%x, buf[2]:0x%x, value:0x%x\n",
buf[0], buf[1], buf[2], value);
return value;
}
/*
*********************************************************************************************************
* i2c_get_chip_id_value_addr8
*
*Description: By reading chip_id register for 8 bit address, get chip_id value
*
*Arguments :address Register address
*Return : result;
* Chip_id value
*********************************************************************************************************
*/
static int i2c_get_chip_id_value_addr8(unsigned short address, struct i2c_client* temp_client)
{
int value = -1;
int retry = 2;
while(retry--) {
value = i2c_smbus_read_byte_data(temp_client, address);
if(value < 0){
msleep(1);
}else {
break;
}
}
value = value & 0xffff;
return value;
}
static int is_alpha(char chr)
{
int ret = -1;
ret = ((chr >= 'a') && (chr <= 'z') ) ? 0 : 1;
return ret;
}
static int get_device_name(char *buf, char * name)
{
int s1 = 0, i = 0;
int ret = -1;
char ch = '\"';
char tmp_name[64];
char * str1;
char * str2;
memset(&tmp_name, 0, sizeof(tmp_name));
if(!strlen (buf)){
printk("%s:the buf is null!\n", __func__);
return 0;
}
str1 = strchr(buf, ch);
str2 = strrchr(buf, ch);
if((str1 == NULL) || (str2 == NULL)) {
printk("the str1 or str2 is null!\n");
return 1;
}
ret = str1 - buf + 1;
s1 = str2 - buf;
dprintk(DEBUG_INIT,"----ret : %d,s1 : %d---\n ", ret, s1);
while(ret != s1)
{
tmp_name[i++] = buf[ret++];
}
tmp_name[i] = '\0';
strcpy(name, tmp_name);
dprintk(DEBUG_INIT, "name:%s\n", name);
return 1;
}
static int get_device_name_info(struct sw_device *sw)
{
int row_number = 0;
row_number = sw->total_raw;
while(row_number--) {
dprintk(DEBUG_INIT, "config_info[%d].str_info:%s\n", row_number,
sw->write_info[row_number].str_info);
if(is_alpha(sw->write_info[row_number].str_info[0])) {
continue;
} else if(!strncmp(sw->write_info[row_number].str_info, sw->name->write_key_name,
strlen(sw->name->write_key_name))){
dprintk(DEBUG_INIT, "info:%s, key_name:%s\n", sw->write_info[row_number].str_info,
sw->name->write_key_name);
if(sw->write_info[0].str_id == sw->write_info[1].str_id)
sw->write_id = row_number;
else
sw->write_id = sw->write_info[row_number].str_id;
if(get_device_name(sw->write_info[row_number].str_info, sw->device_name)) {
dprintk(DEBUG_INIT, "device_name:%s,write_id:%d\n", sw->device_name,
sw->write_id);
return 0;
}
}
}
return -1;
}
static int get_device_same_addr(struct sw_device *sw, int now_number)
{
int ret = -1;
int i = 0;
int number = sw->support_number;
int scan_number = 0;
while(scan_number < number) {
scan_number++;
i = 0;
now_number = (now_number == number) ? 0 : now_number;
while((sw->info[now_number].i2c_address[i++]) && (i < ADDRESS_NUMBER)) {
dprintk(DEBUG_INIT, "addr:0x%x, response_addr:0x%x\n",
sw->info[now_number].i2c_address[i -1], sw->response_addr);
if( sw->info[now_number].i2c_address[i - 1] == sw->response_addr) {
dprintk(DEBUG_INIT, "return number: %d \n", now_number);
return now_number;
}
}
now_number++;
}
dprintk(DEBUG_INIT, "-----not find !-----\n");
return ret;
}
static int get_device_name_number(struct sw_device *sw)
{
int ret = -1;
int number = sw->support_number;
if(strlen(sw->device_name)) {
while((number)--) {
if (!strncmp(sw->device_name, sw->info[number].name,
strlen(sw->info[number].name))) {
dprintk(DEBUG_INIT, "number: %d \n", number);
return number;
}
}
}
dprintk(DEBUG_INIT, "-----the name is null !-----\n");
return ret;
}
static int get_device_para_value(char* keyname, char* subname)
{
script_item_u val;
memset(&val, 0, sizeof(val));
if(SCIRPT_ITEM_VALUE_TYPE_INT != script_get_item(keyname, subname, &val)) {
printk("%s:get subname:%s error! val.val:%d \n", __func__, subname, val.val);
goto script_get_item_err;
}
return val.val;
script_get_item_err:
dprintk(DEBUG_INIT, "keyname:%s subname:%s ,get error!\n", keyname, subname);
return -1;
}
static void get_detect_list(struct sw_device *sw)
{
int i = 0;
int val = -1;
int number = sw->support_number;
while((number)--) {
i = 0;
val = get_device_para_value(sw->name->detect_keyname, sw->info[number].name);
if(val == -1) {
printk("%s: script_get_item err.support_number = %d. \n", __func__, number);
continue;
}
while((sw->info[number].i2c_address[i++]) && (i < ADDRESS_NUMBER)) {
if(val == 0) {
sw->info[number].i2c_address[i-1] = 0x00;
}
}
}
}
static int sw_sysconfig_get_para(struct sw_device *sw)
{
int ret = -1;
int device_used = 0;
dprintk(DEBUG_INIT, "========%s===================\n", __func__);
device_used = get_device_para_value(sw->name->used_keyname, sw->name->used_subname);
if(1 == device_used ){
sw->twi_id = get_device_para_value(sw->name->used_keyname, sw->name->twi_id_name);
dprintk(DEBUG_INIT, "%s: device_twi_id is %d. \n", __func__, sw->twi_id);
sw->detect_used = get_device_para_value(sw->name->detect_keyname, sw->name->detect_subname);
if(sw->detect_used >= 0) {
get_detect_list(sw);
ret = 0;
} else {
printk("get detect_used fail!\n ");
ret = -1;
}
}else{
dprintk(DEBUG_INIT, "%s: device_unused. \n", __func__);
ret = -1;
}
return ret;
}
static int sw_analytic_write_info(char * src_string, struct sw_device *sw)
{
int ret = -1;
int i = 0, j = 0, k = 0;
sw->total_raw = 0;
dprintk(DEBUG_INIT, "%s:strlen(src_string):%d\n", src_string, strlen(src_string));
if(strlen(src_string) < 16 ) {
sw->total_raw = DEFAULT_TOTAL_ROW;
dprintk(DEBUG_INIT, "%s: the src string is null !\n", __func__);
ret = 0;
return ret;
}
while(src_string[i++]) {
sw->write_info[k].str_info[j++] = src_string[i-1];
if(src_string[i-1] == '\n') {
(sw->total_raw)++;
sw->write_info[k].str_info[j] = '\0';
sw->write_info[k].str_id = k;
k += 1;
j = 0;
}
}
if(src_string[strlen(src_string)] != '\n') {
(sw->total_raw)++;
sw->write_info[k].str_id = k;
}
dprintk(DEBUG_INIT, "%s:total_raw:%d\n", __func__, sw->total_raw);
ret = 1;
return ret;
}
static int sw_get_write_info(char * tmp, struct sw_device *sw)
{
mm_segment_t old_fs;
int ret;
sw->filp = filp_open(FILE_DIR,O_RDWR | O_CREAT, 0666);
if(!sw->filp || IS_ERR(sw->filp)) {
printk("%s:open error ....IS(filp):%ld\n", __func__, IS_ERR(sw->filp));
return -1;
}
old_fs = get_fs();
set_fs(get_ds());
sw->filp->f_op->llseek(sw->filp, 0, 0);
ret = sw->filp->f_op->read(sw->filp, tmp, FILE_LENGTH, &sw->filp->f_pos);
if(ret <= 0) {
printk("%s:read erro or read null !\n", __func__);
}
set_fs(old_fs);
filp_close(sw->filp, NULL);
return ret;
}
static int sw_set_write_info(struct sw_device *sw)
{
mm_segment_t old_fs;
int ret = 0, i =0;
sw->filp = filp_open(FILE_DIR, O_WRONLY | O_CREAT | O_TRUNC, 0666);
if(!sw->filp || IS_ERR(sw->filp)) {
printk("%s:open error ....IS(filp):%ld\n", __func__,IS_ERR(sw->filp));
return -1;
}
old_fs = get_fs();
set_fs(get_ds());
sw->filp->f_op->llseek(sw->filp, 0, 0);
while(i < sw->total_raw ) {
dprintk(DEBUG_INIT, "write info:%s\n", sw->write_info[i].str_info);
ret = sw->filp->f_op->write(sw->filp, sw->write_info[i].str_info,
strlen(sw->write_info[i].str_info), &sw->filp->f_pos);
i++;
}
set_fs(old_fs);
filp_close(sw->filp, NULL);
return ret;
}
static bool sw_match_chip_id(struct sw_device_info *info, int number, int value)
{
int i = 0;
while(info[number].id_value[i])
{
if(info[number].id_value[i] == value) {
dprintk(DEBUG_INIT, "Chip id value equal!\n");
return true;
}
i++;
}
dprintk(DEBUG_INIT, "Chip id value does not match!--value:%d--\n", value);
return false;
}
static int sw_chip_id_gain(struct sw_device *sw, int now_number)
{
unsigned short reg_addr;
int match_value = 0;
int id_value = -1;
reg_addr = sw->info[now_number].chip_id_reg;
if(reg_addr & 0xff00)
id_value = i2c_get_chip_id_value_addr16(reg_addr, sw->temp_client);
else
id_value = i2c_get_chip_id_value_addr8(reg_addr, sw->temp_client);
dprintk(DEBUG_INIT, "-----%s:chip_id_reg:0x%x, chip_id_value = 0x%x-----\n",
__func__, reg_addr, id_value);
match_value = sw_match_chip_id(sw->info, now_number, id_value);
return match_value;
}
static int sw_chip_id_detect(struct sw_device *sw, int now_number)
{
int result = -1;
int same_number = 0;
while (!(sw->info[now_number].id_value[0])) {
if(sw->info[now_number].same_flag) {
same_number = get_device_same_addr(sw, now_number + 1);
while((same_number != now_number) && (same_number != -1) &&
(sw->info[same_number].id_value[0])) {
result = sw_chip_id_gain(sw, same_number);
if(result) {
sw->current_number = same_number;
return result;
}
same_number = get_device_same_addr(sw, same_number + 1);
}
}
result = 1;
dprintk(DEBUG_INIT, "-----%s:chip_id_reg value:0x%x",
__func__, sw->info[now_number].id_value[0]);
return result;
}
result = sw_chip_id_gain(sw, now_number);
return result;
}
static int sw_device_response_test(struct sw_device *sw, int now_number)
{
struct i2c_adapter *adap;
int ret = 0;
int addr_scan = 0;
adap = i2c_get_adapter(sw->twi_id);
sw->temp_client->adapter = adap;
if (!i2c_check_functionality(sw->temp_client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
return -ENODEV;
if(sw->twi_id == sw->temp_client->adapter->nr){
while((sw->info[now_number].i2c_address[addr_scan++]) &&
(addr_scan < (ADDRESS_NUMBER+1))) {
sw->temp_client->addr = sw->info[now_number].i2c_address[addr_scan - 1];
dprintk(DEBUG_INIT, "%s: name = %s, addr = 0x%x\n", __func__,
sw->info[now_number].name, sw->temp_client->addr);
if(i2c_check_addr(sw->check_addr, sw->temp_client->addr)) {
ret = 0;
continue;
}
ret = i2c_test(sw->temp_client);
if(!ret) {
dprintk(DEBUG_INIT, "sw->check_addr[%d]:0x%x\n", strlen(sw->check_addr),
sw->temp_client->addr);
sw->check_addr[strlen(sw->check_addr)] = sw->temp_client->addr;
ret = 0;
continue;
} else {
sw->response_addr = sw->temp_client->addr;
dprintk(DEBUG_INIT, "I2C connection sucess!\n");
break;
}
}
}
return ret;
}
static void sw_update_write_info(struct sw_device *sw)
{
if((sw->device_name == NULL) && (sw->write_id < 0)) {
dprintk(DEBUG_INIT, "%s:key_name is null or the id is error !\n", __func__);
return ;
}
memset(&sw->write_info[sw->write_id].str_info, 0, sizeof(sw->write_info[sw->write_id].str_info));
sprintf(sw->write_info[sw->write_id].str_info, "%s=\"%s\"\n", sw->name->write_key_name, sw->device_name);
}
static void sw_i2c_test(struct sw_device *sw)
{
int number = sw->support_number;
int now_number = -1;
int scan_number = 0;
int is_find = 0;
int ret = -1;
now_number = get_device_name_number(sw);
if(now_number < 0)
now_number = 0;
dprintk(DEBUG_INIT, "number:%d now_number:%d,scan_number:%d\n", number,
now_number, scan_number);
while(scan_number < number) {
dprintk(DEBUG_INIT, "scan_number:%d, now_number:%d\n",
scan_number, now_number);
scan_number++;
now_number = (now_number == number) ? 0 : now_number;
ret = sw_device_response_test(sw, now_number);
if(!ret) {
now_number++;
continue;
}
sw->current_number = now_number;
if(sw_chip_id_detect(sw, now_number)) {
is_find = 1;
break;
}
now_number++;
is_find = 0;
}
if(is_find == 1) {
dprintk(DEBUG_INIT, "from copy name:%s, strlen(name):%d\n",
sw->info[sw->current_number].name, strlen(sw->device_name));
if((strncmp(sw->info[sw->current_number].name, sw->device_name,
strlen(sw->device_name))) || (!strlen(sw->device_name))) {
sw->write_flag = 1;
memset(&sw->device_name, 0, sizeof(sw->device_name));
strcpy(sw->device_name, sw->info[sw->current_number].name);
sw_update_write_info(sw);
}
dprintk(DEBUG_INIT, "%s: write_key_name:%s\n", __func__, sw->name->write_key_name);
if(!strncmp(sw->name->write_key_name, "ctp", 3)) {
strcpy(d_name.c_name, sw->device_name);
d_name.c_addr = sw->response_addr;
} else if(!strncmp(sw->name->write_key_name, "gsensor", 7)) {
strcpy(d_name.g_name, sw->device_name);
d_name.g_addr = sw->response_addr;
}
}
}
static int sw_device_detect_start(struct sw_device *sw)
{
char tmp[FILE_LENGTH];
/*step1: Get sysconfig.fex profile information*/
memset(&tmp, 0, sizeof(tmp));
if(sw_sysconfig_get_para(sw) < 0) {
printk("get sysconfig para erro!\n");
return -1;
}
if(sw->detect_used) {
/*step 2:Read the device.info file information ,get device name!*/
if(ctp_mask != 1) {
if(sw_get_write_info(tmp, sw) <= 0) {
sw_set_write_info(sw);
printk("get write info erro!\n");
} else {
if(!sw_analytic_write_info(tmp, sw)) {
printk("analytic_write_info erro!\n");
sw_set_write_info(sw);
}
}
get_device_name_info(sw);
}
/*step 3: The i2c address detection equipment, find the device used at present.*/
sw_i2c_test(sw);
/*step 4:Update the device.info file information*/
if(ctp_mask != 1) {
dprintk(DEBUG_INIT, "write_flag:%d\n", sw->write_flag);
if(sw->write_flag) {
sw_set_write_info(sw);
}
}
}
return 0;
}
static int sw_register_device_detect(struct sw_device_info info[], struct para_name *name,
int number)
{
struct sw_device *sw;
struct i2c_client *client;
dprintk(DEBUG_INIT, "[sw_device]:%s begin!\n", __func__);
sw = kzalloc(sizeof(*sw), GFP_KERNEL);
if (!sw){
printk("allocate data fail!\n");
return -ENOMEM;
}
client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL);
if (!client)
return -ENOMEM;
sw->temp_client = client;
sw->info = info;
sw->name = name;
sw->support_number = number;
sw->total_raw = DEFAULT_TOTAL_ROW;
strcpy(sw->write_info[0].str_info, NOTE_INFO1);
strcpy(sw->write_info[1].str_info, NOTE_INFO2);
sprintf(sw->write_info[2].str_info, "%s=\"\"\n", GSENSOR_DEVICE_KEY_NAME);
sprintf(sw->write_info[3].str_info, "%s=\"\"\n", CTP_DEVICE_KEY_NAME);
sprintf(sw->write_info[4].str_info, "%s=\"\"\n", LSENSOR_DEVICE_KEY_NAME);
sprintf(sw->write_info[5].str_info, "%s=\"\"\n", GYR_SENSOR_DEVICE_KEY_NAME);
sw_device_detect_start(sw);
kfree(sw);
kfree(client);
dprintk(DEBUG_INIT, "[sw_device]:%s end!\n", __func__);
return 0;
}
static void sw_devices_events(struct work_struct *work)
{
int ret = -1;
int device_number = 0;
struct gpio_config value;
char *name[] = {"ctp_para", "ctp_wakeup"};
get_pio_para(name, &value, 1);
dprintk(DEBUG_INIT, "[sw_device]:%s begin!\n", __func__);
if(ctp_mask != 1) {
device_number = (sizeof(gsensors)) / (sizeof(gsensors[0]));
ret = sw_register_device_detect(gsensors, &g_name, device_number);
if(ret < 0)
printk("gsensor detect fail!\n");
device_number = (sizeof(lsensors)) / (sizeof(lsensors[0]));
ret = sw_register_device_detect(lsensors, &ls_name, device_number);
if(ret < 0)
printk("lsensor detect fail!\n");
device_number = (sizeof(gyr_sensors)) / (sizeof(gyr_sensors[0]));
ret = sw_register_device_detect(gyr_sensors, &gyr_name, device_number);
if(ret < 0)
printk("gyr detect fail!\n");
}
device_number = (sizeof(ctps)) / (sizeof(ctps[0]));
ctp_wakeup(value.gpio, 0, 20);
msleep(50);
ret = sw_register_device_detect(ctps, &c_name, device_number);
if(ret < 0)
printk("ctp detect fail!\n");
dprintk(DEBUG_INIT, "[sw_device]:%s end!\n", __func__);
}
static ssize_t sw_device_gsensor_show(struct device *dev,
struct device_attribute *attr, char *buf)
{
ssize_t cnt = 0;
dprintk(DEBUG_INIT, "[sw_device]:%s: device name:%s\n", __func__, d_name.g_name);
cnt += sprintf(buf + cnt,"device name:%s\n" ,d_name.g_name);
cnt += sprintf(buf + cnt,"device addr:0x%x\n" ,d_name.g_addr);
return cnt;
}
static ssize_t sw_device_gsensor_store(struct device *dev,struct device_attribute *attr,
const char *buf, size_t size)
{
return 0;
}
static ssize_t sw_device_ctp_show(struct device *dev,
struct device_attribute *attr, char *buf)
{
ssize_t cnt = 0;
dprintk(DEBUG_INIT, "[sw_device]:%s: write_key_name:%s\n", __func__, d_name.c_name);
if(ctp_mask != 1) {
cnt += sprintf(buf + cnt,"device name:%s\n" ,d_name.c_name);
cnt += sprintf(buf + cnt,"device addr:0x%x\n" ,d_name.c_addr);
} else
return sprintf(buf, "%s", d_name.c_name);
return cnt;
}
static ssize_t sw_device_ctp_store(struct device *dev,struct device_attribute *attr,
const char *buf, size_t size)
{
return 0;
}
static DEVICE_ATTR(gsensor, S_IRUGO|S_IWUSR|S_IWGRP, sw_device_gsensor_show, sw_device_gsensor_store);
static DEVICE_ATTR(ctp, S_IRUGO|S_IWUSR|S_IWGRP, sw_device_ctp_show, sw_device_ctp_store);
static struct attribute *sw_device_attributes[] = {
&dev_attr_gsensor.attr,
&dev_attr_ctp.attr,
NULL
};
static struct attribute_group dev_attr_group = {
.attrs = sw_device_attributes,
};
static const struct attribute_group *dev_attr_groups[] = {
&dev_attr_group,
NULL,
};
static void sw_device_release(struct device *dev)
{
}
static struct device sw_device_detect = {
.init_name = "sw_device",
.release = sw_device_release,
};
static int __init sw_device_init(void)
{
int err = 0;
dprintk(DEBUG_INIT, "[sw_device]:%s begin!\n", __func__);
sw_wq = create_singlethread_workqueue("sw_wq");
if (sw_wq == NULL) {
printk("create sw_wq fail!\n");
return 0;
}
queue_work(sw_wq, &sw_work);
sw_device_detect.groups = dev_attr_groups;
err = device_register(&sw_device_detect);
if (err) {
printk("%s register camera detect driver as misc device error\n", __FUNCTION__);
}
dprintk(DEBUG_INIT, "[sw_device]:%s begin!\n", __func__);
return 0;
}
static void __exit sw_device_exit(void)
{
printk(" sw device driver exit!\n");
device_unregister(&sw_device_detect);
}
/*************************************************************************************/
MODULE_AUTHOR("Ida yin");
MODULE_DESCRIPTION("Detection i2c device driver");
MODULE_LICENSE("GPL");
MODULE_VERSION("1.1");
module_init(sw_device_init);
module_exit(sw_device_exit); | EPDCenter/android_kernel_allwinner_a31_unusual | drivers/input/sw_device.c | C | gpl-2.0 | 33,476 | [
30522,
1013,
1008,
1008,
25430,
1035,
5080,
1012,
1039,
1011,
11603,
16293,
14184,
2005,
10788,
1045,
2475,
2278,
30524,
2139,
8569,
2290,
1035,
7308,
1027,
1014,
2595,
2692,
1025,
1001,
9375,
1040,
16550,
2243,
1006,
2504,
1035,
7308,
1010... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* Copyright 2002-2004 the original author or authors.
*
* 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.
*/
package org.springframework.beans.factory.support;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
import org.springframework.beans.propertyeditors.ClassEditor;
/**
* Convenient superclass for aspects/persistence API
* configuration classes that should be able to autowire
* objects into a factory.
* <p>
* There are two ways of doing this: by mapping managed classes to prototype bean definitions
* in the factory; and by identifying classes of which instances should be autowired into the factory
* using the autowiring capables of AutowireCapableBeanFactory. If your managed class implements
* Spring lifecycle interfaces such as BeanFactoryAware or ApplicationContextAware, you must use the
* former method. With the latter method, only properties will be set, based on automatic satisfaction
* of dependencies from other beans (singleton or non-singleton) defined in the factory.
*
* <p>Could also use attributes on persistent classes to identify those eligible for autowiring, or
* even the prototype bean name.
* @see org.springframework.beans.factory.config.AutowireCapableBeanFactory
*
* @since 1.2
* @author Rod Johnson
*/
public abstract class DependencyInjectionAspectSupport implements InitializingBean, BeanFactoryAware {
protected final Log log = LogFactory.getLog(getClass());
private BeanFactory beanFactory;
private AutowireCapableBeanFactory aabf;
/**
* Map of Class to prototype name
*/
private Map managedClassToPrototypeMap = new HashMap();
private int defaultAutowireMode = 0;
/**
* List of Class
*/
protected List autowireByTypeClasses = new LinkedList();
/**
* List of Class
*/
private List autowireByNameClasses = new LinkedList();
/**
* @return Returns the autowireAll.
*/
public int getDefaultAutowireMode() {
return defaultAutowireMode;
}
/**
* Convenient property enabling autowiring of all instances. We might want this in an
* AspectJ aspect subclass, for example, relying on the AspectJ aspect to target the
* advice.
* @param autowireAll The autowireAll to set.
*/
public void setDefaultAutowireMode(int mode) {
if (mode != 0 && mode != AutowireCapableBeanFactory.AUTOWIRE_BY_NAME && mode != AbstractAutowireCapableBeanFactory.AUTOWIRE_BY_TYPE) {
throw new IllegalArgumentException("defaultAutowireMode must be a constant on AutowireCapableBeanFactory: AUTOWIRE_BY_TYPE or AUTOWIRE_BY_NAME");
}
defaultAutowireMode = mode;
}
public void setBeanFactory(BeanFactory beanFactory) {
this.beanFactory = beanFactory;
if (beanFactory instanceof AutowireCapableBeanFactory) {
this.aabf = (AutowireCapableBeanFactory) beanFactory;
}
}
/**
* Expose the owning bean factory to subclasses.
* Call only after initialization is complete.
* @return the owning bean factory. Cannot be null in valid use of this class.
*/
protected BeanFactory getBeanFactory() {
return this.beanFactory;
}
/**
* Set the Classes or class names that will be autowired by type
* @param autowireByTypeClasses list of Class or String classname
*/
public void setAutowireByTypeClasses(List autowireByTypeClasses) {
this.autowireByTypeClasses = convertListFromStringsToClassesIfNecessary(autowireByTypeClasses);
}
/**
* Return classes autowired by type
* @return list of Class
*/
public List getAutowireByTypeClasses() {
return autowireByTypeClasses;
}
public void addAutowireByTypeClass(Class clazz) {
this.autowireByTypeClasses.add(clazz);
}
/**
* Set the Classes or class names that will be autowired by name
* @param autowireByNameClasses list of Class or String classname
*/
public void setAutowireByNameClasses(List autowireByNameClasses) {
this.autowireByNameClasses = convertListFromStringsToClassesIfNecessary(autowireByNameClasses);
}
/**
* Return classes autowired by name
* @return list of Class
*/
public List getAutowireByNameClasses() {
return autowireByNameClasses;
}
public void addAutowireByNameClass(Class clazz) {
this.autowireByNameClasses.add(clazz);
}
/**
* Property key is class FQN, value is prototype name to use to obtain a new instance
* @param persistentClassBeanNames
*/
public void setManagedClassNamesToPrototypeNames(Properties persistentClassBeanNames) {
for (Iterator i = persistentClassBeanNames.keySet().iterator(); i.hasNext();) {
String className = (String) i.next();
String beanName = persistentClassBeanNames.getProperty(className);
addManagedClassToPrototypeMapping(classNameStringToClass(className), beanName);
}
}
/**
* Utility method to convert a collection from a list of String class name to a list of Classes
* @param l list which may contain Class or String
* @return list of resolved Class instances
*/
private List convertListFromStringsToClassesIfNecessary(List l) {
List classes = new ArrayList(l.size());
for (Iterator itr = l.iterator(); itr.hasNext();) {
Object next = itr.next();
if (next instanceof String) {
next = classNameStringToClass((String) next);
}
classes.add(next);
}
return classes;
}
/**
* Resolve this FQN
* @param className name of the class to resolve
* @return the Class
*/
private Class classNameStringToClass(String className) {
ClassEditor ce = new ClassEditor();
ce.setAsText(className);
return (Class) ce.getValue();
}
/**
* Return a Map of managed classes to prototype names
* @return Map with key being FQN and value prototype bean name to use for that class
*/
public Map getManagedClassToPrototypeNames() {
return this.managedClassToPrototypeMap;
}
public void addManagedClassToPrototypeMapping(Class clazz, String beanName) {
this.managedClassToPrototypeMap.put(clazz, beanName);
}
/**
* Check that mandatory properties were set
* @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
*/
public final void afterPropertiesSet() {
if (beanFactory == null) {
throw new IllegalArgumentException("beanFactory is required");
}
validateConfiguration();
validateProperties();
}
/**
* Subclasses should implement this to validate their configuration
*/
protected abstract void validateProperties();
protected void validateConfiguration() {
if (managedClassToPrototypeMap.isEmpty() && autowireByTypeClasses.isEmpty() && autowireByNameClasses.isEmpty() && defaultAutowireMode == 0) {
throw new IllegalArgumentException("Must set persistent class information: no managed classes configured and no autowiring configuration or defaults");
}
if ((defaultAutowireMode != 0 || !autowireByTypeClasses.isEmpty() || !autowireByNameClasses.isEmpty()) && aabf == null) {
throw new IllegalArgumentException("Autowiring supported only when running in an AutowireCapableBeanFactory");
}
// Check that all persistent classes map to prototype definitions
for (Iterator itr = managedClassToPrototypeMap.keySet().iterator(); itr.hasNext(); ) {
String beanName = (String) managedClassToPrototypeMap.get(itr.next());
if (!beanFactory.containsBean(beanName)) {
throw new IllegalArgumentException("No bean with name '" + beanName + "' defined in factory");
}
if (beanFactory.isSingleton(beanName)) {
throw new IllegalArgumentException("Bean name '" + beanName + "' must be a prototype, with singleton=\"false\"");
}
}
log.info("Validated " + managedClassToPrototypeMap.size() + " persistent class to prototype mappings");
}
/**
* Subclasses can call this to autowire properties on an existing object
* @param o
* @param autowireMode
* @throws BeansException
*/
protected void autowireProperties(Object o) throws NoAutowiringConfigurationForClassException, BeansException {
if (autowireByTypeClasses.contains(o.getClass())) {
aabf.autowireBeanProperties(o, AutowireCapableBeanFactory.AUTOWIRE_BY_TYPE, false);
}
else if (autowireByNameClasses.contains(o.getClass())) {
aabf.autowireBeanProperties(o, AutowireCapableBeanFactory.AUTOWIRE_BY_NAME, false);
}
else if (defaultAutowireMode == AutowireCapableBeanFactory.AUTOWIRE_BY_TYPE) {
aabf.autowireBeanProperties(o, AutowireCapableBeanFactory.AUTOWIRE_BY_TYPE, false);
}
else if (defaultAutowireMode == AutowireCapableBeanFactory.AUTOWIRE_BY_NAME) {
aabf.autowireBeanProperties(o, AutowireCapableBeanFactory.AUTOWIRE_BY_NAME, false);
}
else {
throw new NoAutowiringConfigurationForClassException(o.getClass());
}
log.info("Autowired properties of persistent object with class=" + o.getClass().getName());
}
/**
* Subclasses will call this to create an object of the requisite class
* @param clazz
* @return
* @throws NoAutowiringConfigurationForClassException
*/
protected Object createAndConfigure(Class clazz) throws NoAutowiringConfigurationForClassException {
Object o = null;
String name = (String) managedClassToPrototypeMap.get(clazz);
if (name != null) {
o = beanFactory.getBean(name);
}
else {
// Fall back to trying autowiring
o = BeanUtils.instantiateClass(clazz);
autowireProperties(o);
}
if (o == null) {
throw new NoAutowiringConfigurationForClassException(clazz);
}
else {
return o;
}
}
protected class NoAutowiringConfigurationForClassException extends Exception {
public NoAutowiringConfigurationForClassException(Class clazz) {
super(clazz + " cannot be autowired");
}
}
}
| cbeams-archive/spring-framework-2.5.x | sandbox/src/org/springframework/beans/factory/support/DependencyInjectionAspectSupport.java | Java | apache-2.0 | 10,662 | [
30522,
1013,
1008,
1008,
9385,
2526,
1011,
2432,
1996,
2434,
3166,
2030,
6048,
1012,
1008,
1008,
7000,
2104,
1996,
15895,
6105,
1010,
2544,
1016,
1012,
1014,
30524,
7479,
1012,
15895,
1012,
8917,
1013,
15943,
1013,
6105,
1011,
1016,
1012,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
jsonp({"cep":"25960003","logradouro":"Avenida Oliveira Botelho","bairro":"Alto","cidade":"Teres\u00f3polis","uf":"RJ","estado":"Rio de Janeiro"});
| lfreneda/cepdb | api/v1/25960003.jsonp.js | JavaScript | cc0-1.0 | 147 | [
30522,
1046,
3385,
2361,
1006,
1063,
1000,
8292,
2361,
1000,
1024,
1000,
25191,
16086,
8889,
2509,
1000,
1010,
1000,
8833,
12173,
8162,
2080,
1000,
1024,
1000,
13642,
3490,
2850,
24263,
28516,
2884,
6806,
1000,
1010,
1000,
21790,
18933,
100... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* Copyright (c) 2009 by Xuggle Incorporated. All rights reserved.
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <libavcodec/avcodec.h>
#include <speex/speex.h>
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>
typedef struct {
SpeexBits bits;
void *enc_state;
SpeexHeader header;
} LibSpeexEncContext;
static av_cold int libspeex_encode_init(AVCodecContext *avctx)
{
LibSpeexEncContext *s = (LibSpeexEncContext*)avctx->priv_data;
const SpeexMode *mode;
if ((avctx->sample_fmt != SAMPLE_FMT_S16 && avctx->sample_fmt != SAMPLE_FMT_FLT) ||
avctx->sample_rate <= 0 ||
avctx->channels <= 0 ||
avctx->channels > 2)
{
av_log(avctx, AV_LOG_ERROR, "Unsupported sample format, rate, or channels for speex");
return -1;
}
if (avctx->sample_rate <= 8000)
mode = &speex_nb_mode;
else if (avctx->sample_rate <= 16000)
mode = &speex_wb_mode;
else
mode = &speex_uwb_mode;
speex_bits_init(&s->bits);
s->enc_state = speex_encoder_init(mode);
if (!s->enc_state)
{
av_log(avctx, AV_LOG_ERROR, "could not initialize speex encoder");
return -1;
}
// initialize the header
speex_init_header(&s->header, avctx->sample_rate,
avctx->channels, mode);
// TODO: It'd be nice to support VBR here, but
// I'm uncertain what AVCodecContext options to use
// to signal whether to turn it on.
if (avctx->flags & CODEC_FLAG_QSCALE) {
spx_int32_t quality = 0;
// Map global_quality's mpeg 1/2/4 scale into Speex's 0-10 scale
if (avctx->global_quality > FF_LAMBDA_MAX)
quality = 0; // lowest possible quality
else
quality = (spx_int32_t)((FF_LAMBDA_MAX-avctx->global_quality)*10.0/FF_LAMBDA_MAX);
speex_encoder_ctl(s->enc_state, SPEEX_SET_QUALITY, &quality);
} else {
// default to CBR
if (avctx->bit_rate > 0)
speex_encoder_ctl(s->enc_state, SPEEX_SET_BITRATE, &avctx->bit_rate);
// otherwise just take the default quality setting
}
// reset the bit-rate to the actual bit rate speex will use
speex_encoder_ctl(s->enc_state, SPEEX_GET_BITRATE, &s->header.bitrate);
avctx->bit_rate = s->header.bitrate;
// get the actual sample rate
speex_encoder_ctl(s->enc_state, SPEEX_GET_SAMPLING_RATE, &s->header.rate);
avctx->sample_rate = s->header.rate;
// get the frame-size. To align with FLV, we're going to put 2 frames
// per packet. If someone can tell me how to make this configurable
// from the avcodec contents, I'll mod this so it's not hard-coded.
// but without this, FLV files with speex data won't play correctly
// in flash player 10.
speex_encoder_ctl(s->enc_state, SPEEX_GET_FRAME_SIZE, &s->header.frame_size);
s->header.frames_per_packet = 2; // Need for FLV container support
avctx->frame_size = s->header.frame_size*s->header.frames_per_packet;
// and we'll put a speex header packet into extradata so that muxers
// can use it.
avctx->extradata = speex_header_to_packet(&s->header, &avctx->extradata_size);
return 0;
}
static av_cold int libspeex_encode_frame(
AVCodecContext *avctx, uint8_t *frame,
int buf_size, void *data)
{
LibSpeexEncContext *s = (LibSpeexEncContext*)avctx->priv_data;
int i = 0;
if (!data)
// nothing to flush
return 0;
speex_bits_reset(&s->bits);
for(i = 0; i < s->header.frames_per_packet; i++)
{
if (avctx->sample_fmt == SAMPLE_FMT_FLT)
{
if (avctx->channels == 2) {
speex_encode_stereo(
(float*)data+i*s->header.frame_size,
s->header.frame_size,
&s->bits);
}
speex_encode(s->enc_state,
(float*)data+i*s->header.frame_size, &s->bits);
} else {
if (avctx->channels == 2) {
speex_encode_stereo_int(
(spx_int16_t*)data+i*s->header.frame_size,
s->header.frame_size,
&s->bits);
}
speex_encode_int(s->enc_state,
(spx_int16_t*)data+i*s->header.frame_size, &s->bits);
}
}
// put in a terminator so this will fit in a OGG or FLV packet
speex_bits_insert_terminator(&s->bits);
if (buf_size >= speex_bits_nbytes(&s->bits)) {
return speex_bits_write(&s->bits, frame, buf_size);
} else {
av_log(avctx, AV_LOG_ERROR, "output buffer too small");
return -1;
}
}
static av_cold int libspeex_encode_close(AVCodecContext *avctx)
{
LibSpeexEncContext *s = (LibSpeexEncContext*)avctx->priv_data;
speex_bits_destroy(&s->bits);
speex_encoder_destroy(s->enc_state);
s->enc_state = 0;
if (avctx->extradata)
speex_header_free(avctx->extradata);
avctx->extradata = 0;
avctx->extradata_size = 0;
return 0;
}
AVCodec ff_libspeex_encoder = {
"libspeex",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_SPEEX,
sizeof(LibSpeexEncContext),
libspeex_encode_init,
libspeex_encode_frame,
libspeex_encode_close,
0,
.capabilities = CODEC_CAP_DELAY,
.supported_samplerates = (const int[]){8000, 16000, 32000, 0},
.sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_FLT,SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("libspeex Speex Encoder"),
};
| wkritzinger/asuswrt-merlin | release/src/router/ffmpeg/libavcodec/libspeexenc.c | C | gpl-2.0 | 6,253 | [
30522,
1013,
1008,
1008,
9385,
1006,
1039,
1007,
2268,
2011,
15990,
24679,
5100,
1012,
2035,
2916,
9235,
1012,
1008,
2023,
5371,
2003,
2112,
1997,
21461,
8737,
13910,
1012,
1008,
1008,
21461,
8737,
13910,
2003,
2489,
4007,
1025,
2017,
2064,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
using RimWorld;
using Verse.AI;
namespace MountainMiner
{
class JobDriver_DrillUp : JobDriver
{
const int ticks = GenDate.TicksPerDay;
Building_MountainDrill comp => (Building_MountainDrill)TargetA.Thing;
protected override IEnumerable<Toil> MakeNewToils()
{
this.FailOn(() => {
if (comp.CanDrillNow()) return false;
return true;
});
yield return Toils_Reserve.Reserve(TargetIndex.A).FailOnDespawnedNullOrForbidden(TargetIndex.A);
yield return Toils_Goto.GotoThing(TargetIndex.A, PathEndMode.Touch).FailOnDespawnedNullOrForbidden(TargetIndex.A);
Toil mine = new Toil();
mine.WithEffect(EffecterDefOf.Drill, TargetIndex.A);
mine.WithProgressBar(TargetIndex.A, () => comp.Progress);
mine.tickAction = delegate
{
var pawn = mine.actor;
comp.Drill(pawn.GetStatValue(StatDefOf.MiningSpeed) / ticks);
pawn.skills.Learn(SkillDefOf.Mining, 0.125f);
if (comp.Progress>=1)
{
comp.DrillWorkDone(pawn);
EndJobWith(JobCondition.Succeeded);
pawn.records.Increment(RecordDefOf.CellsMined);
}
};
mine.WithEffect(TargetThingA.def.repairEffect, TargetIndex.A);
mine.defaultCompleteMode = ToilCompleteMode.Never;
yield return mine;
}
}
}
| hunt3rkill3r/HcSK-HK | HcSK-HK/Mods/MountainMiner/Source/JobDriver_DrillUp.cs | C# | unlicense | 1,620 | [
30522,
2478,
2291,
1025,
2478,
2291,
1012,
6407,
1012,
12391,
1025,
2478,
2291,
1012,
11409,
4160,
1025,
2478,
2291,
1012,
3793,
1025,
2478,
7893,
1025,
2478,
11418,
11108,
1025,
2478,
7893,
1012,
9932,
1025,
3415,
15327,
3137,
11233,
2099,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
$(function () {
// Prepare demo data
var data = [
{
"hc-key": "dm-lu",
"value": 0
},
{
"hc-key": "dm-ma",
"value": 1
},
{
"hc-key": "dm-pk",
"value": 2
},
{
"hc-key": "dm-da",
"value": 3
},
{
"hc-key": "dm-pl",
"value": 4
},
{
"hc-key": "dm-pr",
"value": 5
},
{
"hc-key": "dm-an",
"value": 6
},
{
"hc-key": "dm-go",
"value": 7
},
{
"hc-key": "dm-jn",
"value": 8
},
{
"hc-key": "dm-jh",
"value": 9
}
];
// Initiate the chart
$('#container').highcharts('Map', {
title : {
text : 'Highmaps basic demo'
},
subtitle : {
text : 'Source map: <a href="http://code.highcharts.com/mapdata/countries/dm/dm-all.js">Dominica</a>'
},
mapNavigation: {
enabled: true,
buttonOptions: {
verticalAlign: 'bottom'
}
},
colorAxis: {
min: 0
},
series : [{
data : data,
mapData: Highcharts.maps['countries/dm/dm-all'],
joinBy: 'hc-key',
name: 'Random data',
states: {
hover: {
color: '#BADA55'
}
},
dataLabels: {
enabled: true,
format: '{point.name}'
}
}]
});
});
| Oxyless/highcharts-export-image | lib/highcharts.com/samples/mapdata/countries/dm/dm-all/demo.js | JavaScript | mit | 1,719 | [
30522,
1002,
1006,
3853,
1006,
1007,
1063,
1013,
1013,
7374,
9703,
2951,
13075,
2951,
1027,
1031,
1063,
1000,
16731,
1011,
3145,
1000,
1024,
1000,
1040,
2213,
1011,
11320,
1000,
1010,
1000,
3643,
1000,
1024,
1014,
1065,
1010,
1063,
1000,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.gradle.service;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.externalSystem.ExternalSystemModulePropertyManager;
import com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkException;
import com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkUtil;
import com.intellij.openapi.externalSystem.service.notification.callback.OpenExternalSystemSettingsCallback;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.projectRoots.JdkUtil;
import com.intellij.openapi.projectRoots.Sdk;
import com.intellij.openapi.roots.OrderEnumerator;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.Ref;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.Version;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.JarFileSystem;
import com.intellij.openapi.vfs.LocalFileSystem;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.util.containers.ContainerUtil;
import org.gradle.StartParameter;
import org.gradle.util.DistributionLocator;
import org.gradle.util.GradleVersion;
import org.gradle.wrapper.PathAssembler;
import org.gradle.wrapper.WrapperConfiguration;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.plugins.gradle.settings.DistributionType;
import org.jetbrains.plugins.gradle.settings.GradleLocalSettings;
import org.jetbrains.plugins.gradle.settings.GradleProjectSettings;
import org.jetbrains.plugins.gradle.settings.GradleSettings;
import org.jetbrains.plugins.gradle.util.GradleEnvironment;
import org.jetbrains.plugins.gradle.util.GradleLog;
import org.jetbrains.plugins.gradle.util.GradleUtil;
import java.io.File;
import java.net.URI;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Encapsulates algorithm of gradle libraries discovery.
* <p/>
* Thread-safe.
*
* @author Denis Zhdanov
*/
@SuppressWarnings("MethodMayBeStatic")
public class GradleInstallationManager {
public static final Pattern GRADLE_JAR_FILE_PATTERN;
public static final Pattern ANY_GRADLE_JAR_FILE_PATTERN;
public static final Pattern ANT_JAR_PATTERN = Pattern.compile("ant(-(.*))?\\.jar");
public static final Pattern IVY_JAR_PATTERN = Pattern.compile("ivy(-(.*))?\\.jar");
private static final String[] GRADLE_START_FILE_NAMES;
@NonNls private static final String GRADLE_ENV_PROPERTY_NAME;
private static final Path BREW_GRADLE_LOCATION = Paths.get("/usr/local/Cellar/gradle/");
private static final String LIBEXEC = "libexec";
static {
// Init static data with ability to redefine it locally.
GRADLE_JAR_FILE_PATTERN = Pattern.compile(System.getProperty("gradle.pattern.core.jar", "gradle-(core-)?(\\d.*)\\.jar"));
ANY_GRADLE_JAR_FILE_PATTERN = Pattern.compile(System.getProperty("gradle.pattern.core.jar", "gradle-(.*)\\.jar"));
GRADLE_START_FILE_NAMES = System.getProperty("gradle.start.file.names", "gradle:gradle.cmd:gradle.sh").split(":");
GRADLE_ENV_PROPERTY_NAME = System.getProperty("gradle.home.env.key", "GRADLE_HOME");
}
@Nullable private Ref<File> myCachedGradleHomeFromPath;
/**
* Allows to get file handles for the gradle binaries to use.
*
* @param gradleHome gradle sdk home
* @return file handles for the gradle binaries; {@code null} if gradle is not discovered
*/
@Nullable
public Collection<File> getAllLibraries(@Nullable File gradleHome) {
if (gradleHome == null || !gradleHome.isDirectory()) {
return null;
}
List<File> result = new ArrayList<>();
File libs = new File(gradleHome, "lib");
File[] files = libs.listFiles();
if (files != null) {
for (File file : files) {
if (file.getName().endsWith(".jar")) {
result.add(file);
}
}
}
File plugins = new File(libs, "plugins");
files = plugins.listFiles();
if (files != null) {
for (File file : files) {
if (file.getName().endsWith(".jar")) {
result.add(file);
}
}
}
return result.isEmpty() ? null : result;
}
@Nullable
public File getGradleHome(@Nullable Project project, @NotNull String linkedProjectPath) {
return doGetGradleHome(project, linkedProjectPath);
}
@Nullable
public Sdk getGradleJdk(@Nullable Project project, @NotNull String linkedProjectPath) {
return doGetGradleJdk(project, linkedProjectPath);
}
@Nullable
private Sdk doGetGradleJdk(@Nullable Project project, String linkedProjectPath) {
if (project == null) {
return null;
}
final GradleProjectSettings settings = GradleSettings.getInstance(project).getLinkedProjectSettings(linkedProjectPath);
if (settings == null) {
Pair<String, Sdk> sdkPair = ExternalSystemJdkUtil.getAvailableJdk(project);
if (!ExternalSystemJdkUtil.USE_INTERNAL_JAVA.equals(sdkPair.first) ||
ExternalSystemJdkUtil.isValidJdk(sdkPair.second)) {
return sdkPair.second;
}
else {
return null;
}
}
final String gradleJvm = settings.getGradleJvm();
Sdk sdk;
try {
sdk = ExternalSystemJdkUtil.getJdk(project, gradleJvm);
}
catch (ExternalSystemJdkException e) {
throw new ExternalSystemJdkException(
String.format("Invalid Gradle JDK configuration found. <a href='%s'>Open Gradle Settings</a> \n",
OpenExternalSystemSettingsCallback.ID), e, OpenExternalSystemSettingsCallback.ID);
}
if (sdk == null && gradleJvm != null) {
throw new ExternalSystemJdkException(
String.format("Invalid Gradle JDK configuration found. <a href='%s'>Open Gradle Settings</a> \n",
OpenExternalSystemSettingsCallback.ID), null, OpenExternalSystemSettingsCallback.ID);
}
String sdkHomePath = sdk != null ? sdk.getHomePath() : null;
if (sdkHomePath != null && JdkUtil.checkForJre(sdkHomePath) && !JdkUtil.checkForJdk(sdkHomePath)) {
throw new ExternalSystemJdkException(
String.format("Please, use JDK instead of JRE for Gradle importer. <a href='%s'>Open Gradle Settings</a> \n",
OpenExternalSystemSettingsCallback.ID), null, OpenExternalSystemSettingsCallback.ID);
}
return sdk;
}
/**
* Tries to return file handle that points to the gradle installation home.
*
* @param project target project (if any)
* @param linkedProjectPath path to the target linked project config
* @return file handle that points to the gradle installation home (if any)
*/
@Nullable
private File doGetGradleHome(@Nullable Project project, @NotNull String linkedProjectPath) {
if (project == null) {
return null;
}
GradleProjectSettings settings = GradleSettings.getInstance(project).getLinkedProjectSettings(linkedProjectPath);
if (settings == null || settings.getDistributionType() == null) {
return null;
}
String gradleHome = settings.getDistributionType() == DistributionType.WRAPPED
? GradleLocalSettings.getInstance(project).getGradleHome(linkedProjectPath)
: settings.getGradleHome();
return getGradleHome(settings.getDistributionType(), linkedProjectPath, gradleHome);
}
@Nullable
private File getGradleHome(@NotNull DistributionType distributionType, @NotNull String linkedProjectPath, @Nullable String gradleHome) {
File candidate = null;
switch (distributionType) {
case LOCAL:
case WRAPPED:
if (gradleHome != null) {
candidate = new File(gradleHome);
}
break;
case DEFAULT_WRAPPED:
WrapperConfiguration wrapperConfiguration = GradleUtil.getWrapperConfiguration(linkedProjectPath);
candidate = getWrappedGradleHome(linkedProjectPath, wrapperConfiguration);
break;
case BUNDLED:
WrapperConfiguration bundledWrapperSettings = new WrapperConfiguration();
DistributionLocator distributionLocator = new DistributionLocator();
bundledWrapperSettings.setDistribution(distributionLocator.getDistributionFor(GradleVersion.current()));
candidate = getWrappedGradleHome(linkedProjectPath, bundledWrapperSettings);
break;
}
File result = null;
if (candidate != null) {
result = isGradleSdkHome(candidate) ? candidate : null;
}
if (result != null) {
return result;
}
return getAutodetectedGradleHome();
}
/**
* Tries to deduce gradle location from current environment.
*
* @return gradle home deduced from the current environment (if any); {@code null} otherwise
*/
@Nullable
public File getAutodetectedGradleHome() {
File result = getGradleHomeFromPath();
if (result != null) return result;
result = getGradleHomeFromEnvProperty();
if (result != null) return result;
if (SystemInfo.isMac) {
return getGradleHomeFromBrew();
}
return null;
}
@Nullable
private File getGradleHomeFromBrew() {
try {
try (DirectoryStream<Path> ds = Files.newDirectoryStream(BREW_GRADLE_LOCATION)) {
Path bestPath = null;
Version highestVersion = null;
for (Path path : ds) {
String fileName = path.getFileName().toString();
try {
Version version = Version.parseVersion(fileName);
if (version == null) continue;
if (highestVersion == null || version.compareTo(highestVersion) > 0) {
highestVersion = version;
bestPath = path;
}
} catch (NumberFormatException ignored) {
}
}
if (bestPath != null) {
Path libexecPath = bestPath.resolve(LIBEXEC);
if (Files.exists(libexecPath)) {
return libexecPath.toFile();
}
}
}
}
catch (Exception ignored) {
}
return null;
}
/**
* Tries to suggest better path to gradle home
* @param homePath expected path to gradle home
* @return proper in terms of {@link #isGradleSdkHome(File)} path or {@code null} if it is impossible to fix path
*/
public String suggestBetterGradleHomePath(@NotNull String homePath) {
Path path = Paths.get(homePath);
if (path.startsWith(BREW_GRADLE_LOCATION)) {
Path libexecPath = path.resolve(LIBEXEC);
File libexecFile = libexecPath.toFile();
if (isGradleSdkHome(libexecFile)) {
return libexecPath.toString();
}
}
return null;
}
/**
* Tries to return gradle home that is defined as a dependency to the given module.
*
* @param module target module
* @return file handle that points to the gradle installation home defined as a dependency of the given module (if any)
*/
@Nullable
public VirtualFile getGradleHome(@Nullable Module module) {
if (module == null) {
return null;
}
final VirtualFile[] roots = OrderEnumerator.orderEntries(module).getAllLibrariesAndSdkClassesRoots();
for (VirtualFile root : roots) {
if (root != null && isGradleSdkHome(root)) {
return root;
}
}
return null;
}
/**
* Tries to return gradle home defined as a dependency of the given module; falls back to the project-wide settings otherwise.
*
* @param module target module that can have gradle home as a dependency
* @param project target project which gradle home setting should be used if module-specific gradle location is not defined
* @return gradle home derived from the settings of the given entities (if any); {@code null} otherwise
*/
@Nullable
public VirtualFile getGradleHome(@Nullable Module module, @Nullable Project project, @NotNull String linkedProjectPath) {
final VirtualFile result = getGradleHome(module);
if (result != null) {
return result;
}
final File home = getGradleHome(project, linkedProjectPath);
return home == null ? null : LocalFileSystem.getInstance().refreshAndFindFileByIoFile(home);
}
/**
* Tries to discover gradle installation path from the configured system path
*
* @return file handle for the gradle directory if it's possible to deduce from the system path; {@code null} otherwise
*/
@Nullable
public File getGradleHomeFromPath() {
Ref<File> ref = myCachedGradleHomeFromPath;
if (ref != null) {
return ref.get();
}
String path = System.getenv("PATH");
if (path == null) {
return null;
}
for (String pathEntry : path.split(File.pathSeparator)) {
File dir = new File(pathEntry);
if (!dir.isDirectory()) {
continue;
}
for (String fileName : GRADLE_START_FILE_NAMES) {
File startFile = new File(dir, fileName);
if (startFile.isFile()) {
File candidate = dir.getParentFile();
if (isGradleSdkHome(candidate)) {
myCachedGradleHomeFromPath = new Ref<>(candidate);
return candidate;
}
}
}
}
return null;
}
/**
* Tries to discover gradle installation via environment property.
*
* @return file handle for the gradle directory deduced from the system property (if any)
*/
@Nullable
public File getGradleHomeFromEnvProperty() {
String path = System.getenv(GRADLE_ENV_PROPERTY_NAME);
if (path == null) {
return null;
}
File candidate = new File(path);
return isGradleSdkHome(candidate) ? candidate : null;
}
/**
* Does the same job as {@link #isGradleSdkHome(File)} for the given virtual file.
*
* @param file gradle installation home candidate
* @return {@code true} if given file points to the gradle installation; {@code false} otherwise
*/
public boolean isGradleSdkHome(@Nullable VirtualFile file) {
if (file == null) {
return false;
}
return isGradleSdkHome(new File(file.getPath()));
}
/**
* Allows to answer if given virtual file points to the gradle installation root.
*
* @param file gradle installation root candidate
* @return {@code true} if we consider that given file actually points to the gradle installation root;
* {@code false} otherwise
*/
public boolean isGradleSdkHome(@Nullable File file) {
if (file == null) {
return false;
}
final File libs = new File(file, "lib");
if (!libs.isDirectory()) {
if (GradleEnvironment.DEBUG_GRADLE_HOME_PROCESSING) {
GradleLog.LOG.info(String.format(
"Gradle sdk check failed for the path '%s'. Reason: it doesn't have a child directory named 'lib'", file.getAbsolutePath()
));
}
return false;
}
final boolean found = isGradleSdk(libs.listFiles());
if (GradleEnvironment.DEBUG_GRADLE_HOME_PROCESSING) {
GradleLog.LOG.info(String.format("Gradle home check %s for the path '%s'", found ? "passed" : "failed", file.getAbsolutePath()));
}
return found;
}
/**
* Allows to answer if given virtual file points to the gradle installation root.
*
* @param gradleHomePath gradle installation root candidate
* @return {@code true} if we consider that given file actually points to the gradle installation root;
* {@code false} otherwise
*/
public boolean isGradleSdkHome(String gradleHomePath) {
return isGradleSdkHome(new File(gradleHomePath));
}
/**
* Allows to answer if given files contain the one from gradle installation.
*
* @param files files to process
* @return {@code true} if one of the given files is from the gradle installation; {@code false} otherwise
*/
public boolean isGradleSdk(VirtualFile @Nullable ... files) {
if (files == null) {
return false;
}
File[] arg = new File[files.length];
for (int i = 0; i < files.length; i++) {
arg[i] = new File(files[i].getPath());
}
return isGradleSdk(arg);
}
private boolean isGradleSdk(File @Nullable ... files) {
return findGradleJar(files) != null;
}
@Nullable
private File findGradleJar(File @Nullable ... files) {
if (files == null) {
return null;
}
for (File file : files) {
if (GRADLE_JAR_FILE_PATTERN.matcher(file.getName()).matches()) {
return file;
}
}
if (GradleEnvironment.DEBUG_GRADLE_HOME_PROCESSING) {
StringBuilder filesInfo = new StringBuilder();
for (File file : files) {
filesInfo.append(file.getAbsolutePath()).append(';');
}
if (filesInfo.length() > 0) {
filesInfo.setLength(filesInfo.length() - 1);
}
GradleLog.LOG.info(String.format(
"Gradle sdk check fails. Reason: no one of the given files matches gradle JAR pattern (%s). Files: %s",
GRADLE_JAR_FILE_PATTERN.toString(), filesInfo
));
}
return null;
}
/**
* Allows to ask for the classpath roots of the classes that are additionally provided by the gradle integration (e.g. gradle class
* files, bundled groovy-all jar etc).
*
* @param project target project to use for gradle home retrieval
* @return classpath roots of the classes that are additionally provided by the gradle integration (if any);
* {@code null} otherwise
*/
@Nullable
public List<VirtualFile> getClassRoots(@Nullable Project project) {
List<File> files = getClassRoots(project, null);
if(files == null) return null;
final LocalFileSystem localFileSystem = LocalFileSystem.getInstance();
final JarFileSystem jarFileSystem = JarFileSystem.getInstance();
return ContainerUtil.mapNotNull(files, file -> {
final VirtualFile virtualFile = localFileSystem.refreshAndFindFileByIoFile(file);
return virtualFile != null ? jarFileSystem.getJarRootForLocalFile(virtualFile) : null;
});
}
@Nullable
public List<File> getClassRoots(@Nullable Project project, @Nullable String rootProjectPath) {
if (project == null) return null;
if(rootProjectPath == null) {
for (Module module : ModuleManager.getInstance(project).getModules()) {
rootProjectPath = ExternalSystemModulePropertyManager.getInstance(module).getRootProjectPath();
List<File> result = findGradleSdkClasspath(project, rootProjectPath);
if(!result.isEmpty()) return result;
}
} else {
return findGradleSdkClasspath(project, rootProjectPath);
}
return null;
}
@Nullable
public static String getGradleVersion(@Nullable String gradleHome) {
if (gradleHome == null) return null;
File libs = new File(gradleHome, "lib");
if(!libs.isDirectory()) return null;
File[] files = libs.listFiles();
if (files != null) {
for (File file : files) {
final Matcher matcher = GRADLE_JAR_FILE_PATTERN.matcher(file.getName());
if (matcher.matches()) {
return matcher.group(2);
}
}
}
return null;
}
private List<File> findGradleSdkClasspath(Project project, String rootProjectPath) {
List<File> result = new ArrayList<>();
if (StringUtil.isEmpty(rootProjectPath)) return result;
File gradleHome = getGradleHome(project, rootProjectPath);
if (gradleHome == null || !gradleHome.isDirectory()) {
return result;
}
File src = new File(gradleHome, "src");
if (src.isDirectory()) {
if(new File(src, "org").isDirectory()) {
addRoots(result, src);
} else {
addRoots(result, src.listFiles());
}
}
final Collection<File> libraries = getAllLibraries(gradleHome);
if (libraries == null) {
return result;
}
for (File file : libraries) {
if (isGradleBuildClasspathLibrary(file)) {
ContainerUtil.addIfNotNull(result, file);
}
}
return result;
}
private boolean isGradleBuildClasspathLibrary(File file) {
String fileName = file.getName();
return ANY_GRADLE_JAR_FILE_PATTERN.matcher(fileName).matches()
|| ANT_JAR_PATTERN.matcher(fileName).matches()
|| IVY_JAR_PATTERN.matcher(fileName).matches()
|| isGroovyJar(fileName);
}
private void addRoots(@NotNull List<? super File> result, File @Nullable ... files) {
if (files == null) return;
for (File file : files) {
if (file == null || !file.isDirectory()) continue;
result.add(file);
}
}
private File getWrappedGradleHome(String linkedProjectPath, @Nullable final WrapperConfiguration wrapperConfiguration) {
if (wrapperConfiguration == null) {
return null;
}
File gradleSystemDir;
if ("PROJECT".equals(wrapperConfiguration.getDistributionBase())) {
gradleSystemDir = new File(linkedProjectPath, ".gradle");
}
else {
gradleSystemDir = StartParameter.DEFAULT_GRADLE_USER_HOME;
}
if (!gradleSystemDir.isDirectory()) {
return null;
}
PathAssembler.LocalDistribution localDistribution = new PathAssembler(gradleSystemDir).getDistribution(wrapperConfiguration);
if (localDistribution.getDistributionDir() == null) {
return null;
}
File[] distFiles = localDistribution.getDistributionDir().listFiles(
f -> f.isDirectory() && StringUtil.startsWith(f.getName(), "gradle-"));
return distFiles == null || distFiles.length == 0 ? null : distFiles[0];
}
private static boolean isGroovyJar(@NotNull String name) {
name = StringUtil.toLowerCase(name);
return name.startsWith("groovy-all-") && name.endsWith(".jar") && !name.contains("src") && !name.contains("doc");
}
@Nullable
public static GradleVersion getGradleVersion(@NotNull GradleProjectSettings settings) {
GradleVersion version = null;
DistributionType distributionType = settings.getDistributionType();
if (distributionType == null) return null;
if (distributionType == DistributionType.LOCAL) {
String gradleVersion = getGradleVersion(settings.getGradleHome());
if (gradleVersion != null) {
version = getGradleVersionSafe(gradleVersion);
}
}
else if (distributionType == DistributionType.BUNDLED) {
return GradleVersion.current();
}
else if (distributionType == DistributionType.DEFAULT_WRAPPED) {
WrapperConfiguration wrapperConfiguration = GradleUtil.getWrapperConfiguration(settings.getExternalProjectPath());
GradleInstallationManager installationManager = ServiceManager.getService(GradleInstallationManager.class);
File gradleHome = installationManager.getWrappedGradleHome(settings.getExternalProjectPath(), wrapperConfiguration);
if (gradleHome != null) {
String gradleVersion = getGradleVersion(settings.getGradleHome());
if (gradleVersion != null) {
version = getGradleVersionSafe(gradleVersion);
}
}
if (version == null && wrapperConfiguration != null) {
URI uri = wrapperConfiguration.getDistribution();
if (uri != null) {
String path = uri.getRawPath();
if (path != null) {
version = parseDistributionVersion(path);
}
}
}
}
return version;
}
@Nullable
public static GradleVersion parseDistributionVersion(@NotNull String path) {
path = StringUtil.substringAfterLast(path, "/");
if (path == null) return null;
path = StringUtil.substringAfterLast(path, "gradle-");
if (path == null) return null;
int i = path.lastIndexOf('-');
if (i <= 0) return null;
return getGradleVersionSafe(path.substring(0, i));
}
@Nullable
private static GradleVersion getGradleVersionSafe(String gradleVersion) {
try {
return GradleVersion.version(gradleVersion);
}
catch (IllegalArgumentException e) {
// GradleVersion.version(gradleVersion) might throw exception for custom Gradle versions
// https://youtrack.jetbrains.com/issue/IDEA-216892
return null;
}
}
}
| leafclick/intellij-community | plugins/gradle/src/org/jetbrains/plugins/gradle/service/GradleInstallationManager.java | Java | apache-2.0 | 24,326 | [
30522,
1013,
1013,
9385,
2456,
1011,
10476,
6892,
10024,
7076,
1055,
1012,
1054,
1012,
1051,
1012,
2224,
1997,
2023,
3120,
3642,
2003,
9950,
2011,
1996,
15895,
1016,
1012,
1014,
6105,
2008,
2064,
2022,
2179,
1999,
1996,
6105,
5371,
1012,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
class Google_Service_Fitness_ListDataPointChangesResponse extends Google_Collection
{
protected $collection_key = 'insertedDataPoint';
public $dataSourceId;
protected $deletedDataPointType = 'Google_Service_Fitness_DataPoint';
protected $deletedDataPointDataType = 'array';
protected $insertedDataPointType = 'Google_Service_Fitness_DataPoint';
protected $insertedDataPointDataType = 'array';
public $nextPageToken;
public function setDataSourceId($dataSourceId)
{
$this->dataSourceId = $dataSourceId;
}
public function getDataSourceId()
{
return $this->dataSourceId;
}
/**
* @param Google_Service_Fitness_DataPoint
*/
public function setDeletedDataPoint($deletedDataPoint)
{
$this->deletedDataPoint = $deletedDataPoint;
}
/**
* @return Google_Service_Fitness_DataPoint
*/
public function getDeletedDataPoint()
{
return $this->deletedDataPoint;
}
/**
* @param Google_Service_Fitness_DataPoint
*/
public function setInsertedDataPoint($insertedDataPoint)
{
$this->insertedDataPoint = $insertedDataPoint;
}
/**
* @return Google_Service_Fitness_DataPoint
*/
public function getInsertedDataPoint()
{
return $this->insertedDataPoint;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
| drthomas21/WordPress_Tutorial | wordpress_htdocs/wp-content/plugins/swg-youtube-vids/vendor/google/apiclient-services/src/Google/Service/Fitness/ListDataPointChangesResponse.php | PHP | apache-2.0 | 2,017 | [
30522,
1026,
1029,
25718,
1013,
1008,
1008,
9385,
2297,
8224,
4297,
1012,
1008,
1008,
7000,
2104,
1996,
15895,
6105,
1010,
2544,
1016,
1012,
1014,
1006,
1996,
1000,
6105,
1000,
1007,
1025,
2017,
2089,
2025,
1008,
2224,
2023,
5371,
3272,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* LibrePCB - Professional EDA for everyone!
* Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
* https://librepcb.org/
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*******************************************************************************
* Includes
******************************************************************************/
#include "cmdboardremove.h"
#include <librepcb/core/project/board/board.h>
#include <librepcb/core/project/project.h>
#include <QtCore>
/*******************************************************************************
* Namespace
******************************************************************************/
namespace librepcb {
namespace editor {
/*******************************************************************************
* Constructors / Destructor
******************************************************************************/
CmdBoardRemove::CmdBoardRemove(Board& board) noexcept
: UndoCommand(tr("Remove board")),
mProject(board.getProject()),
mBoard(board),
mIndex(-1) {
}
CmdBoardRemove::~CmdBoardRemove() noexcept {
}
/*******************************************************************************
* Inherited from UndoCommand
******************************************************************************/
bool CmdBoardRemove::performExecute() {
mIndex = mProject.getBoardIndex(mBoard);
performRedo(); // can throw
return true;
}
void CmdBoardRemove::performUndo() {
mProject.addBoard(mBoard, mIndex); // can throw
}
void CmdBoardRemove::performRedo() {
mProject.removeBoard(mBoard); // can throw
}
/*******************************************************************************
* End of File
******************************************************************************/
} // namespace editor
} // namespace librepcb
| LibrePCB/LibrePCB | libs/librepcb/editor/project/cmd/cmdboardremove.cpp | C++ | gpl-3.0 | 2,471 | [
30522,
1013,
1008,
1008,
21091,
15042,
2497,
1011,
2658,
3968,
2050,
2005,
3071,
999,
1008,
9385,
1006,
1039,
1007,
2286,
21091,
15042,
2497,
9797,
1010,
2156,
6048,
1012,
9108,
2005,
16884,
1012,
1008,
16770,
1024,
1013,
1013,
21091,
15042... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
namespace juce
{
//==============================================================================
/**
A MouseListener can be registered with a component to receive callbacks
about mouse events that happen to that component.
@see Component::addMouseListener, Component::removeMouseListener
@tags{GUI}
*/
class JUCE_API MouseListener
{
public:
/** Destructor. */
virtual ~MouseListener() = default;
/** Called when the mouse moves inside a component.
If the mouse button isn't pressed and the mouse moves over a component,
this will be called to let the component react to this.
A component will always get a mouseEnter callback before a mouseMove.
@param event details about the position and status of the mouse event, including
the source component in which it occurred
@see mouseEnter, mouseExit, mouseDrag, contains
*/
virtual void mouseMove (const MouseEvent& event);
/** Called when the mouse first enters a component.
If the mouse button isn't pressed and the mouse moves into a component,
this will be called to let the component react to this.
When the mouse button is pressed and held down while being moved in
or out of a component, no mouseEnter or mouseExit callbacks are made - only
mouseDrag messages are sent to the component that the mouse was originally
clicked on, until the button is released.
@param event details about the position and status of the mouse event, including
the source component in which it occurred
@see mouseExit, mouseDrag, mouseMove, contains
*/
virtual void mouseEnter (const MouseEvent& event);
/** Called when the mouse moves out of a component.
This will be called when the mouse moves off the edge of this
component.
If the mouse button was pressed, and it was then dragged off the
edge of the component and released, then this callback will happen
when the button is released, after the mouseUp callback.
@param event details about the position and status of the mouse event, including
the source component in which it occurred
@see mouseEnter, mouseDrag, mouseMove, contains
*/
virtual void mouseExit (const MouseEvent& event);
/** Called when a mouse button is pressed.
The MouseEvent object passed in contains lots of methods for finding out
which button was pressed, as well as which modifier keys (e.g. shift, ctrl)
were held down at the time.
Once a button is held down, the mouseDrag method will be called when the
mouse moves, until the button is released.
@param event details about the position and status of the mouse event, including
the source component in which it occurred
@see mouseUp, mouseDrag, mouseDoubleClick, contains
*/
virtual void mouseDown (const MouseEvent& event);
/** Called when the mouse is moved while a button is held down.
When a mouse button is pressed inside a component, that component
receives mouseDrag callbacks each time the mouse moves, even if the
mouse strays outside the component's bounds.
@param event details about the position and status of the mouse event, including
the source component in which it occurred
@see mouseDown, mouseUp, mouseMove, contains, setDragRepeatInterval
*/
virtual void mouseDrag (const MouseEvent& event);
/** Called when a mouse button is released.
A mouseUp callback is sent to the component in which a button was pressed
even if the mouse is actually over a different component when the
button is released.
The MouseEvent object passed in contains lots of methods for finding out
which buttons were down just before they were released.
@param event details about the position and status of the mouse event, including
the source component in which it occurred
@see mouseDown, mouseDrag, mouseDoubleClick, contains
*/
virtual void mouseUp (const MouseEvent& event);
/** Called when a mouse button has been double-clicked on a component.
The MouseEvent object passed in contains lots of methods for finding out
which button was pressed, as well as which modifier keys (e.g. shift, ctrl)
were held down at the time.
@param event details about the position and status of the mouse event, including
the source component in which it occurred
@see mouseDown, mouseUp
*/
virtual void mouseDoubleClick (const MouseEvent& event);
/** Called when the mouse-wheel is moved.
This callback is sent to the component that the mouse is over when the
wheel is moved.
If not overridden, a component will forward this message to its parent, so
that parent components can collect mouse-wheel messages that happen to
child components which aren't interested in them.
@param event details about the mouse event
@param wheel details about the wheel movement
*/
virtual void mouseWheelMove (const MouseEvent& event,
const MouseWheelDetails& wheel);
/** Called when a pinch-to-zoom mouse-gesture is used.
If not overridden, a component will forward this message to its parent, so
that parent components can collect gesture messages that are unused by child
components.
@param event details about the mouse event
@param scaleFactor a multiplier to indicate by how much the size of the target
should be changed. A value of 1.0 would indicate no change,
values greater than 1.0 mean it should be enlarged.
*/
virtual void mouseMagnify (const MouseEvent& event, float scaleFactor);
};
} // namespace juce
| kmatheussen/radium | pluginhost/JuceLibraryCode/modules/juce_gui_basics/mouse/juce_MouseListener.h | C | gpl-2.0 | 7,131 | [
30522,
1013,
1008,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
1027,
102... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
package com.usc.util;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import com.usc.bean.Order;
/**
* 数据库的工具类 主要是数据库的增改操作 单例实现
*
* @author lilin
* @time 2016年1月11日 下午5:12:10
* @email gaosi0812@gmail.com
* @blog gaosililin.iteye.com
* @school USC
*/
public class SQlUtil {
private static SQlUtil sqlUtil = null;
private SQlUtil() {
}
/**
* 获取数据库的工具类
*
* @return
*/
public static SQlUtil getSQLUtil() {
if (sqlUtil == null) {
sqlUtil = new SQlUtil();
}
return sqlUtil;
}
/**
* 执行sql 修改表的属性
*
* @param sql
* 需要执行的sql
* @param connection
* 数据库链接对象 Connection
* @return 是否修改成功
*/
public boolean update(String sql, Connection connection) {
boolean succeed = false;
// sql不为空且不为“”
if (sql != null && !("".equals(sql))) {
try {
// 链接
Statement statement = connection.createStatement();
// 执行sql修改表的字段
int update = statement.executeUpdate(sql);
// 根据受影响的行数是否大于0 判断是否修改成功
if (update > 0) {
succeed = true;
} else {
succeed = false;
}
} catch (SQLException e) {
succeed = false;
e.printStackTrace();
}
} else {
succeed = false;
}
return succeed;
}
/**
* 执行SQL获取订单
*
* @param sql
* 需要执行的sql
* @param connection
* 数据库链接对象 Connection
* @return 返回订单的队列
*/
public ArrayList<Order> getOrders(String sql, Connection connection) {
ArrayList<Order> orders = new ArrayList<Order>();
try {
// 链接数据库
Statement statement = connection.createStatement();
// 向数据库中查询 获取结果集
ResultSet resultSet = statement.executeQuery(sql);
// 订单实体
Order order = null;
// 循环读取结果集
while (resultSet.next()) {
order = new Order();
// 获取ID并封装
order.setId(resultSet.getInt(Constant.ID_ORDER));
// 获取数量并封装
order.setNum(resultSet.getInt(Constant.NUM_ORDER));
// 获取结果并封装
order.setCommission(resultSet.getDouble(Constant.COMMISSION_ORDER));
// 获取开始时间并封装
order.setStartTime(resultSet.getDate(Constant.STARTTME_ORDER));
// 获取结束时间并封装
order.setEndTime(resultSet.getDate(Constant.ENDTIME_ORDER));
// 获取农田id并封装
order.setFarmlandId(resultSet.getInt(Constant.FARMLANDID_ORDER));
// 获取农村经济人id并封装
order.setAgentId(resultSet.getInt(Constant.AGENTID_ORDER));
// 获取农机主id并封装
order.setMachineOwnerId(resultSet.getInt(Constant.MACHINEOWNERID_ORDER));
//获取状态并封装
order.setState(resultSet.getString(Constant.STATE_ORDER));
// 将数据对象保存进队列当总
orders.add(order);
}
} catch (SQLException e) {
e.printStackTrace();
}
return orders;
}
}
| GeowindOfAgriculture/MutualAgriculture | com/usc/util/SQlUtil.java | Java | apache-2.0 | 3,143 | [
30522,
7427,
4012,
1012,
15529,
1012,
21183,
4014,
1025,
12324,
9262,
1012,
29296,
1012,
4434,
1025,
12324,
9262,
1012,
29296,
1012,
3463,
3388,
1025,
12324,
9262,
1012,
29296,
1012,
29296,
10288,
24422,
1025,
12324,
9262,
1012,
30524,
1008,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
#include <sys/time.h>
#include <pangomm/init.h>
#include "pbd/compose.h"
#include "pbd/xml++.h"
#include "canvas/group.h"
#include "canvas/canvas.h"
#include "canvas/root_group.h"
#include "canvas/rectangle.h"
#include "benchmark.h"
using namespace std;
using namespace Canvas;
class RenderFromLog : public Benchmark
{
public:
RenderFromLog (string const & session) : Benchmark (session) {}
void do_run (ImageCanvas& canvas)
{
canvas.set_log_renders (false);
list<Rect> const & renders = canvas.renders ();
for (list<Rect>::const_iterator i = renders.begin(); i != renders.end(); ++i) {
canvas.render_to_image (*i);
}
}
};
int main (int argc, char* argv[])
{
if (argc < 2) {
cerr << "Syntax: render_parts <session>\n";
exit (EXIT_FAILURE);
}
Pango::init ();
RenderFromLog render_from_log (argv[1]);
cout << render_from_log.run () << "\n";
return 0;
}
| cth103/ardour-cth103 | libs/canvas/benchmark/render_from_log.cc | C++ | gpl-2.0 | 890 | [
30522,
1001,
2421,
1026,
25353,
2015,
1013,
2051,
1012,
1044,
1028,
1001,
2421,
1026,
20657,
5358,
2213,
1013,
1999,
4183,
1012,
1044,
1028,
1001,
2421,
30524,
1013,
2177,
1012,
1044,
1000,
1001,
2421,
1000,
10683,
1013,
10683,
1012,
1044,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/*
* Copyright 2020 the original author or authors.
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
package com.consol.citrus.dsl.endpoint.websocket;
import com.consol.citrus.websocket.client.WebSocketClientBuilder;
import com.consol.citrus.websocket.endpoint.builder.WebSocketEndpoints;
import com.consol.citrus.websocket.server.WebSocketServerBuilder;
/**
* @author Christoph Deppisch
*/
public class WebSocketEndpointCatalog {
/**
* Private constructor setting the client and server builder implementation.
*/
private WebSocketEndpointCatalog() {
// prevent direct instantiation
}
public static WebSocketEndpointCatalog websocket() {
return new WebSocketEndpointCatalog();
}
/**
* Gets the client builder.
* @return
*/
public WebSocketClientBuilder client() {
return WebSocketEndpoints.websocket().client();
}
/**
* Gets the client builder.
* @return
*/
public WebSocketServerBuilder server() {
return WebSocketEndpoints.websocket().server();
}
}
| christophd/citrus | catalog/citrus-endpoint-catalog/src/main/java/com/consol/citrus/dsl/endpoint/websocket/WebSocketEndpointCatalog.java | Java | apache-2.0 | 1,829 | [
30522,
1013,
1008,
1008,
9385,
12609,
1996,
2434,
3166,
2030,
6048,
1012,
1008,
1008,
7000,
2000,
1996,
15895,
4007,
3192,
1006,
2004,
2546,
1007,
2104,
2028,
2030,
2062,
1008,
12130,
6105,
10540,
1012,
2156,
1996,
5060,
5371,
5500,
2007,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
package terraform
import (
"fmt"
"log"
"runtime/debug"
"strings"
"sync"
"github.com/hashicorp/terraform/dag"
)
// RootModuleName is the name given to the root module implicitly.
const RootModuleName = "root"
// RootModulePath is the path for the root module.
var RootModulePath = []string{RootModuleName}
// Graph represents the graph that Terraform uses to represent resources
// and their dependencies. Each graph represents only one module, but it
// can contain further modules, which themselves have their own graph.
type Graph struct {
// Graph is the actual DAG. This is embedded so you can call the DAG
// methods directly.
dag.AcyclicGraph
// Path is the path in the module tree that this Graph represents.
// The root is represented by a single element list containing
// RootModuleName
Path []string
// annotations are the annotations that are added to vertices. Annotations
// are arbitrary metadata taht is used for various logic. Annotations
// should have unique keys that are referenced via constants.
annotations map[dag.Vertex]map[string]interface{}
// dependableMap is a lookaside table for fast lookups for connecting
// dependencies by their GraphNodeDependable value to avoid O(n^3)-like
// situations and turn them into O(1) with respect to the number of new
// edges.
dependableMap map[string]dag.Vertex
// debugName is a name for reference in the debug output. This is usually
// to indicate what topmost builder was, and if this graph is a shadow or
// not.
debugName string
once sync.Once
}
func (g *Graph) DirectedGraph() dag.Grapher {
return &g.AcyclicGraph
}
// Annotations returns the annotations that are configured for the
// given vertex. The map is guaranteed to be non-nil but may be empty.
//
// The returned map may be modified to modify the annotations of the
// vertex.
func (g *Graph) Annotations(v dag.Vertex) map[string]interface{} {
g.once.Do(g.init)
// If this vertex isn't in the graph, then just return an empty map
if !g.HasVertex(v) {
return map[string]interface{}{}
}
// Get the map, if it doesn't exist yet then initialize it
m, ok := g.annotations[v]
if !ok {
m = make(map[string]interface{})
g.annotations[v] = m
}
return m
}
// Add is the same as dag.Graph.Add.
func (g *Graph) Add(v dag.Vertex) dag.Vertex {
g.once.Do(g.init)
// Call upwards to add it to the actual graph
g.Graph.Add(v)
// If this is a depend-able node, then store the lookaside info
if dv, ok := v.(GraphNodeDependable); ok {
for _, n := range dv.DependableName() {
g.dependableMap[n] = v
}
}
// If this initializes annotations, then do that
if av, ok := v.(GraphNodeAnnotationInit); ok {
as := g.Annotations(v)
for k, v := range av.AnnotationInit() {
as[k] = v
}
}
return v
}
// Remove is the same as dag.Graph.Remove
func (g *Graph) Remove(v dag.Vertex) dag.Vertex {
g.once.Do(g.init)
// If this is a depend-able node, then remove the lookaside info
if dv, ok := v.(GraphNodeDependable); ok {
for _, n := range dv.DependableName() {
delete(g.dependableMap, n)
}
}
// Remove the annotations
delete(g.annotations, v)
// Call upwards to remove it from the actual graph
return g.Graph.Remove(v)
}
// Replace is the same as dag.Graph.Replace
func (g *Graph) Replace(o, n dag.Vertex) bool {
g.once.Do(g.init)
// Go through and update our lookaside to point to the new vertex
for k, v := range g.dependableMap {
if v == o {
if _, ok := n.(GraphNodeDependable); ok {
g.dependableMap[k] = n
} else {
delete(g.dependableMap, k)
}
}
}
// Move the annotation if it exists
if m, ok := g.annotations[o]; ok {
g.annotations[n] = m
delete(g.annotations, o)
}
return g.Graph.Replace(o, n)
}
// ConnectDependent connects a GraphNodeDependent to all of its
// GraphNodeDependables. It returns the list of dependents it was
// unable to connect to.
func (g *Graph) ConnectDependent(raw dag.Vertex) []string {
v, ok := raw.(GraphNodeDependent)
if !ok {
return nil
}
return g.ConnectTo(v, v.DependentOn())
}
// ConnectDependents goes through the graph, connecting all the
// GraphNodeDependents to GraphNodeDependables. This is safe to call
// multiple times.
//
// To get details on whether dependencies could be found/made, the more
// specific ConnectDependent should be used.
func (g *Graph) ConnectDependents() {
for _, v := range g.Vertices() {
if dv, ok := v.(GraphNodeDependent); ok {
g.ConnectDependent(dv)
}
}
}
// ConnectFrom creates an edge by finding the source from a DependableName
// and connecting it to the specific vertex.
func (g *Graph) ConnectFrom(source string, target dag.Vertex) {
g.once.Do(g.init)
if source := g.dependableMap[source]; source != nil {
g.Connect(dag.BasicEdge(source, target))
}
}
// ConnectTo connects a vertex to a raw string of targets that are the
// result of DependableName, and returns the list of targets that are missing.
func (g *Graph) ConnectTo(v dag.Vertex, targets []string) []string {
g.once.Do(g.init)
var missing []string
for _, t := range targets {
if dest := g.dependableMap[t]; dest != nil {
g.Connect(dag.BasicEdge(v, dest))
} else {
missing = append(missing, t)
}
}
return missing
}
// Dependable finds the vertices in the graph that have the given dependable
// names and returns them.
func (g *Graph) Dependable(n string) dag.Vertex {
// TODO: do we need this?
return nil
}
// Walk walks the graph with the given walker for callbacks. The graph
// will be walked with full parallelism, so the walker should expect
// to be called in concurrently.
func (g *Graph) Walk(walker GraphWalker) error {
return g.walk(walker)
}
func (g *Graph) init() {
if g.annotations == nil {
g.annotations = make(map[dag.Vertex]map[string]interface{})
}
if g.dependableMap == nil {
g.dependableMap = make(map[string]dag.Vertex)
}
}
func (g *Graph) walk(walker GraphWalker) error {
// The callbacks for enter/exiting a graph
ctx := walker.EnterPath(g.Path)
defer walker.ExitPath(g.Path)
// Get the path for logs
path := strings.Join(ctx.Path(), ".")
// Determine if our walker is a panic wrapper
panicwrap, ok := walker.(GraphWalkerPanicwrapper)
if !ok {
panicwrap = nil // just to be sure
}
debugName := "walk-graph.json"
if g.debugName != "" {
debugName = g.debugName + "-" + debugName
}
debugBuf := dbug.NewFileWriter(debugName)
g.SetDebugWriter(debugBuf)
defer debugBuf.Close()
// Walk the graph.
var walkFn dag.WalkFunc
walkFn = func(v dag.Vertex) (rerr error) {
log.Printf("[DEBUG] vertex '%s.%s': walking", path, dag.VertexName(v))
// If we have a panic wrap GraphWalker and a panic occurs, recover
// and call that. We ensure the return value is an error, however,
// so that future nodes are not called.
defer func() {
// If no panicwrap, do nothing
if panicwrap == nil {
return
}
// If no panic, do nothing
err := recover()
if err == nil {
return
}
// Modify the return value to show the error
rerr = fmt.Errorf("vertex %q captured panic: %s\n\n%s",
dag.VertexName(v), err, debug.Stack())
// Call the panic wrapper
panicwrap.Panic(v, err)
}()
walker.EnterVertex(v)
defer walker.ExitVertex(v, rerr)
// vertexCtx is the context that we use when evaluating. This
// is normally the context of our graph but can be overridden
// with a GraphNodeSubPath impl.
vertexCtx := ctx
if pn, ok := v.(GraphNodeSubPath); ok && len(pn.Path()) > 0 {
vertexCtx = walker.EnterPath(normalizeModulePath(pn.Path()))
defer walker.ExitPath(pn.Path())
}
// If the node is eval-able, then evaluate it.
if ev, ok := v.(GraphNodeEvalable); ok {
tree := ev.EvalTree()
if tree == nil {
panic(fmt.Sprintf(
"%s.%s (%T): nil eval tree", path, dag.VertexName(v), v))
}
// Allow the walker to change our tree if needed. Eval,
// then callback with the output.
log.Printf("[DEBUG] vertex '%s.%s': evaluating", path, dag.VertexName(v))
g.DebugVertexInfo(v, fmt.Sprintf("evaluating %T(%s)", v, path))
tree = walker.EnterEvalTree(v, tree)
output, err := Eval(tree, vertexCtx)
if rerr = walker.ExitEvalTree(v, output, err); rerr != nil {
return
}
}
// If the node is dynamically expanded, then expand it
if ev, ok := v.(GraphNodeDynamicExpandable); ok {
log.Printf(
"[DEBUG] vertex '%s.%s': expanding/walking dynamic subgraph",
path,
dag.VertexName(v))
g.DebugVertexInfo(v, fmt.Sprintf("expanding %T(%s)", v, path))
g, err := ev.DynamicExpand(vertexCtx)
if err != nil {
rerr = err
return
}
if g != nil {
// Walk the subgraph
if rerr = g.walk(walker); rerr != nil {
return
}
}
}
// If the node has a subgraph, then walk the subgraph
if sn, ok := v.(GraphNodeSubgraph); ok {
log.Printf(
"[DEBUG] vertex '%s.%s': walking subgraph",
path,
dag.VertexName(v))
g.DebugVertexInfo(v, fmt.Sprintf("subgraph: %T(%s)", v, path))
if rerr = sn.Subgraph().(*Graph).walk(walker); rerr != nil {
return
}
}
return nil
}
return g.AcyclicGraph.Walk(walkFn)
}
// GraphNodeAnnotationInit is an interface that allows a node to
// initialize it's annotations.
//
// AnnotationInit will be called _once_ when the node is added to a
// graph for the first time and is expected to return it's initial
// annotations.
type GraphNodeAnnotationInit interface {
AnnotationInit() map[string]interface{}
}
// GraphNodeDependable is an interface which says that a node can be
// depended on (an edge can be placed between this node and another) according
// to the well-known name returned by DependableName.
//
// DependableName can return multiple names it is known by.
type GraphNodeDependable interface {
DependableName() []string
}
// GraphNodeDependent is an interface which says that a node depends
// on another GraphNodeDependable by some name. By implementing this
// interface, Graph.ConnectDependents() can be called multiple times
// safely and efficiently.
type GraphNodeDependent interface {
DependentOn() []string
}
| mkuzmin/terraform | terraform/graph.go | GO | mpl-2.0 | 10,106 | [
30522,
7427,
14403,
14192,
12324,
1006,
1000,
4718,
2102,
1000,
1000,
8833,
1000,
1000,
2448,
7292,
1013,
2139,
8569,
2290,
1000,
1000,
7817,
1000,
1000,
26351,
1000,
1000,
21025,
2705,
12083,
1012,
4012,
1013,
23325,
11261,
14536,
1013,
14... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
#!/bin/bash
set -e
# Updates the version for all droolsjbpm repositories
initializeScriptDir() {
# Go to the script directory
cd `dirname $0`
# If the file itself is a symbolic link (ignoring parent directory links), then follow that link recursively
# Note that scriptDir=`pwd -P` does not do that and cannot cope with a link directly to the file
scriptFileBasename=`basename $0`
while [ -L "$scriptFileBasename" ] ; do
scriptFileBasename=`readlink $scriptFileBasename` # Follow the link
cd `dirname $scriptFileBasename`
scriptFileBasename=`basename $scriptFileBasename`
done
# Set script directory and remove other symbolic links (parent directory links)
scriptDir=`pwd -P`
}
mvnVersionsSet() {
mvn -B -N -e -Dfull versions:set -DnewVersion="$newVersion" -DallowSnapshots=true -DgenerateBackupPoms=false
}
mvnVersionsUpdateParent() {
mvn -B -N -e -s $settingsXmlFile versions:update-parent -Dfull\
-DparentVersion="[$newVersion]" -DallowSnapshots=true -DgenerateBackupPoms=false
}
mvnVersionsUpdateChildModules() {
mvn -B -N -e -s $settingsXmlFile versions:update-child-modules -Dfull\
-DallowSnapshots=true -DgenerateBackupPoms=false
}
# Updates parent version and child modules versions for Maven project in current working dir
mvnVersionsUpdateParentAndChildModules() {
mvnVersionsUpdateParent
mvnVersionsUpdateChildModules
}
initializeScriptDir
droolsjbpmOrganizationDir="$scriptDir/../../.."
if [ $# != 1 ] && [ $# != 2 ]; then
echo
echo "Usage:"
echo " $0 newVersion releaseType"
echo "For example:"
echo " $0 6.3.0.Final community"
echo " $0 6.3.1.20151105 productized"
echo
exit 1
fi
newVersion=$1
echo "New version is $newVersion"
releaseType=$2
# check if the release type was set, if not default to "community"
if [ "x$releaseType" == "x" ]; then
releaseType="community"
fi
if [ $releaseType == "community" ]; then
settingsXmlFile="$scriptDir/update-version-all-community-settings.xml"
elif [ $releaseType == "productized" ]; then
settingsXmlFile="$scriptDir/update-version-all-productized-settings.xml"
else
echo "Incorrect release type specified: '$releaseType'. Supported values are 'community' or 'productized'"
exit 1
fi
echo "Specified release type: $releaseType"
echo "Using following settings.xml: $settingsXmlFile"
startDateTime=`date +%s`
cd $droolsjbpmOrganizationDir
for repository in `cat ${scriptDir}/../repository-list.txt` ; do
echo
if [ ! -d $droolsjbpmOrganizationDir/$repository ]; then
echo "==============================================================================="
echo "Missing Repository: $repository. SKIPPING!"
echo "==============================================================================="
else
echo "==============================================================================="
echo "Repository: $repository"
echo "==============================================================================="
cd $repository
if [ "$repository" == "droolsjbpm-build-bootstrap" ]; then
# first build&install the current version (usually SNAPSHOT) as it is needed later by other repos
mvn -B -U -Dfull clean install
mvnVersionsSet
sed -i "s/<version\.org\.kie>.*<\/version.org.kie>/<version.org.kie>$newVersion<\/version.org.kie>/" pom.xml
# update latest released version property only for non-SNAPSHOT versions
if [[ ! $newVersion == *-SNAPSHOT ]]; then
sed -i "s/<latestReleasedVersionFromThisBranch>.*<\/latestReleasedVersionFromThisBranch>/<latestReleasedVersionFromThisBranch>$newVersion<\/latestReleasedVersionFromThisBranch>/" pom.xml
fi
# update version also for user BOMs, since they do not use the top level kie-parent
cd kie-user-bom-parent
mvnVersionsSet
cd ..
# workaround for http://jira.codehaus.org/browse/MVERSIONS-161
mvn -B clean install -DskipTests
returnCode=$?
elif [ "$repository" = "jbpm" ]; then
mvnVersionsUpdateParentAndChildModules
returnCode=$?
sed -i "s/release.version=.*$/release.version=$newVersion/" jbpm-installer/src/main/resources/build.properties
elif [ "$repository" = "droolsjbpm-tools" ]; then
cd drools-eclipse
mvn -B -Dfull tycho-versions:set-version -DnewVersion=$newVersion
returnCode=$?
# replace the leftovers not covered by the tycho plugin (bug?)
# SNAPSHOT and release versions need to be handled differently
versionToUse=$newVersion
if [[ $newVersion == *-SNAPSHOT ]]; then
versionToUse=`sed "s/-SNAPSHOT/.qualifier/" <<< $newVersion`
fi
sed -i "s/source_[^\"]*/source_$versionToUse/" org.drools.updatesite/category.xml
sed -i "s/version=\"[^\"]*\">/version=\"$versionToUse\">/" org.drools.updatesite/category.xml
cd ..
if [ $returnCode == 0 ]; then
mvn -B -N clean install
mvnVersionsUpdateParent
# workaround for http://jira.codehaus.org/browse/MVERSIONS-161
mvn -B -N clean install -DskipTests
cd drools-eclipse
mvnVersionsUpdateParent
cd ..
mvnVersionsUpdateChildModules
returnCode=$?
fi
else
mvnVersionsUpdateParentAndChildModules
returnCode=$?
fi
if [ $returnCode != 0 ] ; then
exit $returnCode
fi
cd ..
fi
done
endDateTime=`date +%s`
spentSeconds=`expr $endDateTime - $startDateTime`
echo
echo "Total time: ${spentSeconds}s"
| wmedvede/droolsjbpm-build-bootstrap | script/release/update-version-all.sh | Shell | apache-2.0 | 5,899 | [
30522,
1001,
999,
1013,
8026,
1013,
24234,
2275,
1011,
1041,
1001,
14409,
1996,
2544,
2005,
2035,
2852,
13669,
2015,
3501,
2497,
9737,
16360,
20049,
29469,
2229,
3988,
10057,
23235,
4305,
2099,
1006,
1007,
1063,
1001,
2175,
2000,
1996,
5896... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
# -*- coding: utf-8 -*-
class ImproperlyConfigured(Exception):
pass
class TaskHandlingError(Exception):
pass
| Outernet-Project/artexinweb | artexinweb/exceptions.py | Python | gpl-3.0 | 121 | [
30522,
1001,
1011,
1008,
1011,
16861,
1024,
21183,
2546,
1011,
1022,
1011,
1008,
1011,
2465,
24156,
2135,
8663,
8873,
27390,
2098,
1006,
6453,
1007,
1024,
3413,
2465,
4708,
11774,
23101,
29165,
1006,
6453,
1007,
1024,
3413,
102,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
from io import BytesIO
import tempfile
import os
import time
import shutil
from contextlib import contextmanager
import six
import sys
from netlib import utils, tcp, http
def treader(bytes):
"""
Construct a tcp.Read object from bytes.
"""
fp = BytesIO(bytes)
return tcp.Reader(fp)
@contextmanager
def tmpdir(*args, **kwargs):
orig_workdir = os.getcwd()
temp_workdir = tempfile.mkdtemp(*args, **kwargs)
os.chdir(temp_workdir)
yield temp_workdir
os.chdir(orig_workdir)
shutil.rmtree(temp_workdir)
def _check_exception(expected, actual, exc_tb):
if isinstance(expected, six.string_types):
if expected.lower() not in str(actual).lower():
six.reraise(AssertionError, AssertionError(
"Expected %s, but caught %s" % (
repr(expected), repr(actual)
)
), exc_tb)
else:
if not isinstance(actual, expected):
six.reraise(AssertionError, AssertionError(
"Expected %s, but caught %s %s" % (
expected.__name__, actual.__class__.__name__, repr(actual)
)
), exc_tb)
def raises(expected_exception, obj=None, *args, **kwargs):
"""
Assert that a callable raises a specified exception.
:exc An exception class or a string. If a class, assert that an
exception of this type is raised. If a string, assert that the string
occurs in the string representation of the exception, based on a
case-insenstivie match.
:obj A callable object.
:args Arguments to be passsed to the callable.
:kwargs Arguments to be passed to the callable.
"""
if obj is None:
return RaisesContext(expected_exception)
else:
try:
ret = obj(*args, **kwargs)
except Exception as actual:
_check_exception(expected_exception, actual, sys.exc_info()[2])
else:
raise AssertionError("No exception raised. Return value: {}".format(ret))
class RaisesContext(object):
def __init__(self, expected_exception):
self.expected_exception = expected_exception
def __enter__(self):
return
def __exit__(self, exc_type, exc_val, exc_tb):
if not exc_type:
raise AssertionError("No exception raised.")
else:
_check_exception(self.expected_exception, exc_val, exc_tb)
return True
test_data = utils.Data(__name__)
# FIXME: Temporary workaround during repo merge.
test_data.dirname = os.path.join(test_data.dirname, "..", "test", "netlib")
def treq(**kwargs):
"""
Returns:
netlib.http.Request
"""
default = dict(
first_line_format="relative",
method=b"GET",
scheme=b"http",
host=b"address",
port=22,
path=b"/path",
http_version=b"HTTP/1.1",
headers=http.Headers(((b"header", b"qvalue"), (b"content-length", b"7"))),
content=b"content"
)
default.update(kwargs)
return http.Request(**default)
def tresp(**kwargs):
"""
Returns:
netlib.http.Response
"""
default = dict(
http_version=b"HTTP/1.1",
status_code=200,
reason=b"OK",
headers=http.Headers(((b"header-response", b"svalue"), (b"content-length", b"7"))),
content=b"message",
timestamp_start=time.time(),
timestamp_end=time.time(),
)
default.update(kwargs)
return http.Response(**default)
| tdickers/mitmproxy | netlib/tutils.py | Python | mit | 3,536 | [
30522,
2013,
22834,
12324,
27507,
3695,
12324,
8915,
8737,
8873,
2571,
12324,
9808,
12324,
2051,
12324,
3844,
4014,
2013,
6123,
29521,
12324,
6123,
24805,
4590,
12324,
2416,
12324,
25353,
2015,
2013,
5658,
29521,
12324,
21183,
12146,
1010,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/* ---------------------------------------------------------------------- */
/* DARK GREEN
/*
/*
/* Accent color: #34B489 ;
/* Borders color, Submenu background: #615951 ;
/* Page background: #333333;
/* Content Boxes background: #3F3F3F;
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
/* COLORS
/* ---------------------------------------------------------------------- */
body {
color:#898989;
}
#page {
background-color:#333333;
}
a:hover, a > *:hover,
.categories a:hover,
#footer .widget-container li a:hover {
color: #34B489;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
color: #FFFFFF;
}
#logo {
color:#fff;
}
#pre-header,
.flex-direction-nav li a:hover {
background-color:#34B489;
}
.colored,
.flex-caption h3,
.intro-page h2 strong,
#footer h4,
#copyrights a {
color:#34B489;
}
#pre-header,
#slider_container {
border-bottom: 1pt solid #615951;
}
.intro-page,
.horizontal-line,
.divider {
border-top: 1pt solid #615951;
}
ul#social-links li {
background: #2ca67d;
background: -moz-linear-gradient(top, #2ca67d 0%, #1c8864 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2ca67d), color-stop(100%,#1c8864));
background: -webkit-linear-gradient(top, #2ca67d 0%,#1c8864 100%);
background: -o-linear-gradient(top, #2ca67d 0%,#1c8864 100%);
background: -ms-linear-gradient(top, #2ca67d 0%,#1c8864 100%);
background: linear-gradient(top, #2ca67d 0%,#1c8864 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ca67d', endColorstr='#1c8864',GradientType=0 );
box-shadow: 0px 1px 1px #4acea1,inset 0px 2px 5px #1c8864;
-moz-box-shadow: 0px 1px 1px #4acea1,inset 0px 2px 5px #1c8864;
-webkit-box-shadow: 0px 1px 1px #4acea1,inset 0px 2px 5px #1c8864;
}
#main-navigation ul li a:hover,
#main-navigation ul li.current-menu-item > a,
#main-navigation ul li.current-menu-ancestor > a {
background:#444444;
border-bottom: 1pt solid #34b489;
color: #34b489;
}
#main-navigation ul li a:hover {
color: #34b489;
background: #444444;
border-bottom: 1pt solid #34b489;
}
#main-navigation ul ul a:hover,
#main-navigation ul ul .hover > a,
#main-navigation ul ul .current > a,
#main-navigation ul ul .current > a:hover {
background-color: #34b489;
color: #fff;
border: 0;
}
#main-navigation ul ul a:hover, #main-navigation ul ul .hover > a, #main-navigation ul ul .current-menu-item > a, #main-navigation ul ul .current-menu-item > a:hover {
background-color:#34B489;
}
img.intro-img {
border-bottom: 1pt solid #615951;
}
.jcarousel-next, .jcarousel-prev {
background-color: #34B489;
}
.jcarousel-prev {
background-color: #34B489;
}
.jcarousel-next:hover, .jcarousel-next:focus, .jcarousel-next:active, .jcarousel-prev:hover, .jcarousel-prev:focus, .jcarousel-prev:active {
background-color: #34B489;
}
.jcarousel-next-disabled, .jcarousel-next-disabled:hover, .jcarousel-next-disabled:focus, .jcarousel-next-disabled:active, .jcarousel-prev-disabled, .jcarousel-prev-disabled:hover, .jcarousel-prev-disabled:focus, .jcarousel-prev-disabled:active {
background-color: #615951;
}
ul#projects-carousel li .item-content:hover,
ul#portfolio-items-one-fourth li .item-content:hover {
background-color: #34b489;
}
.sidebarBox li:first-child {
border-top: 1px dotted #615951;
}
.sidebarBox li {
border-bottom: 1px dotted #615951;
}
.archive .hentry, .page-template-template-blog-php .hentry, .search .hentry {
border-bottom: 1px solid #615951;
}
.post-date {
background: #34B489;
-moz-box-shadow: 0 0px 3px #111;
-webkit-box-shadow: 0 0px 3px #111;
box-shadow: 0 0px 3px #111;
}
#pagination span, #pagination a {
border: 1px solid #615951;
box-shadow: none;
color: #898989;
}
#pagination .current {
background: none;
border: 1px solid #FFF;
color:#fff;
}
#s {
background-color: #3F3F3F;
background-image: url("images/search-bg.png");
box-shadow: 0 0 3px #444444;
color: #F8F8F8;
}
#s:focus {
box-shadow: 0 0 3px #111111;
}
.filterable li.active a {
background-color: #34B489;
}
.comment-text {
background-color:#3F3F3F;
border-color:#615951 ;
}
#commentform input[type="text"],
#commentform input[type="password"],
#commentform input[type="email"],
#commentform input.text,
#commentform input.title,
#commentform textarea,
#commentform select,
#commentform textarea,
#contactForm input[type="text"],
#contactForm input[type="password"],
#contactForm input[type="email"],
#contactForm textarea,
#contactForm select {
border: 1px solid #2B2A2A;
box-shadow: inset 0px 2px 4px #2F2F2F;
-moz-box-shadow: inset 0px 2px 4px #2F2F2F;
-webkit-box-shadow: inset 0px 2px 4px #2F2F2F;
background: #444444;
color:#ffffff;
}
#commentform input[type="text"]:focus,
#commentform input[type="password"]:focus,
#commentform input[type="email"]:focus,
#commentform input.text:focus,
#commentform input.title:focus,
#commentform textarea:focus,
#commentform select:focus,
#contactForm input[type="text"]:focus,
#contactForm input[type="password"]:focus,
#contactForm input[type="email"]:focus,
#contactForm textarea:focus {
border: 1px solid #615951;
box-shadow: 0px 0px 5px #4F4F4F,inset 0px 2px 4px #444444;
-moz-box-shadow: 0px 0px 5px #4F4F4F,inset 0px 2px 4px #444444;
-webkit-box-shadow: 0px 0px 5px #4F4F4F,inset 0px 2px 4px #444444;
}
.author {
background-color: #3F3F3F;
border-color: #615951;
}
pre, code {
background-color:#3F3F3F;
border-color:#615951;
}
.hentry blockquote {
background-color:#3F3F3F;
border:none;
}
#tabscontainer {
clear: both;
}
.help {
background-color:#3F3F3F;
}
/* ---------------------------------------------------------------------- */
/* Images
/* ---------------------------------------------------------------------- */
.flex-control-nav li a {
background-image: url("images/bg_control_nav.png");
}
.portfolio-item-hover-content a.zoom {
background-image: url("images/zoom-plus.png");
}
.post-year {
background-image: url("images/post-meta-divider.png");
}
.readmore a:hover {
background-image: url("images/blog-permalink.png");
}
.widget_site5framework_contact_widget span.address {
background-image: url("images/icons/adress.png");
}
.widget_site5framework_contact_widget span.phone {
background-image: url("images/icons/phone-number.png");
}
.widget_site5framework_contact_widget span.email {
background-image: url("images/icons/mail-adress.png");
}
| avivais/projectFit | wp-content/themes/simplecorp/library/css/color-schemes/dark-green/styles.css | CSS | gpl-2.0 | 6,908 | [
30522,
1013,
1008,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
30524,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1011,
1008,
1013,
1013,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
package info.nightscout.androidaps.plugins.SmsCommunicator;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.squareup.otto.Subscribe;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Collections;
import java.util.Comparator;
import info.nightscout.androidaps.MainApp;
import info.nightscout.androidaps.R;
import info.nightscout.androidaps.plugins.Common.SubscriberFragment;
import info.nightscout.androidaps.plugins.SmsCommunicator.events.EventSmsCommunicatorUpdateGui;
import info.nightscout.utils.DateUtil;
/**
* A simple {@link Fragment} subclass.
*/
public class SmsCommunicatorFragment extends SubscriberFragment {
private static Logger log = LoggerFactory.getLogger(SmsCommunicatorFragment.class);
private static SmsCommunicatorPlugin smsCommunicatorPlugin;
public static SmsCommunicatorPlugin getPlugin() {
if(smsCommunicatorPlugin==null){
smsCommunicatorPlugin = new SmsCommunicatorPlugin();
}
return smsCommunicatorPlugin;
}
TextView logView;
public SmsCommunicatorFragment() {
super();
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.smscommunicator_fragment, container, false);
logView = (TextView) view.findViewById(R.id.smscommunicator_log);
updateGUI();
return view;
}
@Subscribe
public void onStatusEvent(final EventSmsCommunicatorUpdateGui ev) {
updateGUI();
}
@Override
protected void updateGUI() {
Activity activity = getActivity();
if (activity != null)
activity.runOnUiThread(new Runnable() {
@Override
public void run() {
class CustomComparator implements Comparator<SmsCommunicatorPlugin.Sms> {
public int compare(SmsCommunicatorPlugin.Sms object1, SmsCommunicatorPlugin.Sms object2) {
return (int) (object1.date.getTime() - object2.date.getTime());
}
}
Collections.sort(getPlugin().messages, new CustomComparator());
int messagesToShow = 40;
int start = Math.max(0, getPlugin().messages.size() - messagesToShow);
String logText = "";
for (int x = start; x < getPlugin().messages.size(); x++) {
SmsCommunicatorPlugin.Sms sms = getPlugin().messages.get(x);
if (sms.received) {
logText += DateUtil.timeString(sms.date) + " <<< " + (sms.processed ? "● " : "○ ") + sms.phoneNumber + " <b>" + sms.text + "</b><br>";
} else if (sms.sent) {
logText += DateUtil.timeString(sms.date) + " >>> " + (sms.processed ? "● " : "○ ") + sms.phoneNumber + " <b>" + sms.text + "</b><br>";
}
}
logView.setText(Html.fromHtml(logText));
}
});
}
}
| RoumenGeorgiev/AndroidAPS | app/src/main/java/info/nightscout/androidaps/plugins/SmsCommunicator/SmsCommunicatorFragment.java | Java | agpl-3.0 | 3,402 | [
30522,
7427,
18558,
1012,
6385,
3597,
4904,
1012,
11924,
9331,
2015,
1012,
13354,
7076,
1012,
22434,
9006,
23041,
5555,
4263,
1025,
12324,
11924,
1012,
10439,
1012,
4023,
1025,
12324,
11924,
1012,
9808,
1012,
14012,
1025,
12324,
11924,
1012,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
version https://git-lfs.github.com/spec/v1
oid sha256:467bccdb74ef62e6611ba27f338a0ba0c49ba9a90ef1facb394c14de676318cf
size 1150464
| yogeshsaroya/new-cdnjs | ajax/libs/vis/3.12.0/vis.js | JavaScript | mit | 132 | [
30522,
2544,
16770,
1024,
1013,
1013,
21025,
2102,
1011,
1048,
10343,
1012,
21025,
2705,
12083,
1012,
4012,
1013,
28699,
1013,
1058,
2487,
1051,
3593,
21146,
17788,
2575,
1024,
4805,
2581,
9818,
19797,
2497,
2581,
2549,
12879,
2575,
2475,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.